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

Recent content by Vagnerking

  1. Vagnerking

    Programmer [OTX 2] Freeze in 1 char when running more then 3 MCs

    I tested with both clients and the bug occurs in both: https://github.com/OTCv8/otclientv8 https://github.com/OTAcademy/otclientv8 I'm investigating at both the source and client levels; this silent disconnect is extremely annoying. We need to log where possible disconnects occur so that when...
  2. Vagnerking

    Voice Chat System (VOIP) – Free for the Community

    Testing with targeted audio xD
  3. Vagnerking

    [otcv8] how to send uid to client?

    This discussion is interesting xD I think we all agree that, in programming, there are several ways to achieve the same result, and yes, each solution has its pros and cons. I believe there isn't one exact answer, nor the most correct one. There are several ways to do it, so it's up to the...
  4. Vagnerking

    Voice Chat System (VOIP) – Free for the Community

    I also had this idea recently. My idea was to create a proximity-only voice server, where the main server would only serve as a signaling server (so as not to overload the system with many connections). Congratulations on releasing this to the community, it will help a lot! @Aizendazai
  5. Vagnerking

    [otcv8] how to send uid to client?

    That's great! I didn't know about this window:lock, thanks for the tip. That's true, I think the most suitable/safe solution is to store/create the item's UID (only if it's not a stackable item). Then, during the actual sale confirmation, we check if the player has the item with that UID or ID...
  6. Vagnerking

    [otcv8] how to send uid to client?

    The UID is important because while the player is in the market choosing their item to sell, they can change the position of the items in their backpack or slot.
  7. Vagnerking

    [otcv8] how to send uid to client?

    For anyone having the same problem retrieving the item by client position, here's the code I developed for that.It should work well in OTX 2 or TFS 0.4. This function calls an external function that adds a UID to the item if it doesn't already have one. The UID of the external function starts...
  8. Vagnerking

    [otcv8] how to send uid to client?

    Got it! My idea was to drag the item to a market module, and when I did so, I would send an opcode, where I would send the item's position, stackpos, and ID (information I already have), and the server would be able to get the exact item (uid) based on this pos, player, stackpos, ID...
  9. Vagnerking

    [otcv8] how to send uid to client?

    Perfect! Let me see if I understand. In OTCv8, I have functions in the item like this: item:getId() -- (spriteId, I think) item:getPosition() item:getStackPos() By sending an opcode to the server with the item's position, stack pos, and spriteId, I can simply call: Thing...
  10. Vagnerking

    [otcv8] how to send uid to client?

    I'm trying to create a market, and I need the item's uid to inform which exact item I'm selling (because it has different attributes) I'm using tfs 0.4
  11. Vagnerking

    Compilation Otcv8 - OpenAL32

    the packages were actually broken when trying to download lol Thank you very much, I was having a hard time installing vcpkg, you saved me ;)
  12. Vagnerking

    How to change offset for (EFFECT AND OUTFITS)

    Which otcv8 feature do I need to enable? I tried: GameDrawAuraOnTop GameAuraFrontAndBack GameBigAurasCenter .... and the floor is still above the aura =/ 1736883796 Problem solved with: g_game.enableFeature(GameMapDrawGroundFirst)
  13. Vagnerking

    OTClient ProtocolGame parse

    Do you have the features activated? modules/game_features/features.lua and paste in your client version: g_game.enableFeature(GameAdditionalSkills) g_game.enableFeature(GameLeechAmount)
  14. Vagnerking

    OTCv8 ping random

    I managed to solve it. I removed the GameExtendedClientPing function and added the standard ping function from tfs 1.4.
Back
Top