-
Notifications
You must be signed in to change notification settings - Fork 102
Guide for ZonePoint
The purpose of this guide is to make clear everything needed to setup a transition between two zones.
First of all, go ingame with an admin or GM character and find the transition point you want to setup, it can be a magical portal, a dungeon entrance... and run into it as if you wanted to use it. Well, looks like it does not work! But in the chat window you are getting a very important information, the JumpSpotID! Write it down.
Now, turn around and put you where you want players who will use this passage appear. Use /gloc to obtain more information about your location and write everything down (X, Y, Z axes, Heading and Region).
Of course you have to do this also with the other point at the exit of the transition.
It's time to go to the DOL database and look for the table called zonepoint.
There are 14 fields to be filled. Look at it more closely.
Field ID Here you mention the JumpSpotID, that means this is your starting point.
Field TargetX information of the X axis from where you want to go.
Field TargetY information of the Y axis from where you want to go.
Field TargetZ information of the Z axis from where you want to go.
Field TargetRegion The region ID from where you want to go.
Field TargetHeading information of the Heading from your where you want to go.
Source Location is only a "hint" for server, if something goes wrong while teleporting player it can try to put him back to the initial location, this value is heavily used for "Instance ZonePoint" as a last valid position for players if Instance crashes...
Field SourceX information of the X axis from where you start.
Field SourceY information of the Y axis from where you start.
Field SourceZ information of the Z axis from where you start.
Field SourceRegion information of the region ID from where you start.
Field Realm Controls which realms can cross here. 1 = Albion 2 = Midgard 3 = Hibernia 0 = All
ClassType ClassType is a field that tells DOL Server this zone point use a specific Class Implementation (Example DarknessFallZonePoint) which will then have specific rules for allowing jump or not (DF: you need more keeps than other realms...)
LastTimeRowUpdated Auto-implemented, nothing to do there.
ZonePoint_ID There you can choose an ID (even a name) for your transition.
And finally, you create a new entry in the table for the return and you're done!
Dawn of Light - DOL Server - http://www.dolserver.net - Wiki Home