Havaha Forums
You are not logged in.
Could sombody (basv) fix my highscore . it uses armorbot and is coded in as2.
If you give me an upload site then i will upload it.
Offline
And i need to get rid of all those unused MCs in my library to cut down on space
Offline
Link http://rapidshare.com/files/88563302/43-cXX.fla.html (delete link when you have it so it doesnt get out)
As1
//Send Highscore AS1.0 // Armor Bot Rankz
function __rankz_send__(par1,par2,par3,par4){
par227 = new LoadVars();
par228 = new LoadVars();
par227.flashkey = par2;
par227.SU0249 = par1;
par227.bmFtZTE = par3;
par227.c2NvcmUx = par4+"Z";
par227.c2NvcmUx = par227.c2NvcmUx.split("0").join("U");
par227.c2NvcmUx = par227.c2NvcmUx.split("").join("A");
par227.c2NvcmUx = par227.c2NvcmUx.split("AU").join("Y");
par227.c2NvcmUx = par227.c2NvcmUx.split("A1").join("B");
par227.c2NvcmUx = par227.c2NvcmUx.split(".").join("N");
par227.flashkey = par227.flashkey.split("=").join("");
par227.SU0249 = par227.SU0249.split("=").join("");
par228.onLoad = function(success){
if(success){
trace(par228.msg);
}else{
trace(par228.loaded);
}
}
par227.sendAndLoad("http://rankz.armorbot.com/submit/as3_v0.php",par228,"POST");
}
bXlnYW1lX25hbWVfdmFyaWFibGU = my_name1_variable;//replace my_name1_variable with your name variable (1)
bXlnYW1lX3Njb3JlX3ZhcmlhYmxl = my_score1_variable;//replace my_score1_variable with your score1 variable
__rankz_send__("MjI3MWolZSVhJW4lcw==", "Z1lkR2tqeFA=", bXlnYW1lX25hbWVfdmFyaWFibGU, bXlnYW1lX3Njb3JlX3ZhcmlhYmxl);
//Send Highscore AS1.0 ENDAs2 (Warning: You need the AS2.0 Encrypt extension to make it work. http://www.armorbot.com/dlf.php?filenam … nc_as2.zip
//Send Highscore AS2.0 // Armor Bot Rankz
import ab3.rankz.*;
function __rankz_send__(par1,par2,par3,par4){
par227 = new LoadVars();
par228 = new LoadVars();
par227.flashkey = par2;
par227.SU0249 = par1;
par227.bmFtZTE = Armor_Bot_30_En_AS1.Encode(par3);
par227.c2NvcmUx = Armor_Bot_30_En_AS1.Encode(par4+"j%e%a%n%s");
par227.flashkey = par227.flashkey.split("=").join("");
par227.SU0249 = par227.SU0249.split("=").join("");
par228.onLoad = function(success){
if(success){
trace(par228.msg);
}else{
trace(par228.loaded);
}
}
par227.sendAndLoad("http://rankz.armorbot.com/submit/",par228,"POST");
}
bXlnYW1lX25hbWVfdmFyaWFibGU = my_name1_variable;//replace my_name1_variable with your name variable (1)
bXlnYW1lX3Njb3JlX3ZhcmlhYmxl = my_score1_variable;//replace my_score1_variable with your score1 variable
__rankz_send__("MjI3MWolZSVhJW4lcw==", "Z1lkR2tqeFA=", bXlnYW1lX25hbWVfdmFyaWFibGU, bXlnYW1lX3Njb3JlX3ZhcmlhYmxl);
//Send Highscore AS2.0 ENDLast edited by xedon (2008-02-02 04:46:10)
Offline
ok.. I'm taking a look at it.. First of all I never used armorgames highscore table stuff. So I'm not sure what should happen but I think you need to do this:
in your send button, you now have something like
par227.sendAndLoad("http://rankz.armorbot.com/submit/",par228,"POST");
I think that needs to be:
bXlnYW1lX25hbWVfdmFyaWFibGU = name;//replace my_name1_variable with your name variable (1)
bXlnYW1lX3Njb3JlX3ZhcmlhYmxl = score;//replace my_score1_variable with your score1 variable
_root.__rankz_send__("MjI3MWolZSVhJW4lcw==", "Z1lkR2tqeFA=", bXlnYW1lX25hbWVfdmFyaWFibGU, bXlnYW1lX3Njb3JlX3ZhcmlhYmxl);
that's the send function you made in the root, so it seems obvious you need to call that.
I think this should be about it, but again: I never used armorbot. This is not really a flash problem, you just need to read some tutorial I'm sure they have somewhere on the armorgames page.
Good luck with it!
Offline
xedon i edited your post so that its more user friendly
try using
next time:D

Offline
hey bas thanks for the help but i am gonna download the help one an just swap a few things
Offline
bas could you add a highscore for me, it can be mochi armor bot or anything else as long as i dont have to have a server (mysql etc)
Offline
no, for two reasons:
I have other stuff to do.. Why would I spend time learning how armorbot works? Do it yourself..
Secondly: I'm sure there's enough help already available. Ask on newgrounds forums, or maybe armorgames forums (if that exists). There are bound to be people there who've done this before, in contrary to me.
You're not asking me to do actionscript: You're asking me to learn how to add armorbot to a game. I'm not interested in that.
Offline
i aint using armorbot, they have changed it to API but the script hasnt changed... I am trying mochiads now
Offline
hey xedon if all else fails make an in game high score which just tracks your own score
i guess its better than nothing =P

Offline
I like the idea, cool!
Offline
I like the idea, cool!
Offline