SRL Archive - Reflection

[R][Beta]Awkward Mage Training Arena!


Awkwardsaw

2011-07-02 20:17:36

Because of the anti-bot update, this doesn't work. :(

I present to you the first release of the first free(and always will be free, obviosly :)) Mage Training Arena script in the history of RS Botting :)

Features:
-Includes all 4 arenas
-SMART Paint
-Reflection
-Anti ban
-Either choose what spell you want to use, or let the script choose for you
-Decide what amount of points to end at
-SRL Stats
-Dragonstone
-Switches arenas after a certain amount of points gained
-Debug box proggress report

Future Features:
-Multi player?
-Possibly faster, requires a potential rewrite of a lot of things
-more elaborate failsafes, Atm if it messes up it will reset itself by either leaving arena and reentering, or logout+login and entering. Really only messes up due to lag :)
-Possibly a form?
-Possibly bank
-Possibly buy from shop

Bugs:
-Alchemy is still kind of messed up. I can use suggestions on how to improve(script wise)
-Enchantment seems to be slower than before, only getting around 600 points per hour
-Not a bug, but determining what maze you are in takes a while, because it has to count a certain amount of objects in a 35 tile radius
-Not very lag friendly

Reasoning behind coordinate clicking in the maze arena:
When in observation mode in the maze arena, the screen is always STATIC. It doesn't move. Since in fact that tiles in the arenas are all dynamic, coordinate clicking is the easiest + most reliable way to navigate while in observation mode. Everything comes down to timing, which i believe i got down pretty well

How to use multi arenas:

Players[0].Strings[0] := 'maze;graveyard;alchemy';// arena: Maze, Enchant, Graveyard, Alchemy
Players[0].Strings[1] := '';// spell: Read Above. '' = auto (highest spell)
Players[0].Integers[0] := 120; //points to end up with. use a high number if you want to use all of your runes

when using multi arenas, auto spell must be used. Also points to end up with is universal. So with this setup it will end up with 120 points in Maze, Graveyard, and Alchemy



This is currently Beta, expect some problems, and please tell me what/ how to fix things to your liking. I want this to be as perfect as possible, :)

example of proggy:

PatDuffy

2011-07-02 20:23:36

Wow, I certainly wasn't expecting to see this pop up on SRL at all. I'll look into the script and do some test runs by Monday

Awkwardsaw

2011-07-02 20:25:57

From: PatDuffy
Wow, I certainly wasn't expecting to see this pop up on SRL at all. I'll look into the script and do some test runs by Monday


I'm attempting to get more people into srl, and prove that we arent as out-dated as powerbot/rsbot :)

TomTuff

2011-07-02 20:43:27

Wow this is amazing! I wish you had released 2 or 3 weeks ago, I just got 99 mage.

Awkwardsaw

2011-07-02 23:18:39


I found an infinit loop in the graveyard part, idk how i looked over it :\

anyways, I think that the graveyard section works pretty well now

PatDuffy

2011-07-02 23:23:45

I was about to comment about the graveyard infinite loop, you beat me to it by like 3 minutes. The loop caused the character to die, but it was still stuck in the loop so I'm not sure if there is a death detection for the graveyard part.

60/120 graveyard points obtained for infinity boots though =) I'll comment on the other parts tomorrow

Flight

2011-07-02 23:24:03

If I used this script, then it will literally be the first time I've ever done the Graveyard section. That's pretty sad. :/

The script sounds amazing by the way! Definitely an advanced script. :)

Awkwardsaw

2011-07-02 23:26:37

From: PatDuffy
I was about to comment about the graveyard infinite loop, you beat me to it by like 3 minutes. The loop caused the character to die, but it was still stuck in the loop so I'm not sure if there is a death detection for the graveyard part.

60/120 graveyard points obtained for infinity boots though =) I'll comment on the other parts tomorrow


no there isnt in that part, but i added a failsafe to break out of the loop so it will check if it's still in the arena directly afterwords, sorry about the death(-10 graveyard points)

PatDuffy

2011-07-02 23:29:29

oh well, its only 10 points which will quickly be regained =p I'm much more interested in beta testing the script than if my char dies or not

EDIT: Finished the boneyard arena, moved onto the Maze. So far it doesn't seem to be slow with the recognition of which maze it is, instead it seems to be an overall speedy process.

Awkwardsaw

2011-07-03 01:53:28

From: PatDuffy
oh well, its only 10 points which will quickly be regained =p I'm much more interested in beta testing the script than if my char dies or not

EDIT: Finished the boneyard arena, moved onto the Maze. So far it doesn't seem to be slow with the recognition of which maze it is, instead it seems to be an overall speedy process.


Thanks for your input, :)

Bonfield

2011-07-05 04:28:59

trying it now, running the maze good jobs script looks good, any particular section need testing? i noticed your sig says alchemy does, is that still true?


bonfield has added 9695 minutes to Awkward MTA in 1316 commits .

pretty sure its counting the time wrong thats like 161 hours =]



