• 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. Zoe Skandinavia

    Object Builder 10.99

    How did you updated it? Just adding the respective version in versions.xml? Because I wanted to add Tibia version 10 and when I open the files in program appears this: The signatures are corrects, so I don't know what could be the problem.
  2. Zoe Skandinavia

    Where can I modify small messages UI?

    I have an idea but I need to modify the position of small messages that appears on the bottom, right above the chat window, but I can't find it. Somebody knows? Thanks.
  3. Zoe Skandinavia

    Is there a way to send extended opcodes from client to server?

    Awesome! Thank you so much :)
  4. Zoe Skandinavia

    Is there a way to send extended opcodes from client to server?

    I want to send extended opcodes from otclient to server, for example, I click on a client button and I want the server to know that I clicked on that button to perform an action in server. Any idea? Thanks.
  5. Zoe Skandinavia

    [C++] - New Extended Opcode problem

    Module works fine and can be loaded manually at modulemanager but the problem was it doesn't load automatically, but using autoload: true in .otmod file fixes it.
  6. Zoe Skandinavia

    [C++] - New Extended Opcode problem

    Got it. I just followed the tip that someone told you in that post. Just added at the end of .otmod file: autoload: true autoload-priority: 1001 And it works fine.
  7. Zoe Skandinavia

    [C++] - New Extended Opcode problem

    Great! Those parameters is what I needed. Thank you! By the way, do you know why custom modules doesn't load automatically when client opens?
  8. Zoe Skandinavia

    [C++] - New Extended Opcode problem

    But with this, how can I get buffer in otclient? I mean, in talkaction script from server I put this: player:sendExtendedOpcode(80, "Example Text") And in otclient I want to get that text instead of call a function. For example: local msg = ProtocolGame.getOpcode(80) print("message: "..msg) And...
  9. Zoe Skandinavia

    [C++] - New Extended Opcode problem

    Sure. This is what I used in server (TFS 1.3 for 10.99): protocolgamebase.cpp void ProtocolGameBase::sendOpcodeInfo() { NetworkMessage msg; msg.addByte(0xFF); msg.add<uint16_t>(player->getOpcodeInfo()); } luascript.cpp (of course registered before as a method to be used in lua...
  10. Zoe Skandinavia

    [C++] - New Extended Opcode problem

    This days I've been seeing this topic and I added a new function in server sources to send a new opcode to otclient. Everything is fine, I added the respective byte in server and received it in otclient but when I'm going to get the value in an otclient mod that it's sent from the server, always...
  11. Zoe Skandinavia

    [Tutorial] Adding more tiles to game window - Updated 7/6/2018

    I'm using latest otclient version from github and none of those functions are in my protocolgame.cpp, not even the NETWORKMESSAGE_MAXSIZE in const.h Any idea?
  12. Zoe Skandinavia

    Do something in client because of globalevent

    Nice! This is what I was looking for. Thanks!
  13. Zoe Skandinavia

    Do something in client because of globalevent

    I'm talking about custom modules, not FYI
  14. Zoe Skandinavia

    Do something in client because of globalevent

    I was wondering if there's a way to do something in client because of some action, globalevent, etc. For example, if a globalevent is executed, a custom window popup will show up (module). In other words, a way to get control of the client with server functions. Any idea? Thanks.
  15. Zoe Skandinavia

    Lua Function creature:moveTo(position)

    I just compiled with this function and when i open the executable it closes inmediatly. Any idea?
  16. Zoe Skandinavia

    C++ How to get data from Token field? - TFS 1.2

    Yes i have Authy working right now, but the server still crashing when i type a wrong Token :/ I followed the instructions that somebody wrote to fix the crash for windows, but it's not working. What do you mean with this?:
  17. Zoe Skandinavia

    C++ How to get data from Token field? - TFS 1.2

    Yes, i know it, but i created the token field in db because i want to do something else with it, but i want the client read the token typed in client and if it coincides, then be able to login, but i dont know why the server doesn't recognizes the token field. Anyway, i just did what you said...
  18. Zoe Skandinavia

    C++ How to get data from Token field? - TFS 1.2

    Yes, i saw it before but it didnt work :/ I tried something like this: std::string& token = sessionArgs[2]; //SEARCH TOKEN IN DB std::ostringstream query; query << "SELECT `token` FROM `accounts` WHERE `name` = '" + accountName + "'"; DBResult_ptr getToken =...
  19. Zoe Skandinavia

    C++ How to get data from Token field? - TFS 1.2

    Hi! I was wondering, how to get the data from Token field? I tried some things but nothing works. Any idea? Thanks.
  20. Zoe Skandinavia

    Lua How to set this text in the end?

    Try changing that for this: self:setItemName(((self:getItemName():gsub(" "..self.nameLv[self.item.level], "")) or self:getItemName().." "..self.nameLv[1]).." "..self.item.level > 0 and self.nameLv[self.item.level + 1])
Back
Top