First of all, how do I run this code?
Code: Select all
std::string getCode(const std::string &nick, int exp) {
std::stringstream code;
//
size_t sz = nick.size();
int SB = ((sz * exp) % (exp + 1)) + 1;
int sum1 = 1;
int sum2 = 1;
std::string lw = toLower(nick);
for(size_t i = 0; i < sz; i++) {
char cur = lw[i];
if(cur == 'a' || cur == 'e' || cur == 'g') {
sum1 += 2;
sum2 = (sum2 + 1) * sum1;
} else if(cur == 'm' || cur == 'n' || cur == 'l') {
sum1 = (sum1 + 1) * 3 - 1;
sum2 = sum2 + sum1;
} else if(cur == '1' || cur == '7' || cur == '9') {
sum1 = sum1 + sum2;
sum2 = sum2 + 4;
}
}
int res = ((exp + sum1) * (SB - sum2)) % (8999) + 1000;
code << res << exp;
return code.str();
}
Then all I have to do is write:
[username] [amount of xp]
and it will generate a code for me, example: -load [numbers]
I had this cheat on my PC before, I got it from d3scene, but its down.
I viewed it cached ( http://webcache.googleusercontent.com/s ... e&ie=UTF-8 )
And you can see on Lithium6 post, he posted a file ''terrania.zip'', but you will get to another d3scene window, and that one, you can't view in cache mode.
So help, how do I view that code? I tried Visual studio core, notepad then save as .bat, and lastly, I also tried using python.
Thanks in advance.