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

Support::Windows Servers Support forum for Windows EQEMu users.

Reply
 
Thread Tools Display Modes
  #1  
Old 06-15-2009, 01:34 PM
Dodie
Sarnak
 
Join Date: Jun 2004
Posts: 67
Default Quick way to change starting zones with ALTER TABLE?

I Just to know these commands, been a wile...

I want to change the starting zone for everyrace to the same one...






Thanks!!
Reply With Quote
  #2  
Old 06-22-2009, 07:02 PM
Dodie
Sarnak
 
Join Date: Jun 2004
Posts: 67
Default

Anyone have a clue ? =(
Reply With Quote
  #3  
Old 06-22-2009, 07:37 PM
Shendare
Dragon
 
Join Date: Apr 2009
Location: California
Posts: 814
Default

If you wanted to set all races, classes, and selections to start in the same zone, it appears that you could use the following SQL command:

UPDATE start_zones SET zone_id=(Zone), x=(x), y=(y), z=(z), start_zone=(Zone), bind_x=(x), bind_y=(y), bind_z=(z);

Change (Zone), (x), (y), and (z) to the values you want to use. You don't need the parentheses.

Everyone would then start in the specified zone at the specified coordinates.

Apparently the zone and coords are in there twice so you can set a player to be bound by default to a location different from the actual starting location, so you don't get too many players popping into the same spot on log-in and death.
Reply With Quote
  #4  
Old 06-22-2009, 07:53 PM
Dodie
Sarnak
 
Join Date: Jun 2004
Posts: 67
Default

Ah, Thanks alot for your help
Reply With Quote
  #5  
Old 06-22-2009, 07:55 PM
Shendare
Dragon
 
Join Date: Apr 2009
Location: California
Posts: 814
Default

I recommend doing a little testing, since the meanings of the x, y, and z coordinates can be interpreted differently in different systems. They don't always match up with the order given in a /loc.
Reply With Quote
  #6  
Old 06-22-2009, 08:39 PM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default

/loc gives Y,X,Z and #loc gives X,Y,Z, so it is always best to use #loc IMO. But, keep in mind that /loc always only gives your location. The #loc command will give the location of your target if you have one and if not, it gives the loc of yourself. Basically, you just need to make sure you have the correct target when using #loc so you don't get bad info.
__________________
Trevazar/Trevius Owner of: Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions) - Read It!
Reply With Quote
  #7  
Old 06-22-2009, 10:08 PM
Capheus
Hill Giant
 
Join Date: Apr 2008
Location: Milwaukee
Posts: 141
Default

On Rev535 I edited the database as Shendare had mentioned. This did not matter. My start zone was always the tutorial zone until I edited the World:TutorialZoneID rule in the rule_values table. With the addition of SoF it appears that the start_zone table is now obsolete. Maybe it is working in later REV's, but not in 535.

Depending on what version you are running, you are going to want to look at these two rules in the rule-values table:

World:SoFStartZoneID
World:TutorialZoneID
Reply With Quote
  #8  
Old 06-23-2009, 08:16 AM
Dodie
Sarnak
 
Join Date: Jun 2004
Posts: 67
Default

Quote:
Originally Posted by Capheus View Post
On Rev535 I edited the database as Shendare had mentioned. This did not matter. My start zone was always the tutorial zone until I edited the World:TutorialZoneID rule in the rule_values table. With the addition of SoF it appears that the start_zone table is now obsolete. Maybe it is working in later REV's, but not in 535.

Depending on what version you are running, you are going to want to look at these two rules in the rule-values table:

World:SoFStartZoneID
World:TutorialZoneID

Yeah, I actully ran into these. Thanks for help guys.
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 01:13 AM.


 

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 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3