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

    TFS 1.X+ TFS 1.3 Action script to give storage from list

    local rewards = { [1044] = Storage.HiddenTreasures.WizardTower, [1029] = Storage.HiddenTreasures.CrownQuest, -- 1030 + 1031 [1015] = Storage.HiddenTreasures.UndeadTower } function onUse(player, item, fromPosition, target, toPosition, isHotkey) local reward = rewards[item.uid]...
  2. Z

    Lua What am I doing wrong?

    Hi, You can configure your onStepOut function with a actionid, and set this actionid to all tiles that you want to run your script. This in movements.xml <movevent event="StepOut" actionid="5000" script="myScript.lua" />
  3. Z

    Lua What am I doing wrong?

    Isn't realy necessary loop the table, just copy the monsters value to creature_pool or just refear to monsters itself. local creatures_pool = AMBUSH_TABLE[uniqueid].monsters or for k = 1, #AMBUSH_TABLE[uniqueid].monsters do local radius = 2...
  4. Z

    Random Chest how to put StorageValue

    Try this: Remember to change the storage number and variable name xD local rewards = { { item = 9019, count = 1 }, { item = 5809, count = 1 }, { item = 8982, count = 1 } } local YOUR_STORAGE_NUMBER = 5000 function onUse(player, item, fromPosition, itemEx, toPosition, isHotkey) if...
  5. Z

    [OTClient Mod] Tool Monstermaker

    Thanks for the reply! I will use opcodes, i've worked with them sometime ago, isn't a problem. I will look deeper in you XML parser, never did something like that, im sure i will learn a lot! Thanks!
  6. Z

    [OTClient Mod] Tool Monstermaker

    Hello, Firstly i have to thank you for this Module, i learned a lot with it! The UI interation and .otui functions, it is really nice, thanks for share! Secondly, i was wondering if you recommend the code that you use to load monsters. Im doing a Bestiary and have to use the monsters data. But...
  7. Z

    OTC treeview or similar

    Do you know a way to accomplish that? ListText and/or VerticalList have a way to add a element and a children of the element? Where i have to look for the functions that i can use in the components?
  8. Z

    OTC treeview or similar

    Hello, Im developing a module to the OTC, and i need a treeView component. Something like: OTC have a component like this? I tryed puting a TextList inside another, but don't worked. for k, v in pairs(groups) do --Get groups local tmpGroup = g_ui.createWidget('GroupListWidget', groupsList)...
  9. Z

    TFS 1.X+ From number to number

    [Jhon] is reference for a variable Jhon. You have to use Quotes to "Jhon" be a string. You can do: local myTable = { ["Jhon"] = {start = 1, end = 10}, ["Marie"] = {start = 11, end = 20}, ["Hanna"] = {start = 21, end = 30}, } function returnMyName(player) local myStorageValue =...
  10. Z

    [TFS 1.3] Item Abilities via Lua V2

    Amazing work! Thanks for the contribution. Im big fan of your work!
  11. Z

    Guild for tp

    mod name="compelled-alliance" YOU ARE THE BEST WE HAVE! 😂
  12. Z

    TFS 1.X+ TFS 1.3 Reset character hp, mana and level to 8

    You are looking for THIS. Will change Level, Hp and Mana. If you need reset skills and/or Cap(i guess) too, just use the querys that @Evil Puncker sended above.
  13. Z

    TFS 1.X+ Teleport Scroll adding level restriction

    TFS 1.3 is passing player userData as first variable in onUse, check here. So the cid variable isn't the creatureId. Isn't needed the line 2, just rename the first variable and will work(im not saying your code isn't working), and checking if the userData is a Player isn't needed too, because...
  14. Z

    [TFS 1.3] Battle Royale

    Looks nice. I Will look deeper later, thanks for the release 👍
  15. Z

    Monster spawn when player is near

    and to remove the monster from room before teleport the player, then create a boss. Don't use spawns to instances...
  16. Z

    TFS 1.X+ Need to put table = nil, for optimize or not?

    Hi, I guess in this case don't need, because its a local variable and will "disappear" when the code reach the return.
  17. Z

    Lua Function [TFS 1.3] Item abilities via Lua

    What is the possibility to what you said in this message happens? Missing the coding streams... 😅
  18. Z

    OpenTibia "Pure" latest items.otb

    Really admirable! The guy who want to do what nobody else want! Come on guys, the .otbm should be solved soon as possible!
  19. Z

    Feature Spoof system

    Unfairly? I think not a single one...
  20. Z

    C++ [TFS 1.3] Open Market instead of InGame Store button

    Maybe If you find the function that is called when press the Button and change to the function that open the market should work, using a hex editor. I don't know how to do and If can be done, just a guess...
Back
Top