• 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!

Search results

  1. RazorBlade

    Lua Block bank transfer to some towns

    instead of npcHandler:say('Would you really like to transfer ' .. count[cid] .. ' gold to ' .. getCreatureByName(v) .. '?', cid) put local temp = getCreatureName(v) npcHandler:say('Would you really like to transfer ' .. count[cid] .. ' gold to ' .. temp .. '?', cid)
  2. RazorBlade

    Lua Block bank transfer to some towns

    That error is from this npcHandler:say('Would you really like to transfer ' .. count[cid] .. ' gold to ' .. getCreatureByName(v) .. '?', cid) at line 189 you're trying to get a creature by name but 'v' is already a creature found by name local v = getCreatureByName(msg) I'm guessing that...
  3. RazorBlade

    Synnicals Mapping Thread

    ubertrash
  4. RazorBlade

    Lua beginner is havinng trouble

    Well, best of luck with that. It's 10am and I haven't been to bed yet. :p
  5. RazorBlade

    Lua beginner is havinng trouble

    Yeah, you'll need an AAC and a database setup in order to create accounts/players Znote AAC 1.5 is what you'll want. And you'll need uniform server as well https://github.com/Znote/ZnoteAAC/archive/master.zip (will download directly)...
  6. RazorBlade

    Regen Help

    1000 ticks = 1 second. Have fun.
  7. RazorBlade

    Lua beginner is havinng trouble

    Been a while since I've used RME but this one seems like a good one https://otland.net/threads/rme-3-0-any-client-remeres-map-editor-modification.235972/ Edit: https://otland.net/threads/10-76-remeres-map-editor.211040/page-20#post-2365822 the comment I linked has a compiled version for 10.94...
  8. RazorBlade

    Current monster location data

    The data is created by the map editor. Typically RME. The map data is typically created by a map tracker when it comes to real tibia maps. So yes, a player must walk through the game with the tracker running and it builds a map out of the images it takes. It still isn't accurate because often...
  9. RazorBlade

    Lua Block bank transfer to some towns

    My best guess: getCreatureByName doesn't work if the creature doesn't exist. If you're trying to transfer to someone who is offline it will be nil. notice how in the next occurrence it's called like this getPlayerTown(msg:lower()) getPlayerTown seems to work on offline objects because it...
  10. RazorBlade

    Current monster location data

    what's the difference between word and world
  11. RazorBlade

    Why my marriage system not work?

    I mean, the error is pretty self-explanatory. If you would read the other pages in the thread you'd find this https://otland.net/threads/marriage-system-8-6-fixed.161590/page-3#post-2183119 In the first post, id is set to be not null but is not given a default value. The above solution will...
  12. RazorBlade

    Lua Block bank transfer to some towns

    Could you confirm what is on line 187
  13. RazorBlade

    Current monster location data

    There are two types of people in the world. Those that can extrapolate from incomplete information. I don't know what your spawn file is going to be called, because different servers have different names for them, with the exception that they include the word spawn or spawns.
  14. RazorBlade

    Current monster location data

    I'm a little lost on what it is you're asking at this point. the spawn file in world contains all the position data of any monsters on your map. If you want a real map version, just find a real map distribution and look at that spawn file. If you're looking for a clean, compiled list of the...
  15. RazorBlade

    Current monster location data

    The spawn information is hardcoded values in the spawns.xml file in world... They don't update and you can't pull realtime info from that
  16. RazorBlade

    Current monster location data

    I don't believe that's a thing. Best you can do is a Game.getSpectators call that covers the entire map but I can't recommend that. xD
  17. RazorBlade

    Lua beginner is havinng trouble

    Open up a blank map in RME in the version you want. File->Import->Import Map choose your map file, press ok, save the map as a new map the new map is now a copy of your old map but in the version of your choosing
  18. RazorBlade

    Lua beginner is havinng trouble

    https://github.com/otland/forgottenserver/tree/1.1 Click the "Clone or Download" and choose download as zip For RME, go to Map->Properties and change the version there. It'll ask you to browse to the folder containing the appropriate file version.
  19. RazorBlade

    Lua beginner is havinng trouble

    I highly suggest learning the newer scripting stuff in 1.1+
  20. RazorBlade

    Lua [TFS 1.2] Database Clean Player, "lastLogin"

    That is not how ternary works in lua xD
Back
Top