HVH Forums

Havaha Forums

You are not logged in.

#1 2008-02-01 19:58:12

xedon
Pawn
Registered: 2007-12-23
Posts: 86

Fix my highscore

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

 

#2 2008-02-02 03:47:45

BasV
Actionscript Guru
From: The Netherlands
Registered: 2007-11-27
Posts: 191
Website

Re: Fix my highscore

use rapidshare.com? Give me the link and I'll take a look.

Offline

 

#3 2008-02-02 04:13:24

xedon
Pawn
Registered: 2007-12-23
Posts: 86

Re: Fix my highscore

And i need to get rid of all those unused MCs in my library to cut down on space

Offline

 

#4 2008-02-02 04:37:38

xedon
Pawn
Registered: 2007-12-23
Posts: 86

Re: Fix my highscore

Link http://rapidshare.com/files/88563302/43-cXX.fla.html (delete link when you have it so it doesnt get out)
As1

Code:

//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 END

As2   (Warning: You need the AS2.0 Encrypt extension to make it work. http://www.armorbot.com/dlf.php?filenam … nc_as2.zip

Code:

//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 END

Last edited by xedon (2008-02-02 04:46:10)

Offline

 

#5 2008-02-02 11:20:47

BasV
Actionscript Guru
From: The Netherlands
Registered: 2007-11-27
Posts: 191
Website

Re: Fix my highscore

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

 

#6 2008-02-03 14:19:32

super gerbil
Super Mod Gerbil Guy
From: (Not always)Great Britain
Registered: 2007-12-03
Posts: 237

Re: Fix my highscore

xedon i edited your post so that its more user friendly
try using

Code:

next time:D


http://newsimg.ngfiles.com/29000/29281_gerbil_grounds_final.jpg

Offline

 

#7 2008-02-07 10:12:05

xedon
Pawn
Registered: 2007-12-23
Posts: 86

Re: Fix my highscore

hey bas thanks for the help but i am gonna download the help one an just swap a few things

Offline

 

#8 2008-02-07 10:41:20

xedon
Pawn
Registered: 2007-12-23
Posts: 86

Re: Fix my highscore

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

 

#9 2008-02-07 12:21:40

BasV
Actionscript Guru
From: The Netherlands
Registered: 2007-11-27
Posts: 191
Website

Re: Fix my highscore

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

 

#10 2008-02-07 12:26:58

xedon
Pawn
Registered: 2007-12-23
Posts: 86

Re: Fix my highscore

i aint using armorbot, they have changed it to API but the script hasnt changed... I am trying mochiads now

Offline

 

#11 2008-02-07 13:36:12

super gerbil
Super Mod Gerbil Guy
From: (Not always)Great Britain
Registered: 2007-12-03
Posts: 237

Re: Fix my highscore

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


http://newsimg.ngfiles.com/29000/29281_gerbil_grounds_final.jpg

Offline

 

#12 2008-02-07 23:38:08

xedon
Pawn
Registered: 2007-12-23
Posts: 86

Re: Fix my highscore

it already has that :p

Offline

 

#13 2009-09-09 19:15:58

Colour
Member
Registered: 2009-09-09
Posts: 27

Re: Fix my highscore

Good job guys!


no better runescape accounts, just best runescape accounts!

Offline

 

#14 2009-09-27 20:23:59

Colour
Member
Registered: 2009-09-09
Posts: 27

Re: Fix my highscore

I like the idea, cool!


no better runescape accounts, just best runescape accounts!

Offline

 

#15 2010-01-06 00:02:47

mdjhomes
Member
Registered: 2009-10-06
Posts: 28

Re: Fix my highscore

I like the idea, cool!


Have you ever bought a runescape accounts with all the skills more than fifty?That sounds impossible but it is true.

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson