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

    OTClient Party Module

    Good day, gentlemen. How are you all doing? I am currently in the process of creating a module to load information about party members such as their name, level, health points, and mana points. However, I am facing some confusion as to how to approach this task. The module is intended to...
  2. Helliot1

    OTClient OTClient Party Members

    Hello, I'm developing a party module and I would like to know if there is any code in Otclient that allows you to get all the party members? I tried looking but didn't find anything. Is the only option sending the party members (name, level, health, mana) by ExtendedOpcode? Thanks.
  3. Helliot1

    OTClient Game Map Anchors

    Hey guys, I want to position a widget where is that red square, anchored inside the game map view. I already tested anchor in the gameMapPanel, but it positions it outside the game map view. Does anyone know how I could do this?
  4. Helliot1

    OTClient get information from function

    Hello guys! How are you? 1) I have a module that has a function to create a Widget, according to an array like this. -- vocation id [1] warrior = { None = { nome = "None", casting = "Instant", mana = 0, magic = 0}, WeakHealing = { nome = "Weak Healing", casting =...
  5. Helliot1

    OTClient Extended Opcode

    Hello guys, I'm trying to use extended opcode and I have some questions. I need to get the player vocation every time that I log in so I put this inside my "creaturescripts/login.lua". But how can I read the extended opcode in my OTC module? Because I have a spell module for each vocation and I...
  6. Helliot1

    Message Type

    If I want to create another type of message, how would I define the color of the message and if it will appear on the console or on the game window? OTX3 enum MessageClasses : uint8_t { MESSAGE_STATUS_CONSOLE_RED = 18, /*Red message in the console*/ MESSAGE_EVENT_ORANGE = 19, /*Orange...
  7. Helliot1

    Lua How to select a Widget?

    Hi guys, I have a doubt with "g_ui.createWidget".. I create a widget to show some spells (name, mana, magic level)... But when I select a spell, I want that fill a variable with their values (name, mana, magic level).. How I can do it? LUA warrior = { None = { nome = "None"...
  8. Helliot1

    Lua How shorten this Lua?

    Hello!! How I can shorten this lua function? function resetHotkeys() spellsF1:setImageSource() spellsF1:setText('F1') spellsF2:setImageSource() spellsF2:setText('F2') spellsF3:setImageSource() spellsF3:setText('F3') spellsF4:setImageSource() spellsF4:setText('F4')...
  9. Helliot1

    Bow Attack

    Hello, I wonder how I can put attack on a bow, like sword/axes/clubs... I tried this, but don't works... <item id="1541" article="a" name="bow"> <attribute key="attack" value="120" /> <attribute key="defense" value="0" /> <attribute key="weaponType" value="distance" />...
  10. Helliot1

    addAnimatedText Formula Error

    Hello, Trying to add an animated text when I use some potion, but it don't work. I'm using OTX3 8.6, and found this function on this website: otxserver-luascript if potion.mana then manaToAdd = math.random(potion.mana[1], potion.mana[2]) doPlayerAddMana(player, manaToAdd)...
  11. Helliot1

    Lua Paid Service

    Can someone who is experienced in Lua help me? I need help with a simple script in OTClient. And I will pay for it. Leave your Discord here, or send me a DM.
  12. Helliot1

    OTClient Mouse Right Button

    Hello guys, I'm trying to create a function to set a text when I press right mouse in a button but I don't have any successful, somebody can help me? I don't get any errors, and my function doesn't work This is my function: spellsF1 = nil spellsF1 = gameRootPanel:getChildById('spellsF1')...
  13. Helliot1

    attempt to index local 'item' (a nil value)

    Can someone explain to me what's going on and how can i fix it? I am editing my NPC module, removing some functions and adding others. And when I sell an item, I get this error. ERROR: protected lua call failed: LUA ERROR: /game_npctrade/npctrade.lua:219: attempt to index local 'item' (a nil...
  14. Helliot1

    Npc Lua Error

    Please close this thread
  15. Helliot1

    How to change loot description

    Need help to change my loot description.. I'm using otx3 8.60... I found this "ss << nameDescription << " dropped " << corpse->getContentDescription() << ".";" I want to change the content description... Currently its like "a swarm dropped 4 gold pieces, 2 egg." and I want to change for "A...
  16. Helliot1

    Lua Scrollbar

    I need put a scrollbar on these 2 tabbar (Skills and Talents), but I want that scrollbar appears on the main window (abilities). Somebody have any idea how I can do it ? I already tried put a scrollbar on abilities window, to control skills and talents window, but it don't works because they...
  17. Helliot1

    Fightmode Button

    Hello! In my actions module I create a fightmode button, but I need connect this button with the console Checkbox. How can I start this? Any idea ?
  18. Helliot1

    OTClient Panel with Scrollbar

    Hello guys, I have been trying for a few days to solve a mistake, but it is impossible for me. I need the help of you who understand this better than me!! This is my Panel and is not scrolling, I think it's because the scroll can't find the Panel. Somebody can help me fix this ...
  19. Helliot1

    Lua "attempt to index a nil value"

    Hello guys, I have been trying for a few days to solve a mistake, but it is impossible for me. I need the help of you who understand this better than me!! Where am i going wrong? I got this error on my OtClient: ERROR: lua function callback failed: LUA ERROR: /corelib/util.lua:56: attempt to...
  20. Helliot1

    OTClient Call other module

    I need call a other module in a function. I tried this, but don't work. How I can do this ? consoleToggleChat = modules.game_actions.consolePanel:getChildById('toggleChat')
Back
Top