SRL Archive - RS3 Outdated / Broken Scripts

ChaosMossKiller


Shatterhand

2012-02-03 05:27:39

OUTDATED!
Features
Fights mossies in the Chaos Tunnel.
Picks up bones, uses Bones to peaches.
Loots charms and valuables.*
Uses specials of primary weapons.
Changes world if someone is around.
No random events in the cave!
Makes screenshots on levelups and stops.
* Doesnt loot everything. Randomly checks bones.

How to set up
Recommended: 85+ combat with some defense
Inventory: Full lobsters, B2P tablets on the 28th slot!
If looting is on, move ur valuables to the first slots and drop junks before starting.

Walk to mossies.
Turn off XP Pop-ups!
Turn off money pouch.
Set camera zoom to the right.
Read carefully lines 13-41.
Start script.
Enjoy!


Progress reports
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ChaosMossKiller v6.2
* Time Running: 44 Hours, 53 Minutes and 44 Seconds
* STR XP Gained: 2143756 (47750)
* STR Level: 90, XP till next: 543294
* B2P: 41 Food: 1071
* Not picking up charms.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[URL="http://villavu.com/forum/showpost.php?p=1099804&postcount=596"]^by Deni_mulic[/URL]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ChaosMossKiller v6.2
* Time Running: 38 Hours, 15 Minutes and 30 Seconds
* STR XP Gained: 1723634 (45053)
* STR Level: 83, XP till next: 192924
* B2P: 37 Food: 1003
* Not picking up charms.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[URL="http://villavu.com/forum/showpost.php?p=1098464&postcount=593"]^by Deni_mulic[/URL]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ChaosMossKiller v6.1
* Time Running: 11 Hours, 31 Minutes and 58 Seconds
* DEF XP Gained: 654455 (56746)
* DEF Level: 92, XP till next: 80135
* B2P: 6 Food: 115
* Charms: 384/32/5/26
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[URL="http://villavu.com/forum/showpost.php?p=1087335&postcount=559"]^by bweibking[/URL]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ChaosMossKiller v6.0
* Time Running: 10 Hours, 55 Minutes and 36 Seconds
* ATK XP Gained: 0 (0)
* ATK Level: xx, XP till next: xxxxx
* B2P: 6 Food: 121
* Charms: 352/30/11/24
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[URL="http://villavu.com/forum/showpost.php?p=1041716&postcount=372"]^by saosin[/URL]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ChaosMossKiller v6.0
* Time Running: 10 Hours, 50 Minutes and 36 Seconds
* ATK XP Gained: 516406 (47623)
* ATK Level: 97, XP till next: ~
* B2P: 5 Food: 109
* Charms: 447/37/6/15
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[URL="http://villavu.com/forum/showpost.php?p=1061490&postcount=468"]^by Mjordan[/URL]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ChaosMossKiller v6.0
* Time Running: 9 Hours, 13 Minutes and 47 Seconds
* STR XP Gained: 504150 (54622)
* STR Level: 97, XP till next: 687369
* B2P: 5 Food: 97
* Charms: 451/29/3/24
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[URL="http://villavu.com/forum/showpost.php?p=1054569&postcount=435"]^by probot[/URL]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ChaosMossKiller v6.0
* Time Running: 9 Hours, 6 Minutes and 49 Seconds
* DEF XP Gained: 353676 (38807)
* DEF Level: 79, XP till next: 29234
* B2P: 6 Food: 122
* Charms: 243/20/3/28
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[URL="http://villavu.com/forum/showpost.php?p=1059984&postcount=460"]^by John[/URL]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ChaosMossKiller v6.0
* Time Running: 8 Hours, 1 Minutes and 9 Seconds
* RNG XP Gained: 294241 (36691)
* RNG Level: 88, XP till next: 219915
* B2P: 8 Food: 176
* Charms: 157/9/2/8
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[URL="http://villavu.com/forum/showpost.php?p=1088609&postcount=560"]^by wildnest1[/URL]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ChaosMossKiller v6.1
* Time Running: 7 Hours, 57 Minutes and 3 Seconds
* XP Gained: 151258 (19024)
* Level: -1, XP till next: -1
* B2P: 0 Food: 16
* Charms: 316/22/8/13
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[URL="http://villavu.com/forum/showpost.php?p=1087233&postcount=557"]^by chief herb[/URL]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ChaosMossKiller v6.0
* Time Running: 7 Hours, 56 Minutes and 35 Seconds
* ATK XP Gained: 331623 (41749)
* ATK Level: 91, XP till next: 272070
* B2P: 3 Food: 60
* Charms: 250/22/2/12
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[URL="http://villavu.com/forum/showpost.php?p=1039317&postcount=348"]^by saosin[/URL]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ChaosMossKiller v6.0
* Time Running: 7 Hours, 41 Minutes and 0 Seconds
* DEF XP Gained: 295796 (38498)
* DEF Level: 77, XP till next: 76023
* B2P: 4 Food: 93
* Charms: 190/14/7/13
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[URL="http://villavu.com/forum/showpost.php?p=1059394&postcount=457"]^by John[/URL]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ChaosMossKiller v6.0
* Time Running: 7 Hours, 17 Minutes and 15 Seconds
* ATK XP Gained: 409092 (56134)
* ATK Level: 92, XP till next: 588755
* B2P: 0 Food: 13
* Charms: 338/25/8/16
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[URL="http://villavu.com/forum/showpost.php?p=1047683&postcount=412"]^by S i lex[/URL]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ChaosMossKiller v6.0
* Time Running: 6 Hours, 42 Minutes and 50 Seconds
* ATK XP Gained: 468970 (69850)
* ATK Level: 90, XP till next: 11162
* B2P: 0 Food: 0
* Charms: 284/13/5/14
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[URL="http://villavu.com/forum/showpost.php?p=1056877&postcount=446"]^by feh55[/URL]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ChaosMossKiller v6.0
* Time Running: 6 Hours, 40 Minutes and 55 Seconds
* ATK XP Gained: 309937 (46383)
* ATK Level: 90, XP till next: 374701
* B2P: 4 Food: 66
* Charms: 302/20/3/7
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[URL="http://villavu.com/forum/showpost.php?p=1052099&postcount=425"]^by Mjordan[/URL]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ChaosMossKiller v6.0
* Time Running: 6 Hours, 26 Minutes and 36 Seconds
* DEF XP Gained: 331XXX (51XXX)
* DEF Level: XX, XP till next: XXXXXX
* B2P: 2 Food: 56
* Charms: 2XX/18/X/1X
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[URL="http://villavu.com/forum/showpost.php?p=1042035&postcount=374"]^by ShadowsTM[/URL]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ChaosMossKiller v6.0
* Time Running: 6 Hours, 7 Minutes and 0 Seconds
* STR XP Gained: 240319 (39289)
* STR Level: 71, XP till next: 3907
* B2P: 4 Food: 83
* Charms: 211/14/4/12
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[URL="http://villavu.com/forum/showpost.php?p=1030119&postcount=303"]^by gdsht[/URL]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ChaosMossKiller v6.0
* Time Running: 6 Hours, 4 Minutes and 9 Seconds
* STR XP Gained: 297753 (49058)
* STR Level: 94, XP till next: 655450
* B2P: 0 Food: 5
* Not picking up charms.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[URL="http://villavu.com/forum/showpost.php?p=1044286&postcount=393"]^by The Cat[/URL]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ChaosMossKiller v6.0
* Time Running: 5 Hours, 1 Minutes and 57 Seconds
* ATK XP Gained: 294794 (58577)
* ATK Level: ??, XP till next: 50----
* B2P: 3 Food: 54
* Charms: 266/25/0/14
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[URL="http://villavu.com/forum/showpost.php?p=1047027&postcount=403"]^by Jammycaliber[/URL]

Updates
v7.2 (9 Nov)
- improved looting, fixed problems
v7.1 (16 Oct)
- improved looting: looting in list order, looting more items from a heap
v7.0 (9 Oct)
- added BrakeMMouse (thanks to Flight)
- looting: charms and valuables
- improved fighting detection (safespot ranging)
- works with Chaos Tunnel update
v6.2 (23 Aug)
- improved eating, b2p using
- improved bones looting, using CTS 2
- warning for low combat level
- training HP is now supported
- shared attack stlye is now supported, total xp counting
- script stops at level 99
- fixed p2p world choosing
v6.1 (15 Aug)
- works with Simba 991, Smart 7.2
- client token error handling
- new on screen report
- more accurate LevelUpCheck
- changed colors for charms
v6.0 (19 May)
- removed xp based fighting, its safer now
- modified paintdebug
- ammo check: will remove weapon to avoid death
- added SRL stats (no variables yet)
v5.9 (15 May)
- improved fighting (xp based, click detection)
- improved charm looting
- added special attack support for primary worn weapons
- removed RandomTab function
- ranging is fully supported!
- dead Moss in PaintDebug
v5.8 (7 May)
- PaintSmart is back (PaintStatus and PaintDebug)
- small changes in debug window
- option to set clickmode (only left click, only right click, both)
- color fixes for Mosses
v5.7 (30 April)
- no more SmartEnabled error
v5.6 (27 April)
- fixed colors for Mosses
- added SPS
- will walk back to center when trapped at corner near portal
- will eat to full hp
v5.5 (21 April)
- VERY FAST fighting method
- will eat more
- added RandomTabs function
- new report stlye
v5.4 (16 April)
- fixed eating bug
- small improvements
v5.3 (13 April)
- fixed DTMs for B2P tablet and Lobser
- RNG support
- small improvements
v5.2 (6 April)
- new DebugMode
- small improvements
v5.1 (2 April)
- bug fixes (eating)
- better charm looting (MyChooseOption)
- some fighting improvement
v5.0 (1 April)
- TPAs
- B2P support
- charms looting
v4.0 (22 March)
- script is fully reworked
- no more paint on smart
v3.2 (27 Feb)
- screenshots when stopped
- some bug fixes
v3.1: (25 Feb)
- left click attacking
- DTMs
v3.0: (22 Feb)
- new updater (google code)
- new paints on smart
- multiplayer support
v2: (early Feb)
- faster moss detection
- some improvements
Please post proggies, and make suggestions. Thanks.
All RSGP Donations are Welcome! :)

No more auto updating! Download here the latest version!

gabi95

2012-02-03 12:01:04

Nice, first post :)

trials6112

2012-02-03 12:05:47

i pm'd you :)

gabi95

2012-02-03 12:15:04

Awesome bot, runned for 1 hour!!!@

tayl0r

2012-02-04 09:16:54

When I try to run it, it says Exception in Script: Plugin(libsmart32) has not been found. Help

Shatterhand

2012-02-04 09:34:36

From: tayl0r
When I try to run it, it says Exception in Script: Plugin(libsmart32) has not been found. Help

I dont get this error. This must be the first time you run a script. Follow this guide first:
http://villavu.com/forum/showthread.php?t=57883
Good luck. :)

vcheckv

2012-02-05 04:14:28

From: tayl0r
When I try to run it, it says Exception in Script: Plugin(libsmart32) has not been found. Help


all you need to do is update srl sps and msi

vcheckv

2012-02-05 04:16:47

looks great, nice.!

rolladrifta

2012-02-05 06:08:22

is there known problems with windows 7 64bit running simba? not having much luck running scripts

Shatterhand

2012-02-05 06:26:32

From: rolladrifta
is there known problems with windows 7 64bit running simba? not having much luck running scripts

Give more details so we can help you.

blye

2012-02-10 21:06:14

not bad. quite well done. i'd try killing mossies there with other such bots but was hard. strangely my account clicked the rope and climbed out :o reason why you baby sit your bots for a while, change then use again.

Shatterhand

2012-02-11 16:10:43

From: blye
not bad. quite well done. i'd try killing mossies there with other such bots but was hard. strangely my account clicked the rope and climbed out :o reason why you baby sit your bots for a while, change then use again.

Wat rope? :O

blye

2012-02-11 18:36:55

its in the other moss giants in chaos tunnels. the one where you go down the rope and you see the giants right there. works well there btw

Shatterhand

2012-02-12 05:07:25

From: blye
its in the other moss giants in chaos tunnels. the one where you go down the rope and you see the giants right there. works well there btw

Dont use the script there, I tested it only at my place. :)

Velozity

2012-02-13 01:39:17

Does it pick up effigys? If not, please add it, would be very nice.

Shatterhand

2012-02-13 11:01:45

From: Velozity
Does it pick up effigys? If not, please add it, would be very nice.

No way.

exilednoob

2012-02-14 03:56:54

What kind of drops does this pick up?

Shatterhand

2012-02-14 09:53:07

From: exilednoob
What kind of drops does this pick up?

Nothing, its a killer. Learn to read.

Velozity

2012-02-14 18:06:44

Then may I ask, you give me permission to add effigy looting for myself? I wont publish code or anything like that, just make it pick effigys for me.

Shatterhand

2012-02-14 18:16:44

From: Velozity
Then may I ask, you give me permission to add effigy looting for myself? I wont publish code or anything like that, just make it pick effigys for me.


Well, adding looting is not that easy. First, as this is a color script, it will work well only if the pickup colors are much different than mossies. Second, to add effigy to loot, I need one to get the colors and test. And I wont babysit the bot till it drops one…
Sure, you can add it, I give you the permission. You can always modify the script for yourself. I do that too on all other scripts. Goodluck! :)

SlyPig

2012-02-15 19:05:47

Very good script!

i've had some strange drops though.. i was just watching it and i picked up 4 magic seeds totalling over 1 mill! wtf?! i know this happened because i just seen it.. but according to runescape wiki the moss giants don't even drop magic seeds.

The bad: i need to watch it for drops

Shatterhand

2012-02-16 13:32:15

From: SlyPig
Very good script!

i've had some strange drops though.. i was just watching it and i picked up 4 magic seeds totalling over 1 mill! wtf?! i know this happened because i just seen it.. but according to runescape wiki the moss giants don't even drop magic seeds.

The bad: i need to watch it for drops


Nice! Maybe those items are from rare drop tables. I used to bot a lot at mossies with iBot, I got once 2m drop, thousands of yews. :)

New version coming soon!

Bobaa

2012-02-21 15:01:22

it doesn't seem to eat any lobsters :s
my hp is at like 75% full and i'd thought that atleast now it would eat one

EDIT
it works. my mistake :)

ILikeSmoothHeads

2012-02-22 02:50:17

Works really well! an for over 2hours, eats and is very efficient at killing! Thanks for this script.

Gestapo

2012-02-22 02:52:05

nice script there lol i got them for slayer task on my summ pure but my simba wont work . some error on line 559 :/

Shatterhand

2012-02-22 03:10:48

From: Xenophis
nice script there lol i got them for slayer task on my summ pure but my simba wont work . some error on line 559 :/

Close the whole program, and start again.

anth_

2012-02-23 06:36:19

Very nice :) A suggestion though, left instead of right-clicking when attacking them? Might be faster.

Shatterhand

2012-02-23 11:36:13

From: divina commedia
Very nice :) A suggestion though, left instead of right-clicking when attacking them? Might be faster.

Its not that easy. I mean, I could change to left clicking, but that would waste more time in long term, than with right clicking. Its safer.

anth_

2012-02-23 11:42:08

From: hunt3rx3
Its not that easy. I mean, I could change to left clicking, but that would waste more time in long term, than with right clicking.


Fair enough, just looks more bot-like IMO, but that's just me :) Thank you anyway

Shatterhand

2012-02-23 12:11:43

From: divina commedia
Fair enough, just looks more bot-like IMO, but that's just me :) Thank you anyway

Yeah you are right, its very bot-like. With left click it will missclick a lot, need to make a fast infight checker and failsafe. Im working on a solution.

kebab12345

2012-02-23 18:02:46

good work man, using this bot alot, been botting for 20 days straight, 12 hours a day average, IMO best fighting bot at this point of time. (and i know what im talking about)
(it resembles an old powerbot bot which i used ALOT without bans:P )
thx man keep up the good work:P

doublex8

2012-02-23 19:54:19

From: hunt3rx3
Yeah you are right, its very bot-like. With left click it will missclick a lot, need to make a fast infight checker and failsafe. Im working on a solution.


Maybe talk to Laake? His Ghouler left clicks, maybe he has some pointers.

anth_

2012-02-24 04:14:44

Got a nice proggy so far:
]

Thanks! :)

Shatterhand

2012-02-24 05:34:49

From: kebab12345
good work man, using this bot alot, been botting for 20 days straight, 12 hours a day average, IMO best fighting bot at this point of time. (and i know what im talking about)
(it resembles an old powerbot bot which i used ALOT without bans:P )
thx man keep up the good work:P

Oh nice! Thanks. Post a proggie please! :)

Shatterhand

2012-02-24 05:37:03

From: doublex8
Maybe talk to Laake? His Ghouler left clicks, maybe he has some pointers.

I will check his script. I managed to switch to left clicking on my private script. It works, but sometimes missclicks… Have to make a very quick monster detection, so it could click faster.

Shatterhand

2012-02-24 05:42:58

Updated v3.1.
Left clicking now. Enjoy! :)

anth_

2012-02-25 15:17:17

I'm going to be using this instead of Pest Control on rarebot now. Extremely good job, and hopefully expect some big proggies from me <3 ;D

Godric

2012-02-25 15:54:11

Thanks a lot for this guild, and also for updating the Script!

Ashihtaka

2012-02-26 10:58:07

From: hunt3rx3
Updated v3.1.
Left clicking now. Enjoy! :)


So did you change v3.0 to 3.1? or is 3.1 not uploaded yet

Shatterhand

2012-02-27 12:59:15

From: ashihtaka
So did you change v3.0 to 3.1? or is 3.1 not uploaded yet

Sorry I forgot to do that.
v3.2 is out now! :)

burni

2012-02-28 23:27:45

I love this script, it almost runs forever :)

I am trying to understand the logic of the script in general and there is a particular part near the end that I am particularly curious about. I am wondering where in the script does it decide to wait until the red hp bar disappears before it attacks next mossy. Is it in this part of the script?


MarkTime(redbarTime);
redbarDTM := DTMFromString('mWAAAAHicY2FgYOBjZGDgAmJOKH0IKHYAiA8D8TEg3sfBwmDNzgTHrEAxZMyIhkEAABsyBO0=');
repeat
Wait(250); //here we wait until we see redbar
Antiban;
until FindDTM(redbarDTM,x,y,MSX1,MSY1,MSX2,MSY2) or (TimeFromMark(redbarTime)>Players[CurrentPlayer].Integers[0])
FreeDTM(redbarDTM);

Shatterhand

2012-02-29 02:28:34

From: burni
I think a way to avoid the script from stopping at all would be: instead of logging out when cant find a moss giant, try walking to certains coords in the middle of the area and look again.


Well I got a member acc now, I will test this more, and improve. :)

burni

2012-02-29 03:07:28

From: hunt3rx3
Well I got a member acc now, I will test this more, and improve. :)


sweet, ive been playing around with wait times so the script goes a little faster. I edited my post while you were posting :O

Shatterhand

2012-02-29 03:17:14

From: burni
I love this script, it almost runs forever :)

I am trying to understand the logic of the script in general and there is a particular part near the end that I am particularly curious about. I am wondering where in the script does it decide to wait until the red hp bar disappears before it attacks next mossy. Is it in this part of the script?


MarkTime(redbarTime);
redbarDTM := DTMFromString('mWAAAAHicY2FgYOBjZGDgAmJOKH0IKHYAiA8D8TEg3sfBwmDNzgTHrEAxZMyIhkEAABsyBO0=');
repeat
Wait(250); //here we wait until we see redbar
Antiban;
until FindDTM(redbarDTM,x,y,MSX1,MSY1,MSX2,MSY2) or (TimeFromMark(redbarTime)>Players[CurrentPlayer].Integers[0])
FreeDTM(redbarDTM);


The code what u quoted is waiting until it sees redbar.
This will happen after the script found a moss, left clicked on it, and saw the greenbar in two seconds. If it doesnt see green bar after two seconds, it will find and click again.
The way I check for greenbar/redbars: I made DTMs for the left side of the bars. If we are in fight, the left side of the bar is green. If some one died, there is a bar with red on its left side.

burni

2012-02-29 03:33:24

From: hunt3rx3
The code what u quoted is waiting until it sees redbar.
This will happen after the script found a moss, left clicked on it, and saw the greenbar in two seconds. If it doesnt see green bar after two seconds, it will find and click again.


Ya i understand that part, so the code I quoted doesn't define when the next mossy is attacked?

My understanding:
-script is doing antiban in a loop while waiting for red bar
-red bar is found or not found (after specified amount)
-red bar is found
-then…FreeDTM tells script to move on (so look for mossy)

does FreeDTM somehow define that the red bar has disappeared?

Shatterhand

2012-02-29 03:40:27

From: burni
Ya i understand that part, so the code I quoted doesn't define when the next mossy is attacked?

My understanding:
-script is doing antiban in a loop while waiting for red bar
-red bar is found or not found (after specified amount)
-red bar is found
-then…FreeDTM tells script to move on (so look for mossy)

does FreeDTM somehow define that the red bar has disappeared?

FreeDTM is just to free up memory.
The whole thing is in a big while do circle, so after it found redbar, it will exit that repeat until and move on to that Wait() function (that is for not to attack the dying moss giant again). After Wait() function it will check for randoms, then eat if necessary. Then it starts over.
If it missed seeing the redbar (maybe lag or whatever) then it will wait until we get out of fight. We are in fight when we can see any hpbars. This is why this script has to hop worlds when people around, otherwise this system would not work properly. :)

burni

2012-02-29 03:51:50

From: hunt3rx3
FreeDTM is just to free up memory.
The whole thing is in a big while do circle, so after it found redbar, it will exit that repeat until and move on to that Wait() function (that is for not to attack the dying moss giant again). After Wait() function it will check for randoms, then eat if necessary. Then it starts over.
If it missed seeing the redbar (maybe lag or whatever) then it will wait until we get out of fight. We are in fight when we can see any hpbars. This is why this script has to hop worlds when people around, otherwise this system would not work properly. :)


Ohhh, ty. That makes sense, I wasn't thinking about how the script would detect the mossy dying. And ya i like that hop world function. I like this way for detecting combat, since other scripts will try to attack the next npc too early which slows things down in non-multi.

Btw, I really like how the script runs when it only waits .5-1 second for green bar, because it misses the moss giants a lot when they are moving. Only rarely does the low wait time cause you to attack a 2nd mossy, which is okay with me since its multi.

bloodvouge

2012-02-29 04:03:15

I seem to have an issue with it not wanting to pick up bones and bury, and bonecrusher is set to false so i assumed that it would collect/bury them? any ideas

burni

2012-02-29 04:10:28

From: bloodvouge
I seem to have an issue with it not wanting to pick up bones and bury, and bonecrusher is set to false so i assumed that it would collect/bury them? any ideas


I don't believe the script supports any pick ups, so no burying either.

bloodvouge

2012-02-29 06:05:38

From: burni
I don't believe the script supports any pick ups, so no burying either.


Will the script involved bone pick ups? Or can somebody teach me how to input that into the code myself?

Shatterhand

2012-02-29 06:18:10

From: bloodvouge
Will the script involved bone pick ups? Or can somebody teach me how to input that into the code myself?

No, it would slow down the script. Get a bonecrusher. :)

burni

2012-02-29 07:29:01

From: hunt3rx3
No, it would slow down the script. Get a bonecrusher. :)


I knew that would be your stance lol, I just didn't wanna answer for you.

EvilTwin

2012-03-03 11:35:25

my proggy taken yesterday :)


Shatterhand

2012-03-03 11:52:34

From: EvilTwin
my proggy taken yesterday :)

Thank. :)

petter95

2012-03-05 02:10:23

Hello, im running the scritp now its fine but, can you please make it click faster. when its finished with one giant it takes a few seconds even before the mouse move.. when im almost maxed combat this is annoying beacause i 2 hit almost every giant, so please speed up for maximim xp per hour, and maybe you could add pots later on, nothing is like combat training with em pots, please reply on this one.

Nithin93

2012-03-05 12:01:16

Hmm it keeps misclicking

bobowns

2012-03-05 17:06:36

would b awesome if you added prayer pot/renewal support but this is still a good script :D

Shatterhand

2012-03-06 00:51:20

From: bobowns
would b awesome if you added prayer pot/renewal support but this is still a good script :D

Prayers for what? ..

Specter

2012-03-12 19:50:33

hello,

Error: Exception: Access violation at line 142
The following DTMs were not freed: [SRL - Lamp bitmap, 1]
The following bitmaps were not freed: [SRL - Mod bitmap, SRL - Admin bitmap, SRL - Flag bitmap]

Can u tell me how to fix it?

Specter

Silentcore

2012-03-12 20:05:21

I just started using tis script yesterday and ran it for 12 hours with 5 minute breaks at the 6th hour. Let me tell you that I haven't gotten any sort of random or bug.

Shatterhand

2012-03-13 03:20:49

From: Specter
hello,

Error: Exception: Access violation at line 142
The following DTMs were not freed: [SRL - Lamp bitmap, 1]
The following bitmaps were not freed: [SRL - Mod bitmap, SRL - Admin bitmap, SRL - Flag bitmap]

Can u tell me how to fix it?

Specter

Close simba, and restart. That should fix it.

From: Ucantseemebot
I just started using tis script yesterday and ran it for 12 hours with 5 minute breaks at the 6th hour. Let me tell you that I haven't gotten any sort of random or bug.

Thanks for feedback. Post proggies if u can. :)

SimbaJr

2012-03-15 09:12:20

You should make a f2p moss giant killer. XD

Shatterhand

2012-03-15 18:46:18

From: SimbaJr
You should make a f2p moss giant killer. XD

Its too crowded at varrock sewer mossies. Maybe Crandor island.

MausaufTisch

2012-03-18 18:07:08

to let this scripts run unlimited you should add bones to peaches (b2p) support!

0UT2K1LL

2012-03-18 20:26:16

Great Script! Went on multiple runs flawlessly @ around 3hrs until ran out of food.
I attached a pic of a quick 30min proggy during the double xp weekend.

Keep up the good work! Rep++

Tommm39

2012-03-19 09:59:51

does this pick up any loot? charms/effigys/rare seeds? if not that would be a great addition!

DatJarvan

2012-03-19 15:11:49

From: Tommm39
does this pick up any loot? charms/effigys/rare seeds? if not that would be a great addition!


Nope, it doesn't pick up anything. Personally, I'm rather glad it doesnt.

This is a great script. have ran for 11 hours in 1 proggy (or close to it) gaining a great amount of exp during the process.

Great script bro. I'd love to donate some rsgp to you if you'd like.

Shatterhand

2012-03-19 17:09:50

Thanks for feedbacks guys!
It doesnt pick up anything cause its a lot faster this way. With 60+ def you dont really need food.
DatJarvan: thanks, sure I can take ur donate. :)
New version is coming!

MausaufTisch

2012-03-21 15:41:47

it doesnt food for me

Shatterhand

2012-03-21 16:22:48

From: MausaufTisch
it doesnt food for me

ok.

bbassett

2012-03-22 13:54:42

Shared thanks to you and "RISK's Range Guilder" - I used Risk's (after a bit of tweaking to keep it working for me - nothing too clever though!) up to the mid 90's and then this fantastic script to power through to 99 Ranging - Thanks guys, I hate the people that abuse on the forums, but the majority out here appreciate the skills you have and share freely - cheers all :-)

Silentcore

2012-03-22 14:00:36

From: bbassett
Shared thanks to you and "RISK's Range Guilder" - I used Risk's (after a bit of tweaking to keep it working for me - nothing too clever though!) up to the mid 90's and then this fantastic script to power through to 99 Ranging - Thanks guys, I hate the people that abuse on the forums, but the majority out here appreciate the skills you have and share freely - cheers all :-)


What was your ranged equipment including arrows?

bbassett

2012-03-22 14:22:40

From: Ucantseemebot
What was your ranged equipment including arrows?

Didn't want to risk torva and leave unattended - don't always trust ring of life.
Used Karils, torags helm, dark bow, avas & a stock of 15000 rune arrows (earnt using ranging guild tickets). used an inventory of lobsters about every 12-15 hours. Found this method MUCH more stable than ranging guild, only cost being lobs, averaging 38-40k xp hour

Shatterhand

2012-03-22 14:46:16

From: bbassett
Didn't want to risk torva and leave unattended - don't always trust ring of life.
Used Karils, torags helm, dark bow, avas & a stock of 15000 rune arrows (earnt using ranging guild tickets). used an inventory of lobsters about every 12-15 hours. Found this method MUCH more stable than ranging guild, only cost being lobs, averaging 38-40k xp hour


Thanks for this feedback! I didnt test this on ranged, I thought that would be very ineffective. What was your defense level? Grats on 99! :)
By the way the script is updated!

bbassett

2012-03-22 15:00:31

From: hunt3rx3
Thanks for this feedback! I didnt test this on ranged, I thought that wouble be very ineffective. What was your defense level? Grats on 99! :)
By the way the script is updated!

Defence is 99 - I guessed ranging was not your original intention, but ineffective or not, I was getting more xp than the ranging guild, with 100% stability thrown in. And no shortage of targets. Another bonus is that it's nice and quiet down there - the world switching works VERY well :-) and the avas recovered most of the arrows. Will definitely grab the updated for my other accounts (though the version I was using was perfect imho). And I'm actually pleased it didn't try collecting charms etc, it kept things straightforward and fast. I'm going to have a play to see if I can change to rocktails. Thx again

bbassett

2012-03-22 17:23:26

Okay - I give up….I'm trying to get it to find and eat rocktails, not lobsters - not because I need to, just thought it would be interesting to try and change. I can see where you set it, but not how you specify lobster? Can you point me in the right direction of where to start looking to change?

Shatterhand

2012-03-22 17:35:28

From: bbassett
Okay - I give up….I'm trying to get it to find and eat rocktails, not lobsters - not because I need to, just thought it would be interesting to try and change. I can see where you set it, but not how you specify lobster? Can you point me in the right direction of where to start looking to change?

Yes.
if (HPPercent<70) then
begin
lobs := 'mggAAAHicY2NgYPjPxMDAzczAwMcMYX8E4p9ALMbIwMAKxNxArMAI4fMC8f4EGaAuJgwsAiSxYUYcGAIAcgoGSA==';
if not EatFood(lobs) then
begin
Result := False;
Exit;
end;
end;
Here u give a DTM string to the function EatFood, and the function will eat lobsters. U have to make a DTM for Rocktails, and make a string, and do EatFood(rocktails).
Look for tutorials on how to make DTMs. Very easy.

bbassett

2012-03-22 17:42:30

From: hunt3rx3
Yes.
if (HPPercent<70) then
begin
lobs := 'mggAAAHicY2NgYPjPxMDAzczAwMcMYX8E4p9ALMbIwMAKxNxArMAI4fMC8f4EGaAuJgwsAiSxYUYcGAIAcgoGSA==';
if not EatFood(lobs) then
begin
Result := False;
Exit;
end;
end;
Here u give a DTM string to the function EatFood, and the function will eat lobsters. U have to make a DTM for Rocktails, and make a string, and do EatFood(rocktails).
Look for tutorials on how to make DTMs. Very easy.


Lol, whenever someone says "it's easy" I get embarrassed at just how long it takes me :-) Thanks hunt3rx3, I'll give this a go tomorrow. I could do my work but this is more interesting :-)

SplitBark

2012-03-23 08:30:54

"[Error] (499:5): Unknown identifier 'SmartSetEnabled' at line 498" Can you explaine to me what is wrong ?

Shatterhand

2012-03-23 09:21:09

From: SplitBark
"[Error] (499:5): Unknown identifier 'SmartSetEnabled' at line 498" Can you explaine to me what is wrong ?


oh yea sorry, my scripts are using the latest beta version of smart, so that function is unknown for the older version.
delete these lines:
if not SmartEnabled then
SmartSetEnabled(true);

kunzy

2012-03-28 18:41:53

:) nice script dude

SXxR

2012-03-29 07:17:02

I made a crude charm picker and added it to the script and I get 40 total charms per hour (it misses 30% of the charms) with it, mostly golds but the charm picker has caused some sort of a memory leak in the script making it lag a lot. It would be nice if you could implement charm picking in this script as missing 10-15 charms per hour makes me feel bad :(

Shatterhand

2012-03-29 12:50:38

From: SXxR
I made a crude charm picker and added it to the script and I get 40 total charms per hour (it misses 30% of the charms) with it, mostly golds but the charm picker has caused some sort of a memory leak in the script making it lag a lot. It would be nice if you could implement charm picking in this script as missing 10-15 charms per hour makes me feel bad :(

How much xp were u getting per hour? With what levels? Show some progress reports with it…
I dont like adding lootings into my scripts, cause they will waste a lot of time or make the script buggy. Second reason is I dont need summoning.

SXxR

2012-03-29 22:34:22

Alright, I'll get you two one hour proggies with and without the charm picker in a bit.

I burst for several hours a week for charms, if you implement a good charm picker I, along with several other users will save lots of time and gold if they plan to burst/go to waterfiends later.

You can add an option to disable the charm picker if it makes the script lag too much.

With ~50 str and ~70 atk and with the charmer

Time Running : 2 Hours, 7 Minutes and 51 Seconds
ATK XP Per Hour : 296xx
ATK XP Gained : 63xxx
ATK Level : 7x
XP till next lvl : 85xxx
WorldHops : 0

57 golds, 6 crims, 9 greens and one blue in this run. Approx 15%-20% of the charms missed.



With ~50 str and ~70 atk

Time Running : 2 Hours, 37 Minutes and 31 Seconds
ATK XP Per Hour : 355xx
ATK XP Gained : 929xx
ATK Level : 7x
XP till next lvl : xxx
WorldHops : 0


Sorry, I try to follow RiD's guidelines everywhere.

Shatterhand

2012-03-30 03:14:43

From: SXxR
Alright, I'll get you two one hour proggies with and without the charm picker in a bit.

I burst for several hours a week for charms, if you implement a good charm picker I, along with several other users will save lots of time and gold if they plan to burst/go to waterfiends later.

You can add an option to disable the charm picker if it makes the script lag too much.

With ~50 str and ~70 atk and with the charmer

Time Running : 2 Hours, 7 Minutes and 51 Seconds
ATK XP Per Hour : 296xx
ATK XP Gained : 63xxx
ATK Level : 7x
XP till next lvl : 85xxx
WorldHops : 0

57 golds, 6 crims, 9 greens and one blue in this run. Approx 15%-20% of the charms missed.



With ~50 str and ~70 atk

Time Running : 2 Hours, 37 Minutes and 31 Seconds
ATK XP Per Hour : 355xx
ATK XP Gained : 929xx
ATK Level : 7x
XP till next lvl : xxx
WorldHops : 0


Sorry, I try to follow RiD's guidelines everywhere.

Hmm this is good, so charms would not slow down XP/H that much. Although I dont have member account now (just run out of). And for charms, I'll need TPAs. Im newb with TPAs, just started learning it, already got a working private script with TPAs, but pickups would be new to me. :)

SXxR

2012-03-30 03:34:20

I can lend you my members account in about 9 hours from now for upto 10 hours after that if it can contribute to further development of this script.

Shatterhand

2012-03-30 05:03:44

From: SXxR
I can lend you my members account in about 9 hours from now for upto 10 hours after that if it can contribute to further development of this script.

Im getting membs on my other account. Thanks anyways.

SXxR

2012-03-30 05:27:46

ETA until charmer is implemented?

Shatterhand

2012-03-30 09:59:43

From: SXxR
ETA until charmer is implemented?

Cant say exact time or date . I have school and other stuff.
I will also add a B2P support. :)

SXxR

2012-03-30 11:25:36

I'm kinda excited for the release and looking forward to it :D

Shatterhand

2012-03-31 08:24:30

From: SXxR
I'm kinda excited for the release and looking forward to it :D

Hmm I think I will make two options:
Option 1: Must use bonecrusher, and it will loot charms. Eats food till runout. (for mains)
Option 2: Eats food till runourt. Then picking up bones, uses B2P, but wont loot any charms. (for low defense)
Cause its pretty hard to detect charms when bones are covering them…
edit: Option 2 is ready, working on Option 1. :)

SXxR

2012-03-31 09:30:46

I'll be using a bonecrusher all the time so option 1 will get me charms too :D

Shatterhand

2012-04-01 14:10:10

Script is updated! B2P and charms. Have fun testing! :)

SXxR

2012-04-01 22:54:15

[=================ChaosMossKiller_v5.0==================]
Time Running : 6 Hours, 23 Minutes and 52 Seconds
DEF XP Per Hour : 0
DEF XP Gained : 0
DEF Level : 72
XP till next lvl : 17526
Charms : 137/5/0/0
[=======================================================]

Idk why it didnt record the def exp..
182k def exp in 6 hours, not bad at all.

burni

2012-04-01 23:24:51

Trying this out with picking up charms for the first time. This script already got me 99 def :)

I only wish mossies dropped more charms -.-

Shatterhand

2012-04-02 08:00:42

From: SXxR
[=================ChaosMossKiller_v5.0==================]
Time Running : 6 Hours, 23 Minutes and 52 Seconds
DEF XP Per Hour : 0
DEF XP Gained : 0
DEF Level : 72
XP till next lvl : 17526
Charms : 137/5/0/0
[=======================================================]

Idk why it didnt record the def exp..
182k def exp in 6 hours, not bad at all.

It seems gold charm looting works pretty nice. :)
But idk about blue/crimsons.

SXxR

2012-04-02 11:33:56

It misses a lot of charms. About 40-45% of them. If there is a seed or coins over the charm, it doesnt pick it up. Might wanna work on that.

Shatterhand

2012-04-02 12:11:09

From: SXxR
It misses a lot of charms. About 40-45% of them. If there is a seed or coins over the charm, it doesnt pick it up. Might wanna work on that.

Hmmm. I will try to reduce the color count for it.

MausaufTisch

2012-04-02 14:05:47

its clicking on the same inv slot it clicked before for eating. and so he dies…. plaese fix it

Shatterhand

2012-04-02 14:12:25

From: MausaufTisch
its clicking on the same inv slot it clicked before for eating. and so he dies…. plaese fix it


There is a bug, when you go 80 hp under the value you set to eat at, it will eat one thinking we didnt eat yet and will keep clicking. I will fix it, but this bot is not for low levels. You must be lower than 80 combat and they are aggressive to you, thats why you died.

EDIT: Script is updated (v5.1). Cant make it to pick up charms when coins or anything covering them. Added a new method to get them: when right clicking on moss giants or bones it will pick up charms.
This is script is for training melee, dont plan getting 99 summoning with it. Enjoy. :)

MausaufTisch

2012-04-02 18:11:49

From: hunt3rx3
There is a bug, when you go 80 hp under the value you set to eat at, it will eat one thinking we didnt eat yet and will keep clicking. I will fix it, but this bot is not for low levels. You must be lower than 80 combat and they are aggressive to you, thats why you died.

EDIT: Script is updated (v5.1). Cant make it to pick up charms when coins or anything covering them. Added a new method to get them: when right clicking on moss giants or bones it will pick up charms.
This is script is for training melee, dont plan getting 99 summoning with it. Enjoy. :)


thank you very much (btw the acc i am currently botting is cb 75)

i will try it :)

Shatterhand

2012-04-03 00:29:44

From: MausaufTisch
thank you very much (btw the acc i am currently botting is cb 75)

i will try it :)

I advise you to baby sit the bot untill they get unaggressive, but they can get aggressive again when you go near the portal south.

MausaufTisch

2012-04-03 06:06:27

you should programm that the bot is eating more than only 1 when it needs to food

SXxR

2012-04-05 06:36:25

Gonna do a lil test run. Hopefully its more than 10k summoning exp p/h.

E;
[=================ChaosMossKiller_v5.1==================]
Time Running : 2 Hours, 14 Minutes and 5 Seconds
STR XP Per Hour : 0
STR XP Gained : 0
STR Level : 56
XP till next lvl : 22
Charms : 54/1/0/4
[=======================================================]
[19:23:04] Out of B2P tablets.
[19:23:04] Script stopped.
Successfully executed.

92.9k exp. Not bad.

Shatterhand

2012-04-05 11:06:35

From: SXxR
Gonna do a lil test run. Hopefully its more than 10k summoning exp p/h.

E;
[=================ChaosMossKiller_v5.1==================]
Time Running : 2 Hours, 14 Minutes and 5 Seconds
STR XP Per Hour : 0
STR XP Gained : 0
STR Level : 56
XP till next lvl : 22
Charms : 54/1/0/4
[=======================================================]
[19:23:04] Out of B2P tablets.
[19:23:04] Script stopped.
Successfully executed.

92.9k exp. Not bad.


You have to set up an XPBar for strength so it will count STR XP. :)

SXxR

2012-04-05 12:00:34

Wow. I missed that part. Another proggy coming up soon :D

Shatterhand

2012-04-07 14:53:39

From: SXxR
Wow. I missed that part. Another proggy coming up soon :D

Any feedbacks? :)

xdarkshadowx

2012-04-07 17:28:28

Pretty much flawless, picks up charms, attacks well, keeps itself alive with peaches. Well done sir, I will post a proggy when the script terminates. (I love the world hopping by the way! this is probably one of the safest scripts out there because of that).
I'm currently ranging with it using a CBow, so every once in awhile it gets confused and will get multiple mossies attacking it at once, but it's managing to stay alive quite well :)

[=================ChaosMossKiller_v5.2==================]
Time Running : 2 Hours, 25 Minutes and 19 Seconds
STR XP Per Hour : 26660
STR XP Gained : 64580
STR Level : 70
XP till next lvl : 64700
Charms : 50/5/0/3
[=======================================================]
*using ranged*

HamzaAbbasi

2012-04-07 19:26:19

I set it up JUST as specified in the latest edition and I get this error when I run it.

Debug box:


[Hint] C:\Simba\Includes\SRL/SRL/core/mapwalk.simba(1353:3): Variable 'BOX' never used at line 1352
[Error] (30:30): Unknown identifier 'B2P' at line 29
Compiling failed.



WTF is this?



Alright fixed the above but then I get this error:

Firstly I set it up like this:


Strings[0] := 'Strength'; //WHAT U TRAINING: Attack, Strength, Defence (this is only for reports, u have to set attack style urself)
Integers[0] := 2; //TRAINED LEVEL XPBAR: 1,2,3
Integers[1] := 20000; //FAILSAFE: THIS IS THE TIME FOR KILLING ONE MOSS GIANT (miliseconds)
Integers[2] := 300; //EAT AT: 100-999
BoxRewards := ['amp']; //RANDOM REWARD
LampSkill := SKILL_RANGE; //USE LAMP ON
Booleans[0] := True; True //BONES TO PEACHES: True, False
Booleans[1] := False; False //PICK UP CHARMS: True, False
Booleans[2] := True; False //TAKING SCREENSHOTS: True, False
Strings[2] := 'C:\Simba\Screenshots\ChaosMossKiller\'; //PATH FOR CREATING SCREENSHOTS (~100 kb, jpeg)




Then I get this error when I try to play it:


[Hint] C:\Simba\Includes\SRL/SRL/core/mapwalk.simba(1353:3): Variable 'BOX' never used at line 1352
[Error] (31:5): Internal error (20) at line 30
Compiling failed.

Shatterhand

2012-04-08 04:25:33

[Error] (31:5): Internal error (20) at line 30

says you have some error at line 30.

From: HamzaAbbasi

Booleans[0] := True; True
Booleans[1] := False; False
Booleans[2] := True; False

Delete the second words here. The ';' is a closure of the command, you cant just have words after it.
Like this:
Booleans[0] := True;
Booleans[1] := False;
Booleans[2] := True;


From: xdarkshadowx
Pretty much flawless, picks up charms, attacks well, keeps itself alive with peaches. Well done sir, I will post a proggy when the script terminates. (I love the world hopping by the way! this is probably one of the safest scripts out there because of that).
I'm currently ranging with it using a CBow, so every once in awhile it gets confused and will get multiple mossies attacking it at once, but it's managing to stay alive quite well :)

[=================ChaosMossKiller_v5.2==================]
Time Running : 2 Hours, 25 Minutes and 19 Seconds
STR XP Per Hour : 26660
STR XP Gained : 64580
STR Level : 70
XP till next lvl : 64700
Charms : 50/5/0/3
[=======================================================]
*using ranged*


Nice xp. May I ask your range/def level?
By the way the reason it attacks multiple mossies sometimes is that when you range the moss, its hpbar might be out of sight.

HamzaAbbasi

2012-04-08 06:00:16

I did that then I get this error:


[Hint] C:\Simba\Includes\SRL/SRL/core/mapwalk.simba(1353:3): Variable 'BOX' never used at line 1352
[Error] (921:5): Unknown identifier 'SmartSetEnabled' at line 920
Compiling failed.

Shatterhand

2012-04-08 06:24:55

From: HamzaAbbasi
I did that then I get this error:


[Hint] C:\Simba\Includes\SRL/SRL/core/mapwalk.simba(1353:3): Variable 'BOX' never used at line 1352
[Error] (921:5): Unknown identifier 'SmartSetEnabled' at line 920
Compiling failed.

Sorry the code is for smart 7.0 that is why u getting that error.
Simple delete Line 919 and 920.

SXxR

2012-04-08 07:36:40

My only members account with a bonecrusher got a 14 day ban so its about time I take a break from botting. It was not cuz of this script btw.

This script is by far one of the safest combat scripts out there as you dont get randoms in the chaos tunnels :D

rebeltjeh

2012-04-10 08:53:51

From: SXxR
My only members account with a bonecrusher got a 14 day ban so its about time I take a break from botting. It was not cuz of this script btw.

This script is by far one of the safest combat scripts out there as you dont get randoms in the chaos tunnels :D


Huh do they still give 14day bans?
Do you know what they caught you for? Cos I thought they did permban for Major botting?

Shatterhand

2012-04-10 14:07:18

From: rebeltjeh
Huh do they still give 14day bans?
Do you know what they caught you for? Cos I thought they did permban for Major botting?

I guess they dont perm ban simple users who just bot for themselves. They want our money.

SXxR

2012-04-11 01:18:19

From: rebeltjeh
Huh do they still give 14day bans?
Do you know what they caught you for? Cos I thought they did permban for Major botting?


I got caught for using scripts that work in superhuman speeds for 18/7. Not this script tho.

xdarkshadowx

2012-04-13 02:20:58

94 ranged 40 defense,
I've encountered a bug where it will claim to be out of bones to peaches tablets when it still has plenty, I think what happens is it clicks it but somehow fails to cast and thinks it's out. think you could add a failsafe that tries a couple times to activate b2p? because I have plenty of them at all times lol, running out isn't an issue :S

Shatterhand

2012-04-13 02:40:44

From: xdarkshadowx
94 ranged 40 defense,
I've encountered a bug where it will claim to be out of bones to peaches tablets when it still has plenty, I think what happens is it clicks it but somehow fails to cast and thinks it's out. think you could add a failsafe that tries a couple times to activate b2p? because I have plenty of them at all times lol, running out isn't an issue :S

Looked into the code. It has a failsafe, it looks for the B2p tablet 5 times then exit. The image of the item must been changed. I will fix the DTM by Sunday, dont have time atm.
Fixed DTMs for B2P tablet an lobster. Will upload the updated version soon.

Shatterhand

2012-04-13 14:40:40

Script updated. Have fun! :)

Itankbots

2012-04-14 20:38:45

i get this.

[Hint] C:\Simba\Includes\SRL/SRL/core/mapwalk.simba(1353:3): Variable 'BOX' never used at line 1352
[Error] (908:5): Unknown identifier 'SmartSetEnabled' at line 907
Compiling failed.
[Hint] C:\Simba\Includes\SRL/SRL/core/mapwalk.simba(1353:3): Variable 'BOX' never used at line 1352
[Error] (908:3): Unknown identifier 'SmartSetEnabled' at line 907
Compiling failed.
————————————————————————
nvm read back some pages and fixed it :P my bad

Unkman

2012-04-18 05:15:41

Hey, i used ur script several times but now i get an error? it says
Error: out of line at 1541.?

Shatterhand

2012-04-18 10:43:02

From: Unkman
Hey, i used ur script several times but now i get an error? it says
Error: out of line at 1541.?

Thats not related to my script. Close the program and start again. When you start simba, always wait like 10 seconds before you click on Run(F9).

xdarkshadowx

2012-04-19 23:18:44

Could you add special attack support? :)

Shatterhand

2012-04-20 04:52:50

From: xdarkshadowx
Could you add special attack support? :)

Uhm, would be difficult to add many different weapons and so. It will be pointless and buggy.
Btw new version is coming soon, with brand new fighting method. A lot faster and more XP. :)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ChaosMossKiller v5.5
* Time Running: 5 Hours, 37 Minutes and 40 Seconds
* STR XP Gained: 249198 (44279)
* STR Level: 95
* XP till next: 542340
* Charms: 105/8/1/6
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ChaosMossKiller v5.5
* Time Running: 2 Hours, 23 Minutes and 11 Seconds
* XP Gained: 108995 (45669)
* Level: 95
* XP till next: 413658
* Charms: 54/6/0/4
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
(with 30def B2P)

nathan lad

2012-04-21 12:07:06

using this script with bonecrusher and the attacking is flawless but its still missing a lot of charms

[=================ChaosMossKiller_v5.4==================]
Time Running : 1 Hours, 12 Minutes and 47 Seconds
XP Per Hour : 49266
XP Gained : 59773
Level : 82
XP till next lvl : 200175
Charms : 14/0/0/4
[=======================================================]

Shatterhand

2012-04-21 12:39:06

From: nathan lad
using this script with bonecrusher and the attacking is flawless but its still missing a lot of charms

[=================ChaosMossKiller_v5.4==================]
Time Running : 1 Hours, 12 Minutes and 47 Seconds
XP Per Hour : 49266
XP Gained : 59773
Level : 82
XP till next lvl : 200175
Charms : 14/0/0/4
[=======================================================]

Im sorry but I cant improve that much. I dont have account with bonecrusher. I use B2P on mine and this way charms are covered with bones. The most it gets charms for me is when clicking on bones to take them.

nathan lad

2012-04-21 13:05:35

ok np. one mroe thing is there a way to prevent the world hopping. im using qc world and dont really wanna leave it

Shatterhand

2012-04-21 13:07:00

From: nathan lad
ok np. one mroe thing is there a way to prevent the world hopping. im using qc world and dont really wanna leave it

What do you mean? :O

nathan lad

2012-04-21 13:20:29

well im using a quick chat world as i find it the safest bet and idc if theres 1 or 2 ppl also in my world so id rather it didnt hop to another world

Shatterhand

2012-04-21 13:30:00

From: nathan lad
well im using a quick chat world as i find it the safest bet and idc if theres 1 or 2 ppl also in my world so id rather it didnt hop to another world

Erm I see, but this script is only working well if no one is fighting around us. It would detect the other hp bars.

xdarkshadowx

2012-04-21 14:27:11

I died? o.O…. I have 41 defence and full dhide and whatnot, but apparently I died, gf 500k lol.

Shatterhand

2012-04-21 14:52:35

From: xdarkshadowx
I died? o.O…. I have 41 defence and full dhide and whatnot, but apparently I died, gf 500k lol.

EDIT: Congrats on your idiotism. The script wont update itself, download the newest version at the first post.

xdarkshadowx

2012-04-21 15:35:42

I'm running the newest version…?

Shatterhand

2012-04-21 15:45:39

Try v5.5. Should not let you die…

iHustle TreeZ

2012-04-21 17:50:20

this isn't working, i'm getting SmartSetEnabled(true); show up in yellow when i try to start it?


edit - I deleted that line from the script and its running fine but I'm getting 0 progress report-

ChaosMossKiller v5.5
* Time Running: 12 Minutes and 59 Seconds
* STR XP Gained: 0 (0)
* STR Level: 81
* XP till next: 179230
* Charms: 0/0/10/0

charms is also off, hasn't picked up 1 yet.

Shatterhand

2012-04-21 18:27:05

From: iHustle TreeZ
this isn't working, i'm getting SmartSetEnabled(true); show up in yellow when i try to start it?


edit - I deleted that line from the script and its running fine but I'm getting 0 progress report-

ChaosMossKiller v5.5
* Time Running: 12 Minutes and 59 Seconds
* STR XP Gained: 0 (0)
* STR Level: 81
* XP till next: 179230
* Charms: 0/0/10/0

charms is also off, hasn't picked up 1 yet.

XP is working fine for me, sometimes simba fails to read the things, try to restart the script. And you just picked up 10 blues…

iHustle TreeZ

2012-04-21 19:03:41

no I didnt pick up any blues idk why it says i have 10, also i keep getting "we got logged off somehow" after about 25-30 mins of running the script and it stops; whats with this?

nathan lad

2012-04-22 02:19:22

quit ure complaining guys, this script works fine for me and even if it didnt i wudnt be bitchin about it.

Shatterhand

2012-04-22 04:00:00

From: iHustle TreeZ
no I didnt pick up any blues idk why it says i have 10, also i keep getting "we got logged off somehow" after about 25-30 mins of running the script and it stops; whats with this?

Cant believe that BlueCharms number gets increased randomly. It gets increased once the scipt clicks on 'Take Blue charm'. You must have full inventoy. If you want to loot charms, have 1 of each in inventory. (read describtion)
You must have bad internet connection, that message comes when the client disconnects and gets logged out. I didnt do failsafe for this, cause a lot of times in this case it gets freezed, black screen etc.
From: nathan lad
quit ure complaining guys, this script works fine for me and even if it didnt i wudnt be bitchin about it.

Thanks. I guess I will add anti-leech function soon….

iHustle TreeZ

2012-04-22 09:37:54

I'm not complaing lol, I've got a good internet connect and i reset the bot and it's working fine, the xp/hr don't work idk why but it doeesnt bother me because the bot is working 100% fine, and it now is picking up charms once I did the reset, no need to have an attitude lmao, but thanks good script.

Shatterhand

2012-04-22 10:22:04

From: iHustle TreeZ
I'm not complaing lol, I've got a good internet connect and i reset the bot and it's working fine, the xp/hr don't work idk why but it doeesnt bother me because the bot is working 100% fine, and it now is picking up charms once I did the reset, no need to have an attitude lmao, but thanks good script.

XP doesnt work maybe cause you didnt set up XPBAR correctly.

mikkelo22

2012-04-22 14:02:16

Compiling failed.
[Hint] C:\Simba\Includes\SRL/SRL/core/mapwalk.simba(1353:3): Variable 'BOX' never used at line 1352
[Warning] (1091:19): Calculation always evaluates to False at line 1090
[Hint] (1011:3): Variable 'DIST' never used at line 1010
[Warning] (1157:19): Calculation always evaluates to False at line 1156
[Warning] (1231:19): Calculation always evaluates to False at line 1230
[Error] (1494:25): Invalid number of parameters at line 1493
Compiling failed.

please help its at " SmartEnabled (true); "

vkillerv

2012-04-22 17:05:01

amazing script. been using it 24/7, and ive gotten 81-85 def within 20 hours on my staker. do you notice the script moves the camera SUPER fast? like faster than it should be doing?

Shatterhand

2012-04-22 17:42:14

From: vkillerv
amazing script. been using it 24/7, and ive gotten 81-85 def within 20 hours on my staker. do you notice the script moves the camera SUPER fast? like faster than it should be doing?

Thanks. Hmm do you think it does? I changed that function recently, its a built in SRL function.

xdarkshadowx

2012-04-24 01:10:48

If it has no need to pick up bones, it will not pick up charms, so unless I use a setup that lets me get damaged enough, it'll miss all the charms.

Shatterhand

2012-04-24 02:10:18

From: xdarkshadowx
If it has no need to pick up bones, it will not pick up charms, so unless I use a setup that lets me get damaged enough, it'll miss all the charms.

Your totally idiot. It picks up bones to use B2P. I dont really need any charms so I wont waste my time improving charm looting for retards like you.

xdarkshadowx

2012-04-24 18:02:52

Thanks for the hostility, was just mentioning it doesn't work well.

I edited the charm picking up portion, would you be okay with me posting my modifications or giving them away to others? It's nothing complicated just helps it get charms.

carla_jacoe

2012-04-26 04:42:39

Amazing script, close to flawless. Only issue is sometimes its clicks to go though the portals, taking it to the fire giants cave and the giant spiders cave. It also once ended up climbing the rope taking me back into the wild. I assume these aren't faults due to your scripting ability but rather due to the limitations of colour scripts.
Cheers/

Shatterhand

2012-04-26 09:22:37

From: carla_jacoe
Amazing script, close to flawless. Only issue is sometimes its clicks to go though the portals, taking it to the fire giants cave and the giant spiders cave. It also once ended up climbing the rope taking me back into the wild. I assume these aren't faults due to your scripting ability but rather due to the limitations of colour scripts.
Cheers/

How did it happen? Cant believe it. :O
You were using this script at right place? (map on first post)
Can you tell me more informations? Like settings…. render mode, brightness level, cpu mode, fixed screen?
It clicks on Moss giant only if uptext is 'Attack'. For the portal uptext is 'Enter'…
By the way the colors of portal were the same as a color of Moss giant, that caused hovering mouse on portal.
Im fixing this in the next update, it wont hover mouse on anything but Moss giants.

carla_jacoe

2012-04-26 09:50:49

From: hunt3rx3
How did it happen? Cant believe it. :O
You were using this script at right place? (map on first post)
Can you tell me more informations? Like settings…. render mode, brightness level, cpu mode, fixed screen?
It clicks on Moss giant only if uptext is 'Attack'. For the portal uptext is 'Enter'…
By the way the colors of portal were the same as a color of Moss giant, that caused hovering mouse on portal.
Im fixing this in the next update, it wont hover mouse on anything but Moss giants.


Seems I was using the scirpt in a different spot. My bad. :duh:

Set it up at the place shown in the first post. Will update tomorrow on how it goes. ;)

Luke L

2012-04-26 10:25:49

Script sounds great! Can't wait to try it in a bit :)

Shatterhand

2012-04-26 14:22:22

From: carla_jacoe
Seems I was using the scirpt in a different spot. My bad. :duh:

I am still curious how it clicked on things when uptexts were different. Some guy before you a month ago did the same thing that you. Ive got no idea how it happened.

sticker94

2012-04-26 15:42:22

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ChaosMossKiller v5.5
* Time Running: 6 Hours, 43 Minutes and 40 Seconds
* DEF XP Gained: 309766 (46042)
* DEF Level: 79
* XP till next: 99886
* Charms: 62/7/19/4
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


(Also have screenshot). If you can add Special Attack Support for AGS, I'll happily pay you some cash. ;)

MSN: [email]Sticker94@live.com[/email]

Shatterhand

2012-04-27 03:08:29

From: sticker94
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ChaosMossKiller v5.5
* Time Running: 6 Hours, 43 Minutes and 40 Seconds
* DEF XP Gained: 309766 (46042)
* DEF Level: 79
* XP till next: 99886
* Charms: 62/7/19/4
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


(Also have screenshot). If you can add Special Attack Support for AGS, I'll happily pay you some cash. ;)

MSN: [email]Sticker94@live.com[/email]

Nice proggie, thanks. I will consider it. :)

br3ed

2012-04-27 05:21:17

[Hint] C:\Simba\Includes\SRL/SRL/core/mapwalk.simba(1353:3): Variable 'BOX' never used at line 1352
[Warning] (1091:19): Calculation always evaluates to False at line 1090
[Hint] (1011:3): Variable 'DIST' never used at line 1010
[Warning] (1157:19): Calculation always evaluates to False at line 1156
[Warning] (1231:19): Calculation always evaluates to False at line 1230
[Error] (1494:7): Unknown identifier 'SmartSetEnabled' at line 1493
Compiling failed.

Shatterhand

2012-04-27 07:06:28

From: br3ed
[Hint] C:\Simba\Includes\SRL/SRL/core/mapwalk.simba(1353:3): Variable 'BOX' never used at line 1352
[Warning] (1091:19): Calculation always evaluates to False at line 1090
[Hint] (1011:3): Variable 'DIST' never used at line 1010
[Warning] (1157:19): Calculation always evaluates to False at line 1156
[Warning] (1231:19): Calculation always evaluates to False at line 1230
[Error] (1494:7): Unknown identifier 'SmartSetEnabled' at line 1493
Compiling failed.

Read instructions or read the previous comments…

Deni_mulic

2012-04-28 02:12:23

From: hunt3rx3
Read instructions or read the previous comments…


You should release a separate version to the one you personally use, else you'll end up with a thread full of people fixating on a simple environment error rather than real things that need improvement.

Now, as for the script, love the speed.

Only suggestion I have is to add special attack support (Maybe Dragon Battleaxe spec/switching to main weap?), and/or strength potion support. (Cheap way to increase xp/hr)

Shatterhand

2012-04-28 02:56:43

From: Deni_mulic
You should release a separate version to the one you personally use, else you'll end up with a thread full of people fixating on a simple environment error rather than real things that need improvement.

Now, as for the script, love the speed.

Only suggestion I have is to add special attack support (Maybe Dragon Battleaxe spec/switching to main weap?), and/or strength potion support. (Cheap way to increase xp/hr)

You are right. Ill add specs in the next update, but potions… Its pointless since the script doesnt bank.

Deni_mulic

2012-04-28 05:57:35

Here's a proggy.

Edit: Passed 1m str exp gained.
One thing i noticed after a 10 hour run - my char was still fighting, had peaches in invo, however with 178 noted big bones as well.
Not complaining but still, any ideas?
Edit2: 2m total exp gained.
Edit3: 2.6m STR exp gained.
Edit4: 4m STR exp gained. Probably best script i've run in 6 years.

tigerkungfu

2012-04-29 01:14:29

hey I got this when I tried to run

[Hint] C:\Simba\Includes\SRL/SRL/core/mapwalk.simba(1353:3): Variable 'BOX' never used at line 1352
[Warning] (1223:19): Calculation always evaluates to False at line 1222
[Error] (1507:7): Unknown identifier 'SmartSetEnabled' at line 1506
Compiling failed.

Shatterhand

2012-04-30 15:27:01

From: Deni_mulic
One thing i noticed after a 10 hour run - my char was still fighting, had peaches in invo, however with 178 noted big bones as well.
Not complaining but still, any ideas?

First, thanks for the feedback. Second, to your answer:
http://runescape.wikia.com/wiki/Rare_drop_table
It must be that. Back to java bots' time, I got once 4k yews noted. Im not sure if this goes straightly to your inventory, or u had pure luck that it right clicked on the notes (thought its simple bones) and took it. :)

sticker94

2012-04-30 17:04:54

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ChaosMossKiller v5.5
* Time Running: 6 Hours, 57 Minutes and 47 Seconds
* STR XP Gained: 367354 (52756)
* STR Level: 73
* XP till next: 2862
* Charms: 53/8/4/9
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

I'd like to personally thank you for this script. I've used it to go from 70-75 Attack (at 60 str), 70-80 Defence (at 60 str), and now 60-73 Str.
Works flawlessly B2P + Charm gathering, however special attack support would definitely be nice ;)

nubsinc

2012-05-01 22:17:23

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ChaosMossKiller v5.6
* Time Running: 5 Hours, 23 Minutes and 2 Seconds
* STR XP Gained: 0 (0)
* STR Level: 76
* XP till next: 46356
* Charms: 422/21/12/7
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

but I'm having problem getting charms. It just read it then add it on the log, but It doesn't loot it. >_< well anyway the script's main purpose is to train the account and its doing its job perfectly! THANK YOU very much~

Shatterhand

2012-05-02 03:34:53

Thanks for the feedbacks. Nubsinc you need to set up a xp counter for STR so the script will count the XPs. :)

Deni_mulic

2012-05-02 09:02:42

95 Str :) started at 90

Lordzsolt

2012-05-02 16:29:06

Just started it but so far, it's working really well. I've noticed, as you've stated as well, charm pickup isn't working properly, but otherwise it's really great.

tigerkungfu

2012-05-03 01:29:28

Hey for some reason I cannot go past 6 hours. I get auto-logged off and i get a message saying the "There are no peaches to eat" and the script stops? Im trying to use Smart Manager.

Lordzsolt

2012-05-03 11:39:58

Haven't ran it for 6 hours yet but I intend to, I'll tell you if I get same error.

Another thing, I'm training attack (and I have 99 strength), it's kinda awkward that bot checks strength exp… (Like I mean I don't mind, but this is more of a to-bad, then an anti-ban) And yes, I did initialize trainedskill to Attack.


Suggestion for charm pickup: When I'm legitting, I usually right click every drop pile, that could be added (I noticed it can pick up charms if it wants to pick up bones). Then again, this could slow the bot down by 4-6k exp.

Another suggestion would be adding enchanted Excalibur support, with it, most mains (60-70+ defence) could stay there FOREVER. But then again, it already can with bones to peaches, but I'd say this would be easier to script.

Shatterhand

2012-05-03 11:41:55

From: tigerkungfu
Hey for some reason I cannot go past 6 hours. I get auto-logged off and i get a message saying the "There are no peaches to eat" and the script stops? Im trying to use Smart Manager.

I guess you got disconnected or something and it didnt find the peach. I dont know how SMART Manager works, I dont use it.
By the way the script makes screenshots (if its turned on) every time it stops, have a look at it. :)

sticker94

2012-05-03 12:24:55

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ChaosMossKiller v5.7
* Time Running: 1 Hours, 20 Minutes and 49 Seconds
* ATK XP Gained: 72643 (53921)
* ATK Level: 75
* XP till next: 42427
* Charms: 7/1/1/0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


Charm gatherer could be a little better, it misses gold and crimson often.
Overall, very nice script. The above is 75 atk / 77 str with AGS. I'm sure with 90+ combat, around 70k/hr exp could be obtained.

Shatterhand

2012-05-03 13:13:42

From: Lordzsolt
Another thing, I'm training attack (and I have 99 strength), it's kinda awkward that bot checks strength exp… (Like I mean I don't mind, but this is more of a to-bad, then an anti-ban) And yes, I did initialize trainedskill to Attack.

Theres a plus antiban where it checks a random level. In your case it was Strength. Of course it checks trained skill and hp level too.

Shatterhand

2012-05-03 13:16:24

From: sticker94

Charm gatherer could be a little better, it misses gold and crimson often.
Overall, very nice script. The above is 75 atk / 77 str with AGS. I'm sure with 90+ combat, around 70k/hr exp could be obtained.

Combat stats does matter a lot, im training with 50 attack and get around 37k/h xp.
EDIT: Ops double post.

Lordzsolt

2012-05-03 14:24:46

ChaosMossKiller v5.7
* Time Running: 6 Hours, 2 Minutes and 58 Seconds
* ATK XP Gained: 304880 (50398)
* ATK Level: 89
* XP till next: 445167
* Charms: 33/5/2/3

Nice bot.

Deni_mulic

2012-05-03 17:33:34

Post gfx update:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ChaosMossKiller v5.6
* Time Running: 7 Hours, 20 Minutes and 4 Seconds
* STR XP Gained: 344022 (46904)
* STR Level: 95
* XP till next: 124090
* WorldHops: 2
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

ShadowsTM

2012-05-04 18:26:24

Having some issues with picking up bones, Not sure if it's just me.

Says: The automatically split characters are too wide. try decreasing mini spacing.

Shatterhand

2012-05-05 08:30:33

From: ShadowsTM
Having some issues with picking up bones, Not sure if it's just me.

Says: The automatically split characters are too wide. try decreasing mini spacing.

Sometimes the script fails to read uptexts. (Uptext is what you see on top left) Sometimes it moves mouse on Moss giant, but not recognize it because uptext function gives false statement on ('ttack'). The same thing is with bones. Its SRL related thing, I cant do anything about it.

What is the problem with splitting? Did you try DebugTPAs? I didnt found any problems with splitting, if you do, just send me a picture of that. (printscreen debug window) :)

Deni_mulic

2012-05-05 09:57:45

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ChaosMossKiller v5.6
* Time Running: 2 Hours, 5 Minutes and 28 Seconds
* STR XP Gained: 99389 (47528)
* STR Level: 97
* XP till next: 896083
* WorldHops: 2
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Just in case you wanted to know how awesome you are :P
Doubt the char will last to 99 str before ban though.

ShadowsTM

2012-05-05 10:16:06

Okay thanks mate and Deni you been sui botting lol?

Shatterhand

2012-05-05 10:30:01

Take breaks lol. I made millions of xps with my script, but with a lot of breaks.

rjk1990

2012-05-05 19:56:57

Fantastic Script!

Had to edit out the World Hopping, as Mosses are always empty yet the script kept hopping every few minutes. Since then I've seen 200k defence XP in around 4-5 hours

I'm not sure how to make it actually pick up charms, I've come back and seen the number of charms increase in my inv but i've never seen it actually pick any up when i babysit, but i don't really care as i don't need to gold charms it commonly drops

Deni_mulic

2012-05-05 20:46:06

From: ShadowsTM
Okay thanks mate and Deni you been sui botting lol?

Yeah, wanted to have fun on my rune pure ASAP, but greedy of the xp/hr I guess

From: rjk1990
Fantastic Script!

Had to edit out the World Hopping, as Mosses are always empty yet the script kept hopping every few minutes. Since then I've seen 200k defence XP in around 4-5 hours

I'm not sure how to make it actually pick up charms, I've come back and seen the number of charms increase in my inv but i've never seen it actually pick any up when i babysit, but i don't really care as i don't need to gold charms it commonly drops

You want to keep the world hopping in, I've noticed the people who use the spot are generally 120s doing slayer and won't hesitate to report if you don't respond.

Also very useful for best xp/hr to use full worlds, then hop off it if another player comes along.

greg1532

2012-05-05 21:07:58

just wanted to say awsum script ran it last night on my main

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ChaosMossKiller v5.7
* Time Running: 6 Hours, 28 Minutes and 50 Seconds
* DEF XP Gained: 352240 (54353)
* DEF Level: 92
* XP till next: 163725
* Charms: 45/11/2/5
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[07:36:21] Failed to exit to lobby when hopping.
Successfully executed.

Shatterhand

2012-05-06 03:21:14

From: rjk1990
Fantastic Script!

Had to edit out the World Hopping, as Mosses are always empty yet the script kept hopping every few minutes.

The scipt wont work if people fighting around you. It will detect their hpbars and think they are ours.

mormonman

2012-05-06 03:41:07

From: hunt3rx3
The scipt wont work if people fighting around you. It will detect their hpbars and think they are ours.


This will detect only your hp bar.

function m_HPBar: Boolean;
var
tB, B: TBox;
TPA: TPointArray;
ATPA: T2DPointArray;
HM, SM: Extended;
CTS, i, Dist: Integer;
begin
Result := False;
if not LoggedIn then Exit;
CTS := GetColorToleranceSpeed;
GetColorspeed2Modifiers(HM, SM);
B := IntToBox(227, 121, 293, 149);
ColorToleranceSpeed(2);
SetColorspeed2Modifiers(5.33, 1.31);
if FindColorsSpiralTolerance(MSCX, MSCY, TPA, 78384, B.X1, B.Y1, B.X2, B.Y2, 3) then
begin
ATPA := TPAtoATPAEx(TPA, 55, 7);
if not (Length(ATPA) > 0) then Exit;
for i := 0 to High(ATPA) do
begin
tB := GetTPABounds(ATPA[i]);
Dist := Distance(tB.X1, tB.Y1, tB.X2, tB.Y2);
if (Dist > 54) then
begin
Result := True;
Break;
end;
end;
end;
ColorToleranceSpeed(CTS);
SetColorspeed2Modifiers(HM, SM);
end;

Shatterhand

2012-05-06 05:05:12

From: mormonman
This will detect only your hp bar.
[..CODE..]

When I said 'their hpbars', I thought the hpbars of their Mosses.
So what can you do for detecting our kill? This script detects the full red hp bar (easy DTM), when it sees one, we got a kill. As I know, the colors are same (the red color of our Moss's hpbar and the red color of their Moss's hpbar). Also srl_inFight is very slow, as it takes like 3 seconds to have our player's hpbar disappeared (as the function works).

Its easy to detect the player's hpbar, as its in a given area. I wouldnt use TPAs for that, DTM is faster.
Its also easy to detect if we attacked a Moss, looking for the red damage bubbles or blue shields (with DTM).

So the only problem is with the moment of the kill.

ewarrior

2012-05-06 15:22:17

Script works great, especially since there isn't any randoms in the cave. I cant get the charm collector to work but I don't know about TPAs. Bones to peaches failed on me when my food ran out but I didn't have time to look into it. I've opted for the bone crusher now anyway for prayer xp. All in all good idea and good script. Thanks.

rjk1990

2012-05-07 00:51:42

From: hunt3rx3
The scipt wont work if people fighting around you. It will detect their hpbars and think they are ours.


Mosses were empty the entire night i was there, and besides with the above problem i mentioned i spent more time logging out, and either waiting for the timer to change world or getting the "already signed in" error then actually fighting

I don't know whats up there with the script, it seemed to be detecting people when i was all alone every few minutes

mormonman

2012-05-07 01:07:35

From: hunt3rx3
When I said 'their hpbars', I thought the hpbars of their Mosses.
So what can you do for detecting our kill? This script detects the full red hp bar (easy DTM), when it sees one, we got a kill. As I know, the colors are same (the red color of our Moss's hpbar and the red color of their Moss's hpbar). Also srl_inFight is very slow, as it takes like 3 seconds to have our player's hpbar disappeared (as the function works).

Its easy to detect the player's hpbar, as its in a given area. I wouldnt use TPAs for that, DTM is faster.
Its also easy to detect if we attacked a Moss, looking for the red damage bubbles or blue shields (with DTM).

So the only problem is with the moment of the kill.


I track the monster I'm fighting with their colors, then find their hp bar and track it. When it is full red, then I break out of the whilefighting loop.

Just Me

2012-05-07 13:33:47

Using this on my 30 defence pure also, and it is running perfectly.

Will see how SMART manager reloop works.

Thanks fort he awesome script!

Shatterhand

2012-05-07 16:20:02

From: mormonman
I track the monster I'm fighting with their colors, then find their hp bar and track it. When it is full red, then I break out of the whilefighting loop.

Hmm but what if someone is fighting another but same kind of monster next to you?

Deni_mulic

2012-05-08 04:59:54

Impeccable update timing! 5.6/7 exp-rate was only getting 30k/hr since yesterday, 5.8 brings it back to 45k~/hr :)

Shatterhand

2012-05-08 05:17:28

From: Deni_mulic
Impeccable update timing! 5.6/7 exp-rate was only getting 30k/hr since yesterday, 5.8 brings it back to 45k~/hr :)

Well, if its only right clicking, it wont miss any attack, so with that XP/h is the best. Also I modified the failsafe and it will walk back to center after 10 seconds not finding any Mosses.

x64

2012-05-08 07:33:10

Can someone tell me how to disable worldhopping, its really annoying, anyway flawless script except that.

greg1532

2012-05-08 08:14:33

great script been using it for afew days not getting so me nice exp :P should ad it in so it picks up torsol seeds i see them left on the ground fairly reguarly

MiroMiro

2012-05-08 09:15:19

LOL love it ! found a noob

Radeo

2012-05-08 11:57:32

Except for the charm picking this is a flawless script.



ShadowsTM

2012-05-08 14:10:57

5.8 is much better, Will edit in a massive proggy later. Xp has improved from 25k - 50k an hour, Lag also seems fixed. Keep up the good work bud. Gonna sui to max stats

Deni_mulic

2012-05-08 17:08:23

If anyone else is getting the camera spinning bug when searching for moss giants, here's a fix

http://villavu.com/forum/showthread.php?p=1011419#post1011419

Shatterhand

2012-05-08 17:55:40

From: x64
Can someone tell me how to disable worldhopping, its really annoying, anyway flawless script except that.

Why you want to turn it off?…

iboughtall

2012-05-08 19:15:30

Lol lots of people using this bot, i've jumped into a few worlds and people log right away

Radeo

2012-05-09 07:15:56

New proggy.. Insane script, love it



Adamcoled

2012-05-09 07:19:33

Script works great.

nathan lad

2012-05-09 12:33:38

the script is still runnin good but better charm gathering and specs would make it perfect. as for the exp tho its great!

bougie

2012-05-09 23:42:17

Works really fast! Like u know charms need work. But it picks them up perfectly when it searches for bones for B2P. Mabey add a simular check after a kill for charms. Or just a right click on the bones to check while fighting the next monster. I always do that legit to make sure im not missing something.

Deni_mulic

2012-05-10 02:14:14

Dunno if you've had any 99s yet w/ this script, so here's mine, 90-99 with this script

Shatterhand

2012-05-10 04:39:15

From: bougie
Mabey add a simular check after a kill for charms. Or just a right click on the bones to check while fighting
i the next monster. I always do that legit to make sure im not missing something.

Thats already added, but the colors arent good enough, it has a a small chance to detect a charm that way.
Yea but your a human. You can memorize where u already right clicked, even if you rotate the camera. This would be hard to scipt.
From: Deni_mulic
Dunno if you've had any 99s yet w/ this script, so here's mine, 90-99 with this

I got 90-97 then memb gone. Trained a few accs, made a lot of xp already. Anyway grats. :D

bougie

2012-05-10 09:16:57

But it works perfect when its looking for bones. never misses charms around. I think after alot of watching the problem is actually when ur inventorys full it wont attempt to pick up the charm. But as soon as u have inventory space(i dropped 10 to test) It picks all charms up it sees. Ive never seen it pick up 1 when i have full inventory. But just watched it pick up a 2 gold and a chrimson when i emptyed some space that were laying on the ground unpicked when inventory was full.

After continuing watching with this in mind. Im 95% sure this is the issue. Everytime I empty space it goes on a charm hunt.

Shatterhand

2012-05-10 12:56:45

From: bougie
But it works perfect when its looking for bones. never misses charms around. I think after alot of watching the problem is actually when ur inventorys full it wont attempt to pick up the charm. But as soon as u have inventory space(i dropped 10 to test) It picks all charms up it sees. Ive never seen it pick up 1 when i have full inventory. But just watched it pick up a 2 gold and a chrimson when i emptyed some space that were laying on the ground unpicked when inventory was full.

After continuing watching with this in mind. Im 95% sure this is the issue. Everytime I empty space it goes on a charm hunt.

Let me explain you. There are two ways this script loots charms.
The first way is: it checks for colors of charms on the screen, if it sees enough pixels with good colors (yellow, blue, green, red), it will right click on the thing and choose 'Take … Charm' if possible. This method is not working well atm, because the colors arent set well, have to improve the accuracy.
The second way is: when you use B2P, it will loot bones. Detecting bones is pretty easy, as nothing else is white in that area. So when it right clicks on bones, (as loot is always under the bones) it will check for the options to loot charms. If it finds any charms, it wont loot the bones, first priority is set to charms, so it will take the charms instead of bones. Then it finds again bones, it rigtht clicks on it and so on.
But of course it only looks for bones when ur inventory is not full, so you can collect more charms if you have low defense and eat peaches very often.

bougie

2012-05-10 13:04:23

Chill dude just trying to help with ur script not cutting u down. I'll just leach from u instead.

Shatterhand

2012-05-10 13:07:48

From: bougie
Chill dude just trying to help with ur script not cutting u down. I'll just leach from u instead.

What is your problem now? I just explained the algorithm for you….
EDIT: I usually answer to people's questions/problems.

bougie

2012-05-10 14:06:50

Well sorry u just came off as rude at first about it.

I've got 2-3x more charms always having extra space in my inventory. As soon as I use b2p I eat 3/4 of my peaches. It does lower my xp/hr a little bit. 10 seconds every 20-25 kills. But well worth the charms!

Shatterhand

2012-05-10 14:25:00

From: bougie
Well sorry u just came off as rude at first about it.

I've got 2-3x more charms always having extra space in my inventory. As soon as I use b2p I eat 3/4 of my peaches. It does lower my xp/hr a little bit. 10 seconds every 20-25 kills. But well worth the charms!

Well Ive collected 3k gold charms with 30 defense 90-97str.

NeoX

2012-05-10 14:34:39

Whats the xp per hour guys?

bougie

2012-05-10 14:37:34

That's my problem then im 60 defence. Like u suggest lol that's why I trained it to that. I rarely need to eat. So only check for charms 1 time outta 10 or more kills. Then will only grab 1 charm, if that. When I get home I'll just try set my eat at 1-5hp under my max see if that helps at all.

bougie

2012-05-10 14:53:33

Just for reference. I've gotten 135-10-10-4 charms in 100k xp. So like 1.5k charms per 1m xp.

iboughtall

2012-05-10 19:04:33

lol is there a bot for bones to peaches? I don't want to play legit right now.

ewarrior

2012-05-11 12:49:05

From: iboughtall
lol is there a bot for bones to peaches? I don't want to play legit right now.

I'm not sure I know what you mean. This bot kills moss giants and can eat using bones to peaches. A bones to peaches bot on its own seems pretty pointless.

Anyone else getting a problem picking up charms? When it sees the option to pick up charms it moves the mouse to the xp counter for me.

The bones to peaches tab dtm is being recognised as a blood rune which found its way into my inventory. Its no big deal but i think it would be better to use the little peach as a point in the dtm because it is a distinct orange colour.

Shatterhand

2012-05-13 12:43:50

New version is coming. Faster fighting. Charm looting is improved. Added specs.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ChaosMossKiller v5.9
* Time Running: 2 Hours, 7 Seconds
* RNG XP Gained: 84279 (42094)
* RNG Level: 91, XP till next: 201666
* B2P: 1 Food: 19
* Charms: 29/3/0/3
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

nathan lad

2012-05-14 09:08:02

eagerly await:)

Shatterhand

2012-05-14 16:23:53

Been testing it all day, releasing it tomorrow! :)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ChaosMossKiller v5.9
* Time Running: 5 Hours, 9 Minutes and 5 Seconds
* RNG XP Gained: 201468 (39108)
* RNG Level: 92, XP till next: 678094
* B2P: 3 Food: 65
* Charms: 94/8/2/6
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

ninoqino

2012-05-14 16:53:37

that's fantastic!!

ShadowsTM

2012-05-14 17:49:43

Hope the xp stays up and doesn't drop again, Increased charm rate will be nice. I keep forgetting to post my 6 hour proggies, Will get round to posting a few soon, Getting a nice steady 50k xp an hour which isn't bad considering I don't have to babysit. Thanks again mate

Xeorr

2012-05-14 18:49:45

is this script F2P???

ninoqino

2012-05-14 19:59:07

p2p

Harry

2012-05-14 20:33:55

You should use DidRedClick for the object finding, so if you misclick it will instantly continue.

I'd also suggest an option for people with higher defense to only go on a "bone hunt" for B2P when your HP is needing restoring. The monsters barely do damage to me, so it's a bit wasteful of exp to search for bones and grab them so much.

I'd also be useful for a "percent based" of right mouse clicking. Right now you do a right mouse click 1/3rd of the time. I customized it to a less likeliness of doing a right click and it works better.

You should stop using SmartClickMouse. You're going to get banned with that. It clicks with no variation of wait timing.

Lastly, you should move to your objectfinding with randomness, such as:
if MiddleTPAEx(ATPA[0],X,Y) then begin MMouse(X,Y,3,3); //then getmousepos and mouse(0,0) after to click
Right now you do with 0,0 randomness, always directly to the same colors.

After doing these edits, script looks pretty decent to me. Nice work.

Shatterhand

2012-05-15 05:04:53

From: Harry
You should use DidRedClick for the object finding, so if you misclick it will instantly continue.

Wow I didnt know the colors are different when clicking (red-yellow). This makes it a lot easier. THANKS! :D

I'd also suggest an option for people with higher defense to only go on a "bone hunt" for B2P when your HP is needing restoring. The monsters barely do damage to me, so it's a bit wasteful of exp to search for bones and grab them so much.

It only search for bones when it needs (inv is not full). I think its better way to pick up a bones instantly after you used up a food. So if your high defense, you will eat rarely, it will search for bones rarely.
B2P can be turned off, then it wont pick up any bones, but will log out if out of food.
So I think this is all good.. :)

I'd also be useful for a "percent based" of right mouse clicking. Right now you do a right mouse click 1/3rd of the time. I customized it to a less likeliness of doing a right click and it works better.

You should stop using SmartClickMouse. You're going to get banned with that. It clicks with no variation of wait timing.

Thanks for the advice, modified it. Of course left clicking is faster, but was not that accurate till now (RedClick). :)
Didnt know about SmartMouseClick, wont use it again. Thought it would make the click faster.

Lastly, you should move to your objectfinding with randomness, such as:
if MiddleTPAEx(ATPA[0],X,Y) then begin MMouse(X,Y,3,3); //then getmousepos and mouse(0,0) after to click
Right now you do with 0,0 randomness, always directly to the same colors.

After doing these edits, script looks pretty decent to me. Nice work.

I dont find this important, as the colors of mossies are very different. Im using like 6 colors with tolerances, so I dont think it will select the same pixels/colors when getting middle. Its already full of random. (turn on DebugWindow to check it)
Anyway thank you again for you advices and costructive critism. :)

kamikamal123

2012-05-15 11:00:40

Dude iloveyou!! trained 90-99 attack with it today reached 99 att. thanks man!! amazing script

F4llen

2012-05-15 12:03:07

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ChaosMossKiller v5.8
* Time Running: 31 Minutes and 28 Seconds
* STR XP Gained: 20169 (38455)
* STR Level: 98
* XP till next: 850979
* Charms: 20/3/0/5
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
10 DEFENCE PURE B2P!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!:spot:

Shatterhand

2012-05-15 12:20:15

From: kamikamal123
Dude iloveyou!! trained 90-99 attack with it today reached 99 att. thanks man!! amazing script

Thanks, grats! :D
From: Bri a n
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ChaosMossKiller v5.8
* Time Running: 31 Minutes and 28 Seconds
* STR XP Gained: 20169 (38455)
* STR Level: 98
* XP till next: 850979
* Charms: 20/3/0/5
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
10 DEFENCE PURE B2P!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!:spot:

Hmm looks interesting. Never tried with < 30 defense.

Script is updated. v5.9 is out! Read the first lines in the script for guide. Have fun! And report bugs. :)

ShadowsTM

2012-05-15 14:33:50

Ill test the new version for you now, I'll edit this with 6 hour or more proggy in the morning :)

Please Check your inbox Mate.

kamikamal123

2012-05-15 15:43:28

5.9 , stuck clicking on the xp thing … need a fix..

Shatterhand

2012-05-15 16:20:07

From: kamikamal123
5.9 , stuck clicking on the xp thing … need a fix..

You mean the XP popup circles? That should be turned off of course.

exctasy

2012-05-15 18:04:31

For some reason i fight them then he just stands around for 10 seconds, i changed the wait timer for exp to 2 seconds for a quick fix. But is it because im doing something wrong?

Shatterhand

2012-05-15 18:13:59

From: exctasy
For some reason i fight them then he just stands around for 10 seconds, i changed the wait timer for exp to 2 seconds for a quick fix. But is it because im doing something wrong?

No it was my fault. I left that bug in the script. I fixed it fast and replaced the file. Only like 4 people downloaded the buggy version, you have to download it again. :)

ninoqino

2012-05-15 21:16:22

NIce update! Gonna test it out right now.


Edit: Bot got stopped and keeps drawing red circles around character. Encountered another problem after changing world.

Shatterhand

2012-05-16 02:06:33

From: ninoqino
NIce update! Gonna test it out right now.


Edit: Bot got stopped and keeps drawing red circles around character. Encountered another problem after changing world.

More details please?

Harry

2012-05-16 02:21:34

Cool update, grabs charms much better now, and safer with those clicks.

One thing I just noticed though, the InFight kind of stuff isn't handled that well ATM. 10 second XP bar timeout is a long time, especially if you're the only person there. You check for MM dots of other players and switch world if there's someone else, so you could even go easy-mode and make a DTM/BMP of a fully-dead HP bar and look for that as well as checking XP bar. Would probably make it realize a monster is dead as a more efficient failsafe.

I also modified it to do (GetXPBar(XPCounter) >= XPBeforeFight + 319), so I could use Controlled Whip without it sitting for 10 seconds doing nothing. The XP bar checking you use will also cause the same problem if the monster regains HP while you're killing it, so checking for +240/241 exp gain might not be the best way to do it. Just something to think about.

Object finding will sometimes be a bit weird on monsters, though rarely. It decides to jump across the screen sometimes. Maybe SortTPAFrom your current mouse position and do something with that, finding closest from in between current mouse pos and MSCX,MSCY? You could also use GetMMDotsOnMS along with MMToMS to have smaller search-areas. (I'm just being totally picky here, it's not needed at all, just something you might want to think about if you're bored to make object finding more efficient, as it's already pretty darn perfect right now - (so you should ignore this paragraph for now :D))

I'm just really picky at scripts I use, it's nothing personal :p Everything else looks great. Gained a few levels in the past days. I like the Hungarian comments too; non-English comments are fun to read. TBH I would reapply for Members if I was you. This script is probably one of the best public fighting scripts out right now :)

Edit: oh, forgot to mention. You should add SRL stats. Lots of people probably running it but never posting proggies. Stats are fun :D

nathan lad

2012-05-16 02:38:50

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ChaosMossKiller v5.8
* Time Running: 10 Hours, 0 Seconds
* ATK XP Gained: 773578 (77356)
* ATK Level: 90
* XP till next: 95989
* Charms: 95/14/7/4
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

love this script have done for a while now, think this is one of my best proggies to date.

lets see what 5.9 has to offer :)

Shatterhand

2012-05-16 02:39:52

From: Harry
Cool update, grabs charms much better now, and safer with those clicks.

One thing I just noticed though, the InFight kind of stuff isn't handled that well ATM. 10 second XP bar timeout is a long time, especially if you're the only person there. You check for MM dots of other players and switch world if there's someone else, so you could even go easy-mode and make a DTM/BMP of a fully-dead HP bar and look for that as well as checking XP bar. Would probably make it realize a monster is dead as a more efficient failsafe.

I also modified it to do (GetXPBar(XPCounter) >= XPBeforeFight + 319), so I could use Controlled Whip without it sitting for 10 seconds doing nothing. The XP bar checking you use will also cause the same problem if the monster regains HP while you're killing it, so checking for +240/241 exp gain might not be the best way to do it. Just something to think about.

Well this was in the previous versions, but I switched to xp counting thinking about to stop the world switching (this works now if people around). I didnt think about shared styles. I didnt know about hp regain too. As I dont want to bring back full red hpbar checking, a better failsafe would be not srl_InFight, but when ranging sometimes mossies are trapped and your not getting hit… So hard to make it perfect.

Object finding will sometimes be a bit weird on monsters, though rarely. It decides to jump across the screen sometimes. Maybe SortTPAFrom your current mouse position and do something with that, finding closest from in between current mouse pos and MSCX,MSCY? You could also use GetMMDotsOnMS along with MMToMS to have smaller search-areas. (I'm just being totally picky here, it's not needed at all, just something you might want to think about if you're bored to make object finding more efficient, as it's already pretty darn perfect right now - (so you should ignore this paragraph for now :D))

The current object finding method for mossies takes like 500 ms. Moving the mouse takes some times too, so its often very inaccurate. I might look into that MMtoMS thing.

I'm just really picky at scripts I use, it's nothing personal :p Everything else looks great. Gained a few levels in the past days. I like the Hungarian comments too; non-English comments are fun to read. TBH I would reapply for Members if I was you. This script is probably one of the best public fighting scripts out right now :)

Edit: oh, forgot to mention. You should add SRL stats. Lots of people probably running it but never posting proggies. Stats are fun :D

Hmm never tried out the stats thing. How you know im hungarian? :D
I already treid three times applying, they dont like my longevity and post counts. Thats all they are looking at.
Anyway thanks for ur input. :)

From: nathan lad
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ChaosMossKiller v5.8
* Time Running: 10 Hours, 0 Seconds
* ATK XP Gained: 773578 (77356)
* ATK Level: 90
* XP till next: 95989
* Charms: 95/14/7/4
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

love this script have done for a while now, think this is one of my best proggies to date

OMG that xp/h is cazy. :D
Btw download v5.9.

exctasy

2012-05-16 06:07:38

Excellent script, kudos to your work sir!

ninoqino

2012-05-16 06:10:52

From: nathan lad
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ChaosMossKiller v5.8
* Time Running: 10 Hours, 0 Seconds
* ATK XP Gained: 773578 (77356)
* ATK Level: 90
* XP till next: 95989
* Charms: 95/14/7/4
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

love this script have done for a while now, think this is one of my best proggies to date.

lets see what 5.9 has to offer :)


Wow how did you get 77356 exp/h. Thats like 58k/h for a specific combat skill.

:confused: Btw Hunter, the red lines appear when the bot can not detect the moss giants and after some time, the character will log out saying 'moss giants not detected'. I will try to get a screenie if it occurs again!

Shatterhand

2012-05-16 07:07:03

From: ninoqino
Wow how did you get 77356 exp/h. Thats like 58k/h for a specific combat skill.

:confused: Btw Hunter, the red lines appear when the bot can not detect the moss giants and after some time, the character will log out saying 'moss giants not detected'. I will try to get a screenie if it occurs again!

That 77356 is pure attack xp.
Those red lines, that rectangle shows the moss which is falling down (you just killed). If you dont like it, turn PaintDebug off.
It says that message if cant find mosses for 3 minutes. You must have disconnected or something. :)

ninoqino

2012-05-16 09:33:12

I see thanks. Haven't been getting the 'no detect error' now. Will continue to monitor.

How did that guy get so much att exp?

This is my best with whip lol


ShadowsTM

2012-05-16 11:42:00

ChaosMossKiller v5.8
* Time Running: 7 Hours, 30 Minutes
* STR XP Gained: 371869 (49189)
* XP till next: 162716

Removed charms and very slightly changed time just incase.
V5.9 does pick up a lot more charms, however the xp/h for me drops way to much to be usable was running fine but then decided it would click randomly and do stupid stuff. Will try running it again later and post proggy if possible

nathan lad

2012-05-16 13:35:05

From: ninoqino
I see thanks. Haven't been getting the 'no detect error' now. Will continue to monitor.

How did that guy get so much att exp?

This is my best with whip lol



90 att 94 str 99 def

just usin decent gear like bandos, dboot, b gloves, d defender, neitz, tokhaar kal, fury and whip. had a good coonection tho

Shatterhand

2012-05-16 13:45:56

From: nathan lad
90 att 94 str 99 def

just usin decent gear like bandos, dboot, b gloves, d defender, neitz, tokhaar kal, fury and whip. had a good coonection tho

You sure you set XPCounter to attack level? Then it must be correct. 75k is alot :D

ninoqino

2012-05-16 19:01:57

From: nathan lad
90 att 94 str 99 def

just usin decent gear like bandos, dboot, b gloves, d defender, neitz, tokhaar kal, fury and whip. had a good coonection tho


I see thanks. Then i guess i will nv be able to achieve that much exp since I have only 30 defense haha:f:

Darcy_Oner

2012-05-16 19:30:32

Could you make this support potions?

Darcy_Oner

2012-05-16 19:40:20

Also can someone help me setting this up, i have it set to train strength and my xp counter is counting strength but it still doesnt run?

EDIT: NVM, just set it to attack and it works, maybe because im already 99 str?

ninoqino

2012-05-16 19:47:23

From: Darcy_Oner
Also can someone help me setting this up, i have it set to train strength and my xp counter is counting strength but it still doesnt run?


o so that happens when u hv 99 str?

Darcy_Oner

2012-05-16 19:52:34

From: ninoqino
o so that happens when u hv 99 str?


Not sure, its not working at all now… Just keeps clicking the toggle XP icon.

ganjagremlin

2012-05-16 20:15:13

I usally train pures, and so i naturally eat more. I was trying to edit so it would also pick up regular bones, but the script will not comply with me once I change the uptext to 'ake Bones' rather than 'take Big'. At what line could i modify for it to do this?

Darcy_Oner

2012-05-16 21:19:54

From: ganjagremlin
I usally train pures, and so i naturally eat more. I was trying to edit so it would also pick up regular bones, but the script will not comply with me once I change the uptext to 'ake Bones' rather than 'take Big'. At what line could i modify for it to do this?


Your only killing Moss Giants which only drop big bones so why do you need to pick up regular bones?

ninoqino

2012-05-16 21:33:37

Maybe he was trying to edit the script to kill other monsters and use the B2P script for his pure.

clawsraped

2012-05-16 23:21:18

Yeah I have a problem with the bot. I'm 99 strength and getting only 24k xp per hour. Whenever I kill 1 mossy it stops and presses on the XP table thing like 500 times for 2 minutes then kills another could you please help?

clawsraped

2012-05-16 23:22:27

Like it clicks the XP table off and on off and on off and on and i seti t to defence exp and it still wont show how much xp ive earned onthe bot

Darcy_Oner

2012-05-16 23:31:51

From: clawsraped
Yeah I have a problem with the bot. I'm 99 strength and getting only 24k xp per hour. Whenever I kill 1 mossy it stops and presses on the XP table thing like 500 times for 2 minutes then kills another could you please help?


Yeah im getting the same thing. Are you training strength?

ganjagremlin

2012-05-16 23:36:58

From: ninoqino
Maybe he was trying to edit the script to kill other monsters and use the B2P script for his pure.


Not unless this is illegal. I promise i would never take credit for some one elses code

clawsraped

2012-05-17 00:39:13

Defence Darcy

exctasy

2012-05-17 02:41:22

From: clawsraped
Yeah I have a problem with the bot. I'm 99 strength and getting only 24k xp per hour. Whenever I kill 1 mossy it stops and presses on the XP table thing like 500 times for 2 minutes then kills another could you please help?


Did you set your exp counter right?
The first one should be total
second counter should be the stat you're training

nathan lad

2012-05-17 03:14:39

From: ninoqino
I see thanks. Then i guess i will nv be able to achieve that much exp since I have only 30 defense haha:f:


perhaps not but turmoil pures kick arse! also if 5.9 aint workin for some of u, i suggest using an earlier version like 5.8

kazzos

2012-05-17 03:21:11

would be awesome if you could implement f2p banking. great script nonetheless

Shatterhand

2012-05-17 03:31:29

From: nathan lad
perhaps not but turmoil pures kick arse! also if 5.9 aint workin for some of u, i suggest using an earlier version like 5.8

Their problems are not related to the new version. They are just dumb enough not to read the describtion/how to start paragraph.
From: kazzos
would be awesome if you could implement f2p banking. great script nonetheless

The area is P2P.

Darcy_Oner

2012-05-18 03:57:35

It doesnt pick up all the charms? I have to manually pick up the ones it misses.

juunhoad

2012-05-18 06:44:23

Does this work with ranging also?

Shatterhand

2012-05-18 06:59:35

From: Darcy_Oner
It doesnt pick up all the charms? I have to manually pick up the ones it misses.

Stupid question, stupid answer: no it does nothing, you have to do everything manually. This isnt a bot.

From: juunhoad
Does this work with ranging also?

http://villavu.com/forum/showpost.php?p=1018000&postcount=219
Im training ranged, but careful with ammo, it doesnt stop if your out of ammo.

Darcy_Oner

2012-05-18 08:12:25

From: hunt3rx3
Stupid question, stupid answer: no it does nothing, you have to do everything manually. This isnt a bot.


Wasnt a question?

ShadowsTM

2012-05-18 08:55:53

ChaosMossKiller v5.9
* Time Running: 5 Hours, 6 Minutes and 23 Seconds
* ATK XP Gained: 253753 (49693)
* ATK Level: *, XP till next: *
* B2P:* Food: *
* Charms: 250 totalish.

Slightly modded it again, But nice proggy for new 5.9

Thanks again matey

juunhoad

2012-05-19 06:05:13

From: hunt3rx3
http://villavu.com/forum/showpost.php?p=1018000&postcount=219
Im training ranged, but careful with ammo, it doesnt stop if your out of ammo.


Ok cool, what ammo do you use and armor? I'm only 57 def, but with 92 range.

Shatterhand

2012-05-19 06:48:19

From: juunhoad
Ok cool, what ammo do you use and armor? I'm only 57 def, but with 92 range.

I use mith arrows and full dhide, coif, and range amulet. But im high defense. You should wear some armor.

juunhoad

2012-05-19 06:52:32

From: hunt3rx3
I use mith arrows and full dhide, coif, and range amulet. But im high defense. You should wear some armor.


Ok thx for info! I'm wearing Archer Black dhide body and vambs, granite shield and rune legs. And iron knifes as weapon. Good enough?

Shatterhand

2012-05-19 07:13:25

From: juunhoad
Ok thx for info! I'm wearing Archer Black dhide body and vambs, granite shield and rune legs. And iron knifes as weapon. Good enough?

Go ahead and test it. :)

juunhoad

2012-05-19 08:11:25

From: hunt3rx3
Go ahead and test it. :)


I did for like 1 hour, but now the script doesn't run anymore. I get this error:
[Hint] C:\Simba\Includes\SRL/SRL/core/animation.simba(257:3): Variable 'X' never used at line 256
[Hint] C:\Simba\Includes\SRL/SRL/core/animation.simba(257:3): Variable 'Y' never used at line 256
[Error] C:\Simba\Includes\SRL/SRL/core/antirandoms\certers.simba(122:165): Closing square bracket (']') expected at line 121
Compiling failed.

shiningwhite

2012-05-19 09:02:42

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ChaosMossKiller v5.9
* Time Running: 6 Hours, 1 Minutes and 2 Seconds
* ATK XP Gained: 301684 (50136)
* ATK Level: 86, XP till next: 332425
* B2P: 3 Food: 71
* Charms: 251/18/3/12
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
All Charms were actually doubled =)

shap08

2012-05-19 09:36:22

From: juunhoad
I did for like 1 hour, but now the script doesn't run anymore. I get this error:
[Hint] C:\Simba\Includes\SRL/SRL/core/animation.simba(257:3): Variable 'X' never used at line 256
[Hint] C:\Simba\Includes\SRL/SRL/core/animation.simba(257:3): Variable 'Y' never used at line 256
[Error] C:\Simba\Includes\SRL/SRL/core/antirandoms\certers.simba(122:165): Closing square bracket (']') expected at line 121
Compiling failed.


Yeah an SRL update seems too have mixed up the permission and directories. Should be an easy fix. Ill see what i can do.

juunhoad

2012-05-19 09:42:22

From: shap08
Yeah an SRL update seems too have mixed up the permission and directories. Should be an easy fix. Ill see what i can do.


Ok thx dude! I'm a newby so I don't understand anything :P

shap08

2012-05-19 09:45:32

its been fixed, SRL pushed a hotfix. Just make sure it is all up to date.

juunhoad

2012-05-19 09:52:07

From: shap08
its been fixed, SRL pushed a hotfix. Just make sure it is all up to date.


Hmm still won't run for me.

Shatterhand

2012-05-19 10:14:33

Yeah, doesnt work for me too. I guess we will have to wait. =/

ninoqino

2012-05-19 10:46:07

guys. this is the quick fix http://villavu.com/forum/showthread.php?t=82705

ninoqino

2012-05-20 00:51:49

Hunter, the special attack for 'brackish blade' is not working.

Muwai

2012-05-20 01:23:02

Brackish Blade Spec DOES work you just have to set the spec usage to "100%" and it works.

This script ran for about 3hrs before i stopped. This will be a nice script to get me 85 defence.

Striken

2012-05-20 01:30:37

Gonna use this soon. As I do want charms and don't want to spend a lot to train my combat.

ninoqino

2012-05-20 06:05:37

From: ninoqino
Hunter, the special attack for 'brackish blade' is not working.


EDIT: Solved

gose

2012-05-20 06:20:01

one of the best colorbots ive used so far . ive run it for 10 hours without smartmanager .

Shatterhand

2012-05-20 06:56:16

From: gose
one of the best colorbots ive used so far . ive run it for 10 hours without smartmanager .

Thanks. Got some work in it. :)

juunhoad

2012-05-20 12:07:22

Working good again :D
* Time Running: 4 Hours, 21 Minutes and 52 Seconds
* RNG XP Gained: 194014 (44452)
* RNG Level: 92, XP till next: 270k
* B2P: 4 Food: 93

Mooonb

2012-05-21 12:39:48

Really nice and easy script!
Thumps up -bigtime-!

Chen Monopoly

2012-05-21 19:18:52

This script is really awesome! Flawless, pretty much.

Demonblood

2012-05-22 16:08:51

Walking to bank(or teleporting) would still be usefull for characters without the required magic lvls

Shatterhand

2012-05-22 17:28:09

From: Demonblood
Walking to bank(or teleporting) would still be usefull for characters without the required magic lvls

You dont need magic level for that. Its a tablet.

kamikamal123

2012-05-22 17:45:38

Error: Exception: Access violation at line 101
The following DTMs were not freed: [SRL - Lamp bitmap, 1]
The following bitmaps were not freed: [SRL - Mod bitmap, SRL - Admin bitmap, SRL - Flag bitmap]

night fox6928

2012-05-23 14:35:22

what nmossies does this support? (where)

Shatterhand

2012-05-23 14:57:40

From: night fox6928
what nmossies does this support? (where)

Take the time and read the first post. Im getting tired of answering idiot questions like this. Sorry.

night fox6928

2012-05-23 18:14:00

From: Shatterhand
Take the time and read the first post. Im getting tired of answering idiot questions like this. Sorry.


i did. i dont know where chaos mossies are…hence the question.

ShadowsTM

2012-05-23 18:51:58

From: night fox6928
i did. i dont know where chaos mossies are…hence the question.


Wow. It has a map on the main page ffs. Have you ever played RS legit in your life?

It's in the chaos tunnels north of edgeville.

mad cow10912

2012-05-24 01:10:52

[00:09:27] Cant find Mosses. i keep getting this error after a few kills…

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ChaosMossKiller v6.0
* Time Running: 13 Minutes and 36 Seconds
* XP Gained: 887 (3912)
* Level: 76, XP till next: 119230
* B2P: 0 Food: 0
* Not picking up charms.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Bot4Fun

2012-05-24 15:46:08

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ChaosMossKiller v6.0
* Time Running: 3 Hours, 28 Minutes and 27 Seconds
* DEF XP Gained: 128610 (37018)
* DEF Level: **, XP till next: *****
* B2P: 3 Food: 6*
* Charms: 100/10/3/3
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Very stable and fast!

gdsht

2012-05-24 21:47:52

great script! However I was wondering if there was any easy way to disable the world hopping. Runescape always insists I am already logged in and the message seems to defeat the script :P

a1b2cpker

2012-05-25 00:44:21

Never used this script before but keep getting this:

SRL Compiled in 16 msec
SMART Initialized.
Loaded: Server 10, Members: True, Signed: True, Super Detail: False.
Error: Exception: Access violation at line 142
The following DTMs were not freed: [SRL - Lamp bitmap, 1]
The following bitmaps were not freed: [SRL - Mod bitmap, SRL - Admin bitmap, SRL - Flag bitmap]

I also cant find where i need to put my username and pass. Whenever i put them in under the declare players i get this:

Error] (70:5): Unknown identifier '"My Name Here"' at line 69
Compiling failed.

What i doing wrong?

gdsht

2012-05-25 03:51:41

Make sure you've got SRL and whatnot updated.

chuck your name and pass on lines 26/27

Username = 'Yournamehere';
Password = 'passis123';

Blg_Carl

2012-05-25 06:48:08

Any possible way to make this work for dust devils I really need the crimson :D

gdsht

2012-05-25 09:55:39

ChaosMossKiller v6.0
* Time Running: 6 Hours, 7 Minutes and 0 Seconds
* STR XP Gained: 240319 (39289)
* STR Level: 71, XP till next: 3907
* B2P: 4 Food: 83
* Charms: 211/14/4/12

momizthatyou

2012-05-25 21:59:15

i have to say i love this bot. using the smart manager. ive had this bot up for well over 24hours and it hasnt messed up at all.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ChaosMossKiller v6.0
* Time Running: 4 Hours, 58 Minutes and 34 Seconds
* ATK XP Gained: 277264 (55717)
* ATK Level: 86, XP till next: 275601
* B2P: 3 Food: 40
* Charms: 236/8/3/16
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

tigerkungfu

2012-05-25 23:57:19

Lol Its so funny that Im able to tell who is using this script. Right when i log in people log off right away haha. I removed that from the script so it wouldn't waste time and exp

Shatterhand

2012-05-26 03:06:28

From: tigerkungfu
Lol Its so funny that Im able to tell who is using this script. Right when i log in people log off right away haha. I removed that from the script so it wouldn't waste time and exp

Its not wasting time. If everyone would remove it, then your bots would mess up, as it will looks for other fights' redbar.
Edit: if too many people will use this script, maybe ill modify it to fight with xp couting so more people can bot in one world. Until that, its better for everyone to train in different worlds, as xp/h is much better.

ggsus

2012-05-26 10:55:29

awesome! I love this script!

tigerkungfu

2012-05-26 12:18:11

From: Shatterhand
Its not wasting time. If everyone would remove it, then your bots would mess up, as it will looks for other fights' redbar.
Edit: if too many people will use this script, maybe ill modify it to fight with xp couting so more people can bot in one world. Until that, its better for everyone to train in different worlds, as xp/h is much better.


How so? I deleted the entire script that hop worlds and noob check and I have no problem whatsoever with it

ninoqino

2012-05-26 21:03:04

because as of now, not many people have removed the worldhop function. If they do and you have 2 - 3 people at the same place, kill rate will be slower because there will be a redbar search when the other mossies die.

gdsht

2012-05-26 22:15:48

That could easily be avoided by not starting your bot in a world already crowded.

stuartroad

2012-05-27 05:29:25

Mate excellent script I am really happy with it. Loving the no randoms also :D

I am going to make a few extra food dtms for you, then I will find some other npc's to kill in this area also, then after that some rune pickup option. Shouldn't be too hard, I will let you know :)

Fire Giant Colour:
  MossColors := [3495593, 6735322, 2701148, 4943271, 1908262, 3693233];
Tolerances := [8, 5, 8, 7, 15, 13];

Shark DTM:
'mlwAAAHicY2dgYEhkYmBIB+JCIC4F4kogLmKCiIswMjAwQjEXEAtDMS8QN2aGMdSmhTCUxPkytOdFMTgaqjDEupsw8PHyMvADzcWFGfFgKAAA5NsKVQ=='

ninoqino

2012-05-27 07:46:17

From: gdsht
That could easily be avoided by not starting your bot in a world already crowded.


its good u usually have one person at most in each world because of the world hop function. Love it when others change into my world and leave :)

BESTTT COMBAT SCRIPT@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

ninoqino

2012-05-27 11:19:54

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ChaosMossKiller v5.9
* Time Running: 4 Hours, 50 Minutes and 35 Seconds
* STR XP Gained: 222417 (45924)
* STR Level: 94, XP till next: 603923
* B2P: 12 Food: 258
* Not picking up charms.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Bot4Fun

2012-05-28 10:25:29

Please add 75 spec Usage so i dont need to set it to 100 when training with brackish blade, which is a pretty obvious choice since moss giants are weak to stab and it boost your stats.

Thank you :)

Shatterhand

2012-05-28 10:50:01

From: stuartroad
Mate excellent script I am really happy with it. Loving the no randoms also :D

I am going to make a few extra food dtms for you, then I will find some other npc's to kill in this area also, then after that some rune pickup option. Shouldn't be too hard, I will let you know :)

I tried setting up the script at fire giants, but that place isnt that good. When u reach the edge of the room, they get aggressive to you (multi) and they can easily kill you… :(
Im sure most people use B2P so that shark dtm is not that necessary. :)

From: Bot4Fun
Please add 75 spec Usage so i dont need to set it to 100 when training with brackish blade, which is a pretty obvious choice since moss giants are weak to stab and it boost your stats.

Thank you :)

Ill add that in the next version. Untill that, you can add it yourself.
Go to the function SpecialAttack, and find this part:
case SpecUsage of  
....
end;
And add these lines.
75:
if FindDTM(DTM75,X,Y,MIX1,MIY1,MIX2,MIY2) then
SpecNumber := 1;

Geashaw

2012-05-29 11:06:01

I really love the script, very good work!


Stanger

2012-05-29 12:41:08

From: a1b2cpker
Never used this script before but keep getting this:

SRL Compiled in 16 msec
SMART Initialized.
Loaded: Server 10, Members: True, Signed: True, Super Detail: False.
Error: Exception: Access violation at line 142
The following DTMs were not freed: [SRL - Lamp bitmap, 1]
The following bitmaps were not freed: [SRL - Mod bitmap, SRL - Admin bitmap, SRL - Flag bitmap]

I also cant find where i need to put my username and pass. Whenever i put them in under the declare players i get this:

Error] (70:5): Unknown identifier '"My Name Here"' at line 69
Compiling failed.

What i doing wrong?


Post Line 140-145 and line 68-79. And we can help.

Geashaw

2012-05-29 13:45:38

Any idea why it used a b2p tablet here?


Shatterhand

2012-05-29 14:18:15

From: Geashaw
Any idea why it used a b2p tablet here?


If it doesnt find the lobster once (checking 5 times) then it turnes off lobster eating and turns on b2p. The dtm of lobs might need some update.

Geashaw

2012-05-29 15:21:12

I think so, since it used 3 tabs so far with still 15 lobsters left ^^
No disrespect, I really love the script, just … feedback =)

YesMan

2012-05-30 15:30:18

Is this for P2p only?

Geashaw

2012-05-30 16:00:00

I think so, http://runescape.wikia.com/wiki/Chaos_Tunnels

Members Area: Yes

Liquid Atoms

2012-05-30 16:13:41

Ahhh, this is the script used. When i go in the tunnels to train, there's always a guy in there, and as soon as I arrive, he dc's :P Looks like a nice script, I might give it a try soon.

nathan lad

2012-05-30 18:23:19

would u consider including prayer support for pures. shorter trips but with no randoms itd be a cool pure script

Shatterhand

2012-05-30 18:47:57

From: nathan lad
would u consider including prayer support for pures. shorter trips but with no randoms itd be a cool pure script

Na I wont make it. I find it useless and banking would be dangerous cause its in wildy. And ofc you would get a random right after you tele edge. Dumb system… :duh:

n00b? n00b?

2012-05-30 21:23:18

Thanks for this script! I've been able to run it for over 110h nearly non stop with the help of SMARTmanager. (Stopped at times because of the recent system update and the need for me to download movies off the internet to amuse myself causing the script to mess up)

Though exp counting doesn't really work for me for some reason. Doesn't affect the performance of the script, but I am curious to know how much exp I've gained and the avg rate of exp/per hour.

ardentboy28

2012-05-31 02:37:10

Does this support range too? (crossbow)

n00b? n00b?

2012-05-31 11:11:41

From: ardentboy28
Does this support range too? (crossbow)


Yes, but it doesn't pick up bolts. So use Avas.

iboughtall

2012-05-31 16:48:31

From: n00b? n00b?
I am curious to know how much exp I've gained and the avg rate of exp/per hour.


I've gained over 30m xp on different accounts and on my almost maxed main its almost averaging 66k xp/hr.

Best fighter out there!

Shatterhand

2012-05-31 17:08:03

From: iboughtall
I've gained over 30m xp on different accounts and on my almost maxed main its almost averaging 66k xp/hr.

Best fighter out there!

Haha Nice!, and thanks. :D
Post some proggies!
Btw I train all my accounts here, except when f2p. :)

Billyvg

2012-05-31 18:05:09

I f*cing love this script. Thank you very much! You did a great job!

ardentboy28

2012-05-31 19:23:47

Definitely agree. This script is one of the best fighting scripts available. Absolutely amazing

nathan lad

2012-06-01 08:58:45

From: Shatterhand
Na I wont make it. I find it useless and banking would be dangerous cause its in wildy. And ofc you would get a random right after you tele edge. Dumb system… :duh:


i know itd be shorter trips but good prayer gear and all pots would still last about 2-3 hours the user cud then go and bank himself. just thinking itd be helpful for training 1 def pures

skillzmatic

2012-06-01 09:01:30

Very nice script gained like 15 combat levels because of it.


Maybe you should mention in the first post that you should have auto retaliate always set on ON. Else it will try to logout when it spots a person while you're in combat.

Harry

2012-06-01 09:19:36

From: skillzmatic
Very nice script gained like 15 combat levels because of it.


Maybe you should mention in the first post that you should have auto retaliate always set on ON. Else it will try to logout when it spots a person while you're in combat.

You should have it set for any fighting script, anyways.

Grats on Members :D Script still works good for me, though using 5.9.

iboughtall

2012-06-01 09:26:13

From: nathan lad
i know itd be shorter trips but good prayer gear and all pots would still last about 2-3 hours the user cud then go and bank himself. just thinking itd be helpful for training 1 def pures


wish i could train my 1 def here as well, any suggestions on a script and location with no randoms…

Scar_Resource_Library

2012-06-02 00:55:35

I have always like chaos moss giant killers, Will definitely try eventually

jackhill6

2012-06-02 01:20:42

whenever it tries to hop worlds it comes up with an error saying unable to hop worlds then executes the script. not sure if anybody else gets this problem, but just letting you know

D3th

2012-06-02 13:15:05

Can any1 tell me why does it keep clicking on "toggle xp display" aka xp counter?

Shatterhand

2012-06-02 14:08:30

From: D3th
Can any1 tell me why does it keep clicking on "toggle xp display" aka xp counter?

Study the first post, the solution for you is there.
From: Harry
You should have it set for any fighting script, anyways.

Grats on Members :D Script still works good for me, though using 5.9.

Thanks. :D
What is the problem with 6.0?

D3th

2012-06-02 14:23:52

From: Shatterhand
Study the first post, the solution for you is there.


"Set up XP counter for trained level otherwise no XP will be counted!
Shared combat stlye is not supported! Also turn off XP Pop-ups!"

I set my exp counter for x level and disabled XP pop-ups and it keeps clicking on "toggle xp" every second.. what am I doing wrong?

D3th

2012-06-02 15:12:53

nvm its working now :)

chief herb

2012-06-02 18:40:16

really buggy for me, it keeps walking to center, then after a awhile it attacks slow exp plz fix:)

xtrapsp

2012-06-03 10:11:36

Hey mate, Only your script doing this for me :


ERROR in TMThread.LoadFile
Exception in Script: Unable to find file 'C:\Simba\Includes\srl/srl/misc/smart.simba' used from ''

Any suggestions?

edit: It's all scripts… dunno whats happened

iiNveRsioN

2012-06-03 16:56:37

Perhaps you should make the hop worlds optional. I find it extremely annoying that it hops worlds so often because one guy comes in, and usually when it hops worlds it messes up the script.

tvjj

2012-06-03 19:15:55

From: xtrapsp
Hey mate, Only your script doing this for me :


ERROR in TMThread.LoadFile
Exception in Script: Unable to find file 'C:\Simba\Includes\srl/srl/misc/smart.simba' used from ''

Any suggestions?

edit: It's all scripts… dunno whats happened


is it a possibility that the "\" should be "/"?

im going off on a limb here lol.

xtrapsp

2012-06-03 19:21:32

From: tvjj
is it a possibility that the "\" should be "/"?

im going off on a limb here lol.


nah, my smart.simba got corrupt :(

saosin

2012-06-04 09:56:45

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ChaosMossKiller v6.0
* Time Running: 7 Hours, 56 Minutes and 35 Seconds
* ATK XP Gained: 331623 (41749)
* ATK Level: 91, XP till next: 272070
* B2P: 3 Food: 60
* Charms: 250/22/2/12
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

awesome script :) thank you sir. heres my proggy from last night. Also i have under 70 str and still getting 40k+ an hour

Shatterhand

2012-06-04 10:21:32

From: saosin
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ChaosMossKiller v6.0
* Time Running: 7 Hours, 56 Minutes and 35 Seconds
* ATK XP Gained: 331623 (41749)
* ATK Level: 91, XP till next: 272070
* B2P: 3 Food: 60
* Charms: 250/22/2/12
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

awesome script :) thank you sir. heres my proggy from last night. Also i have under 70 str and still getting 40k+ an hour

Nice, staker right? I used to have one too. :D

saosin

2012-06-04 11:11:24

From: Shatterhand
Nice, staker right? I used to have one too. :D


yep yep :p

i just hope this combat update improves staking rather than killing it ^.^

shap08

2012-06-04 12:33:35

99 range :D

Many Thanks too shatterhand!


S i lex

2012-06-04 19:09:16

I love this script. :) I believe myself a very intelligent-bot user (not to sound like a dick), and I find this script to be very high quality. I'm watching it work right now, and it plays just as I, or any other human would; killing a monster, quickly beginning another fight, eating, special attacks. It's not very clumsy, it normally hits its target on the first try. However, it did just pick up some nature runes, but I don't mind. It does pick up charms, but you should definitely add support to be able to pick up all charms, even if it is a layer or two below top. I notice higher level charms (i.e. Blue, Green) seem to find themselves a layer or more down more often then not, reducing amount of those collected. That would make it much more efficient. I definitely like the world hopping feature, however it makes it seem a little over-reactive, because it switches worlds when there is just ONE player in the area, even if that player is just passing through. I suggest a longer wait time to allow the player to leave the area, or make it so it leaves when there is two or more, etc. Drastic world hopping can lower efficiency (a little redundant, yes), even if a little.

All it really might need to improve not getting caught is responses to chat, so 'you' will respond to other players call outs. This probably isn't necessary, as reasonable people may think you have public off or just quiet, and there really isn't that many people in the chaos tunnels to begin with, let alone ones that actually think to talk to you. But there are some people out there that will report you in an instant if you don't say 'Hi' back. But then again, I do drastically world hop. :P

I'm currently getting 72k xp/h, will post proggie soon. :)

Anyhows, great script, love it, keep it alive and updated forever!


Here is my first experience with ChaosMossKiller, just now, just over an hour. Will post longer ones soon.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ChaosMossKiller v6.0
* Time Running: 1 Hours, 5 Seconds
* ATK XP Gained: 73265 (73159)
* ATK Level: 84, XP till next: 225057
* B2P: 0 Food: 6
* Charms: 47/3/0/3
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Ah, almost two hours in, and it crashes. The error "Your account is already logged in" came up after it initiated world hopping, and it tried 3 times. However, on the third time, it worked, but it still said it failed, and terminated. I like this feature of the script, as it was doing the right thing, and kudos to you for scripting a solution to that crash. However, I suggest making it try more than whatever the amount you set it to, in my case it appeared 3. Like I said before, it was doing the right thing.

Gonna restart now and do it again!

Shatterhand

2012-06-04 23:21:22

From: shap08
99 range :D

Many Thanks too shatterhand!

Grats! :D
From: S i lex
I love this script. :) I believe myself a very intelligent-bot user (not to sound like a dick), and I find this script to be very high quality. I'm watching it work right now, and it plays just as I, or any other human would; killing a monster, quickly beginning another fight, eating, special attacks. It's not very clumsy, it normally hits its target on the first try. However, it did just pick up some nature runes, but I don't mind. It does pick up charms, but you should definitely add support to be able to pick up all charms, even if it is a layer or two below top. I notice higher level charms (i.e. Blue, Green) seem to find themselves a layer or more down more often then not, reducing amount of those collected. That would make it much more efficient. I definitely like the world hopping feature, however it makes it seem a little over-reactive, because it switches worlds when there is just ONE player in the area, even if that player is just passing through. I suggest a longer wait time to allow the player to leave the area, or make it so it leaves when there is two or more, etc. Drastic world hopping can lower efficiency (a little redundant, yes), even if a little.

All it really might need to improve not getting caught is responses to chat, so 'you' will respond to other players call outs. This probably isn't necessary, as reasonable people may think you have public off or just quiet, and there really isn't that many people in the chaos tunnels to begin with, let alone ones that actually think to talk to you. But there are some people out there that will report you in an instant if you don't say 'Hi' back. But then again, I do drastically world hop. :P

I'm currently getting 72k xp/h, will post proggie soon. :)

Anyhows, great script, love it, keep it alive and updated forever!


Here is my first experience with ChaosMossKiller, just now, just over an hour. Will post longer ones soon.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ChaosMossKiller v6.0
* Time Running: 1 Hours, 5 Seconds
* ATK XP Gained: 73265 (73159)
* ATK Level: 84, XP till next: 225057
* B2P: 0 Food: 6
* Charms: 47/3/0/3
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Ah, almost two hours in, and it crashes. The error "Your account is already logged in" came up after it initiated world hopping, and it tried 3 times. However, on the third time, it worked, but it still said it failed, and terminated. I like this feature of the script, as it was doing the right thing, and kudos to you for scripting a solution to that crash. However, I suggest making it try more than whatever the amount you set it to, in my case it appeared 3. Like I said before, it was doing the right thing.

Gonna restart now and do it again!

Thanks for your feedback.
The world hopping features (loggint out, choosing random world, logging in are SRL functions, means I have nothing do with them. So yeah they can mess up the script with those errors.
When I got the idea to make this script, like no one else trained here, so the world hopping was fine for me, and it has an advantage which I used out in the script. The advantage is to be able to look for andy red hp bar, and we will know immediately if something died (our moss giant).
I could remove this world hopping, but then this method would not work, it would detect other fights red bar, as you cant locate your fight's red bar, really. Of course I found another method to detect the kill, its with the XP counter. So basically it stores the XP bar value before the fight, and will say "we killed it" after the value goes over +240. This is uber fast, you would attack the next giant before you could see him die, cause you already know it will die with that xp gained.
However this method looks "safe", would this work if people around?
No. What if someone attacks your giant? Then the script will wait until X+240 xp… Of course the failsafe would get in reaction (no hp bar over player = not in fight), but that wastes a lot of time.
So my opinion is, its hard to make it perfect, I mean each way has advantages and disadvantages. A longer wait time would help some, would make it less ridiculous, but I have no more better ideas.
If you guys have any, share it. :)

Greenout

2012-06-05 00:16:13

Best script on site.

S i lex

2012-06-05 06:39:14

From: Shatterhand
Grats! :D

Thanks for your feedback.
The world hopping features (loggint out, choosing random world, logging in are SRL functions, means I have nothing do with them. So yeah they can mess up the script with those errors.
When I got the idea to make this script, like no one else trained here, so the world hopping was fine for me, and it has an advantage which I used out in the script. The advantage is to be able to look for andy red hp bar, and we will know immediately if something died (our moss giant).
I could remove this world hopping, but then this method would not work, it would detect other fights red bar, as you cant locate your fight's red bar, really. Of course I found another method to detect the kill, its with the XP counter. So basically it stores the XP bar value before the fight, and will say "we killed it" after the value goes over +240. This is uber fast, you would attack the next giant before you could see him die, cause you already know it will die with that xp gained.
However this method looks "safe", would this work if people around?
No. What if someone attacks your giant? Then the script will wait until X+240 xp… Of course the failsafe would get in reaction (no hp bar over player = not in fight), but that wastes a lot of time.
So my opinion is, its hard to make it perfect, I mean each way has advantages and disadvantages. A longer wait time would help some, would make it less ridiculous, but I have no more better ideas.
If you guys have any, share it. :)


Haha, I understand you put a lot of work into this, and I would rather have the world hopping feature than not. The area normally isn't too crowded, and can stay there for long periods of time without hopping. After looking back at it so far, I can't say I really mind, as this also prevents people from suspecting you are botting as well. And I do like how it takes a second to attack the next moss after killing one, more human that way. Keep improving charm pickup though, it would be wonderful to not miss out on that rare blue that might just be one more layer down. :) Will attempt to post a 5 hour+ proggie today. I also suggest you edit your main post, saying you can get up 70k+ xp/h… a bit more than 50k an hour, as I do easily. Thanks again for a great script!

Ah, I am trying to train DEF, and I set XPCounter to 3 (presumably), but it is not counting xp earned and hourly rate. It seems to be interfering with the scripts functionality. Is there a solution? Or am I on the wrong counter setting? ATK has worked fine when I set XPCounter to 1. Haven't tested STR as my STR is 99. ;)

greg1532

2012-06-05 08:20:30

finaly got 99 def :) now time to go for 99 atk and 99hp (very soon) THANKS MATE!

Inita_Waxin

2012-06-05 14:41:46

Great script. Although it does seem to miss out on charms frequently. Other than that, excellent script. Will post a proggy soon.

S i lex

2012-06-05 15:47:32

A little longer venture of mine, ended up crashing from not being able to find mosses. Great xp though!

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ChaosMossKiller v6.0
* Time Running: 5 Hours, 13 Minutes and 13 Seconds
* ATK XP Gained: 382830 (73332)
* ATK Level: 85, XP till next: 151327
* B2P: 1 Food: 37
* Charms: 259/23/0/17
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

And I really like the B2P support, if you just work out a few kinks, you could theoretically train forever without banking or anything (that is if you had a large amount of B2P tabs). Well, at least until jagex finds you, haha (But if I was anyone else, I would personally be convinced that I was a human, not a script).

One more note, I think you may have XP calculations wrong. Because whenever it registers I kill a moss, it registers that I gain 320 XP, but in fact I'm actually only gaining 240 per kill. Maybe change that so it is more accurate?

Gonna try and do an all nighter tonight!

Ltztakechi

2012-06-05 22:07:57

Deleted

Hazzah

2012-06-05 22:15:30

From: Ltztakechi
what are mossies? and where r they?


Here is a nice link for you

Ltztakechi

2012-06-05 22:29:52

deleted

Lil G

2012-06-06 01:39:23

K so I'm sorry for being a noob but what do the 1,2,3 represent in the xp counter? In other words how do I know what number to put in that field? Thanks for any help I get.

Wishlah

2012-06-06 02:39:14

From: Lil G
K so I'm sorry for being a noob but what do the 1,2,3 represent in the xp counter? In other words how do I know what number to put in that field? Thanks for any help I get.


Right click "XP" next to your mini-map then click Setup. From there you can choose what skills you want to track - you can have up to three xp counters. The bot reads how much XP you gain each attack from the counter you tell it to follow at the top right i.e. you'd put number '2' in the script if your second counter was Strength and that's what you wanted to track. Or you could track the Total XP counter if you wanted to see your Strength + Constitution xp/h combined :) etc

Silentcore

2012-06-06 03:13:12

What some good armor to wear when you range at this place, I mean like the whole equipment.

Shatterhand

2012-06-06 05:16:58

From: S i lex
One more note, I think you may have XP calculations wrong. Because whenever it registers I kill a moss, it registers that I gain 320 XP, but in fact I'm actually only gaining 240 per kill. Maybe change that so it is more accurate?

Set XP counter for attack, not for total levels…
From: Ucantseemebot
What some good armor to wear when you range at this place, I mean like the whole equipment.

I used full dhide, regen brace, sara coif, range amulet, snakesking boots. Mithril arrows like 40k/h xp. But I had high defense level.

S i lex

2012-06-06 06:48:17

From: Shatterhand
Set XP counter for attack, not for total levels…


Ah oh yea, I accidentally had my counter set on 2. :duh: Fixed now, thanks. :p

Lil G

2012-06-06 14:02:11

From: Wishlah
Right click "XP" next to your mini-map then click Setup. From there you can choose what skills you want to track - you can have up to three xp counters. The bot reads how much XP you gain each attack from the counter you tell it to follow at the top right i.e. you'd put number '2' in the script if your second counter was Strength and that's what you wanted to track. Or you could track the Total XP counter if you wanted to see your Strength + Constitution xp/h combined :) etc


Thank you very much :) I understood immediately hahah thanks for explaining this to me.

n00b? n00b?

2012-06-06 17:23:03

Awesome script~ Really works well with SMARTmanager.

Ltztakechi

2012-06-06 19:36:12

how long u guys think is gonna take me wid this amazing script to get from 86str to 99? im boting it 24/7 so how long u guys think is gonna take me?

Silentcore

2012-06-06 20:17:07

From: Shatterhand
Set XP counter for attack, not for total levels…

I used full dhide, regen brace, sara coif, range amulet, snakesking boots. Mithril arrows like 40k/h xp. But I had high defense level.


Okay thanks for the range tips but unfortunately I'm not a member…one thing I can tell you is that this script got me 99 defense 2 months ago and I have to thank you a lot for since I found this script fully working when it was v.1..

Ltztakechi

2012-06-06 22:31:52

guys im really afraid of getting banned um shud i break down a boting schedule or something? i dont relly wanna get banned and i want 99str im working on 90first but i just wanna know

saosin

2012-06-07 07:44:24

got another nice proggy for ya. somehow i beat the 6 hour login thing last night :D but i had my xp counter set to attack instead of def so no xp/hour

ChaosMossKiller v6.0
* Time Running: 10 Hours, 55 Minutes and 36 Seconds
* ATK XP Gained: 0 (0)
* ATK Level: xx, XP till next: xxxxx
* B2P: 6 Food: 121
* Charms: 352/30/11/24

Shatterhand

2012-06-07 13:55:17

From: saosin
got another nice proggy for ya. somehow i beat the 6 hour login thing last night :D but i had my xp counter set to attack instead of def so no xp/hour

ChaosMossKiller v6.0
* Time Running: 10 Hours, 55 Minutes and 36 Seconds
* ATK XP Gained: 0 (0)
* ATK Level: xx, XP till next: xxxxx
* B2P: 6 Food: 121
* Charms: 352/30/11/24

O.o nice.
By the ways its over 200 days of running since v6.0 (19th May). Thats like 192M xp (40k/h). :D

ShadowsTM

2012-06-07 15:54:59

* Time Running: 6 Hours, 26 Minutes and 36 Seconds
* DEF XP Gained: 331XXX (51XXX)
* DEF Level: XX, XP till next: XXXXXX
* B2P: 2 Food: 56
* Charms: 2XX/18/X/1X

Smaller proggy, Haven't been running overnight much aha, Trying to max now before new combat system, This script has come such a long way, Thanks again

Ltztakechi

2012-06-07 16:07:40

this runs great it has only fail me like 4times and i have gained alot of LEvel I wuld like to know if i run this 24/7 how long it wuld take me to get from 88str to 99?

Deus

2012-06-08 04:53:50

From: Ltztakechi
this runs great it has only fail me like 4times and i have gained alot of LEvel I wuld like to know if i run this 24/7 how long it wuld take me to get from 88str to 99?


88 to 99 is around 8.5M exp.

Look at what xp/hour you are getting now, and work it out :garfield:

Jammycaliber

2012-06-08 07:23:08

Is there any reason we cannot have the noted part of the rare drop table added into this script as looting? (chances of 200-20k yew logs noted, 250! sara brews, 1000-7000 addy bars) just take a read and weigh up the options http://runescape.wikia.com/wiki/Rare_drop_table
Thanks


E: Also I have got to say that this script is almost hitting 60k Attack xp per hour for me +Rep

nathan lad

2012-06-08 08:58:24

do u think u'll try and update this with the evolution of combat?

Shatterhand

2012-06-08 09:15:55

From: Jammycaliber
Is there any reason we cannot have the noted part of the rare drop table added into this script as looting? (chances of 200-20k yew logs noted, 250! sara brews, 1000-7000 addy bars) just take a read and weigh up the options http://runescape.wikia.com/wiki/Rare_drop_table
Thanks

Well I dont want this script too loot anything (for profit), this is a combat script. You get those drops like once every 100 hours, so lets say 1M/100 hour thats 10k/h, so its not good money at all.
From: nathan lad
do u think u'll try and update this with the evolution of combat?

Ive got no idea how the game will change.

QAZ

2012-06-08 09:19:09

not sure why, but sometimes an error pops up saying failed whilst hopping.


sorry for lack of detail.

Jammycaliber

2012-06-08 18:20:24

From: Shatterhand
Well I dont want this script too loot anything (for profit), this is a combat script. You get those drops like once every 100 hours, so lets say 1M/100 hour thats 10k/h, so its not good money at all..


-withdrawn-

Ltztakechi

2012-06-09 12:26:15

deleted

mo916

2012-06-09 12:32:22

Soemtimes after it kills a moss giant, it will right click a pile of bones, then move the mouse away, then come back and right click, then move mouse away, then come back and right click and do that about 3 times before it attacks another moss giant. It's also not picking up bones either

Is there any way to fix that or to turn off charm looting?

mo916

2012-06-09 12:39:04

never mind i fixed it, it was because i ate a peach for fun and it had too many inventory spaces.

EDIT: Actually, it keeps happening every time it eates a few peaches, where it will just hover over a bone pile a few times and not pick up bones.

Shatterhand

2012-06-09 13:13:26

From: mo916
never mind i fixed it, it was because i ate a peach for fun and it had too many inventory spaces.

EDIT: Actually, it keeps happening every time it eates a few peaches, where it will just hover over a bone pile a few times and not pick up bones.

It looks for the text 'Take Big bones' with a SRL function. If it doesnt work well, I cant do anything with that. Post at SRL bugs forum.

mo916

2012-06-09 14:59:23

it's working again now =D

Best fighter script ever.

xtrapsp

2012-06-10 11:08:15

doing this with full guthans and ring of life <3 works flawlessly now

Shatterhand

2012-06-10 11:14:18

From: xtrapsp
doing this with full guthans and ring of life <3 works flawlessly now

Why guthans? U can use B2Ps.. :)

xtrapsp

2012-06-10 12:23:30

From: Shatterhand
Why guthans? U can use B2Ps.. :)


Had spare set of guthans :) + It means i can run it longer :3

Shatterhand

2012-06-10 13:11:44

From: xtrapsp
Had spare set of guthans :) + It means i can run it longer :3

Um thats not right. Guthan works for 10 hours, and that spear is weak.
100 B2P tablets lasted a lot more than 10 hours with 30 def… and you are 70+ def. :)
(100 tab is like 100-150k)

Ltztakechi

2012-06-10 15:27:51

deleted

weeps

2012-06-10 15:32:32

Used it for over 30 h, its works very well. Never had any issue with the script at all. Thank you for a great script.

The Cat

2012-06-10 16:30:33

ChaosMossKiller v6.0
* Time Running: 6 Hours, 4 Minutes and 9 Seconds
* STR XP Gained: 297753 (49058)
* STR Level: 94, XP till next: 655450
* B2P: 0 Food: 5
* Not picking up charms.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ran very well i manually stopped it cause it ran for more than 6 hours but idk how the 6 hour forced log out works

also would love to thank you and let you know that im 2mill exp from having gotten 80-99 in ranged defence attack strength and hit points strength is last one

cheers and ill make sure to get you the 99 str progy picture along with all the capes

salbakuta

2012-06-10 21:16:09

does it support any other food? like sharks >.>

D3th

2012-06-11 21:56:04

averaging 70k str exp per hour with rapier gj

rebeltjeh

2012-06-12 04:17:10

From: D3th
averaging 70k str exp per hour with rapier gj


That's damn nice!

btw, with 97 defence required to get B2P or just no food at all?
(Id use my bonecrusher to get a little bit prayer xp)

Shatterhand

2012-06-12 04:30:21

From: D3th
averaging 70k str exp per hour with rapier gj

Are you sure the script is counting str xp and not total xp? (XP counter needs to be set to Strength).
From: rebeltjeh
btw, with 97 defence required to get B2P or just no food at all?
(Id use my bonecrusher to get a little bit prayer xp)

With some decent armour, I dont think you will need B2P. Maybe try to modify the script to use sharks instead of lobsters. :)
(only lobsters are supported)

rebeltjeh

2012-06-12 09:40:45

Aight I'll do that ;)

doublex8

2012-06-12 12:06:36

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ChaosMossKiller v6.0
* Time Running: 6 Hours, 3 Minutes and 24 Seconds
* DEF XP Gained: -1739619 (-287218)
* DEF Level: 88, XP till next: 2496735
* B2P: 0 Food: 21
* Charms: 306/18/4/21
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Finally got to the six hour mark without running out of food haha. Thanks for this script it's pretty awesome! ^_^

iM i N eR

2012-06-12 17:56:40

I'm not very good with these scripts but I keep on getting this error

[22:55:23] Startup fail. Cant get level/read xps.

Can you please tell me how to fix it?

chiatku03

2012-06-12 23:09:12

I am using range and it exited me out. It said I could not find mosses after walking to the center of the area. any help???

chiatku03

2012-06-13 00:46:48

it keeps saying i could not find uptext

Jammycaliber

2012-06-13 17:45:53

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ChaosMossKiller v6.0
* Time Running: 5 Hours, 1 Minutes and 57 Seconds
* ATK XP Gained: 294794 (58577)
* ATK Level: ??, XP till next: 50—-
* B2P: 3 Food: 54
* Charms: 266/25/0/14
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
love this script.

Franju

2012-06-13 19:19:57

works like a charm, love you very much sir!

n00b? n00b?

2012-06-13 19:26:56

From: Franju
works like a charm, love you very much sir!


Works like a charm and collects them^^

Deni_mulic

2012-06-14 05:41:50

Anyone try this out on a 60-80-1 or higher pure? curious

Shatterhand

2012-06-14 07:00:23

From: Deni_mulic
Anyone try this out on a 60-80-1 or higher pure? curious

I think that would be very ineffective, too much eating.
I used to train my 30def 80attack account here, but with 90+ str. That was easy 40k/h. :)

Bob The Cat

2012-06-14 07:03:06

Will 60 attack 70 str and 45 def, be effective with this script like how much xp a hour etc? or are there better scripts for to use combat wise.

Deni_mulic

2012-06-14 07:27:02

From: Bob The Cat
Will 60 attack 70 str and 45 def, be effective with this script like how much xp a hour etc? or are there better scripts for to use combat wise.


I maxed out here starting at 70-80-40 on a rune pure, you'll be fine

ericrootbeer

2012-06-14 09:51:36

this is an awesome script, but could you add other food support, like monkfish, shark, etc? Lobsters run out too quickly :S

Bob The Cat

2012-06-14 11:23:21

From: Deni_mulic
I maxed out here starting at 70-80-40 on a rune pure, you'll be fine


What seriously you got 99 str etc with this script??

S i lex

2012-06-14 14:17:59

New Proggy, dont know how I got by the 6 hr mark without smartmanager, I must be doing something right… and that's good!

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ChaosMossKiller v6.0
* Time Running: 7 Hours, 17 Minutes and 15 Seconds
* ATK XP Gained: 409092 (56134)
* ATK Level: 92, XP till next: 588755
* B2P: 0 Food: 13
* Charms: 338/25/8/16
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

chiatku03

2012-06-16 16:41:41

is there any way to ruduce the lag?

Deni_mulic

2012-06-16 18:18:46

From: Bob The Cat
What seriously you got 99 str etc with this script??


http://villavu.com/forum/showpost.php?p=1013968&postcount=205
didn't post the others

Thief

2012-06-17 11:21:29

Works flawlessly for me with range and melee :)

Here's one of my range proggys

ChaosMossKiller v5.9
* Time Running: 2 Hours, 56 Minutes and 12 Seconds
* RNG XP Gained: 88434 (30113)
* RNG Level: 74, XP till next: 5069
* B2P: 3 Food: 87
* Charms: 66/1/1/1
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Mjordan

2012-06-17 11:30:59

Wow this script is quite good I must admit. I'm very surprised with it, great job!

Does anybody know why I can't buy B2P tablets on the GE no matter how high I put the price?

Wishlah

2012-06-17 12:25:17

Great script man have gotten 99 Strength 99 Def and am at 96 Attack atm


Thanks a lot!

Mjordan

2012-06-17 17:48:15

From: Wishlah
Great script man have gotten 99 Strength 99 Def and am at 96 Attack atm


Thanks a lot!


Man you better take that picture down quick and edit it. NEVER show your RS name. Especially on a thread where you're thanking someone for their script that your using to bot lol.

Wishlah

2012-06-17 18:56:45

Ah yeah thanks for that

Dannyownz

2012-06-18 18:16:46

Awesome script, but one problem is it keeps clicking the XP counter right next to the money pouch. I am worrying that I might get banned.

Mjordan

2012-06-18 18:52:05

Once again, I'd like to tell you what an awesome script! It's such a good feeling being able to turn on a script and not worry about it messing up for 6+ hours. This is definitely a set and forget script, love it! Rep++ for you.

Some possible suggestions that I've thought about…

- Add bone burying. Usually bone burying means a ton of randoms, but seeing as you can't get them here… it would be a great way to get some free prayer xp for those of us without bonecrusher.

- Support for more food. Just a suggestion that will help lower level players because lobsters run out fast for them.

- More (or custom) item pickup. I was watching it run yesterday and saw I got a torstol seed drop, which is ~250k so luckily I picked it up. Maybe add pickup support for the high GP items and stackable items such as runes. Everything they drop can be seen here… http://runescape.wikia.com/wiki/Moss_giant

- Potion/summoning support. Obviously if summoning support was added in, it would need potion support also for summ pots. But both would be a great addition and no telling how much it could raise the xp/hour by.

Those suggestions make this script go from great to amazing.

Shatterhand

2012-06-19 02:54:08

From: Mjordan
Once again, I'd like to tell you what an awesome script! It's such a good feeling being able to turn on a script and not worry about it messing up for 6+ hours. This is definitely a set and forget script, love it! Rep++ for you.

Some possible suggestions that I've thought about…

- Add bone burying. Usually bone burying means a ton of randoms, but seeing as you can't get them here… it would be a great way to get some free prayer xp for those of us without bonecrusher.

- Support for more food. Just a suggestion that will help lower level players because lobsters run out fast for them.

- More (or custom) item pickup. I was watching it run yesterday and saw I got a torstol seed drop, which is ~250k so luckily I picked it up. Maybe add pickup support for the high GP items and stackable items such as runes. Everything they drop can be seen here… http://runescape.wikia.com/wiki/Moss_giant

- Potion/summoning support. Obviously if summoning support was added in, it would need potion support also for summ pots. But both would be a great addition and no telling how much it could raise the xp/hour by.

Those suggestions make this script go from great to amazing.

Well, this is a combat training script, thats why I didnt add these things, and I dont think Ill do that.

You can get like 3k pray xp per hour here with bonecrusher, thats fine, although youll need high defense without B2P. Burrying the bones is totally worthless, you could train prayer in lot more effective ways.

For the pickups, I never tried to add torstol, because of its color would match all the other seeds and some objects in the area. And right clicking on all these stuff would slow down a script a lot for that low money you can get here.

Better food is ok, I can do that, but I guess its a good challenge for newcomers to do it themselves.

Summoning is very unknown for me, Im sorry, never did that thing.

Anyway thanks for your feedback/ideas. :)

chris91

2012-06-19 20:14:54

Working great for me! Collecting charms works so smooth too.

gooddiubro

2012-06-20 02:53:03

I like the way you put comments in the script. A highly customisable script indeed.

Mjordan

2012-06-20 15:24:14

From: Shatterhand
Well, this is a combat training script, thats why I didnt add these things, and I dont think Ill do that.

You can get like 3k pray xp per hour here with bonecrusher, thats fine, although youll need high defense without B2P. Burrying the bones is totally worthless, you could train prayer in lot more effective ways.

For the pickups, I never tried to add torstol, because of its color would match all the other seeds and some objects in the area. And right clicking on all these stuff would slow down a script a lot for that low money you can get here.

Better food is ok, I can do that, but I guess its a good challenge for newcomers to do it themselves.

Summoning is very unknown for me, Im sorry, never did that thing.

Anyway thanks for your feedback/ideas. :)

I can see the problem with Torstol seeds. I also didn't take into account the extremely low prayer xp/hour that burying the bones would yield. That's definitely not worth slowing the combat xp/hour down.

I think I might try to piece together summoning/pot support for myself though and see how it goes!

A little proggy I got today:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ChaosMossKiller v6.0
* Time Running: 6 Hours, 40 Minutes and 55 Seconds
* ATK XP Gained: 309937 (46383)
* ATK Level: 90, XP till next: 374701
* B2P: 4 Food: 66
* Charms: 302/20/3/7
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Shatterhand

2012-06-20 15:49:46

From: Mjordan

A little proggy I got today:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ChaosMossKiller v6.0
* Time Running: 6 Hours, 40 Minutes and 55 Seconds
* ATK XP Gained: 309937 (46383)
* ATK Level: 90, XP till next: 374701
* B2P: 4 Food: 66
* Charms: 302/20/3/7
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Nice, similar to mine. Hate this 6 hours limit. :duh:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ChaosMossKiller v6.1
* Time Running: 6 Hours, 35 Minutes and 17 Seconds
* STR XP Gained: 338180 (51332)
* STR Level: 97, XP till next: 368088
* B2P: 2 Food: 32
* Charms: 285/22/7/17
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Zerkeronrs7

2012-06-20 19:53:44

From: Shatterhand
Nice, similar to mine. Hate this 6 hours limit. :duh:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ChaosMossKiller v6.1
* Time Running: 6 Hours, 35 Minutes and 17 Seconds
* STR XP Gained: 338180 (51332)
* STR Level: 97, XP till next: 368088
* B2P: 2 Food: 32
* Charms: 285/22/7/17
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


SMARTmanager? :)

almosthere

2012-06-21 16:34:48

* Time Running: 1 Minutes and 23 Seconds
* STR XP Gained: 639 (27537)
* STR Level: 85, XP till next: 312178
* B2P: 0 Food: 1
* Charms: 1/0/1/0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[16:33:39] Failed to eat peaches after broking B2P.
Successfully executed.


Not sure what the problem is. Happens with 5.9 and 6.0 so it must be on my end.

Pendulum_From_Rid

2012-06-21 21:08:57

Mine doesn't seem to pick up charms :(

Shatterhand

2012-06-23 07:45:07

Got my second 99 here. Costed 10 B2P. :D
7

Mjordan

2012-06-23 08:59:44

From: Shatterhand
Got my second 99 here. Costed 10 B2P. :D


Gratz! I'll be soon behind you. I'm trying to get all the combat levels I can before this update breaks all of our fighting scripts.

Shatterhand

2012-06-23 10:03:14

From: Mjordan
Gratz! I'll be soon behind you. I'm trying to get all the combat levels I can before this update breaks all of our fighting scripts.

Yea, same here… :)

probot

2012-06-24 01:37:51

From: Mjordan
Gratz! I'll be soon behind you. I'm trying to get all the combat levels I can before this update breaks all of our fighting scripts.


i third that. at 97 str right now then att time

koage

2012-06-24 10:55:06

I am using this on my main at the moment, i rate this 10 out of 10 piglets.

Works just fine :) No errors so far.

probot

2012-06-24 10:58:12

* Time Running: 9 Hours, 13 Minutes and 47 Seconds
* STR XP Gained: 504150 (54622)
* STR Level: 97, XP till next: 687369
* B2P: 5 Food: 97
* Charms: 451/29/3/24

ShadowsTM

2012-06-24 11:49:39

From: probot
i third that. at 97 str right now then att time


Also doing this aha, Went about it the weird way though, Did defence first now doing strength and attack.

Allanitis

2012-06-24 21:08:45

bit laggy on my laptop though which resulted in a minute wait between attacks, however comes up with error, "Can't find Mosses" quite often, any ideas?

Jeroen

2012-06-25 00:43:05

Nice script! :)
Is it also implemented that the script goes on if there are a few big bones and a bumch of peaches in its inventory? just do be safe, and that i dont have to rebank the whole time.
I got 125 Bones2Peach tabs in my invent.. :P
Love it. =)

ssshhhaaa

2012-06-25 16:53:06

Did I ever say that I love you for making this script? Because I love you now :)

Also why only lobsters? I can probably edit the script myself to change the food, but why not other foods too?

Also it would be epic if there was range/strength/attack potion support!

+rep for this¬!

mormaii2

2012-06-26 07:35:51

The only problem i found is that whenever it finds someone it tries to change worlds but now you can't since you get that thing that says your session has expired. Could you fix this please?

slobo4

2012-06-26 09:12:39

it right klicks on a charm but dont pick him op :S
sorry if i have forgotten someting but pickupcharms is True
please help

gooddiubro

2012-06-26 09:22:05

From: mormaii2
The only problem i found is that whenever it finds someone it tries to change worlds but now you can't since you get that thing that says your session has expired. Could you fix this please?


The 6 hour session thing? No script can fix it, you have to close SMART and reload the script every 6 hours.


From: ssshhhaaa
Did I ever say that I love you for making this script? Because I love you now :)

Also why only lobsters? I can probably edit the script myself to change the food, but why not other foods too?

Also it would be epic if there was range/strength/attack potion support!

+rep for this¬!

Yea, just edit line 997
Better still, if you have EE, just need to edit line 947 to include the invmouse function
(Another advantage for EE is you can start telling the script to pick up herb seeds (all seeds looks the same), making you rich!)

nucleart2

2012-06-26 16:00:36

ChaosMossKiller v6.0
* Time Running: 18 Minutes and 22 Seconds
* STR XP Gained: 22388 (73111)
* STR Level: 93, XP till next: 618722
* B2P: 0 Food: 4
* Charms: 12/1/0/0

Great work on the script, I can tell how much work was put into it

ssshhhaaa

2012-06-27 01:59:48

From: gooddiubro
The 6 hour session thing? No script can fix it, you have to close SMART and reload the script every 6 hours.



Yea, just edit line 997
Better still, if you have EE, just need to edit line 947 to include the invmouse function
(Another advantage for EE is you can start telling the script to pick up herb seeds (all seeds looks the same), making you rich!)


Whats EE lol?

mormaii2

2012-06-27 11:38:49

From: gooddiubro
The 6 hour session thing? No script can fix it, you have to close SMART and reload the script every 6 hours.



No, i mean when it enters a world and finds another person it says something like: there's a noob here. And then it tries to switch worlds. But now you can't switch worlds on runescape because you get that message that session has ended.

feh55

2012-06-27 13:30:49

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ChaosMossKiller v6.0
* Time Running: 6 Hours, 42 Minutes and 50 Seconds
* ATK XP Gained: 468970 (69850)
* ATK Level: 90, XP till next: 11162
* B2P: 0 Food: 0
* Charms: 284/13/5/14
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Thank you! :)

gooddiubro

2012-06-27 14:06:43

From: mormaii2
No, i mean when it enters a world and finds another person it says something like: there's a noob here. And then it tries to switch worlds. But now you can't switch worlds on runescape because you get that message that session has ended.


You mean "your account has not logged out from its last session"?
'Your account is already logged in'
Current player: ****
Failed to login after hopping.



From: ssshhhaaa
Whats EE lol?

http://runescape.wikia.com/wiki/Enhanced_excalibur

mormaii2

2012-06-27 17:57:58

From: gooddiubro
You mean "your account has not logged out from its last session"?


NO, i mean when you try to switch worlds. When you try to play with a normal browser and powerbot when you try to change worlds you get this message.


doublex8

2012-06-27 21:01:17

I'm having a similar problem to gooddiubro. I continue to get a the "failed to world hop" message. I don't even think there is a option to world hop? Correct me if I'm wrong. I haven't been able to watch the script run but here is the debug:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ChaosMossKiller v6.0
* Time Running: 2 Hours, 17 Minutes and 46 Seconds
* STR XP Gained: 120044 (52277)
* STR Level: 96, XP till next: 768685
* B2P: 0 Food: 3
* Charms: 103/6/0/8
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
World: 84, Players: 1380, Members: True, PvP: False
World 84 selected.
'Your account is already logged in'
'Your account is already logged in'
'Your account is already logged in'
Current player: Double X
[20:45:52] Failed to login after hopping.
Successfully executed.

EDIT: Nevermind, I just realized it's part of the whole noobcheck thing. I just commented that stuff out.

gooddiubro

2012-06-27 23:45:34

From: doublex8

EDIT: Nevermind, I just realized it's part of the whole noobcheck thing. I just commented that stuff out.


Yea, edit out line 1278 will stop hopping.
For the already login thing, I just increase the FailTime in line 874 to a bigger number, since it will need several tries before a successful login.

How many days do we have until the new combat system hits us?

Jeroen

2012-06-29 06:35:37

From: gooddiubro
Yea, edit out line 1278 will stop hopping.
For the already login thing, I just increase the FailTime in line 874 to a bigger number, since it will need several tries before a successful login.

How many days do we have until the new combat system hits us?


Thanks for the info! Really usefull. But isn't it programmed just for 1 char/world?

The new combat system is releasing in September, dont worry.

Shatterhand

2012-06-29 16:11:54

The script uses srl functions to change world, sometimes they doesnt work that well.
Example. Random world picker function chooses the skilling world, login function gets error cause of req, then login function chooses f2p world as a failsafe.
Other example. Sometimes rs kicks you out of lobby and these srl functions cant communicate that well to each other, and it ends up script terminates cause that failtime timeout.
Ill look into this, cant say sure things yet.
On the combat update: we have like 2 months. Bot till you can. :)

chris91

2012-06-29 17:56:58

Great script. Upsetting it doesn't pick up every charm that is dropped. I think it is funny that many people use this script. You log in and 10 seconds later they log out.

planb

2012-06-30 18:49:54

how does ranged work with this?

kllj

2012-06-30 20:44:02

I keep getting this applett application error

Shatterhand

2012-07-01 03:07:14

From: kllj
I keep getting this applett application error

Actually me too. I have a shit router, it keeps me disconnecting from the internet. Once you reconnect, you get that client token error, the same what you get after 6 hours. I restart smart every time my net disconnects…:duh:

John

2012-07-01 08:41:12

From: Shatterhand
Actually me too. I have a shit router, it keeps me disconnecting from the internet. Once you reconnect, you get that client token error, the same what you get after 6 hours. I restart smart every time my net disconnects…:duh:


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ChaosMossKiller v6.0
* Time Running: 7 Hours, 41 Minutes and 0 Seconds
* DEF XP Gained: 295796 (38498)
* DEF Level: 77, XP till next: 76023
* B2P: 4 Food: 93
* Charms: 190/14/7/13
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Still going strong :D

bawz

2012-07-01 15:26:50

Awesome script, thank you :)

Edit: Failed to login after hopping, went to a f2p world and couldn't get in.

blotrees

2012-07-02 01:00:23

works this script is amazing. was getting 62k / hr ive ran it up 8hrs flawlessly. you dont ever have to deal with random events or food with the bones to peaches it runs all day.

John

2012-07-02 08:51:14

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ChaosMossKiller v6.0
* Time Running: 9 Hours, 6 Minutes and 49 Seconds
* DEF XP Gained: 353676 (38807)
* DEF Level: 79, XP till next: 29234
* B2P: 6 Food: 122
* Charms: 243/20/3/28
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Another Beautiful Proggy <3

Mjordan

2012-07-02 09:14:04

@John, you're getting really low charm rates it seems to me. I usually get around 300 gold charms in a 6 hour run. But oh well, combat xp is still good.

I'm almost to my first 99 combat skill with this script! Should be only a few more days.

Inita_Waxin

2012-07-04 00:01:45

got me 99 strength, 90 defense, and 90 attack. thanks.

Silentcore

2012-07-04 02:42:05

I am getting the following error, Iv'e tried restarting and updating but I still get it..
Error: Exception: Access violation at line 101
The following DTMs were not freed: [SRL - Lamp bitmap, 1]
The following bitmaps were not freed: [SRL - Mod bitmap, SRL - Admin bitmap, SRL - Flag bitmap]

Shatterhand

2012-07-04 03:28:43

From: Ucantseemebot
I am getting the following error, Iv'e tried restarting and updating but I still get it..
Error: Exception: Access violation at line 101
The following DTMs were not freed: [SRL - Lamp bitmap, 1]
The following bitmaps were not freed: [SRL - Mod bitmap, SRL - Admin bitmap, SRL - Flag bitmap]

Thats an error what you get when you click start script before simba loads the things. Its not related to any script. Restart simba, and wait a minute before u click on start. :)

Failed4life

2012-07-04 03:56:36

From: Shatterhand
Thats an error what you get when you click start script before simba loads the things. Its not related to any script. Restart simba, and wait a minute before u click on start. :)

didnt work, i keep getting the error

Shatterhand

2012-07-04 04:09:06

From: Failed4life
didnt work, i keep getting the error

Try updating SRL. Or search for it, other people must have posted about this already. :)

blotrees

2012-07-04 10:16:55

* Time Running: 6 Hours, 3 Seconds
* STR XP Gained: 413695 (68939)
* STR Level: 88, XP till next: 75754
* B2P: 4 Food: 72
* Charms: 279/17/2/11

proggy

Mjordan

2012-07-04 10:27:59

Put me on the first post!!!

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ChaosMossKiller v6.0
* Time Running: 10 Hours, 50 Minutes and 36 Seconds
* ATK XP Gained: 516406 (47623)
* ATK Level: 97, XP till next: ~
* B2P: 5 Food: 109
* Charms: 447/37/6/15
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

embark

2012-07-04 13:29:52

Honestly the best script ive used ever. This one continuously goes over 7 hours plus…. love it

Mazool

2012-07-04 14:09:35

Eh, the script keeps spam clicking the xp orb, it's set to the correct setting to train strength, but will spam it during a fight, turn it off till next target then spam it again…


EDIT: Fixed it, I didn't realize you need to have all 3 counters up at the same time.

DragonDagger

2012-07-04 16:03:15

Is it meant to click the XP counter on and off during battle? Doesn't seem very realistic but other than that nice script so far.
Also the script sometimes doesn't finish of killing one moss giant before moving on to another, are these meant to happen or can be fixed?

Got the XP counter thing fixed, the other problem isn't much of a problem but just wondering. I just got Simba today and I love this script already, is there anyway to customise breaks or even have breaks?

bawz

2012-07-04 19:33:30

Runs for hours, sometimes encounters a problem with hopping worlds. For example it picks a non mems world and shuts down when login fails. Also, is it necessary to hop when there's only 1 more person? i agree 3 is too crowded but maybe 2 would be better as every time people hop it logs others out its very bot like. All in all an awesome bot, thanks.

Hoard

2012-07-04 20:10:16

Guis, what sorts of ammo should I use to range here?

Silentcore

2012-07-04 20:13:53

From: Hoard
Guis, what sorts of ammo should I use to range here?


Try using the best ammo u could use at your lvl…The better you have, the higher you hit and more xp per hour…

Hoard

2012-07-04 20:34:37

Lol nah. I think Steel darts work well. Now I just have to fix the exp counter for range…
And Range is my last combat 99 to get, lol.
I don't quite understand how to set up the exp counter D:
Edit: Figured it out (kinda)

sammgill

2012-07-04 21:20:46

Works flawlessly, and the tunnel is empty o.o A++ Script!

Hoard

2012-07-04 21:26:36

No kidding, and the hopping part will prevent it from becoming a big deal (hopefully).
I just need 99 range (my last combat 99) before the update… lol :D
This script will be great, but it never seems to pick up charms… :[

Zerkeronrs7

2012-07-05 02:21:25

98 defence, one level to go :D But i just missed an effigy :(

Shatterhand

2012-07-05 03:48:21

From: DragonDagger
Also the script sometimes doesn't finish of killing one moss giant before moving on to another, are these meant to happen or can be fixed?

The script doesnt work well if people around you are fighting too. It will detect their kills, thats why it thinks you finished.
From: bawz
Runs for hours, sometimes encounters a problem with hopping worlds. For example it picks a non mems world and shuts down when login fails.

I know that problem happens alot, this may fix it:
Add this after line 75.
Member := True;
So those SRL functions will know our player is members and hopefully wont switch to f2p world.
From: Hoard
Guis, what sorts of ammo should I use to range here?

Im using mithril arrows, they are like 25gp each.. I get 45k/h at 98 ranged. 1 level to go. :D

ShadowsTM

2012-07-05 09:35:11

Been using this script for a while, First error happened yesterday, Not sure what but I managed to die, Probably should babysit a bit more aha

Anyway nearly at my second 99 combat stat, The soon after to be third and fourth. Thanks!

Shatterhand

2012-07-05 09:37:27

From: ShadowsTM
Been using this script for a while, First error happened yesterday, Not sure what but I managed to die, Probably should babysit a bit more aha

Give more details. :)

Jeroen

2012-07-05 11:58:37

From: ShadowsTM
Been using this script for a while, First error happened yesterday, Not sure what but I managed to die, Probably should babysit a bit more aha

Anyway nearly at my second 99 combat stat, The soon after to be third and fourth. Thanks!

You need auto retaliate ON!

Omg,
Awesome script! i hope to get 99 Defence before the nuke, only 4M left. :p

DragonDagger

2012-07-05 12:35:48

Probably not your scripts problem but it you know the solution can you tell me when it clicks a moss giant there is a big drop in FPS, any solutions?

llor

2012-07-05 13:27:41

Keep getting this, I'm newish and would like help please. im all updated and everything
[Error] C:\Simba\Includes\srl/srl/misc/smart.simba(143:15): String error at line 142
[Error] C:\Simba\Includes\srl/srl/misc/smart.simba(143:15): Syntax error at line 142
Compiling failed.

Silentcore

2012-07-05 14:37:59

From: llor
Keep getting this, I'm newish and would like help please. im all updated and everything
[Error] C:\Simba\Includes\srl/srl/misc/smart.simba(143:15): String error at line 142
[Error] C:\Simba\Includes\srl/srl/misc/smart.simba(143:15): Syntax error at line 142
Compiling failed.


I think you have to make sure that you have all updates..

Shatterhand

2012-07-05 17:38:48

And here is my last 99. Im finished with combat training for a while. :D

mormaii2

2012-07-05 19:53:09

Been using it for over 5 hours today and the script works so far great. The only problem is that sometimes it attacks another Moss giant before it finishes killing another. It's not because someone else is fighting them because i'm alone. Other than that then it's flawless!

Zerkeronrs7

2012-07-05 20:26:23

From: Shatterhand
And here is my last 99. Im finished with combat training for a while. :D


Could you please tell me your ranging setup? And what xp/hour your getting :)?

mormaii2

2012-07-05 21:40:59

now i'm getting an error that i didn't get before and it says: start up fail. Can't get level/read xps

I think it's because of the squeal of fortune message because when i disable smart and close the SOF popup and restart the scripts it works fine.

Mjordan

2012-07-05 22:35:59

From: mormaii2
now i'm getting an error that i didn't get before and it says: start up fail. Can't get level/read xps

I think it's because of the squeal of fortune message because when i disable smart and close the SOF popup and restart the scripts it works fine.


It's not because of SOF. Just make sure your client is completely loaded and ready to log in, then start the script up. Or log your character in first, then press run.

Congratulations on 99 range shatterhand. I saw 3 different rangers fighting mossies today and I secretly asked all of them stuff to try to find out if it was you haha. Like what kind of arrows they were using and stuff that only you would understand and realize it was a fellow SRL'er.

Shatterhand

2012-07-06 03:56:43

From: Zerkeronrs7
Could you please tell me your ranging setup? And what xp/hour your getting :)?

Dboots and dhelm, dhide body and chaps, glory, regen brace, msb with mithril arrows. I was getting like 45k/h.
From: Mjordan
Congratulations on 99 range shatterhand. I saw 3 different rangers fighting mossies today and I secretly asked all of them stuff to try to find out if it was you haha. Like what kind of arrows they were using and stuff that only you would understand and realize it was a fellow SRL'er.

Thanks. Haha. Btw just looked at my noobs screenies and found this. :D

Mazool

2012-07-06 12:17:38

Ahh, I love this script, I wish the charm pickup was much faster though, and when the bot goes to do b2p it is really slow and takes it's time but that doesn't really matter, I've been running it for: I'm getting 99 in all cb stats. :)

Also I haven't done anything since I started this up once, it keeps auto restarting the client and I've left it for 2 days now. Which is so awesome.


Edit: All though, I did notice that if you try to hide the SMART client when running this script it will mess up the script, I don't know how or why but it will. Every time I minimized it to tray I'd come back in an hour and notice it only ran for 15 minutes and I was in edgeville with my ring of life used. :S Also I left for the gym and came back and my dad was on the computer and had opened some windows and the smart client got stacked with the simba programs and the bot stopped and the error was Could not find moss giants, the same as when I minimized it to tray. But this time I logged in and was just standing in the cave with all the moss giants.

Try it out for your self and wait like 10-60 minutes and see what happens :S

Mjordan

2012-07-06 18:41:11

Just got 99 attack today. Another one bites the dust, thanks Shatterhand! Time for strength now…

Some kind of little break system would be great in this. Sometimes I don't know how to feel when I come back to my computer and my character has ran for 7+ hours straight without any breaks at all lol.

bawz

2012-07-06 20:02:03

From: Mjordan
Just got 99 attack today. Another one bites the dust, thanks Shatterhand! Time for strength now…

Some kind of little break system would be great in this. Sometimes I don't know how to feel when I come back to my computer and my character has ran for 7+ hours straight without any breaks at all lol.


When you come back and see this. You should not question your feeling, you should just feel like a King. :D

DragonDagger

2012-07-07 07:05:57

When I this script and it attacks a monster as soon as the click is made a massive drop in FPS will happen, it doesn't happen when playing legit. When it is out of combat it is fine, it's annoying because the script makes alot of misclicks when the lagg is occuring. I have Java 6 Update 33 and I've uninstalled Simba, Java and re-downloaded the script and all that jazz. My settings are definately correct so I am stumped. Any ideas? anyone else had this problem?

skillzmatic

2012-07-07 09:11:38

I love this script and used it many times. However today wasn't as pleasant. Found myself killed and in the mage random after a few hours O_I

gooddiubro

2012-07-07 10:20:51

From: Shatterhand

Haha. Btw just looked at my noobs screenies and found this. :D


How did that legit detect you!

Jos3ph

2012-07-07 12:01:10

From: Shatterhand
And here is my last 99. Im finished with combat training for a while. :D


How long did it take you to get to 99 range? I am 90 right now been thinking of using this script for range…Can you give me some advice? What did you wear, what was your set up, etc etc.

Hoard

2012-07-07 17:06:44

I'm at 90 and using the script for range. Try using knives/darts, if you can afford STEEL KNIVES, I'm sure you'd kick ass. I'm getting 60k an hour if I'm not bugging with iron knives.

Jos3ph

2012-07-07 18:44:46

From: Hoard
I'm at 90 and using the script for range. Try using knives/darts, if you can afford STEEL KNIVES, I'm sure you'd kick ass. I'm getting 60k an hour if I'm not bugging with iron knives.


IDK why but I bank alot for food…Seems every 4hours I bank and I am 98 def, should I do bones to peaches and if so what should I do? Whats the set up for bones to peaches, what runes, etc etc? Advice is much needed, thank you.

Jos3ph

2012-07-07 19:08:25

I just bought 25k steel knifes; what should I wear? Thanks guys.

Silentcore

2012-07-07 20:59:04

From: po2n star
I just bought 25k steel knifes; what should I wear? Thanks guys.


If you are ranging, try wearing the best at your lvl..

Jos3ph

2012-07-07 21:59:56

best range level or just and hybrid it?

mormaii2

2012-07-08 05:03:32

From: po2n star
IDK why but I bank alot for food…Seems every 4hours I bank and I am 98 def, should I do bones to peaches and if so what should I do? Whats the set up for bones to peaches, what runes, etc etc? Advice is much needed, thank you.


I'm 70 defence and i've botted over 30 hours there so far and haven't banked once because of bones to peaches. You should get bones to peaches tabs and in the script configuration turn bones to peaches to true. That's all

Shatterhand

2012-07-08 14:29:13

Guys, sorry to tell you, but your laziness is killing me… I already posted like 5 times about my range gear and xp/h.

chiatku03

2012-07-08 17:35:47

just checking in to say thanks and not leech. been using this script for awhile now. works amazing! best script ive tested so far. my max time was around 10hrs w/o smart manager which is outstanding. so far ive gotten 99 strength from this and im currently at 97 range. one again thanks a lot! :)

nathan lad

2012-07-09 06:23:38

for ranging void is the best armour to wear followed by armadyl/royal. as for weapon either msb or darts/knives. with void and rune darts (which are quite cheap) i was gettin 55k exp hr. also i used stuff like rangers, unholy book, archer ring i, to boost my range bonus

Leonardo Da Vinci

2012-07-09 18:25:29

Wow.
This is amazing. Absolutely brilliant.
THANK. YOU.

Jos3ph

2012-07-09 18:39:46

From: nathan lad
for ranging void is the best armour to wear followed by armadyl/royal. as for weapon either msb or darts/knives. with void and rune darts (which are quite cheap) i was gettin 55k exp hr. also i used stuff like rangers, unholy book, archer ring i, to boost my range bonus


Right now I am using Royal with rangers charm, void rangers helm, archer ring, ava, and I'm using rune arrows….

Should I switch to Rune Darts??

Leonardo Da Vinci

2012-07-10 12:37:52

Could someone explain to me how Bones to Peaches works in this script?
I know what it does, but if there are no bones to be picked up… What do the tablets do?
I'm just wondering how you guys do it, so I don't have to go to the bank every 45 minute to get some more lobbys.

Shatterhand

2012-07-10 12:46:15

From: Law and Justice
Could someone explain to me how Bones to Peaches works in this script?
I know what it does, but if there are no bones to be picked up… What do the tablets do?
I'm just wondering how you guys do it, so I don't have to go to the bank every 45 minute to get some more lobbys.

Moss giants drop big bones. So actually its 'Big Bones to Peaches'. LOL.

Leonardo Da Vinci

2012-07-10 13:01:09

From: Shatterhand
Moss giants drop big bones. So actually its 'Big Bones to Peaches'. LOL.


Oh shit, I thought I read somewhere that it only works on regular bones…
All this time I could have been optimizing this brilliant scripts' features!

So if it's like this
BonesToPeaches  =     False;
It will automatically pick up the bones and BtP when needed?
(I'm up to page 7 reading through the thread trying to find out, I apologize for my stupidity)

Shatterhand

2012-07-10 13:19:47

From: Law and Justice

BonesToPeaches  =     False;
It will automatically pick up the bones and BtP when needed?

Set it 'True' and it will pick up Big bones, and break B2P when needed.

Leonardo Da Vinci

2012-07-10 13:22:51

From: Shatterhand
Set it 'True' and it will pick up Big bones, and break B2P when needed.


Oops, I was going to edit that before I posted. My mistake.
Thanks again for such a brilliant script, I and many, many others appreciate your effort a great deal!

S i lex

2012-07-11 02:36:18

Don't have a pic, but I can assure you that I achieved 99 Attack with this script. This script is raw quality in my eyes.

Thank you.

Shatterhand

2012-07-11 03:19:13

From: S i lex
Don't have a pic, but I can assure you that I achieved 99 Attack with this script. This script is raw quality in my eyes.

Thank you.

You should have the picture if TakeScreenShots was True. :)

Jeroen

2012-07-11 14:01:12

Thanks buddy! Love it! hehe :D
i hope i can get my Atk + Str alot higher before the nuke.. i have faith in simba so i hope they come back :p

S i lex

2012-07-11 19:07:18

From: Shatterhand
You should have the picture if TakeScreenShots was True. :)


Well, I ran the script until like 10k from 99, then I got the rest myself. That is why I have no picture :p

mormaii2

2012-07-12 20:14:41

The script had been working perfectly fine. Today i updated SRL,SPS,MSI on simba and the script has stopped working. I run it while i'm already logged in and everything and the script just doesn't start. This appears on simba.

SRL Compiled in 16 msec
SMART Initialized.
Loaded: Server 10, Members: True, Signed: True, Super Detail: False.

And then nothing else happens, any ideas?

Shatterhand

2012-07-13 03:11:11

From: mormaii2
The script had been working perfectly fine. Today i updated SRL,SPS,MSI on simba and the script has stopped working. I run it while i'm already logged in and everything and the script just doesn't start. This appears on simba.

SRL Compiled in 16 msec
SMART Initialized.
Loaded: Server 10, Members: True, Signed: True, Super Detail: False.

And then nothing else happens, any ideas?

The latest update (navigation bar) broke the bot. Most of the SRL functions doesnt work, so it wont even log in. Check out this thread for more info:
http://villavu.com/forum/showthread.php?t=86107
And please wait patiently. Dont spam the thread, the devs are getting mad.

gose

2012-07-13 03:33:16

achieven 65-99 r ange
80-99 attack
93-99ddef
70-96 str with this script runs flawless!

mormaii2

2012-07-13 06:29:36

From: Shatterhand
The latest update (navigation bar) broke the bot. Most of the SRL functions doesnt work, so it wont even log in. Check out this thread for more info:
http://villavu.com/forum/showthread.php?t=86107
And please wait patiently. Dont spam the thread, the devs are getting mad.


I'm sorry i didn't know anything about the latest update. Hadn't botted for around 1 week and i just came back so i didn't know there was a RS update. I'll wait patiently then.

Shatterhand

2012-07-14 11:27:58

Updated the first post with proggies. Thanks for all! :D

Le Jingle

2012-07-14 12:28:50

Nice script, it's helped my noob gain many levels.
Also nice to see that you've hit 1k dl's on 6.0. Congrats! :>

yams

2012-07-15 15:37:53

About a week ago the bot was running with no problems…

Now, it takes 20+ minutes just to get to the login screen, and when it does get there it has no idea what to do and just sits there.

Can anybody help or is having similar problems?

Deus

2012-07-15 16:22:14

From: yams
About a week ago the bot was running with no problems…

Now, it takes 20+ minutes just to get to the login screen, and when it does get there it has no idea what to do and just sits there.

Can anybody help or is having similar problems?


http://villavu.com/forum/showthread.php?t=86107

Zodia

2012-07-17 04:57:21

Is this script compatible with the temp fix o-O?

mormaii2

2012-07-18 14:14:37

From: Zodia
Is this script compatible with the temp fix o-O?


I tried it but got a compilation error :/

bomzene

2012-07-27 12:52:01

Will this script be updated to work with Simba .991 that was released earlier, and the latest SMART?

Thanks.

ps. Asking because this script was so good! Would be a shame to see it die.

mormaii2

2012-07-29 15:58:59

From: bomzene
Will this script be updated to work with Simba .991 that was released earlier, and the latest SMART?

Thanks.

ps. Asking because this script was so good! Would be a shame to see it die.


this ^ i want to know too

Leonardo Da Vinci

2012-07-29 17:36:35

Bumping.
We need this brilliant flawless script! We're too lazy to level up ourselves!
In all seriousness, I can't wait until this script works again.

bomzene

2012-07-29 19:39:47

From: Law and Justice
Bumping.
We need this brilliant flawless script! We're too lazy to level up ourselves!
In all seriousness, I can't wait until this script works again.


Yes!!!! Same!! I only used the script for a few hours before Simba went down, but omg, it was amazing!

Really really would like this script to be updated!

Thanks to shatterhand for creating this is the first place.

Cwil

2012-07-30 01:03:58

From: bomzene
Yes!!!! Same!! I only used the script for a few hours before Simba went down, but omg, it was amazing!

Really really would like this script to be updated!

Thanks to shatterhand for creating this is the first place.


Yeah i need a fighting script so i can get back to getting 99 range… can't wait to see one…

kevin33

2012-07-30 01:15:51

Well if everyone reads the update threads, you might learn how to fix it yourself. Hint* Its not that difficult. Only a few changes need to be made.

bomzene

2012-07-30 08:04:08

From: kevin33
Well if everyone reads the update threads, you might learn how to fix it yourself. Hint* Its not that difficult. Only a few changes need to be made.


Have you tried fixing this script? If not, would you mind trying?

I did, it throws up all kinds of errors. I have fixed numerous other scripts in the same way, nearly all of them work. I assume some of the methods that this script uses have been changed.

Shatterhand

2012-07-30 10:28:18

1 more week until I get home guys… :)

bomzene

2012-07-30 14:04:07

From: Shatterhand
1 more week until I get home guys… :)


Does that mean you will be updating this epic script? Possibly making some more awesome script to?

:D

Mat

2012-07-31 08:51:59

Hey Peepz Try this:

program ChaosMossKillerTempFixMat;
{$DEFINE SMART}
{$include_once SRL/SRL.simba}
{$include_once SPS/SPS.simba}
{$include_once SRL/SRL/Misc/Debug.simba}
{$include_once SRL/SRL/core/animation.simba}
{$include_once SRL/SRL/skill/magic.simba}
{$IFDEF SIMBAMAJOR980}
{$I SRL/SRL/Misc/PaintSmart.Simba} {$ELSE}
{$I SRL/SRL/Misc/SmartGraphics.Simba}
{$ENDIF}
const
//<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
//========================ChaosMossKiller by hunt3rx3=======================v6.0
//READ THESE CAREFULLY!===================================================19 May
//*YOU MUST SET UP XP COUNTER FOR TRAINED LEVEL, OTHERWISE SCRIPT WONT WORK!====
//*FOOD:========================================================================
// -ONLY EATS LOBSTERS AND PEACHES=============================================
// -DONT USE B2P WITH BONECRUSHER! COMMON SENSE================================
//*CHARM LOOTING:===============================================================
// -WILL PICK UP CHARMS WHAT YOU CAN SEE WITH YOUR EYES!=======================
// -WONT RIGHT CLICK ALL THE LOOT PILES!=======================================
// -HAVE 1+ OF EACH AT START!==================================================
//*SPECIAL ATTACKS:=============================================================
// -ONLY PRIMARY WORN WEAPONS, WONT SWITCH WEAPONS!============================
// -KORASI NOT SUPPORTED! WOULD MESS UP THE SCRIPT!============================
//==============================================================================
SRLStats_User = ''; // Your SRL Stats ID (If you dont have one then just leave it as it is)
SRLStats_Password = ''; // Your SRL Stats Password (If you dont have one then just leave it as it is)

Username = '';
Password = '';

TrainedSkill = 'Strength'; // Attack, Strength, Defence, Range
XPCounter = 2; // 1,2,3
EatAt = 700; // 100-999

BonesToPeaches = True;
PickUpCharms = True;

UseSpecAttacks = False; // Only worn weapons. Not supported: Korasi.
SpecUsage = 55; // Spec usage of worn weapon. Supported: 25, 50, 55, 60, 100

PaintStatus = True; // set Private Chat off for this
PaintDebug = True;

TakeScreenShots = True; // (~100 kb jpeg, wont eat memory)
ScreenShotsPath = 'C:\Simba\Screenshots\ChaosMossKiller\';


DebugWindow = False;
DebugLines = False;
//==============================================================================
//===========UPDATES: [url]http://villavu.com/forum/showthread.php?t=74029===========[/url]
//==============================================================================
//<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

Version = 'v6.0';


var
X, Y: Integer;
StartTime, StartXp, StartXPtillNext, TrainedLevel, HpLevel : Integer;
WorldHops, B2PUsed, FoodUsed, GoldCharms, GreenCharms, BlueCharms, CrimsonCharms : Integer;
SpecWait, SpecTime, SpecNumber : Integer;
LastXP : Extended;
LevelString : String;
doreport, b2p : Boolean;



procedure DeclarePlayers;
begin
NumberOfPlayers(1);
CurrentPlayer := 0;
with Players[0] do
begin
Name := UserName;
Pass := Password;
Active := True;
end;
end;



procedure MakeScreenShot(const FilePath : String); //example: 'C:\Simba\Screenshots\ChaosMossKiller\levelups'
var
fileName : String;
Year, Month, Day : Word;
i : Integer;
begin
if TakeScreenShots then
begin
if not DirectoryExists(ScreenShotsPath) then
CreateDirectory(ScreenShotsPath);
if not DirectoryExists(FilePath) then
CreateDirectory(FilePath);
DecodeDate(Date,Year,Month,Day);
i := 0;
repeat
i := i+1;
FileName := ToStr(Year) + '-' + ToStr(Month) + '-' + ToStr(Day) + ' (' + IntToStr(i) + ').jpg';
until not FileExists(FilePath + FileName)
SaveScreenShot(FilePath + FileName); //example: 2012-3-21 (1).jpg
end;
end;



procedure OpenDebugWindow(TPA: TPointArray; ATPA: array Of TPointArray; PaintBox: Boolean; Box: TBox); //box is for the dying Moss giant
var
BMP, x,y, i, Color : Integer;
TPABox: TBox;
begin
BMP := BitmapFromClient(0,0,MSX2,MSY2); //making a bitmap, adding the mainscreen image to it
DrawTPABitmap(BMP,TPA,clRed); //adding TPA to the bitmap

for i := 0 to high(ATPA) do
begin
if i = 0 then
Color := clYellow
else
Color := clBlack;

TPABox := getTPABounds(ATPA[i]); //getting the box of the TPA
for x := TPABox.x1 to TPABox.x2 do
begin
FastSetPixel(BMP, x, TPABox.y1, Color) //drawing lines
FastSetPixel(BMP, x, TPABox.y2, Color) //drawing lines
end;
for y := TPABox.y1 to TPABox.y2 do
begin
FastSetPixel(BMP, TPABox.x1, y, Color) //drawing lines
FastSetPixel(BMP, TPABox.x2, y, Color) //drawing lines
end;
end;

if PaintBox then //this is for the dying Moss giant
begin
for x := Box.x1 to Box.x2 do
begin
FastSetPixel(BMP, x, Box.y1, ClRed) //drawing lines
FastSetPixel(BMP, x, Box.y2, ClRed) //drawing lines
end;
for y := Box.y1 to Box.y2 do
begin
FastSetPixel(BMP, Box.x1, y, ClRed) //drawing lines
FastSetPixel(BMP, Box.x2, y, ClRed) //drawing lines
end;
end;
DebugBitmap(BMP);
FreeBitmap(BMP);
end;



function CurrentTime: string; //function for time, example [17:53:59]
var
Hour, Mins, Sec, MSec: Word;
begin
DecodeTime(Now, Hour, Mins, Sec, MSec);
Result := ('['+Padz(IntToStr(Hour), 2) + ':' + Padz(IntToStr(Mins), 2) + ':' + Padz(IntToStr(Sec), 2)+'] ');
end;



procedure EndScript(Reason : String); //function for ending, message box will pop up
begin
MakeScreenShot(ScreenShotsPath + 'stops\');
Disguise('Stopped');
Writeln(CurrentTime + Reason);
MessageBox(CurrentTime + Reason,'ChaosMossKiller Temp Fix By Mat',0); //message box as warning
TerminateScript;
end;



procedure StatusWithPaint(What : String); //Painting status on SMART
begin
Status(What);
if PaintStatus then
begin
SMART_ClearCanvasArea(IntToBox(MSX1,320,MSX2,343));
SMART_DrawTextEx(False,8,322,SmallChars,What,ClWhite); //drawing the text
end;
end;



procedure Report;
var
XP, XPHour, PrayXP, XPtillNext, TimeRun : Extended; //i have no clue why, but integer with Round() wont work
done : Boolean;
fails : Integer;
begin
if not DoReport then Exit;
fails := 0;
done := True;
repeat //reading XPCounter for xp gained
if (fails = 5) then
begin
Writeln(CurrentTime+'Failed to read XPBar. Turning off Reports.');
DoReport := False;
Exit;
end;
XP := GetXPBar(XPCounter)-StartXP;
if (XP + StartXP = -1) then //if fails to read xpbar it gives -1
begin
done := False;
fails := fails+1;
end;
until done

TimeRun := TimeFromMark(StartTime);
PrayXP := Round(XP / 240 * 15);
XPHour := Round(XP * (3600000 / TimeRun));
XPtillNext := StartXPtillNext - XP + LastXP; //LastXP = 0 untill we get a levelup

if (XPtillNext < 0) then //levelup check
begin
fails := 0;
done := True;
repeat //getting new level and xp till next
if (fails = 5) then
begin
Writeln(CurrentTime + 'Failed to get level/XPs. Turning off Reporting.');
DoReport := False;
Exit;
end;
TrainedLevel := GetSkillLevel(TrainedSkill);
if (TrainedLevel = -1) then //if fails to get level it gives -1
begin
done := False;
fails := fails+1;
end;
StartXPtillNext := XPTillNextLevel(TrainedSkill);
if (StartXPtillNext = -1) then //if fails to read xp it gives -1
begin
done := False;
fails := fails+1;
end;
until done

XPtillNext := StartXPtillNext;
LastXP := Round(XP); //we store the 'xp gained till now' (round is needed cause extended and integer)
MakeScreenShot(ScreenShotsPath + 'levelups\'); //this will make a screenshot of our levelup:)
Wait(RandomRange(3000,5000));
end;

ClearDebug;
Disguise('ChaosMossKiller [' + FloatToStr(XPHour) + ']');
WriteLn('~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~');
WriteLn(' ChaosMossKiller ' + Version);
WriteLn(' * Time Running: ' + MsToTime(Round(TimeRun),Time_Formal));
WriteLn(' * ' + LevelString + ' XP Gained: ' + FloatToStr(XP) + ' (' + FloatToStr(XPHour) + ')');
Writeln(' * ' + LevelString + ' Level: ' + IntToStr(TrainedLevel) + ', XP till next: ' + FloatToStr(XPtillNext));
Writeln(' * B2P: ' + IntToStr(B2PUsed) + ' Food: ' + IntToStr(FoodUsed))
if PickUpCharms then
Writeln(' * Charms: ' + IntToStr(GoldCharms) + '/' + IntToStr(GreenCharms) + '/' + IntToStr(BlueCharms) + '/' + IntToStr(CrimsonCharms))
else
Writeln(' * Not picking up charms.');
WriteLn('~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~');
end;



procedure Antiban; //basic antibans
begin
case Random(2400) of
1..2:
begin
StatusWithPaint('Checking trained level.');
TrainedLevel := GetSkillLevel(TrainedSkill);
HoverSkill(TrainedSkill,false);
Wait(RandomRange(1000,3000));
GameTab(tab_Inv);
StatusWithPaint('Back to fighting.');
end;
3..4:
begin
StatusWithPaint('Checking hp level.');
TrainedLevel := GetSkillLevel(TrainedSkill);
HoverSkill(SKILL_HITPOINTS,false);
Wait(RandomRange(1000,3000));
GameTab(tab_Inv);
StatusWithPaint('Back to fighting.');
end;
5..6:
begin
StatusWithPaint('Checking random level.');
TrainedLevel := GetSkillLevel(TrainedSkill);
HoverSkill('random',false);
Wait(RandomRange(1000,3000));
GameTab(tab_Inv);
StatusWithPaint('Back to fighting.');
end;
7..8: PickUpMouse;
9..14: CompassMovement(-180,180,false);
180..460: SleepAndMoveMouse(RandomRange(300,1200));
end;
end;



function BreakB2P : Boolean;
var
TabDTM : Integer;
fails : Integer;
done : Boolean;
begin
TabDTM := DTMFromString('78DA633CC4C4C070899101194CEEED65F802148289326E03AA398BAA868181894184014DCD0D026AF602D53C20A0E614116A2E01D55C2742CD79FC6A00BDB80E80');
if not (GetCurrentTab = tab_Inv) then
GameTab(tab_Inv);
Wait(RandomRange(200,400));
fails := 0;
done := False;
repeat
if FindDTM(TabDTM,X,Y,MIX1,MIY1,MIX2,MIY2) then
begin
Mouse(X,Y,5,5,mouse_left); //clickig on B2P tab
Inc(B2PUsed);
Wait(RandomRange(6000,8000)); //it takes long to break it
Result := True;
done := True;
end else
begin
if not (GetCurrentTab = tab_Inv) then //sometimes it fails to switch tabs for the first time
GameTab(tab_Inv);
fails := fails+1;
end;
if (fails = 5) then //trying to find DTM 5 times max
begin
Result := False;
done := True;
end;
until done
FreeDTM(TabDTM);
end;



function EatFood(var foodDTMString : String): boolean;
var
FoodDTM, EatTime, CurrentHP, fails : Integer;
done : Boolean;
colorstring : String; //this is for a return value, not using it
begin
FoodDTM := DTMFromString(foodDTMString);
if not (GetCurrentTab = tab_Inv) then
GameTab(tab_Inv);
Wait(RandomRange(200,400));

fails := 0;
done := False;
repeat
if FindDTM(FoodDTM,X,Y,MIX1,MIY1,MIX2,MIY2) then
begin
CurrentHP := GetMMLevels('hp', colorstring);
MarkTime(eatTime);
repeat
MultiMouse(X,Y,80,2,true);
Wait(RandomRange(400,800));
if ( GetMMLevels('hp', colorstring) > (CurrentHP + 30) ) then //checking if HP is increased
begin
Inc(FoodUsed);
done := True;
Result := True;
end;
if (TimeFromMark(eatTime) > 10000) then
begin
Result := False;
done := True;
end;
until done
end
else
begin
if not (GetCurrentTab = tab_Inv) then //sometimes it fails to switch tabs for the first time
GameTab(tab_Inv);
fails := fails+1;
Wait(500);
end;

if (fails = 5) then //trying to find DTM max 5 times
begin
Result := False;
done := True;
end;
until done
FreeDTM(FoodDTM);
end;



function ChooseOptionCharms(What : String) : Boolean; //modified SRL function, this will loot charms if possible
var
B: TBox;
i, H, x: Integer;
T: TPoint;
Options: Array of TOptions;
begin
Result := False;
Options := GetChooseOptions('action');
if (Length(Options) < 1) then
Exit;
H := High(Options);

for i := 0 to H do
begin
if PickUpCharms then //if charms looting is enabled
begin
if Pos('ake Gold', Options[i].Str) > 0 Then
begin
StatusWithPaint('Found a Gold charm!');
Inc(GoldCharms);
Report;
Result := True;
B := Options[i].Bounds;
GetMousePos(T.x, T.y);
if PointInBox(T, B) then
ClickMouse2(true)
else
MouseBoxEx(B.x1 + 5, B.Y1, B.x2 - 5, B.Y1 + 5,5, 1);
Exit;
end;

if Pos('ake Green', Options[i].Str) > 0 Then
begin
StatusWithPaint('Found a Green charm!');
Inc(GreenCharms);
Report;
Result := True;
B := Options[i].Bounds;
GetMousePos(T.x, T.y);
if PointInBox(T, B) then
ClickMouse2(true)
else
MouseBoxEx(B.x1 + 5, B.Y1, B.x2 - 5, B.Y1 + 5,5, 1);
Exit;
end;

if Pos('ake Blue', Options[i].Str) > 0 Then
begin
StatusWithPaint('Found a Blue charm!');
Inc(BlueCharms);
Report;
Result := True;
B := Options[i].Bounds;
GetMousePos(T.x, T.y);
if PointInBox(T, B) then
ClickMouse2(true)
else
MouseBoxEx(B.x1 + 5, B.Y1, B.x2 - 5, B.Y1 + 5,5, 1);
Exit;
end;

if Pos('ake Crims', Options[i].Str) > 0 Then
begin
StatusWithPaint('Found a Crimson charm!');
Report;
Inc(CrimsonCharms);
Result := True;
B := Options[i].Bounds;
GetMousePos(T.x, T.y);
if PointInBox(T, B) then
ClickMouse2(true)
else
MouseBoxEx(B.x1 + 5, B.Y1, B.x2 - 5, B.Y1 + 5,5, 1);
Exit;
end;
end;

if Pos(What, Options[i].Str) > 0 Then //this will check for 'attack' or 'take bones' (nowhere else using ChooseOptionCharms)
begin
Result := True;
B := Options[i].Bounds;
GetMousePos(T.x, T.y);
if PointInBox(T, B) then
ClickMouse2(true)
else
MouseBoxEx(B.x1 + 5, B.Y1, B.x2 - 5, B.Y1 + 5,5, 1);
Exit;
end;
end;

B := Options[0].BigBox; //to mmouse away
x := Max(B.X1 - 52, 0);
if x = 0 then
x := B.X2+10;
MMouse(x, Max(B.Y1 - 50, 0), 40, B.Y2-B.Y1);
Wait(200 + Random(100));
end;



function FindMoss(ClickOnIt: Boolean) : Boolean; //returns true only if clicked on a Moss giant
var
RedX, RedY, ExcX, ExcY, i, MinPoints, DetectTime, UptextTime, RedHpBarDTMTime, RedHpBarDTM : Integer;
TPA, MossTPA : TPointArray;
ATPA : Array of TPointArray;
MossColors, Tolerances : Array of Integer;
ExcludeNearRedHpBar : Boolean;
begin
Result := False;
MarkTime(DetectTime);
//6257521 (8) portal színe, tökéletes
//2173227 (5) nincs már sötét fal (eddig 7 jó volt)
//2372406 (8) nincs már (12 volt) nagyon kicsi barna fából
//2309694 (7) nincs nagyon nagyon kicsi barna fából
//3303025 (14) sárgásbarna, tökéletes
//4482405 (13)
MossColors := [6257521, 2173227, 2372406, 2309694, 3303025, 4482405];
Tolerances := [8, 5, 8, 7, 15, 13];
MinPoints := 200;

for i:=0 to High(MossColors) do
begin
FindColorsTolerance(MossTPA,MossColors[i],MSX1,MSY1,MSX2,MSY2,Tolerances[i]);
AppendTPA(TPA,MossTPA);
end;

ExcludeNearRedHpBar := False;
RedHpBarDTM := DTMFromString('mWAAAAHicY2FgYNgCxOeh+AIQRwFxOBDHQtk7GTgYrNmZ4FgEKIaMGdEwCAAAoEoGcA==');
if WaitFindDTMex(RedHpBarDTM,X,Y,MSX1,MSY1,MSX2,MSY2,10,100) then //if found redbar then we will exclude points around it
begin
ExcludeNearRedHpBar := True;
RedX := X;
RedY := Y+50;
ExcX := 35;
ExcY := 60;
end;
FreeDTM(RedHpBarDTM);

if (High(TPA)> 0) then
begin

if ExcludeNearRedHpBar then //excluding near RedHpBar
begin
SortTPAFrom(TPA,Point(redX,redY));
InvertTPA(TPA);
for i:=0 to High(TPA) do
if (Abs(TPA[i].x - RedX) < ExcX) and (Abs(TPA[i].y - RedY) < ExcY) then
Break;
SetArrayLength(TPA,i);
end;

SortTPAFrom(TPA,Point(MSCX,MSCY)); //excluding points near middle
InvertTPA(TPA);
for i:=0 to High(TPA) do
if (Abs(TPA[i].x - MSCX) < 25) and (Abs(TPA[i].y - MSCY) < 25) then
Break;
SetArrayLength(TPA,i);

ATPA := SplitTPA(TPA,10); //splitting TPAs

SortATPASize(ATPA,True); //excluding TPAs with less than MinPoints points
for i:=0 to High(ATPA) do
begin
if High(ATPA[i]) < MinPoints then
Break;
end;
if i = 0 then Inc(i);
SetArrayLength(ATPA,i);

SortATPAFromFirstPoint(ATPA,Point(MSCX,MSCY)); //making the closest TPA the first in the array


if DebugWindow then //DebugWindow
OpenDebugWindow(TPA,ATPA,true,IntToBox(RedX-ExcX,RedY-ExcY,RedX+ExcX,RedY+ExcY));

if High(ATPA[0]) < MinPoints then //to avoid errors
Exit;


if ClickOnIt then
begin
if MiddleTPAEx(ATPA[0],X,Y) then //getting the middle point of the TPA, moving mouse there then looking for uptext
begin
MMouse(X,Y,0,0);
MarkTime(UptextTime);
if WaitUpText('ttack',200) then
begin
if DebugLines then //DebugLines
Writeln('Found Moss in ' + IntToStr(TimeFromMark(DetectTime)) + ' ms. Uptext was ' + IntToStr(TimeFromMark(UptextTime)) + ' ms.');
case Random(6) of //random left or rigth click (5:1)
0..4:
begin
ClickMouse2(mouse_left);
if DidRedClick then
Result := True; //returns true = clicked on moss
Exit;
end;
5:
begin
ClickMouse2(mouse_right);
if ChooseOption('ttack') then
Result := True; //returns true = clicked on moss
Exit;
end;
end;
end else
if DebugLines then //DebugLines
Writeln('Found Moss in ' + IntToStr(TimeFromMark(DetectTime)) + ' ms, but failed to find UpText.');
end;
end; //PaintDebug: clearing the drawings on SMART
end;
end;



function FindBones(X1,X2,X3,X4: Integer) : Boolean; //returns true if uptext is 'Take'
var
TPA : TPointArray;
ATPA : Array of TPointArray;
i : Integer;
MinPoints, xmid, ymid : Integer;
begin
MinPoints := 50;
FindColorsTolerance(TPA,11975103,X1,X2,X3,X4,25);

SortTPAFrom(TPA,Point(MSCX,MSCY)); //excluding points near middle
InvertTPA(TPA);
for i:=0 to High(TPA) do
if (Abs(TPA[i].x - MSCX) < 20) and (Abs(TPA[i].y - MSCY) < 25) then
Break;
SetArrayLength(TPA,i);

if (High(TPA)> 0) then
begin

ATPA := SplitTPA(TPA,10); //splitting the TPA

SortATPASize(ATPA,True); //excluding TPAs with less than MinPoints points
for i:=0 to High(ATPA) do
begin
if High(ATPA[i]) < MinPoints then
Break;
end;
if i = 0 then Inc(i);
SetArrayLength(ATPA,i);

if DebugWindow then //DebugWindow
OpenDebugWindow(TPA,ATPA,false,IntToBox(0,0,0,0));

if (High(ATPA[0]) < MinPoints) then //to avoid errors
Exit;

if MiddleTPAEx(ATPA[0],xmid,ymid) then //getting the middle point of the TPA, moving mouse there then looking for uptext
begin
MMouse(xmid,ymid,0,0);
Wait(100);
if IsUpTextEx('ake') then
begin
Result := True; //returning true
GetMousePos(X,Y);
Exit;
end;
end;
end;
Result := False;

end;



function FindCharm(Which: String; Colors, Tolerances: TIntegerArray; MinPoints: Integer) : Boolean; //returns true if uptext is 'Take'
var
TPA, CharmTPA : TPointArray;
ATPA : Array of TPointArray;
i : Integer;
xmid, ymid : Integer;
begin
for i:=0 to High(Colors) do
begin
FindColorsTolerance(CharmTPA,Colors[i],MSX1,MSY1,MSX2,MSY2,Tolerances[i]);
if DebugLines then //DebugLines
if (High(CharmTPA) > 0) then
Writeln('[Charms] Found ' + IntToStr(High(CharmTPA)) + ' pixels for Color: ' +IntToStr(Colors[i]) + '. Tolerance is: ' + IntToStr(Tolerances[i]));
AppendTPA(TPA,CharmTPA);
end;

SortTPAFrom(TPA,Point(MSCX,MSCY)); //excluding poinst near middle
InvertTPA(TPA);
for i:=0 to High(TPA) do
if (Abs(TPA[i].x - MSCX) < 30) and (Abs(TPA[i].y - MSCY) < 30) then
Break;
SetArrayLength(TPA,i);


if (High(TPA)> 0) then
begin
ATPA := SplitTPA(TPA,15); //splitting the TPA

SortATPASize(ATPA,True);

if High(ATPA[0]) < MinPoints then //getting only the biggest TPA (it everything is fine, this function wont find any extra pixels)
Exit;

if DebugWindow then //DebugWindow
OpenDebugWindow(TPA,ATPA,false,IntToBox(0,0,0,0));

if MiddleTPAEx(ATPA[0],xmid,ymid) then //getting the middle of the TPA, moving mouse there then looking for uptext
begin
MMouse(xmid,ymid,0,0);
Wait(100);
if PaintDebug then
SMART_ClearCanvasArea(IntToBox(MSX1,MSY1,MSX2,MSY2));
if IsUpTextEx('ake') then
begin
Result := True; //returning true
GetMousePos(X,Y);
Exit;
end;
end;
end;
Result := False;
end;



procedure FindAllCharms; //this will call the FindCharm() for all the charms with the given parameters
var
Colors, Tolerances : Array of Integer;
begin
if PickUpCharms then //if charms enabled
begin
StatusWithPaint('Looking for charms.');

Colors := [5804446,5935011,5344659,5735582,5472916];
Tolerances := [10,10,10,10,10];
if FindCharm('Gold',Colors,Tolerances,1) then
begin
Mouse(X,Y,0,0,mouse_right);
if ChooseOption('ake Gold') then
begin
StatusWithPaint('Picking up gold charm.');
Inc(GoldCharms);
Report;
Wait(1000);
repeat until not IsMoving
Wait(500);
end;
end;

Colors := [5010263,6982265,5471587,5730659];
Tolerances := [10,5,5,4];
if FindCharm('Green',Colors,Tolerances,1) then
begin
Mouse(X,Y,0,0,mouse_right);
if ChooseOption('ake Green') then
begin
StatusWithPaint('Picking up green charm.');
Inc(GreenCharms);
Report;
Wait(1000);
repeat until not IsMoving
Wait(500);
end;
end;

Colors := [6183977,8552249];
Tolerances := [10,10];
if FindCharm('Blue',Colors,Tolerances,1) then
begin
Mouse(X,Y,0,0,mouse_right);
if ChooseOption('ake Blue') then
begin
StatusWithPaint('Picking up blue charm.');
Inc(BlueCharms);
Report;
Wait(1000);
repeat until not IsMoving
Wait(500);
end;
end;

Colors := [3295859,2567297,3290481];
Tolerances := [8,8,10];
if FindCharm('Crimson',Colors,Tolerances,1) then
begin
Mouse(X,Y,0,0,mouse_right);
if ChooseOption('ake Crims') then
begin
StatusWithPaint('Picking up crimson charm.');
Inc(CrimsonCharms);
Report;
Wait(1000);
repeat until not IsMoving
Wait(500);
end;
end;

end;
end;



function WaitInFight(Timeout: Integer) : Boolean; //waits until Timeout or till we get into a fight (will return true in this case)
var
X,Y,XP1,XP2,ShieldDTM,Time : Integer;
begin
XP1 := GetXPBar(XPCounter);
MarkTime(Time);
ShieldDTM := DTMFromString('mQwAAAHicY2ZgYGBlYWAQAmIOIJZmZGCQAmJ1IGax9mT4+/cvA9eCJwxcQHUwzIiEgQAAxXEFvA==');
repeat
XP2 := GetXPBar(XPCounter);
if (XP2 > XP1) then
begin
if DebugLines then
Writeln('XP is increased, we are fighting.');
if PaintDebug then
begin
SMART_DrawBoxEx(true,false,IntToBox(524,54,543,73),ClYellow);
Wait(100);
SMART_ClearCanvasArea(IntToBox(520,50,547,77));
end;
Result := True;
FreeDTM(ShieldDTM);
Exit;
end;
if (TimeFromMark(Time) > 3000) and FindDTM(ShieldDTM,X,Y,MSX1,MSY1,MSX2,MSY2) then //if xp is increased or shield dtm found (3000 seconds is for not the detect the blue shield of the previous fight)
begin
if DebugLines then
Writeln('Blue shield found, we are fighting.');
Result := True;
FreeDTM(ShieldDTM);
Exit;
end;
until (TimeFromMark(Time) > Timeout)
FreeDTM(ShieldDTM);
Result := False;
end;



function FindRedBar : Boolean;
var
X,Y,RedBarDTM : Integer;
begin
Result := False;
RedBarDTM := DTMFromString('mlwAAAHicY2dgYDBnZmCQBWIZKB0ExQpA3AiUr2OA0C1QDOPvZOBgsGZnwsBdDIwM+AAjHgwFAAvPB5w=');
if FindDTM(RedBarDTM,X,Y,MSX1,MSY1,MSX2,MSY2) then
begin
if DebugLines then
Writeln('Found redbar, we killed it.');
if PaintDebug then
begin
SMART_DrawBoxEx(true,false,IntToBox(X-30,Y-10,X+30,Y+10),ClYellow); //drawing box around the redbar
Wait(100);
SMART_ClearCanvasArea(IntToBox(MSX1,MSY1,MSX2,MSY2));
end;
Result := True;
end;
FreeDTM(RedBarDTM);
end;



procedure HopWorld;
var
FailTime : Integer;
begin
StatusWithPaint('Hopping.');
Inc(WorldHops);

MarkTime(FailTime);
repeat
ExitToLobby;
if TimeFromMark(FailTime) > 30000 then //sometimes RS crashes when going to lobby (black screen)
EndScript('Failed to exit to lobby when hopping.');
until LobbyScreen;

OpenWorldScreen;
SelectWorld(RandomWorld(true,false)); //member world, not pvp

MarkTime(FailTime);
repeat
LoginPlayer;
if TimeFromMark(FailTime) > 60000 then //sometimes RS crashes at login (black screen)
EndScript('Failed to login after hopping.');
until LoggedIn

Wait(RandomRange(500,6000));
ToggleXPBar(true);
SetAngle(SRL_ANGLE_HIGH);
end;



procedure WalkToCenter; //simple SPS walking to center (will improve in the future)
begin
StatusWithPaint('Walking to center.');
SPS_WalkToPos(Point(335, 374)); //no need randomness, because its not accurate
end;



procedure SpecialAttack;
var
X,Y,DTM100,DTM75,DTM60,DTM55,DTM50,DTM25,i,FailTime : Integer;
begin
if UseSpecAttacks and ((TimeFromMark(SpecTime) > SpecWait) or (SpecNumber > 0)) then //will enter if specials are turned on AND (if its time to check for special OR we have remaining specials to do)
begin
StatusWithPaint('Checking special attack.');
DTM100 := DTMFromString('mWAAAAHicY2FgYHBgYmCwB+IjULyQkYFhHRAvAOI1QFyzIo9BSl+EwT/XkiGi2oGBC6gHGTOiYRAAAPnmCNY='); //DTMS for 100%,75% ... special bars
DTM75 := DTMFromString('mQwAAAHicY2ZgYLBnguAFIMzIwLAWiJcBsXOyIYOmpwJDep83AxdQHQwzImEgAAD6tQXo');
DTM60 := DTMFromString('mQwAAAHicY2ZgYHBgYmCwB+IuIF7EyMCwhhFCt2wuZTDyUmWYcKSegQuoDoYZkTAQAAAooAdH');
DTM55 := DTMFromString('mQwAAAHicY2ZgYGhmgeDjQCzNxMCgCcSyQOycbMggpS/CMOFIPQMXUB0MMyJhIAAA5cgFbA==');
DTM50 := DTMFromString('mQwAAAHicY2ZgYHBgYmCwB+JaIF7EyMCwhhFCt2wuZTDyUmWYcKSegQuoDoYZkTAQAAAl1Qc6');
DTM25 := DTMFromString('mQwAAAHicY2ZgYHBgYmCwB+IoIF7EyMCwhhFCt2wuZTDyUmWYcKSegQuoDoYZkTAQAAAeUAcX');
SpecNumber := 0;
MarkTime(FailTime);
repeat
if (TimeFromMark(FailTime) > 5000) then Exit; //if failed to switch tabs, then it exits
GameTab(tab_Combat);
until (GetCurrentTab = tab_Combat)
SpecNumber := 0; //no matter if we have remaining specials to do, we will set it to 0 and determine it again
case SpecUsage of //determining how many specials we can do
100:
if FindDTM(DTM100,X,Y,MIX1,MIY1,MIX2,MIY2) then
SpecNumber := 1;
60:
if FindDTM(DTM60,X,Y,MIX1,MIY1,MIX2,MIY2) then
SpecNumber := 1;
55:
if FindDTM(DTM55,X,Y,MIX1,MIY1,MIX2,MIY2) then
SpecNumber := 1;
50:
begin
if FindDTM(DTM50,X,Y,MIX1,MIY1,MIX2,MIY2) then
SpecNumber := 1;
if FindDTM(DTM100,X,Y,MIX1,MIY1,MIX2,MIY2) then
SpecNumber := 2;
end;
25:
begin
if FindDTM(DTM25,X,Y,MIX1,MIY1,MIX2,MIY2) then
SpecNumber := 1;
if FindDTM(DTM50,X,Y,MIX1,MIY1,MIX2,MIY2) then
SpecNumber := 2;
if FindDTM(DTM75,X,Y,MIX1,MIY1,MIX2,MIY2) then
SpecNumber := 3;
if FindDTM(DTM100,X,Y,MIX1,MIY1,MIX2,MIY2) then
SpecNumber := 4;
end;
end;
MarkTime(SpecTime);
SpecWait := RandomRange(15000,60000); //next spec check in 15-60 seconds
if SpecNumber > 0 then //if we can spec
begin
StatusWithPaint('Using special attack.');
MouseBox(574,416,706,428,mouse_left);
Dec(SpecNumber);
end else //it cant do spec
begin
StatusWithPaint('Not enough special.');
Wait(RandomRange(500,4000));
StatusWithPaint('Back to fighting.');
MarkTime(FailTime);
repeat
if (TimeFromMark(FailTime) > 5000) then Exit;
GameTab(tab_Inv);
until (GetCurrentTab = tab_Inv)
end;
FreeDTM(DTM100);
FreeDTM(DTM75);
FreeDTM(DTM60);
FreeDTM(DTM55);
FreeDTM(DTM50);
FreeDTM(DTM25);
end;
end;



procedure LoginCheck;
begin
if not LoggedIn then
begin
StatusWithPaint('Logging in.');
if not LoginPlayer then
EndScript('We got logged out somehow and cant log in.');
end;
end;



procedure HpCheck;
var
colorstring, lobs, peaches : String;
FailTime, Amount : Integer;
done : Boolean;
begin
if (GetMMLevels('hp', colorstring) < EatAt) then
begin
MarkTime(FailTime);
repeat
if not b2p then //if not using B2P yet then we eat a simple food (lobster)
begin
StatusWithPaint('Eating lobster.');
Amount := 120; //healing amount for lobster
lobs := 'mggAAAHicY2NgYPjPxMDAzczAwMcMYX8E4p9ALMbIwMAKxNxArMAI4fMC8f4EGaAuJgwsAiSxYUYcGAIAcgoGSA==';
if not EatFood(lobs) then
begin //if out of food
if not BonesToPeaches then //if not using B2P, then we log out
EndScript('Out of food.')
else
b2p := True; //lets start using B2P
end;
end;
if b2p then
begin
StatusWithPaint('Eating peaches.');
Amount := 80; //healing amount for peach
peaches := '78DA632C60626070626440069B3B52194480344C94310FA8C60C550D030313AA9A32A01A0B026A6A806A1C08A8A906AA7127A006E4663F026A52883007A4C69E809A4CC2FE0200D76708C1'
if not EatFood(peaches) then //if out of peaches
begin
StatusWithPaint('Breaking B2P.');
if not BreakB2P then //if out of tablets
EndScript('Out of B2P tablets.');
if not EatFood(peaches) then //if broke tablet but cant eat peaches
EndScript('Failed to eat peaches after broking B2P.');
end;
end;
if (GetMMLevels('hp', colorstring) > (HpLevel * 10 - Amount)) or (TimeFromMark(FailTime) > 30000) then //if we no need to eat more (current hp > (maxhp - healamout)) (30 seconds timeout for fail safe)
done := True;
until done
end;
end;



procedure NoobCheck;
begin
if Length(GetMinimapDotsin('player',592,49,662,120)) > 0 then
begin
StatusWithPaint('Found a noob, waiting.');
MakeScreenShot('C:\Simba\Screenshots\ChaosMossKiller\noobs\');
Wait(RandomRange(5000,10000));
HopWorld;
end;
end;



function BonesCheck : Boolean;
var
LookedForBones : Integer;
begin
Result := False;
if BonesToPeaches then
begin //if using B2P then we need to collect bones
if not InvFull then
begin
LookedForBones := 0;
repeat
if FindBones(MSX1,MSY1,MSX2,MSY2) then
begin
StatusWithPaint('Picking up bones.');
Mouse(X,Y,0,0,mouse_right);
ChooseOptionCharms('ake Big');
Wait(1000);
repeat until not IsMoving
Result := True;
end;
Inc(LookedForBones);
until (InvFull) or (LookedForBones = 5) //looking for bones max 5 times (failsafe)
end;
end;
end;



procedure RandomsCheck;
begin
if FindNormalRandoms then
EndScript('Random event found!');
end;



procedure AmmoCheck; //function for Ranging
var
i : Integer;
done : Boolean;
begin
if LevelString = 'RNG' then
if FindChatBoxText('You have no ammo',8,ClBlack) then //ammo check
begin
StatusWithPaint('Out of ammo.');
Wait(1000);
if srl_inFight then
begin
StatusWithPaint('Still fighting, removing weapon.');
repeat until GameTab(tab_Inv)
if InvFull then
begin
i := 5;
done := False;
repeat
MMouseItem(i);
if IsUpTextMultiCustom(['Bury','ury','Eat','at']) then
begin
ClickMouse2(mouse_right);
if ChooseOptionMulti(['Drop','rop']) then
done := True;
end;
Inc(i);
until done
end;
repeat until GameTab(tab_Equip);
MouseBox(573,294,594,311,mouse_left);
StatusWithPaint('Removed weapon.');
EndScript('Out of ammo.');
end;

end;
end;



procedure SetupScript;
begin
ClearDebug;
Disguise('ChaosMossKiller Temp Fix By Mat');
Status('Starting script.');
{$IFDEF SMART}
{$IFDEF SIMBAMAJOR980}
Smart_Server := 24;
Smart_Members := Members;
Smart_Signed := Signed;
SMART_SuperDetail := False;
{$ELSE}
SmartPairClient(4440);
SRL_SixHourFix := True;
Smart_FixSpeed := True;
{$ENDIF}
{$ENDIF}
SetupSRL;
ActivateClient;
DeclarePlayers;
SetupSRLStats(680, SRLStats_User, SRLStats_Password);
SPS_Setup(RUNESCAPE_OTHER,['chaos_tunnels']);
if PaintDebug then
SMART_ClearCanvas;
Status('Logging in.');
LoginPlayer;
end;



procedure Startup;
var
fails, FailTime : Integer;
done : Boolean;
begin
if srl_inFight then
begin
StatusWithPaint('Waiting till fight is over.');
repeat until not srl_InFight
end;

fails := 0;
done := True;
MarkTime(FailTime);
repeat
ToggleXPBar(True);
TrainedLevel := GetSkillLevel(TrainedSkill);
if (TrainedLevel = -1) then
begin
done := False;
fails := fails+1;
end;
HpLevel := GetSkillLevel('Hitpoints');
if (HpLevel = -1) then
begin
done := False;
fails := fails+1;
end;
StartXPtillNext := XPTillNextLevel(TrainedSkill);
if (StartXPtillNext = -1) then
begin
done := False;
fails := fails+1;
end;
StartXP := GetXPBar(XPCounter);
if (StartXP = -1) then
begin
done := False;
fails := fails+1;
end;
if (fails = 3) or (TimeFromMark(FailTime) > 30000) then
EndScript('Startup fail. Cant get level/read xps.');
until done

case TrainedSkill of
'Attack' : LevelString := 'ATK';
'Strength' : LevelString := 'STR';
'Defence' : LevelString := 'DEF';
'Range' : LevelString := 'RNG';
end;

case DebugLines of
true: doreport := False;
false: doreport := True;
end;

b2p := False;
LastXP := 0;
WorldHops := 0;
B2PUsed := 0;
FoodUsed := 0;
GoldCharms := 0;
GreenCharms := 0;
BlueCharms := 0;
CrimsonCharms := 0;

if UseSpecAttacks then
begin
SpecNumber := 0;
SpecWait := RandomRange(15000,45000);
MarkTime(SpecTime);
end;

ClearDebug;
WriteLn('~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~');
WriteLn(' ChaosMossKiller Temp Fix By Mat ' + Version);
WriteLn(' - HP level : ' + IntToStr(HpLevel));
Writeln(' - ' + LevelString + ' level : ' + IntToStr(TrainedLevel));
Writeln(' - XP till next : ' + IntToStr(StartXPtillNext));
Writeln(' - XP Bar : ' + IntToStr(StartXP));
WriteLn(' - Starting script...');
WriteLn('~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~');

MarkTime(StartTime);
SetAngle(SRL_ANGLE_HIGH);
end;



procedure Main;
var
DetectTime, KillTime : Integer;
done : Boolean;
begin
repeat

StatusWithPaint('Looking for Mosses.');
done := False;
MarkTime(DetectTime);
repeat
if (TimeFromMark(DetectTime) > 180000) then //180 seconds failsafe
EndScript('Cant find Mosses.');
if FindMoss(true) then //if clicked on moss
begin
if WaitInFight(4000) then //checking if we are fighting
done:=True
end else
begin //if failed to attack moss
StatusWithPaint(IntToStr(TimeFromMark(DetectTime))+'ms');
case Random(20) of
0: CompassMovement(-120,120,false); //rotating camera for better view
end;
LoginCheck;
RandomsCheck;
if (TimeFromMark(DetectTime) > 10000) then //walking back to middle
WalkToCenter;
end;
until done //we are fighting now


StatusWithPaint('Fighting.');
MarkTime(KillTime);
repeat
Antiban;
AmmoCheck;
if (TimeFromMark(KillTime) < 5000) then //we dont want to waste special attack, so we only using it in the first 5 seconds
SpecialAttack;
if ((TimeFromMark(KillTime) > 5000) and (FindRedBar)) then //we are looking for redbar after 5 seconds of fighting
Break; //end of fight
Wait(500);
until ((TimeFromMark(KillTime) > 10000) and (not srl_inFight)) //failsafe is: 10 seconds and no hpbar above the player -> end of fight


StatusWithPaint('Killed Moss. Took '+MsToTime(TimeFromMark(KillTime),Time_Formal)+'.');
Report;
stats_Commit; //committing stats (no variebles yet, only time)
BonesCheck; //this will look for bones if needed and pickst them up
FindAllCharms; //this will look for charms and picks them up
LoginCheck;
NoobCheck; //this will look for other players around
HpCheck; //this will check hp and eat (use b2p) if needed

until False
end;



begin

SetupScript;
Startup;
Main;

end.
This Complie so it should work unless RS Changed Anything.
Mat

Mjordan

2012-07-31 20:36:00

@Mat, your fix is lagging for a second right after it clicks on a mossie. Wasn't doing this before. I've added waits in every logical place I could think, but maybe I'm just being stupid and not seeing something. Mind giving it a look to see if you can fix the little lag? It's messing the mechanics up pretty bad.

EDIT: Nevermind I got it, knew I was just missing something. For anybody having the same problem, just add a random range wait right before checking for infight in the main loop.

Leonardo Da Vinci

2012-08-01 06:14:00

From: Mat
Hey Peepz Try this:

program ChaosMossKillerTempFixMat;
{$DEFINE SMART}
{$include_once SRL/SRL.simba}
{$include_once SPS/SPS.simba}
{$include_once SRL/SRL/Misc/Debug.simba}
{$include_once SRL/SRL/core/animation.simba}
{$include_once SRL/SRL/skill/magic.simba}
{$IFDEF SIMBAMAJOR980}
{$I SRL/SRL/Misc/PaintSmart.Simba} {$ELSE}
{$I SRL/SRL/Misc/SmartGraphics.Simba}
{$ENDIF}
const
//<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
//========================ChaosMossKiller by hunt3rx3=======================v6.0
//READ THESE CAREFULLY!===================================================19 May
//*YOU MUST SET UP XP COUNTER FOR TRAINED LEVEL, OTHERWISE SCRIPT WONT WORK!====
//*FOOD:========================================================================
// -ONLY EATS LOBSTERS AND PEACHES=============================================
// -DONT USE B2P WITH BONECRUSHER! COMMON SENSE================================
//*CHARM LOOTING:===============================================================
// -WILL PICK UP CHARMS WHAT YOU CAN SEE WITH YOUR EYES!=======================
// -WONT RIGHT CLICK ALL THE LOOT PILES!=======================================
// -HAVE 1+ OF EACH AT START!==================================================
//*SPECIAL ATTACKS:=============================================================
// -ONLY PRIMARY WORN WEAPONS, WONT SWITCH WEAPONS!============================
// -KORASI NOT SUPPORTED! WOULD MESS UP THE SCRIPT!============================
//==============================================================================
SRLStats_User = ''; // Your SRL Stats ID (If you dont have one then just leave it as it is)
SRLStats_Password = ''; // Your SRL Stats Password (If you dont have one then just leave it as it is)

Username = '';
Password = '';

TrainedSkill = 'Strength'; // Attack, Strength, Defence, Range
XPCounter = 2; // 1,2,3
EatAt = 700; // 100-999

BonesToPeaches = True;
PickUpCharms = True;

UseSpecAttacks = False; // Only worn weapons. Not supported: Korasi.
SpecUsage = 55; // Spec usage of worn weapon. Supported: 25, 50, 55, 60, 100

PaintStatus = True; // set Private Chat off for this
PaintDebug = True;

TakeScreenShots = True; // (~100 kb jpeg, wont eat memory)
ScreenShotsPath = 'C:\Simba\Screenshots\ChaosMossKiller\';


DebugWindow = False;
DebugLines = False;
//==============================================================================
//===========UPDATES: [url]http://villavu.com/forum/showthread.php?t=74029===========[/url]
//==============================================================================
//<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

Version = 'v6.0';


var
X, Y: Integer;
StartTime, StartXp, StartXPtillNext, TrainedLevel, HpLevel : Integer;
WorldHops, B2PUsed, FoodUsed, GoldCharms, GreenCharms, BlueCharms, CrimsonCharms : Integer;
SpecWait, SpecTime, SpecNumber : Integer;
LastXP : Extended;
LevelString : String;
doreport, b2p : Boolean;



procedure DeclarePlayers;
begin
NumberOfPlayers(1);
CurrentPlayer := 0;
with Players[0] do
begin
Name := UserName;
Pass := Password;
Active := True;
end;
end;



procedure MakeScreenShot(const FilePath : String); //example: 'C:\Simba\Screenshots\ChaosMossKiller\levelups'
var
fileName : String;
Year, Month, Day : Word;
i : Integer;
begin
if TakeScreenShots then
begin
if not DirectoryExists(ScreenShotsPath) then
CreateDirectory(ScreenShotsPath);
if not DirectoryExists(FilePath) then
CreateDirectory(FilePath);
DecodeDate(Date,Year,Month,Day);
i := 0;
repeat
i := i+1;
FileName := ToStr(Year) + '-' + ToStr(Month) + '-' + ToStr(Day) + ' (' + IntToStr(i) + ').jpg';
until not FileExists(FilePath + FileName)
SaveScreenShot(FilePath + FileName); //example: 2012-3-21 (1).jpg
end;
end;



procedure OpenDebugWindow(TPA: TPointArray; ATPA: array Of TPointArray; PaintBox: Boolean; Box: TBox); //box is for the dying Moss giant
var
BMP, x,y, i, Color : Integer;
TPABox: TBox;
begin
BMP := BitmapFromClient(0,0,MSX2,MSY2); //making a bitmap, adding the mainscreen image to it
DrawTPABitmap(BMP,TPA,clRed); //adding TPA to the bitmap

for i := 0 to high(ATPA) do
begin
if i = 0 then
Color := clYellow
else
Color := clBlack;

TPABox := getTPABounds(ATPA[i]); //getting the box of the TPA
for x := TPABox.x1 to TPABox.x2 do
begin
FastSetPixel(BMP, x, TPABox.y1, Color) //drawing lines
FastSetPixel(BMP, x, TPABox.y2, Color) //drawing lines
end;
for y := TPABox.y1 to TPABox.y2 do
begin
FastSetPixel(BMP, TPABox.x1, y, Color) //drawing lines
FastSetPixel(BMP, TPABox.x2, y, Color) //drawing lines
end;
end;

if PaintBox then //this is for the dying Moss giant
begin
for x := Box.x1 to Box.x2 do
begin
FastSetPixel(BMP, x, Box.y1, ClRed) //drawing lines
FastSetPixel(BMP, x, Box.y2, ClRed) //drawing lines
end;
for y := Box.y1 to Box.y2 do
begin
FastSetPixel(BMP, Box.x1, y, ClRed) //drawing lines
FastSetPixel(BMP, Box.x2, y, ClRed) //drawing lines
end;
end;
DebugBitmap(BMP);
FreeBitmap(BMP);
end;



function CurrentTime: string; //function for time, example [17:53:59]
var
Hour, Mins, Sec, MSec: Word;
begin
DecodeTime(Now, Hour, Mins, Sec, MSec);
Result := ('['+Padz(IntToStr(Hour), 2) + ':' + Padz(IntToStr(Mins), 2) + ':' + Padz(IntToStr(Sec), 2)+'] ');
end;



procedure EndScript(Reason : String); //function for ending, message box will pop up
begin
MakeScreenShot(ScreenShotsPath + 'stops\');
Disguise('Stopped');
Writeln(CurrentTime + Reason);
MessageBox(CurrentTime + Reason,'ChaosMossKiller Temp Fix By Mat',0); //message box as warning
TerminateScript;
end;



procedure StatusWithPaint(What : String); //Painting status on SMART
begin
Status(What);
if PaintStatus then
begin
SMART_ClearCanvasArea(IntToBox(MSX1,320,MSX2,343));
SMART_DrawTextEx(False,8,322,SmallChars,What,ClWhite); //drawing the text
end;
end;



procedure Report;
var
XP, XPHour, PrayXP, XPtillNext, TimeRun : Extended; //i have no clue why, but integer with Round() wont work
done : Boolean;
fails : Integer;
begin
if not DoReport then Exit;
fails := 0;
done := True;
repeat //reading XPCounter for xp gained
if (fails = 5) then
begin
Writeln(CurrentTime+'Failed to read XPBar. Turning off Reports.');
DoReport := False;
Exit;
end;
XP := GetXPBar(XPCounter)-StartXP;
if (XP + StartXP = -1) then //if fails to read xpbar it gives -1
begin
done := False;
fails := fails+1;
end;
until done

TimeRun := TimeFromMark(StartTime);
PrayXP := Round(XP / 240 * 15);
XPHour := Round(XP * (3600000 / TimeRun));
XPtillNext := StartXPtillNext - XP + LastXP; //LastXP = 0 untill we get a levelup

if (XPtillNext < 0) then //levelup check
begin
fails := 0;
done := True;
repeat //getting new level and xp till next
if (fails = 5) then
begin
Writeln(CurrentTime + 'Failed to get level/XPs. Turning off Reporting.');
DoReport := False;
Exit;
end;
TrainedLevel := GetSkillLevel(TrainedSkill);
if (TrainedLevel = -1) then //if fails to get level it gives -1
begin
done := False;
fails := fails+1;
end;
StartXPtillNext := XPTillNextLevel(TrainedSkill);
if (StartXPtillNext = -1) then //if fails to read xp it gives -1
begin
done := False;
fails := fails+1;
end;
until done

XPtillNext := StartXPtillNext;
LastXP := Round(XP); //we store the 'xp gained till now' (round is needed cause extended and integer)
MakeScreenShot(ScreenShotsPath + 'levelups\'); //this will make a screenshot of our levelup:)
Wait(RandomRange(3000,5000));
end;

ClearDebug;
Disguise('ChaosMossKiller [' + FloatToStr(XPHour) + ']');
WriteLn('~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~');
WriteLn(' ChaosMossKiller ' + Version);
WriteLn(' * Time Running: ' + MsToTime(Round(TimeRun),Time_Formal));
WriteLn(' * ' + LevelString + ' XP Gained: ' + FloatToStr(XP) + ' (' + FloatToStr(XPHour) + ')');
Writeln(' * ' + LevelString + ' Level: ' + IntToStr(TrainedLevel) + ', XP till next: ' + FloatToStr(XPtillNext));
Writeln(' * B2P: ' + IntToStr(B2PUsed) + ' Food: ' + IntToStr(FoodUsed))
if PickUpCharms then
Writeln(' * Charms: ' + IntToStr(GoldCharms) + '/' + IntToStr(GreenCharms) + '/' + IntToStr(BlueCharms) + '/' + IntToStr(CrimsonCharms))
else
Writeln(' * Not picking up charms.');
WriteLn('~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~');
end;



procedure Antiban; //basic antibans
begin
case Random(2400) of
1..2:
begin
StatusWithPaint('Checking trained level.');
TrainedLevel := GetSkillLevel(TrainedSkill);
HoverSkill(TrainedSkill,false);
Wait(RandomRange(1000,3000));
GameTab(tab_Inv);
StatusWithPaint('Back to fighting.');
end;
3..4:
begin
StatusWithPaint('Checking hp level.');
TrainedLevel := GetSkillLevel(TrainedSkill);
HoverSkill(SKILL_HITPOINTS,false);
Wait(RandomRange(1000,3000));
GameTab(tab_Inv);
StatusWithPaint('Back to fighting.');
end;
5..6:
begin
StatusWithPaint('Checking random level.');
TrainedLevel := GetSkillLevel(TrainedSkill);
HoverSkill('random',false);
Wait(RandomRange(1000,3000));
GameTab(tab_Inv);
StatusWithPaint('Back to fighting.');
end;
7..8: PickUpMouse;
9..14: CompassMovement(-180,180,false);
180..460: SleepAndMoveMouse(RandomRange(300,1200));
end;
end;



function BreakB2P : Boolean;
var
TabDTM : Integer;
fails : Integer;
done : Boolean;
begin
TabDTM := DTMFromString('78DA633CC4C4C070899101194CEEED65F802148289326E03AA398BAA868181894184014DCD0D026AF602D53C20A0E614116A2E01D55C2742CD79FC6A00BDB80E80');
if not (GetCurrentTab = tab_Inv) then
GameTab(tab_Inv);
Wait(RandomRange(200,400));
fails := 0;
done := False;
repeat
if FindDTM(TabDTM,X,Y,MIX1,MIY1,MIX2,MIY2) then
begin
Mouse(X,Y,5,5,mouse_left); //clickig on B2P tab
Inc(B2PUsed);
Wait(RandomRange(6000,8000)); //it takes long to break it
Result := True;
done := True;
end else
begin
if not (GetCurrentTab = tab_Inv) then //sometimes it fails to switch tabs for the first time
GameTab(tab_Inv);
fails := fails+1;
end;
if (fails = 5) then //trying to find DTM 5 times max
begin
Result := False;
done := True;
end;
until done
FreeDTM(TabDTM);
end;



function EatFood(var foodDTMString : String): boolean;
var
FoodDTM, EatTime, CurrentHP, fails : Integer;
done : Boolean;
colorstring : String; //this is for a return value, not using it
begin
FoodDTM := DTMFromString(foodDTMString);
if not (GetCurrentTab = tab_Inv) then
GameTab(tab_Inv);
Wait(RandomRange(200,400));

fails := 0;
done := False;
repeat
if FindDTM(FoodDTM,X,Y,MIX1,MIY1,MIX2,MIY2) then
begin
CurrentHP := GetMMLevels('hp', colorstring);
MarkTime(eatTime);
repeat
MultiMouse(X,Y,80,2,true);
Wait(RandomRange(400,800));
if ( GetMMLevels('hp', colorstring) > (CurrentHP + 30) ) then //checking if HP is increased
begin
Inc(FoodUsed);
done := True;
Result := True;
end;
if (TimeFromMark(eatTime) > 10000) then
begin
Result := False;
done := True;
end;
until done
end
else
begin
if not (GetCurrentTab = tab_Inv) then //sometimes it fails to switch tabs for the first time
GameTab(tab_Inv);
fails := fails+1;
Wait(500);
end;

if (fails = 5) then //trying to find DTM max 5 times
begin
Result := False;
done := True;
end;
until done
FreeDTM(FoodDTM);
end;



function ChooseOptionCharms(What : String) : Boolean; //modified SRL function, this will loot charms if possible
var
B: TBox;
i, H, x: Integer;
T: TPoint;
Options: Array of TOptions;
begin
Result := False;
Options := GetChooseOptions('action');
if (Length(Options) < 1) then
Exit;
H := High(Options);

for i := 0 to H do
begin
if PickUpCharms then //if charms looting is enabled
begin
if Pos('ake Gold', Options[i].Str) > 0 Then
begin
StatusWithPaint('Found a Gold charm!');
Inc(GoldCharms);
Report;
Result := True;
B := Options[i].Bounds;
GetMousePos(T.x, T.y);
if PointInBox(T, B) then
ClickMouse2(true)
else
MouseBoxEx(B.x1 + 5, B.Y1, B.x2 - 5, B.Y1 + 5,5, 1);
Exit;
end;

if Pos('ake Green', Options[i].Str) > 0 Then
begin
StatusWithPaint('Found a Green charm!');
Inc(GreenCharms);
Report;
Result := True;
B := Options[i].Bounds;
GetMousePos(T.x, T.y);
if PointInBox(T, B) then
ClickMouse2(true)
else
MouseBoxEx(B.x1 + 5, B.Y1, B.x2 - 5, B.Y1 + 5,5, 1);
Exit;
end;

if Pos('ake Blue', Options[i].Str) > 0 Then
begin
StatusWithPaint('Found a Blue charm!');
Inc(BlueCharms);
Report;
Result := True;
B := Options[i].Bounds;
GetMousePos(T.x, T.y);
if PointInBox(T, B) then
ClickMouse2(true)
else
MouseBoxEx(B.x1 + 5, B.Y1, B.x2 - 5, B.Y1 + 5,5, 1);
Exit;
end;

if Pos('ake Crims', Options[i].Str) > 0 Then
begin
StatusWithPaint('Found a Crimson charm!');
Report;
Inc(CrimsonCharms);
Result := True;
B := Options[i].Bounds;
GetMousePos(T.x, T.y);
if PointInBox(T, B) then
ClickMouse2(true)
else
MouseBoxEx(B.x1 + 5, B.Y1, B.x2 - 5, B.Y1 + 5,5, 1);
Exit;
end;
end;

if Pos(What, Options[i].Str) > 0 Then //this will check for 'attack' or 'take bones' (nowhere else using ChooseOptionCharms)
begin
Result := True;
B := Options[i].Bounds;
GetMousePos(T.x, T.y);
if PointInBox(T, B) then
ClickMouse2(true)
else
MouseBoxEx(B.x1 + 5, B.Y1, B.x2 - 5, B.Y1 + 5,5, 1);
Exit;
end;
end;

B := Options[0].BigBox; //to mmouse away
x := Max(B.X1 - 52, 0);
if x = 0 then
x := B.X2+10;
MMouse(x, Max(B.Y1 - 50, 0), 40, B.Y2-B.Y1);
Wait(200 + Random(100));
end;



function FindMoss(ClickOnIt: Boolean) : Boolean; //returns true only if clicked on a Moss giant
var
RedX, RedY, ExcX, ExcY, i, MinPoints, DetectTime, UptextTime, RedHpBarDTMTime, RedHpBarDTM : Integer;
TPA, MossTPA : TPointArray;
ATPA : Array of TPointArray;
MossColors, Tolerances : Array of Integer;
ExcludeNearRedHpBar : Boolean;
begin
Result := False;
MarkTime(DetectTime);
//6257521 (8) portal színe, tökéletes
//2173227 (5) nincs már sötét fal (eddig 7 jó volt)
//2372406 (8) nincs már (12 volt) nagyon kicsi barna fából
//2309694 (7) nincs nagyon nagyon kicsi barna fából
//3303025 (14) sárgásbarna, tökéletes
//4482405 (13)
MossColors := [6257521, 2173227, 2372406, 2309694, 3303025, 4482405];
Tolerances := [8, 5, 8, 7, 15, 13];
MinPoints := 200;

for i:=0 to High(MossColors) do
begin
FindColorsTolerance(MossTPA,MossColors[i],MSX1,MSY1,MSX2,MSY2,Tolerances[i]);
AppendTPA(TPA,MossTPA);
end;

ExcludeNearRedHpBar := False;
RedHpBarDTM := DTMFromString('mWAAAAHicY2FgYNgCxOeh+AIQRwFxOBDHQtk7GTgYrNmZ4FgEKIaMGdEwCAAAoEoGcA==');
if WaitFindDTMex(RedHpBarDTM,X,Y,MSX1,MSY1,MSX2,MSY2,10,100) then //if found redbar then we will exclude points around it
begin
ExcludeNearRedHpBar := True;
RedX := X;
RedY := Y+50;
ExcX := 35;
ExcY := 60;
end;
FreeDTM(RedHpBarDTM);

if (High(TPA)> 0) then
begin

if ExcludeNearRedHpBar then //excluding near RedHpBar
begin
SortTPAFrom(TPA,Point(redX,redY));
InvertTPA(TPA);
for i:=0 to High(TPA) do
if (Abs(TPA[i].x - RedX) < ExcX) and (Abs(TPA[i].y - RedY) < ExcY) then
Break;
SetArrayLength(TPA,i);
end;

SortTPAFrom(TPA,Point(MSCX,MSCY)); //excluding points near middle
InvertTPA(TPA);
for i:=0 to High(TPA) do
if (Abs(TPA[i].x - MSCX) < 25) and (Abs(TPA[i].y - MSCY) < 25) then
Break;
SetArrayLength(TPA,i);

ATPA := SplitTPA(TPA,10); //splitting TPAs

SortATPASize(ATPA,True); //excluding TPAs with less than MinPoints points
for i:=0 to High(ATPA) do
begin
if High(ATPA[i]) < MinPoints then
Break;
end;
if i = 0 then Inc(i);
SetArrayLength(ATPA,i);

SortATPAFromFirstPoint(ATPA,Point(MSCX,MSCY)); //making the closest TPA the first in the array


if DebugWindow then //DebugWindow
OpenDebugWindow(TPA,ATPA,true,IntToBox(RedX-ExcX,RedY-ExcY,RedX+ExcX,RedY+ExcY));

if High(ATPA[0]) < MinPoints then //to avoid errors
Exit;


if ClickOnIt then
begin
if MiddleTPAEx(ATPA[0],X,Y) then //getting the middle point of the TPA, moving mouse there then looking for uptext
begin
MMouse(X,Y,0,0);
MarkTime(UptextTime);
if WaitUpText('ttack',200) then
begin
if DebugLines then //DebugLines
Writeln('Found Moss in ' + IntToStr(TimeFromMark(DetectTime)) + ' ms. Uptext was ' + IntToStr(TimeFromMark(UptextTime)) + ' ms.');
case Random(6) of //random left or rigth click (5:1)
0..4:
begin
ClickMouse2(mouse_left);
if DidRedClick then
Result := True; //returns true = clicked on moss
Exit;
end;
5:
begin
ClickMouse2(mouse_right);
if ChooseOption('ttack') then
Result := True; //returns true = clicked on moss
Exit;
end;
end;
end else
if DebugLines then //DebugLines
Writeln('Found Moss in ' + IntToStr(TimeFromMark(DetectTime)) + ' ms, but failed to find UpText.');
end;
end; //PaintDebug: clearing the drawings on SMART
end;
end;



function FindBones(X1,X2,X3,X4: Integer) : Boolean; //returns true if uptext is 'Take'
var
TPA : TPointArray;
ATPA : Array of TPointArray;
i : Integer;
MinPoints, xmid, ymid : Integer;
begin
MinPoints := 50;
FindColorsTolerance(TPA,11975103,X1,X2,X3,X4,25);

SortTPAFrom(TPA,Point(MSCX,MSCY)); //excluding points near middle
InvertTPA(TPA);
for i:=0 to High(TPA) do
if (Abs(TPA[i].x - MSCX) < 20) and (Abs(TPA[i].y - MSCY) < 25) then
Break;
SetArrayLength(TPA,i);

if (High(TPA)> 0) then
begin

ATPA := SplitTPA(TPA,10); //splitting the TPA

SortATPASize(ATPA,True); //excluding TPAs with less than MinPoints points
for i:=0 to High(ATPA) do
begin
if High(ATPA[i]) < MinPoints then
Break;
end;
if i = 0 then Inc(i);
SetArrayLength(ATPA,i);

if DebugWindow then //DebugWindow
OpenDebugWindow(TPA,ATPA,false,IntToBox(0,0,0,0));

if (High(ATPA[0]) < MinPoints) then //to avoid errors
Exit;

if MiddleTPAEx(ATPA[0],xmid,ymid) then //getting the middle point of the TPA, moving mouse there then looking for uptext
begin
MMouse(xmid,ymid,0,0);
Wait(100);
if IsUpTextEx('ake') then
begin
Result := True; //returning true
GetMousePos(X,Y);
Exit;
end;
end;
end;
Result := False;

end;



function FindCharm(Which: String; Colors, Tolerances: TIntegerArray; MinPoints: Integer) : Boolean; //returns true if uptext is 'Take'
var
TPA, CharmTPA : TPointArray;
ATPA : Array of TPointArray;
i : Integer;
xmid, ymid : Integer;
begin
for i:=0 to High(Colors) do
begin
FindColorsTolerance(CharmTPA,Colors[i],MSX1,MSY1,MSX2,MSY2,Tolerances[i]);
if DebugLines then //DebugLines
if (High(CharmTPA) > 0) then
Writeln('[Charms] Found ' + IntToStr(High(CharmTPA)) + ' pixels for Color: ' +IntToStr(Colors[i]) + '. Tolerance is: ' + IntToStr(Tolerances[i]));
AppendTPA(TPA,CharmTPA);
end;

SortTPAFrom(TPA,Point(MSCX,MSCY)); //excluding poinst near middle
InvertTPA(TPA);
for i:=0 to High(TPA) do
if (Abs(TPA[i].x - MSCX) < 30) and (Abs(TPA[i].y - MSCY) < 30) then
Break;
SetArrayLength(TPA,i);


if (High(TPA)> 0) then
begin
ATPA := SplitTPA(TPA,15); //splitting the TPA

SortATPASize(ATPA,True);

if High(ATPA[0]) < MinPoints then //getting only the biggest TPA (it everything is fine, this function wont find any extra pixels)
Exit;

if DebugWindow then //DebugWindow
OpenDebugWindow(TPA,ATPA,false,IntToBox(0,0,0,0));

if MiddleTPAEx(ATPA[0],xmid,ymid) then //getting the middle of the TPA, moving mouse there then looking for uptext
begin
MMouse(xmid,ymid,0,0);
Wait(100);
if PaintDebug then
SMART_ClearCanvasArea(IntToBox(MSX1,MSY1,MSX2,MSY2));
if IsUpTextEx('ake') then
begin
Result := True; //returning true
GetMousePos(X,Y);
Exit;
end;
end;
end;
Result := False;
end;



procedure FindAllCharms; //this will call the FindCharm() for all the charms with the given parameters
var
Colors, Tolerances : Array of Integer;
begin
if PickUpCharms then //if charms enabled
begin
StatusWithPaint('Looking for charms.');

Colors := [5804446,5935011,5344659,5735582,5472916];
Tolerances := [10,10,10,10,10];
if FindCharm('Gold',Colors,Tolerances,1) then
begin
Mouse(X,Y,0,0,mouse_right);
if ChooseOption('ake Gold') then
begin
StatusWithPaint('Picking up gold charm.');
Inc(GoldCharms);
Report;
Wait(1000);
repeat until not IsMoving
Wait(500);
end;
end;

Colors := [5010263,6982265,5471587,5730659];
Tolerances := [10,5,5,4];
if FindCharm('Green',Colors,Tolerances,1) then
begin
Mouse(X,Y,0,0,mouse_right);
if ChooseOption('ake Green') then
begin
StatusWithPaint('Picking up green charm.');
Inc(GreenCharms);
Report;
Wait(1000);
repeat until not IsMoving
Wait(500);
end;
end;

Colors := [6183977,8552249];
Tolerances := [10,10];
if FindCharm('Blue',Colors,Tolerances,1) then
begin
Mouse(X,Y,0,0,mouse_right);
if ChooseOption('ake Blue') then
begin
StatusWithPaint('Picking up blue charm.');
Inc(BlueCharms);
Report;
Wait(1000);
repeat until not IsMoving
Wait(500);
end;
end;

Colors := [3295859,2567297,3290481];
Tolerances := [8,8,10];
if FindCharm('Crimson',Colors,Tolerances,1) then
begin
Mouse(X,Y,0,0,mouse_right);
if ChooseOption('ake Crims') then
begin
StatusWithPaint('Picking up crimson charm.');
Inc(CrimsonCharms);
Report;
Wait(1000);
repeat until not IsMoving
Wait(500);
end;
end;

end;
end;



function WaitInFight(Timeout: Integer) : Boolean; //waits until Timeout or till we get into a fight (will return true in this case)
var
X,Y,XP1,XP2,ShieldDTM,Time : Integer;
begin
XP1 := GetXPBar(XPCounter);
MarkTime(Time);
ShieldDTM := DTMFromString('mQwAAAHicY2ZgYGBlYWAQAmIOIJZmZGCQAmJ1IGax9mT4+/cvA9eCJwxcQHUwzIiEgQAAxXEFvA==');
repeat
XP2 := GetXPBar(XPCounter);
if (XP2 > XP1) then
begin
if DebugLines then
Writeln('XP is increased, we are fighting.');
if PaintDebug then
begin
SMART_DrawBoxEx(true,false,IntToBox(524,54,543,73),ClYellow);
Wait(100);
SMART_ClearCanvasArea(IntToBox(520,50,547,77));
end;
Result := True;
FreeDTM(ShieldDTM);
Exit;
end;
if (TimeFromMark(Time) > 3000) and FindDTM(ShieldDTM,X,Y,MSX1,MSY1,MSX2,MSY2) then //if xp is increased or shield dtm found (3000 seconds is for not the detect the blue shield of the previous fight)
begin
if DebugLines then
Writeln('Blue shield found, we are fighting.');
Result := True;
FreeDTM(ShieldDTM);
Exit;
end;
until (TimeFromMark(Time) > Timeout)
FreeDTM(ShieldDTM);
Result := False;
end;



function FindRedBar : Boolean;
var
X,Y,RedBarDTM : Integer;
begin
Result := False;
RedBarDTM := DTMFromString('mlwAAAHicY2dgYDBnZmCQBWIZKB0ExQpA3AiUr2OA0C1QDOPvZOBgsGZnwsBdDIwM+AAjHgwFAAvPB5w=');
if FindDTM(RedBarDTM,X,Y,MSX1,MSY1,MSX2,MSY2) then
begin
if DebugLines then
Writeln('Found redbar, we killed it.');
if PaintDebug then
begin
SMART_DrawBoxEx(true,false,IntToBox(X-30,Y-10,X+30,Y+10),ClYellow); //drawing box around the redbar
Wait(100);
SMART_ClearCanvasArea(IntToBox(MSX1,MSY1,MSX2,MSY2));
end;
Result := True;
end;
FreeDTM(RedBarDTM);
end;



procedure HopWorld;
var
FailTime : Integer;
begin
StatusWithPaint('Hopping.');
Inc(WorldHops);

MarkTime(FailTime);
repeat
ExitToLobby;
if TimeFromMark(FailTime) > 30000 then //sometimes RS crashes when going to lobby (black screen)
EndScript('Failed to exit to lobby when hopping.');
until LobbyScreen;

OpenWorldScreen;
SelectWorld(RandomWorld(true,false)); //member world, not pvp

MarkTime(FailTime);
repeat
LoginPlayer;
if TimeFromMark(FailTime) > 60000 then //sometimes RS crashes at login (black screen)
EndScript('Failed to login after hopping.');
until LoggedIn

Wait(RandomRange(500,6000));
ToggleXPBar(true);
SetAngle(SRL_ANGLE_HIGH);
end;



procedure WalkToCenter; //simple SPS walking to center (will improve in the future)
begin
StatusWithPaint('Walking to center.');
SPS_WalkToPos(Point(335, 374)); //no need randomness, because its not accurate
end;



procedure SpecialAttack;
var
X,Y,DTM100,DTM75,DTM60,DTM55,DTM50,DTM25,i,FailTime : Integer;
begin
if UseSpecAttacks and ((TimeFromMark(SpecTime) > SpecWait) or (SpecNumber > 0)) then //will enter if specials are turned on AND (if its time to check for special OR we have remaining specials to do)
begin
StatusWithPaint('Checking special attack.');
DTM100 := DTMFromString('mWAAAAHicY2FgYHBgYmCwB+IjULyQkYFhHRAvAOI1QFyzIo9BSl+EwT/XkiGi2oGBC6gHGTOiYRAAAPnmCNY='); //DTMS for 100%,75% ... special bars
DTM75 := DTMFromString('mQwAAAHicY2ZgYLBnguAFIMzIwLAWiJcBsXOyIYOmpwJDep83AxdQHQwzImEgAAD6tQXo');
DTM60 := DTMFromString('mQwAAAHicY2ZgYHBgYmCwB+IuIF7EyMCwhhFCt2wuZTDyUmWYcKSegQuoDoYZkTAQAAAooAdH');
DTM55 := DTMFromString('mQwAAAHicY2ZgYGhmgeDjQCzNxMCgCcSyQOycbMggpS/CMOFIPQMXUB0MMyJhIAAA5cgFbA==');
DTM50 := DTMFromString('mQwAAAHicY2ZgYHBgYmCwB+JaIF7EyMCwhhFCt2wuZTDyUmWYcKSegQuoDoYZkTAQAAAl1Qc6');
DTM25 := DTMFromString('mQwAAAHicY2ZgYHBgYmCwB+IoIF7EyMCwhhFCt2wuZTDyUmWYcKSegQuoDoYZkTAQAAAeUAcX');
SpecNumber := 0;
MarkTime(FailTime);
repeat
if (TimeFromMark(FailTime) > 5000) then Exit; //if failed to switch tabs, then it exits
GameTab(tab_Combat);
until (GetCurrentTab = tab_Combat)
SpecNumber := 0; //no matter if we have remaining specials to do, we will set it to 0 and determine it again
case SpecUsage of //determining how many specials we can do
100:
if FindDTM(DTM100,X,Y,MIX1,MIY1,MIX2,MIY2) then
SpecNumber := 1;
60:
if FindDTM(DTM60,X,Y,MIX1,MIY1,MIX2,MIY2) then
SpecNumber := 1;
55:
if FindDTM(DTM55,X,Y,MIX1,MIY1,MIX2,MIY2) then
SpecNumber := 1;
50:
begin
if FindDTM(DTM50,X,Y,MIX1,MIY1,MIX2,MIY2) then
SpecNumber := 1;
if FindDTM(DTM100,X,Y,MIX1,MIY1,MIX2,MIY2) then
SpecNumber := 2;
end;
25:
begin
if FindDTM(DTM25,X,Y,MIX1,MIY1,MIX2,MIY2) then
SpecNumber := 1;
if FindDTM(DTM50,X,Y,MIX1,MIY1,MIX2,MIY2) then
SpecNumber := 2;
if FindDTM(DTM75,X,Y,MIX1,MIY1,MIX2,MIY2) then
SpecNumber := 3;
if FindDTM(DTM100,X,Y,MIX1,MIY1,MIX2,MIY2) then
SpecNumber := 4;
end;
end;
MarkTime(SpecTime);
SpecWait := RandomRange(15000,60000); //next spec check in 15-60 seconds
if SpecNumber > 0 then //if we can spec
begin
StatusWithPaint('Using special attack.');
MouseBox(574,416,706,428,mouse_left);
Dec(SpecNumber);
end else //it cant do spec
begin
StatusWithPaint('Not enough special.');
Wait(RandomRange(500,4000));
StatusWithPaint('Back to fighting.');
MarkTime(FailTime);
repeat
if (TimeFromMark(FailTime) > 5000) then Exit;
GameTab(tab_Inv);
until (GetCurrentTab = tab_Inv)
end;
FreeDTM(DTM100);
FreeDTM(DTM75);
FreeDTM(DTM60);
FreeDTM(DTM55);
FreeDTM(DTM50);
FreeDTM(DTM25);
end;
end;



procedure LoginCheck;
begin
if not LoggedIn then
begin
StatusWithPaint('Logging in.');
if not LoginPlayer then
EndScript('We got logged out somehow and cant log in.');
end;
end;



procedure HpCheck;
var
colorstring, lobs, peaches : String;
FailTime, Amount : Integer;
done : Boolean;
begin
if (GetMMLevels('hp', colorstring) < EatAt) then
begin
MarkTime(FailTime);
repeat
if not b2p then //if not using B2P yet then we eat a simple food (lobster)
begin
StatusWithPaint('Eating lobster.');
Amount := 120; //healing amount for lobster
lobs := 'mggAAAHicY2NgYPjPxMDAzczAwMcMYX8E4p9ALMbIwMAKxNxArMAI4fMC8f4EGaAuJgwsAiSxYUYcGAIAcgoGSA==';
if not EatFood(lobs) then
begin //if out of food
if not BonesToPeaches then //if not using B2P, then we log out
EndScript('Out of food.')
else
b2p := True; //lets start using B2P
end;
end;
if b2p then
begin
StatusWithPaint('Eating peaches.');
Amount := 80; //healing amount for peach
peaches := '78DA632C60626070626440069B3B52194480344C94310FA8C60C550D030313AA9A32A01A0B026A6A806A1C08A8A906AA7127A006E4663F026A52883007A4C69E809A4CC2FE0200D76708C1'
if not EatFood(peaches) then //if out of peaches
begin
StatusWithPaint('Breaking B2P.');
if not BreakB2P then //if out of tablets
EndScript('Out of B2P tablets.');
if not EatFood(peaches) then //if broke tablet but cant eat peaches
EndScript('Failed to eat peaches after broking B2P.');
end;
end;
if (GetMMLevels('hp', colorstring) > (HpLevel * 10 - Amount)) or (TimeFromMark(FailTime) > 30000) then //if we no need to eat more (current hp > (maxhp - healamout)) (30 seconds timeout for fail safe)
done := True;
until done
end;
end;



procedure NoobCheck;
begin
if Length(GetMinimapDotsin('player',592,49,662,120)) > 0 then
begin
StatusWithPaint('Found a noob, waiting.');
MakeScreenShot('C:\Simba\Screenshots\ChaosMossKiller\noobs\');
Wait(RandomRange(5000,10000));
HopWorld;
end;
end;



function BonesCheck : Boolean;
var
LookedForBones : Integer;
begin
Result := False;
if BonesToPeaches then
begin //if using B2P then we need to collect bones
if not InvFull then
begin
LookedForBones := 0;
repeat
if FindBones(MSX1,MSY1,MSX2,MSY2) then
begin
StatusWithPaint('Picking up bones.');
Mouse(X,Y,0,0,mouse_right);
ChooseOptionCharms('ake Big');
Wait(1000);
repeat until not IsMoving
Result := True;
end;
Inc(LookedForBones);
until (InvFull) or (LookedForBones = 5) //looking for bones max 5 times (failsafe)
end;
end;
end;



procedure RandomsCheck;
begin
if FindNormalRandoms then
EndScript('Random event found!');
end;



procedure AmmoCheck; //function for Ranging
var
i : Integer;
done : Boolean;
begin
if LevelString = 'RNG' then
if FindChatBoxText('You have no ammo',8,ClBlack) then //ammo check
begin
StatusWithPaint('Out of ammo.');
Wait(1000);
if srl_inFight then
begin
StatusWithPaint('Still fighting, removing weapon.');
repeat until GameTab(tab_Inv)
if InvFull then
begin
i := 5;
done := False;
repeat
MMouseItem(i);
if IsUpTextMultiCustom(['Bury','ury','Eat','at']) then
begin
ClickMouse2(mouse_right);
if ChooseOptionMulti(['Drop','rop']) then
done := True;
end;
Inc(i);
until done
end;
repeat until GameTab(tab_Equip);
MouseBox(573,294,594,311,mouse_left);
StatusWithPaint('Removed weapon.');
EndScript('Out of ammo.');
end;

end;
end;



procedure SetupScript;
begin
ClearDebug;
Disguise('ChaosMossKiller Temp Fix By Mat');
Status('Starting script.');
{$IFDEF SMART}
{$IFDEF SIMBAMAJOR980}
Smart_Server := 24;
Smart_Members := Members;
Smart_Signed := Signed;
SMART_SuperDetail := False;
{$ELSE}
SmartPairClient(4440);
SRL_SixHourFix := True;
Smart_FixSpeed := True;
{$ENDIF}
{$ENDIF}
SetupSRL;
ActivateClient;
DeclarePlayers;
SetupSRLStats(680, SRLStats_User, SRLStats_Password);
SPS_Setup(RUNESCAPE_OTHER,['chaos_tunnels']);
if PaintDebug then
SMART_ClearCanvas;
Status('Logging in.');
LoginPlayer;
end;



procedure Startup;
var
fails, FailTime : Integer;
done : Boolean;
begin
if srl_inFight then
begin
StatusWithPaint('Waiting till fight is over.');
repeat until not srl_InFight
end;

fails := 0;
done := True;
MarkTime(FailTime);
repeat
ToggleXPBar(True);
TrainedLevel := GetSkillLevel(TrainedSkill);
if (TrainedLevel = -1) then
begin
done := False;
fails := fails+1;
end;
HpLevel := GetSkillLevel('Hitpoints');
if (HpLevel = -1) then
begin
done := False;
fails := fails+1;
end;
StartXPtillNext := XPTillNextLevel(TrainedSkill);
if (StartXPtillNext = -1) then
begin
done := False;
fails := fails+1;
end;
StartXP := GetXPBar(XPCounter);
if (StartXP = -1) then
begin
done := False;
fails := fails+1;
end;
if (fails = 3) or (TimeFromMark(FailTime) > 30000) then
EndScript('Startup fail. Cant get level/read xps.');
until done

case TrainedSkill of
'Attack' : LevelString := 'ATK';
'Strength' : LevelString := 'STR';
'Defence' : LevelString := 'DEF';
'Range' : LevelString := 'RNG';
end;

case DebugLines of
true: doreport := False;
false: doreport := True;
end;

b2p := False;
LastXP := 0;
WorldHops := 0;
B2PUsed := 0;
FoodUsed := 0;
GoldCharms := 0;
GreenCharms := 0;
BlueCharms := 0;
CrimsonCharms := 0;

if UseSpecAttacks then
begin
SpecNumber := 0;
SpecWait := RandomRange(15000,45000);
MarkTime(SpecTime);
end;

ClearDebug;
WriteLn('~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~');
WriteLn(' ChaosMossKiller Temp Fix By Mat ' + Version);
WriteLn(' - HP level : ' + IntToStr(HpLevel));
Writeln(' - ' + LevelString + ' level : ' + IntToStr(TrainedLevel));
Writeln(' - XP till next : ' + IntToStr(StartXPtillNext));
Writeln(' - XP Bar : ' + IntToStr(StartXP));
WriteLn(' - Starting script...');
WriteLn('~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~');

MarkTime(StartTime);
SetAngle(SRL_ANGLE_HIGH);
end;



procedure Main;
var
DetectTime, KillTime : Integer;
done : Boolean;
begin
repeat

StatusWithPaint('Looking for Mosses.');
done := False;
MarkTime(DetectTime);
repeat
if (TimeFromMark(DetectTime) > 180000) then //180 seconds failsafe
EndScript('Cant find Mosses.');
if FindMoss(true) then //if clicked on moss
begin
if WaitInFight(4000) then //checking if we are fighting
done:=True
end else
begin //if failed to attack moss
StatusWithPaint(IntToStr(TimeFromMark(DetectTime))+'ms');
case Random(20) of
0: CompassMovement(-120,120,false); //rotating camera for better view
end;
LoginCheck;
RandomsCheck;
if (TimeFromMark(DetectTime) > 10000) then //walking back to middle
WalkToCenter;
end;
until done //we are fighting now


StatusWithPaint('Fighting.');
MarkTime(KillTime);
repeat
Antiban;
AmmoCheck;
if (TimeFromMark(KillTime) < 5000) then //we dont want to waste special attack, so we only using it in the first 5 seconds
SpecialAttack;
if ((TimeFromMark(KillTime) > 5000) and (FindRedBar)) then //we are looking for redbar after 5 seconds of fighting
Break; //end of fight
Wait(500);
until ((TimeFromMark(KillTime) > 10000) and (not srl_inFight)) //failsafe is: 10 seconds and no hpbar above the player -> end of fight


StatusWithPaint('Killed Moss. Took '+MsToTime(TimeFromMark(KillTime),Time_Formal)+'.');
Report;
stats_Commit; //committing stats (no variebles yet, only time)
BonesCheck; //this will look for bones if needed and pickst them up
FindAllCharms; //this will look for charms and picks them up
LoginCheck;
NoobCheck; //this will look for other players around
HpCheck; //this will check hp and eat (use b2p) if needed

until False
end;



begin

SetupScript;
Startup;
Main;

end.
This Complie so it should work unless RS Changed Anything.
Mat


Thanks man. You deserve some +rep!

Mat

2012-08-01 06:26:24

@Moj I didn't change any Logic :P I just made it work with Smart 7.2 and Simba 991.
Mat And Thanks Law and Justice <3

Shatterhand

2012-08-05 16:06:35

Im back, just got Simba working after like 4 weeks. Awesome! :D
By the way I dont have member account atm, if you guys could tell me the compile errors, problems or lend me an account… :)
Right now Im trying to fix my f2p bonfire script, with new simba 991 and smart 7.2.

bomzene

2012-08-05 16:33:48

From: Shatterhand
Im back, just got Simba working after like 4 weeks. Awesome! :D
By the way I dont have member account atm, if you guys could tell me the compile errors, problems or lend me an account… :)
Right now Im trying to fix my f2p bonfire script, with new simba 991 and smart 7.2.


The issues I have:

1. For some reason on some lower level accounts the bot would just keep eating a peach then breaking another tab after it looted about 3 more bones. The script then stops and the error message that comes up says something about the bot could not eat the peach after the tab was broken.

The reason I mentioned that they are low level is because I have two higher level accounts that the mossies do not attack, they seem to run fine with no errors, except one (will discuss further on).

2. With the new 6 hour logout and restart feature built into Simba, the script doesn't seem to be compatible and stops because and gives me the message, Error, we have logged out for some reason and cannot log back in < something like that, then the script stops.

Hopefully these errors are not too hard to fix, thanks for a great script and thanks to Mat for the temp fix.

Mjordan

2012-08-05 17:02:07

I don't have any issues with Mat's fix at all if my internet is good. I'm lvl 122 and using b2p, or a bonecrusher sometimes. If you get it working with the new simba/smart it should be good to go.

@bomzene, your 6 hour restart problem is due to the stupid RS error when it says that 'your account has not logged out from its previous session'.

Shatterhand

2012-08-05 18:05:42

From: Mjordan
@bomzene, your 6 hour restart problem is due to the stupid RS error when it says that 'your account has not logged out from its previous session'.

I think you are right, I know no ways to solve that.
Anyway the script checks if we are logged in with LoginCheck function. An easy repeat-until with timeout is good, it will let smart have some time to load up.

Mjordan

2012-08-05 20:06:23

From: Shatterhand
I think you are right, I know no ways to solve that.
Anyway the script checks if we are logged in with LoginCheck function. An easy repeat-until with timeout is good, it will let smart have some time to load up.


I watched mine restart perfectly and run for about 11 hours total using the SRL restart function. Then another time I watched the script quit because of the 'account already logged in' error. So I'm 110% sure that's the problem. A repeat or something like you said should fix it.

Oh yeah, the paint is not in the correct place because of the navigation bar update, but that's just simple coordinate changes.

Other then that everything seems to be working just like always after I added a small random wait right before the fight check (for my slow internetz).

Shatterhand

2012-08-06 03:51:10

From: Mjordan
I watched mine restart perfectly and run for about 11 hours total using the SRL restart function. Then another time I watched the script quit because of the 'account already logged in' error. So I'm 110% sure that's the problem. A repeat or something like you said should fix it.

Oh yeah, the paint is not in the correct place because of the navigation bar update, but that's just simple coordinate changes.

Other then that everything seems to be working just like always after I added a small random wait right before the fight check (for my slow internetz).

The 'account already logged in' error terminates the script I think…

bweibking

2012-08-09 16:58:32

will u be updating this with new simba and smart?

Shatterhand

2012-08-09 17:30:29

From: bweibking
will u be updating this with new simba and smart?

I dont have any members account. I need someone to lend me for some hours or so.
Fixing the things blindly isnt that good, I dont wanna release a buggy update.

mrbarrybadger

2012-08-14 17:37:12

Guys Can You Please Help Me I Get This Error
[Error] C:\Simba\Includes\srl/srl/misc/smart.simba(53:19): Invalid number of parameters at line 52
Compiling failed

Spenser171

2012-08-15 01:52:11

i am getting the exact same problem as mrbarrybadger

Leonardo Da Vinci

2012-08-15 01:59:11

From: mrbarrybadger
Guys Can You Please Help Me I Get This Error
[Error] C:\Simba\Includes\srl/srl/misc/smart.simba(53:19): Invalid number of parameters at line 52
Compiling failed


Just use this one.

From: Mat
Hey Peepz Try this:

program ChaosMossKillerTempFixMat;
{$DEFINE SMART}
{$include_once SRL/SRL.simba}
{$include_once SPS/SPS.simba}
{$include_once SRL/SRL/Misc/Debug.simba}
{$include_once SRL/SRL/core/animation.simba}
{$include_once SRL/SRL/skill/magic.simba}
{$IFDEF SIMBAMAJOR980}
{$I SRL/SRL/Misc/PaintSmart.Simba} {$ELSE}
{$I SRL/SRL/Misc/SmartGraphics.Simba}
{$ENDIF}
const
//<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
//========================ChaosMossKiller by hunt3rx3=======================v6.0
//READ THESE CAREFULLY!===================================================19 May
//*YOU MUST SET UP XP COUNTER FOR TRAINED LEVEL, OTHERWISE SCRIPT WONT WORK!====
//*FOOD:========================================================================
// -ONLY EATS LOBSTERS AND PEACHES=============================================
// -DONT USE B2P WITH BONECRUSHER! COMMON SENSE================================
//*CHARM LOOTING:===============================================================
// -WILL PICK UP CHARMS WHAT YOU CAN SEE WITH YOUR EYES!=======================
// -WONT RIGHT CLICK ALL THE LOOT PILES!=======================================
// -HAVE 1+ OF EACH AT START!==================================================
//*SPECIAL ATTACKS:=============================================================
// -ONLY PRIMARY WORN WEAPONS, WONT SWITCH WEAPONS!============================
// -KORASI NOT SUPPORTED! WOULD MESS UP THE SCRIPT!============================
//==============================================================================
SRLStats_User = ''; // Your SRL Stats ID (If you dont have one then just leave it as it is)
SRLStats_Password = ''; // Your SRL Stats Password (If you dont have one then just leave it as it is)

Username = '';
Password = '';

TrainedSkill = 'Strength'; // Attack, Strength, Defence, Range
XPCounter = 2; // 1,2,3
EatAt = 700; // 100-999

BonesToPeaches = True;
PickUpCharms = True;

UseSpecAttacks = False; // Only worn weapons. Not supported: Korasi.
SpecUsage = 55; // Spec usage of worn weapon. Supported: 25, 50, 55, 60, 100

PaintStatus = True; // set Private Chat off for this
PaintDebug = True;

TakeScreenShots = True; // (~100 kb jpeg, wont eat memory)
ScreenShotsPath = 'C:\Simba\Screenshots\ChaosMossKiller\';


DebugWindow = False;
DebugLines = False;
//==============================================================================
//===========UPDATES: [url]http://villavu.com/forum/showthread.php?t=74029===========[/url]
//==============================================================================
//<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

Version = 'v6.0';


var
X, Y: Integer;
StartTime, StartXp, StartXPtillNext, TrainedLevel, HpLevel : Integer;
WorldHops, B2PUsed, FoodUsed, GoldCharms, GreenCharms, BlueCharms, CrimsonCharms : Integer;
SpecWait, SpecTime, SpecNumber : Integer;
LastXP : Extended;
LevelString : String;
doreport, b2p : Boolean;



procedure DeclarePlayers;
begin
NumberOfPlayers(1);
CurrentPlayer := 0;
with Players[0] do
begin
Name := UserName;
Pass := Password;
Active := True;
end;
end;



procedure MakeScreenShot(const FilePath : String); //example: 'C:\Simba\Screenshots\ChaosMossKiller\levelups'
var
fileName : String;
Year, Month, Day : Word;
i : Integer;
begin
if TakeScreenShots then
begin
if not DirectoryExists(ScreenShotsPath) then
CreateDirectory(ScreenShotsPath);
if not DirectoryExists(FilePath) then
CreateDirectory(FilePath);
DecodeDate(Date,Year,Month,Day);
i := 0;
repeat
i := i+1;
FileName := ToStr(Year) + '-' + ToStr(Month) + '-' + ToStr(Day) + ' (' + IntToStr(i) + ').jpg';
until not FileExists(FilePath + FileName)
SaveScreenShot(FilePath + FileName); //example: 2012-3-21 (1).jpg
end;
end;



procedure OpenDebugWindow(TPA: TPointArray; ATPA: array Of TPointArray; PaintBox: Boolean; Box: TBox); //box is for the dying Moss giant
var
BMP, x,y, i, Color : Integer;
TPABox: TBox;
begin
BMP := BitmapFromClient(0,0,MSX2,MSY2); //making a bitmap, adding the mainscreen image to it
DrawTPABitmap(BMP,TPA,clRed); //adding TPA to the bitmap

for i := 0 to high(ATPA) do
begin
if i = 0 then
Color := clYellow
else
Color := clBlack;

TPABox := getTPABounds(ATPA[i]); //getting the box of the TPA
for x := TPABox.x1 to TPABox.x2 do
begin
FastSetPixel(BMP, x, TPABox.y1, Color) //drawing lines
FastSetPixel(BMP, x, TPABox.y2, Color) //drawing lines
end;
for y := TPABox.y1 to TPABox.y2 do
begin
FastSetPixel(BMP, TPABox.x1, y, Color) //drawing lines
FastSetPixel(BMP, TPABox.x2, y, Color) //drawing lines
end;
end;

if PaintBox then //this is for the dying Moss giant
begin
for x := Box.x1 to Box.x2 do
begin
FastSetPixel(BMP, x, Box.y1, ClRed) //drawing lines
FastSetPixel(BMP, x, Box.y2, ClRed) //drawing lines
end;
for y := Box.y1 to Box.y2 do
begin
FastSetPixel(BMP, Box.x1, y, ClRed) //drawing lines
FastSetPixel(BMP, Box.x2, y, ClRed) //drawing lines
end;
end;
DebugBitmap(BMP);
FreeBitmap(BMP);
end;



function CurrentTime: string; //function for time, example [17:53:59]
var
Hour, Mins, Sec, MSec: Word;
begin
DecodeTime(Now, Hour, Mins, Sec, MSec);
Result := ('['+Padz(IntToStr(Hour), 2) + ':' + Padz(IntToStr(Mins), 2) + ':' + Padz(IntToStr(Sec), 2)+'] ');
end;



procedure EndScript(Reason : String); //function for ending, message box will pop up
begin
MakeScreenShot(ScreenShotsPath + 'stops\');
Disguise('Stopped');
Writeln(CurrentTime + Reason);
MessageBox(CurrentTime + Reason,'ChaosMossKiller Temp Fix By Mat',0); //message box as warning
TerminateScript;
end;



procedure StatusWithPaint(What : String); //Painting status on SMART
begin
Status(What);
if PaintStatus then
begin
SMART_ClearCanvasArea(IntToBox(MSX1,320,MSX2,343));
SMART_DrawTextEx(False,8,322,SmallChars,What,ClWhite); //drawing the text
end;
end;



procedure Report;
var
XP, XPHour, PrayXP, XPtillNext, TimeRun : Extended; //i have no clue why, but integer with Round() wont work
done : Boolean;
fails : Integer;
begin
if not DoReport then Exit;
fails := 0;
done := True;
repeat //reading XPCounter for xp gained
if (fails = 5) then
begin
Writeln(CurrentTime+'Failed to read XPBar. Turning off Reports.');
DoReport := False;
Exit;
end;
XP := GetXPBar(XPCounter)-StartXP;
if (XP + StartXP = -1) then //if fails to read xpbar it gives -1
begin
done := False;
fails := fails+1;
end;
until done

TimeRun := TimeFromMark(StartTime);
PrayXP := Round(XP / 240 * 15);
XPHour := Round(XP * (3600000 / TimeRun));
XPtillNext := StartXPtillNext - XP + LastXP; //LastXP = 0 untill we get a levelup

if (XPtillNext < 0) then //levelup check
begin
fails := 0;
done := True;
repeat //getting new level and xp till next
if (fails = 5) then
begin
Writeln(CurrentTime + 'Failed to get level/XPs. Turning off Reporting.');
DoReport := False;
Exit;
end;
TrainedLevel := GetSkillLevel(TrainedSkill);
if (TrainedLevel = -1) then //if fails to get level it gives -1
begin
done := False;
fails := fails+1;
end;
StartXPtillNext := XPTillNextLevel(TrainedSkill);
if (StartXPtillNext = -1) then //if fails to read xp it gives -1
begin
done := False;
fails := fails+1;
end;
until done

XPtillNext := StartXPtillNext;
LastXP := Round(XP); //we store the 'xp gained till now' (round is needed cause extended and integer)
MakeScreenShot(ScreenShotsPath + 'levelups\'); //this will make a screenshot of our levelup:)
Wait(RandomRange(3000,5000));
end;

ClearDebug;
Disguise('ChaosMossKiller [' + FloatToStr(XPHour) + ']');
WriteLn('~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~');
WriteLn(' ChaosMossKiller ' + Version);
WriteLn(' * Time Running: ' + MsToTime(Round(TimeRun),Time_Formal));
WriteLn(' * ' + LevelString + ' XP Gained: ' + FloatToStr(XP) + ' (' + FloatToStr(XPHour) + ')');
Writeln(' * ' + LevelString + ' Level: ' + IntToStr(TrainedLevel) + ', XP till next: ' + FloatToStr(XPtillNext));
Writeln(' * B2P: ' + IntToStr(B2PUsed) + ' Food: ' + IntToStr(FoodUsed))
if PickUpCharms then
Writeln(' * Charms: ' + IntToStr(GoldCharms) + '/' + IntToStr(GreenCharms) + '/' + IntToStr(BlueCharms) + '/' + IntToStr(CrimsonCharms))
else
Writeln(' * Not picking up charms.');
WriteLn('~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~');
end;



procedure Antiban; //basic antibans
begin
case Random(2400) of
1..2:
begin
StatusWithPaint('Checking trained level.');
TrainedLevel := GetSkillLevel(TrainedSkill);
HoverSkill(TrainedSkill,false);
Wait(RandomRange(1000,3000));
GameTab(tab_Inv);
StatusWithPaint('Back to fighting.');
end;
3..4:
begin
StatusWithPaint('Checking hp level.');
TrainedLevel := GetSkillLevel(TrainedSkill);
HoverSkill(SKILL_HITPOINTS,false);
Wait(RandomRange(1000,3000));
GameTab(tab_Inv);
StatusWithPaint('Back to fighting.');
end;
5..6:
begin
StatusWithPaint('Checking random level.');
TrainedLevel := GetSkillLevel(TrainedSkill);
HoverSkill('random',false);
Wait(RandomRange(1000,3000));
GameTab(tab_Inv);
StatusWithPaint('Back to fighting.');
end;
7..8: PickUpMouse;
9..14: CompassMovement(-180,180,false);
180..460: SleepAndMoveMouse(RandomRange(300,1200));
end;
end;



function BreakB2P : Boolean;
var
TabDTM : Integer;
fails : Integer;
done : Boolean;
begin
TabDTM := DTMFromString('78DA633CC4C4C070899101194CEEED65F802148289326E03AA398BAA868181894184014DCD0D026AF602D53C20A0E614116A2E01D55C2742CD79FC6A00BDB80E80');
if not (GetCurrentTab = tab_Inv) then
GameTab(tab_Inv);
Wait(RandomRange(200,400));
fails := 0;
done := False;
repeat
if FindDTM(TabDTM,X,Y,MIX1,MIY1,MIX2,MIY2) then
begin
Mouse(X,Y,5,5,mouse_left); //clickig on B2P tab
Inc(B2PUsed);
Wait(RandomRange(6000,8000)); //it takes long to break it
Result := True;
done := True;
end else
begin
if not (GetCurrentTab = tab_Inv) then //sometimes it fails to switch tabs for the first time
GameTab(tab_Inv);
fails := fails+1;
end;
if (fails = 5) then //trying to find DTM 5 times max
begin
Result := False;
done := True;
end;
until done
FreeDTM(TabDTM);
end;



function EatFood(var foodDTMString : String): boolean;
var
FoodDTM, EatTime, CurrentHP, fails : Integer;
done : Boolean;
colorstring : String; //this is for a return value, not using it
begin
FoodDTM := DTMFromString(foodDTMString);
if not (GetCurrentTab = tab_Inv) then
GameTab(tab_Inv);
Wait(RandomRange(200,400));

fails := 0;
done := False;
repeat
if FindDTM(FoodDTM,X,Y,MIX1,MIY1,MIX2,MIY2) then
begin
CurrentHP := GetMMLevels('hp', colorstring);
MarkTime(eatTime);
repeat
MultiMouse(X,Y,80,2,true);
Wait(RandomRange(400,800));
if ( GetMMLevels('hp', colorstring) > (CurrentHP + 30) ) then //checking if HP is increased
begin
Inc(FoodUsed);
done := True;
Result := True;
end;
if (TimeFromMark(eatTime) > 10000) then
begin
Result := False;
done := True;
end;
until done
end
else
begin
if not (GetCurrentTab = tab_Inv) then //sometimes it fails to switch tabs for the first time
GameTab(tab_Inv);
fails := fails+1;
Wait(500);
end;

if (fails = 5) then //trying to find DTM max 5 times
begin
Result := False;
done := True;
end;
until done
FreeDTM(FoodDTM);
end;



function ChooseOptionCharms(What : String) : Boolean; //modified SRL function, this will loot charms if possible
var
B: TBox;
i, H, x: Integer;
T: TPoint;
Options: Array of TOptions;
begin
Result := False;
Options := GetChooseOptions('action');
if (Length(Options) < 1) then
Exit;
H := High(Options);

for i := 0 to H do
begin
if PickUpCharms then //if charms looting is enabled
begin
if Pos('ake Gold', Options[i].Str) > 0 Then
begin
StatusWithPaint('Found a Gold charm!');
Inc(GoldCharms);
Report;
Result := True;
B := Options[i].Bounds;
GetMousePos(T.x, T.y);
if PointInBox(T, B) then
ClickMouse2(true)
else
MouseBoxEx(B.x1 + 5, B.Y1, B.x2 - 5, B.Y1 + 5,5, 1);
Exit;
end;

if Pos('ake Green', Options[i].Str) > 0 Then
begin
StatusWithPaint('Found a Green charm!');
Inc(GreenCharms);
Report;
Result := True;
B := Options[i].Bounds;
GetMousePos(T.x, T.y);
if PointInBox(T, B) then
ClickMouse2(true)
else
MouseBoxEx(B.x1 + 5, B.Y1, B.x2 - 5, B.Y1 + 5,5, 1);
Exit;
end;

if Pos('ake Blue', Options[i].Str) > 0 Then
begin
StatusWithPaint('Found a Blue charm!');
Inc(BlueCharms);
Report;
Result := True;
B := Options[i].Bounds;
GetMousePos(T.x, T.y);
if PointInBox(T, B) then
ClickMouse2(true)
else
MouseBoxEx(B.x1 + 5, B.Y1, B.x2 - 5, B.Y1 + 5,5, 1);
Exit;
end;

if Pos('ake Crims', Options[i].Str) > 0 Then
begin
StatusWithPaint('Found a Crimson charm!');
Report;
Inc(CrimsonCharms);
Result := True;
B := Options[i].Bounds;
GetMousePos(T.x, T.y);
if PointInBox(T, B) then
ClickMouse2(true)
else
MouseBoxEx(B.x1 + 5, B.Y1, B.x2 - 5, B.Y1 + 5,5, 1);
Exit;
end;
end;

if Pos(What, Options[i].Str) > 0 Then //this will check for 'attack' or 'take bones' (nowhere else using ChooseOptionCharms)
begin
Result := True;
B := Options[i].Bounds;
GetMousePos(T.x, T.y);
if PointInBox(T, B) then
ClickMouse2(true)
else
MouseBoxEx(B.x1 + 5, B.Y1, B.x2 - 5, B.Y1 + 5,5, 1);
Exit;
end;
end;

B := Options[0].BigBox; //to mmouse away
x := Max(B.X1 - 52, 0);
if x = 0 then
x := B.X2+10;
MMouse(x, Max(B.Y1 - 50, 0), 40, B.Y2-B.Y1);
Wait(200 + Random(100));
end;



function FindMoss(ClickOnIt: Boolean) : Boolean; //returns true only if clicked on a Moss giant
var
RedX, RedY, ExcX, ExcY, i, MinPoints, DetectTime, UptextTime, RedHpBarDTMTime, RedHpBarDTM : Integer;
TPA, MossTPA : TPointArray;
ATPA : Array of TPointArray;
MossColors, Tolerances : Array of Integer;
ExcludeNearRedHpBar : Boolean;
begin
Result := False;
MarkTime(DetectTime);
//6257521 (8) portal színe, tökéletes
//2173227 (5) nincs már sötét fal (eddig 7 jó volt)
//2372406 (8) nincs már (12 volt) nagyon kicsi barna fából
//2309694 (7) nincs nagyon nagyon kicsi barna fából
//3303025 (14) sárgásbarna, tökéletes
//4482405 (13)
MossColors := [6257521, 2173227, 2372406, 2309694, 3303025, 4482405];
Tolerances := [8, 5, 8, 7, 15, 13];
MinPoints := 200;

for i:=0 to High(MossColors) do
begin
FindColorsTolerance(MossTPA,MossColors[i],MSX1,MSY1,MSX2,MSY2,Tolerances[i]);
AppendTPA(TPA,MossTPA);
end;

ExcludeNearRedHpBar := False;
RedHpBarDTM := DTMFromString('mWAAAAHicY2FgYNgCxOeh+AIQRwFxOBDHQtk7GTgYrNmZ4FgEKIaMGdEwCAAAoEoGcA==');
if WaitFindDTMex(RedHpBarDTM,X,Y,MSX1,MSY1,MSX2,MSY2,10,100) then //if found redbar then we will exclude points around it
begin
ExcludeNearRedHpBar := True;
RedX := X;
RedY := Y+50;
ExcX := 35;
ExcY := 60;
end;
FreeDTM(RedHpBarDTM);

if (High(TPA)> 0) then
begin

if ExcludeNearRedHpBar then //excluding near RedHpBar
begin
SortTPAFrom(TPA,Point(redX,redY));
InvertTPA(TPA);
for i:=0 to High(TPA) do
if (Abs(TPA[i].x - RedX) < ExcX) and (Abs(TPA[i].y - RedY) < ExcY) then
Break;
SetArrayLength(TPA,i);
end;

SortTPAFrom(TPA,Point(MSCX,MSCY)); //excluding points near middle
InvertTPA(TPA);
for i:=0 to High(TPA) do
if (Abs(TPA[i].x - MSCX) < 25) and (Abs(TPA[i].y - MSCY) < 25) then
Break;
SetArrayLength(TPA,i);

ATPA := SplitTPA(TPA,10); //splitting TPAs

SortATPASize(ATPA,True); //excluding TPAs with less than MinPoints points
for i:=0 to High(ATPA) do
begin
if High(ATPA[i]) < MinPoints then
Break;
end;
if i = 0 then Inc(i);
SetArrayLength(ATPA,i);

SortATPAFromFirstPoint(ATPA,Point(MSCX,MSCY)); //making the closest TPA the first in the array


if DebugWindow then //DebugWindow
OpenDebugWindow(TPA,ATPA,true,IntToBox(RedX-ExcX,RedY-ExcY,RedX+ExcX,RedY+ExcY));

if High(ATPA[0]) < MinPoints then //to avoid errors
Exit;


if ClickOnIt then
begin
if MiddleTPAEx(ATPA[0],X,Y) then //getting the middle point of the TPA, moving mouse there then looking for uptext
begin
MMouse(X,Y,0,0);
MarkTime(UptextTime);
if WaitUpText('ttack',200) then
begin
if DebugLines then //DebugLines
Writeln('Found Moss in ' + IntToStr(TimeFromMark(DetectTime)) + ' ms. Uptext was ' + IntToStr(TimeFromMark(UptextTime)) + ' ms.');
case Random(6) of //random left or rigth click (5:1)
0..4:
begin
ClickMouse2(mouse_left);
if DidRedClick then
Result := True; //returns true = clicked on moss
Exit;
end;
5:
begin
ClickMouse2(mouse_right);
if ChooseOption('ttack') then
Result := True; //returns true = clicked on moss
Exit;
end;
end;
end else
if DebugLines then //DebugLines
Writeln('Found Moss in ' + IntToStr(TimeFromMark(DetectTime)) + ' ms, but failed to find UpText.');
end;
end; //PaintDebug: clearing the drawings on SMART
end;
end;



function FindBones(X1,X2,X3,X4: Integer) : Boolean; //returns true if uptext is 'Take'
var
TPA : TPointArray;
ATPA : Array of TPointArray;
i : Integer;
MinPoints, xmid, ymid : Integer;
begin
MinPoints := 50;
FindColorsTolerance(TPA,11975103,X1,X2,X3,X4,25);

SortTPAFrom(TPA,Point(MSCX,MSCY)); //excluding points near middle
InvertTPA(TPA);
for i:=0 to High(TPA) do
if (Abs(TPA[i].x - MSCX) < 20) and (Abs(TPA[i].y - MSCY) < 25) then
Break;
SetArrayLength(TPA,i);

if (High(TPA)> 0) then
begin

ATPA := SplitTPA(TPA,10); //splitting the TPA

SortATPASize(ATPA,True); //excluding TPAs with less than MinPoints points
for i:=0 to High(ATPA) do
begin
if High(ATPA[i]) < MinPoints then
Break;
end;
if i = 0 then Inc(i);
SetArrayLength(ATPA,i);

if DebugWindow then //DebugWindow
OpenDebugWindow(TPA,ATPA,false,IntToBox(0,0,0,0));

if (High(ATPA[0]) < MinPoints) then //to avoid errors
Exit;

if MiddleTPAEx(ATPA[0],xmid,ymid) then //getting the middle point of the TPA, moving mouse there then looking for uptext
begin
MMouse(xmid,ymid,0,0);
Wait(100);
if IsUpTextEx('ake') then
begin
Result := True; //returning true
GetMousePos(X,Y);
Exit;
end;
end;
end;
Result := False;

end;



function FindCharm(Which: String; Colors, Tolerances: TIntegerArray; MinPoints: Integer) : Boolean; //returns true if uptext is 'Take'
var
TPA, CharmTPA : TPointArray;
ATPA : Array of TPointArray;
i : Integer;
xmid, ymid : Integer;
begin
for i:=0 to High(Colors) do
begin
FindColorsTolerance(CharmTPA,Colors[i],MSX1,MSY1,MSX2,MSY2,Tolerances[i]);
if DebugLines then //DebugLines
if (High(CharmTPA) > 0) then
Writeln('[Charms] Found ' + IntToStr(High(CharmTPA)) + ' pixels for Color: ' +IntToStr(Colors[i]) + '. Tolerance is: ' + IntToStr(Tolerances[i]));
AppendTPA(TPA,CharmTPA);
end;

SortTPAFrom(TPA,Point(MSCX,MSCY)); //excluding poinst near middle
InvertTPA(TPA);
for i:=0 to High(TPA) do
if (Abs(TPA[i].x - MSCX) < 30) and (Abs(TPA[i].y - MSCY) < 30) then
Break;
SetArrayLength(TPA,i);


if (High(TPA)> 0) then
begin
ATPA := SplitTPA(TPA,15); //splitting the TPA

SortATPASize(ATPA,True);

if High(ATPA[0]) < MinPoints then //getting only the biggest TPA (it everything is fine, this function wont find any extra pixels)
Exit;

if DebugWindow then //DebugWindow
OpenDebugWindow(TPA,ATPA,false,IntToBox(0,0,0,0));

if MiddleTPAEx(ATPA[0],xmid,ymid) then //getting the middle of the TPA, moving mouse there then looking for uptext
begin
MMouse(xmid,ymid,0,0);
Wait(100);
if PaintDebug then
SMART_ClearCanvasArea(IntToBox(MSX1,MSY1,MSX2,MSY2));
if IsUpTextEx('ake') then
begin
Result := True; //returning true
GetMousePos(X,Y);
Exit;
end;
end;
end;
Result := False;
end;



procedure FindAllCharms; //this will call the FindCharm() for all the charms with the given parameters
var
Colors, Tolerances : Array of Integer;
begin
if PickUpCharms then //if charms enabled
begin
StatusWithPaint('Looking for charms.');

Colors := [5804446,5935011,5344659,5735582,5472916];
Tolerances := [10,10,10,10,10];
if FindCharm('Gold',Colors,Tolerances,1) then
begin
Mouse(X,Y,0,0,mouse_right);
if ChooseOption('ake Gold') then
begin
StatusWithPaint('Picking up gold charm.');
Inc(GoldCharms);
Report;
Wait(1000);
repeat until not IsMoving
Wait(500);
end;
end;

Colors := [5010263,6982265,5471587,5730659];
Tolerances := [10,5,5,4];
if FindCharm('Green',Colors,Tolerances,1) then
begin
Mouse(X,Y,0,0,mouse_right);
if ChooseOption('ake Green') then
begin
StatusWithPaint('Picking up green charm.');
Inc(GreenCharms);
Report;
Wait(1000);
repeat until not IsMoving
Wait(500);
end;
end;

Colors := [6183977,8552249];
Tolerances := [10,10];
if FindCharm('Blue',Colors,Tolerances,1) then
begin
Mouse(X,Y,0,0,mouse_right);
if ChooseOption('ake Blue') then
begin
StatusWithPaint('Picking up blue charm.');
Inc(BlueCharms);
Report;
Wait(1000);
repeat until not IsMoving
Wait(500);
end;
end;

Colors := [3295859,2567297,3290481];
Tolerances := [8,8,10];
if FindCharm('Crimson',Colors,Tolerances,1) then
begin
Mouse(X,Y,0,0,mouse_right);
if ChooseOption('ake Crims') then
begin
StatusWithPaint('Picking up crimson charm.');
Inc(CrimsonCharms);
Report;
Wait(1000);
repeat until not IsMoving
Wait(500);
end;
end;

end;
end;



function WaitInFight(Timeout: Integer) : Boolean; //waits until Timeout or till we get into a fight (will return true in this case)
var
X,Y,XP1,XP2,ShieldDTM,Time : Integer;
begin
XP1 := GetXPBar(XPCounter);
MarkTime(Time);
ShieldDTM := DTMFromString('mQwAAAHicY2ZgYGBlYWAQAmIOIJZmZGCQAmJ1IGax9mT4+/cvA9eCJwxcQHUwzIiEgQAAxXEFvA==');
repeat
XP2 := GetXPBar(XPCounter);
if (XP2 > XP1) then
begin
if DebugLines then
Writeln('XP is increased, we are fighting.');
if PaintDebug then
begin
SMART_DrawBoxEx(true,false,IntToBox(524,54,543,73),ClYellow);
Wait(100);
SMART_ClearCanvasArea(IntToBox(520,50,547,77));
end;
Result := True;
FreeDTM(ShieldDTM);
Exit;
end;
if (TimeFromMark(Time) > 3000) and FindDTM(ShieldDTM,X,Y,MSX1,MSY1,MSX2,MSY2) then //if xp is increased or shield dtm found (3000 seconds is for not the detect the blue shield of the previous fight)
begin
if DebugLines then
Writeln('Blue shield found, we are fighting.');
Result := True;
FreeDTM(ShieldDTM);
Exit;
end;
until (TimeFromMark(Time) > Timeout)
FreeDTM(ShieldDTM);
Result := False;
end;



function FindRedBar : Boolean;
var
X,Y,RedBarDTM : Integer;
begin
Result := False;
RedBarDTM := DTMFromString('mlwAAAHicY2dgYDBnZmCQBWIZKB0ExQpA3AiUr2OA0C1QDOPvZOBgsGZnwsBdDIwM+AAjHgwFAAvPB5w=');
if FindDTM(RedBarDTM,X,Y,MSX1,MSY1,MSX2,MSY2) then
begin
if DebugLines then
Writeln('Found redbar, we killed it.');
if PaintDebug then
begin
SMART_DrawBoxEx(true,false,IntToBox(X-30,Y-10,X+30,Y+10),ClYellow); //drawing box around the redbar
Wait(100);
SMART_ClearCanvasArea(IntToBox(MSX1,MSY1,MSX2,MSY2));
end;
Result := True;
end;
FreeDTM(RedBarDTM);
end;



procedure HopWorld;
var
FailTime : Integer;
begin
StatusWithPaint('Hopping.');
Inc(WorldHops);

MarkTime(FailTime);
repeat
ExitToLobby;
if TimeFromMark(FailTime) > 30000 then //sometimes RS crashes when going to lobby (black screen)
EndScript('Failed to exit to lobby when hopping.');
until LobbyScreen;

OpenWorldScreen;
SelectWorld(RandomWorld(true,false)); //member world, not pvp

MarkTime(FailTime);
repeat
LoginPlayer;
if TimeFromMark(FailTime) > 60000 then //sometimes RS crashes at login (black screen)
EndScript('Failed to login after hopping.');
until LoggedIn

Wait(RandomRange(500,6000));
ToggleXPBar(true);
SetAngle(SRL_ANGLE_HIGH);
end;



procedure WalkToCenter; //simple SPS walking to center (will improve in the future)
begin
StatusWithPaint('Walking to center.');
SPS_WalkToPos(Point(335, 374)); //no need randomness, because its not accurate
end;



procedure SpecialAttack;
var
X,Y,DTM100,DTM75,DTM60,DTM55,DTM50,DTM25,i,FailTime : Integer;
begin
if UseSpecAttacks and ((TimeFromMark(SpecTime) > SpecWait) or (SpecNumber > 0)) then //will enter if specials are turned on AND (if its time to check for special OR we have remaining specials to do)
begin
StatusWithPaint('Checking special attack.');
DTM100 := DTMFromString('mWAAAAHicY2FgYHBgYmCwB+IjULyQkYFhHRAvAOI1QFyzIo9BSl+EwT/XkiGi2oGBC6gHGTOiYRAAAPnmCNY='); //DTMS for 100%,75% ... special bars
DTM75 := DTMFromString('mQwAAAHicY2ZgYLBnguAFIMzIwLAWiJcBsXOyIYOmpwJDep83AxdQHQwzImEgAAD6tQXo');
DTM60 := DTMFromString('mQwAAAHicY2ZgYHBgYmCwB+IuIF7EyMCwhhFCt2wuZTDyUmWYcKSegQuoDoYZkTAQAAAooAdH');
DTM55 := DTMFromString('mQwAAAHicY2ZgYGhmgeDjQCzNxMCgCcSyQOycbMggpS/CMOFIPQMXUB0MMyJhIAAA5cgFbA==');
DTM50 := DTMFromString('mQwAAAHicY2ZgYHBgYmCwB+JaIF7EyMCwhhFCt2wuZTDyUmWYcKSegQuoDoYZkTAQAAAl1Qc6');
DTM25 := DTMFromString('mQwAAAHicY2ZgYHBgYmCwB+IoIF7EyMCwhhFCt2wuZTDyUmWYcKSegQuoDoYZkTAQAAAeUAcX');
SpecNumber := 0;
MarkTime(FailTime);
repeat
if (TimeFromMark(FailTime) > 5000) then Exit; //if failed to switch tabs, then it exits
GameTab(tab_Combat);
until (GetCurrentTab = tab_Combat)
SpecNumber := 0; //no matter if we have remaining specials to do, we will set it to 0 and determine it again
case SpecUsage of //determining how many specials we can do
100:
if FindDTM(DTM100,X,Y,MIX1,MIY1,MIX2,MIY2) then
SpecNumber := 1;
60:
if FindDTM(DTM60,X,Y,MIX1,MIY1,MIX2,MIY2) then
SpecNumber := 1;
55:
if FindDTM(DTM55,X,Y,MIX1,MIY1,MIX2,MIY2) then
SpecNumber := 1;
50:
begin
if FindDTM(DTM50,X,Y,MIX1,MIY1,MIX2,MIY2) then
SpecNumber := 1;
if FindDTM(DTM100,X,Y,MIX1,MIY1,MIX2,MIY2) then
SpecNumber := 2;
end;
25:
begin
if FindDTM(DTM25,X,Y,MIX1,MIY1,MIX2,MIY2) then
SpecNumber := 1;
if FindDTM(DTM50,X,Y,MIX1,MIY1,MIX2,MIY2) then
SpecNumber := 2;
if FindDTM(DTM75,X,Y,MIX1,MIY1,MIX2,MIY2) then
SpecNumber := 3;
if FindDTM(DTM100,X,Y,MIX1,MIY1,MIX2,MIY2) then
SpecNumber := 4;
end;
end;
MarkTime(SpecTime);
SpecWait := RandomRange(15000,60000); //next spec check in 15-60 seconds
if SpecNumber > 0 then //if we can spec
begin
StatusWithPaint('Using special attack.');
MouseBox(574,416,706,428,mouse_left);
Dec(SpecNumber);
end else //it cant do spec
begin
StatusWithPaint('Not enough special.');
Wait(RandomRange(500,4000));
StatusWithPaint('Back to fighting.');
MarkTime(FailTime);
repeat
if (TimeFromMark(FailTime) > 5000) then Exit;
GameTab(tab_Inv);
until (GetCurrentTab = tab_Inv)
end;
FreeDTM(DTM100);
FreeDTM(DTM75);
FreeDTM(DTM60);
FreeDTM(DTM55);
FreeDTM(DTM50);
FreeDTM(DTM25);
end;
end;



procedure LoginCheck;
begin
if not LoggedIn then
begin
StatusWithPaint('Logging in.');
if not LoginPlayer then
EndScript('We got logged out somehow and cant log in.');
end;
end;



procedure HpCheck;
var
colorstring, lobs, peaches : String;
FailTime, Amount : Integer;
done : Boolean;
begin
if (GetMMLevels('hp', colorstring) < EatAt) then
begin
MarkTime(FailTime);
repeat
if not b2p then //if not using B2P yet then we eat a simple food (lobster)
begin
StatusWithPaint('Eating lobster.');
Amount := 120; //healing amount for lobster
lobs := 'mggAAAHicY2NgYPjPxMDAzczAwMcMYX8E4p9ALMbIwMAKxNxArMAI4fMC8f4EGaAuJgwsAiSxYUYcGAIAcgoGSA==';
if not EatFood(lobs) then
begin //if out of food
if not BonesToPeaches then //if not using B2P, then we log out
EndScript('Out of food.')
else
b2p := True; //lets start using B2P
end;
end;
if b2p then
begin
StatusWithPaint('Eating peaches.');
Amount := 80; //healing amount for peach
peaches := '78DA632C60626070626440069B3B52194480344C94310FA8C60C550D030313AA9A32A01A0B026A6A806A1C08A8A906AA7127A006E4663F026A52883007A4C69E809A4CC2FE0200D76708C1'
if not EatFood(peaches) then //if out of peaches
begin
StatusWithPaint('Breaking B2P.');
if not BreakB2P then //if out of tablets
EndScript('Out of B2P tablets.');
if not EatFood(peaches) then //if broke tablet but cant eat peaches
EndScript('Failed to eat peaches after broking B2P.');
end;
end;
if (GetMMLevels('hp', colorstring) > (HpLevel * 10 - Amount)) or (TimeFromMark(FailTime) > 30000) then //if we no need to eat more (current hp > (maxhp - healamout)) (30 seconds timeout for fail safe)
done := True;
until done
end;
end;



procedure NoobCheck;
begin
if Length(GetMinimapDotsin('player',592,49,662,120)) > 0 then
begin
StatusWithPaint('Found a noob, waiting.');
MakeScreenShot('C:\Simba\Screenshots\ChaosMossKiller\noobs\');
Wait(RandomRange(5000,10000));
HopWorld;
end;
end;



function BonesCheck : Boolean;
var
LookedForBones : Integer;
begin
Result := False;
if BonesToPeaches then
begin //if using B2P then we need to collect bones
if not InvFull then
begin
LookedForBones := 0;
repeat
if FindBones(MSX1,MSY1,MSX2,MSY2) then
begin
StatusWithPaint('Picking up bones.');
Mouse(X,Y,0,0,mouse_right);
ChooseOptionCharms('ake Big');
Wait(1000);
repeat until not IsMoving
Result := True;
end;
Inc(LookedForBones);
until (InvFull) or (LookedForBones = 5) //looking for bones max 5 times (failsafe)
end;
end;
end;



procedure RandomsCheck;
begin
if FindNormalRandoms then
EndScript('Random event found!');
end;



procedure AmmoCheck; //function for Ranging
var
i : Integer;
done : Boolean;
begin
if LevelString = 'RNG' then
if FindChatBoxText('You have no ammo',8,ClBlack) then //ammo check
begin
StatusWithPaint('Out of ammo.');
Wait(1000);
if srl_inFight then
begin
StatusWithPaint('Still fighting, removing weapon.');
repeat until GameTab(tab_Inv)
if InvFull then
begin
i := 5;
done := False;
repeat
MMouseItem(i);
if IsUpTextMultiCustom(['Bury','ury','Eat','at']) then
begin
ClickMouse2(mouse_right);
if ChooseOptionMulti(['Drop','rop']) then
done := True;
end;
Inc(i);
until done
end;
repeat until GameTab(tab_Equip);
MouseBox(573,294,594,311,mouse_left);
StatusWithPaint('Removed weapon.');
EndScript('Out of ammo.');
end;

end;
end;



procedure SetupScript;
begin
ClearDebug;
Disguise('ChaosMossKiller Temp Fix By Mat');
Status('Starting script.');
{$IFDEF SMART}
{$IFDEF SIMBAMAJOR980}
Smart_Server := 24;
Smart_Members := Members;
Smart_Signed := Signed;
SMART_SuperDetail := False;
{$ELSE}
SmartPairClient(4440);
SRL_SixHourFix := True;
Smart_FixSpeed := True;
{$ENDIF}
{$ENDIF}
SetupSRL;
ActivateClient;
DeclarePlayers;
SetupSRLStats(680, SRLStats_User, SRLStats_Password);
SPS_Setup(RUNESCAPE_OTHER,['chaos_tunnels']);
if PaintDebug then
SMART_ClearCanvas;
Status('Logging in.');
LoginPlayer;
end;



procedure Startup;
var
fails, FailTime : Integer;
done : Boolean;
begin
if srl_inFight then
begin
StatusWithPaint('Waiting till fight is over.');
repeat until not srl_InFight
end;

fails := 0;
done := True;
MarkTime(FailTime);
repeat
ToggleXPBar(True);
TrainedLevel := GetSkillLevel(TrainedSkill);
if (TrainedLevel = -1) then
begin
done := False;
fails := fails+1;
end;
HpLevel := GetSkillLevel('Hitpoints');
if (HpLevel = -1) then
begin
done := False;
fails := fails+1;
end;
StartXPtillNext := XPTillNextLevel(TrainedSkill);
if (StartXPtillNext = -1) then
begin
done := False;
fails := fails+1;
end;
StartXP := GetXPBar(XPCounter);
if (StartXP = -1) then
begin
done := False;
fails := fails+1;
end;
if (fails = 3) or (TimeFromMark(FailTime) > 30000) then
EndScript('Startup fail. Cant get level/read xps.');
until done

case TrainedSkill of
'Attack' : LevelString := 'ATK';
'Strength' : LevelString := 'STR';
'Defence' : LevelString := 'DEF';
'Range' : LevelString := 'RNG';
end;

case DebugLines of
true: doreport := False;
false: doreport := True;
end;

b2p := False;
LastXP := 0;
WorldHops := 0;
B2PUsed := 0;
FoodUsed := 0;
GoldCharms := 0;
GreenCharms := 0;
BlueCharms := 0;
CrimsonCharms := 0;

if UseSpecAttacks then
begin
SpecNumber := 0;
SpecWait := RandomRange(15000,45000);
MarkTime(SpecTime);
end;

ClearDebug;
WriteLn('~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~');
WriteLn(' ChaosMossKiller Temp Fix By Mat ' + Version);
WriteLn(' - HP level : ' + IntToStr(HpLevel));
Writeln(' - ' + LevelString + ' level : ' + IntToStr(TrainedLevel));
Writeln(' - XP till next : ' + IntToStr(StartXPtillNext));
Writeln(' - XP Bar : ' + IntToStr(StartXP));
WriteLn(' - Starting script...');
WriteLn('~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~');

MarkTime(StartTime);
SetAngle(SRL_ANGLE_HIGH);
end;



procedure Main;
var
DetectTime, KillTime : Integer;
done : Boolean;
begin
repeat

StatusWithPaint('Looking for Mosses.');
done := False;
MarkTime(DetectTime);
repeat
if (TimeFromMark(DetectTime) > 180000) then //180 seconds failsafe
EndScript('Cant find Mosses.');
if FindMoss(true) then //if clicked on moss
begin
if WaitInFight(4000) then //checking if we are fighting
done:=True
end else
begin //if failed to attack moss
StatusWithPaint(IntToStr(TimeFromMark(DetectTime))+'ms');
case Random(20) of
0: CompassMovement(-120,120,false); //rotating camera for better view
end;
LoginCheck;
RandomsCheck;
if (TimeFromMark(DetectTime) > 10000) then //walking back to middle
WalkToCenter;
end;
until done //we are fighting now


StatusWithPaint('Fighting.');
MarkTime(KillTime);
repeat
Antiban;
AmmoCheck;
if (TimeFromMark(KillTime) < 5000) then //we dont want to waste special attack, so we only using it in the first 5 seconds
SpecialAttack;
if ((TimeFromMark(KillTime) > 5000) and (FindRedBar)) then //we are looking for redbar after 5 seconds of fighting
Break; //end of fight
Wait(500);
until ((TimeFromMark(KillTime) > 10000) and (not srl_inFight)) //failsafe is: 10 seconds and no hpbar above the player -> end of fight


StatusWithPaint('Killed Moss. Took '+MsToTime(TimeFromMark(KillTime),Time_Formal)+'.');
Report;
stats_Commit; //committing stats (no variebles yet, only time)
BonesCheck; //this will look for bones if needed and pickst them up
FindAllCharms; //this will look for charms and picks them up
LoginCheck;
NoobCheck; //this will look for other players around
HpCheck; //this will check hp and eat (use b2p) if needed

until False
end;



begin

SetupScript;
Startup;
Main;

end.
This Complie so it should work unless RS Changed Anything.
Mat

Spenser171

2012-08-15 02:28:30

how do i go about using that one though, i tried to copy and paste it into simba but it pasted all of it horizontally

Shatterhand

2012-08-15 06:29:05

Script is updated! It should be stable, but there might be some bugs. Test and report! :)

kambyz

2012-08-15 06:39:23

uninstalled old Simba, installed new one. Still error :S


C:\Simba\Includes\srl\srl\misc\smart.simba(56:19): Invalid number of parameters at line 55
Compiling failed.

Leonardo Da Vinci

2012-08-15 08:09:19

All time, hands down favorite script ever.
I've gotten from like 60 attack, strength and defense all up to 80 in each (no doubt soon to be 99) because of this script.
Shatterhand, you're brilliant. Absolutely brilliant.

chief herb

2012-08-16 17:41:30

after taking a break from botting, i am finally back on the road to maxed melee stats! just got 98 hp with this and will be getting 99 def/ att possibly! thanks you so much! heres a proggie:)

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ChaosMossKiller v6.1
* Time Running: 7 Hours, 57 Minutes and 3 Seconds
* XP Gained: 151258 (19024)
* Level: -1, XP till next: -1
* B2P: 0 Food: 16
* Charms: 316/22/8/13
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Shatterhand

2012-08-16 17:50:00

From: Law and Justice
All time, hands down favorite script ever.
I've gotten from like 60 attack, strength and defense all up to 80 in each (no doubt soon to be 99) because of this script.
Shatterhand, you're brilliant. Absolutely brilliant.

Thanks. Good luck training! :)
From: chief herb
after taking a break from botting, i am finally back on the road to maxed melee stats! just got 98 hp with this and will be getting 99 def/ att possibly! thanks you so much! heres a proggie:)

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ChaosMossKiller v6.1
* Time Running: 7 Hours, 57 Minutes and 3 Seconds
* XP Gained: 151258 (19024)
* Level: -1, XP till next: -1
* B2P: 0 Food: 16
* Charms: 316/22/8/13
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Thanks, and nice. Did you set up HP for xp counter? :)

bweibking

2012-08-16 23:56:36

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ChaosMossKiller v6.1
* Time Running: 11 Hours, 31 Minutes and 58 Seconds
* DEF XP Gained: 654455 (56746)
* DEF Level: 92, XP till next: 80135
* B2P: 6 Food: 115
* Charms: 384/32/5/26
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


Amazing Script!

wildnest1

2012-08-20 09:56:31

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ChaosMossKiller v6.0
* Time Running: 8 Hours, 1 Minutes and 9 Seconds
* RNG XP Gained: 294241 (36691)
* RNG Level: 88, XP till next: 219915
* B2P: 8 Food: 176
* Charms: 157/9/2/8
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

bomzene

2012-08-21 15:56:00

Mine never seem to restart after 6 hours, it just say that Simba has experienced an error and will now close.

Shatterhand

2012-08-21 16:26:37

From: bomzene
Mine never seem to restart after 6 hours, it just say that Simba has experienced an error and will now close.

Thats new to me. Take a picture of it?

chief herb

2012-08-21 17:40:26

its saying


** Smart Cannot Spawn Clients **
Successfully executed.

Shatterhand

2012-08-21 18:12:45

From: chief herb
its saying


** Smart Cannot Spawn Clients **
Successfully executed.

Update everything and restart Simba.

Chen Monopoly

2012-08-22 09:23:24

The script would be awesome with excalibur support :).

Here's a bug report
I'm not sure what happened but the script just stopped, seems to be smart related, not script related.


Error: Exception: The Points you passed to DrawATPA exceed the bitmap's bounds at line 96
The following DTMs were not freed: [SRL - Lamp bitmap, 1]
The following bitmaps were not freed: [SRL - Mod bitmap, SRL - Admin bitmap, SRL - Flag bitmap, SRL - NavBar Bitmap, 4, 18]

{*
Authors: Sir R. Magician, Brandon.

Draws a TPA with a specified Colour onto Smart's Canvas.
Clears the Canvas first if Clear is set to true.
*} <- Line 96 is here
procedure SMART_DrawDotsEx(Clear: boolean; Pixels: TPointArray; Color: TColor);
{$IFDEF SMART}
var
P: TPointArray;
begin
if (not SMART_DebugSetup) then
SMART_SetupDebug;

if Clear then SMART_ClearCanvas;
P := CopyTPA(Pixels);
OffsetTPA(P, Point(SRL_NAVBAR_INGAME_X, SRL_NAVBAR_INGAME_Y));
SMART_Canvas.DrawTPA(P, Color);
{$ELSE}
begin
{$ENDIF}
end;

j 0n4s

2012-08-22 17:49:44

Amazing script works good. its rud to ask when the scripts works amazing but why can it only eat lobsters?:) Will come with progg report are on 2h and goin :P

Chen Monopoly

2012-08-22 20:23:44

To my post above, the problem seems to be that when world switching, it sometimes selects a F2P world.

Shatterhand

2012-08-23 03:30:41

From: scipio
To my post above, the problem seems to be that when world switching, it sometimes selects a F2P world.

Thats SRL include, I cant do anything about it…It was my bad, fixed.
From: j 0n4s
Amazing script works good. its rud to ask when the scripts works amazing but why can it only eat lobsters?:) Will come with progg report are on 2h and goin :P

It doesnt matter what the food type is, because you can stay here for weeks with b2p tablets.

EDIT: Script is updated to v6.2! :)

bomzene

2012-08-24 16:57:47

Thanks for the update :)

BGXD

2012-08-29 15:06:01

A good script, but did not catch talisman: (

Liquid Atoms

2012-08-30 07:56:23

With version 6.0 in the past, it ran flawlessly overnight for 99 attack and 99 strenght,

When rs updated with the bar ontop, i stayed away for a bit, Yesterday i installed new simba with your script, the new version today, 6.2, and it got stuck clicking a law rune for 7 hours, they have very similar color patterns, is there any fix for this ?

feh55

2012-08-30 07:57:57

I got some problem with the script finding the charms, the PickUpCharms is set to true but it does not pick up any charms. I got one of each kind in my inventory but still nothing. Perhaps the ort is blocking the sight? What to do?

Shatterhand

2012-08-30 10:18:42

From: Liquid Atoms
…it got stuck clicking a law rune for 7 hours, they have very similar color patterns, is there any fix for this ?

What law rune? :O
From: feh55
I got some problem with the script finding the charms, the PickUpCharms is set to true but it does not pick up any charms. I got one of each kind in my inventory but still nothing. Perhaps the ort is blocking the sight? What to do?

Yeah those things mess it up. Wiki says you can pick up 200 a day, try picking up 200 and maybe no more will be dropped?

feh55

2012-08-30 11:23:10

From: Shatterhand

Yeah those things mess it up. Wiki says you can pick up 200 a day, try picking up 200 and maybe no more will be dropped?


I picked up 200 and it does not loot the charms. What camera zoom should i use?

Shatterhand

2012-08-30 11:45:17

From: feh55
I picked up 200 and it does not loot the charms. What camera zoom should i use?

Camera: middle. Do they still drop orts after 200?

feh55

2012-08-30 12:21:12

From: Shatterhand
Camera: middle. Do they still drop orts after 200?

They dont drop orts after 200. Still not looting charms. Wierd. Everything updated, script v6.2, several restarts and log outs.
Thank you by the way for your replies.

I Switched to v6.1 and the charmlooting works there. Wierd.

Chen Monopoly

2012-08-30 14:04:57

Maybe there just hasn't been a visible charm yet since the charms may be hidden under other items, and color detection can't see that.

Shatterhand

2012-08-30 14:17:29

From: feh55
I Switched to v6.1 and the charmlooting works there. Wierd.

The colors are same in v6.1 and v6.2. It should work…

Mjordan

2012-09-02 13:28:52

I've maxed all of my combat except for range! This is one of my most favorite scripts I've ever used. So stable and reliable, thanks lots!

Shatterhand

2012-09-02 15:35:03

From: Mjordan
I've maxed all of my combat except for range! This is one of my most favorite scripts I've ever used. So stable and reliable, thanks lots!

Nice and thanks. :)

print

2012-09-05 23:53:19

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ChaosMossKiller v6.2
* Time Running: 3 Hours, 52 Minutes and 18 Seconds
* ATK XP Gained: 227480 (58752)
* ATK Level: 90909090909, XP till next: 1b
* B2P: 2 Food: 48
* Charms: 27/1/0/2
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Element17

2012-09-06 00:14:42

You can turn that off….I saw it on wiki the other day.

Solar

2012-09-06 03:58:03

From: Element17
You can turn that off….I saw it on wiki the other day.


:confused: Turn what off?

print

2012-09-06 08:53:04

lol this script ran for 8+ hours its incredible got me 470k exp

Leonardo Da Vinci

2012-09-09 00:32:11

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ChaosMossKiller v6.1
* Time Running: 14 Hours, 38 Minutes and 42 Seconds
* DEF XP Gained: 0 (0)
* DEF Level: 83, XP till next: 58486
* B2P: 6 Food: 164
* Not picking up charms.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

For some reason when I choose strength or defense it doesn't tell me my EXP gained, or how much I have left until I level. But I leveled my defense 3 times.
I love this script!

print

2012-09-09 01:03:45

how did you go 14 hours without logging out????

Leonardo Da Vinci

2012-09-09 01:15:43

From: print123
how did you go 14 hours without logging out????


Nothing, just pressed play.
For some reason it doesn't stop after six hours… Which is awesome as hell.

HolyWord

2012-09-09 03:04:44

From: Leonardo Da Vinci
Nothing, just pressed play.
For some reason it doesn't stop after six hours… Which is awesome as hell.


Yea you can have longer proggies with the "SRL_SixHourFix" :)

print

2012-09-09 11:24:39

i think im start useing that srcript more haha

Leonardo Da Vinci

2012-09-09 11:37:35

From: HolyWord
Yea you can have longer proggies with the "SRL_SixHourFix" :)

I really should have known that. God damn it.
Thank you.

From: print123
i think im start useing that srcript more haha

It's a brilliant script, man… I just wish there was also another script that got more EXP quicker. I want to get all my combat skills to 99 before EOC.

Deni_mulic

2012-09-12 03:02:21

Longest proggy?

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ChaosMossKiller v6.2
* Time Running: 32 Hours, 27 Minutes and 18 Seconds
* STR XP Gained: 1444409 (44505)
* STR Level: 82, XP till next: 193890
* B2P: 32 Food: 840
* Not picking up charms.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
xD

Shatterhand

2012-09-12 03:10:07

From: Deni_mulic
Longest proggy?

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ChaosMossKiller v6.2
* Time Running: 32 Hours, 27 Minutes and 18 Seconds
* STR XP Gained: 1444409 (44505)
* STR Level: 82, XP till next: 193890
* B2P: 32 Food: 840
* Not picking up charms.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
xD

Dammn, it is! Nice. :D

Deni_mulic

2012-09-12 08:50:00

Final proggy, only stopped cause I wanted to go pking :D
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ChaosMossKiller v6.2
* Time Running: 38 Hours, 15 Minutes and 30 Seconds
* STR XP Gained: 1723634 (45053)
* STR Level: 83, XP till next: 192924
* B2P: 37 Food: 1003
* Not picking up charms.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

aus tom

2012-09-12 09:02:30

omg?

BaYBeeZ

2012-09-14 21:15:07

Hey, the script keeps saying this over and over again:

Warning! You passed a wrong ye to a finder function: 2112. The client has a height of 503, thus the ye is out of bounds. Setting the value to 502 (h-1) for now.

Not sure what it means, but my character still fights the moss giants just fine. The mouse seems to constantly hover over the XP circle by the mini map though so I'm not sure if I've set up my XP counter correctly.

I was a little bit confused as to what it means by setting up the XP counter for trained level, I'm assuming that just means set it to attack if that's what I want to train? Sorry for the stupid question, I haven't been on Runescape for a couple months and never used the XP counter before.

Deni_mulic

2012-09-15 06:10:22

new longest proggy, finished my rune pure for f2p :)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ChaosMossKiller v6.2
* Time Running: 44 Hours, 53 Minutes and 44 Seconds
* STR XP Gained: 2143756 (47750)
* STR Level: 90, XP till next: 543294
* B2P: 41 Food: 1071
* Not picking up charms.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Shatterhand

2012-09-15 09:24:28

From: Deni_mulic
new longest proggy, finished my rune pure for f2p :)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ChaosMossKiller v6.2
* Time Running: 44 Hours, 53 Minutes and 44 Seconds
* STR XP Gained: 2143756 (47750)
* STR Level: 90, XP till next: 543294
* B2P: 41 Food: 1071
* Not picking up charms.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Very nice, gratz. Thanks for the awesome proggies! :)

Ivo09

2012-09-17 04:53:16

Does srl_sixhourfix apply to smart 7.2 now? Or is that picture in the OP just a really lucky run?

Shatterhand

2012-09-17 05:02:01

From: Ivo09
Does srl_sixhourfix apply to smart 7.2 now? Or is that picture in the OP just a really lucky run?

Yes it does.

Ivo09

2012-09-17 06:27:45

17 minutes and not a single charm. I've noticed a few myself but they were always under 2-3 items. I don't suppose you have any tips on improving my chances?

ChaosMossKiller v6.1
* Time Running: 43 Minutes and 9 Seconds
* ATK XP Gained: 38413 (53398)
* ATK Level: 84, XP till next: 2988XX
* B2P: 0 Food: 0
* Charms: 0/0/0/0

Apart from that, so far so good.

Shatterhand

2012-09-17 06:50:04

From: Ivo09
17 minutes and not a single charm. I've noticed a few myself but they were always under 2-3 items. I don't suppose you have any tips on improving my chances?


Were those charms visible or you paused the scripr and right clicked to find them?

Ivo09

2012-09-17 06:54:54

Right clicked. Like I said they were under multiple items. I think I could probably use a bonecrusher to make the charms show up easier. I just posted a proggy, you can see how much food I eat lol.

WT-Fakawi

2012-09-17 07:00:06

@Shatterhand: check out my Moss giant killer. You will like the way I implemented ChooseOptionMulti:

My script searches for bones on MainScreen, richtclicks it, but than first picks up charms/seeds/rares etc, and leaves the bone until last. Script scrolls through the KeepList which has bones last in the list. So the terribly good visible bones remain on the ground until everything else from that spot is picked up:)



KeepList := ['Spirit weed seed', 'Spin ticket', 'Uncut diamond',' Uncut ruby' , 'Uncut emerald', 'Uncut sapphire',
'oins','sword','spear','shield', // any occurence of this list is picked up.
'helm','javelin', 'staff', 'dart','bolts','teel arrow', 'ragonstone',
'Ranarr seed', 'Toadflax seed', 'Snapdragon seed', 'Dwarf weed seed', 'Torstol seed', 'Spirit weed seed',
'Blood rune', 'Death rune', 'Chaos rune', 'Air rune', 'Earth rune', 'Law rune', 'Nature rune','charm', 'Spinach roll', 'Long bone', 'key', 'guam', 'Big bones', 'Bones']; // BONES IS LAST IN LIST so we pickup anything before bones :))))


function WTChooseOptionMultiEx(Texts: TStringArray; TextType: String; var ResultText: String; Action: fnct_ActionOptions): Boolean;
var
B: TBox;
i, H, ii, L, x: Integer;
T: TPoint;
Options: array of TOptions;
begin
Result := False;
Options := GetChooseOptions(TextType);
if (Length(Options) < 1) then
Exit;
H := High(Options);
L := High(Texts);
for i := 0 To L do
begin
for ii := 0 to H do
If Pos(Texts[i], Options[ii].Str) > 0 Then
begin
Result := True;
ResultText := Options[ii].Str;
B := Options[ii].Bounds;
GetMousePos(T.x, T.y);
case Action of
ClickLeft: if PointInBox(T, B) then
Mouse(T.x, T.y, 0, 0, True)
else
MouseBoxEx(B.x1 + 5, B.Y1, B.x2 - 5, B.Y1 + 5,5, 1);
Move: if not PointInBox(T, B) then
MouseBoxEx(B.x1 + 5, B.Y1, B.x2 - 5, B.Y1 + 5,5, 3);
Nothing: begin end;
else
srl_warn('ChooseOptionMultiEx', 'ClickRight not a valid click for RS menus!', warn_AllVersions);
end;
Exit;
end;
end;
B := Options[0].BigBox;//to mmouse away
if Action <> Nothing then
begin
x := Max(B.X1 - 52, 0);
if x = 0 then
x := B.X2+10;
MMouse(x, Max(B.Y1 - 50, 0), 40, B.Y2-B.Y1);
Wait(200 + Random(100));
end;
end;

Ivo09

2012-09-17 07:01:20

From: WT-Fakawi
@Shatterhand: check out my Moss giant killer. You will like the way I implemented ChooseOptionMulti:

My script searches for bones on MainScreen, richtclicks it, but than first picks out charms/seeds/rares etc, and leaves the bone until last. It scroll through the KeepList which has bones last in the list. so the bones remain on the ground until everything else from that spot is picked up:)



KeepList := ['Spirit weed seed', 'Spin ticket', 'Uncut diamond',' Uncut ruby' , 'Uncut emerald', 'Uncut sapphire',
'oins','sword','spear','shield', // any occurence of this list is picked up.
'helm','javelin', 'staff', 'dart','bolts','teel arrow', 'ragonstone',
'Ranarr seed', 'Toadflax seed', 'Snapdragon seed', 'Dwarf weed seed', 'Torstol seed', 'Spirit weed seed',
'Blood rune', 'Death rune', 'Chaos rune', 'Air rune', 'Earth rune', 'Law rune', 'Nature rune','charm', 'Spinach roll', 'Long bone', 'key', 'guam', 'Big bones', 'Bones']; // BONES IS LAST IN LIST so we pickup anything before bones :))))


function WTChooseOptionMultiEx(Texts: TStringArray; TextType: String; var ResultText: String; Action: fnct_ActionOptions): Boolean;
var
B: TBox;
i, H, ii, L, x: Integer;
T: TPoint;
Options: array of TOptions;
begin
Result := False;
Options := GetChooseOptions(TextType);
if (Length(Options) < 1) then
Exit;
H := High(Options);
L := High(Texts);
for i := 0 To L do
begin
for ii := 0 to H do
If Pos(Texts[i], Options[ii].Str) > 0 Then
begin
Result := True;
ResultText := Options[ii].Str;
B := Options[ii].Bounds;
GetMousePos(T.x, T.y);
case Action of
ClickLeft: if PointInBox(T, B) then
Mouse(T.x, T.y, 0, 0, True)
else
MouseBoxEx(B.x1 + 5, B.Y1, B.x2 - 5, B.Y1 + 5,5, 1);
Move: if not PointInBox(T, B) then
MouseBoxEx(B.x1 + 5, B.Y1, B.x2 - 5, B.Y1 + 5,5, 3);
Nothing: begin end;
else
srl_warn('ChooseOptionMultiEx', 'ClickRight not a valid click for RS menus!', warn_AllVersions);
end;
Exit;
end;
end;
B := Options[0].BigBox;//to mmouse away
if Action <> Nothing then
begin
x := Max(B.X1 - 52, 0);
if x = 0 then
x := B.X2+10;
MMouse(x, Max(B.Y1 - 50, 0), 40, B.Y2-B.Y1);
Wait(200 + Random(100));
end;
end;


Wouldn't that slow the script down a fair bit? Or does it check during combat?

WT-Fakawi

2012-09-17 07:28:08

From: Ivo09
Wouldn't that slow the script down a fair bit? Or does it check during combat?
Nah, that used to be an issue 8 years ago. Everything is smooth and fast now :) Besides I only pickup items when done fighting.

Ivo09

2012-09-17 08:02:16

From: WT-Fakawi
Nah, that used to be an issue 8 years ago. Everything is smooth and fast now :) Besides I only pickup items when done fighting.


Ah okay nice.

I seem to recall a similar problem with caffeinated killer a few months ago so I was curious.

ChaosMossKiller v6.1
* Time Running: 1 Hours, 52 Minutes and 32 Seconds
* ATK XP Gained: 99488 (53038)
* ATK Level: 84, XP till next: 2378XX
* B2P: 0 Food: 4
* Charms: 3/1/0/0

A proggy for you OP, next one will be overnight. Pretty flawless script.

Shatterhand

2012-09-17 08:47:22

From: Ivo09
I think I could probably use a bonecrusher to make the charms show up easier. I just posted a proggy, you can see how much food I eat lol.

This would be best for you if you need those charms. By the way v6.2 is the latest version, use that.

@WT-Fakawi: I already have a similar function (named ChooseOptionCharms) which picks up charms before bones.
The problem is: my script doesnt burry bones, it picks them up for B2P. Memorizing the checked bone piles would be very hard with colors, so I see no ways improving charm looting without wasting time/XP.

WT-Fakawi

2012-09-17 10:07:21

From: Shatterhand
This would be best for you if you need those charms. By the way v6.2 is the latest version, use that.

@WT-Fakawi: I already have a similar function (named ChooseOptionCharms) which picks up charms before bones.
The problem is: my script doesnt burry bones, it picks them up for B2P. Memorizing the checked bone piles would be very hard with colors, so I see no ways improving charm looting without wasting time/XP.


Yes, I saw that function in your script. All I do in my script is leave the bones on the ground. I safe them for last so-to-speak. I first pick up stuff that is lying underneath the bones. I dont memorize anything, I just see them big white blobs lying on the floor :) I get 100% of the time all the charms, all the torstol, all the snapdragon, ranarr's, etc…. all cool stackable stuff.

EDIT: Ok I see. That is a problem :) Why dont you pick them up and bury them, (15 xp) and use B2P when needed?

Ivo09

2012-09-17 16:17:38

ChaosMossKiller v6.1
* Time Running: 8 Hours, 3 Minutes and 28 Seconds
* ATK XP Gained: 394484 (48956)
* ATK Level: 85, XP till next: 182436
* B2P: 1 Food: 29
* Charms: 120/14/1/3
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Exception in Script: Failed to create new thread, code:8
The following DTMs were not freed: [0, SRL - Lamp bitmap]
The following bitmaps were not freed: [SRL - NavBar Bitmap, SRL - Flag bitmap, SRL - Admin bitmap, 4, SRL - Mod bitmap]

Crashed after I woke up. Will try 6.2 tonight. Running on a 1.1ghz dual core celeron so I didn't expect this much. Great script!

From: WT-Fakawi

EDIT: Ok I see. That is a problem :) Why dont you pick them up and bury them, (15 xp) and use B2P when needed?


That would slow down even a legit player at least a little. It's not worth it considering this is a combat exp script. There's always the ghouler for those who desperately need charms and this script gets tons anyway as you can see from my proggy.

suhstain

2012-09-17 20:43:36

this bot is so awesome, so close to 99str thanks so much :)

Ivo09

2012-09-21 04:12:22

[Error] C:\Simba\Includes\SRL/SRL/misc/SmartParams.Simba(278:134): Type mismatch at line 277
Compiling failed.

Any ideas? Is there a new update?

Fixed. Replace line 287 of smartparams with

Result:= SmartSpawnClient(ReplaceWrap(PluginPath, '\', '/', [rfReplaceAll]), Params[0], ',' + Params[1], 765, 553, 's', '', '',-1);

Mewtwo

2012-09-26 00:49:00

Boss went for 15 hours . never seen a script run so long :D

print

2012-09-26 00:54:56

^^lol this chicken shows his rsn in the attched thumbnail

strongkook

2012-09-26 16:58:02

can someone please offer some assistance for just about every script i try i get something like

[Error] C:\Simba\Includes\SRL/SRL/misc/smart.simba(46:19): Invalid number of parameters at line 45
Compiling failed.

strongkook

2012-09-26 16:59:15

oops bump

Ashaman88

2012-09-26 17:19:17

From: strongkook
oops bump


http://villavu.com/forum/showthread.php?t=88578

Mr[S]

2012-09-28 11:29:59

Ok so now that in less than a day i've got my new secondary account from level 3 to level 50 Ill try this script again, lets see how fast I can get all forms of melee up to level 60 :p

Mr[S]

2012-09-28 12:16:14

Totally forgot its a multicombat thingy so my plan didnt work :(

Mr[S]

2012-09-29 05:34:00

ChaosMossKiller v6.2
* Time Running: 17 Hours, 5 Minutes and 31 Seconds
* ATK XP Gained: 713117 (41722)
* ATK Level: 82, XP till next: 202589
* B2P: 11 Food: 253
* Charms: 110/6/1/5

More to come

Mooonb

2012-09-29 06:13:37

Thanks you so much!
Got 99str 99att 99def and 99hp from this script!

Solar

2012-09-29 06:14:30

From: Sharm
ChaosMossKiller v6.2
* Time Running: 17 Hours, 5 Minutes and 31 Seconds
* ATK XP Gained: 713117 (41722)
* ATK Level: 82, XP till next: 202589
* B2P: 11 Food: 253
* Charms: 110/6/1/5

More to come


Sharm, instead of triple posting or double posting, edit you previous post.
Nice proggy all the same.

Shatterhand

2012-10-04 03:35:50

New version supports looting.
It doesnt loot everything 100%, but has a high chance. Looted like 300k and a lot of charms in 8 hours. XP/h is lowered a bit, but it makes it more human.
What do you think? Should I release this to public, or just members+?
|-->|

stuartroad

2012-10-04 03:52:52

well 300k for 8 hours work, not gonna really start any gold farming buisness with that are you. If you are worried, release one without all those special lootings, just better charm looting.

iamafish33

2012-10-04 14:50:26

300k for 8 hours isn't going to crash anything IMO and I love your script but like others I wish it was a little better at the charm looting and making a lil cash on the side would be amazing! Would greatly appreciate it!

Smurf From RiD

2012-10-04 18:03:23

Loving this nifty little bot! very well done, will post some proggies soon :D.

Crazydictator

2012-10-09 12:04:09

The Chaos Tunnels have been updated now, not sure if that will affect anything.. The bot still seems to be working for now. :spot: :f:

Shatterhand

2012-10-09 12:18:01

From: Crazydictator
The Chaos Tunnels have been updated now, not sure if that will affect anything.. The bot still seems to be working for now. :spot: :f:

Yea nothing really changed.
New version (v7.0) is relased! Read the first post/script setup carefully. :)

Crazydictator

2012-10-09 13:34:29

Perfect, you might want to turn Debug box and lines off though. :)

Crazydictator

2012-10-12 16:44:21

Not sure if it's the script or SRL.. I keep getting this every hour or so.

It has been 3 minutes and Runescape is not yet ready… Terminating.
Successfully executed.
The following DTMs were not freed: [2]

Shatterhand

2012-10-12 17:34:17

From: Crazydictator
Not sure if it's the script or SRL.. I keep getting this every hour or so.

It has been 3 minutes and Runescape is not yet ready… Terminating.
Successfully executed.
The following DTMs were not freed: [2]

http://villavu.com/forum/showthread.php?t=90967

skull lord

2012-10-12 22:14:24

Great Bot! I "Babysat" it for awhile, but the script did everything right. 10/10 for moss giant killing!

Jeroen

2012-10-13 06:49:28

Nice bot! Used it before, version 5 i believe. This is awesome and i trust your script 100% overnight. :) Only thing is.. in the past versions it was only looting charms, and now it is looting charms but also looting some other runes etc. I dont want the runes, does the script drops it? Otherwise im wasting B2P. :(

Shatterhand

2012-10-13 07:45:52

From: Jeroentjo
Nice bot! Used it before, version 5 i believe. This is awesome and i trust your script 100% overnight. :) Only thing is.. in the past versions it was only looting charms, and now it is looting charms but also looting some other runes etc. I dont want the runes, does the script drops it? Otherwise im wasting B2P. :(

No, it loots charms and valuables both. I didnt want to make too many options. Its not a waste tbh, you can get great money in long term. Ring of wealth helps a lot.

Bixby Sayz

2012-10-14 16:56:51

Nice script. My only complaint with this is the same one I have with virtually every combat script on this site: No scripters seem to "get" that users REALLY want the ability to collect and bury bones.

Deni_mulic

2012-10-15 09:35:29

From: Bixby Sayz
Nice script. My only complaint with this is the same one I have with virtually every combat script on this site: No scripters seem to "get" that users REALLY want the ability to collect and bury bones.


1. This feature defeats the purpose of this script.
2. Bonecrusher fulfils this purpose, look into acquiring one.

Mjordan

2012-10-15 10:05:19

From: Bixby Sayz
Nice script. My only complaint with this is the same one I have with virtually every combat script on this site: No scripters seem to "get" that users REALLY want the ability to collect and bury bones.
The decrease in combat xp/hour is not anywhere near worth the minimal prayer xp. I used a bonecrusher here and it was such small prayer xp/hour that it wouldn't be worth the time to pick them up and bury.

Deni_mulic

2012-10-16 21:40:05

Nvm, didn't read the above posts. Waiting for a fix :)

Bixby Sayz

2012-10-17 09:37:04

From: Mjordan
The decrease in combat xp/hour is not anywhere near worth the minimal prayer xp. I used a bonecrusher here and it was such small prayer xp/hour that it wouldn't be worth the time to pick them up and bury.
That is your opinion. The combat xp/hour is not always the primary focus for the end user. Saving money on prayer wherever possible often is.

deliriouspuppet

2012-10-19 20:27:31

good script, it ran for about 5 hours for 50k xp/hr, however when it didnt pick up any good drops. just the osscasional charm and 1 ranarr seed.

ty for script, ill continue to use it

Deni_mulic

2012-10-22 21:23:28

Going for another 40+ hour proggy, this time maxing ranged. Let you know how it goes :)
Edit: Error creating thread at 9 hours 40 minutes

Shatterhand

2012-10-23 03:53:06

From: Deni_mulic
Going for another 40+ hour proggy, this time maxing ranged. Let you know how it goes :)
Edit: Error creating thread at 9 hours 40 minutes

Awww. :D

Jeroen

2012-10-23 09:20:57

Did i told you this script is really awesome? :)
Got me 4M + Defence xp this week.
What's new in version 7.1?

Shatterhand

2012-10-23 10:53:35

From: Jeroentjo
Did i told you this script is really awesome? :)
Got me 4M + Defence xp this week.
What's new in version 7.1?

Thanks, and nice. :)
Its on the first post; mostly some improvements on looting. Although it still not perfect, working on it.

whitegamerboi

2012-10-24 10:42:59

Hey ive been using this script for a while now, its very stable for me and runs for a long time! Excellent script.

masman7

2012-10-24 21:00:24

this randomly stopped working for me today after the halloween update applied. it is now telling me my combat level is too low.. im lvl 115, then it just sits and does nothing

Shatterhand

2012-10-24 23:59:42

From: masman7
this randomly stopped working for me today after the halloween update applied. it is now telling me my combat level is too low.. im lvl 115, then it just sits and does nothing


Update SRL and restart.

masman7

2012-10-25 20:52:39

thanks works perfect now, getting about 55k exp/h and like 100k in ranaar seeds per run sesh

Parfilo

2012-10-26 09:19:29

Very great script, but I think that all valuable seeds, rare drops, and charms should be improved in picking up. As I was babysitting the script watching it miss many valuable drops, I caught a seed that it didn't click, and it was a torstol seed which I manually had to get. So one thing to improve is the look pickup, but everything else is perfect, and this script (fighting wise) is flawless!

Shatterhand

2012-10-26 12:32:25

From: Parfilo
Very great script, but I think that all valuable seeds, rare drops, and charms should be improved in picking up. As I was babysitting the script watching it miss many valuable drops, I caught a seed that it didn't click, and it was a torstol seed which I manually had to get. So one thing to improve is the look pickup, but everything else is perfect, and this script (fighting wise) is flawless!

You give me a better idea on how to then I'll do it…

Parfilo

2012-10-26 13:49:55

I don't even know how :P
All I can do is give constructive criticism, nothing with scripting haha :D
It's a good script though, I get good xp.
Also, do you have the rare drop table for this in the script?

Shatterhand

2012-10-26 14:11:30

From: Parfilo
I don't even know how :P
All I can do is give constructive criticism, nothing with scripting haha :D

If you read back a little, people already posted about it…
From: Parfilo
Also, do you have the rare drop table for this in the script?

Yes, I added most of them. Dont forget to use ring of wealth to improve the chances.

Deni_mulic

2012-10-27 21:57:19

Had a few problems after the start of Bonus XP weekend - turns out it was just lag.

70k/hr Ranged exp :D

Will let you know if I can break 10 hours without "error creating thread" haha

edit:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ChaosMossKiller v7.1
* Time Running: 8 Hours, 9 Minutes and 24 Seconds
* RNG XP Gained: 571170 (70024)
* RNG Level: 89, XP till next: 324151
* B2P: 11 Food: 180
* Charms: 192/16/17/1
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Shatterhand

2012-10-31 15:40:50

From: Deni_mulic
Had a few problems after the start of Bonus XP weekend - turns out it was just lag.

70k/hr Ranged exp :D

Nice!
This weekend was a joke. Double xp but half speed.
Only got some hours of 80k/h…
EDIT: Btw here is my inventory after using 70 B2Ps. :D
http://i.imgur.com/6dTVS.png

stuartroad

2012-11-01 00:33:38

Hey buddy, I have searched for an answer to my problem, but i can't find it, it also only seems to happen with your script. i get the error,
"it's been 3 minutes and rs isn't loaded yet"
this generally happens about the 3 hour mark.

chief herb

2012-11-03 18:05:18

shatterhand i have used this script for awhile now and would like too sincerely thank you for keeping this script up and running ive used previous versions and the 7.1 is working better than i would be! haha also on my road to 99 def and hp with this script. thanks alot

Jibbz

2012-11-04 15:45:28

ChaosMossKiller v7.1
* Time Running: 7 Hours, 1 Minutes and 19 Seconds
* STR XP Gained: 412241 (58705)
* STR Level: 96, XP till next: 626635
* B2P: 23 Food: 444
* Charms: 198/12/14/7
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Epic Script.

chief herb

2012-11-04 19:13:37

one thing tho, is when looting is on and it needs another inv slot it will just drop my lobster when it could have ate it for some health. not too big of a bug but just a waste of lobbys

Shatterhand

2012-11-05 02:24:33

From: chief herb
one thing tho, is when looting is on and it needs another inv slot it will just drop my lobster when it could have ate it for some health. not too big of a bug but just a waste of lobbys

Ye I know that. There are some problems, sometimes it misreads the uptexts, thats why I made it to use less text reading.

chief herb

2012-11-05 03:48:00

From: Shatterhand
Ye I know that. There are some problems, sometimes it misreads the uptexts, thats why I made it to use less text reading.

oh true, not that big of a deal! im about to hit 98 def, just something i noticed.

chief herb

2012-11-05 15:08:09

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ChaosMossKiller v7.1
* Time Running: 8 Hours, 6 Minutes and 31 Seconds
* XP Gained: 434406 (53572)
* Level: 98, XP till next: 780833
* B2P: 2 Food: 59
* Charms: 337/28/28/2
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

mr. pali

2012-11-07 19:16:03

Hey so I've been running this script for about 2 hours now.
It works well, but the bones-picking isn't working. In both 7.0 on 7.1 with itempicking on or off, (for runes etc.), the script will pick up 1 - 2 bones fine, then start clicking where it picked the previous bones up (x,y coords on screen, not the ingame location) and will do so 5 - 10 times. Then it will go back to killing mossies.

Other than that, its working well. But because its not picking up enough bones, i seem to be falling back a few peaches every b2p cycle.

Thanks

-pali

edit:

So I scrolled back a few pages and found an edited 6.2 script. I've been using it, and it works okay. Only issue is that it put the cursor over the portal thinking it is bones, but it doesn't click or anything. Probably a color issue. Still picks up enough bones, better than 7.0 or 7.1 in this respect.

Anyways

Great script!

Shatterhand

2012-11-07 22:47:52

From: mr. pali
Hey so I've been running this script for about 2 hours now.
It works well, but the bones-picking isn't working. In both 7.0 on 7.1 with itempicking on or off, (for runes etc.), the script will pick up 1 - 2 bones fine, then start clicking where it picked the previous bones up (x,y coords on screen, not the ingame location) and will do so 5 - 10 times. Then it will go back to killing mossies.

Other than that, its working well. But because its not picking up enough bones, i seem to be falling back a few peaches every b2p cycle.

Thanks

-pali

edit:

So I scrolled back a few pages and found an edited 6.2 script. I've been using it, and it works okay. Only issue is that it put the cursor over the portal thinking it is bones, but it doesn't click or anything. Probably a color issue. Still picks up enough bones, better than 7.0 or 7.1 in this respect.

Anyways

Great script!

Thanks for your feedback. That x,y coord clicking is already fixed in my version. The way the bones looting works since 6.2 is that it loots max 1 bones per kill (calls the looting function 1x, and it exits after picking up something). If you "waste" bones then it seems you are low def and get hit a lot.
I will release my fixed version (been running it for weeks, works fine) and ill make an option to set up how frequent should it loot things. It will solve your problem.

@Jibbz and chief:
Thanks for the proggies.

chief herb

2012-11-08 01:30:40

hit 99 def with this script, going for hp 120kish off. next is attack

mr. pali

2012-11-08 16:30:16

From: Shatterhand
Thanks for your feedback. That x,y coord clicking is already fixed in my version. The way the bones looting works since 6.2 is that it loots max 1 bones per kill (calls the looting function 1x, and it exits after picking up something). If you "waste" bones then it seems you are low def and get hit a lot.
I will release my fixed version (been running it for weeks, works fine) and ill make an option to set up how frequent should it loot things. It will solve your problem.

@Jibbz and chief:
Thanks for the proggies.


This script is excellent!!

Do you mind if I borrow some ideas from it for future scripts? I'd give you credit.

When will you be releasing this fixed version?

Thanks

-Pali

Shatterhand

2012-11-08 16:39:37

From: mr. pali
This script is excellent!!

Do you mind if I borrow some ideas from it for future scripts? I'd give you credit.

When will you be releasing this fixed version?

Thanks

-Pali

Thanks, I dont mind, maybe tomorrow.
Have fun botting till you can. :D

___

2012-11-08 16:43:12

You should consider making a hill giant killer and bone burier script.

Mr[S]

2012-11-11 15:23:42

7.2 is really good has picked up 400 gold charms in 7 hours 23 green charms 28 crimson and 10 blues :D

masman7

2012-11-12 13:22:45

since 7.2 this script works very very good gets about 50k exp/h and makes a decent amount of money while collecting lots of charms, is there any way to add snapdragon seeds to the loot list? ive seen it miss a few of them and they are worth 30k each

Shatterhand

2012-11-12 13:57:10

From: masman7
since 7.2 this script works very very good gets about 50k exp/h and makes a decent amount of money while collecting lots of charms, is there any way to add snapdragon seeds to the loot list? ive seen it miss a few of them and they are worth 30k each

Its on the list, the script wont check every single loot piles, does it randomly. So there is a chance to miss some.

masman7

2012-11-12 14:04:10

i see but mine has never looted one ive seen it check a pile with one but not take it

edit: can u make an option to loot coins too i feel it would accumulate a decent amount over long runs

dabomb01

2012-11-13 23:42:49

Exception in Script: Failed to create new thread, code:8
The following DTMs were not freed: [SRL - Lamp bitmap, 1]
The following bitmaps were not freed: [SRL - Mod bitmap, SRL - Admin bitmap, SRL - Flag bitmap, SRL - NavBar Bitmap, 4]

happens wayyyy to frequently, help :-/

Olly

2012-11-13 23:59:41

From: dabomb01
Exception in Script: Failed to create new thread, code:8
The following DTMs were not freed: [SRL - Lamp bitmap, 1]
The following bitmaps were not freed: [SRL - Mod bitmap, SRL - Admin bitmap, SRL - Flag bitmap, SRL - NavBar Bitmap, 4]

happens wayyyy to frequently, help :-/


Memory leak issue… shatter should check to see if he's using any many wrapper functions as he can :p

dabomb01

2012-11-14 05:40:57

anything that can be done about this realitively easily? I realize the new combat system is due to drop this week and no one wants to put effort into something thats effectively already outdated im just tryin to catch a couple extra levels before the system is released and this memory leak issue is really hindering my progress – otherwise great script lots of time spent on it keep it up for the new system ….. idk how thats gonna be botable =P

chief herb

2012-11-15 01:56:34

im using 7.1 got 2 99's with it. hp and defence. attack is next. hopefully can get 99 before eoc. im at 95 with 400kish. think i got it?

Nomads

2012-11-18 23:19:04

Hey there,

First time posting. I Noticed earlier that someone posted
'It has been 3 minutes and Runescape is not yet ready… Terminating.'

I am wondering if the problem has been worked out? I'm getting anywhere from 1-3 hours before this happens.

Shatterhand

2012-11-19 00:15:25

From: Nomads
Hey there,

First time posting. I Noticed earlier that someone posted
'It has been 3 minutes and Runescape is not yet ready… Terminating.'

I am wondering if the problem has been worked out? I'm getting anywhere from 1-3 hours before this happens.

Its not solved yet, I get it too. :(

Nomads

2012-11-19 22:20:07

I did catch it before saying 'We have been logged out' when still logged in, I sat and observed it for a bit, it then let itself time out in the lobby.

I am unsure of what could be causing it to think it has been logged out?

Shatterhand

2012-11-20 02:40:11

From: Nomads
I did catch it before saying 'We have been logged out' when still logged in, I sat and observed it for a bit, it then let itself time out in the lobby.

I am unsure of what could be causing it to think it has been logged out?

The srl function LoggedIn which should determine wether we are logged in or not does not work properly. The script calls the function many many times, so theres is a low chance the script will stuck cause of that.

nkd2009

2012-11-20 12:45:28

First thanks for making this script. It works nearly flawlessly and has helped me immensely. i was wondering though if you could incorperate the abilities bar into it somehow. After EOC this script still works fine but it seems the xp rate was nearly halved since it doenst utilize that abilities bar. Also it doesnt always finish killing the mossgiant which matter now since you only get xp upon a monster death. thanks again man

Paradox122

2012-11-20 13:45:48

From: nkd2009
First thanks for making this script. It works nearly flawlessly and has helped me immensely. i was wondering though if you could incorperate the abilities bar into it somehow. After EOC this script still works fine but it seems the xp rate was nearly halved since it doenst utilize that abilities bar. Also it doesnt always finish killing the mossgiant which matter now since you only get xp upon a monster death. thanks again man


Yes this bot still works fine for me, but i look forward to seeing what you will do with the abilities bar. Thanks for a great script man.

Shatterhand

2012-11-20 15:34:48

From: Paradox122
Yes this bot still works fine for me…

Really? I doubt it works fine, cause you get xp after a kill, not after a hit.

nkd2009

2012-11-20 20:36:37

From: Shatterhand
Really? I doubt it works fine, cause you get xp after a kill, not after a hit.


well even if it doesnt kill the guy the first attempt, it usually auto retaliates or reclicks on the monster and you end up killing him in one hit. But yes it doesnt work as well. My xp/hour went from 50k down to around 22k after the update. Do you think you will rework the script to work with the EOC?

SeanStar

2012-11-20 23:10:52

I've reworked this script to use momentum when it detects a full yellow bar of adrenaline (Basically a copy of the RedBar function). This allows for better xp rates.. as for the InFight boolean, just set it to like 10 seconds and it works ok-ish. I'll work out a solid fix for it by tomorow though.

Shatterhand

2012-11-22 12:26:49

From: nkd2009
well even if it doesnt kill the guy the first attempt, it usually auto retaliates or reclicks on the monster and you end up killing him in one hit. But yes it doesnt work as well. My xp/hour went from 50k down to around 22k after the update. Do you think you will rework the script to work with the EOC?

Well, I dont think I will rework this. But I'm working on another combat script, probably an AIO one. As I dont plan getting members again, Ill stick to f2p monsters.
EDIT: Theres no high leve monsers in f2p. Like impossible to train combat in f2p…

nkd2009

2012-11-25 13:24:35

From: Shatterhand
Well, I dont think I will rework this. But I'm working on another combat script, probably an AIO one. As I dont plan getting members again, Ill stick to f2p monsters.
EDIT: Theres no high leve monsers in f2p. Like impossible to train combat in f2p…


well good luck with the new script. I look forward to testing it. and ya their really arnt many good F2P monsters to train on.

Mr[S]

2012-11-26 15:02:38

From: Shatterhand
Well, I dont think I will rework this. But I'm working on another combat script, probably an AIO one. As I dont plan getting members again, Ill stick to f2p monsters.
EDIT: Theres no high leve monsers in f2p. Like impossible to train combat in f2p…


You should create the script while you still have mems and if anything messes up we will pay for your mems :p

Shatterhand

2012-11-28 03:11:41

From: Mr[S]
You should create the script while you still have mems and if anything messes up we will pay for your mems :p

I dont have membs, and dont wanna get again. I kind of lost my motivation to runescape since levels means nothing for pking, all you need is level 50s in f2p to unlock all the items/abilities…
I would make a combat scipt for f2p, but because of the low level monsters and weaknesses its hard to make decent xp.

Ilya

2012-11-28 14:27:17

From: Shatterhand
I dont have membs, and dont wanna get again. I kind of lost my motivation to runescape since levels means nothing for pking, all you need is level 50s in f2p to unlock all the items/abilities…
I would make a combat scipt for f2p, but because of the low level monsters and weaknesses its hard to make decent xp.

you could attempt an f2p revenant/hellhound/greater demon slayer.

Shatterhand

2012-11-29 03:34:10

From: Ilya
you could attempt an f2p revenant/hellhound/greater demon slayer.

They are all in wilderness? :(

chief herb

2012-11-29 04:58:10

idk ankou, or a hill giant killer with bonecrusher support. im not sure, not too many ideas for f2p that arent taken

John

2012-11-29 05:58:56

From: chief herb
idk ankou, or a hill giant killer with bonecrusher support. im not sure, not too many ideas for f2p that arent taken


I could surely lend one of my accounts to you so you could get this up and running again with abilities.

Shatterhand

2012-12-03 05:04:36

From: John
I could surely lend one of my accounts to you so you could get this up and running again with abilities.

There is no point to kill Moss giants anymore. They are too low level, with level 140+ you wont get any good xp from them.
I managed to get my AIO fighter working on red spiders. It seems they are the best monsters to train on, but needs a lot of food, so its not that effective. The script uses abilities.
Heres a proggy I got in F2P!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ShatterFighter v1.0
* Time Running: 22 Minutes and 14 Seconds
* ATK XP Gained: 23203 (62583)
* ATK Level: 8x
* XP till next: 35441
* Food: 5 Hops: 0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Failed to eat.
Another problem is the crashers, if you attack a monster first, you will get the xp. There are many annoying players who tag all the monsters so we get no xp…

qingqinghd

2012-12-03 11:10:59


{$DEFINE SMART}
program ChaosMossKiller;
{$i srl/srl.simba}
{$i sps/sps.simba}
{$i srl/srl/misc/SmartGraphics.simba}
{$i srl/srl/misc/debug.simba}

const
//<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
//==============================================================================
//=====================ChaosMossKiller by ShatterHand=======================v7.2
//=========================================================================9 Nov
SRLStats_User = ''; // Your SRL Stats ID (If you dont have one then just leave it as it is)
SRLStats_Password = ''; // Your SRL Stats Password (If you dont have one then just leave it as it is)

Username = '';
Password = '';

TrainedSkill = 'Strength'; // Level tracking: 'Attack', 'Strength', 'Defence', 'Range', 'Hitpoints'. Use 'TOTAL' for no level tracking, all xp will be counted.
GoalLevel = 99; // Script will stop when goal reached.
XPCounter = 2; // Right click on XP button, and set up a counter for Trained Skill. You can have 3 counters maximum. XPCounter should be 1, 2 or 3.

EatAt = 2000;
BonesToPeaches = True; // B2P must be on the 28th slot!
PickUpLoots = False; // Loots items from the list (line 1344). Drop junks and move items to first slots before start!

UseSpecAttacks = False; // Only primary weapons. Dont use Korasi! (multi spec)
SpecUsage = 50; // 25, 50, 55, 60, 100

AmmoType = 'Broad'; // UpText for Ammo (will equip it if looted accidently)

TakeScreenShots = False; // Takes screenshots on levelups and stops. Small sized jpg.
ScreenShotsPath = 'C:\Simba\Screenshots\ChaosMossKiller\'; // Create the folder manually!!!


PaintStatus = True;
PaintReport = True;
PaintDebug = True;

DebugWindow = False;
DebugLines = False;
//==============================================================================
//===========UPDATES: http://villavu.com/forum/showthread.php?t=74029===========
//==============================================================================
//<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

Version = 'v7.2';



var //global variables
BonesX, BonesY, X, Y,
StartTime, StartXp, NextLevelAt, TrainedLevel, HpLevel,
WorldHops, B2PUsed, FoodUsed, GoldCharms, GreenCharms, BlueCharms, CrimsonCharms,
SpecWait, SpecTime, SpecNumber,
LastHitXP, LastHitTime,
InvIndex : Integer;
LevelString : String;
DoReport, b2p : Boolean;
Loots : Array of String;



procedure DeclarePlayers; //for login
begin
NumberOfPlayers(1);
CurrentPlayer := 0;
with Players[0] do
begin
Name := UserName;
Pass := Password;
Active := True;
Member := True;
end;
end;



//CREDITS TO FLIGHT
procedure BrakeWindMouse(xs, ys, xe, ye, gravity, wind, minWait, maxWait, targetArea: extended);
var
veloX, veloY, windX, windY, veloMag, dist, randomDist, lastDist, D : extended;
lastX, lastY, MSP, W, TDist, T : integer;
sqrt2, sqrt3, sqrt5, PDist, maxStep : extended;
begin
MSP := MouseSpeed;
sqrt2:= sqrt(2);
sqrt3:= sqrt(3);
sqrt5:= sqrt(5);

TDist := Distance(Round(xs), Round(ys), Round(xe), Round(ye));
if (TDist < 1) then
TDist := 1;
MarkTime(T);
repeat
if (TimeFromMark(T)>5000) then
break;

dist:= hypot(xs - xe, ys - ye);
wind:= minE(wind, dist);
if (dist < 1) then
dist := 1;
PDist := (dist/TDist);
if (PDist < 0.01) then
PDist := 0.01;

{
These constants seem smooth to me, but
feel free to modify these settings however
you wish.
}

if (PDist >= 0.15) then //15% (or higher) dist to destination
begin
D := (Round((Round(dist)*0.3))/5);
if (D < 20) then
D := 20;
end else if (PDist < 0.15) then
begin
if ((PDist <= 0.15) and (PDist >= 0.10)) then //10%-15%
D := RandomRange(8, 13)
else if (PDist < 0.10) then //< 10%
D := RandomRange(4, 7);
end;

if (D <= Round(dist)) then
maxStep := D
else
maxStep := Round(dist);

if dist >= targetArea then
begin
windX:= windX / sqrt3 + (random(round(wind) * 2 + 1) - wind) / sqrt5;
windY:= windY / sqrt3 + (random(round(wind) * 2 + 1) - wind) / sqrt5;
end else
begin
windX:= windX / sqrt2;
windY:= windY / sqrt2;
end;

veloX:= veloX + windX;
veloY:= veloY + windY;
veloX:= veloX + gravity * (xe - xs) / dist;
veloY:= veloY + gravity * (ye - ys) / dist;

if (hypot(veloX, veloY) > maxStep) then
begin
randomDist:= maxStep / 2.0 + random(round(maxStep) div 2);
veloMag:= sqrt(veloX * veloX + veloY * veloY);
veloX:= (veloX / veloMag) * randomDist;
veloY:= (veloY / veloMag) * randomDist;
end;

lastX:= Round(xs);
lastY:= Round(ys);
xs:= xs + veloX;
ys:= ys + veloY;

if (lastX <> Round(xs)) or (lastY <> Round(ys)) then
MoveMouse(Round(xs), Round(ys));

W := (Random((Round(100/MSP)))*6);
if (W < 5) then
W := 5;
W := Round(W*1.2);
wait(W);
lastdist:= dist;
until(hypot(xs - xe, ys - ye) < 1)

if (Round(xe) <> Round(xs)) or (Round(ye) <> Round(ys)) then
MMouse(Round(xe), Round(ye), 0, 0);

MouseSpeed := MSP;
end;



//CREDITS TO FLIGHT
procedure BrakeMMouse(eX, eY, ranX, ranY: Integer);
var
randSpeed : extended;
X, Y, MS : integer;
begin
MS := MouseSpeed;
randSpeed := (random(MouseSpeed) / 2.0 + MouseSpeed) / 10.0;
GetMousePos(X, Y);
BrakeWindMouse(X, Y, RandomRange(eX-ranX, eX+ranX), RandomRange(eY-ranY,eY+ranY), 8, 5, 10.0 / randSpeed, 15.0 / randSpeed, 10.0 * randSpeed);
MouseSpeed := MS;
end;



procedure RandomMMouse(eX, eY, ranX, ranY: Integer);
begin
case Random(2) of
0: BrakeMMouse(eX,eY,ranX,ranY);
1: MMouse(eX,eY,ranX,ranY);
end;
end;



procedure MakeScreenShot(const FilePath : String); //makes small sized jpg screenshot
var //example for FilePath 'C:\Simba\Screenshots\ChaosMossKiller\levelups'
fileName : String;
Year, Month, Day : Word;
i : Integer;
begin
if TakeScreenShots then
begin
if not DirectoryExists(ScreenShotsPath) then
CreateDirectory(ScreenShotsPath);
if not DirectoryExists(FilePath) then
CreateDirectory(FilePath);
DecodeDate(Date,Year,Month,Day);
i := 0;
repeat
i := i+1;
FileName := ToStr(Year) + '-' + ToStr(Month) + '-' + ToStr(Day) + ' (' + IntToStr(i) + ').jpg';
until not FileExists(FilePath + FileName)
SaveScreenShot(FilePath + FileName); //example for filename '2012-3-21 (1).jpg'
end;
end;



procedure DebugMossies(TPA: TPointArray; ATPA: Array of TPointArray; Box: TBox);
var
BMP, Color, x, y, i : Integer;
TPABox : TBox;
begin
BMP := BitmapFromClient(0,0,MSX2,MSY2); //making a bitmap, adding the mainscreen image to it
DrawTPABitmap(BMP,TPA,ClRed); //adding TPA to the bitmap

if TPABox.x1 < 0 then TPABox.x1 := 0;
if TPABox.x1 > MSX2 then TPABox.x1 := MSX2;

if TPABox.x2 < 0 then TPABox.x2 := 0;
if TPABox.x2 > MSX2 then TPABox.x2 := MSX2;

if TPABox.y1 < 0 then TPABox.y1 := 0;
if TPABox.y1 > MSY2 then TPABox.y1 := MSY2;

if TPABox.y2 < 0 then TPABox.y2 := 0;
if TPABox.y2 > MSY2 then TPABox.y2 := MSY2;

if Box.x1 < 0 then Box.x1 := 0;
if Box.x1 > MSX2 then Box.x1 := MSX2;

if Box.x2 < 0 then Box.x2 := 0;
if Box.x2 > MSX2 then Box.x2 := MSX2;

if Box.y1 < 0 then Box.y1 := 0;
if Box.y1 > MSY2 then Box.y1 := MSY2;

if Box.y2 < 0 then Box.y2 := 0;
if Box.y2 > MSY2 then Box.y2 := MSY2;

for i := 0 to high(ATPA) do
begin
if i = 0 then
Color := ClYellow
else
Color := ClBlack;

TPABox := GetTPABounds(ATPA[i]); //getting the box of the TPAs
for x := TPABox.x1 to TPABox.x2 do
begin
FastSetPixel(BMP,x,TPABox.y1,Color)
FastSetPixel(BMP,x,TPABox.y2,Color)
end;
for y := TPABox.y1 to TPABox.y2 do
begin
FastSetPixel(BMP,TPABox.x1,y,Color)
FastSetPixel(BMP,TPABox.x2,y,Color)
end;
end;

for x := Box.x1 to Box.x2 do //this is for the dead Moss giant
begin
FastSetPixel(BMP,x,Box.y1,ClRed)
FastSetPixel(BMP,x,Box.y2,ClRed)
end;
for y := Box.y1 to Box.y2 do
begin
FastSetPixel(BMP,Box.x1,y,ClRed)
FastSetPixel(BMP,Box.x2,y,ClRed)
end;

DebugBitmap(BMP);
FreeBitmap(BMP);
end;



procedure DebugPoints(TPA: TPointArray; ATPA: Array of TPointArray);
var
BMP, Color, x, y, i : Integer;
TPABox : TBox;
begin
BMP := BitmapFromClient(0,0,MSX2,MSY2); //making a bitmap, adding the mainscreen image to it
DrawTPABitmap(BMP,TPA,ClRed); //adding TPA to the bitmap

for i := 0 to high(ATPA) do
begin
if i = 0 then
Color := ClYellow
else
Color := ClBlack;

TPABox := GetTPABounds(ATPA[i]); //getting the box of the TPAs
for x := TPABox.x1 to TPABox.x2 do
begin
FastSetPixel(BMP,x,TPABox.y1,Color)
FastSetPixel(BMP,x,TPABox.y2,Color)
end;
for y := TPABox.y1 to TPABox.y2 do
begin
FastSetPixel(BMP,TPABox.x1,y,Color)
FastSetPixel(BMP,TPABox.x2,y,Color)
end;
end;

DebugBitmap(BMP);
FreeBitmap(BMP);
end;



procedure StatusWithPaint(What: String);
begin
Status(What);
if PaintStatus then
begin
SMART_ClearCanvasArea(IntToBox(MSX1,320+50,MSX2,343+50)); //clears the previous text
SMART_DrawTextEx(false,8,322,UpChars,What,ClWhite); //draws the new text
end;
end;



function CurrentTime: String; //function for time display, example: [17:53:59]
var
Hour, Mins, Sec, MSec: Word;
begin
DecodeTime(Now, Hour, Mins, Sec, MSec);
Result := ('['+Padz(IntToStr(Hour), 2) + ':' + Padz(IntToStr(Mins), 2) + ':' + Padz(IntToStr(Sec), 2)+'] ');
end;



procedure EndScript(Reason: String); //function for terminating, message box will pop up
begin
MakeScreenShot(ScreenShotsPath + 'stops\');
Disguise('Stopped');
Writeln(CurrentTime + Reason);
PlaySound('C:\Simba\sound.wav');
//MessageBox(CurrentTime + Reason,'ChaosMossKiller',0);
end;



procedure Antiban; //basic antibans
begin
case Random(2400) of
0..1:
begin
if TrainedSkill = 'TOTAL' then Exit;
StatusWithPaint('Checking trained level.');
HoverSkill(TrainedSkill,false);
Wait(RandomRange(1000,3000));
GameTab(tab_Inv);
end;
10..11:
begin
StatusWithPaint('Checking random level.');
HoverSkill('random',false);
Wait(RandomRange(1000,3000));
GameTab(tab_Inv);
end;
20..21:
PickUpMouse;
30..39:
CompassMovement(-180,180,false);
40:
begin
if LevelString = 'RNG' then
begin
StatusWithPaint('Checking equipments.');
GameTab(tab_Equip);
Wait(RandomRange(1000,3000));
GameTab(tab_Inv);
end;
end;
100..400:
SleepAndMoveMouse(RandomRange(300,1200));
end;
end;



procedure AmmoCheck; //removes weapon if needed to prevent death, then terminates
var
i : Integer;
done : Boolean;
begin
if LevelString = 'RNG' then
if FindChatBoxText('You have no ammo',8,ClBlack) then
begin
StatusWithPaint('Out of ammo.');
Wait(1000);
if srl_inFight then
begin
StatusWithPaint('Still fighting, removing weapon.');
GameTab(tab_Inv);
if InvFull then
begin
i := 1;
done := False;
repeat
MMouseItem(i);
if IsUpTextMultiCustom(['Bury','Eat']) then
if DropItem(i) then
done := True;
Inc(i);
until done
end;
GameTab(tab_Equip);
if WearingItem(5) then
TakeOff(5);
StatusWithPaint('Removed weapon.');
EndScript('Out of ammo.');
end;
end;
end;



procedure BreakB2P; //breaks b2p tablet, terminates if out of it
var
X, Y, PeachDTM, FailTime : Integer;
begin
PeachDTM := DTMFromString('78DA632C60626070626440069B3B52194480344C94310FA8C60C550D030313AA9A32A01A0B026A6A806A1C08A8A906AA7127A006E4663F026A52883007A4C69E809A4CC2FE0200D76708C1');

MarkTime(FailTime);
repeat
MarkTime(FailTime); //extending time for fails
GameTab(tab_Inv);
InvMouse(28,mouse_move); //b2p must be on 28th slot (had some problems creating DTM for it...)
if WaitUpText('Break',200) then
begin
StatusWithPaint('Breaking B2P.');
ClickMouse2(mouse_left);
if WaitFindDTMEx(PeachDTM,X,Y,MIX1,MIY1,MIX2,MIY2,100,10000) then //peach found
begin
Inc(B2PUsed);
FreeDTM(PeachDTM);
Exit;
end else
if FindChatBoxText('any bones',8,ClBlack) then
EndScript('Ouf of bones.');
end;
if (TimeFromMark(FailTime) > 10000) then
EndScript('Cant find B2P tablets.');
until False

FreeDTM(PeachDTM);
end;



function EatFood(FoodString: String): Boolean; //returns False if no food found
var
X, Y, FoodDTM, EatTime, WaitTime, i : Integer;
begin
FoodDTM := DTMFromString(FoodString);

Result := True;
GameTab(tab_Inv);
if WaitFindDTMEx(FoodDTM,X,Y,MIX1,MIY1,MIX2,MIY2,100,1000) then //food found
begin
StatusWithPaint('Eating.');
i := InvCount;
Mouse(X,Y,5,5,mouse_left);
WaitTime := RandomRange(2000,3000);
MarkTime(EatTime);
repeat
if (InvCount < i) then
begin
Inc(FoodUsed);
Dec(i);
end;
until (TimeFromMark(EatTime) > WaitTime)
end
else
Result := False;
//no food found
FreeDTM(FoodDTM);
end;



procedure HpCheck; //eats if HP is below EatAt. uses b2p. eats to full without wasting
var
colorstring, Lobster, Peach : String;
Amount : Integer;
done : Boolean;
begin

if (GetMMLevels('hp', colorstring) < EatAt) then
begin
repeat
if not b2p then //eats lobsters first
begin
Amount := 120; //healing amount of lobster
Lobster := 'mggAAAHicY2NgYPjPxMDAzczAwMcMYX8E4p9ALMbIwMAKxNxArMAI4fMC8f4EGaAuJgwsAiSxYUYcGAIAcgoGSA==';
if not EatFood(Lobster) then //if cant find lobster
begin
if not BonesToPeaches then //if not using B2P, then terminates
EndScript('Out of food.')
else
b2p := True; //turns on b2p
end;
end;
if b2p then
begin
Amount := 80; //healing amount of peach
Peach := '78DA633CCCC4C0F0809101196C6E4F66F802148289321E02AAB982AA8681810955CD59A09AEB986AB81890D45C00AAB94F40CD49A09AD704D4EC02AA794140CD0EA09A3BF8D500007F980F5F'
if not EatFood(Peach) then //if out of peaches
begin
BreakB2P;
EatFood(Peach);
end;
end;
if (GetMMLevels('hp', colorstring) + Amount) > (HpLevel * 10 ) then //if no need to eat more (CurrentHP + HealAmount > MaxHP)
done := True;
until done
end;
end;



function FindMoss(ClickOnIt: Boolean) : Boolean; //returns True if clicked on a Moss giant
var
TPA, TempTPA : TPointArray;
ATPA : Array of TPointArray;
X, Y, RedX, RedY, ExcX, ExcY, i, MinPoints, DetectTime, UptextTime, RedBarDTM : Integer;
Colors, Tolerances : Array of Integer;
begin
Result := False;
MarkTime(DetectTime);
MinPoints := 100;
//6257521 (8) portal színe, tökéletes
//2173227 (5) nincs már sötét fal (eddig 7 jó volt)
//2372406 (8) nincs már (12 volt) nagyon kicsi barna fából
//2309694 (7) nincs nagyon nagyon kicsi barna fából
//3303025 (14) sárgásbarna, tökéletes
//4482405 (13)
Colors := [6257521, 2173227, 2372406, 2309694, 3303025, 4482405];
Tolerances := [8, 5, 8, 7, 15, 13 ];

for i:=0 to High(Colors) do
begin
FindColorsTolerance(TempTPA,Colors[i],MSX1,MSY1,MSX2,MSY2,Tolerances[i]);
AppendTPA(TPA,TempTPA);
end;

if (High(TPA)> 0) then
begin

RedBarDTM := DTMFromString('mWAAAAHicY2FgYNgCxOeh+AIQRwFxOBDHQtk7GTgYrNmZ4FgEKIaMGdEwCAAAoEoGcA==');
if WaitFindDTMex(RedBarDTM,X,Y,MSX1,MSY1,MSX2,MSY2,10,100) then //excluding points near RedHpBar
begin
RedX := X; //middle of the redbar
RedY := Y+50;
ExcX := 35; //excluding distance
ExcY := 60;
SortTPAFrom(TPA,Point(RedX,RedY));
InvertTPA(TPA);
for i:=0 to High(TPA) do
if (Abs(TPA[i].x - RedX) < ExcX) and (Abs(TPA[i].y - RedY) < ExcY) then
Break;
if i = 0 then
begin
FreeDTM(RedBarDTM);
Exit;
end;
SetArrayLength(TPA,i);
end;
FreeDTM(RedBarDTM);

SortTPAFrom(TPA,Point(MSCX,MSCY)); //excluding points near middle
InvertTPA(TPA);
for i:=0 to High(TPA) do
if (Abs(TPA[i].x - MSCX) < 25) and (Abs(TPA[i].y - MSCY) < 25) then
Break;
if i = 0 then Exit;
SetArrayLength(TPA,i);

ATPA := SplitTPA(TPA,10); //splitting TPAs

SortATPASize(ATPA,True); //excluding TPAs with less than MinPoints points
for i:=0 to High(ATPA) do
begin
if High(ATPA[i]) < MinPoints then
Break;
end;
if i = 0 then Exit;
SetArrayLength(ATPA,i);

SortATPAFromFirstPoint(ATPA,Point(MSCX,MSCY)); //making the closest TPA the first in the array

if DebugWindow then //DebugWindow
DebugMossies(TPA,ATPA,IntToBox(RedX-ExcX,RedY-ExcY,RedX+ExcX,RedY+ExcY));

if ClickOnIt then
begin
if MiddleTPAEx(ATPA[0],X,Y) then //getting the middle point of the TPA, moving mouse there then looking for uptext
begin
MMouse(X,Y,0,0);
MarkTime(UptextTime);
if WaitUpTextMulti(['Attack','ttack','Moss'],200) then
begin
if DebugLines then //DebugLines
Writeln('Found Moss in ' + IntToStr(TimeFromMark(DetectTime)) + ' ms. Uptext was ' + IntToStr(TimeFromMark(UptextTime)) + ' ms.');
case Random(6) of //random left or right click (5:1)
0..4:
begin
ClickMouse2(mouse_left);
if DidRedClick then
Result := True; //clicked on moss
Exit;
end;
5:
begin
ClickMouse2(mouse_right);
if ChooseOption('Attack') then
Result := True;
Exit;
end;
end;
end else
if DebugLines then //DebugLines
Writeln('Found Moss in ' + IntToStr(TimeFromMark(DetectTime)) + ' ms, but failed to find UpText.');
end;
end else
if DebugLines then //DebugLines
Writeln('Found Mosses in ' + IntToStr(TimeFromMark(DetectTime)) + ' ms.');
end;
end;



function FindBones(): Array of TPoint; //returns the bones' middle points as a TPA
var
TPA, TempTPA : TPointArray;
ATPA : Array of TPointArray;
CTS, Time, MinPoints, i, Which : Integer;
Colors, Tolerances : Array of Integer;
HueMods, SatMods : Array of Extended;
begin

MarkTime(Time);

MinPoints := 10;
Colors := [12895698, 13356502, 12567496];
Tolerances := [11, 6, 6 ];
HueMods := [0.11, 0.43, 0.20 ];
SatMods := [0.76, 0.85, 0.60 ];

CTS := GetColorToleranceSpeed;
ColorToleranceSpeed(2);
for i:=0 to High(Colors) do
begin
SetToleranceSpeed2Modifiers(Huemods[i],SatMods[i]);
FindColorsTolerance(TempTPA,Colors[i],MSX1,MSY1,MSX2,MSY2,Tolerances[i]);
AppendTPA(TPA,TempTPA);
end;
ColorToleranceSpeed(CTS);

if (High(TPA)> 0) then
begin

SortTPAFrom(TPA,Point(MSCX,MSCY)); //excluding points near middle
InvertTPA(TPA);
for i:=0 to High(TPA) do
if (Abs(TPA[i].x - MSCX) < 15) and (Abs(TPA[i].y - MSCY) < 15) then
Break;
if i = 0 then Exit;
SetArrayLength(TPA,i);

ATPA := SplitTPA(TPA,10); //splitting the TPA

SortATPASize(ATPA,true); //excluding TPAs with less than MinPoints points
for i:=0 to High(ATPA) do
begin
if High(ATPA[i]) < MinPoints then
Break;
end;
if i = 0 then Exit;
SetArrayLength(ATPA,i);

SortATPAFromFirstPoint(ATPA,Point(MSCX,MSCY)); //first TPA is the closest to middle

if DebugWindow then //DebugWindow
DebugPoints(TPA,ATPA);

SetLength(Result,Length(ATPA)); //setting up the Result array
if (Length(ATPA) > 0) then
for i:=Low(ATPA) to High(ATPA) do
begin
if MiddleTPAEx(ATPA[i],X,Y) then
begin
Result[i] := Point(X,Y); //copying the values
end;
end;
end;

end;



function WaitInvChange(Timeout: Integer) : Boolean; //returns True if pixels changed in inventory (usage: counting charms)
var
Time : Integer;
begin
MarkTime(Time);
repeat
if (PixelShift(IntToBox(MIX1,MIY1,MIX2,MIY2),50) > 1) then
begin
Result := True;
Exit;
end;
until (TimeFromMark(Time) > TimeOut)
Result := False;
end;



function WaitInFight(Timeout: Integer) : Boolean; //returns True if XP is increased or blue shield is found
var
X, Y, XP1, XP2, ShieldDTM, Time : Integer;
begin
MarkTime(Time);
ShieldDTM := DTMFromString('mbQAAAHicY2VgYFBhhGAtIDaE0q+B4l+A+DcQvwTir0DMYu0Jx3///mXgqN/KwAUUR8eMWDAYAAD4KAuS');
repeat
if (XP2 > XP1) then
begin
if DebugLines then
Writeln('XP is increased, we are fighting.');
if PaintDebug then
begin
SMART_DrawBoxEx(false,false,IntToBox(524,104-50,543,123-50),ClYellow); //drawing box on xp button
Wait(50);
SMART_ClearCanvasArea(IntToBox(520,100,547,127));
end;
Result := True;
FreeDTM(ShieldDTM);
Exit;
end;
if (TimeFromMark(Time) > 3000) and FindDTM(ShieldDTM,X,Y,MSX1,MSY1,MSX2,MSY2) then
begin
if DebugLines then
Writeln('Blue shield found, we are fighting.');
Result := True;
FreeDTM(ShieldDTM);
Exit;
end;
until (TimeFromMark(Time) > Timeout)
FreeDTM(ShieldDTM);
Result := False;
end;



function InFight: Boolean; //returns True if fighting
begin //LastHitXP and LastHitTime are global variables
begin
MarkTime(LastHitTime);
Result := True;
Exit;
end;
if (TimeFromMark(LastHitTime) > 10000) then
begin
Result := False;
Exit;
end;
Result := True;
end;



function FindRedBar : Boolean; //returns True if a full red hp bar is found
var
X, Y, RedBarDTM1, RedBarDTM2 : Integer;
begin
Result := False;
RedBarDTM1 := DTMFromString('mlwAAAHicY2dgYDBnZmCQBWIZKB0ExQpA3AiUr2OA0C1QDOPvZOBgsGZnwsBdDIwM+AAjHgwFAAvPB5w='); //two DTMs just in case
RedBarDTM2 := DTMFromString('mlwAAAHicY2dgYDBnZmCQBWIZKB0ExQpA3AiUr2OA0C1QDOPvZOBgsGZnwsBdDIwM+AAjHgwFAAvPB5w=');

if FindDTM(RedBarDTM1,X,Y,MSX1,MSY1,MSX2,MSY2) or
FindDTM(RedBarDTM2,X,Y,MSX1,MSY1,MSX2,MSY2) then
begin
if DebugLines then
Writeln('Found redbar, we killed it.');
if PaintDebug then
begin
SMART_DrawBoxEx(false,false,IntToBox(X-30,Y-10,X+30,Y+10),ClYellow); //drawing box around the redbar
Wait(50);
SMART_ClearCanvasArea(IntToBox(0,MSY1+49,520,MSY2+50));
end;
Result := True;
end;
FreeDTM(RedBarDTM1);
FreeDTM(RedBarDTM2);
end;



procedure ClearInv; //arranges inventory, keeps the slot of InvIndex empty, drops accidently picked up junks
var
i : Integer;
DropItems : Array of String;
begin
if not PickUpLoots then
Exit;

if InvIndex = 28 then
EndScript('Inventory is full.');

DropItems :=[
'Whiteberry s','Jangerberry','Marrentill','Black sq','Black f','Magic st','Air r','Chaos r','Earth r',
'Steel b','Mithril s'
];

if ExistsItem(InvIndex) then
begin
MouseItem(InvIndex,mouse_move);

if IsUptext('Use') and not IsUpText('Bury') and not IsUpText('Eat') then
begin
MakeScreenShot(ScreenShotsPath + 'invinc\');
Inc(InvIndex);
Wait(RandomRange(300,800));
end
else
if InvFull then
begin
ClickMouse2(mouse_right);
ChooseOption('Drop');
Wait(RandomRange(300,800));
Exit;
end
else
for i:=InvIndex+1 to 27 do
begin
if not ExistsItem(i) then
begin
DragItem(InvIndex,i);
Wait(RandomRange(300,800));
Exit;
end;
end;



end;

if PaintDebug then
begin
SMART_ClearCanvasArea(IntToBox(MIX1,MIY1+50,MIX2,MIY2+50));
SMART_DrawBoxEx(false,false,InvBox(InvIndex),ClBlack);
end;
end;



function Loot(PickUpBones: Boolean): Integer; //-1: nothing looted, else number of items left to loot
var
B: TBox;
i, j, x: Integer;
T: TPoint;
Options: Array of TOptions;
HowManyToLoot, OptionsArrayNumber, LootsArrayNumber : Integer;
begin
Result := -1;
HowManyToLoot := 0;
OptionsArrayNumber := -1;

Options := GetChooseOptions('action');
if (Length(Options) < 1) then
Exit;

if PickUpLoots then
begin
for i := 0 to High(Loots) do //checking each items wether they match with the options
for j := 0 to High(Options) do
begin
if Pos('Take ' + Loots[i], Options[j].Str) > 0 Then
begin
Inc(HowManyToLoot); //+ 1 to loot
if OptionsArrayNumber = -1 then //if its first match it will be the first to loot
begin
LootsArrayNumber := i; //the item's number in the loots list
OptionsArrayNumber := j; //the items's number in the options list
end;
end;
end;
end;

if not (OptionsArrayNumber = -1) then //-1 means nothing to loot
begin
case LootsArrayNumber of
0..3: StatusWithPaint('Found a ' + Loots[LootsArrayNumber] + ' charm!');
4..36: StatusWithPaint('Found item: ' + Loots[LootsArrayNumber]);
end;

B := Options[OptionsArrayNumber].Bounds;
GetMousePos(T.x, T.y);
if PointInBox(T, B) then
ClickMouse2(mouse_left)
else
MouseBoxEx(B.x1+5,B.Y1,B.x2-5,B.Y1+5,5,mouse_left);

if WaitInvChange(5000) then
begin
case LootsArrayNumber of
0: Inc(GoldCharms);
1: Inc(GreenCharms);
2: Inc(CrimsonCharms);
3: Inc(BlueCharms);
end;
end;
Result := HowManyToLoot-1;
Exit;
end;

if PickUpBones then
for i := 0 to High(Options) do
begin
if Pos('Take Big', Options[i].Str) > 0 Then
begin
StatusWithPaint('Found bones.');

B := Options[i].Bounds;
GetMousePos(T.x, T.y);
if PointInBox(T, B) then
ClickMouse2(mouse_left)
else
MouseBoxEx(B.x1+5,B.Y1,B.x2-5,B.Y1+5,5,mouse_left);

WaitInvChange(5000);
//repeat until not IsMoving
Result := 0;
Exit;
end;
end;

//B := Options[0].BigBox;
//x := Max(B.X1-52,0);
//if x = 0 then
//x := B.X2+10;
//MMouse(x,Max(B.Y1-50,0),40,B.Y2-B.Y1);

GetMousePos(X,Y); //more human-like 'moving mouse away'
B := Options[0].BigBox;
MMouse(RandomRange(X-30,X+30),RandomRange(B.Y1-40,B.Y1-80),0,0);

Wait(RandomRange(300,800));
end;



procedure LootPileCheck; //checks more bones randomly, exits after 1 pickup
var
i, Res : Integer;
Bones : Array of TPoint;
LootBones : Boolean;
begin
ClearInv;

if InvCount < 27 then
LootBones := True
else
LootBones := False;

Bones := FindBones;
if (Length(Bones) > 0) then
begin
StatusWithPaint('Checking loots.');
for i:=Low(Bones) to High(Bones) do
begin
case Random(2) of
0:
begin
RandomMMouse(Bones[i].x,Bones[i].y,0,0);
ClickMouse2(mouse_right);
Res := Loot(LootBones);
ClearInv;
if Res > 0 then
begin
for i:=1 to Res do
begin
repeat until not IsMoving
RandomMMouse(MSCX,MSCY,5,5);
ClickMouse2(mouse_right);
Loot(False);
ClearInv;
end;
end;
if not (Res = -1) then
Exit; //positions changed, cant check more
end;
end;
end;
end;
end;



procedure HopWorld;
begin
StatusWithPaint('Hopping.');
WorldHops := WorldHops+1;

repeat
ExitToLobby;
LoginPlayerToLob; //in case we get kicked out to login screen
until LobbyScreen;

OpenWorldScreen;
SelectWorld(RandomWorld(true,false));

repeat
LoginPlayer;
until LoggedIn

Wait(RandomRange(3000,6000));

SmartSetDebug(True);
SmartSetRefresh(100);
if not SmartEnabled then
SmartSetEnabled(True);

ExitSquealOfFortune;
SetAngle(SRL_ANGLE_HIGH);

end;



procedure WalkToCenter; //simple SPS
begin
StatusWithPaint('Walking to center.');
SPS_WalkToPos(Point(335, 374));
end;



procedure SpecialAttack; //does special attacks in random times
var
X, Y, DTM100, DTM75, DTM60, DTM55, DTM50, DTM25, FailTime : Integer;
begin
if (UseSpecAttacks) and ((TimeFromMark(SpecTime) > SpecWait) or (SpecNumber > 0)) then //if specials are turned on and (if its time to check for special or we have remaining specials to do)
begin
StatusWithPaint('Checking special attack.');
DTM100 := DTMFromString('mWAAAAHicY2FgYHBgYmCwB+IjULyQkYFhHRAvAOI1QFyzIo9BSl+EwT/XkiGi2oGBC6gHGTOiYRAAAPnmCNY='); //DTMS for 100%,75% ... special bars
DTM75 := DTMFromString('mQwAAAHicY2ZgYLBnguAFIMzIwLAWiJcBsXOyIYOmpwJDep83AxdQHQwzImEgAAD6tQXo');
DTM60 := DTMFromString('mQwAAAHicY2ZgYHBgYmCwB+IuIF7EyMCwhhFCt2wuZTDyUmWYcKSegQuoDoYZkTAQAAAooAdH');
DTM55 := DTMFromString('mQwAAAHicY2ZgYGhmgeDjQCzNxMCgCcSyQOycbMggpS/CMOFIPQMXUB0MMyJhIAAA5cgFbA==');
DTM50 := DTMFromString('mQwAAAHicY2ZgYHBgYmCwB+JaIF7EyMCwhhFCt2wuZTDyUmWYcKSegQuoDoYZkTAQAAAl1Qc6');
DTM25 := DTMFromString('mQwAAAHicY2ZgYHBgYmCwB+IoIF7EyMCwhhFCt2wuZTDyUmWYcKSegQuoDoYZkTAQAAAeUAcX');
SpecNumber := 0;
MarkTime(FailTime);

GameTab(tab_Combat);
SpecNumber := 0; //determining how many specials we can do
case SpecUsage of
100:
if FindDTM(DTM100,X,Y,MIX1,MIY1,MIX2,MIY2) then
SpecNumber := 1;
75:
if FindDTM(DTM75,X,Y,MIX1,MIY1,MIX2,MIY2) then
SpecNumber := 1;
60:
if FindDTM(DTM60,X,Y,MIX1,MIY1,MIX2,MIY2) then
SpecNumber := 1;
55:
if FindDTM(DTM55,X,Y,MIX1,MIY1,MIX2,MIY2) then
SpecNumber := 1;
50:
begin
if FindDTM(DTM50,X,Y,MIX1,MIY1,MIX2,MIY2) then
SpecNumber := 1;
if FindDTM(DTM100,X,Y,MIX1,MIY1,MIX2,MIY2) then
SpecNumber := 2;
end;
25:
begin
if FindDTM(DTM25,X,Y,MIX1,MIY1,MIX2,MIY2) then
SpecNumber := 1;
if FindDTM(DTM50,X,Y,MIX1,MIY1,MIX2,MIY2) then
SpecNumber := 2;
if FindDTM(DTM75,X,Y,MIX1,MIY1,MIX2,MIY2) then
SpecNumber := 3;
if FindDTM(DTM100,X,Y,MIX1,MIY1,MIX2,MIY2) then
SpecNumber := 4;
end;
end;
MarkTime(SpecTime);
SpecWait := RandomRange(15000,60000); //next spec check in 15-60 seconds
if SpecNumber > 0 then //if we have enough spec
begin
StatusWithPaint('Using special attack.');
MouseBox(574,416,706,428,mouse_left);
Dec(SpecNumber);
end else //if not enough
StatusWithPaint('Not enough special.');

Wait(RandomRange(1000,1500));

GameTab(tab_Inv);
FreeDTM(DTM100);
FreeDTM(DTM75);
FreeDTM(DTM60);
FreeDTM(DTM55);
FreeDTM(DTM50);
FreeDTM(DTM25);
end;
end;



procedure NoobCheck; //looks for people around, waits a bit then changes world. exits if they are gone for 3 seconds
var
MX, MY, NoobsAround, Time, WaitTime, Count : Integer;
begin

MX := 627; //minimap's middle point
MY := 136-50;
NoobsAround := Length(GetMinimapDotsin('player',MX-28,MY-28,MX+28,MY+28));

if NoobsAround > 0 then
begin
if PaintDebug then
SMART_DrawBoxEx(false,false,IntToBox(MX-28,MY-28,MX+28,MY+28),ClRed);
WaitTime := RandomRange(8000,12000);

MarkTime(Time);
repeat
StatusWithPaint('Noobs around, waiting... ' + IntToStr((WaitTime-TimeFromMark(Time))/1000));
NoobsAround := Length(GetMinimapDotsin('player',MX-28,MY-28,MX+28,MY+28));
if NoobsAround = 0 then
Inc(Count);
if Count > 5 then //if cant see noobs anymore for 3 seconds
begin
StatusWithPaint('Noobs gone.');
if PaintDebug then
SMART_ClearCanvasArea(IntToBox(MMX1,MMY1+50,MMX2,MMY2+50));
Exit;
end;
Wait(500); //6x500=3000
until (TimeFromMark(Time) > WaitTime)

if PaintDebug then
SMART_ClearCanvasArea(IntToBox(MMX1,MMY1+50,MMX2,MMY2+50));
HopWorld;
end;
end;



procedure SetupScript;
begin
Disguise('ChaosMossKiller');
ClearDebug;

SRL_SixHourFix := True;
Smart_FixSpeed := True;

SetupSRL;
DeclarePlayers;
ClearDebug;

SmartSetRefresh(100);
if not SmartEnabled then
SmartSetEnabled(True);
SMART_ClearCanvas;

SetupSRLStats(680, SRLStats_User, SRLStats_Password);
SPS_Setup(RUNESCAPE_OTHER,['chaos_tunnels']);

LoginPlayer;
end;



procedure OpenActionBar();
begin
writeln('Action bar is closed, opening it');
mmouse(509,335,4,1);
wait(randomrange(10,300));
ClickMouse2(mouse_left);
end;



procedure SetupBar(); //working
var x,y:integer;
begin
if (findcolortolerance(x,y,4013496,40,275,50,287,5)) then
begin
//writeln(inttostr(x)); Testing Purposes
//writeln(inttostr(y)); testing purposes
writeln('Action bar is already open.')
exit;
end;
OpenActionBar;
end;



procedure CheckMomentum(); //checks if adrenaline is full, then activates momentum
var x,y:integer;
begin
if(findcolortolerance(x,y,10221561,465,272,485,292,10)) then
begin
wait(randomrange(1,2000))
mmouse(64,312,5,5)
clickmouse2(mouse_left);
writeln('using momentum')
wait(randomrange(500,1000));
mmouse(404,125,50,50) ;
exit;
end;
end;



procedure Startup;
var
CombatLevel, XPTillNext, i : Integer;
begin

Loots :=[
'Gold', 'Green', 'Crimson', 'Blue',
'Yew', 'orstol', 'napdragon', 'Palm', 'Magic se', 'Saradomin', 'toadflax',
'n ranarr', 'Ranarr', 'Rune b', 'Runite', 'Adamant b', 'Adamantite', 'Raw s',
'Blood', 'Death', 'Nature r', 'Pure', 'Earth t', 'Vecna', 'orb', 'Battle',
'Onyx', 'Rune a', 'Dragon d', 'Dragon h', 'Shield l', 'Starved', 'Spin T',
'f weed s', 'me seed', 'Law r', 'Anag'
];


SetChat('off',2);
ExitSquealOfFortune;
SetRun(True);
SetupBar;

CombatLevel := GetCombatLevel;
//if CombatLevel < 85 then
//ShowMessage('WARNING: Your combat level is too low, it is not advised to use this script.');

if srl_inFight then
begin
StatusWithPaint('Waiting till fight is over.');
repeat until not srl_InFight
end;

if not (TrainedSkill = 'TOTAL') then
begin
repeat
StatusWithPaint('Getting trained level.')
TrainedLevel := GetSkillLevel(TrainedSkill);
until not (TrainedLevel = -1)
end;

repeat //need to know hp level for eating
StatusWithPaint('Getting hitpoints level.');
HpLevel := GetSkillLevel('hitpoints');
until not (HpLevel = -1)

if not (TrainedSkill = 'TOTAL') then
begin
if TrainedLevel = 99 then
XPTillNext := 0
else
begin
repeat
StatusWithPaint('Reading XP till next.');
XPTillNext := XPTillNextLevel(TrainedSkill);
until not (XPTillNext = -1);
end;
end;

repeat
StatusWithPaint('Reading XP counter.');
until not (StartXP = -1);

if not (TrainedSkill = 'TOTAL') then
NextLevelAt := StartXP + XPTillNext;

case TrainedSkill of
'Attack' : LevelString := 'ATK';
'Strength' : LevelString := 'STR';
'Defence' : LevelString := 'DEF';
'Range' : LevelString := 'RNG';
'Hitpoints': LevelString := 'HP';
'TOTAL' : LevelString := 'TOTAL';
end;

case DebugLines of
true: DoReport := False;
false: DoReport := True;
end;

b2p := False;
WorldHops := 0;
B2PUsed := 0;
FoodUsed := 0;
GoldCharms := 0;
GreenCharms := 0;
BlueCharms := 0;
CrimsonCharms := 0;

if UseSpecAttacks then
begin
SpecNumber := 0;
SpecWait := RandomRange(15000,45000);
MarkTime(SpecTime);
end;

MarkTime(StartTime);
SetAngle(SRL_ANGLE_HIGH);
GameTab(tab_Inv);

for i:=1 to 28 do
begin
MouseItem(i,mouse_move);
if IsUptextMultiCustom(['Eat','Bury'])or (not ExistsItem(i)) then
begin
InvIndex := i;
Break;
end
end;

ClearDebug;
WriteLn(' ChaosMossKiller ' + Version);
Writeln('');
Writeln(' - Combat level : ' + IntToStr(CombatLevel));
if not (TrainedSkill = 'TOTAL') then
begin
if LevelString = 'HP' then
Writeln(' - ' + LevelString + ' level : ' + IntToStr(TrainedLevel))
else
Writeln(' - ' + LevelString + ' level : ' + IntToStr(TrainedLevel));
Writeln(' - XP till next : ' + IntToStr(XPtillNext));
end else
begin
WriteLn(' - No level tracking.');
WriteLn(' - Counting all xp.');
end;
Writeln(' - XP Bar : ' + IntToStr(StartXP));
Writeln(' - Inv Index : ' + IntToStr(InvIndex));
WriteLn(' - Starting script...');

end;



procedure Main;
var
DetectTime, KillTime : Integer;
done : Boolean;
begin
repeat

StatusWithPaint('Looking for Mosses.');
done := False;
MarkTime(DetectTime);
repeat
if (TimeFromMark(DetectTime) > 300000) then //300 seconds failsafe (SMART restart needs time)
EndScript('Not in fight for too long.');

NoobCheck;

checkmomentum();

if FindMoss(true) then //if clicked on moss
begin
if WaitInFight(6000) then //if xp is increased or blue shield found
done:=True
end
else //if failed to attack moss
begin
StatusWithPaint(IntToStr(Round(TimeFromMark(DetectTime)/1000)));
case Random(20) of
0: CompassMovement(-120,120,false); //rotating camera for better view
end;
if (TimeFromMark(DetectTime) > 10000) then //walking back to middle
WalkToCenter;
end;
until done

//for InFight
MarkTime(LastHitTime); //for InFight
MarkTime(KillTime);
repeat
StatusWithPaint('Fighting.');
Antiban;
AmmoCheck;
checkmomentum();
if (TimeFromMark(KillTime) < 5000) then //using specials only in the first 5 seconds to avoid wasting it on small hit
SpecialAttack;
if ((TimeFromMark(KillTime) > 3500) and (FindRedBar)) then //looking for redbar after 5 seconds of fighting, to avoid detecting the previous moss giant's redbar
Break;
Wait(500);
until not InFight


StatusWithPaint('Killed Moss. Took '+MsToTime(TimeFromMark(KillTime),Time_Formal)+'.');
stats_Commit; //committing stats (no variebles yet, only time)


LootPileCheck;


HpCheck;
NoobCheck;
checkmomentum();


until False
end;


begin

SetupScript;
Startup;
Main;

end.
eat at 2000.
add actionbar
momentum at n0.1
this maybe good exp for low levels

mr. pali

2012-12-09 21:14:19

Finally got my hands on a Saradomin Godsword, and knew just what I would do next….

Update/tinker with this script! I added momentum support, and took out all looting/eating/b2p capabilities (I just commented them out in the main loop). It ended up making the combat a lot snappier.

Anyways, if anyone wants to PM me i'll send them the version of the script I'm currently using.

here's a proggy.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ChaosMossKiller v6.0
* Time Running: 2 Hours, 25 Minutes and 53 Seconds
* STR XP Gained: 90437 (37192)
* STR Level: 73, XP till next: 50094
* B2P: 0 Food: 0
* Not picking up charms.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


Shatterhand, your moss giant finding procedure still boggles my mind… I hope to understand it and adapt your methods to an AIO fighter that I will start soon…

For this AIO fighter I plan on making in-combat detection by using the top left menu (crossed swords) and seeing if the player has a target there… should make for efficient fighting… Even though your findDTM method of looking for the red bar is great; it just doesn't allow the script to operate while other players are around.

Anyways, thanks for the great script. Already at 85+ attack, 75+ defense, and working on strength now :).

mr. pali

2012-12-10 19:31:55

Someone wanted the script, and I can't figure out how to attach it in a PM, so here it is…

have momentum in your first slot of action bar, and have the action bar open.

keep in mind this script does not eat. have a ring of life equipped (just in case) and you're going to need guthans or a saradomin godsword, or some other method of auto-self healing.

The Divided

2012-12-13 08:59:36

I have this problem with the script! Whilest fighting, it keeps clicking the XP counter! Any ideas what might be causing this?

Shatterhand

2012-12-13 10:19:18

From: The Divided
I have this problem with the script! Whilest fighting, it keeps clicking the XP counter! Any ideas what might be causing this?

Im sure you did not set up the XP counter properly. Read the "How to set up" part on the first post.
Also the script is currently outdated, I take no responsibility for the fixes in the previous posts.

The Divided

2012-12-13 11:11:44

From: Shatterhand
Im sure you did not set up the XP counter properly. Read the "How to set up" part on the first post.
Also the script is currently outdated, I take no responsibility for the fixes in the previous posts.


Thanks! this solved it. But i don't see how this script could be outdated since it's working all fine?

Peanuts

2012-12-19 19:22:22

spiders under varrok are ok xp

xxgruntxx

2012-12-20 16:43:43

From: mr. pali
Someone wanted the script, and I can't figure out how to attach it in a PM, so here it is…

have momentum in your first slot of action bar, and have the action bar open.

keep in mind this script does not eat. have a ring of life equipped (just in case) and you're going to need guthans or a saradomin godsword, or some other method of auto-self healing.


much appreciated, currently using this one. First fighting script ive been able to get to work with no problem, probably because i didnt need to do any edits myself LoL

sjjp168

2013-05-06 12:14:23

???

nitrax

2013-06-06 14:59:15

i am not sure what happended to this but for me. it seems like when i am fighting, out of no where it goes and finds bones. then it thinks it needs to look for another moss to kill. so now there is 2 mosses to kill bcus it didnt finish killing off the first one before going to find bones. :P