PDA

View Full Version : Fight Cave Combat Trainer



Nebula
04-15-2013, 12:06 AM
Fight Cave Combat Trainer

http://i.imgur.com/XFNYQ4d.png
FEATURES:

Antiban
Tons of failsafes
Prayer support
Customizable progress report




INSTRUCTIONS:

Place your character in front of the TzHaar Fight Cave.
Have your melee style set to the style you wish to train.
Turn auto-retaliate ON.
Choose your options at the top of the script.
Click run.



To use Prayer, enter the number corresponding the the prayer you wish to use in the script setup. If you do not wish to use a prayer, set the value to -1. (Ex: If I wanted to use protect from melee and thick skin, I would set PRAYER_1 to zero and PRAYER_2 to eighteen, and leave the rest as negative one.

PRAYER NUMBERS:
http://i.imgur.com/OuSfYu8.png


*****Nebula Fight Caves*****
Running For: 10 Hours, 49 Minutes and 7 Seconds
Attack XP Gained: 117284
Attack XP Per Hour: 10840
Hitpoints XP Gained: 29321
Hitpoints XP Hour: 2710
*************************
*****Nebula Fight Caves*****
Running For: 9 Hours, 9 Minutes and 42 Seconds
Strength XP Gained: 123044
Strength XP Per Hour: 13430
Hitpoints XP Gained: 30761
Hitpoints XP Hour: 3357
*************************

~nebula

Doorz
04-15-2013, 12:30 AM
Will use and report back soon.

drc1998
04-15-2013, 01:13 AM
Looks really good! Will be uploading proggy soon :)

bobbymasterswag
04-15-2013, 01:36 AM
After a few rounds it tries to log you out during combat why?

Doorz
04-15-2013, 01:46 AM
After a few rounds it tries to log you out during combat why?

Same

Nebula
04-15-2013, 02:09 AM
*****Nebula Fight Caves*****
Running For: 57 Minutes and 42 Seconds
Attack XP Gained: 9796
Attack XP Per Hour: 10186
Hitpoints XP Gained: 2449
Hitpoints XP Hour: 2546
*************************

Dunno what you guys are talking about... Post the screenshot it automatically saves to your computer.

Could somebody please tell me if TzHaar-Mej-Jal talks to you in the middle of the minigame after a certain wave? If so, that's the issue and is easily fixable.

alice h0h0
04-15-2013, 02:53 AM
Hey guys, I'm new to Simba and every time I try to run any script, including this one, I get this error.

New window: 1509202
[Error] C:\Simba\Includes\SRL-OSR/SRL/misc/SmartParams.Simba(229:202): Invalid number of parameters at line 228
Compiling failed.

Help? :x

itsblown
04-15-2013, 03:53 AM
add eating! im going to try and add an eating function to this script, will let you know how that goes

purpleguy0
04-15-2013, 07:08 AM
will test it out and post proggy

shakiru
04-15-2013, 01:29 PM
I tried it out, seemed good fist of all, but it constantly tried to log me out.

qyouwei
04-15-2013, 01:38 PM
Hey guys, I'm new to Simba and every time I try to run any script, including this one, I get this error.

New window: 1509202
[Error] C:\Simba\Includes\SRL-OSR/SRL/misc/SmartParams.Simba(229:202): Invalid number of parameters at line 228
Compiling failed.

Help? :x
there is so many places to find this solution, stop being a leecher and find the solution out by searching the forums...

alice h0h0
04-15-2013, 08:00 PM
Took me a few hours of searching every forum, finally I decided to uninstall Simba and reinstall everything just incase I missed anything, and apparently I did! Got it working, thanks anyway ~

Nebula
04-15-2013, 09:28 PM
Updated to 1.1, should be working fine now.

skautas
04-15-2013, 11:00 PM
I tried it out, seemed good fist of all, but it constantly tried to log me out.


This is because script don't have fail safe, when he fails to enter the cave. Mine runned fine for like 1 hour, then told "can't find the entrance on right click, please report this on villa .... "

Script fails when mine guy spawns not close enough from entrance to cave. Then in can;t right click, and stops -.- L

Nebula
04-15-2013, 11:30 PM
This is because script don't have fail safe, when he fails to enter the cave. Mine runned fine for like 1 hour, then told "can't find the entrance on right click, please report this on villa .... "

Script fails when mine guy spawns not close enough from entrance to cave. Then in can;t right click, and stops -.- L


The script does have a failsafe... The issue was that the script saw TzHaar-Mej-Jal talking in the chat after wave ~5 which told the script the cave was over, so it tried looking for the cave entrance to start a new game even though it was still in a game. It's fixed now.

Toxcicity
04-15-2013, 11:50 PM
using it now, thank you!

Will give proggy soon

edit - Ran fine until those rangers lured me into the corner.. When the next wave came the creatures got hugged and the antiban prevented my character from logging out and in so not sure how long I was standing there.

x0xh3llx0x
04-16-2013, 09:21 AM
Running this atm seems very nice:)

One question, if i change the CHECK_XP_CHANCE to higher than 33%, will it make the script slower?


Edit: The proggy is a lil bit wierd for me, any tip? :P

*****Nebula Fight Caves*****
Running For: 14 Minutes and 44 Seconds
Strength XP Gained: 501288
Strength XP Per Hour: 2041444
Hitpoints XP Gained: 125322
Hitpoints XP Hour: 510361
*************************

Nebula
04-16-2013, 10:25 AM
Running this atm seems very nice:)

One question, if i change the CHECK_XP_CHANCE to higher than 33%, will it make the script slower?


Edit: The proggy is a lil bit wierd for me, any tip? :P

