Still got far more work done than you did. Also, don't you ever get tired of shitposting?
Type: Posts; User: TheCosmos
Still got far more work done than you did. Also, don't you ever get tired of shitposting?
Reversed the command format fully and provided a full MCommand table dump, unlike your slow ass. Also, ded gaem is ded.
Yep, didn't read it carefully enough the first time around.
Just set m_pMyCharacter's HP to 0 on the targetted client.
Still doesn't fix the vulnerability. You should add the packet ID to the UDP blacklist.
After a quick re-read, I can see why it's there. Still, the entire thing could be changed to just:
Check current character name (although using the target's MUID would be far more optimal) against...
if(ZGetMyInfo()->IsAdminGrade()) //This could be easily spoofed by any hacker who can spoof their ugrade.
break;
Your comment is right, but that chunk of code shouldn't even be there.
Took a quick glance through it.
if(ZGetMyInfo()->IsAdminGrade())
break;
Within the client's OnCommand handler, what.
People are merely trying to help you, yet you're too dense to see that.
Keep in mind that there's a difference between "ego" and constructive criticism. In this case:
1) Allocating too much memory for a static-sized string.
2) Using sprintf for a static string
3)...
The point is, every single snippet of code you've posted so far is absolutely atrocious, and yet you refuse to accept tips from people that are clearly far better than you at programming, and go...
Honor among thieves, eh?
Got the character selection -> lobby transition done, added chat channels and chat related functionality.
http://i.imgur.com/XRyvPVB.jpg
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...
too far man
too far
ITT Phail thinks that abstracting everything to shit == PRETTY CODE
Also muh pretty code must be more efficient cause it's pretty lelelelelellelelelele
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...
Started developing a GunZ 2 emulator. The connected client is the latest version of Gunz 2 NA.
More info/development to come.
http://i.imgur.com/AfOc3zf.jpg
Flag encoding:
public static UInt32 SetFlags(byte[] buf, bool encrypted = true, bool ping = false, bool compressed = false)
{
UInt32 retval = 0;
...
Thank you. Glad to see that people are still interested in GunZ development.
Also, Phail's checksum generation algorithm is off. It should be
public UInt16 CalculateChecksum(byte[]...
Figured some stuff out. The packet format is:
uint32 flags;
uint32 pktCounter;
ushort pktID;
ushort checksum;
uint32 datalen;
ushort pktID2;
uchar nullseperator;