Time running: 1 hours, 29 minutes and 4 seconds
Current maze: 4
Points gained: 160
Current level: 86

can your sig be personalised? maybe add exp gained, points per hour etc to the proggy?

great script solves mazes pretty quick, will probably run to 1495 tele points then move to the others, also i really know nothing about this but is the best way to make money by getting enough points for full infinity?

Awkwardsaw

2011-07-05 10:06:49

From: Bonfield
trying it now, running the maze good jobs script looks good, any particular section need testing? i noticed your sig says alchemy does, is that still true?


bonfield has added 9695 minutes to Awkward MTA in 1316 commits .

pretty sure its counting the time wrong thats like 161 hours =]



Time running: 1 hours, 29 minutes and 4 seconds
Current maze: 4
Points gained: 160
Current level: 86

can your sig be personalised? maybe add exp gained, points per hour etc to the proggy?

great script solves mazes pretty quick, will probably run to 1495 tele points then move to the others, also i really know nothing about this but is the best way to make money by getting enough points for full infinity?


That timing bug is server side for srl stats

I sort of fixed alchemy. It's still not as great as i would like it to be though

It is possible for me to create personal sigs, but i need to do some different parsing with PHP :p and doing exp/h points/h on the sigs would be a little harder, but adding them to the progress report wouldnt be bad.

As for most profit, atm i've just been getting the ininity boots(like 4-5 at a time) and selling them. You might get more profit getting wands or mage books though

Awkwardsaw

2011-07-05 19:05:44

Updated.

I improved alchemy, added dragonstone finding for enchantment, improved proggies and srl stats.

I could use some help improving my code(infinit loops, memory leaks, stuff like that), if anyone wants to read through it, fix/add/change things please be my guest :)

Flight

2011-07-05 20:09:23

From: Awkwardsaw
Updated.

I improved alchemy, added dragonstone finding for enchantment, improved proggies and srl stats.

I could use some help improving my code(infinit loops, memory leaks, stuff like that), if anyone wants to read through it, fix/add/change things please be my guest :)


Start converting it over to R2. :garfield:

Awkwardsaw

2011-07-05 20:44:22

From: Flight
Start converting it over to R2. :garfield:


I will eventually. :p

I need to figure out how to set it up first, lol

Bonfield

2011-07-06 00:29:54

script only ended up running for an extra hour, i turned off my computer sorry, i suggest you add staff detection just to check the inventory also you need to reset the spell book eg going from maze to graveyard will cause the script to log out as the player cant cast the correct spell

Awkwardsaw

2011-07-06 00:35:26

From: Bonfield
script only ended up running for an extra hour, i turned off my computer sorry, i suggest you add staff detection just to check the inventory also you need to reset the spell book eg going from maze to graveyard will cause the script to log out as the player cant cast the correct spell


atm it only does one arena at a time, once it finishes runes/ gets points needed it logs out. Planning on doing that next addition though :)

Bonfield

2011-07-06 02:05:23

why is this blank?
???

TRiLeZ

2011-07-06 03:10:24

Very nice job! I used this for a few seconds to test if screen points could be calculated with SRL reflection, since it can't with TRiBot. :p

Hopefully I can find the bug in TRiBot. The script ran great through the few seconds of my playing. Maybe I'll run this for a few hours tomorrow, and tell you how it goes. :)

masterBB

2011-07-06 04:49:24

Great job, haven't seen a script for this yet.

It is a beta, not sure if I should post this:
But, why is there no randomness in 'DoMaze' ?
while not clicktocontinue do
wait(10);
while not clicktocontinue do
wait(10);
clicktocontinue;
wait(500);
clicktocontinue;
wait(500);
clicktocontinue;
wait(500);
clicktocontinue;
^ could also be done in a loop of course.

In MouseTile the variable 'i' will never be set. So ´i > 50' will never be true.

Flight

2011-07-06 06:55:14

From: masterBB
Great job, haven't seen a script for this yet.

It is a beta, not sure if I should post this:
But, why is there no randomness in 'DoMaze' ?
while not clicktocontinue do
wait(10);
while not clicktocontinue do
wait(10);
clicktocontinue;
wait(500);
clicktocontinue;
wait(500);
clicktocontinue;
wait(500);
clicktocontinue;
^ could also be done in a loop of course.

In MouseTile the variable 'i' will never be set. So ´i > 50' will never be true.


I haven't looked at the script but I know that "ClickContinue" has the option to 'wait' in between each 'continue click'. You could use a "While blah blah do" procedure.

Bonfield

2011-07-06 08:15:58


not sure why it stopped

here is the whole debug


