Difference between revisions of "Database:Starting"

m (changed to 255)
Line 1: Line 1:
 
== Setting Start zones ==
 
== Setting Start zones ==
  
[http://www.eq2emulator.net/phpBB3/viewtopic.php?f=3&t=10&p=772&hilit=starting+zones#p772 Read LethalEncounters Post]
+
[http://www.eq2emulator.net/phpBB3/viewtopic.php?f=63&t=175&p=1692&hilit=starting+zones#p1692 Read LethalEncounters Post]
  
 
*Note* As of 23/09/09 - Racial and Class ID of 255 will match all (not 0/0)
 
*Note* As of 23/09/09 - Racial and Class ID of 255 will match all (not 0/0)

Revision as of 06:09, 24 September 2009

Setting Start zones

Read LethalEncounters Post

  • Note* As of 23/09/09 - Racial and Class ID of 255 will match all (not 0/0)

You will need to update the starting_zones table to do what you are trying to do. All the starting tables allow you to set defaults for class_id and race_id. Here is how it works:

  • 1. Starts off trying to match the exact class_id and race_id of a character.
  • 2. If no match, then it tries to match the class of the character.
  • 3. If no match, then it tries to match the race of the character.
  • 4. If no match, then it uses the default (race of 255 and class of 255).

If you want everyone to start in antonica, then you would set the zone_id to 12 (antonica's zone id) and race_id and class_id to 255. If you want only Fae to start in gfaydark you would set the zone_id to 114 and the race_id to 16 and leave class_id as 255.

This is similar to the other starting tables except all starting tables except starting_zones are inclusive (more than one condition can match like both class/race specific starting items and default starting items given to all characters).