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

    TFS 1.X+ SetMovementBlocked Infinite Loop Bug

    Unless something wrong happens while executing that delayed event, it should work fine. But you said it was mixing stuns with changing floors that triggered the bug so setMovementBlocked is probably being used somewhere else. But then you also mentioned that clicking on the map fixes the issue...
  2. fusion32

    C++ exhuset manarune hootkey

    So, you mentioned TFS 1.2 and I confirmed that os.mtime uses OTSYS_TIME underneath which wouldn't explain this behaviour. Then you said it worked fine on Windows which makes me think whether it could be a problem with OTSYS_TIME, but it uses std::chrono::system_time and it should have sub...
  3. fusion32

    C++ exhuset manarune hootkey

    It depends on how getExhaustion and setExhaustion work. I'm assuming they set storage values with the expire time or something, but if they're using os.time then the granularity is seconds which is too coarse. Here is the timeline for best and worst case scenarios then: -- BEST CASE SCENARIO...
  4. fusion32

    TFS 1.X+ SetMovementBlocked Infinite Loop Bug

    I can see multiple scripts using setMovementBlocked and interfering with one another, but if every setMovementBlocked(true) is matched with a setMovementBlocked(false), the only side-effect you should notice is a shorter movement block. You mentioned stuns but looking at the TFS repo I didn't...
  5. fusion32

    Tibia 7.7 Server Decompiled

    You would have to make sure WSL is installed (Debian or Ubuntu would be the simplest) and run each application on its own WSL shell. It could probably listen to external connections if you have a public IPv4 but I haven't tested, and I don't think it would be a good solution overall for hosting...
  6. fusion32

    Solved database connection issue

    This looks like a problem with the authentication plugin. Here is the reference to the MariaDB docs to the specific plugin Authentication Plugin - SHA-256, and to an overview of authentication plugins Pluggable Authentication Overview. Running the query below with the appropriate user_name and...
  7. fusion32

    AAC Newly created players have -120 mana on database AND do not save

    Yes but, but you must have changed $config['player']['create']['level'] to 1 recently. Looking at your failed queries, it shows vocation = 1. The default value for $config['vocations_gain'][1]['mp'] is 30 (on my copy at least). If you manually compute the mana, you'll have: FINALMANA = BASEMANA...
  8. fusion32

    AAC Newly created players have -120 mana on database AND do not save

    So you said you're using ZnoteAAC. I was taking a look how it inserts player data and found this: $cnf = fullConfig(); $vocation = (int)$character_data['vocation']; $playercnf = $cnf['player']; $base = $playercnf['base']; $create = $playercnf['create']; $skills =...
  9. fusion32

    INET6_ATON

    Try this patch. For whatever reason it's adding single quotes, but escapeString already does that.
  10. fusion32

    Tibia 7.7 Server Decompiled

    My early tests were done on Windows 10 with WSL (Windows Subsystem for Linux). I'm not aware if it works on Windows 11 but it should be simple to get up and running if you have virtualization enabled on your BIOS. You don't really need to setup any services for testing locally... Just build each...
  11. fusion32

    Tibia 7.7 Server Decompiled

    I think this is due to how the game server binds the listening socket. At startup it will request the listening address to the query manager (with the LoadWorldConfig query). If for example it is the loopback address (127.0.0.1), it'll bind to the loopback interface which only accepts local...
  12. fusion32

    Tibia 7.7 Server Decompiled

    I might be able to patch some map editor to load/save these types of files but it would have to be later this year. It's also not as straightforward because map data is persistent, and any changes to the original map (ORIGMAP) are not automatically transfered. It would need to collect deltas and...
  13. fusion32

    Tibia 7.7 Server Decompiled

    @elao @iNux I'm not entirely sure how docker manages networking. The thing is, traffic with the query manager is NOT encrypted at all, so I chose to make it bind to the loopback interface, meaning it will only accept local connections (see src/connection.cc:56). I'd suppose there is some...
  14. fusion32

    Tibia 7.7 Server Decompiled

    A couple months ago, I set out to decompile the leaked 7.7 server binary. One of the reasons being to have an insight into the original design of Tibia, but with the plus of tripping all the folks gate-keeping it. Now, this is not a replacement for regular OpenTibia servers. The leak itself...
  15. fusion32

    [SOLVED] OTClient Lua Exception: attempt to index local 'spell' (a nil value)

    The client is probably not handling message 164 correctly which is the spell cooldown message. It is either reading more or less bytes than it should causing other messages in the same packet to be discarded (after getting an unhandled opcode error). The message to remove the creature and create...
  16. fusion32

    TFS 1.X+ [SOLVED] Connecting to game server hangs

    If you cloned it from master I suppose the server is supports version 12.80 as seen in the screenshot below. If that's the case, protocol 10.98 and 12.80 are not compatible and the client hangs while waiting for information that will never come because some message ids are different, messages...
  17. fusion32

    canary server problem client 12

    With client 12, cipsoft made the login server be some sort of web service. This means so you'll need to setup an HTTP/HTTPS server and make the client use the appropriate address when doing login requests. I think there are some PHP scripts around the forums named login.php.
  18. fusion32

    Change damage numbers to text (example 10000 to 10k) [TFS 1.4]

    In earlier client versions the server would send damage numbers as floating/animated text to the client so changing "10000" to "10k" would be a small change. In the current version it seems that damage numbers are sent as extra data in ProtocolGame::sendTextMessage so it's no longer trivial to...
  19. fusion32

    C++ Convert RSA System from old to new

    See if you get the same problem with the default OT RSA key. It may be that the OTClient isn't setting the key properly? Also, it is always a good idea to generate your keys locally. Here are some commands if you have OpenSSL: # Generate RSA1024 key pair openssl genpkey -algorithm RSA -pkeyopt...
  20. fusion32

    Job with source TFS 1.2 (8.0) only 1 function instant fix [RUNE ATTRIBUTE] - reward 80$!

    Your problem is probably in NetworkMessage::addItem in "networkmessage.cpp". I don't remember if runes even had charges back then but you may be able to fix this updating you "items.otb" and making runes not have the "stackable" attribute. EDIT: I guess this was old... fuck me.
Back
Top