• 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. J

    [TFS 1.5] - Problem with drop loot

    data/events/scripts/monster.lua There are 2 functions called Monster:onSpawn(position, startup, artificial) Lines 16 to 72 has no function definition Programming in Lua : 5 (https://www.lua.org/pil/5.html) Where did you copy this code from?
  2. J

    Compiling Issues Compiling TFS 1.2

    -- Performing Test COMPILER_KNOWS_STDLIB - Failed seems like Performing Test COMPILER_KNOWS_STDLIB - Failed · Issue #1720 · otland/forgottenserver (https://github.com/otland/forgottenserver/issues/1720)
  3. J

    zombie event players don't die

    The script is for TFS 1.3. onLookInmarket was added feb 2022, it is not available on TFS 1.4.2 I tested the zombie code and CTF on 1.4.2 and works fine
  4. J

    zombie event players don't die

    Your data/scripts/lib/event_callbacks.lua is from TFS 1.5, it should be: -- Creature EVENT_CALLBACK_ONCHANGEOUTFIT = 1 EVENT_CALLBACK_ONCHANGEMOUNT = 2 EVENT_CALLBACK_ONAREACOMBAT = 3 EVENT_CALLBACK_ONTARGETCOMBAT = 4 EVENT_CALLBACK_ONHEAR = 5 -- Party EVENT_CALLBACK_ONJOIN = 6...
  5. J

    [CTF]capture the flag 1.3, players don't die

    change it to posMax
  6. J

    [CTF]capture the flag 1.3, players don't die

    There's a spelling mistake on line 256 in data/scripts/ctf.lua, it should be: local posMax = CTF_RESPAWN_POSITIONS.GREEN_TEAM[randSpawn].max if you are using this version Capture The Flag (https://otland.net/threads/capture-the-flag.280129/post-2693777)
  7. J

    TFS 1.X+ [1.4.2] Daily Task problem.

    Good information from Fjorda. Check out the docs, you can see a time parameter: GlobalEvents - OTS Guide (https://docs.otland.net/ots-guide/tfs-documentation/luascript-interface/globalevents#ontime)
  8. J

    Summon error

    You can get the tile info using getTileInfo(pos) I believe, if a creature is there, try a different location. https://otland.net/threads/checking-if-the-monster-can-be-created.236672/post-2285615 getThingFromPos will check if it is a valid tile to spawn the monster...
  9. J

    TFS 1.X+ [1.4.2] Daily Task problem.

    it means length Lua 5.1 Reference Manual (https://www.lua.org/manual/5.1/manual.html#2.5.5) It looks fine, it is selecting a random monster. Looks like you need to run "/ data / lib / task / dailytask.lua" after 6 o'clock to update the variables? I'm new to this so I don't know the best way but...
  10. J

    TFS 1.X+ attack and magic wall bug

    wow, yeah looks like it's broke and the commit doesn't fix it either. Here's canarys code, not ideal but looks like it works on TFS 1.4.2, give it a test. src\map.cpp replace checkSightLine bool Map::checkSightLine(uint16_t x0, uint16_t y0, uint16_t x1, uint16_t y1, uint8_t z) const { if...
  11. J

    TFS 1.X+ attack and magic wall bug

    Isn't this a known issue even with the real game? https://github.com/otland/forgottenserver/pull/4521#issuecomment-1694495636
  12. J

    Zombie Event TFS 1.5, Zombie dont teleport the player when hit

    Looks like you open your map with RME or equivalent software, make a room (however you like) and set the arena coordinates yourself: arena = { topLeft = Position(61, 388, 7), bottomRight = Position(74, 395, 7) } Seems like a funny event, lots of possibilities 1707742540...
  13. J

    Requesting help with the tutorial

    I've just started exploring TFS source too, it's really interesting. Let me know if you need a hand, couldnt find you on discord
Back
Top