[Hint] C:\Users\SAMSUNG\Desktop\Jacobs\Simba\Includes\SRL/SRL/core/SRLlog.scar(17:3): Variable 'THEFILE' never used at line 16
[Hint] (2354:3): Variable 'POINTS1' never used at line 2353
[Hint] (2354:3): Variable 'POINTS2' never used at line 2353
[Hint] (2354:3): Variable 'TIME' never used at line 2353
[Hint] (2355:3): Variable 'B' never used at line 2354
Compiled succesfully in 1778 ms.
calling names
SRL Compiled in 16 msec
SMART Initialized.
Loaded: Server 132, Members: False, Signed: True, Super Detail: False.
5
0
Starting Magic Level: 86
('bones to bananas', 15, 1, 2.5000000000000000E+0001, [3, 5, 10], [2, 2, 1])
3
4
Getting maze walls, may take a little bit
(14, 108, 0)
Current Maze: 2
No SRL update / Plugins update available!
Getting maze walls, may take a little bit
(14, 124, 0)
Current Maze: 3
Getting maze walls, may take a little bit
(14, 53, 0)
Current Maze: 9
Getting maze walls, may take a little bit
(14, 108, 0)
Current Maze: 2
Getting maze walls, may take a little bit
(14, 53, 0)
Current Maze: 9
Getting maze walls, may take a little bit
(15, 129, 0)
Current Maze: 1
Getting maze walls, may take a little bit
(10, 71, 0)
Current Maze: 6
[R_IsUpTextMulti] Text length is 0, something is wrong. Retrying.
[R_IsUpTextMulti] Text length is 0, something is wrong. Retrying.
Getting maze walls, may take a little bit
(22, 91, 0)
Current Maze: 4
Getting maze walls, may take a little bit
(22, 121, 0)
Current Maze: 7
Getting maze walls, may take a little bit
(14, 53, 0)
Current Maze: 9
Getting maze walls, may take a little bit
(22, 91, 0)
Current Maze: 4
[R_IsUpTextMulti] Text length is 0, something is wrong. Retrying.
Getting maze walls, may take a little bit
(22, 121, 0)
Current Maze: 7
Getting maze walls, may take a little bit
(10, 71, 0)
Current Maze: 6
Getting maze walls, may take a little bit
(15, 129, 0)
Current Maze: 1
Getting maze walls, may take a little bit
(14, 53, 0)
Current Maze: 9
Getting maze walls, may take a little bit
(19, 100, 0)
Current Maze: 8
No SRL update / Plugins update available!
1
Getting maze walls, may take a little bit
(14, 53, 0)
Current Maze: 9
Getting maze walls, may take a little bit
(22, 91, 0)
Current Maze: 4
Getting maze walls, may take a little bit
(13, 87, 0)
Current Maze: 10
Getting maze walls, may take a little bit
(22, 121, 0)
Current Maze: 7
Getting maze walls, may take a little bit
(14, 53, 0)
Current Maze: 9
[R_IsUpTextMulti] Text length is 0, something is wrong. Retrying.
Getting maze walls, may take a little bit
(22, 121, 0)
Current Maze: 7
Getting maze walls, may take a little bit
(22, 91, 0)
Current Maze: 4
Getting maze walls, may take a little bit
(14, 53, 0)
Current Maze: 9
SRL_Stats: Incorrect user and/or password
Getting maze walls, may take a little bit
(22, 91, 0)
Current Maze: 4
Getting maze walls, may take a little bit
(22, 121, 0)
Current Maze: 7
Getting maze walls, may take a little bit
(22, 91, 0)
Current Maze: 4
Getting maze walls, may take a little bit
(14, 124, 0)
Current Maze: 3
Getting maze walls, may take a little bit
(19, 100, 0)
Current Maze: 8
1
Getting maze walls, may take a little bit
(22, 121, 0)
Current Maze: 7
No SRL update / Plugins update available!
Getting maze walls, may take a little bit
(22, 91, 0)
Current Maze: 4
Getting maze walls, may take a little bit
(14, 53, 0)
Current Maze: 9
Getting maze walls, may take a little bit
(13, 87, 0)
Current Maze: 10
Getting maze walls, may take a little bit
(14, 108, 0)
Current Maze: 2
Getting maze walls, may take a little bit
(22, 121, 0)
Current Maze: 7
Getting maze walls, may take a little bit
(14, 124, 0)
Current Maze: 3
Getting maze walls, may take a little bit
(19, 100, 0)
Current Maze: 8
1
Getting maze walls, may take a little bit
(14, 53, 0)
Current Maze: 9
[R_IsUpTextMulti] Text length is 0, something is wrong. Retrying.
Getting maze walls, may take a little bit
(13, 87, 0)
Current Maze: 10
Getting maze walls, may take a little bit
(10, 71, 0)
Current Maze: 6
Getting maze walls, may take a little bit
(14, 53, 0)
Current Maze: 9
Getting maze walls, may take a little bit
(13, 87, 0)
Current Maze: 10
Getting maze walls, may take a little bit
(14, 53, 0)
Current Maze: 9
Getting maze walls, may take a little bit
(13, 87, 0)
Current Maze: 10
No SRL update / Plugins update available!
Getting maze walls, may take a little bit
(19, 100, 0)
Current Maze: 8
1
Getting maze walls, may take a little bit
(22, 91, 0)
Current Maze: 4
Getting maze walls, may take a little bit
(14, 108, 0)
Current Maze: 2
Getting maze walls, may take a little bit
(13, 87, 0)
Current Maze: 10
Getting maze walls, may take a little bit
(22, 91, 0)
Current Maze: 4
SRL_Stats: Incorrect user and/or password
Getting maze walls, may take a little bit
(10, 71, 0)
Current Maze: 6
Getting maze walls, may take a little bit
(14, 124, 0)
Current Maze: 3
Getting maze walls, may take a little bit
(22, 91, 0)
Current Maze: 4
Getting maze walls, may take a little bit
(19, 100, 0)
Current Maze: 8
1
Getting maze walls, may take a little bit
(8, 98, 0)
Current Maze: 5
Getting maze walls, may take a little bit
(14, 108, 0)
Current Maze: 2
Getting maze walls, may take a little bit
(22, 91, 0)
Current Maze: 4
Getting maze walls, may take a little bit
(10, 71, 0)
Current Maze: 6
Getting maze walls, may take a little bit
(14, 108, 0)
Current Maze: 2
Getting maze walls, may take a little bit
(22, 121, 0)
Current Maze: 7
No SRL update / Plugins update available!
Getting maze walls, may take a little bit
(14, 108, 0)
Current Maze: 2
Getting maze walls, may take a little bit
(13, 87, 0)
Current Maze: 10
Getting maze walls, may take a little bit
(14, 124, 0)
Current Maze: 3
Getting maze walls, may take a little bit
(10, 71, 0)
Current Maze: 6
Getting maze walls, may take a little bit
(14, 108, 0)
Current Maze: 2
Getting maze walls, may take a little bit
(14, 124, 0)
Current Maze: 3
Getting maze walls, may take a little bit
(15, 129, 0)
Current Maze: 1
Getting maze walls, may take a little bit
(8, 98, 0)
Current Maze: 5
Getting maze walls, may take a little bit
(15, 129, 0)
Current Maze: 1
Getting maze walls, may take a little bit
(22, 121, 0)
Current Maze: 7
Getting maze walls, may take a little bit
(14, 124, 0)
Current Maze: 3
Getting maze walls, may take a little bit
(14, 53, 0)
Current Maze: 9
Getting maze walls, may take a little bit
(13, 87, 0)
Current Maze: 10
Getting maze walls, may take a little bit
(14, 108, 0)
Current Maze: 2
Getting maze walls, may take a little bit
(14, 53, 0)
Current Maze: 9
No SRL update / Plugins update available!
SRL_Stats: Incorrect user and/or password
Getting maze walls, may take a little bit
(13, 87, 0)
Current Maze: 10
Getting maze walls, may take a little bit
(8, 98, 0)
Current Maze: 5
Getting maze walls, may take a little bit
(22, 91, 0)
Current Maze: 4
Getting maze walls, may take a little bit
(10, 71, 0)
Current Maze: 6
Getting maze walls, may take a little bit
(19, 100, 0)
Current Maze: 8
1
Getting maze walls, may take a little bit
(14, 124, 0)
Current Maze: 3
[R_IsUpTextMulti] Text length is 0, something is wrong. Retrying.
Getting maze walls, may take a little bit
(22, 91, 0)
Current Maze: 4
Getting maze walls, may take a little bit
(19, 100, 0)
Current Maze: 8
1
Getting maze walls, may take a little bit
(10, 71, 0)
Current Maze: 6
Getting maze walls, may take a little bit
(14, 108, 0)
Current Maze: 2
[R_IsUpTextMulti] Text length is 0, something is wrong. Retrying.
Getting maze walls, may take a little bit
(13, 87, 0)
Current Maze: 10
Getting maze walls, may take a little bit
(19, 100, 0)
Current Maze: 8
[R_IsUpTextMulti] Text length is 0, something is wrong. Retrying.
1
Getting maze walls, may take a little bit
(14, 124, 0)
Current Maze: 3
Getting maze walls, may take a little bit
(15, 129, 0)
Current Maze: 1
No SRL update / Plugins update available!
Getting maze walls, may take a little bit
(22, 121, 0)
Current Maze: 7
Getting maze walls, may take a little bit
(14, 108, 0)
Current Maze: 2
Getting maze walls, may take a little bit
(19, 100, 0)
Current Maze: 8
1
Getting maze walls, may take a little bit
(22, 121, 0)
Current Maze: 7
Getting maze walls, may take a little bit
(19, 100, 0)
Current Maze: 8
1
Getting maze walls, may take a little bit
(13, 87, 0)
Current Maze: 10
Getting maze walls, may take a little bit
(19, 100, 0)
Current Maze: 8
1
[R_IsUpTextMulti] Text length is 0, something is wrong. Retrying.
Getting maze walls, may take a little bit
(8, 98, 0)
Current Maze: 5
Getting maze walls, may take a little bit
(14, 108, 0)
Current Maze: 2
Getting maze walls, may take a little bit
(22, 121, 0)
Current Maze: 7
[R_IsUpTextMulti] Text length is 0, something is wrong. Retrying.
SRL_Stats: Incorrect user and/or password
Getting maze walls, may take a little bit
(8, 98, 0)
Current Maze: 5
Getting maze walls, may take a little bit
(14, 108, 0)
Current Maze: 2
Getting maze walls, may take a little bit
(14, 124, 0)
Current Maze: 3
Getting maze walls, may take a little bit
(22, 91, 0)
Current Maze: 4
Getting maze walls, may take a little bit
(14, 124, 0)
Current Maze: 3
No SRL update / Plugins update available!
Getting maze walls, may take a little bit
(15, 129, 0)
Current Maze: 1
[R_IsUpTextMulti] Text length is 0, something is wrong. Retrying.
Getting maze walls, may take a little bit
(8, 98, 0)
Current Maze: 5
[R_IsUpTextMulti] Text length is 0, something is wrong. Retrying.
Getting maze walls, may take a little bit
(15, 129, 0)
Current Maze: 1
[R_IsUpTextMulti] Text length is 0, something is wrong. Retrying.
Getting maze walls, may take a little bit
(22, 91, 0)
Current Maze: 4
Getting maze walls, may take a little bit
(8, 98, 0)
Current Maze: 5
Getting maze walls, may take a little bit
(13, 87, 0)
Current Maze: 10
Getting maze walls, may take a little bit
(14, 53, 0)
Current Maze: 9
Getting maze walls, may take a little bit
(10, 71, 0)
Current Maze: 6
Getting maze walls, may take a little bit
(14, 124, 0)
Current Maze: 3
Getting maze walls, may take a little bit
(22, 121, 0)
Current Maze: 7
Getting maze walls, may take a little bit
(19, 100, 0)
Current Maze: 8
1
Getting maze walls, may take a little bit
(14, 108, 0)
Current Maze: 2
Getting maze walls, may take a little bit
(15, 129, 0)
Current Maze: 1
[R_IsUpTextMulti] Text length is 0, something is wrong. Retrying.
Getting maze walls, may take a little bit
(13, 87, 0)
Current Maze: 10
No SRL update / Plugins update available!
Getting maze walls, may take a little bit
(22, 121, 0)
Current Maze: 7
Getting maze walls, may take a little bit
(22, 91, 0)
Current Maze: 4
[R_IsUpTextMulti] Text length is 0, something is wrong. Retrying.
Getting maze walls, may take a little bit
(10, 71, 0)
Current Maze: 6
Getting maze walls, may take a little bit
(22, 121, 0)
Current Maze: 7
[R_IsUpTextMulti] Text length is 0, something is wrong. Retrying.
Getting maze walls, may take a little bit
(15, 129, 0)
Current Maze: 1
SRL_Stats: Incorrect user and/or password
Getting maze walls, may take a little bit
(14, 53, 0)
Current Maze: 9
Getting maze walls, may take a little bit
(8, 98, 0)
Current Maze: 5
Getting maze walls, may take a little bit
(14, 108, 0)
Current Maze: 2
Getting maze walls, may take a little bit
(8, 98, 0)
Current Maze: 5
Getting maze walls, may take a little bit
(19, 100, 0)
Current Maze: 8
1
Getting maze walls, may take a little bit
(13, 87, 0)
Current Maze: 10
Getting maze walls, may take a little bit
(22, 91, 0)
Current Maze: 4
Getting maze walls, may take a little bit
(10, 71, 0)
Current Maze: 6
Getting maze walls, may take a little bit
(19, 100, 0)
Current Maze: 8
1

