• 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

    [Request] Aol System

    player:removeItem(ITEM_AMULETOFLOSS, 1, -1, false) Change to: amulet:remove()
  2. L

    RevScripts Tfs 1.3 random addon to new players

    It’s TFS 1.3+ revscript that you need to put into /data/scripts/actions directory and it registers itself
  3. L

    [Request] Aol System

    local PREVENT_LOSS_AMULETS = { 123, 156, 7811 } if amulet and table.contains(PREVENT_LOSS_AMULETS, amulet.itemid) and not hasSkul then
  4. L

    TFS 1.X+ fit code

    Latest tfs-master uses lambdas instead but your code calls already removed helpers: // Helpers so we don't need to bind every time template <typename Callable, typename... Args> void addGameTask(Callable&& function, Args&&... args) {...
  5. L

    Fluid types unknown

    Post vial script and link to sources, you mentioned it’s Nekiro’s downgrade but then fluids would be defined as folows: <item id="1" name="water" /> <item id="2" name="blood" /> <item id="3" name="beer" /> <item id="4" name="slime" /> <item id="5" name="lemonade" /> <item...
  6. L

    How to implement this old and forgotten mechanic (or bug)?

    I'd start from here Game::playerMoveCreature https://github.com/otland/forgottenserver/blob/master/src/game.cpp#L713 To get rid of these checks and replace with simplified logic (just a POC code - there are probably some edge cases): Tile* fromTile = map.getTile(movingCreaturePos); if...
  7. L

    TFS 1.X+ gdb error unsigned int where?

    @Mjmackan Nah, he suggest to wrap addEvent and print there debug info before it gets executed, like (not tested): local oriAddEvent = addEvent addEvent = function(...) print(debug.getinfo(2).source) return oriAddEvent(...) end
  8. L

    Quest help item+outfit & addon

    Typo, change rewarda to rewardsa. Good tip: use english for variable names. Next undefined rewards: ItemType(rewards[item.uid])
  9. L

    OTClient How to add MOTD after Login on Client otv8

    https://github.com/otland/forgottenserver/pull/4057 Just revert these changes, not sure whether OTClient removed the code too.
  10. L

    TFS 1.X+ posSand shovel tfs 1.5

    It's not about removing this check, I found similar script here: https://otland.net/threads/bug-problem-open-hole-in-sand-if-there-is-splash-in-the-spot.283576/#post-2713723 You need to define posSand: local posSand = { fromPos = Position(33018, 32894, 7), toPos = Position(33306, 32530...
  11. L

    MyAac problem

    Try to define these missing colors above or simply replace with numeric values: COLOR_BLACK = 0 COLOR_BLUE = 5 COLOR_GREEN = 18 COLOR_TEAL = 35 COLOR_LIGHTGREEN = 66 COLOR_DARKBROWN = 78 COLOR_LIGHTBLUE = 89 COLOR_DARKRED = 108 COLOR_DARKPURPLE = 112 COLOR_BROWN = 120 COLOR_GREY = 129...
  12. L

    help me fix the error use tfs 1.2 8.0 downgrage

    Yea you're mixing legacy API with new one, but anyway cid(first param) is actualy a creature object so you need to rework the script to pass creature ID into addEvent. Easiest fix would probably be to do it like that: function onUse(player, item, fromPosition, target, toPosition, isHotkey)...
  13. L

    MyAac problem

    https://github.com/otsoft/myaac/blob/master/install/includes/config.php#L20 It fails to load your config.lua config['lua'] = load_config_lua($config['server_path'] . 'config.lua'); There must be some COLOR_GREEN somwhere in your config.lua, can you post that line of config.lua (+- 3 lines...
  14. L

    help me fix the error use tfs 1.2 8.0 downgrage

    Source of your issue: doCreatureAddHealth(cid, (doPlayerAddMana(cid) * (config.hp / 100))) doPlayerAddMana(cid, (doPlayerAddMana(cid) * (config.mp / 100))) I guess you wanted something like: doCreatureAddHealth(cid, getCreatureMaxHealth(cid) * (config.hp / 100)) doPlayerAddMana(cid...
  15. L

    AAC can't connect mysql

    @verselce What? Installation could be okay but it can simply be off that's why @222222 suggests to check wheter it's running at all and if so to check connection from CLI. If as you said you're able to login into PMA it means MySQL is up and running, so what's the error you get when you try...
  16. L

    TFS 1.X+ create tile on no ground tile 1.5

    @bpm91 Show the whole script so we can see why it has null instead of array in that loop, (most likely bridgePos is wrongly defined - but line number do not match with posted script)
  17. L

    TFS 0.X crashing server log file

    What disto, any modifications? Show whole backtrace for all threads: thread apply all bt full Try comile RelWithDebInfo or Debug on some dev environement to reproduce issue there maybe.
  18. L

    [ENGLAND] [7.4] - Delvine - (17th march, 2023)

    Exposing MariaDB publically on delvine.net:3306 is not the best idea tbh.
  19. L

    [ENGLAND] [7.4] - Delvine - (17th march, 2023)

    Every time I see some posts about "huge DDOS" attacks it mostly is just an excuse and hoster simply has no idea on how to configure DB to handle the load on start and thus connection pool is full, cache/pool size is set to default values and server is unable to operate as it fails to reach DB :D...
Back
Top