• 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!

Search results

  1. darkmu

    C++ how to debug?

    How can I insert debug codes into the source to check what value is being passed? could i see through the tfs console? Example: int LuaScriptInterface::luaPlayerGetPreyUnlocked(lua_State* L) { Player* player = getUserdata<Player>(L, 1); uint16_t slot = getNumber<uint8_t>(L, 2); if...
  2. darkmu

    [BOSSES] Lever script

    but which server do you use and what version? Here it worked perfectly even the players use it.
  3. darkmu

    mount doll with store mounts

    I think I need to rest a little lol, thank you very much and sorry for my lack of attention.
  4. darkmu

    mount doll with store mounts

    I modified my mount doll to receive mounts from the store too, but I am in doubt of what I did wrong, because the mounts from the store I am not receiving. Action: local mounts = { [1] = {name = "Widow", ID = 1}, [2] = {name = "Racing Bird", ID = 2}, [3] = {name...
  5. darkmu

    Lua Special monster drop

    In fact, there will be an npc that the person or person would need to deposit a total amount, in addition to checking this amount, it would be global storage for the server and the monsters would pass a special item, they are not bosses but normal monsters, whoever kills ie , do more damage.
  6. darkmu

    Lua Special monster drop

    could someone give me a direction where to start?
  7. darkmu

    Lua Change the item's load

    Thank you very much, look what I had done, I didn't know you could set it with the addItem local item = player:addItem(mounts[choiceId].ID) item:setAttribute(ITEM_ATTRIBUTE_CHARGES,(1500))
  8. darkmu

    Lua Change the item's load

    Could someone help me with this solution? Currently when I pick up the item it comes with only one charge, I would like to change it in a way that comes 1500 loads or the load I define. Using OTG 1.3 Version Premium, 12.40 local mounts = { [1] = {name = "1500x Veteran Exercise Bow"...
  9. darkmu

    Monster Monster and Bosses 12.40

    Come make available some monsters from version 12.40 that I'm doing for my server, as this community has always helped me now and my turn to contribute something lol . Remembering that they are not perfectly equal to the global, but most loot is perfectly equal to the global according to...
  10. darkmu

    Lua Special monster drop

    Can I put a Game.setStorage () and set a condition in the monster's loot that will only drop that item while the server's storage is active? Could you give me an example? Bag You Desire "It can be obtained as a very rare Loot from Soul War Quest creatures and bosses if you have activated...
  11. darkmu

    Lua [Warning - Monsters::loadMonster] Non-unique loot item

    How do I fix these problems that are facing with some monsters / bosses? Use otg 1.3, version 12.40 Example Monster: https://pastebin.com/4CZGWWud 2020-08-04 20:33:23 - [Warning - Monsters::loadMonster] Non-unique loot item "collar of blue plasma". 2020-08-04 20:33:23 - [Warning -...
  12. darkmu

    Lua bug boss lever

    I will try thank you very much, since already thank you.
  13. darkmu

    Lua bug boss lever

    what's going on, you will give an example. On the lever, there are 5 people, if the first one to pull or correct is that the sqm cannot go, but this is not how it works, only one person who pulled it receives storage so that he cannot go, so .. if you never pull a lever you can go infinitely.
  14. darkmu

    Lua bug boss lever

    Can anyone tell me where is wrong in this script? Only one person who pulled the lever is left with storage and how else can he pull again, or the correct one is all the main ones for the boss who can no longer go, that is, wait or return again. otg 1.3, version 12.40 local config = {...
  15. darkmu

    Lua magic doesn't damage the element

    Thanks !! Nice !!
  16. darkmu

    Lua magic doesn't damage the element

    still doesn't work, what can I be doing wrong?
  17. darkmu

    Lua magic doesn't damage the element

    Someone help with my script, I'm trying to solve the problem. local config = { [12354] = { combat = 'COMBAT_ICEDAMAGE'}, [123456] = { combat = 'COMBAT_ENERGYDAMAGE'}, [2432] = { combat = 'COMBAT_EARTHDAMAGE'}, [54667] = { combat = 'COMBAT_FIREDAMAGE'}, } local combat = Combat()...
  18. darkmu

    Lua magic doesn't damage the element

    @Xikini U can help me? is there a possibility to get the weapon id I'm using? There is no way to define the type of combat for the element I want. local config = { [12354] = { combat = 'COMBAT_ICEDAMAGE'}, [123456] = { combat = 'COMBAT_ENERGYDAMAGE'}, [43545] = { combat =...
  19. darkmu

    Lua magic doesn't damage the element

    Only one damage, in both normal hitting and magic, only 1 in the server log.
  20. darkmu

    Lua magic doesn't damage the element

    Does anyone know how to fix the problem that when casting spells the element does not appear? Example Knight using exori or exori gran hits physics instead of hitting ice and physics. using: 12.40 cliente with otg 1.3 premmium version
Back
Top