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

    TFS 1.X+ problem with a function while updating server

    You copied some code that’s from newer TFS where method addTask accepts Lambdas but yours does not and it expects it to be a Task instead. Check other invocation of addTask and adjust accordingly. g_dispatcher.addTask(createTask(std::bind(&Game::playerSeekInContainer, &g_game, player->getID()...
  2. L

    Project Odenia Online - A true 7.4 experience. 100% Free to play. 0% Pay to win.

    TBH it's hard to say anything about it as there's only a small fraction of informations about the server from OP. Only sentance that gives a hope is that it's return to the OG path so I guess it'll be a fork of 7.4 with mordern content re-engineered to keep it up with RPG soul of Tibia (if it...
  3. L

    Webdesigner Javascript Python React Web developer

    That business model might work better for OT scene actually, as I see more & more download&host custom projects lead by people with rather basic experience/knowlage of coding trying to copy mechanics from highend servers ;)
  4. L

    Webdesigner Javascript Python React Web developer

    @Itutorial Okay it was a bit missleading to read about security and see such unprotected API but as it's only frontend showcase, now I get what was the intentions, keep goin ;)
  5. L

    Webdesigner Javascript Python React Web developer

    Just saying that usally even for such demo pages things are usaully being built as "production build" so the code is obfuscated/minified or without source map files. Just saying, anyway I like the idea to push OT scene towards new web technologies & things like webSockets with some dose of...
  6. L

    Webdesigner Javascript Python React Web developer

    Is it intended that's not minified/obfuscated dev build? const READ_USERS = "/user" const READ_USER = "/user/:userId" const READ_USER_FOLLOWERS = "/user/:userId/followers" export const getUser = () => async (dispatch) => { const data = await fetch("/api") if (data.ok) { const...
  7. L

    C++ I need a encrypt my .spr

    @NvSo Remember that LuaJIT bytecodes varies between versions and build modes (GC64) so remember to use same version. Regarding your issue, how did you get that error (and when/where do you see it)? def _read_prototypes(state, prototypes): while not state.stream.eof(): prototype =...
  8. L

    Lua tfs 1.4.2 when item equipped heal percent

    The condition I posted as exmaple is default food condition so maybe no to mix things up choose some other one (try to replace CONDITIONID_DEFAULT with respective slot condition e.g. CONDITIONID_RING) , anyway I'm sure you'll manage to make that work without side effect ;) Remember to remove...
  9. L

    Lua tfs 1.4.2 when item equipped heal percent

    @Fairytail Instead of this performance killer solution you could simply execute condition: local condition = Condition(CONDITION_REGENERATION, CONDITIONID_DEFAULT) condition:setTicks(seconds * 1000) -- seconds or -1 condition:setParameter(CONDITION_PARAM_HEALTHGAIN, healthGain)...
  10. L

    Lua Creating items on no ground tile

    Well actually that would've work too, but I prefer to define things already as object for static things to not have to instanciate them every time I want to re-use same value (only drawback is that it holds the memory alocated)
  11. L

    Lua Creating items on no ground tile

    It gota be position: local chimneyTutorialHousePos = Position({x = 1072, y = 1023, z = 4})
  12. L

    Lua Creating items on no ground tile

    @Sprrw Can you show how is chimneyTutorialHousePos defined?
  13. L

    Lua Creating items on no ground tile

    @Sprrw Try to use the trick that @StreamSide posted, I played a bit with it, see: https://otland.net/threads/walking-flying-delay.284319/#post-2719154 Use colons to execute: chimneyTutorialHousePos:createItem(smoke, 1)
  14. L

    Walking/Flying delay?

    Daamn, so it works thanks to "side effect", execution of area combat creates this tile (so area spells effects can be placed on some non existing tiles): https://github.com/otland/forgottenserver/blob/545516299b607ef25471f84d1805a22311ab72de/src/combat.cpp#L81 Tile* tile =...
  15. L

    Lua Use ladder with fluid underneath

    I’d say it can be caused by: wrong item config in dat/otb file (flag onTop) server sends wrong stackPos to client if it’s OTC it can be client issue What distro? Which client? I’d debug that first...
  16. L

    Lua Creating items on no ground tile

    i guess tile does not exists, put there invisible ground item on map or rework functions to create tile if it’s not there Game.createItem(itemId, 1, itemPos)
  17. L

    Lua A Teleport script for a GM Island

    Why not simply create new town “GM Island” on map and use command: /town gm island
  18. L

    Lua Spell that requires an item + sets cooldown

    @Heszek local leftSlotItem = creature:getSlotItem(CONST_SLOT_RIGHT) local rightSlotItem = creature:getSlotItem(CONST_SLOT_LEFT) local leftSlotItemId = leftSlotItem and leftSlotItem:getId() or 0 local rightSlotItemId = rightSlotItem and rightSlotItem:getId() or 0 local hasWeaponInHand =...
  19. L

    AAC Fatal error when setting server path in Gesior AAC

    For 1.2 its’s in data/XML/stages.xml Set „enabled” to „1” https://github.com/otland/forgottenserver/blob/1.2/data/XML/stages.xml
  20. L

    AAC Fatal error when setting server path in Gesior AAC

    that line is wrong: For tfs 1.4+ stages are in config.lua See: https://github.com/otland/forgottenserver/blob/a076fea0a81bcd85fbeb62e20685f67e3619e037/config.lua.dist#L127 For older use data/XML/stages.xml
Back
Top