My guess is you can replace the randxx command with a variable eg "dor_g" and it should work.
Code:
}
if(!buff) goto doit;
if(proto == 3) {
p += putxx(p, 93, 32);
p += putxx(p, 2, 16);
p += putxx(p, 1, 16);
p += putxx(p, id, 16);
p += putxx(p, 0, 32);
p += putxx(p, 0, 32);
rndxx(p + 4, 127, &seed, 0); len = strlen(p + 4);
p += putbe(p, len, 32); p += len;
rndxx(p + 4, 127, &seed, 0); len = strlen(p + 4);
p += putbe(p, len, 32); p += len;
} else {
if(proto == 2) {
p += putxx(p, 68, 32);
} else {
p += putxx(p, 4, 32);
}
p += putxx(p, 2, 16);
p += putxx(p, 0, 8);
p += putxx(p, 0, 8);
p += putxx(p, 1, 32); // ???
p += putxx(p, 0, 32);
p += putss(p, nickfix, 32);
p += putss(p, "", 32);
p += rndxx(p, 64, &seed, 0);
}
Code:
rndxx(p + 4, 127, &seed, 0); len = strlen(p + 4);
p += putbe(p, len, 32); p += len;
rndxx(p + 4, 127, &seed, 0); len = strlen(p + 4);
I know I'm close to it but I don't program in c++ D:
I have no idea what the P + 4, 127 and other random stuff there is... But I know this is probably where the solution is.
I think the last rndxx is just a final dimmed variable :l