OMG! I'm so sorry guys. I couldn't reply the topic during 6-8 months because a was without Internet connection (payments, house changing, ISP problems ^^).
But if someone wants to help me to create a BoT, I will appreciate.
Replying the MP's, I'm brazilian (I know, this sucks) e use PHP on MS Vista Starter (I know, this sucks too)
If the program created by r043v really hacks the arena / expeditions, perhaps would be possible to adapt with PHP
yes you can adapt the bot in php, but c is just fine for it, only use curl, as you, but do a real login instead of use navigator cookies
i made a small library to manage curl, so there is a more hight level code for login :
int gladiatuslogin(char *login, char *pass)
{ char loginUrl[1024];
sprintf(loginUrl,"%sindex.php?mod=login",server);
const char * returnValue = player.download(loginUrl);
if(returnValue) { shell.printc(ROUGE,"%s\n",returnValue); goto failed; }
else { returnValue = player.postDl(loginUrl,"user=%s&pass=%s",login,pas s);
if(returnValue) { shell.printc(ROUGE,"%s\n",returnValue); goto failed; }
returnValue = player.download(loginUrl);
if(returnValue) { shell.printc(ROUGE,"%s\n",returnValue); goto failed; }
else { memset(shkey,0,1024);
player.find("settings&sh=","\">",shkey);
if(*shkey) printf("\nshkey %s\n",shkey);
else { shell.printc(ROUGE,"bad login or password ?\n"); goto failed; }
int isloged = !strcmp(login,player.find("<span class=\"playername\">","</span>"));
if(!isloged) { shell.printc(ROUGE,"bad login or password ?\n"); goto failed; }
shell.printc(VERT,"\nloged to gladiatus %s !\n\n",login);
if(!getYourInfo()) { shell.printc(ROUGE,"\n.. cannot get your info %s ..",login); goto failed; }
showYourStat();
return 1;
}
}
failed :
shell.printc(ROUGE," login failed %s !\n",login);
return 0;
}
I don't know programming C, but at least in PHP I must define a cookie file that will be readed by game.
Or Gladiatus only reads the skey?
... Maybe I am a dumbass but is there a "hacking gladiatus for idiots" guide? I don't write code so this bot is a little out of my league... Is it in the form of an executable file yet?