• 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

    RevScripts Upgrade scripts :/ Mana leech/hp leech

    Execute wandUpgrade:register() after the loop like: for itemId, _ in pairs(config) do wandUpgrade:id(itemId) end wandUpgrade:register()
  2. L

    [TFS 1.5]store stuff limit remover

    I’d check what’s the size limit of one NetworkMessage in ur distro. Output json might be long with as many offers. There were already some implementations that splits offer json into chunks and sends multiple msg’s...
  3. L

    Block DeacayTo

    Do you need to block it exceptionally in one case or you want to totally remove it from some item?
  4. L

    Block DeacayTo

    First of all what distro? Maybe something like that (not tested): item:removeAttribute(ITEM_ATTRIBUTE_DURATION) or item:removeAttribute(ITEM_ATTRIBUTE_DECAYSTATE)
  5. L

    TFS 1.X+ mwall wont appear if player is standing in the sqm

    It's added but also removed due to that: https://github.com/otland/forgottenserver/blob/master/src/combat.cpp#L1387 If it's PvP world try with ITEM_MAGICWALL_NOPVP or put no pvp zone there
  6. L

    TFS 0.X Compile sources doesn't apply changes in output.

    If it's dockerized you need to rebuild your docker image too. (Assuming Dockerfile builds the server binary) or utilize volumes to replace container binary. Btw Docker is good as develpoment enviroment but I wouldn't recommend it for production (check license agreement)
  7. L

    Linux TFS LOG - access problem.

    Process that wants to write to some directory also needs to have permission to write into this directory. Either create some group or change owner of the directory to the user the process is being started from. Commands: chgrp chown
  8. L

    TFS 1.2 exceeding packet limit when tp to pos

    Try either debug network packets on server/client side or use Wireshark to analyze traffic with Tibia protocol filter:
  9. L

    opcode instalation doSendPlayerExtendedOpcode 1.5 Nekiro downgrade 8.6

    Seems like you missed first point of the tutorial from the link you sent. You need to declare doSendDialogNpc
  10. L

    opcode instalation doSendPlayerExtendedOpcode 1.5 Nekiro downgrade 8.6

    There's no getNpcId, try with getNpcCid
  11. L

    Saving Player Error

    Acording to error it seems like there's an issue with blessings column. Check type of the column in DB and how it's saved on your distro. `blessings` tinyint NOT NULL DEFAULT '0' Most important, what's the distro you're using? TFS 0.x/1.x? Canary?
  12. L

    Compiling TFS 1.5 Downgraded Ubuntu 20.04

    No, it's still not okay, you still got an issue but you don't log it
  13. L

    Compiling Compiling TFS 1.4.2 errors "fmt::v10::format_error"

    Once you modify vcpkg.json remember to remove vcpkg_installed directory so it could re-create it based on new config. For windows build this should actually do the trick: https://github.com/otland/forgottenserver/pull/4487/files
  14. L

    Compiling Compiling TFS 1.4.2 errors "fmt::v10::format_error"

    Try apply these changes (tfs::to_underlying part): https://github.com/otland/forgottenserver/pull/4491/commits/9bd9856b8d461ab03b566766e42d925c02a343d8
  15. L

    Lua flaw (cast on) TFS 1.2-8.6

    Is there some logic onDeath that updates broadcasting in players table or some logic that restarts player storage back? As it's simply because of this condition: if getPlayerStorageValue(cid, 45503) <= 0 then
  16. L

    storage outfit

    You'd need to rework how offers are initialized, as from the init code there's no player instance. I'd try maybe with doing like: function init(player) local sex = player:getSex() local category3 = addCategory({ type = "outfit", name = " News Outfits ", sex = sex...
  17. L

    storage outfit

    I belive it’s related to the way how it converts arrays to json and how it count elements (#array) so try define it like: category3.addOutfit(9, { mount = 0, feet = 114, legs = 114, body = 116, type = 1490, lookType = { 1490, 1489 }, auxType = 0, addons = 0...
  18. L

    storage outfit

    You could also define things like: category3.addOutfit(9, { mount = 0, feet = 114, legs = 114, body = 116, type = 1490, -- ID Outfit- FEMALE lookType = { [PLAYERSEX_FEMALE] = 1490, [PLAYERSEX_MALE] = 1489 }, auxType = 0, addons = 0, head =...
  19. L

    storage outfit

    What's the result then, does it give any error? Is the storage being set but no outfit is given? More details you give the better hints I can give. Try with changing storage criteria to (as for some distros it's -1 by default and I keep forgetting that it's not JS): if...
  20. L

    storage outfit

    First of all clear storage of your character as your code was always using single storage value: 535925 (from config) but outfit was correctly taken from the selected offer config
Back
Top