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

    Solved How can i remove potion 'on use' in this script

    It's because of this PlayerCustomFlag_GamemasterPrivileges lemme check what is going on with it. Try this please: local mana = {500, 760} local exhaust = createConditionObject(CONDITION_EXHAUST) setConditionParam(exhaust, CONDITION_PARAM_TICKS, (getConfigInfo('timeBetweenExActions') - 100))...
  2. S

    Solved How can i remove potion 'on use' in this script

    You can change god vocation in database to 4. or wait i can do something to work with gods too. Try this :p local mana = {500, 760} local exhaust = createConditionObject(CONDITION_EXHAUST) setConditionParam(exhaust, CONDITION_PARAM_TICKS, (getConfigInfo('timeBetweenExActions') - 100))...
  3. S

    Solved How can i remove potion 'on use' in this script

    local mana = {500, 760} local exhaust = createConditionObject(CONDITION_EXHAUST) setConditionParam(exhaust, CONDITION_PARAM_TICKS, (getConfigInfo('timeBetweenExActions') - 100)) function onUse(cid, item, fromPosition, itemEx, toPosition) if(not isKnight(cid) or getPlayerLevel(cid) < 80)...
  4. S

    Solved How can i remove potion 'on use' in this script

    local mana = {500, 760} local exhaust = createConditionObject(CONDITION_EXHAUST) setConditionParam(exhaust, CONDITION_PARAM_TICKS, (getConfigInfo('timeBetweenExActions') - 100)) function onUse(cid, item, fromPosition, itemEx, toPosition) if(hasCondition(cid, CONDITION_EXHAUST)) then...
  5. S

    Solved How can i remove potion 'on use' in this script

    #up lol I can write example script wait for my edit. Say please TFS version for god sake, humans. local mana = {500, 760} local exhaust = createConditionObject(CONDITION_EXHAUST) setConditionParam(exhaust, CONDITION_PARAM_TICKS, (getConfigInfo('timeBetweenExActions') - 100)) function...
  6. S

    Promoted Players gets downgraded to LVL1

    I bet this: lessloss="30" and this: lessloss="50" Changes loss to wrong values and makes that bug when player gets promoted. Just remove that lines. Here is your vocations.xml with fix (dont try to /reload vocations because its kinda bugged command) Just restart server after you save changes...
  7. S

    Promoted Players gets downgraded to LVL1

    Maybe this will help you understand the problem, did you tested it? https://otland.net/threads/level-bug-emergency.157436/
  8. S

    Solved TFS 1.2 Auto Broadcast [SOLVED]

    I can share my script :p <globalevent name="globalTip" interval="900000" script="globalTip.lua"/> local message = { "Are you stuck somewhere? type !exit. Don't forget to report bug place with !bug command.", "To see full list of available commands type !commands.", "Please report...
  9. S

    Solved Oramond Doors Bug

    open folder in your rme with last tibia version, if you use lastest tfs i use E:\RME_10.76\data\1076 if its lower version, open folder with that version and paste there files items.otb and items.xml from your tfs folder, data/items/ (you can easy check which version your map using by pressing...
  10. S

    Solved [TFS 1.2] !online counting ghost

    #edit I fixed it this way, now everything is fine :P function onSay(player, words, param) local cid = player if(not checkExhausted(cid, 555, 5)) then return false end local hasAccess = player:getGroup():getAccess() local players = Game.getPlayers() local playerCount =...
  11. S

    Lua [TFS 1.2] !commands full list of commands from talkactions.xml

    Very useful command that shows you list of possible commands. I didn't found a single script working with new TFS versions. This type of coding is too hard for me for now. Could be nice if anyone have any ideas how to upgrade this script. Old code from TFS with tibia version 8.6 local config...
  12. S

    Lua TFS 1.2 !exit

    When i tested with 5 seconds i couldn't use this script. Used my test script to see what actual storage is and it was long line of numbers. Easier is to setup with checkExhausted function, very simple for me and global function.
  13. S

    Lua TFS 1.2 !exit

    Its perfect, had small math mistakes but its really great. Your cooldown based on storage and os.time was a mistake because it gives values like 4323749748 and impossible to specify so i used my exhaust which works even after you relog etc. Here is final script fully working and calculated. To...
  14. S

    Lua TFS 1.2 !exit

    i checked that multiple times example if not player then return true end event seem to be unstoppable on tfs 1.2 so i need to use something else than addevent.
  15. S

    Lua TFS 1.2 !exit

    impossible to skip it like that, still crash its not stopping event
  16. S

    Lua TFS 1.2 !exit

    still same, this not gonna work i see many mistakes in this script. Like setPlayerStorageValue(cid, tmp_storage, 1) or if getPlayerStorageValue(cid, tmp_storage) >= 1 then Mine script works but addevent cause crash when character is offline and i need to skip that.
  17. S

    Lua TFS 1.2 !exit

    This is not working, just spamming 1 1 1 1 1 1
  18. S

    Lua TFS 1.2 !exit

    Script is working but always crash when log out while timer is counting. And if no log out there is no crash but this error, script is working. Lua Script Error: [Main Interface] in a timer event called from: (Unknown scriptfile) LuaScriptInterface::luaAddEvent(). callback parameter should be...
  19. S

    Lua TFS 1.2 !exit

    Looks like i must try milion times till i finish it because nobody care and you say only obvious things. I know functions and how to change cid to player. It's not the problem. Maybe if i use check player and something like stopEvent(event) when false server will not crash after logout while...
  20. S

    Compiling [TFS 1.2][Windows7] How to generate a crash dump for Windows MSVC 2013

    Ah i see, questions like that got answer only on premium board.
Back
Top