i know i posted the whole log over 4 hours i thought you might want it =]

maybe add some more to your debug? just to help with where its getting stuck

edit: i cant get enchanting to work, it just logs in starts rotating the camera

heres the log


[Hint] (2355:3): Variable 'B' never used at line 2354
Compiled succesfully in 1810 ms.
calling names
SRL Compiled in 16 msec
SMART Initialized.
Loaded: Server 132, Members: False, Signed: True, Super Detail: False.
5
0
Welcome to Runescape.
Aserser
Starting Magic Level: 87
('lvl-6 enchant', 87, 1, 9.7000000000000000E+0001, [3, 4, 8], [20, 20, 1])
3
4

pretty sure that was just from me having enchantment instead of enchant as Strings[0] running now

Awkwardsaw

2011-07-06 09:39:21

From: masterBB
Great job, haven't seen a script for this yet.

It is a beta, not sure if I should post this:
But, why is there no randomness in 'DoMaze' ?
while not clicktocontinue do
wait(10);
while not clicktocontinue do
wait(10);
clicktocontinue;
wait(500);
clicktocontinue;
wait(500);
clicktocontinue;
wait(500);
clicktocontinue;
^ could also be done in a loop of course.

In MouseTile the variable 'i' will never be set. So ´i > 50' will never be true.


