Go Back   EQEmulator Home > EQEmulator Forums > Archives > Archive::Support > Archive::Windows Servers

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

Reply
 
Thread Tools Display Modes
  #1  
Old 01-10-2003, 08:21 AM
spyingeye
Fire Beetle
 
Join Date: Sep 2002
Posts: 8
Default Changing a characters zone through the DB?

Situation: I tried to zone into a zone that I did not have, so my game crashed to the desktop. I then was unable to log back in with that character, since it was trying to start in the zone I did not have. (My oun local server.)

Since I was still wanting to play that character I tried to modify the DB with a zone that I knew I had. But when I went back in to EQ that character was gone.

This is the SQL statement that I used: REPLACE INTO Character_ (id,account_id,name,profile,guild,guildrank,x,y,z, zonename,alt_adv) VALUES (5,1,’Tead’,’M_
Reply With Quote
  #2  
Old 01-10-2003, 08:25 AM
Trumpcard
Demi-God
 
Join Date: Jan 2002
Location: Charlotte, NC
Posts: 2,614
Default

Would have been much easier to do

update character_ set zonename='zone' where name like '%Charactername%';
__________________
Quitters never win, and winners never quit, but those who never win and never quit are idiots.
Reply With Quote
  #3  
Old 01-10-2003, 08:34 AM
spyingeye
Fire Beetle
 
Join Date: Sep 2002
Posts: 8
Default

DOH! A simple update! DOH! Is there a good place to fine the commands that are acceptable in MySQL? I have used MSSQL allot but I relied too much on the interface to get commands, so I don’t have them off the top of my head. I have looked for a list of commands but could not find much even on the MySQL site. I may have just been overlooking them though.
I would also like to say this project is awesome I tried it out about 8 months ago and it is so much better now.
Reply With Quote
  #4  
Old 01-10-2003, 08:50 AM
Trumpcard
Demi-God
 
Join Date: Jan 2002
Location: Charlotte, NC
Posts: 2,614
Default

Just do a google search for mysql tutorial... Just standard SQL for the most part...
__________________
Quitters never win, and winners never quit, but those who never win and never quit are idiots.
Reply With Quote
  #5  
Old 01-10-2003, 10:51 AM
DeletedUser
Fire Beetle
 
Join Date: Sep 2002
Posts: 0
Default

I use the 1 page per chapter doc on the mysql website. It can be found at:
http://www.mysql.com/documentation/mysql/bychapter/

Second to last link in that glossary is the SQL commands, Type and function definitions that are indexed by Name. http://www.mysql.com/documentation/m...Function_Index

I love that page when trying to figure out the type I need if it isn't a straight int or varchar.
Reply With Quote
  #6  
Old 01-11-2003, 09:31 AM
spyingeye
Fire Beetle
 
Join Date: Sep 2002
Posts: 8
Default

Thanks this is exactly what I needed.
Reply With Quote
Reply

Thread Tools
Display Modes

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 05:56 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