Forums → Programming Forum → Armorbot TOP10 help.
3 | 5020 |
- 3 Replies
Showing 1-3 of 3
3 | 5020 |
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>"
for (i=0; i<_rankz_ar_.length; i++) {
tempv = _rankz_ar_[i].split("</*/>"
_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"
}
};
rankz_t10_send.sendAndLoad("http://rankz.armorbot.com/get/top10.php", rankz_t10_receive, "POST"
It says i should "replace those vars with the provided" but i dont know wich vars that is provided. Can anyone tell me?
Try talking to klaushouse, dank, Tony, Krin, or John
They are all really great flash makers.
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?
You must be logged in to post a reply!