I assume clicktocontinue has its own wait thing going on, so clicktocontinue + 500 ms = random time. I do this in a lot of my waits :p anyways, i'll make sure to randomize all of them

as for mousetile, forgot about that, that's probably why i(you) kept spinning
i know i posted the whole log over 4 hours i thought you might want it =]


Wow, thanks :)

BraK

2011-07-07 06:40:56

Can this be done in the Free world or is it members only.

~BraK

masterBB

2011-07-07 06:53:38

From: BraK
Can this be done in the Free world or is it members only.

~BraK


member only

BraK

2011-07-07 06:59:45

kk I'm making an extra for this :) Thanks for the fast reply Master BB.

~BraK

Coh3n

2011-07-07 07:10:00

I'm just seeing this thread now, but very nice Awkwardsaw! I'm impressed, even if it is Reflection. ;)

From: Awkwardsaw
I present to you the first release of the first free(and always will be free, obviosly :)) Mage Training Arena script in the history of RS Botting :)
Seriously!? o_O Go SRL!

From: BraK
kk I'm making an extra for this :) Thanks for the fast reply Master BB.

~BraK
What do you mean?

BraK

2011-07-07 07:21:37

Player Form :p That changes depending on choices made in the Form. :)

~BraK

Coh3n

2011-07-07 07:25:09

