With my program I login to the warrock server. I get my NPP through webrequest when I first login.
I build my string like this:
First time I login and everything works fine. Second I login with different account and retreives NPP and my first account logs in?
Somebody Knows what the error is?
I build my string like this:
Code:
sb.Append(Environment.TickCount.ToString());
sb.Append(" 4352 ");
sb.Append(WRCrypt.rnd());
sb.Append(" 0 ");
sb.Append(username);
sb.Append(" ");
sb.Append(npp.Split(':')[3]);
sb.Append(" ");
sb.Append(username);
sb.Append(" ???? 1 0 ");
sb.Append(npp);
sb.Append(" ");
sb.Append(Environment.NewLine);
byte[] bBytes = Encoding.ASCII.GetBytes(sb.ToString());
bBytes = WRCrypt.xor(bBytes, (byte)195);
return bBytes;
Somebody Knows what the error is?