Forums

ForumsProgramming Forum

Armorbot TOP10 help.

Posted Feb 17, '08 at 11:26am

entc

entc

2 posts

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?

 

Posted Feb 18, '08 at 9:41am

entc

entc

2 posts

It doesnt work :'(

 

Posted Jun 10, '08 at 7:25pm

Arax_Nisanu

Arax_Nisanu

1,376 posts

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

They are all really great flash makers.

 

Posted Jun 10, '08 at 8:16pm

dank

dank

1,045 posts

Knight

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?

 
Reply to Armorbot TOP10 help.

You must be logged in to post a reply!