• 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. Gesior.pl

    TFS 1.X+ SetMovementBlocked Infinite Loop Bug

    Sounds like client error. What client do you use? Tibia? OTCR? OTCv8? Try with official Tibia client. Problem is that on RL Tibia - at least on old protocols - there was no code to stop players movement, so client did not have to implement code for this. Only similar situation would be stairs...
  2. Gesior.pl

    TFS 1.X+ aoe attack weapon

    You can use onHealthChange event and check origin of damage, for weaponattack it will be ORIGIN_MELEE or ORIGIN_RANGED: https://github.com/otland/forgottenserver/blob/1.2/src/enums.h#L529-L530 IDK how it will work for wands, on newest TFS there is extra ORIGIN_WAND. Event has parameters...
  3. Gesior.pl

    TFS 1.X+ problem maintaining the character attacking

    I run TFS 1.4 (my 'compilation' branch GitHub - gesior/forgottenserver-gesior: A free and open-source MMORPG server emulator written in C++ (https://github.com/gesior/forgottenserver-gesior/tree/compilation) ) in Docker (WSL) on Windows a lot, but I never tested PvP. "ping" is part of Tibia...
  4. Gesior.pl

    TFS 1.X+ problem maintaining the character attacking

    10.98 or some downgrade to 8.60 etc.? There are just few reasons C++ of TFS 1.4 cancels player target: player or it's target gets into Protection Zone no ping for over 7 seconds, it cancels attack on player, if server thinks you lost connection (to block offline skill training between 2...
  5. Gesior.pl

    VPS/dedic benchmarks

    @check Added Raspberry Pi 4 and 5 to VPS results: https://docs.google.com/spreadsheets/d/1nIBAbZqWWj_PfjS7xWcr2G1USbix4rQSPt5TDXg5Euk/ You can compare Pi lines 39 and 40 with cheap VPSes in lines 34-36. Raspberry Pi 5 is comparable with slow OVH.com VPS (line 37), but you can get (randomly...
  6. Gesior.pl

    Downgraded 13.x assets to .dat/.spr format

    There are 15 new 'pickable' items since 15.10 and no new outfits. I will wait with OTS.ME pages (https://ots.me/) items/outfits update until Tibia winter update and some serious changes. 5 new items images in attachments (OTLand limit of attachments).
  7. Gesior.pl

    VPS/dedic benchmarks

    I have Raspberry Pi 3 B v1.2. I will try to run benchmarks on weekend. Some tests say that Pi 5 CPU is around 4 times faster than Pi 3 (single and multi core). Anyone has Pi 5 at home to test? There are multiple tests results available online, but they use custom parameters to sysbench and they...
  8. Gesior.pl

    Problem with item detection in module

    What code NPC uses to make client open upgrade window? Can you show that? How do you count items in OTC module? Is it extracted to some function? Can you show that?
  9. Gesior.pl

    Removing .otb – Only Using .dat

    There is a big difference between posting some AI answers to people questions in Support board (with notice that it's AI answer) or analyse AI answer, redact it and post... and 100% AI driven bot that spams forum with OTS related hallucinations. There will be more and more bots like that, so...
  10. Gesior.pl

    VPS/dedic benchmarks

    You can order server in Europe from USA account, but you can't order server in USA from account made on European OVH website - you can order VPS in Canada, but not USA. It's US tax related problem. It's stable, but you have to write pretty complicated software on your server to use Neep...
  11. Gesior.pl

    C++ death crashlog

    Hard to tell. Maybe it uses 2 connections, but if this error - for which you get message in console this time - appears, when other thread is processing query, it somehow destroys some "state" in MySQL library and crashes other query. There are a lot of bugs in TFS 'master', but database code...
  12. Gesior.pl

    Problem with item detection in module

    @poncex Chucky code processes single spell information request, so each time player clicks on spell in OTC panel, you have to send opcode to load given spell items info and then update/redraw OTC panel to show numbers received from server. It's a great optimization for system, where every...
  13. Gesior.pl

    C++ death crashlog

    This should work, if it's problem with inactive connection. If OTS restart is every 24h, I would set it to 25h. IDK what kind of line. Maybe some try { } catch, but IDK what exception to catch. Problem is that MySQL server closes TCP/socket connection for inactivity, but it does not notify OTS...
  14. Gesior.pl

    C++ death crashlog

    That may be true. It's lost, because TFS 1.x has 2 connections to MySQL/MariaDB. One used by 99% of code (synchronous - load players, save player etc.) and one used by some Lua scripts and some parts of Tibia Market (asynchronous). MySQL has a default timeout for inactive connections and drops...
  15. Gesior.pl

    Removing .otb – Only Using .dat

    As Oen said. Client hotkeys pass all variables empty (special values to tell server that it's hotkey, not item selected by player) except clientId of item from .dat. Only information used by server to find that item on server side is clientId translated to serverId, so there can't be 2 items...
  16. Gesior.pl

    Removing .otb – Only Using .dat

    Client IDs on server (like canary) or server IDs in client (like BTS)? You could update/recreate tool used in 8.0 times. items.otb has spriteHash attribute ( open-tibia-library/modules/constants/const.ts at master · gesior/open-tibia-library...
  17. Gesior.pl

    Question about OTCV8 Client (Modules removal)

    C++ definition WITH_ENCRYPTION is reversed in OTCv8. It means that client has code to 'encrypt' (run with --encrypt param), not only 'decrypt'. Client with flag WITH_ENCRYPTION is for admin of OTS, without is for players. My version of client with WITH_ENCRYPTION works with encrypted and not...
  18. Gesior.pl

    Removing .otb – Only Using .dat

    You should never see server ID in OTC module. Server already knows all SID-CID pairs and server side should use CID in communication with OTC. Only module I've seen with server ID in OTC script is "market for old Tibia protocols". Tibia.dat up to 9.4 had no information about market items (name...
  19. Gesior.pl

    [otcv8] how to send uid to client?

    It's opposite. You can 'use' any Item in OTC and it will send 'position' to OTS. That OTC 'position' Game.getInternalThing(player, position, index, clientId, type) on map/in BP can be used in OTS C++ Game::internalGetThing to get item that player sees in OTC. These are separate things. First...
  20. Gesior.pl

    [otcv8] how to send uid to client?

    Only items with UIDs defined in map editor (numbers up to 65535) have real UIDs (unique IDs). All Lua UIDs like 70001, 70002 are temporary UIDs in Lua. They may stay in Lua until server restart, but they may be also removed earlier. You cannot use 'UID' to implement some OTClient market with...
Back
Top