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

Search results

  1. E

    Lua upgrade system (return nill)

    I think you should use item variable instead of itemEx. item is a source item (stone) itemEx is a target item (shield) longer answer: you have added action script to the stone (id 36038). When you use the stone on some item (here the shield) then the script upgrading.lua is executed. In the...
  2. E

    TFS 0.X Crash Log

    Nope. Changes I made were related to verifying whether the analyzed segment is a number or not and then it sets attribute to an item. Nothing else.
  3. E

    TFS 0.X Crash Log

    So it looks like the main problem with crashes is solved. Now you have to debug why the market does not work. It's a different case. I don't know this market system so I suggest you to debug it on your own or create another topic.
  4. E

    TFS 0.X Crash Log

    Do you have any warnings in the console? It should print details if there will be an improper amount of parts splitter by #.
  5. E

    TFS 0.X Crash Log

    Try this: better logging - Pastebin.com (https://pastebin.com/PqbGne0y) I fixed logging for stringstream (it has to be casted to string by str() method). I also added better logging to find out which part of code is failing. 1610674228 Also, are you sure that it works? I mean the whole market...
  6. E

    TFS 0.X Crash Log

    Seems like you didn't change all occurences. here's the one from error (3641). #2 ProtocolGame::sendMarketBrowseOwnOffers (this=<optimized out>, buyOffers=..., sellOffers=...) at protocolgame.cpp:3641 I did update the rest occurrences of above code, try this: https://pastebin.com/2j6wEGjt...
  7. E

    TFS 0.X Crash Log

    Provide updated protocolgame.cpp file. Or at least ProtocolGame::sendMarketBrowseOwnOffers function.
  8. E

    TFS 0.X Crash Log

    Use following instead: if(seglist2.size() != 2){ std::cout << "Error: seglist2 contains improper amount of segments (" << test2 << ")." << std::endl; continue; } else if(isNumbers(seglist2[1])){ item->setAttribute(seglist2[0], atoi(seglist2[1].c_str())); } else {...
  9. E

    TFS 0.X Crash Log

    seglist2 = std::vector of length 1, capacity 1 = {"mo"} looks like seglist2 contains only 1 element, so you are not able to access seglist2[1] -> segfault. The error is in another part of code this time. before: protocolgame.cpp:3621 now: protocolgame.cpp:3642 Ensure that seglist2 contains 2...
  10. E

    TFS 0.X Crash Log

    Ok, paste new stack trace. Another error should be raised. And post updated code.
  11. E

    TFS 0.X Crash Log

    Which line this time? Paste stack trace. I saw that you have a similar part of code multiple times.
  12. E

    TFS 0.X Crash Log

    If you use tfs 0.3.6 then probably in tools.cpp you have function like isNumbers which returns true if string contains only digits. Following code should help. if(isNumbers(seglist2[1])){ item->setAttribute(seglist2[0], atoi(seglist2[1].c_str())); If tools.h is not included then add the...
  13. E

    TFS 0.X Crash Log

    What is this line exactly? protocolgame.cpp:3621 I can see that you have some executions of atoi in your function. First of all, ensure that every part of this function works properly (retrieves the values you need etc). You can try to change frame in gdb and print local variables to check the...
  14. E

    TFS 0.X Crash Log

    Paste whole stack trace along with raised error, not just selected frame. (or at least raised error details and top frames) Tell us from which line of your pastes is the one that raised an error.
  15. E

    Attention to the thief - actually discord is ChinOt#3983

    I don't understand what's wrong with you guys. That's a completely ordinary thing. Always when I pass by the train station someone hits me up and asks for some tibia coins to buy food (I know they'll buy some beer instead). Regardless of how strange these explanations sound, thanks for your...
  16. E

    Horizontal wall problem

    It actually depends on your creativity. 1. You can set some action id on the floor inside the room and if player stands on such floor then teleport him outside on door use. Otherwise teleport him inside. 2. You can set some storage value to the player and teleport him outside based on that. You...
  17. E

    TFS 1.2 Crash Database task crash

    I wrote you that you should in the first place try to upgrade database. Noone has a crystal ball to see what os you have and what is your current situation. What I can suggest to you, is to make a backup of your current database. You can do it by copying MySQL data directory (usually...
  18. E

    TFS 1.2 Crash Database task crash

    It has been already discussed in another thread. Try to update mariadb. 1609955979 https://otland.net/threads/tfs-1-3-strange-error-in-console-database.269342/ https://otland.net/threads/server-crashing-randomly-when-a-player-dies.272288/
  19. E

    Complaint Thread deletion

    I am so into the reason for the deletion request. If you think such a tutorial would make any real competition in the OTS world (or to your RA server) then you are wrong. It's a similar situation to reading programming tutorials or any good practices list - it won't make you a good programmer...
  20. E

    OTClient 1.0

    Mehah pointed it out that he had some free time (ca 2 months) and after this time probably he won't contribute to the project. "Recently" he added one more feature (highlight) on a users' request on 26th September (after 3 weeks since the previous commit) and unfortunately, that's all :(.
Back
Top