Go Back   EQEmulator Home > EQEmulator Forums > Archives > Archive::Development > Archive::Bugs

Archive::Bugs Archive area for Bugs's posts that were moved here after an inactivity period of 90 days.

Reply
 
Thread Tools Display Modes
  #1  
Old 06-06-2002, 09:38 AM
bot403
Sarnak
 
Join Date: May 2002
Posts: 52
Default Dumping a particular char.

Maybe a feature can be added that lets the server dump an account or certain char to a playername.sql file. This would make transfering chars easy, or backing up certain ones. It would automatically take care of what accounts own which chars and things like that. Maybe one for exporting a char, and one for exporting a whole account. Then when you hav the sql file you can just source it and the account will be imported.

Oh yea, and when is there going to be a logging feature for the world server such a ./world.log so it can be analyzed if something happens. Make sure it works for linux :p No sane person would use windows to host a serious server anyways
Reply With Quote
  #2  
Old 06-06-2002, 11:16 AM
stormgod
Discordant
 
Join Date: Apr 2002
Posts: 419
Default

just use mysql front for that , all the info is already in even the account number , only problem is that you will have to adjust the account number after the transfer so its the right account who gets the char
Reply With Quote
  #3  
Old 06-06-2002, 12:09 PM
Lurker_005
Demi-God
 
Join Date: Jan 2002
Location: Tourist town USA
Posts: 1,671
Default

Yea, just use Mysql to save the data. It isn't too hard to do once you start to learn mysql commands. And learning mysql can help you a LOT if your running a server.
__________________
Please read the forum rules and look at reacent messages before posting.
Reply With Quote
  #4  
Old 06-06-2002, 02:42 PM
bot403
Sarnak
 
Join Date: May 2002
Posts: 52
Default

i know mysql, but i thought it would just be easy to type
./world dumpacct bot403
and have a bot403.sql file with ALL my chars and my acct info rather than this
(startup ssh and login to Linux box downstairs)
bash#mysql -u USERNAME -pPASSWORD DB
mysql>use eq;
mysql>select * from account where name='bot403';
(grab pen and paper and write down acct #)
mysql>select * from characters where acct_id=(number i wrote)

etc. etc.....

It was just an idea that crossed my mind and i thought it might help DB newbies or us lazy ppl

and then dont make me type out what i would have to do to put the new char in the DB.
./world importchar bot403.sql

Its somethign to think about, maybe a feature to put on the side until eq is perfect and only needs silly features like this to bloat the codebase.
Reply With Quote
  #5  
Old 06-07-2002, 01:14 AM
stormgod
Discordant
 
Join Date: Apr 2002
Posts: 419
Default

use mysql front its a nice program that will permit you to dump a particular field or table to a sql or txt file ask lurker for the adress or look in the forum it is somewhere in
Reply With Quote
  #6  
Old 06-07-2002, 07:43 AM
Lurker_005
Demi-God
 
Join Date: Jan 2002
Location: Tourist town USA
Posts: 1,671
Default

stormgod, did you get mysql-front to dump non-ascii blobs corectly? That is the only thing I dislike about mysql-front :(

bot403, since your running mysql on linux, I hear myPHPadmin (or is it myadminPHP) is somewhat like mysql-front, and you would just use your web browser to access it.
__________________
Please read the forum rules and look at reacent messages before posting.
Reply With Quote
  #7  
Old 06-07-2002, 08:00 AM
stormgod
Discordant
 
Join Date: Apr 2002
Posts: 419
Default

PhPmyAdmin version 2.24 or 2.26 forgot exact number of the latest version

lurker : I know I can dump items just fine , I didnt tried for character so ..
but maybe the bug for non ascii as been corrected in a version if not maybe email them so they know about this issue hehe
anyway I will go to their site today or this week end and see if there is any issue about blobs
Reply With Quote
  #8  
Old 06-07-2002, 11:38 AM
Lurker_005
Demi-God
 
Join Date: Jan 2002
Location: Tourist town USA
Posts: 1,671
Default

Any time I export items it only outputs the item name for the raw_data field :( If you can figure out why your getting the full blob and I am not, I would be gratefull!
__________________
Please read the forum rules and look at reacent messages before posting.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 03:23 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3