*****Nebula Fight Caves*****
Running For: 14 Minutes and 44 Seconds
Strength XP Gained: 501288
Strength XP Per Hour: 2041444
Hitpoints XP Gained: 125322
Hitpoints XP Hour: 510361
*************************
A bit slower, but the real issue is the non-randomness of opening the skills tab and hovering over the skill between every single game if it's set to 100.

heke
04-18-2013, 07:12 AM
Error: Exception: Mask is invalid. Width/Height: (9,6). WhiteHi/BlackHi: (-1,53) at line 778
The following DTMs were not freed: [SRL - Lamp bitmap, SRL - Book of Knowledge]
The following bitmaps were not freed: [SRL - Mod bitmap, SRL - Admin bitmap, SRL - Minimap Mask bitmap]

infinityreddot
04-18-2013, 07:27 PM
This bot is so sad you dont get any information how to use it so how do they want new people?

Nebula
04-18-2013, 07:29 PM
This bot is so sad you dont get any information how to use it so how do they want new people?

??? Read the instructions it's so simple just stand in front of the fight caves and the script will enter & wait until you die.

*****Nebula Fight Caves*****
Running For: 9 Hours, 9 Minutes and 42 Seconds
Strength XP Gained: 123044
Strength XP Per Hour: 13430
Hitpoints XP Gained: 30761
Hitpoints XP Hour: 3357
*************************

infinityreddot
04-18-2013, 07:32 PM
can u help me what is u skype? when i try to start it always say do change things in it pls help me!

Nebula
04-18-2013, 07:38 PM
can u help me what is u skype? when i try to start it always say do change things in it pls help me!

no, I'm not going to help you on skype. Judging by your other posts you haven't downloaded smart which would be your first problem. Read the tutorials on how to setup simba for osr.

infinityreddot
04-18-2013, 07:42 PM
i downloaded everything smart and other 5 files

kanko
04-18-2013, 07:43 PM
Fkn laughed at '' these guys killing my monsters whole day' :P good script runs perfect

Nebula
04-18-2013, 07:44 PM
i downloaded everything smart and other 5 files

Ok and did you put them in the right spot...? What error message are you getting when you try to run my script?

infinityreddot
04-18-2013, 07:51 PM
some1 help me pls i cant start it do nothing

Nebula
04-18-2013, 08:04 PM
some1 help me pls i cant start it do nothing

"It do nothing" doesn't really give me much to work with...

Hitman1531
04-19-2013, 02:22 AM
Just wanted to say thanks for getting me in the top 10 for WC. Going for rank 1 now. Your script still works flawless.

p.s screw you for ignoring my pm, so ignorant.

weweregiants
04-19-2013, 02:35 AM
Glad to see you writing more and more scripts mate! Will definitely give this a whirl, been using the simple fight caver for far too long now. Need to get some more xp gains so hoping it does the trick.

Nebula
04-19-2013, 02:39 AM
Just wanted to say thanks for getting me in the top 10 for WC. Going for rank 1 now. Your script still works flawless.

p.s screw you for ignoring my pm, so ignorant.
I got about 15 pms over the course of a few hours asking what happened to the thread... I didn't ignore you specifically, I just didn't feel like responding to all the pms. And the reason I took it down was for two reasons, one of which being I realized people like you were abusing it and running it for days upon days at a time, which wasn't my intention.


Glad to see you writing more and more scripts mate! Will definitely give this a whirl, been using the simple fight caver for far too long now. Need to get some more xp gains so hoping it does the trick.
Thanks :)

RoflRawr
04-19-2013, 06:54 AM
Very nice so far :]

RoflRawr
04-19-2013, 08:06 AM
Only problem I've found so far is with the Strength/Health experience detection... sometimes mouses over nothing, stats end up as negative, or 0->Current

Absolutely beautiful otherwise

slyce
04-19-2013, 12:00 PM
I love the prayer support, anti-ban etc.! very nice script

At the moment i have a problem with the experience detection, too. actually i don't need it

rabbithop1
04-19-2013, 06:26 PM
can I use ranged?

x0xh3llx0x
04-21-2013, 10:30 AM
can I use ranged?

yes

samerdl
04-21-2013, 10:44 AM
Nice script i found the Antiban good but far too frequent, also sometimes it would prevent me from logging out while being stuck in the corner after i reach the rangers.
Other than that its nice, i like the way you write the functions.


Only problem I've found so far is with the Strength/Health experience detection... sometimes mouses over nothing, stats end up as negative, or 0->Current

Absolutely beautiful otherwise


Thats not a bug from the script, thats an issue with SRL-OSR (and they are aware of it), you could write your own Exp Tracking functions and procedures, or you could try this when you start it; run it and see if it grabs exp, if it doesn't (missclicks) then stop and run again, keep doing that till it grabs exp, that way you'll always have your original exp gain (because in the meantime SRL-OSR isn't officially released yet): Grab exp then let the script contiue

Caniz
04-21-2013, 07:18 PM
*****Nebula Fight Caves*****
Running For: 3 Hours, 39 Minutes and 15 Seconds
Strength XP Gained: 41852
Strength XP Per Hour: 11453
Hitpoints XP Gained: 10463
Hitpoints XP Hour: 2863
*************************

Works well, with my noob level skill, I didn't try to add anything, but the script base is something for me to study at! :) Thank you for this. :)

x0xh3llx0x
04-22-2013, 06:44 AM
*****Nebula Fight Caves*****
Running For: 3 Hours, 39 Minutes and 15 Seconds
Strength XP Gained: 41852
Strength XP Per Hour: 11453
Hitpoints XP Gained: 10463
Hitpoints XP Hour: 2863
*************************

Works well, with my noob level skill, I didn't try to add anything, but the script base is something for me to study at! :) Thank you for this. :)

Nice proggy sir, what is your att/def/str?

Caniz
04-22-2013, 10:13 AM
Nice proggy sir, what is your att/def/str?

Running with 50 att (Ancient staff), 69 str atm and 40 def. Also using Ultimate Strenght prayer.

Physic
04-22-2013, 11:57 AM
Nice Release. Much Safer the other ones Out there. I have this running on multiple accounts :)

