• 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 @OnClick function

    Try this: function showQuestlog() g_game.requestQuestLog() end To create another button: InventoryItem < Item $on: image-source: /images/ui/item-blessed HeadSlot < InventoryItem id: slot1 image-source: /images/game/slots/head &position: {x=65535, y=1, z=0} $on...
  2. Helliot1

    OTClient @OnClick function

    Its okay, so send me your inventory.OTUI Your questlog.otmod have sandbox: True?
  3. Helliot1

    OTClient @OnClick function

    Try it: function showQuestlog() window:show() g_game.requestQuestLog() end Its 'window' and not 'questLogwindow'
  4. Helliot1

    OTClient @OnClick function

    Sorry, I need your questlog.lua, not inventory.lua
  5. Helliot1

    OTClient @OnClick function

    Post here your game_questlog.otui and game_inventory.lua
  6. Helliot1

    OTClient @OnClick function

    You need go to your questlog.lua and add in your last line: function showQuestlog() questLogWindow:show() end In your inventory.otui onclick function: @onClick: modules.game_questlog.showQuestlog()
  7. Helliot1

    OTClient Party Module

    I don't have much knowledge. I was studying a bit more about it recently and managed to understand everything, but there's one thing that isn't working, the onManaChange function. It doesn't execute when my character uses any kind of magic, whether it's attack magic, healing magic, or support...
  8. Helliot1

    OTClient Party Module

    You helped me, now I have a direction of what to do. So in the 'Events' in TS, I create the function there, which sends the data of the party members via opcode, and I receive them on the client, right? I have a question, sending opcodes constantly, doesn't it make the server slow? Thank you...
  9. Helliot1

    OTClient Party Module

    I am struggling to understand how this can be achieved. Upon searching for "onHealthChange" within the Otclient's source code, I only came across it in the LocalPlayer.cpp file. This led me to believe that this function only retrieves the health of the local player. To obtain the health of other...
  10. 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...
  11. 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.
  12. Helliot1

    TalkAction !invite / !join party in-game command [TFS1.3+]

    Thank you M0ustafa, now it's working!!!
  13. Helliot1

    TalkAction !invite / !join party in-game command [TFS1.3+]

    The same error, I think it's because haven't any sentence to just "create a party". The party is just created when you invite someone, haven't any function for create it by yourself. I was trying to understand the server souces, but I don't have any knowledgment in c++.
  14. Helliot1

    TalkAction !invite / !join party in-game command [TFS1.3+]

    Thank you for your help Shalaby!! But, I got this error: attempt to call field 'createParty' (a nil value)
  15. Helliot1

    TalkAction !invite / !join party in-game command [TFS1.3+]

    This idea is so good!! Could you implement another code to create a Party? "!CreateParty" In the current situation, the party is only created with 2 people at least. The leader invites someone and creates the party. But I was thinking about the leader creating the party with just himself and...
  16. Helliot1

    OTClient how to add panel_content (otv8 tfs 1.5)

    First, you need to save your background file in /images/ui/YourImage Second, change only the "image-source": Panel id: infoPanel width: 185 height: 48 image-source: /images/ui/YourImage image-border: 3 padding: 5 anchors.top: parent.top anchors.left...
  17. Helliot1

    Button in skills window

    I didnt' tested it, but I think it's the best alternative. Button !text: tr('+') width: 20 height: 10 anchors.top: parent.top anchors.bottom: parent.bottom anchors.right: parent.right margin-right: 20 @onClick...
  18. Helliot1

    OTClient how to add panel_content (otv8 tfs 1.5)

    Post your module (.otui) here so I can help you
  19. Helliot1

    Button in skills window

    You can try it: SkillButton id: magiclevel SkillNameLabel !text: tr('Magic Level') SkillValueLabel SkillPercentPanel background-color: red AddButton anchors.top: parent.top anchors.bottom: parent.bottom anchors.right...
  20. Helliot1

    OTClient How to create a secondary window in Otclient?

    Its easy, you just need create a function to show your secondary window. In your .OTUI put it into the button: @onClick: modules.game_YourModule.YourFunction() and in your .LUA file create a function to show your window: YourWindow = nil funtion init() YourWindow =...
Back
Top