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

    Compiling Compiler TFS 1.2

    Compiling · otland/forgottenserver Wiki · GitHub
  2. Z

    C++ summon don't get experience points

    Someone would probably give you direction, if you told us what server you are using...
  3. Z

    Help Otserver own client

    Yeah, and if you change ports, they will also track it and change. The hardest obfuscation I can think of would be changing opcodes on both sides (so they still match), but this may prove to be hard. Just keep in mind that any changes you do on client side that does not involve server side...
  4. Z

    error timer event creaturescript onDeath tfs 0.3

    And if this does not work I would probably say that deathList[1] does not exist? But I'm only guessing here, not sure what happens in lua when you try to access out of bounds index of an array.
  5. Z

    C++ Game.getClientVersion()

    All guys above, I think he wants to print user's client version, not definintions from server :) You should have a look here C++ - Game.getClientVersion(). Just like WibbenZ wrote, you should use player::getClient() instead and just remember it will also return an array / table with these...
  6. Z

    C++ Game.getClientVersion()

    You should see in your print that you're trying to print a table and in case of lua it does tell you it's a table, Game.getClientVersion() is here: int LuaScriptInterface::luaGameGetClientVersion(lua_State* L) { // Game.getClientVersion() lua_createtable(L, 0, 3); setField(L, "min"...
  7. Z

    Mapper Maps of order.

    I'd say these maps look great : ) If you're having any communications barrier with this mapper let me know, I can translate for you. It'd be a shame to just waste such talent for maps because of this :) Once again, these screens are just fantastic. I love the fact you take all of them in-game!
  8. Z

    Lua Blue Arrow when drop item rare

    I think he meant that there's no corpse when onKill is executed. Therefore if another monster dies on the same tile, the old corpse is taken into account, but the latest corpse is not there yet in onKill handler. Any chance there's a bug there?? Likee, the corpse is there only if player is...
  9. Z

    Lua Blue Arrow when drop item rare

    By swapping arguments of this call. Change this: isInArray(getContainerItem(corpse, i).itemid, rare_items) into this: isInArray(rare_items, getContainerItem(corpse, i).itemid)
  10. Z

    Lua Blue Arrow when drop item rare

    Your isInArray call is wrong. You need to swap arguments, the first one is the array, the second is what you look for: isInArray(haystack, needle)
  11. Z

    [USA] Athenas-Global Prey System 10.00+

    low rates?? Oh come on :D I just read "low rate" and was very excited, until the exp stage showed... you must change it, seriously.
  12. Z

    [France]Ranger's Arcani |NEW CLASS|BETA|FULL CUSTOM|

    linux (ubuntu/debian) client anywhere?
  13. Z

    [TFS 1.0] Critical Hit % - Permanent

    Since you register it to player, it will only work on player (the onHealthChange event is executed for player only here). Check this post [TFS 1.0] Critical Hit % - Permanent for explanation
  14. Z

    onBlock/blockHit function?

    Well, I see you keep thinking and this is great. The thing is onHealthChange does not get called until damage is dealt. As for skill advancement, the event is only called on skill level change (not on tries), so this would not work either. I think your best chance, if you can't code onBlock...
  15. Z

    Lua How to set spell target without attacking?

    I just don't think you can. You can only use "onUse" with an item, because you need to click the object in-game (or have it targeted) since Tibia does not send your mouse position to the server. OTClient would probably be able to do this, if modified. The only thing I can think of is using onSay...
  16. Z

    server works fine until...

    Do you have items.otb in correct directory? And is this items.otb correct? I had a quick look at thread here: [8.60] The Forgotten Server 0.3.6 (Crying Damson) V8 It seems TFS 0.3.6 V8.1 removed items.otb version check, perhaps your items.otb is invalid and this causes the crash.
  17. Z

    onBlock/blockHit function?

    Oh, I see. Well, I don't "test", since I don't have Tibia client and can't really bother to save it. I did analyze the code though: Here is onHealthChange (this is where TFS executes lua onHealthChange handler): forgottenserver/creatureevent.cpp at b79d74fda22e61720818a8f1ceb9acb69103b04f ·...
  18. Z

    RME problem with doors house

    The door (north and west) is on the tile "outside" the house, did you mark this as a part of your house too? The tile north/west of the inner house floor. Just don't blame me for the drawing - I know it's awful.
  19. Z

    onBlock/blockHit function?

    To be honest I don't really understand what you're trying to tell me here. Do you mean that, assuming we use clean TFS (master branch) copy, if player blocks an attack (resulting damage is 0), it will still execute onHealthChange? I see you use some sort of custom "damage system", so I can't...
  20. Z

    tfs 1.2+ How to change healing colour?

    One more thing, I did double-check it and I believe you will not be able to use a number (integer) there anyway. It will not compile (or at least should not compile) :)
Back
Top