Physic
04-22-2013, 11:59 AM
Just wanted to say thanks for getting me in the top 10 for WC. Going for rank 1 now. Your script still works flawless.

p.s screw you for ignoring my pm, so ignorant.

Lucky yo. I got banned after a couple days sadly but it was my fault. Ran it for like 20 hrs lol 4 days in a row

GetFresh
04-22-2013, 12:38 PM
Trying this out today.

Hitman1531
04-22-2013, 05:30 PM
Lucky yo. I got banned after a couple days sadly but it was my fault. Ran it for like 20 hrs lol 4 days in a row

My record was 108 hours straight before runescape servers broke lol.

tankerz
04-23-2013, 07:39 AM
Exception in Script: Unable to find file 'srl-osr/srl.simba' used from 'C:\Users\Temp\Downloads\NebulaFightCaves1.1.simba '

Any Suggestions?

tankerz
04-23-2013, 07:46 AM
Never mind figured it out =).

AfgOneOne
04-25-2013, 03:55 AM
For some reason it crashes after it finishes a random event, is this the script or the bot?

z 3 r k 3 d
04-26-2013, 01:14 AM
Good job, looks promising :P

Gonna try with a torso, if i lose i can always get a new one >.> will screenshot proggy tomorrow, will be around 10-12hr proggy if still up :)

adrian38
04-26-2013, 08:04 AM
i dont understand how any body can bitch about free bots, on another note ty loving the hands free xp. ungrateful fucks.

Sejus
04-26-2013, 11:21 PM
I would've posted a proggy, but here's what was the outcome of mine:
*****Nebula Fight Caves*****
Running For: 3 Hours, 44 Minutes and 9 Seconds
Attack XP Gained: 0
Attack XP Per Hour: 0
Hitpoints XP Gained: 0
Hitpoints XP Hour: 0
*************************

lordasukuu
04-27-2013, 08:36 AM
works perfect up until an hour or so then it gets stuck in the corners after fighting, and instead of running out to find another monster it just stands there moving the camera. oh and heres mine :P

*****Nebula Fight Caves*****
Running For: 1 Hours, 14 Minutes and 4 Seconds
Strength XP Gained: -113874
Strength XP Per Hour: -92247
Hitpoints XP Gained: -28468
Hitpoints XP Hour: -23061
*************************

lordasukuu
04-27-2013, 08:37 AM
@sejus,
ive found out that it updates every hour and stays with your xp gained for about 5-10 minutes then goes back to zero until the next hour or so is up.

rock hard
04-27-2013, 12:19 PM
would it be safe to put all my armor on or should i just use a plate, legs, and wep?

Sejus
04-27-2013, 12:25 PM
You don't lose any armor or weapons, so it would be safe to just wear all your armor.

rock hard
04-27-2013, 01:49 PM
yes but has anyone had an experience where they ended up dieing outside of the mini game?

Sejus
04-27-2013, 01:54 PM
The mobs outside the mini game aren't aggressive unless you hit it first, which the bot will most unlikely will not. But if you really want to be safe, go ahead and store your armor in the bank.

samerdl
04-27-2013, 02:16 PM
yes but has anyone had an experience where they ended up dieing outside of the mini game?


wear a ring of life.

Hanswurst
04-27-2013, 09:38 PM
yes but has anyone had an experience where they ended up dieing outside of the mini game?

Don't worry, this scrip is realy safe! it Loggs out if something is messed up, so you should not die ever.


Only thing I wish me for this script is walking back to the middel. I get stuck quiet often in the corners of the cave, because I'm quiet high lvl (Not using any armor at all - only weapon!!!). Otherwise this is the best fight cave script atm.

Celidion
04-28-2013, 12:13 AM
Are you meant to be naked with this script, or can you use armor? I ask because a lot of fight caves scripts work best naked.

Nebula
04-28-2013, 12:43 AM
Are you meant to be naked with this script, or can you use armor? I ask because a lot of fight caves scripts work best naked.

whatever you prefer

Celidion
04-28-2013, 01:07 AM
whatever you prefer
I guess I'll leave it naked, so it doesn't get bug out or something in higher levels.

After starting it, I have another question. Sometimes the progress report says I've gained 0 experience in everything, and other times it says I've gained all of my experience in that skill, which skews my per hour. Meaning if I have 80k total strength experience when I started, it uses that as a baseline and adds whatever experience I got on top of that. IE: Got 10k Experience in an hour with 90k total experience, meaning it would say 100k experience/hour.
http://puu.sh/2IrJb.png

I don't mind too much, but could I do anything to fix that? Great script btw.

Edit: Got a picture of it showing 0 experience:
http://puu.sh/2IsS9.png

rock hard
04-28-2013, 03:31 AM
Been using this script all day it's very good only a few small problems I've noticed. Sometimes mobs will drag me to a corner and the next wave wont be able to reach me. Also the proggy is a little off, it sometimes tells me im making insane amounts of xp. Thanks for the script :).

Edit: Can't tell if srs or not about the running it naked.

gucci guwap
04-28-2013, 04:03 AM
Awesome script. Thanks a bunch

lordasukuu
04-28-2013, 06:05 PM
it seems to be getting stuck when its hit by the mage/range guys, like when it has to run to them and it ends up in the corner where no other monster is spawn, so its not getting any fights, its just stands there instead of running back out into the open, if possible could you please fix it so that it runs back out into the middle (or even close to the middle)so that it doesn't always get stuck. thanks , other then that it works perfect for me, nice work. :)

