Server Account Wipe
Okay - I have searched and search with no answer. I am guessing it's probably because the answer is super simple and I simply haven't got the base skills to know when it comes to databases, etc. But here's the question:
Can someone please walk me through how I do an account wipe on my server? I'm learning as I go and have a loooooong way to go, but have gotten this far. Looking to wipe any accounts and start fresh. Didn't see in option in EoC 2.0 nor on boards. Thanks in advance! |
I'm not sure if they catch all the tables now, but the drop_player.sql and load_player.sql scripts from PEQ are exactly what you're looking for. Maybe somebody else can confirm if they're still up to date or not.
https://code.google.com/p/projecteqd...%2Fpeqdatabase |
Heres what I've used in the past, havent done one in a while but should still be similar. Assuming bots and mercs of course.
Code:
-- remove info from character tables |
Wipe it clean
|
|
Thanks everyone - still learning all the very basics so sure I am doing it the hard way, but any issue with me using HeidiSQL to go to character_data --> data --> And then just deleting the info there?
Seemed to work on one I tested, but not sure if that will create more problems in other areas. |
BTW - If I were to try and use what renco posted, where would that even go? (again noob here). Also...Is there really a place I can "mark it zero" and be done with it? If so where?
I'm going to figure this out hell or high water :p |
Do yourself a favor and read the replies and then figure out how to do that. You've asked the question and gotten the answer. You need to fill your knowledge gap and not keep searching for a shortcut.
Trust me - These are things you're going to need to know anyway. Running a SQL script is about the most basic thing you'll do on your server. Please learn something for yourself. |
Thanks everyone for the info and the push - Figured each way out. Script worked great once I figured out I needed to paste it into a notepad and save as an sql file. Now figuring out what each of those lines in the script means/does. Head swimming but thankful for this community.
|
You should be able to run .sql files withing HeidiSQL, I believe. I only note this because there are going to be times when copy/paste just isn't feasible (loading a fresh DB or a huge query come to mind).
I'm glad you got it figured out. :) |
All times are GMT -4. The time now is 08:19 PM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.