v26 Habbo Retro?

Page 10 of 10 FirstFirst ... 2345678910
Results 136 to 138 of 138
  1. #136
    Member TakeDown is offline
    MemberRank
    Feb 2010 Join Date
    the nederlandsLocation
    68Posts

    Re: v26 Habbo Retro?

    i still got a stable not messy emulator on my pc, if anyone wants i would upload the source?

  2. #137
    Account Upgraded | Title Enabled! flx5 is offline
    MemberRank
    Nov 2009 Join Date
    GMT+1Location
    294Posts

    Re: v26 Habbo Retro?

    Quote Originally Posted by Komakech View Post
    Your concept is great for sending packets but not receiving. There's a lot of data management within a received packet, it's not quite as simple as calling a pre-built static class, after-all packets technically are part of the User and not a general thing to be used elsewhere. I will take a look most likely next weekend into how I could do it and report back on what I've come up with. I just disagree with throwing hundreds of functions into the User class if it is only going to be called by the socket, the packets should have reference to the user but not be thrown into their class as if it's some sort of shared storage unit.

    I had considered shortly after my previous comment of having a layered system, where I have a packetHandler which extends each packetClass, this would mean they were separated into separate classes but are called through the top-level packetHandler, this would mean the User only has one instance constructed rather than 20+. Thoughts?
    Just a quick thought:
    If you make the class(members) static they would only be created once... (at least that's the way C++ handles it, I guess there's no difference with C#???)
    For receiving packages you could either do it the way Snowlight did it (ex https://github.com/anthony93260/Snow...s/Handshake.cs)
    or you could create static classes parsing the packages and being called from some method.
    These static methods could then return a struct containing all necessary information.

  3. #138
    Novice DBNOchris is offline
    MemberRank
    Mar 2014 Join Date
    Leeds, United KLocation
    1Posts

    Re: v26 Habbo Retro?

    I've just opened a v26 hotel, nostalgia at its finest!



Page 10 of 10 FirstFirst ... 2345678910

Advertisement