PT encryption Protocol

Results 1 to 9 of 9
  1. #1
    Programmer gzuz is offline
    True MemberRank
    Aug 2006 Join Date
    439Posts

    PT encryption Protocol

    Can anyone provide the encryption method used on the PT packets?

    I am looking specifically for information on how to decrypt the package back to "english".

    The source coude released here for a server is massively inefficient. Id like to write my own, but i need to know the packet structure.


    Thanks,
    Gzuz


  2. #2
    Hardcore Member drz is offline
    MemberRank
    Jun 2013 Join Date
    142Posts

    Re: PT encryption Protocol

    0x4847xxxx Packages will decode at smwsock::decodePacket(...)
    https://gitlab.com/drzi/PTClassic/bl...sock.cpp#L2677

    0x5232xxxx will encode/decode in precompiled functions they are present as asm-code in the source
    https://gitlab.com/drzi/PTClassic/bl...sock.cpp#L2826

    I think it will be hard to write complete own server without very much experience about that stuff.
    The Last Tale is in open beta now. check www.thelasttale.net

  3. #3
    Programmer gzuz is offline
    True MemberRank
    Aug 2006 Join Date
    439Posts

    Re: PT encryption Protocol

    Quote Originally Posted by drz View Post
    0x4847xxxx Packages will decode at smwsock::decodePacket(...)
    https://gitlab.com/drzi/PTClassic/bl...sock.cpp#L2677

    0x5232xxxx will encode/decode in precompiled functions they are present as asm-code in the source
    https://gitlab.com/drzi/PTClassic/bl...sock.cpp#L2826

    I think it will be hard to write complete own server without very much experience about that stuff.
    Thanks for segments!

    I think i will be fine, I code TCP/IP Servers that read/write to DB for a living....

    - - - Updated - - -

    ps. i suggest you modify your php code. Put your file_get_contents within a try statement.

    Warning: file_get_contents(C:\Work\\DataServer\userinfo\**\******.dat): failed to open stream: No such file or directory in C:\xampp\htdocs\manager\characterlist.php on line 10
    Last edited by gzuz; 28-05-18 at 10:20 PM.

  4. #4
    Fuck. SheenBR is offline
    ModeratorRank
    Feb 2008 Join Date
    Jaú, BrazilLocation
    2,422Posts

    Re: PT encryption Protocol

    Well, you should report any server related errors in our forum. thelasttale.net/board

  5. #5
    Programmer gzuz is offline
    True MemberRank
    Aug 2006 Join Date
    439Posts

    Re: PT encryption Protocol

    Quote Originally Posted by SheenBR View Post
    Well, you should report any server related errors in our forum. thelasttale.net/board
    Im not a player. I just checked out your server to see what you had going on.

  6. #6
    Hardcore Member drz is offline
    MemberRank
    Jun 2013 Join Date
    142Posts

    Re: PT encryption Protocol

    Sheen will fix that error. Thanks for reporting.
    The Last Tale is in open beta now. check www.thelasttale.net

  7. #7
    Fuck. SheenBR is offline
    ModeratorRank
    Feb 2008 Join Date
    Jaú, BrazilLocation
    2,422Posts

    Re: PT encryption Protocol

    Can you send me your ID in private message? You are the only one who reported this. But I think I know what is going on hehe.

  8. #8
    Programmer gzuz is offline
    True MemberRank
    Aug 2006 Join Date
    439Posts

    Re: PT encryption Protocol

    Quote Originally Posted by SheenBR View Post
    Can you send me your ID in private message? You are the only one who reported this. But I think I know what is going on hehe.
    Hi Sheen,

    The error only happens when you have no characters in your account, however this is an issue as it show the exact location on disk of your server files.

    Thanks,
    Gzuz

  9. #9
    KilroyPT Head + Dev Phatkone is offline
    True MemberRank
    Aug 2007 Join Date
    SydneyLocation
    776Posts

    Re: PT encryption Protocol

    ini_set('display_errors',0);



Advertisement