[DEVELOPMENT] Nepetalactone - Gunz 2 Server Emulator

Page 1 of 4 1234 LastLast
Results 1 to 15 of 51
  1. #1
    Apprentice TheCosmos is offline
    MemberRank
    Apr 2014 Join Date
    23Posts

    [DEVELOPMENT] Nepetalactone - Gunz 2 Server Emulator

    Started developing a GunZ 2 emulator. The connected client is the latest version of Gunz 2 NA.
    More info/development to come.


  2. #2
    Mako is insane. ThePhailure772 is offline
    MemberRank
    Sep 2007 Join Date
    1,115Posts

    Re: [DEVELOPMENT] Nepetalactone - Gunz 2 Server Emulator

    I wish I could replay packets like you

  3. #3
    Apprentice TheCosmos is offline
    MemberRank
    Apr 2014 Join Date
    23Posts

    Re: [DEVELOPMENT] Nepetalactone - Gunz 2 Server Emulator

    Quote Originally Posted by ThePhailure772 View Post
    I wish I could replay packets like you
    ITT Phail tries to figure out the flag system
    [18:47:09] <~Cosmos> Everance
    [18:47:11] <~Cosmos> What was that link again
    [18:47:51] <+Everance> http://pae.st/57
    [18:47:55] <+Everance> you should really start using it
    [18:47:57] <+Everance> it's nice
    [18:48:05] <+Everance> you can host your own
    [18:48:09] <~Cosmos> What do you have so far.
    [18:48:15] <+Everance> https://github.com/theepicsnail/paest
    [18:48:25] <+Everance> i'm pretty much retarded
    [18:48:35] <+Everance> when it comes to setting up bitwsie operations
    [18:48:43] <+Everance> like i know what they do butg my brain goes HERP DERP
    [18:49:01] <~Cosmos> Gonna be home in a bit.
    [18:49:17] <~Cosmos> Also
    [18:49:22] <~Cosmos> !topic <+Everance> i'm pretty much retarded
    [18:49:22] <~Cosmos> !topic <+Everance> i'm pretty much retarded
    [18:49:22] * services.sourced.me changes topic to '<+Everance> i'm pretty much retarded'
    [18:49:26] <+Everance> i am
    [18:49:41] <+Everance> >>> def build_flags(normal, ping, unk, encrypted, compressed, size):
    [18:49:41] <+Everance> ... value = 0
    [18:49:41] <+Everance> ... value |=
    [18:49:42] <+Everance> SEE
    [18:49:45] <+Everance> PRETTY MUCH RETARDED
    [18:49:46] <~Cosmos> i uh
    [18:49:47] <~Cosmos> what
    [18:50:59] <+Everance> kill me
    [18:53:32] <~Cosmos> good idea
    [18:53:45] <+Everance> literally
    [18:53:54] <+Everance> i can't figure this out on my own

  4. #4
    Mako is insane. ThePhailure772 is offline
    MemberRank
    Sep 2007 Join Date
    1,115Posts

    Re: [DEVELOPMENT] Nepetalactone - Gunz 2 Server Emulator

    Quote Originally Posted by TheCosmos View Post
    ITT Phail tries to figure out the flag system
    [18:47:09] <~Cosmos> Everance
    [18:47:11] <~Cosmos> What was that link again
    [18:47:51] <+Everance> http://pae.st/57
    [18:47:55] <+Everance> you should really start using it
    [18:47:57] <+Everance> it's nice
    [18:48:05] <+Everance> you can host your own
    [18:48:09] <~Cosmos> What do you have so far.
    [18:48:15] <+Everance> https://github.com/theepicsnail/paest
    [18:48:25] <+Everance> i'm pretty much retarded
    [18:48:35] <+Everance> when it comes to setting up bitwsie operations
    [18:48:43] <+Everance> like i know what they do butg my brain goes HERP DERP
    [18:49:01] <~Cosmos> Gonna be home in a bit.
    [18:49:17] <~Cosmos> Also
    [18:49:22] <~Cosmos> !topic <+Everance> i'm pretty much retarded
    Code:
        class Bitfields
        {
            public uint Normal;
            public uint Ping;
            public uint Unknown;
            public uint Encrypted;
            public uint Compressed;
            public uint Size;
    
    
            public Bitfields()
            {
                Normal = 1;
                Ping = 0;
                Unknown = 0; // HOW THE FUCK AM I SUPPOSED TO KNOLW IF YOU DON'T KNOW? HUH
                Encrypted = 1;
                Compressed = 0;
            }
    
    
            public Bitfields(uint value)
            {
                Normal = ((value >> 0) & 1);
                Ping = ((value >> 1) & 1);
                Unknown = ((value >> 2) & 1);
                Encrypted = ((value >> 3) & 1);
                Compressed = ((value >> 4) & 1);
                Size = (0x7FFFFF & (value >> 5));
            }
    
    
            public uint Deserialize()
            {
                if (Ping == 1)
                {
                    uint value = 0;
                    value ^= (value ^ 32 * Size & 0xFFFFFE0);
                    value = Size <= 2048 ? value & 0xFFFFFFEF : value;
                    value ^= (((value << 29 >> 29) ^ 2) & 7);
                    return value;
                }
                
                return (Size << 5 | Compressed << 4 | Encrypted << 3 | Unknown << 2 | Ping << 1 | Normal << 0);
            }
    
    
        }
    Even when I have no idea what I'm doing, I still shit out code prettier than you ever will. You're like Snail, you don't make things pretty or efficient you just slap your hands on the keyboard and go 'HOW IT WORK'

    also boost4lyfe

  5. #5
    Apprentice TheCosmos is offline
    MemberRank
    Apr 2014 Join Date
    23Posts

    Re: [DEVELOPMENT] Nepetalactone - Gunz 2 Server Emulator

    Quote Originally Posted by ThePhailure772 View Post
    Code:
        class Bitfields
        {
            public uint Normal;
            public uint Ping;
            public uint Unknown;
            public uint Encrypted;
            public uint Compressed;
            public uint Size;
    
    
            public Bitfields()
            {
                Normal = 1;
                Ping = 0;
                Unknown = 0; // HOW THE FUCK AM I SUPPOSED TO KNOLW IF YOU DON'T KNOW? HUH
                Encrypted = 1;
                Compressed = 0;
            }
    
    
            public Bitfields(uint value)
            {
                Normal = ((value >> 0) & 1);
                Ping = ((value >> 1) & 1);
                Unknown = ((value >> 2) & 1);
                Encrypted = ((value >> 3) & 1);
                Compressed = ((value >> 4) & 1);
                Size = (0x7FFFFF & (value >> 5));
            }
    
    
            public uint Deserialize()
            {
                if (Ping == 1)
                {
                    uint value = 0;
                    value ^= (value ^ 32 * Size & 0xFFFFFE0);
                    value = Size <= 2048 ? value & 0xFFFFFFEF : value;
                    value ^= (((value << 29 >> 29) ^ 2) & 7);
                    return value;
                }
                
                return (Size << 5 | Compressed << 4 | Encrypted << 3 | Unknown << 2 | Ping << 1 | Normal << 0);
            }
    
    
        }
    Even when I have no idea what I'm doing, I still shit out code prettier than you ever will. You're like Snail, you don't make things pretty or efficient you just slap your hands on the keyboard and go 'HOW IT WORK'

    also boost4lyfe
    ITT Phail thinks that abstracting everything to shit == PRETTY CODE
    Also muh pretty code must be more efficient cause it's pretty lelelelelellelelelele

  6. #6
    Mako is insane. ThePhailure772 is offline
    MemberRank
    Sep 2007 Join Date
    1,115Posts

    Re: [DEVELOPMENT] Nepetalactone - Gunz 2 Server Emulator

    Quote Originally Posted by TheCosmos View Post
    ITT Phail thinks that abstracting everything to shit == PRETTY CODE
    Also muh pretty code must be more efficient cause it's pretty lelelelelellelelelele
    Even @Keith writes better code than you.

  7. #7
    Apprentice TheCosmos is offline
    MemberRank
    Apr 2014 Join Date
    23Posts

    Re: [DEVELOPMENT] Nepetalactone - Gunz 2 Server Emulator

    Quote Originally Posted by thephailure772 View Post
    even @keith writes better code than you.
    too far man
    too far

  8. #8
    Sharing is caring KillerStefan is offline
    MemberRank
    Feb 2007 Join Date
    NetherlandsLocation
    2,554Posts

    Re: [DEVELOPMENT] Nepetalactone - Gunz 2 Server Emulator

    Quote Originally Posted by ThePhailure772 View Post
    Even @Keith writes better code than you.
    Stop bringing LGKeiz into these silly arguments, he's preparing huge relaunch of classic LegacyGamers Gunz servidor.

  9. #9
    Apprentice TheCosmos is offline
    MemberRank
    Apr 2014 Join Date
    23Posts

    Re: [DEVELOPMENT] Nepetalactone - Gunz 2 Server Emulator

    Jacob, my muse, my flare, the only packets that are going to be replayed for now are UF2C::NTF_INFO packets, because they basically just contain server settings and they're a pain in the arse to reverse
    Meanwhile here's a client-less bot.

  10. #10
    SkullCrasher Neliel Tu is offline
    MemberRank
    Jul 2012 Join Date
    Japan, TokyoLocation
    1,239Posts

    Re: [DEVELOPMENT] Nepetalactone - Gunz 2 Server Emulator

    create it as opensource

  11. #11
    amPerl savetherobots is offline
    MemberRank
    Apr 2010 Join Date
    214Posts

    Re: [DEVELOPMENT] Nepetalactone - Gunz 2 Server Emulator

    Quote Originally Posted by CrystalCoder View Post
    create it as opensource
    For a second there I thought you were suggesting releasing it so some guy with questionable contributions who calls himself "Coder" could leech it.

    Oh,
    wait..

  12. #12
    SkullCrasher Neliel Tu is offline
    MemberRank
    Jul 2012 Join Date
    Japan, TokyoLocation
    1,239Posts

    Re: [DEVELOPMENT] Nepetalactone - Gunz 2 Server Emulator

    lot of coders in one project better to focus on one am i right?

  13. #13
    2D > 3D Wucas is offline
    MemberRank
    Dec 2008 Join Date
    In your bed :3Location
    2,523Posts

    Re: [DEVELOPMENT] Nepetalactone - Gunz 2 Server Emulator

    Quote Originally Posted by CrystalCoder View Post
    lot of coders in one project better to focus on one am i right?
    The issue is the very definition of "coder" on RZ.

  14. #14
    MentaL's Slave Keith is offline
    LegendRank
    Nov 2004 Join Date
    2,670Posts

    Re: [DEVELOPMENT] Nepetalactone - Gunz 2 Server Emulator

    I had to be brought into this lol. I support Cosmos.

  15. #15
    Sharing is caring KillerStefan is offline
    MemberRank
    Feb 2007 Join Date
    NetherlandsLocation
    2,554Posts

    Re: [DEVELOPMENT] Nepetalactone - Gunz 2 Server Emulator

    Quote Originally Posted by Keith View Post
    I had to be brought into this lol. I support Cosmos.
    Glad to see it has the LGKeiz approval, but what about the official LegacyGamers seal of quality?



Page 1 of 4 1234 LastLast

Advertisement