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

    Solved [TFS 1.2] Xml Attributes

    hi, thanks for your answer, i edited post tittle, hmm i wanted to change monster.xml, yersterday i saw a post where a guy puts to a monster attributes like experience but i dont know if this kind of attributes are only in specified TFS version, maybe can a creature inherate player attributes...
  2. Ovnyx

    Solved [TFS 1.2] Xml Attributes

    hi guys, i was wondering where can i find a list of the available attributes i can use to edit xml files? according to my tfs version? thanks in advice, Ovnyx
  3. Ovnyx

    Lua [TFS 1.2] execute function while player online

    hey sorry about double post but i find something interesting, i do things as you said @Static_, and they work perfectly, now the question is that i tried the same with a player summon, and it works too, so i can add events to creatures as if they were players? or its beter (more efficient) to do...
  4. Ovnyx

    How skills work

    wow thats exactly what i was looking for hahaha thank you!
  5. Ovnyx

    How skills work

    hi guys, i have a question, i wanted to know how the skills advance work? i mean how is calculated the "skill exp" required for level up magic or distance or melee, its same like level? i mean: How the game decides how much you have to train a skill to level it up? thanks in advice! Ovnyx.
  6. Ovnyx

    Lua [TFS 1.2] execute function while player online

    wow, i didnt think about using player id to reconstruct the object, thats an excelent idea, gonna use it, thanks a lot man!
  7. Ovnyx

    Lua [TFS 1.2] execute function while player online

    hi thanks for this information, im sorry if im too annoying with a lot of question, but i like to learn new things and practice them, i only got another queston: this is the function im using to test the add event: function test(player) local position = player:getPosition()...
  8. Ovnyx

    [How-to] Using addEvent()

    well coming from you, off course i will ignore this :D
  9. Ovnyx

    [How-to] Using addEvent()

    what is the correct way then? @Mazen
  10. Ovnyx

    Lua [TFS 1.2] execute function while player online

    thanks for your answer, all this is running in a talkaction function so i use diferent params to test diferent things by using the same talkaction, so i can define test functions out of the talkaction function or how is the correct way todo this or where should this "functions" be written to use...
  11. Ovnyx

    Lua [TFS 1.2] execute function while player online

    o_Oo_Oo_O wow thanks, both are what i was looking for!!, i will test them later @OpenTibiaServer hi i m testing this and i get this error: this the simple thing im using to test: elseif param == "talk" then print(player:getName()) local position = player:getPosition()...
  12. Ovnyx

    Lua [TFS 1.2] execute function while player online

    okay thank you very much :D im going to test this until i fully understand how this works, this is really helpfull one question please, if i put a "addEvent" in my function how much "time" should i add as parameter in that case? edit: what is the creature:register/unregisterEvent purpose? is...
  13. Ovnyx

    Lua [TFS 1.2] execute function while player online

    hi thanks for your answers, ok ill try to explain my self. I.E i have this functions: function checkMoney() if player:isPzLocked() == true then print("player locked!") so what i want its to all time the player is online, this function will be executed, checking if the player is...
  14. Ovnyx

    Lua [TFS 1.2] execute function while player online

    hi guys, i wanted to know if i can do a function that while player is online, is cheking for example if he has a magic sword on the bp, and when it get the sword then the script will do something? maybe can be possible creating a Thread to be executed in concurrence while player is on? PD...
  15. Ovnyx

    Lua Saving tables [TFS 1.2]

    yea thats how that system works, i guess i finally got it how to correct use this
  16. Ovnyx

    Lua Saving tables [TFS 1.2]

    exactly but i create a talkaction, so i can reset, set, print, etc the table keys or any value, and thats how i am testing it
  17. Ovnyx

    Lua Saving tables [TFS 1.2]

    yeah i tried with StorageValue but it can only store numeric values as i understand, so i founded this system: https://otland.net/threads/lib-storing-information-items-and-players-tfs-1-2.241873/ and it works awesome because i needed to store a table, but when i store something in the table...
  18. Ovnyx

    Lua Saving tables [TFS 1.2]

    hi guys, i was wondring if it is a good idea to storage some lua tables with player information, in txt or bin file? so i can read it each time i need to use that information? thanks in advice, Ovnyx.
  19. Ovnyx

    [LIB] Storing Information (Items and Players) TFS 1.2

    hi, this is really helpfull. any idea why when i try to use a class in core folder it throws error in save and load special storage ? sometimes i set the value with player:setSpecialStorage("key",value) but when i check the value it is still the same? hope some one can help me! thanks in...
  20. Ovnyx

    Lua Rare error

    thank you ! bless
Back
Top