harman890
04-28-2013, 07:54 PM
Very chancy script. Use at your own risk. I recommend wearing 3 items, got me killed twice already. Pretty sure it was from aggro-random event spawns like evil chicken outside of the cave entrance. The script stops immediately because of the shitty antirandom, and your character is left for dead.

Ian
04-28-2013, 08:05 PM
Fuck you and your shit script you motherfucker im gonna rip ur motherfucking balls off you piece of shit.

Woah, no need to be so angry. He made something for you for free, relax.

gucci guwap
04-28-2013, 10:42 PM
script is running well thanks again. however the progress is staying at zeros for everything, ran for 6 hours and i want to post a proggy!
-Gucci

shawyer999
04-28-2013, 11:43 PM
Great script, works flawlessly. I seem to be having one problem though and that involves fighting monsters in corners of the cave, and from there getting stuck in that corner as the other monsters are unable to reach me. Is there anything I can do to fix this or is this chance?

chuffmane
04-29-2013, 12:45 AM
could not find cave entrance
Please report this to the script thread: http://villavu.com/forum/showthread.php?t=101458

standing right in front of it. brightness on the highest.

brendonpenwell
04-29-2013, 02:17 AM
you think you could use this to train range?? would it work?

wow jesse
04-29-2013, 03:18 AM
Going to try and search for a solution but Yeah i have the same thing as a few others
Exception in Script: Unable to find file 'srl-osr/srl.simba' used from 'C:\Users\ADMINI~1\AppData\Local\Temp\NebulaFightC aves1.1.simba'

Edit : I got it, Look for a guide on downloading and installing Srl-osr/srl include/font if you're having trouble

AIex
04-29-2013, 09:21 AM
you need to add a re locator or something, acc was stuck for 3 hours until I checked on it.
Acc went after the ranger and when next wave came the monsters were stuck behind a wall.

like if nothing happens it walks back to the middle of the map or something?

Celidion
04-29-2013, 09:24 AM
Is there any way to turn off the randoms? I ran it for 5-6+ hours a few days ago, but it's been stopped at 2 because of failure to solve randoms. I'd rather it just ignore them and go into the cave.

ehloco
04-29-2013, 01:36 PM
stood in corner for 6 hours... lvl 90s sometimes spawn there, lure you to the spot. Then next one spawns behind a wall, never attacks you.

Kinda hard to justify not botting when the bot stands there for 6 hours... and doesn't log out.

lol

rock hard
04-29-2013, 01:51 PM
A few more problems I've noticed while using this script is when it detects a random the script errors out and turns off. Also I died while running this but luckily I had taken all of my gear off except for glory, combat, and dscim. I'm guessing that a random appeared and the script turned off then it beat me to death. Going in without armor seems to be the way to go because you will have a better chance of dieing while walking to the corner where you will get stuck.

ehloco
04-29-2013, 02:34 PM
A few more problems I've noticed while using this script is when it detects a random the script errors out and turns off. Also I died while running this but luckily I had taken all of my gear off except for glory, combat, and dscim. I'm guessing that a random appeared and the script turned off then it beat me to death. Going in without armor seems to be the way to go because you will have a better chance of dieing while walking to the corner where you will get stuck.


Yeah, I took off armor... works better.

It's weird because this started happening 2 days ago... before I've ran this script for 8-10 hours with no problem.

acow
04-29-2013, 11:04 PM
are you going to be keeping this script updated?

harman890
04-30-2013, 12:54 AM
Am I the only one who can't run this script for more than an hour without it fucking up? It's either entrance cannot be found, or the antirandom thing crashes it. Brightness is maxed everything else min.

Error: Exception: Mask is invalid. Width/Height: (9,6). WhiteHi/BlackHi: (-1,53) at line 778
The following DTMs were not freed: [SRL - Lamp bitmap, SRL - Book of Knowledge]
The following bitmaps were not freed: [SRL - Mod bitmap, SRL - Admin bitmap, SRL - Minimap Mask bitmap]

ehloco
04-30-2013, 01:00 AM
This is script is amazing though. Will run 8+ hours especially on pures or low levels.

foul_gaming
04-30-2013, 05:44 AM
373553 Current Str xp
1:42 AM <- Started Script
running for the first time
Will check back in when I wake up in a few hours :)

KastroGjerj
04-30-2013, 12:54 PM
Is there a way to deactivate randoms for this? I remember back in late March, early April I used mxFightCaves and would run it for 10+ hours a day easily because no randoms were implemented and the bot would escape the randoms by entering the cave.

Someluser
04-30-2013, 12:57 PM
My character just walks for 1 second, and logs out. Can someone help me?

joakimstorm
04-30-2013, 01:00 PM
*****Nebula Fight Caves*****
Running For: 18 Hours, 49 Minutes and 41 Seconds
Attack XP Gained: 0
Attack XP Per Hour: 0
Hitpoints XP Gained: 0
Hitpoints XP Hour: 0
*************************
Great script, though proggy still doesn't work. Ran it for 18 hours and it got me from 61-67 ranged! Thanks :) <3

foul_gaming
04-30-2013, 02:54 PM
My character just walks for 1 second, and logs out. Can someone help me?

Make sure you start the script next to the bank and infront of the fight cave. If you start inside it will just try and log you out cause it still searches for the cave entrance.

Someluser
05-01-2013, 08:58 AM
Make sure you start the script next to the bank and infront of the fight cave. If you start inside it will just try and log you out cause it still searches for the cave entrance.

Thanks! Works.

shwobo
05-01-2013, 09:56 PM
Just wanted to say nice script, but like many others have said, is there any way to fix the problem where he gets stuck in the corner where there's no monsters? Like the scripts detects that the player is not in combat, and will move further into the map or in the middle. Please respond as there is many other people with this problem and fixing this would make the script flawless. Again, thx for the script.

NikoSaltnes96
05-02-2013, 01:14 PM
Great script dude! got me 42-48 str so far

