

Tural = whorebag
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
lol - *walks away and calls , "Detox!"*VinxStinx wrote:I challenge him to write a faster multiplayer map resigner, I'll be waitingVicarious wrote:-Detox- could create this APP with his eyes closed and his hands tied behind his back faster than you could with 20/20 vision and perfect working arms. But....
-DeToX- wrote:But no need to get all competitive.. Im just saying, im proud of you for learning, but maybe try something a bit ..... harder..
Code: Select all
int Resign(int DataOffset, int maxCount, int Signature)
{
__asm{
xor eax, eax
xor ecx, ecx
mov ebx, maxCount
mov edx, DataOffset
CalcSig:
xor eax, dword ptr [edx+ecx*4] //calculate checksum
inc ecx
cmp ecx, ebx
jl CalcSig
mov Signature, eax
}
return Signature;
}
![]() |
![]() |
![]() |
![]() |
Rawful. Everyone was liek, ZOMG NEWB WIT RESINER.. Then he posted the sexy source... And what do you see? No one says anything. :OVinxStinx wrote:-DeToX- wrote:But no need to get all competitive.. Im just saying, im proud of you for learning, but maybe try something a bit ..... harder..Yeah, it's pretty basic stuff :PCode: Select all
int Resign(int DataOffset, int maxCount, int Signature) { __asm{ xor eax, eax xor ecx, ecx mov ebx, maxCount mov edx, DataOffset CalcSig: xor eax, dword ptr [edx+ecx*4] //calculate checksum inc ecx cmp ecx, ebx jl CalcSig mov Signature, eax } return Signature; }