From: BraK
Player Form :p That changes depending on choices made in the Form. :)

~BraK
Still confused. Changes the arena?

BraK

2011-07-07 07:31:12

Nope the "form" goes through Changes as the Player Fills it Out. Think of it as a progressive form. It something new I'm trying that I just confirmed that I can do. :) Nothing to special.

~BraK

Coh3n

2011-07-07 07:46:32

From: BraK
Nope the "form" goes through Changes as the Player Fills it Out. Think of it as a progressive form. It something new I'm trying that I just confirmed that I can do. :) Nothing to special.

~BraK
Ohh I see. User chooses A, the form does B, user chooses C the form D. Pretty cool, not sure how it's useful, but I don't know anything about MTA, so. :p

BraK

2011-07-07 07:53:15

From: Coh3n
Ohh I see. User chooses A, the form does B, user chooses C the form D. Pretty cool, not sure how it's useful, but I don't know anything about MTA, so. :p


The more useful parts of it will be. If user chooses to do Enchanting it will bring a list on enchant Spells or Auto. The choices will change depending on what the user chooses. :)

~BraK

Coh3n

2011-07-07 08:00:31

From: BraK
The more useful parts of it will be. If user chooses to do Enchanting it will bring a list on enchant Spells or Auto. The choices will change depending on what the user chooses. :)

~BraK
Ohh yeah I understand. MSI's form does that depending on the script the user chooses. :p

BraK

2011-07-07 08:04:32

I figured you'd understand :p MSI Player form is a nice piece of work.

~BraK

E: This is reminding me of a tutorial I've been meaning to update :)

E2: I talk more about it with you tonight on IRC. You might be able to help me with something. :)

Awkwardsaw

2011-07-07 10:30:49

From: BraK
Player Form :p That changes depending on choices made in the Form. :)

~BraK


I have one in the making, but after i made a little picture that i wanted it to look like, i realised how much work it would be. I'm putting it off until later(it's not really needed atm) :)

BraK

2011-07-07 14:40:46

From: Awkwardsaw
I have one in the making, but after i made a little picture that i wanted it to look like, i realised how much work it would be. I'm putting it off until later(it's not really needed atm) :)


Heh the one I'm making is a pretty big Project. I haven't seen a bunch of it done before. The images I'm using are going to be Compressed then encoded and finally stored inside an INI File with the Player data. This is really fun for me. :)

~BraK

E: Send me your picture. :) How multiplayer friendly do you want it to be.

Home

2011-07-07 17:58:08

Looks absolutely awsome. It's great that you released this script for free and for SRL.

Just awsome.

Well done!

~Home

Nava2

2011-07-08 00:55:16

:D Its not the first free one…

I will look through this when I get some time! PM me and remind me next week. I want to read it.. when I have time! :)

Awkwardsaw

2011-07-08 00:58:24

From: Nava2
:D Its not the first free one…

I will look through this when I get some time! PM me and remind me next week. I want to read it.. when I have time! :)


Who beat me to it? :)

Harry

2011-07-08 15:14:29

From: Awkwardsaw
Who beat me to it? :)

Sp0rkeh years ago had a nice stable SCAR one. And some Java bots and such.

Awkwardsaw

2011-07-08 15:33:33

From: Harry
Sp0rkeh years ago had a nice stable SCAR one. And some Java bots and such.


If I remember that was just for the enchantment part, I had one too :p

Awkwardsaw

2011-07-10 16:01:12

Huthaifah says he had a 26 hour run in alchemy, but forgot to get a pic, just sayin :)

Bonfield

2011-07-10 17:55:18

