sc = argument0; // score, (real) name = argument1; // player's name (string)
sub = argument2; // SubID (string)
//
// ---> The next two lines are the ones you must edit: <---
game = "273655";
pwd = ""; // remove from editable versions!
//
//
url = "big-brain.org/highscores/submit";
var auth_code, glob, url_string;
// first generate the authentication code using the password supplied:
glob = string(sc) + name + game + sub + pwd;
auth_code = string(crc16(glob));
// now generate the url string:
url_string = url;
url_string += "?score=" + string(sc);
url_string += "&player_name=" + url_encode(name);
url_string += "&game_id=" + game;
url_string += "&sub_id=" + sub;
url_string += "&auth_code=" + auth_code;
Warte ein paar Tage... ich mache die Skripts einsteigerfreundlicher und auch ein kleines Beispiel dazu, aber gedulde dich etwas, Ack hatte micht heut schon fertig gemacht....
"Die Erde ist ein Irrenhaus. Dabei könnte das bis heute erreichte Wissen der Menschheit aus ihr ein Paradies machen. Dafür müsste die weltweite Gesellschaft allerdings zur Vernunft kommen." - Joseph Weizenbaum