• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • 2026 staff recruitment is open! Check it out and consider applying!

getPlayerWorldId

klekSu

Stroke my ego.
Joined
Nov 4, 2008
Messages
1,285
Reaction score
18
Could anyone make this function for me, please? If so, let the function display number of his world, for example 0, or 1, or 2, the number of world set in config. I haven't seen any function showing player world_id actually. So, anyone?
__________________
klekSu.png

You are welcome on kleksoria.com!
Please visit new open tibia forum with it's own ots list. otservers.net!
 
Last edited:
getConfigValue('worldId') pls?

If you do this function by 'cid', then its clear that this creature is on same world or? Maybe better would be function by name?
 
Yea same world, but actually i meant that. Needed to do db query with it's worldId to later display it on the site if worldId set in the query. But yeh, lol getConfigValue is the same (?) i guess, and much shorter :p
__________________
klekSu.png

You are welcome on kleksoria.com!
Please visit new open tibia forum with it's own ots list. otservers.net!
 
Last edited:
Back
Top