RoflRawr
05-03-2013, 08:18 AM
So many levels Tzhars wana find me

PattyCakes
05-03-2013, 04:24 PM
Amazing script man! Love it
12k tokkul



*****Nebula Fight Caves*****
Running For: 14 Hours, 18 Minutes and 40 Seconds
Strength XP Gained: 104600
Strength XP Per Hour: 7309
Hitpoints XP Gained: 26150
Hitpoints XP Hour: 1827
*************************

NikoSaltnes96
05-04-2013, 11:52 AM
Is it normal to earn 7k xp/h at lvl 50 range?

loser69
05-04-2013, 12:20 PM
good script only one problem and it will happen to players that have higher defence or players that get to higher waves from the ranged monsters, causes players to get stuck in corners.

jcarson1994
05-04-2013, 06:50 PM
does this still work good if your a low level??

wahesh
05-08-2013, 03:14 PM
i had the same problem with randoms, not sure how to remove them so if u tell us that would be cool : )
i died twice already :\

mees94
05-09-2013, 02:17 PM
script doesn't work anymore since today's update with the logout/pause system of firecaves :'(

please fix this <3

Nashua
05-09-2013, 02:18 PM
script doesn't work anymore since today's update with the logout/pause system of firecaves :'(

please fix this <3

Mees is right, it's a small fix though.

After entering all it has to do is click continue in chatbox :)

GrantB
05-09-2013, 09:07 PM
Edit : had no idea what I was doing and didn't work for me after posting so I decided to delete. It's something to do with clicktocontinue; somewhere in the script I thought though. sorry for not being any help.

samerdl
05-12-2013, 11:56 AM
In regards to Click To Continue and Termination after logging-in inside cave, not trying to Hijack thread, i pmed Nebula and got no response, and i know a lot of people love using this script, so here's a fix for it.


program NebulaFightCaves;///
{$DEFINE SMART8}////////////
{$i srl-osr/srl.simba}//////
var startXp: Integer;///////
//{Version 1.0}{By Nebula}//

// Thread URL: http://villavu.com/forum/showthread.php?t=101458
const
USERNAME = ''; {Account Username}

PASSWORD = ''; {Account Password}

SKILL_TRAINING = SKILL_ATTACK;{The skill you want the script to track in the
progress report besides hitpoints. valid entrys:
Skill_Attack, Skill_Strength, Skill_Defence,
Skill_Range, Skill_Magic}

CHECK_XP_CHANCE = 33; {Percent chance that the progress report is
updated inbetween caves}

PRAYER_1 = -1; {See thread for details}
PRAYER_2 = -1; {See thread for details}
PRAYER_3 = -1; {See thread for details}
PRAYER_4 = -1; {See thread for details}
PRAYER_5 = -1; {See thread for details}


