[Only registered and activated users can see links. Click Here To Register...]
been looking at some lua code and db instance tables, there should be multiple ways to solve this, but the following came up in my mind: through a player coordinates check on x, y every x min based on : game.use_time_based_event_script.
[Only registered and activated users can see links. Click Here To Register...]
If you link this in on_login.lua, you can make player teleport back to town or dungeon entry based on timer checks.
To get map x and y values you need to search in stringresource for the dungeon map, take the worldlocation [code] to find worldlocation x, y coordinates by searching for the [code] as [text_id]
You wil have to use the following to calculate x and y coordinates of the whole map:
For example circus x6 y1
Code:
X between 6x16128 =96768 and 7x16128 =112896
Y between 1x16128 =16128 and 2x16128 =32256
GL!
Quote:
Originally Posted by chet108
ty ty :)
what about 3? where i can get dungeons coord for fix it in lua? :confused:
|