How did he get a 24 hour proggy? Was it one peson? I think the highest I got was around 5 hours last night in the graveyard, I can post when I get home

Also how is the enchanting going for everyone else? I tried yesterday and it only lasted a minute, it enters and it's like it's lost and just logs out, maybe more debug to see where it's getting stuck?

Awkwardsaw

2011-07-10 20:46:59

From: Bonfield
How did he get a 24 hour proggy? Was it one peson? I think the highest I got was around 5 hours last night in the graveyard, I can post when I get home

Also how is the enchanting going for everyone else? I tried yesterday and it only lasted a minute, it enters and it's like it's lost and just logs out, maybe more debug to see where it's getting stuck?


enchantment is really messed up :\ I'm only getting like 400-500 points/h, when it should be like 1-1.2k I honestly don't know what's up, since i changed nothing when it started to suck

Bonfield

2011-07-11 00:21:07

I also had a issue with the tele room to, when I get home today I will try to run each room and let you know what's happening, I also suggest you add more debug so you know whats happening, an things like timing of functions eg how long each maze takes to solve how long to bank etc just so you know where this script is getting stuck/taking longer

edit:

first one is maze, second is graveyard

here are a few proggies, i will run each room now

has Huthaifah said anything about the script? i think the longest run i have had was 6 hours, then there must have been a forced logout then the script couldnt start, thats just an assumption though

BraK

2011-07-11 06:25:06

Does the script bank? If so I need to change something on the Form.

~BraK

Bonfield

2011-07-11 06:29:20

i havent used one with a form, i will update it… script in the first post doesnt use a form?

BraK

2011-07-11 06:37:42

The form isn't added yet… I'm still building it :)

~BraK

E: It's pretty big and complex.

Bonfield

2011-07-11 06:45:28

i can imagine sounds good though, the script banks but its not for food or runes or anything, its for differrent rooms enchanting and graveyard just to deposit stuff, thats all

have you run this script? just want to know how it goes for you

BraK

2011-07-11 06:52:41

Nah I haven't really run the Script I'm just building the Player Form with some Extra's that Awkwardsaw wanted added. Plus somethings that I thought looked cool.

~BraK

E: the form is going to be awesome :)

Bonfield

2011-07-11 06:55:49

cant wait, goodluck

Awkwardsaw

2011-07-11 10:49:05

From: BraK
Nah I haven't really run the Script I'm just building the Player Form with some Extra's that Awkwardsaw wanted added. Plus somethings that I thought looked cool.

~BraK

E: the form is going to be awesome :)


I too can't wait :)

Bonfield

2011-07-11 16:12:34

hows updating going?

Awkwardsaw

2011-07-12 15:51:47

From: Bonfield
hows updating going?


I was on vacation, so I really couldnt do anything for the past 4 days. After I add multi arenas, and find out how to fix Enchantment, I'll update

Awkwardsaw

2011-07-20 16:25:09

finally got around to updating. Made it so you can go to a different arena after a certain amount of points. Just make sure you have the correct staff(required) and runes to do the best spell you can cast for each arena.

Also added debug box report. Getting closer to final release :)

Bonfield

2011-07-20 18:36:28

How's enchanting going? Sorry i haven't had time to test it lately

Awkwardsaw

2011-07-20 18:38:39

From: Bonfield
How's enchanting going? Sorry i haven't had time to test it lately


It's still only getting 550-650 points per hour :\ I probably need to rewrite the entire thing to make it more efficient

BraK

2011-07-22 05:06:46

I'm going to try and get the motivation to finish the side project this weekend. I'll worry about making it super sick later.

@Awkwardsaw Are you saving the Users personal Stats to a INI already. I still have yet to run the Script XD.

~BraK

Bonfield

2011-07-22 07:54:00

From: Awkwardsaw
It's still only getting 550-650 points per hour :\ I probably need to rewrite the entire thing to make it more efficient


really i couldnt get it to run for 10 minutes kept getting lost, when i get a chance i will try the latest version

Awkwardsaw

2011-07-22 10:35:00

From: BraK
I'm going to try and get the motivation to finish the side project this weekend. I'll worry about making it super sick later.

@Awkwardsaw Are you saving the Users personal Stats to a INI already. I still have yet to run the Script XD.

~BraK


I'm not saving anything to INI yet :)

BraK

2011-08-11 19:33:04

Got caught up in my excitement and was going way overboard in some places so I decided to tone it down a bit. Here's what I currently have. Unzip the files and put them in the same folder.

YoHoJo

2011-08-14 19:09:49

Moved to Public Scripts

Awkwardsaw

2011-08-14 19:32:06

thanks <3

PotentPK

2011-08-15 21:59:45

What are the reqs for this? Can't you make decent money here?

Flight

2011-08-15 22:06:19

So, Awkward, wanna share you php stats-grabber :)?

Awkwardsaw

2011-08-15 22:20:20

From: Flight
So, Awkward, wanna share you php stats-grabber :)?


<?php

header("Content-type: image/png");