{----Don't touch anything below this line!----}

procedure DeclarePlayers;
begin
HowManyPlayers := 1;
NumberOfPlayers(HowManyPlayers);
CurrentPlayer := 0;
Players[0].Name := USERNAME;
Players[0].Pass := PASSWORD;
Players[0].Active := True;
end;

function RPosNeg(Int: Integer): integer;
begin
result := RandomRange(-Int, Int);
end;


procedure Terminate(msg: string);
var
RInt: Integer;
begin
RInt := RandomRange(1000, 10000);
writeln(msg);
writeln('Please report this to the script thread: http://villavu.com/forum/showthread.php?t=101458');
Logout;
logout;
TerminateScript;
end;

function SkillToString(skill: variant): string;
begin
case skill of
0: result := 'Attack';
1: result := 'Defence';
2: result := 'Strength';
4: result := 'Range';
6: result := 'Magic';
end;
end;

Procedure Pray;
var
prayArray: array of Integer;
i: Integer;
begin
wait(4000 + RPosNeg(2000));
GameTab(Tab_Prayer);
prayArray := [Prayer_1, Prayer_2, Prayer_3, Prayer_4, Prayer_5];
for i := 0 to 4 do
begin
if prayArray[i] = -1 then
continue;
mouse(531 + 37*((prayArray[i] mod 5)+1) + RPosNeg(3), 228 + 37*(floor(PrayArray[i] div 5)) + RPosNeg(3), 0, 0, true);
end;
end;

procedure KeepLoggedIn;
begin
wait(400);
FindNormalRandoms;
if not Waitfunc(@LoggedIn, 10, 10000) then
if not LogInPlayer then
Terminate('Player logged out and could not log back in');
if LobbyScreen then
begin
Mouse(387 + RPosNeg(5), 336 + RPosNeg(5), 0, 0, true);
if not Waitfunc(@LoggedIn, 10, 10000) then
Terminate('in lobby could not play')
end;
end;

procedure AntiBan;
var
q, w, z: Integer;
begin
KeepLoggedIn;
if random(4) = 0 then
Exit;
case Random(200) of
0..1: MakeCompass(Random(360));
2..5: MakeCompass(RandomRange(round(rs_GetCompassAngleDe grees) - 90, round(rs_GetCompassAngleDegrees) + 90));
6..13: MakeCompass(RandomRange(round(rs_GetCompassAngleDe grees) - 45, round(rs_GetCompassAngleDegrees) + 45));
14..17:
begin
GetMousePos(q, w);
MMouse(RandomRange(q - 200, q + 200), RandomRange(w - 200, w + 200), 0, 0);
end;
18..25:
begin
GetMousePos(q, w);
MMouse(RandomRange(q - 100, q + 100), RandomRange(w - 100, w + 100), 0, 0);
end;
26..32:
begin
z := randomrange(300, 600);
KeyDown(vk_down);
wait(z);
KeyUp(vk_down);
wait(randomRange(300, 700));
KeyDown(vk_up);
wait(z + 75 + Random(200));
KeyUp(vk_up);
end;
end;
end;

function FindObjNebula(col, tol, sort, split: Integer; hMod, sMod: Extended; upText: array of string): Boolean;
var
cts, i, x, y: Integer;
tpa: TPointArray;
atpa: array of array of TPoint;
begin
wait(400);
KeepLoggedIn;
cts := GetColorToleranceSpeed;
ColorToleranceSpeed(2);
SetColorSpeed2Modifiers(hMod, sMod);
FindColorsSpiralTolerance(MSCX, MSCY, TPA, col, MSX1, MSY1, MSX2, MSY2, tol);
ColorToleranceSpeed(cts);
SplitTPAWrap(tpa, split, atpa);
case sort of
0: SortATPAFromFirstPoint(atpa, Point(MSCX, MSCY));
1: SortATPASize(atpa, true);
end;
for I := 0 to High(atpa) do
begin
MiddleTPAEx(atpa[i], x, y);
MMouse(x, y, 0, 0);
if WaitUpTextMulti(uptext, 200 + RPosNeg(25)) then
begin
Result := True;
Break;
end;
end;
end;


function InCave: boolean;
var
x, y: Integer;
begin
wait(400);
result := not (FindSymbol(x, y, 'bank') or FindSymbol(x, y, 'minigame'));
end;


procedure WaitWhileFighting;
begin
wait(400);
ClicktoContinue;
KeepLoggedIn;
while InCave do
begin
ClicktoContinue;
KeepLoggedIn;
wait(500 + RPosNeg(250));
end;
Pray;
while InCave do
begin
ClicktoContinue;
KeepLoggedIn;
AntiBan;
wait(1250 + RPosNeg(250));
end;
end;




procedure EnterCave;
var
angChanged: boolean;
begin
wait(400);
KeepLoggedIn;
MakeCompass(180);
if not FindObjNebula(10594486, 21, 1, 2, 0.27, 0.43, ['nter C', 'r Cave', 'ave entra']) then
begin
{ if clicktoContinue then
WaitWhileFighting;
} Mouse(643 + RPosNeg(3), 55 + RPosNeg(3), 0, 0, true);
FFlag(2);
keydown(vk_Down);
wait(randomrange(500, 650));
keyup(vk_down);
angchanged := true;

if not FindObjNebula(10594486, 23, 1, 2, 0.27, 0.43, ['nter C', 'r Cave', 'ave entra']) then
Terminate('could not find cave entrance');
end;
if angChanged then
begin

keydown(vk_Up);
wait(randomrange(675, 800));
keyup(vk_Up);
end;
ClickMouse2(false);
if not WaitOptionMulti(['Enter c', 'ter Ca'], 200 + RPosNeg(50)) then
Terminate('could not enter cave entrance on right click');
end;

procedure Proggy;
var
XPGained, XPPerHour: Integer;
begin
ClearDebug;
XPGained := GetXP(SKILL_TRAINING) - StartXP;
XPPerHour := Round((XpGained * 3600) / (GetTimeRunning / 1000));
writeln('*****Nebula Fight Caves*****');
writeln('Running For: ' + TimeRunning);
writeln(SkillToString(SKILL_TRAINING) + ' XP Gained: ' + ToStr(XPGained));
writeln(SkillToString(SKILL_TRAINING) + ' XP Per Hour: ' + ToStr(XPPerHour));
writeln('Hitpoints XP Gained: ' + ToStr(round(XPGained / 4)));
writeln('Hitpoints XP Hour: ' + ToStr(round(XPPerHour / 4)));
writeln('*************************');
end;

begin
{$IFDEF SMART}
Smart_FixSpeed := True;
{$ENDIF}
SetupSRL;
SRL_CombatRandoms := false;
DeclarePlayers;
LogInPlayer;
ClearDebug;
//StartXp := GetXP(SKILL_TRAINING);
repeat
wait(400);
Case random(99)+1 of
1..Check_XP_Chance: Proggy;
end;
if (not(Incave)) then
Entercave;

if (Incave) then
WaitWhileFighting;

clicktocontinue;
until false;
end.


This will Click to Continue inside cave, it will also log you in and then click to continue while inside cave. You might have to edit it a bit more to fit your needs, but this should do the work.

Again, not trying to Hijack, just helping users. Only tested for 20 minutes.

rj
05-12-2013, 08:07 PM
For my it enters the cave and then thinks it never entered the cave, but I'm not using SMART so that might be the problem

exo89
05-12-2013, 08:55 PM
In regards to Click To Continue and Termination after logging-in inside cave, not trying to Hijack thread, i pmed Nebula and got no response, and i know a lot of people love using this script, so here's a fix for it.


program NebulaFightCaves;///
{$DEFINE SMART8}////////////
{$i srl-osr/srl.simba}//////
var startXp: Integer;///////
//{Version 1.0}{By Nebula}//

// Thread URL: http://villavu.com/forum/showthread.php?t=101458
const
USERNAME = ''; {Account Username}

PASSWORD = ''; {Account Password}

SKILL_TRAINING = SKILL_ATTACK;{The skill you want the script to track in the
progress report besides hitpoints. valid entrys:
Skill_Attack, Skill_Strength, Skill_Defence,
Skill_Range, Skill_Magic}

CHECK_XP_CHANCE = 33; {Percent chance that the progress report is
updated inbetween caves}

PRAYER_1 = -1; {See thread for details}
PRAYER_2 = -1; {See thread for details}
PRAYER_3 = -1; {See thread for details}
PRAYER_4 = -1; {See thread for details}
PRAYER_5 = -1; {See thread for details}


{----Don't touch anything below this line!----}

procedure DeclarePlayers;
begin
HowManyPlayers := 1;
NumberOfPlayers(HowManyPlayers);
CurrentPlayer := 0;
Players[0].Name := USERNAME;
Players[0].Pass := PASSWORD;
Players[0].Active := True;
end;

function RPosNeg(Int: Integer): integer;
begin
result := RandomRange(-Int, Int);
end;


procedure Terminate(msg: string);
var
RInt: Integer;
begin
RInt := RandomRange(1000, 10000);
writeln(msg);
writeln('Please report this to the script thread: http://villavu.com/forum/showthread.php?t=101458');
Logout;
logout;
TerminateScript;
end;

function SkillToString(skill: variant): string;
begin
case skill of
0: result := 'Attack';
1: result := 'Defence';
2: result := 'Strength';
4: result := 'Range';
6: result := 'Magic';
end;
end;

Procedure Pray;
var
prayArray: array of Integer;
i: Integer;
begin
wait(4000 + RPosNeg(2000));
GameTab(Tab_Prayer);
prayArray := [Prayer_1, Prayer_2, Prayer_3, Prayer_4, Prayer_5];
for i := 0 to 4 do
begin
if prayArray[i] = -1 then
continue;
mouse(531 + 37*((prayArray[i] mod 5)+1) + RPosNeg(3), 228 + 37*(floor(PrayArray[i] div 5)) + RPosNeg(3), 0, 0, true);
end;
end;

procedure KeepLoggedIn;
begin
wait(400);
FindNormalRandoms;
if not Waitfunc(@LoggedIn, 10, 10000) then
if not LogInPlayer then
Terminate('Player logged out and could not log back in');
if LobbyScreen then
begin
Mouse(387 + RPosNeg(5), 336 + RPosNeg(5), 0, 0, true);
if not Waitfunc(@LoggedIn, 10, 10000) then
Terminate('in lobby could not play')
end;
end;

procedure AntiBan;
var
q, w, z: Integer;
begin
KeepLoggedIn;
if random(4) = 0 then
Exit;
case Random(200) of
0..1: MakeCompass(Random(360));
2..5: MakeCompass(RandomRange(round(rs_GetCompassAngleDe grees) - 90, round(rs_GetCompassAngleDegrees) + 90));
6..13: MakeCompass(RandomRange(round(rs_GetCompassAngleDe grees) - 45, round(rs_GetCompassAngleDegrees) + 45));
14..17:
begin
GetMousePos(q, w);
MMouse(RandomRange(q - 200, q + 200), RandomRange(w - 200, w + 200), 0, 0);
end;
18..25:
begin
GetMousePos(q, w);
MMouse(RandomRange(q - 100, q + 100), RandomRange(w - 100, w + 100), 0, 0);
end;
26..32:
begin
z := randomrange(300, 600);
KeyDown(vk_down);
wait(z);
KeyUp(vk_down);
wait(randomRange(300, 700));
KeyDown(vk_up);
wait(z + 75 + Random(200));
KeyUp(vk_up);
end;
end;
end;

function FindObjNebula(col, tol, sort, split: Integer; hMod, sMod: Extended; upText: array of string): Boolean;
var
cts, i, x, y: Integer;
tpa: TPointArray;
atpa: array of array of TPoint;
begin
wait(400);
KeepLoggedIn;
cts := GetColorToleranceSpeed;
ColorToleranceSpeed(2);
SetColorSpeed2Modifiers(hMod, sMod);
FindColorsSpiralTolerance(MSCX, MSCY, TPA, col, MSX1, MSY1, MSX2, MSY2, tol);
ColorToleranceSpeed(cts);
SplitTPAWrap(tpa, split, atpa);
case sort of
0: SortATPAFromFirstPoint(atpa, Point(MSCX, MSCY));
1: SortATPASize(atpa, true);
end;
for I := 0 to High(atpa) do
begin
MiddleTPAEx(atpa[i], x, y);
MMouse(x, y, 0, 0);
if WaitUpTextMulti(uptext, 200 + RPosNeg(25)) then
begin
Result := True;
Break;
end;
end;
end;


function InCave: boolean;
var
x, y: Integer;
begin
wait(400);
result := not (FindSymbol(x, y, 'bank') or FindSymbol(x, y, 'minigame'));
end;


procedure WaitWhileFighting;
begin
wait(400);
ClicktoContinue;
KeepLoggedIn;
while InCave do
begin
ClicktoContinue;
KeepLoggedIn;
wait(500 + RPosNeg(250));
end;
Pray;
while InCave do
begin
ClicktoContinue;
KeepLoggedIn;
AntiBan;
wait(1250 + RPosNeg(250));
end;
end;




procedure EnterCave;
var
angChanged: boolean;
begin
wait(400);
KeepLoggedIn;
MakeCompass(180);
if not FindObjNebula(10594486, 21, 1, 2, 0.27, 0.43, ['nter C', 'r Cave', 'ave entra']) then
begin
{ if clicktoContinue then
WaitWhileFighting;
} Mouse(643 + RPosNeg(3), 55 + RPosNeg(3), 0, 0, true);
FFlag(2);
keydown(vk_Down);
wait(randomrange(500, 650));
keyup(vk_down);
angchanged := true;

if not FindObjNebula(10594486, 23, 1, 2, 0.27, 0.43, ['nter C', 'r Cave', 'ave entra']) then
Terminate('could not find cave entrance');
end;
if angChanged then
begin

keydown(vk_Up);
wait(randomrange(675, 800));
keyup(vk_Up);
end;
ClickMouse2(false);
if not WaitOptionMulti(['Enter c', 'ter Ca'], 200 + RPosNeg(50)) then
Terminate('could not enter cave entrance on right click');
end;

procedure Proggy;
var
XPGained, XPPerHour: Integer;
begin
ClearDebug;
XPGained := GetXP(SKILL_TRAINING) - StartXP;
XPPerHour := Round((XpGained * 3600) / (GetTimeRunning / 1000));
writeln('*****Nebula Fight Caves*****');
writeln('Running For: ' + TimeRunning);
writeln(SkillToString(SKILL_TRAINING) + ' XP Gained: ' + ToStr(XPGained));
writeln(SkillToString(SKILL_TRAINING) + ' XP Per Hour: ' + ToStr(XPPerHour));
writeln('Hitpoints XP Gained: ' + ToStr(round(XPGained / 4)));
writeln('Hitpoints XP Hour: ' + ToStr(round(XPPerHour / 4)));
writeln('*************************');
end;

begin
{$IFDEF SMART}
Smart_FixSpeed := True;
{$ENDIF}
SetupSRL;
SRL_CombatRandoms := false;
DeclarePlayers;
LogInPlayer;
ClearDebug;
//StartXp := GetXP(SKILL_TRAINING);
repeat
wait(400);
Case random(99)+1 of
1..Check_XP_Chance: Proggy;
end;
if (not(Incave)) then
Entercave;

if (Incave) then
WaitWhileFighting;

clicktocontinue;
until false;
end.


This will Click to Continue inside cave, it will also log you in and then click to continue while inside cave. You might have to edit it a bit more to fit your needs, but this should do the work.

Again, not trying to Hijack, just helping users. Only tested for 20 minutes.

Yeah this doesn't work. It enters the cave, then eventually logs you out and gives you this:

could not find cave entrance
Please report this to the script thread: http://villavu.com/forum/showthread.php?t=101458


Needs testing.

samerdl
05-12-2013, 08:58 PM
Yeah this doesn't work. It enters the cave, then eventually logs you out and gives you this:

could not find cave entrance
Please report this to the script thread: http://villavu.com/forum/showthread.php?t=101458


Needs testing.

Ag i think you need to remove a few lines (change the way failsafes work) i cant test it atm, am staying off runescape for today

Nebula
05-13-2013, 01:35 AM
I don't have an 07 account to fix this script with :/ Anyone willing to lend me theirs for about an hour sometime tomorrow?

samerdl
05-13-2013, 04:31 AM
I don't have an 07 account to fix this script with :/ Anyone willing to lend me theirs for about an hour sometime tomorrow?

Sure. But i don't know if i can be on the same time as you? maybe pm me on #SRL (http://villavu.com/forum/usertag.php?do=list&action=hash&hash=SRL) (nick is samer) i'll let you use my acc to get all things sorted, just hit me up on irc if am on.

bslaya
05-16-2013, 05:50 AM
can you fix this??

PoppaSquatch
05-16-2013, 09:18 AM
Fight caves have been nerfed for training.

Hoodz
05-16-2013, 09:21 AM
Fight caves have been nerfed for training.

What happened?

PoppaSquatch
05-16-2013, 09:22 AM
You have to wait 2 minutes before re-entering the fight caves mini-game.

JOne
05-16-2013, 09:23 AM
You have to wait 2 minutes before re-entering the fight caves mini-game.

confirmed :( you have to wait 2 minutes after coming out of the fight caves now

maikka
05-16-2013, 09:50 AM
R.I.P Fight caves. :(

skautas
05-16-2013, 09:54 AM
5 minutes if you come out of caves very fast (low level pures ) R.I.P

kuh47
05-16-2013, 03:12 PM
can you make a script to do with the ranging guild? making sure it does all randoms and works 24/7 because your scripts are the BEST!

balbino
01-09-2014, 06:36 PM
[Error] C:\Simba\Includes\SRL-OSR\SRL\misc\SmartParams.Simba(62:26): Invalid number of parameters at line 62
Compiling failed. ?

havoc pker
03-09-2014, 09:35 AM
[Error] C:\Simba\Includes\SRL-OSR\SRL\misc\SmartParams.Simba(76:20): Unknown identifier 'SmartGetAvailablePID' at line 76

Not quite sure what this means but maybe someone could help me fix?

gef30
03-09-2014, 11:00 AM
[Error] C:\Simba\Includes\SRL-OSR\SRL\misc\SmartParams.Simba(76:20): Unknown identifier 'SmartGetAvailablePID' at line 76

Not quite sure what this means but maybe someone could help me fix?

most errors are easy to be solved, the error i got when i ran this script was:

[Error] D:\Downloads\NebulaFightCaves1.1 (3).simba(252:5): Unknown identifier 'Smart_FixSpeed' at line 252

the line of code it was pointing to was:

begin
{$IFDEF SMART}
Smart_FixSpeed := True;
{$ENDIF}
SetupSRL;
SRL_CombatRandoms := false;
DeclarePlayers;
LogInPlayer;
ClearDebug;
StartXp := GetXP(SKILL_TRAINING);
repeat
Case random(99)+1 of
1..Check_XP_Chance: Proggy;
end;
Entercave;
WaitWhileFighting;
until false;
end.

simba notices that the code was incorrect, the only thing i had to do was remove the line with : Smart_FixSpeed := True;

so the last part should look like this

begin
{$IFDEF SMART}
{$ENDIF}
SetupSRL;
SRL_CombatRandoms := false;
DeclarePlayers;
LogInPlayer;
ClearDebug;
StartXp := GetXP(SKILL_TRAINING);
repeat
Case random(99)+1 of
1..Check_XP_Chance: Proggy;
end;
Entercave;
WaitWhileFighting;
until false;
end.


in your case however, i would try to reinstall smart, then if you get the error i wrote about just now, it will be an easy fix

if you need any help
add my skype: fkeuning

nicky101
05-03-2014, 01:53 AM
[Error] C:\Simba\Includes\SRL-OSR\SRL\misc\SmartParams.Simba(76:20): Unknown identifier 'SmartGetAvailablePID' at line 76
Compiling failed.

i've been searching for a solution all day, i don't wanna sound like a 'newfag' but i have no idea how to fix this error. please help!