Welcome to the RaGEZONE - MMORPG development forums.

CASE Packet Logger/Debugger (C++/Qt)

This is a discussion on CASE Packet Logger/Debugger (C++/Qt) within the Habbo Releases forums, part of the Habbo Hotel category; CASE Cross-protocol Adaptive Scripting Environment Some of you may remember NexusServer , a server project Ktae and I worked on ...

LyncusMU
Page 1 of 2 12 LastLast
Results 1 to 15 of 25
  1. #1
    RaGEZONER
    Rank
    Newbie
    Join Date
    May 2011
    Location
    Canadia Land
    Posts
    91
    Liked
    62

    CASE Packet Logger/Debugger (C++/Qt)

    Tabo Hotel
    CASE

    Cross-protocol Adaptive Scripting Environment

    Some of you may remember NexusServer, a server project Ktae and I worked on in Juneish. This project was created to help debug that project, and also to help find the proper implementation of packets.

    Thanks to Ktae the website and SVN server should be back up, so I've restarted development on NexusServer (scrapped the old core, it was messy) but in the meantime I figured I would release this.

    CASE was designed to be as adaptive as possible, it's designed to work with multiple versions of the retail client and protocol, aswell as multiple common CMSs and private server implementations. It's really helpful when you can get a look at what your server is saying to the client and vise versa directly, if you ever want to develop a server I'd highly recommend using something similar to this.

    Some features:
    Code:
    -C++ (Qt)
    -Embeds webkit for flash or shockwave
    -Embeds webkit for packet log, so it can be colored
    -Supports multiple protocols, on both retail and private
    -Does some simple decoding/encoding with the latest protocol
       so it's easier to understand
    -Mutable login system, should work for a long time across pretty much everything
       (Atleast thats what I'd like it to do :P)
    Heres a screenshot of it shortly after the new retail protocol update:

    (The highlighting is a lot nicer with the old protocol)

    Not sure if everything still works, but it should be usefull.

    Oh also, there are quite a few things left unimplemented (like the first pane) but everything important is there. It's just a basic packet logger, but adaptable to multiple protocols/game versions.

    Links The DNS is being a bit weird with the new IP change, so the SVN may not work for everyone.
    SVN Trunk (source):case - Revision 44: /trunk
    SVN Browser:SVN Browser ~ Nexus Tools
    Compiled (windows):Filebeam - Beam up that File Scottie! (updated with SSL fix)
    Compiled (windows):http://www.nexustools.net/CASE.zip (alternate)
    EDIT: Oh forgot to mention, if you actually plan on using this, you'll need to add 127.0.0.1 case.habbo.com to your hosts file.

    I've tried this on both Linux (ubuntu) and Mac, and it works with the flash client variants just fine, but you'll have to compile it yourself.

    Feel free to use the source as you see fit.
    Last edited by Aerospark; 30-12-11 at 07:47 PM. Reason: Cleaned things up

  2. HostKey.com: Unmetered Dedicated servers in the Netherlands
  3. #2
    /title
    Rank
    Member +
    Join Date
    Mar 2011
    Posts
    1,034
    Liked
    146

    Re: CASE Packet Logger/Debugger (C++/Qt)

    Great release. I'll be using it soon enough, thanks.

  4. #3
    Newbie
    Rank
    Newbie
    Join Date
    Apr 2011
    Posts
    5
    Liked
    0

    Re: CASE Packet Logger/Debugger (C++/Qt)

    Error creating SSL context () ?

  5. #4
    megaman
    Rank
    Member +
    Join Date
    May 2011
    Location
    London
    Posts
    997
    Liked
    198

    Re: CASE Packet Logger/Debugger (C++/Qt)

    Quote Originally Posted by Property View Post
    Error creating SSL context () ?
    Logging in may have been patched :P
    @OP
    Does this support the latest crypto? I found some encoding functions which didn't look like the old VL64 and B64 stuff.

  6. #5
    RaGEZONER
    Rank
    Newbie
    Join Date
    May 2011
    Location
    Canadia Land
    Posts
    91
    Liked
    62

    Re: CASE Packet Logger/Debugger (C++/Qt)

    Quote Originally Posted by Caustik View Post
    Logging in may have been patched :P
    @OP
    Does this support the latest crypto? I found some encoding functions which didn't look like the old VL64 and B64 stuff.
    There is some support for the new encoding, but it's fairly basic.


    Quote Originally Posted by Property View Post
    Error creating SSL context () ?
    I haven't seen that before actually :o. I tried this again with habbo.com just before I posted it here and it worked fine for me still. Sounds to me like trouble with the actual SSL processor, like as if it doesn't have access to the SSL apis. Very odd...



    EDIT: Oh forgot to mention, if you actually plan on using this, you'll need to add 127.0.0.1 case.habbo.com to your hosts file.
    Last edited by Aerospark; 30-12-11 at 03:56 PM.

  7. #6
    megaman
    Rank
    Member +
    Join Date
    May 2011
    Location
    London
    Posts
    997
    Liked
    198

    Re: CASE Packet Logger/Debugger (C++/Qt)

    <silly me>
    Are we missing a Qt DLL?
    Last edited by Caustik; 30-12-11 at 04:08 PM.

  8. #7
    RaGEZONER
    Rank
    Newbie
    Join Date
    May 2011
    Location
    Canadia Land
    Posts
    91
    Liked
    62

    Re: CASE Packet Logger/Debugger (C++/Qt)

    Quote Originally Posted by Caustik View Post
    Are we missing a Qt DLL?
    Oh, looks like it's missing something, but if it was a DLL I don't think it would get that far. I'll look into this, it looks to be common. Could be missing the SSL dll but I don't see why it would launch if it did.


    EDIT: After some research, it seems it's a missing an SSL dll that Qt loads, I've uploaded a package of what I would hope is the missing DLLs, and im updating the compiled archive now.
    Last edited by Aerospark; 30-12-11 at 04:29 PM.

  9. #8
    Newbie
    Rank
    Newbie
    Join Date
    Apr 2011
    Posts
    5
    Liked
    0

    Re: CASE Packet Logger/Debugger (C++/Qt)

    Quote Originally Posted by Aerospark View Post
    Oh, looks like it's missing something, but if it was a DLL I don't think it would get that far. I'll look into this, it looks to be common. Could be missing the SSL dll but I don't see why it would launch if it did.


    EDIT: After some research, it seems it's a missing an SSL dll that Qt loads, I've uploaded a package of what I would hope is the missing DLLs, and im updating the compiled archive now.
    Unable to detect CMS.. its says now.

  10. #9
    RaGEZONER
    Rank
    Newbie
    Join Date
    May 2011
    Location
    Canadia Land
    Posts
    91
    Liked
    62

    Re: CASE Packet Logger/Debugger (C++/Qt)

    Quote Originally Posted by Property View Post
    Unable to detect CMS.. its says now.
    I only implemented a few of the more common CMSs, It's fairly easy to implement new ones though (not that I plan to, it still does what I need it to.) What CMS were you attempting to use it with? There is a legacy parser, so if it cant figure out what CMS to use it may fallback to it, but that doesn't always work.

  11. #10
    megaman
    Rank
    Member +
    Join Date
    May 2011
    Location
    London
    Posts
    997
    Liked
    198

    Re: CASE Packet Logger/Debugger (C++/Qt)

    The SSL DLL fixed the problem ^^
    However, when I log in through the login panel, the client loads, and then after a minute or so, it throws an error.

    Then:

  12. #11
    RaGEZONER
    Rank
    Newbie
    Join Date
    May 2011
    Location
    Canadia Land
    Posts
    91
    Liked
    62

    Re: CASE Packet Logger/Debugger (C++/Qt)

    Quote Originally Posted by Caustik View Post
    The SSL DLL fixed the problem ^^
    However, when I log in through the login panel, the client loads, and then after a minute or so, it throws an error.

    Then:
    Odd, Looks like what happens if you dont have 127.0.0.1 case.habbo.com in your hosts file. (C:\windows\system32\drivers\etc\hosts for windows)

    Also logging in now and looking at the packet log, they have either changed something or one of the methods is off, because the headers don't seem to be correct :/ The server->client packets are still readable though. (not hard)

    I wasn't expecting there to be this many issues lol, oh well.

    On a side note: I've just got a few stupid issues fixed in NexusServer2 so I can finally start implementing.

  13. #12
    Newbie
    Rank
    Newbie
    Join Date
    Apr 2011
    Posts
    5
    Liked
    0

    Re: CASE Packet Logger/Debugger (C++/Qt)

    Quote Originally Posted by Aerospark View Post
    Odd, Looks like what happens if you dont have 127.0.0.1 case.habbo.com in your hosts file. (C:\windows\system32\drivers\etc\hosts for windows)

    Also logging in now and looking at the packet log, they have either changed something or one of the methods is off, because the headers don't seem to be correct :/ The server->client packets are still readable though. (not hard)

    I wasn't expecting there to be this many issues lol, oh well.

    On a side note: I've just got a few stupid issues fixed in NexusServer2 so I can finally start implementing.
    i just want to use it for habbo NL and i says unable to detect CMS.

  14. #13
    Account Upgraded | Title Enabled!
    Rank
    Member +
    Join Date
    Jul 2011
    Location
    Everywhere i go
    Posts
    206
    Liked
    32

    Re: CASE Packet Logger/Debugger (C++/Qt)

    log in with your email ;)

  15. #14
    RaGEZONER
    Rank
    Newbie
    Join Date
    May 2011
    Location
    Canadia Land
    Posts
    91
    Liked
    62

    Re: CASE Packet Logger/Debugger (C++/Qt)

    Quote Originally Posted by Property View Post
    i just want to use it for habbo NL and i says unable to detect CMS.
    You have the server type dropdown box set to retail right? Habbo .NL seems to work for me, and it shouldn't output anything about a CMS unless you have the server type set to private.


    The SVN and website server is being upgraded right now, so it may be a bit unstable.

  16. #15
    Newbie
    Rank
    Newbie
    Join Date
    Apr 2011
    Posts
    5
    Liked
    0

    Re: CASE Packet Logger/Debugger (C++/Qt)

    Quote Originally Posted by Aerospark View Post
    You have the server type dropdown box set to retail right? Habbo .NL seems to work for me, and it shouldn't output anything about a CMS unless you have the server type set to private.


    The SVN and website server is being upgraded right now, so it may be a bit unstable.
    your right, i setted it on private, lmao

 

 
Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •