Be a Supporter!

AS:ArmorBot

  • 3,419 Views
  • 16 Replies
New Topic Respond to this Topic
Sinistermuffin
Sinistermuffin
  • Member since: Sep. 16, 2006
  • Offline.
Forum Stats
Member
Level 14
Blank Slate
AS:ArmorBot 2007-03-09 20:30:14 Reply

This is a short tut about how to use armorbot, i made this specifically for Kart-man

1) you need your game, make a dynamic text box with the var name of score
2)Make an input text box with the var name of name, on your menu page
3)Get the Highscore code of of armorbot
4) replace the following code with the one below it

ab20_09.z = mynamevar;
ab20_09.x = myscorevar;

gets replaced with

ab20_09.z = name;
ab20_09.x = score;

5)and on the full script cut off the last two lines and cut/copy them

Example
this is not the real code dont copy this!!

ab20_09.sendAndLoad("http://armorbot.com/SECR ET CODE STUFF,"POST");
//< /armorbot 2.0 >

gets cut

6)add the text boxes you made earlier to the frame
7)make a button going to the next frame
8)add the code you cut out to this frame
FINISH

To Embed top ten scores

1) edit the code given in the top 10 .fla file
false code below

//ArmorBot Highscores API v2, www.armorbot.com
//Tested with Flash 6-8, Actionscript 1 and 2.
__top10_send__ = new LoadVars();
__top10_receive__ = new LoadVars();
__top10_url_1__ = "http://www.armorbot.com/flashcomm";
__top10_url_2__ = "/top10_b";
__top10_send__.hid = 717;
__top10_send__.kid = "GQHRHA";
__top10_send__.sendAndLoad(__top10_url_1__+__
top10_url_2__,__top10_receive__,"POST");
__top10_receive__.onLoad = function(success){
if(success){
for(i=1;i<11;i++){
_root["_name"+i+"_"].text = __top10_receive__["name"+i];
_root["_score"+i+"_"].text = __top10_receive__["score"+i];
}
}else{
_root.__err__.gotoAndStop(2);
}
}
2) replace the variables that they tell you to replace

see it used

here

i know AS:main is locked, i made this to help people

23450
23450
  • Member since: May. 28, 2003
  • Offline.
Forum Stats
Supporter
Level 27
Blank Slate
Response to AS:ArmorBot 2007-03-10 00:27:07 Reply

At 3/9/07 08:30 PM, Sinistermuffin wrote: i know AS:main is locked, i made this to help people

lol. check again.


BBS Signature
deltatsunami
deltatsunami
  • Member since: Dec. 31, 2005
  • Offline.
Forum Stats
Member
Level 11
Blank Slate
Response to AS:ArmorBot 2007-03-10 01:07:58 Reply

its been unlocked, and plus you dont' have a link to As:main in your tutorial....

Penboy
Penboy
  • Member since: Jun. 17, 2006
  • Offline.
Forum Stats
Member
Level 17
Artist
Response to AS:ArmorBot 2007-03-10 03:38:34 Reply

Nice coding, but how come your weren't Co-Authored in the portal submition?

Kenney
Kenney
  • Member since: Mar. 16, 2002
  • Offline.
Forum Stats
Member
Level 20
Game Developer
Response to AS:ArmorBot 2007-03-10 06:43:16 Reply

At 3/10/07 03:38 AM, Penboy wrote: Nice coding, but how come your weren't Co-Authored in the portal submition?

Because he didn't code that, it's a tutorial in using ArmorBot.com.
You did a pretty good job at explaining this! =) I will be linking people with problems to this thread, thanks for this.

Sinistermuffin
Sinistermuffin
  • Member since: Sep. 16, 2006
  • Offline.
Forum Stats
Member
Level 14
Blank Slate
Response to AS:ArmorBot 2007-03-10 08:30:16 Reply

your welcome!

Sinistermuffin
Sinistermuffin
  • Member since: Sep. 16, 2006
  • Offline.
Forum Stats
Member
Level 14
Blank Slate
Response to AS:ArmorBot 2007-03-10 08:40:56 Reply

oops, AS:main

Kart-Man
Kart-Man
  • Member since: Jan. 7, 2007
  • Offline.
Forum Stats
Member
Level 27
Blank Slate
Response to AS:ArmorBot 2007-03-10 19:21:38 Reply

At 3/9/07 08:30 PM, Sinistermuffin wrote: This is a short tut about how to use armorbot, i made this specifically for Kart-man

Hehe, I just saw this. Nice work. I appreciate it. Would you be kind enough to post an example .fla file, though? Thanks. :)


postcount +=1;
Newgrounds Photoshop Headquarters || Don't use MS Paint! Use Aviary!
SING US A SING YOU'RE THE PIANO MAN

BBS Signature
Sinistermuffin
Sinistermuffin
  • Member since: Sep. 16, 2006
  • Offline.
Forum Stats
Member
Level 14
Blank Slate
Response to AS:ArmorBot 2007-03-10 20:02:39 Reply

Here's your .fla

http://denvish.net/ulf/100307/72067_AKARTMAN.
fla

Kart-Man
Kart-Man
  • Member since: Jan. 7, 2007
  • Offline.
Forum Stats
Member
Level 27
Blank Slate
Response to AS:ArmorBot 2007-03-10 20:20:58 Reply

At 3/10/07 08:02 PM, Sinistermuffin wrote: Here's your .fla

Thanks, appreciate your help. ^.^


postcount +=1;
Newgrounds Photoshop Headquarters || Don't use MS Paint! Use Aviary!
SING US A SING YOU'RE THE PIANO MAN

BBS Signature
edit-undo
edit-undo
  • Member since: Jan. 17, 2006
  • Offline.
Forum Stats
Member
Level 19
Blank Slate
Response to AS:ArmorBot 2007-03-12 13:12:10 Reply

Isnt there an anti-hacking code as well? Could you mention how to use that please :)


...

BBS Signature
Sinistermuffin
Sinistermuffin
  • Member since: Sep. 16, 2006
  • Offline.
Forum Stats
Member
Level 14
Blank Slate
Response to AS:ArmorBot 2007-03-16 22:42:09 Reply

i never really messed with that encryption stuff, i was lazy...i guess :P

I might figure it out, but i never used it, ill post when i understand that to

Vorlek
Vorlek
  • Member since: Dec. 26, 2005
  • Offline.
Forum Stats
Member
Level 25
Audiophile
Response to AS:ArmorBot 2007-03-17 11:37:13 Reply

cool

edit-undo
edit-undo
  • Member since: Jan. 17, 2006
  • Offline.
Forum Stats
Member
Level 19
Blank Slate
Response to AS:ArmorBot 2007-03-18 16:46:27 Reply

At 3/16/07 10:42 PM, Sinistermuffin wrote: i never really messed with that encryption stuff, i was lazy...i guess :P

I might figure it out, but i never used it, ill post when i understand that to

It would be helpful to know. One of my highscore tables got hacked so I really want to learn how to encrypt :)


...

BBS Signature
Chrondercle
Chrondercle
  • Member since: Mar. 25, 2007
  • Offline.
Forum Stats
Member
Level 03
Blank Slate
Response to AS:ArmorBot 2007-03-27 13:08:58 Reply

What is armorbot?

Sinistermuffin
Sinistermuffin
  • Member since: Sep. 16, 2006
  • Offline.
Forum Stats
Member
Level 14
Blank Slate
Response to AS:ArmorBot 2007-03-27 16:21:38 Reply

Free and easy to set up Highscore Boards

Link to Armorbot.com