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

    TFS 1.X+ strange problem with houses

    the tile under the door has house property?
  2. P

    TFS 1.X+ in function 'addSellableItem' //in function 'addBuyableItem'

    show this line: data/npc/scripts/Ishina.lua >>> LINE 13
  3. P

    TFS 1.X+ getLostPercent

    reset the storage onLogin and not onDeath
  4. P

    TFS 1.X+ getLostPercent

    double Player::getLostPercent() const { int32_t blessingCount = std::bitset<5>(blessings).count(); double lossPercent; if (level >= 25) { double tmpLevel = level + (levelPercent / 100.); lossPercent = static_cast<double>((tmpLevel + 50) * 50 * ((tmpLevel * tmpLevel) -...
  5. P

    TFS 1.X+ Convert Flag value to enum from getSlotPosition()

    https://github.com/nekiro/TFS-1.5-Downgrades/blob/8.0/data/lib/core/itemtype.lua yes, it does. but you can use it, if you want.. local slotBits = { [CONST_SLOT_HEAD] = SLOTP_HEAD, [CONST_SLOT_NECKLACE] = SLOTP_NECKLACE, [CONST_SLOT_BACKPACK] = SLOTP_BACKPACK, [CONST_SLOT_ARMOR]...
  6. P

    Lua error: attempt to call global 'require' (a nil value)

    you will have to declare a new function as i've said. then, 'onSay' u call that function.. you can see how the tools items are made, example: shovel, pick, rope.. and then u see how the multitool (tool gear/sneaky stabber) works.. they have shared functions.. it's almost the same that u want
  7. P

    TFS 1.X+ addevent error tfs 1.5

  8. P

    Lua error: attempt to call global 'require' (a nil value)

    You can declare your functions in global.lua or in libs/ files.. example function myCustomFunction(parameter) print(parameter) end then, in your talk action you do: function onSay(cid, words, param) myCustomFunction("im using my new function") end
  9. P

    C++ Does not show the Text when the value is 0

    this way will never works, you are declaring a int with bool value.. uint32_t tier = item->getTier() >= 0; UINT32 = (VALUE >= 0) =>> VALUE >= 0 = TRUE or FALSE / 1 or 0 1690048028 check again what i've sent to you, and also, show what i've asked then i can help u further
  10. P

    Lua error: attempt to call global 'require' (a nil value)

    what u want to do? u do have require function, but u are not using it properly..
  11. P

    C++ Does not show the Text when the value is 0

    show how u are parsing this attribute when loading items.xml and how you have made your getTier function.. 1690046016 my idea is: if item doesnt have key tier, then tier = -1 (it would be the default value on the struct of itemType) if item have key tier, then tier = the value u've set. then on...
  12. P

    compiling tfs 1.2 ubuntu

    i'm not using tfs 1.2 for a long time, but i have it on my notes: using ubuntu 18 -- install libs sudo apt-get install git cmake build-essential libluajit-5.1-dev zip libmysqlclient-dev libboost-system-dev libboost-iostreams-dev libboost-filesystem-dev libpugixml-dev libcrypto++-dev libfmt-dev...
  13. P

    TFS 1.X+ /send name, x,y,z

    local talk = TalkAction("/send", "!send") function talk.onSay(player, words, param) if not player:getGroup():getAccess() then return true end local split = param:split(",") if split[4] then local p = Player(split[1]) if p then p:teleportTo(Position(split[2], split[3]...
  14. P

    OTCV8 - NEW MODULE

    compile = generates new exe file from source code modules are loaded by this exe after that but if u mean 'before encryption', so yes (you have to remove the line 'game_bot' in modules\game_interface\interface.otmod too). also, enable this feature in modules\game_features\features.lua: and...
  15. P

    OTCV8 - NEW MODULE

  16. P

    TFS 1.X+ convert map 8.0 to 8.6 problem

    https://otland.net/threads/8-0-tfs-1-2-server-global-full-real-map.280265/post-2728121
  17. P

    OTCV8 - NEW MODULE

    i've updated it. u can set the interval u want for anti-idle in the config of the module. after updating files you have to reload modules (ctrl+shift+r) or restart client. 1689642777 sorry, my mistake. copy again.
  18. P

    [8.0] [TFS 1.2] - Server Global Full [Real Map]

    open a blank map 8.6 version and import this one
  19. P

    OTCV8 - NEW MODULE

    https://github.com/felipepips/otcv8-dev/blob/master/modules/game_trainer/trainer.lua
  20. P

    OTCV8 - NEW MODULE

    just unzip it on modules folder \otcv8\modules\game_trainer
Back
Top