$stats = file_get_contents("http://stats.villavu.com/api/script/145");
$stats_array = json_decode($stats, true);

function simplify_vars(&$stats_array) {
foreach ($stats_array["vars"] as $array) {
$stats_array[$array[1]] = $array[0];
}
unset($stats_array["vars"]);
}

simplify_vars($stats_array);

//putenv("GDFONTPATH=".realpath("."));

$img = imagecreatefrompng("mta_sig_1.png");



$color["yellow"] = imagecolorallocate( $img, 255, 255, 0 );
$color["white"] = imagecolorallocate( $img, 255, 255, 255 );
$color["green"] = imagecolorallocate( $img, 0, 255, 128 );
$color["orange"] = imagecolorallocate( $img, 254, 179, 0 );

function rs_color($value) {
if ($value < 100000) {
return "yellow";
} elseif ($value > 100000 && $value < 10000000) {
return "white";
} else {
return "green";
}
}

function rs_value($value) {
if ($value < 100000) {
return $value;
} elseif ($value > 100000 && $value < 10000000) {
return substr($value, 0, strlen($value) - 3)."K";
} else {
return substr($value, 0, strlen($value) - 6)."M";
}
}

imageString($img, 10, 130, 15, $stats_array["time"], $color[rs_color($stats_array["Time"])]);
imageString($img, 10, 130, 28, $stats_array["Enchantment Points (Gained)"], $color[rs_color($stats_array["Enchantment Points (Gained)"])]);
imageString($img, 10, 130, 41, $stats_array["Telekinesis Points (Gained)"], $color[rs_color($stats_array["Telekinesis Points (Gained)"])]);
imageString($img, 10, 360, 15, $stats_array["Magic EXP (Gained)"], $color[rs_color($stats_array["Magic EXP (Gained)"])]);
imageString($img, 10, 360, 28, $stats_array["Graveyard Points (Gained)"], $color[rs_color($stats_array["Graveyard Points (Gained)"])]);
imageString($img, 10, 360, 41, $stats_array["Alchemy Points (Gained)"], $color[rs_color($stats_array["Alchemy Points (Gained)"])]);
imageString($img, 10, 110, 53, $stats_array["last_commit_by:"], $color[rs_color(100000)]);
imageString($img, 10, 335, 55, $stats_array["last_commit_on:"], $color[rs_color(100000)]);



imagepng($img);
imagedestroy($img);




?>

I got most of it from frement's JSON tut :p

@PotentPK: I think the highest requirement is 37, but its not fully effective till lvl 65 + bones to peaches spell. And yes, it does make good money concidering it's mage exp :)

Flight

2011-08-15 22:26:42

Thanks! I read over Wizzup?'s Stats API Signature tutorial and he mentioned using JSON to grab/parse information from Stats, and I really know nothing about either one, so seeing an example like yours is great! :)

Mr Apple

2011-08-31 13:20:54

ok i've read through a bunch of stuff and i have money to work with but i'm not sure how much of ea rune i should start with, i have 30k nats so far because i was alching but i want to help out with this script… i'm pretty novice at scripting but i am an alright botter (57-99 range botted and 35-85 mage botted)



I'm also getting this error when i try to compile:

[Hint] C:\Simba1\Includes\Reflection\./Core/Players.simba(86:3): Variable 'TEMP1' never used at line 85
[Hint] C:\Simba1\Includes\Reflection\./Core/Players.simba(86:3): Variable 'TEMP2' never used at line 85
[Error] (325:13): Unknown identifier 'getpoints' at line 324
Compiling failed.

Mr Apple

2011-08-31 14:01:08

From: BraK
Got caught up in my excitement and was going way overboard in some places so I decided to tone it down a bit. Here's what I currently have. Unzip the files and put them in the same folder.


which folder??

Awkwardsaw

2011-08-31 14:27:20

From: Mr Apple
which folder??


Dont worry about it, the form doesnt work yet :p

As for the runes, you only need the right staffs for each spell, and law, cosmic, and nature runes.

telekinetic: Air staff
graveyard: Mud staff
alchemy: Any staff that gives fire runes
enchantment: The staff that fits your spell. for example, if your doing onyx(level 6), you need a lava staff

Mr Apple

2011-08-31 15:10:34

From: Awkwardsaw
Dont worry about it, the form doesnt work yet :p


cooool, what about for the

[Hint] C:\Simba1\Includes\Reflection\./Core/Players.simba(86:3): Variable 'TEMP1' never used at line 85
[Hint] C:\Simba1\Includes\Reflection\./Core/Players.simba(86:3): Variable 'TEMP2' never used at line 85
[Error] (325:13): Unknown identifier 'getpoints' at line 324
Compiling failed.

part?

Hmm now that part is gone but i'm getting:

Loaded fonts: BigChars, CharsNPC, CharsTrade, FriendChars, LoginChars, SmallChars, StatChars, UpChars, XPChars
[Error] (185:12): Unknown type 'TRSObject' at line 184
Compiling failed.