ForumsProgramming ForumArmorbot TOP10 help.

3 5021
entc
offline
entc
2 posts
Nomad

I have posted this thread on the Armorbot help forums too, but its so inactive i post it here too:

I have successfully applied the submit script to my flash and its working perfectly. Then i tried the TOP10 template and i dont get it to work. I just get the "ERROR!" in output, the code for TOP10 is this:

rankz_t10_send = new LoadVars();
rankz_t10_receive = new LoadVars();
//replace those vars below with the provided
rankz_t10_send.SU0249 = "MWolZSVhJW41cw";
rankz_t10_send.flashkey = "UEFOQ0FLRVM";
//
rankz_t10_receive.onLoad = function(success) {
if (success) {
_rankz_ar_ = rankz_t10_receive.top10.split("<u/*/u>&quot;
for (i=0; i<_rankz_ar_.length; i++) {
tempv = _rankz_ar_[i].split("</*/>&quot;
_root["rankz_n"+(i+1)].text = tempv[0];
_root["rankz_v"+(i+1)].text = tempv[1];
//tempv[2] = NAME2 var
//tempv[3] = SCORE2 var
//tempv[4] = SCORE3 var
}
} else {
trace("ERROR&quot;
}
};
rankz_t10_send.sendAndLoad("http://rankz.armorbot.com/get/top10.php", rankz_t10_receive, "POST&quot;

It says i should "replace those vars with the provided" but i dont know wich vars that is provided. Can anyone tell me?

  • 3 Replies
entc
offline
entc
2 posts
Nomad

It doesnt work :'(

Arax_Nisanu
offline
Arax_Nisanu
1,305 posts
Nomad

Try talking to klaushouse, dank, Tony, Krin, or John

They are all really great flash makers.

dank
offline
dank
986 posts
Peasant

Not a good idea posting that. Now anyone can hack in to your bored and make up scores.

I had a problem with this before as well, though I forget what I did to fix it. Did you edit the code like it told you to?

Showing 1-3 of 3