Event ID Marshaller [Event/Message ID Standard]

Page 2 of 3 FirstFirst 123 LastLast
Results 16 to 30 of 45
  1. #16
    Alpha Member Emily is offline
    MemberRank
    Oct 2012 Join Date
    The NetherlandsLocation
    2,408Posts

    Re: Event ID Marshaller [Event/Message ID Standard]

    It's useful I guess, but one thing I'm wondering:
    Did you made the name Marshaller yourself? My dictionary doesn't contain that word...

  2. #17
    Chasing 99 Red Balloons Jordan is offline
    MemberRank
    Jan 2008 Join Date
    UKLocation
    1,763Posts

    Event ID Marshaller [Event/Message ID Standard]

    Quote Originally Posted by Tha View Post
    It's useful I guess, but one thing I'm wondering:
    Did you made the name Marshaller yourself? My dictionary doesn't contain that word...
    Google C# Marshalling

  3. #18
    Alpha Member Emily is offline
    MemberRank
    Oct 2012 Join Date
    The NetherlandsLocation
    2,408Posts

    Re: Event ID Marshaller [Event/Message ID Standard]

    Quote Originally Posted by Jordan View Post
    Google C# Marshalling
    Thanks, I've never worked with it.

  4. #19
    Sql Expert Dissi is offline
    MemberRank
    Apr 2007 Join Date
    NetherlandsLocation
    200Posts

    Re: Event ID Marshaller [Event/Message ID Standard]

    I need some feedback from you guys!

    I currently got 1 way of implementing the new Auto Event Message generation structure:

    What needs to be done is ->
    Create easy-to-implement interface classes with easy structures to add into your existing emulator code

    After that calls will look as follows:
    Code:
    ServerMessage message = new ServerMessage();
    Marshall.FillResponse(message, Outgoing.SomeCodeHere, IHabboContext);
    With IHabboContext beeing a class which has some information in it regarding getting the needed data.

    ALL data needed for the Event is than stored in the message object which can be send directly to the client.

    This will require some time to implement in all servers, but I will take into account the default "code structure" from most of the servers.

    The packet creation GUI itself will be posted tomorrow or Monday and the implementation could should e straight forward.
    The GUI itself will be able to:
    • Create structures with dynamic for-each operations - Needed for friendlist, items in a room etc
    • Create if statements - Needed for Club packets, groups anything that requires it
    • Send all kinds of basic data (uint, int, string ushort, short, byte etc)



    Is there anything else that needs to be taken care of- packet wise?

    IMPORTANT>>>
    I will not use C# Attributes to map values from habbo's rooms etc, as they tend to be slow at runtime. I've made a choice to use Interfaces instead as they tend to be a whole lot faster

  5. #20
    Retired maritnmine is offline
    MemberRank
    May 2007 Join Date
    North KoreaLocation
    1,103Posts

    Re: Event ID Marshaller [Event/Message ID Standard]

    Quote Originally Posted by Jordan View Post
    Google C# Marshalling
    Normally, marshalling means the process between managed and unmanaged code, so the CLR has to make sure the memory is usable by unmanaged code, it can do so by pinning memory or copy memory. However, this is not the case for the marshaller project. We named it marshaller since it takes care of the process by finding the correct event ID for the current SWF revision you have selected.

    - Martin

  6. #21
    Chasing 99 Red Balloons Jordan is offline
    MemberRank
    Jan 2008 Join Date
    UKLocation
    1,763Posts

    Event ID Marshaller [Event/Message ID Standard]

    Quote Originally Posted by maritnmine View Post
    Normally, marshalling means the process between managed and unmanaged code, so the CLR has to make sure the memory is usable by unmanaged code, it can do so by pinning memory or copy memory. However, this is not the case for the marshaller project. We named it marshaller since it takes care of the process by finding the correct event ID for the current SWF revision you have selected.

    - Martin
    I know what marshalling is, however that's where I presumed the name came from :)

  7. #22
    Retired maritnmine is offline
    MemberRank
    May 2007 Join Date
    North KoreaLocation
    1,103Posts

    Re: Event ID Marshaller [Event/Message ID Standard]

    Quote Originally Posted by Jordan View Post
    I know what marshalling is, however that's where I presumed the name came from :)
    Gotcya ;) Almost thought you meant the marshaller project was just for that xD

  8. #23
    Web & Interaction Design Gangnam is offline
    MemberRank
    Dec 2010 Join Date
    Lincoln, UKLocation
    1,983Posts

    Re: Event ID Marshaller [Event/Message ID Standard]

    Would this give users the ability to 'update' - should it implement your ID marshaller?

  9. #24
    Sql Expert Dissi is offline
    MemberRank
    Apr 2007 Join Date
    NetherlandsLocation
    200Posts

    Re: Event ID Marshaller [Event/Message ID Standard]

    Quote Originally Posted by n0minal View Post
    Would this give users the ability to 'update' - should it implement your ID marshaller?
    Yes it will, as long as they also implement the interfaces which we will provide when we're done with the Outgoing event data

    I'm currently working out the serialization from the saved structure to actually calling the method which grabs the needed data.

  10. #25
    Demi-god on these 'ere wa DominicGunn is offline
    MemberRank
    Jun 2011 Join Date
    347Posts

    Re: Event ID Marshaller [Event/Message ID Standard]

    Quote Originally Posted by matty13 View Post
    This is more like martin releasing something so other people get the headers for him to use because he has no clue and wants to continue his Butterfly
    I wasn't the only one that saw this then.

  11. #26
    Retired maritnmine is offline
    MemberRank
    May 2007 Join Date
    North KoreaLocation
    1,103Posts

    Re: Event ID Marshaller [Event/Message ID Standard]

    Quote Originally Posted by DominicGunn View Post
    I wasn't the only one that saw this then.
    Nope. Its the same reason as Jordan said on the first page. There is enough stuff to put my hands on in the server :)

    - Martin

  12. #27
    Sql Expert Dissi is offline
    MemberRank
    Apr 2007 Join Date
    NetherlandsLocation
    200Posts

    Re: Event ID Marshaller [Event/Message ID Standard]

    Project update:

    Spoiler:







    I've finished different major parts of the event message creation.

    What still needs to be done for a new release is:

    • Add all object in the object bench.
    • Add enumeration support
    • Add save to web interface
    • Create documentation on how to implement this in your server



    All calls will be routed through 1 new object which you will need to implement.
    It's very straight forward. I will give more details when im finished with enumeration support.

    Regards,
    Dissi

  13. #28
    Alpha Member Emily is offline
    MemberRank
    Oct 2012 Join Date
    The NetherlandsLocation
    2,408Posts

    Re: Event ID Marshaller [Event/Message ID Standard]

    Quote Originally Posted by Dissi View Post
    I lol'd at FAKE data, nothing is fake.

  14. #29
    Account Upgraded | Title Enabled! Chapo is offline
    MemberRank
    Jul 2010 Join Date
    United StatesLocation
    944Posts

    Re: Event ID Marshaller [Event/Message ID Standard]

    Quote Originally Posted by Dissi View Post
    Project update:

    Spoiler:







    I've finished different major parts of the event message creation.

    What still needs to be done for a new release is:

    • Add all object in the object bench.
    • Add enumeration support
    • Add save to web interface
    • Create documentation on how to implement this in your server



    All calls will be routed through 1 new object which you will need to implement.
    It's very straight forward. I will give more details when im finished with enumeration support.

    Regards,
    Dissi
    Nice updates, Dissi.

    Still loving this, ofcourse made to make it easier for bfly. :P!

  15. #30
    Sql Expert Dissi is offline
    MemberRank
    Apr 2007 Join Date
    NetherlandsLocation
    200Posts

    Re: Event ID Marshaller [Event/Message ID Standard]

    Quote Originally Posted by Niels View Post
    Nice updates, Dissi.

    Still loving this, ofcourse made to make it easier for bfly. :P!
    Bfly already has such a system in place (event id loading, not message structure). I'm making it compatible with your servers as well.

    The project itself will be used to help the community with the complex structure of the packets.
    Especially now the client stops working if it received 1 malforming packet.
    I would like to help the community to overcome this obstacle with an easy-to-implement packet builder.
    Which happens to be fast to use, and easy to update. I don't see the harm of that.

    Either way, we could also just "borrow" packet structures from the released sources. It's not that hard

    Actual updates:

    Image 1:
    • Added support for loops
    • Better look for the packet data
    • Implemented up/down buttons
    • Implemented delete button (forgot about that)

    Spoiler:





    Image 2:
    • Added casting support -> Also support Boolean to Integer fields
    • Added loop filter -> the only type which is accessible as data from the loop is in the object bench, no other objects can be selected

    Spoiler:




    General:
    • Added loading/saving for casting of types
    • Made preparations to load actual construction of the EventData creator for the server
    • Added some interfaces to show you guys this progress
    Last edited by Dissi; 16-01-13 at 09:29 PM.



Page 2 of 3 FirstFirst 123 LastLast

Advertisement