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

    C++ Crash Bug

    Seems like it tried to create std::string from invalid data in getDescription method. I'd suggest to add some security checks there
  2. pasiak12

    [8.6 OTServ 0.6.4] Capacity doesn't update correctly on "conjureItem" spells.

    Hi I've looked into code and heres my thoughts: 1. Can you check if creating bread (into same stack) and fishing fish produces the same bug? They should do according to Lua code. 2. Can you check somehow if thats only visual bug? For example the available cap displayed in client can be just...
  3. pasiak12

    TFS 1.X+ [crash] Segmentation fault - Item::isRemoved

    in item.h bool isRemoved() const { return !parent || parent->isRemoved(); } to bool isRemoved() const { if (parent) return !parent || parent->isRemoved(); }
  4. pasiak12

    [8.6 OTServ 0.6.4] Capacity doesn't update correctly on "conjureItem" spells.

    Can you provide the sources and data for your server? Problem might lies in lua spell classes (conjure spell) or server sources (bug in addItem?)
  5. pasiak12

    C++ What controls the protocols?

    Its defined by cipsoft client, TFS is made to be able to work with it. Only you can do is adapt to it, or use open-source client (OTC) theyre sent via tcp sockets Seems like 0x14 is code for request to dc client. The value, data, data type is defined by cipsoft so as long we use their client...
  6. pasiak12

    C++ What controls the protocols?

    You can look into opcode managment >thats the big switch there, that calls the appropriate functions to received bytes from client. For certain command (opcode) and its data (for example> opcode 10 = talk to chat , data = message) the server might execute the action (or not if the player is...
  7. pasiak12

    C++ Scope of template

    you will be able to use that function in every file that includes that header/src where you defined it
  8. pasiak12

    The community recommendation thread.

    Did the job for @44 Hunter He paid me first (paypal) Job description: Lua npc system edits, tfs 1.2 thumbs up
  9. pasiak12

    TFS 1.X+ Problem with connecting to own ots

    try 7172 instead of 7272 ;D
  10. pasiak12

    TFS 1.X+ Problem when play dies MANA goes to zero and HEALTH increase

    I dont see anything wrong in this Lua. To display msgs you can use both cout or printf. Death function will execute every time some player die and the prints will show up in console. There you can track actual players mana value at variable mana and maxHP on var healthMax . You can set printf...
  11. pasiak12

    TFS 1.X+ Problem when play dies MANA goes to zero and HEALTH increase

    Seems like its original unmodified method. The problem might also lies somewhere in Lua functions that your server is running. Anyway some debugging would be best method to find the mistake. You can run debug mode and watch variables while dying or put prints there to know what values are...
  12. pasiak12

    TFS 1.X+ Problem when play dies MANA goes to zero and HEALTH increase

    It is uncommon behavior. We just aren't able to help you as long we don't know what and where you (or someone) made changes in source or added some custom lua script (or changed some already existing) You need to provide those info or give someone full access to your server files (not...
  13. pasiak12

    TFS 1.X+ Help with refactoring code

    first of all, add check if player still exist in movePlayer func. then If you want any help, please provide what you want to achive. Currently you have spell that checks players pos once and for constans computed positions force him to move (teleport) there no matter what will happend in next...
  14. pasiak12

    Simple Anti-Bot Client

    File correctness can be confirmed by check sums (SHA-1,MD5 etc). Anyway putting malwares that way sounds like some really advanced bad person want to hurt someones tiny project xd 1) yup they dont know - but they don't care how it works. They care about message output from server for certain...
  15. pasiak12

    Simple Anti-Bot Client

    1. That small change is good while your server is quite not big (lets say active players <100). The first result I see is just doing simple multiple scan to checkout how the protection systems works and then implement some auto-finder at the start of the client (Check all address in range as...
  16. pasiak12

    C++ Error: Unable to load spells.xml!

    Windows/Linux? Seems like path is incorrect. Keep in mind windows is using backslashes while other systems arent (forward slashes). Try to get manually to your spells.xml file and copy exactly path
  17. pasiak12

    Simple Anti-Bot Client

    Rotating addresses - Do you mean that some parameter you found (for example in cheat engine) is on another memory address every time you run the client yea? - Well if yes, then I need to disappoint you. Those params are just dynamically allocated (while program starts) and mid-experienced...
  18. pasiak12

    Simple Anti-Bot Client

    afaik otclient has just another bot list for it also 'cracker' can easy look into otclient source code - its significant help in bot creation (but on the other side - after all years tibia client has been detailed diagnosed) Still, as long as before your server become rly popular you need to...
  19. pasiak12

    Skill loss (exp only)

    If you are workin on tfs 1.x you need to do it in player.cpp death function you got skill loss part. The best solution would be execute some custom lua script there to be able to modify it in future from lua, but for fast fix you can just do some check for player eq item and do your stuff...
  20. pasiak12

    TFS 1.X+ How to make a server open to some characters?

    I have no idea on what tfs version you are working on, but if the methods cid:method() work for you I can assume you are on some 1.x As I said, the working solution for 1.2 player dc is local player = Player(cid) player:remove()
Back
Top