PDA

View Full Version : Required's Autofighter [RELEASE VERSION] (Updated Often)



RequiredOne
03-07-2013, 01:06 AM
http://i.imgur.com/qootvN9.png

READ THE WHOLE THREAD BEFORE COMPLAINING or REPORTING ERRORS IN COMMENTS!

Info
This fighter was developed by me in order to give everyone an All in One fighter that kills any creature!
I am fairly new so please leave any advice, request, tips, etc, below!
----------------------------------------------
Features
-Monster Nickname and Color input-
-Great Anti-Ban!-
-Implemented Anti-Ban a LOT better-
-Loots items after every kill! (Optional)[CUSTOMIZED SCRIPT EDIT]
----------------------------------------------
Setup

You must be the ONLY attacker!
Please fill in MonsterNick, MonsterColor, and MonsterColor2 Constants.
----------------------------------------------
I will continue to update this script regularly! Please report all bugs below, thank you.
----------------------------------------------
There is NO Anti-Leech in original version. (basic)
----------------------------------------------
Like to steal from my source? PM ME IF SO, AND/OR Credit me and include thread! Thanks :p.

This script has only been tested on two monsters, Goblins and Rats.

Credit(s)
//Thanks to Solidone40
//Thanks to tealc
//Thanks to irps

----------------------------------------------
FAQ
If it only hovers over Monsters please Select a Client before you start the script!
It doesn't loot! Please check for anti-leech noob.
----------------------------------------------


Release Version 1:
19745

Release Version 2/ ANTILEECH REMOVED. (Loots and all :) ) :
Extremely proud of this version. Stable looting!
19890

Will hopefully get a major update up soon! If anyone has any help with the stupid DTM error please PM me a fix. Been a bit busy lately.

Ex7reMeFx
03-07-2013, 01:10 AM
Maybe loot picking up option? :D

pigggy
03-07-2013, 02:06 AM
it doesnt click anything o.O idk why, but it hovers over the monster with my mouse, just doesnt click it

RequiredOne
03-07-2013, 02:08 AM
it doesnt click anything o.O idk why, but it hovers over the monster with my mouse, just doesnt click it

This is a horrible comment, please read the whole thread before posting!

pigggy
03-07-2013, 02:22 AM
haha im really sorry, i usually read the tread before commenting, my bad. Its working now. However, i would recommend adding food support, it'll make a solid script then :D

edit: still hover over monsters, and i selected a client, might want to clarify what u mean by client

Walt
03-07-2013, 02:28 AM
How do I fix
Error: Exception: The bitmap[0] does not exist at line 664
The following DTMs were not freed: [0, 1, 2, 3]

RequiredOne
03-07-2013, 02:55 AM
How do I fix
Error: Exception: The bitmap[0] does not exist at line 664
The following DTMs were not freed: [0, 1, 2, 3]

Please redownload the script and make sure to not add any extra extra ,,;,', etc.

hitoall9310
03-07-2013, 03:00 AM
Haven't tried the script yet, but you should really add food support with banking! That way it can bank loot, and withdraw food and go back to fight monster.

kingsattack
03-07-2013, 03:59 AM
trying to loot feathers it sees them in pile and right clicks it but dont select it from the list

also trys to attack things it can't reach

was trying to attack npc inside a building

MaetNameno
03-07-2013, 04:11 AM
How do I fix
Error: Exception: The bitmap[0] does not exist at line 664
The following DTMs were not freed: [0, 1, 2, 3]

I got this error as well. Can someone point me in the right direction to if this is part of anti-leech or what?

omgwtfbbqlol
03-07-2013, 04:49 AM
i have selected the client but it still only hovers over the monsters, is this to do with them being higher level?

bradbots
03-07-2013, 09:41 AM
same as the above ive done everything. i just removed all the loot options as i dont need it and to remove anti leech. selected the client but it just hovers above different objects on the screen

Pew
03-07-2013, 10:13 AM
Just downloaded the latest version and the monster finding works great.

However I cannot get the looting to work at all. :(
Plus in multi-combat areas it keeps attacking more and more monsters.

rrjstudio
03-07-2013, 05:56 PM
nvm used my brain :)

omgwtfbbqlol
03-07-2013, 09:17 PM
same as the above ive done everything. i just removed all the loot options as i dont need it and to remove anti leech. selected the client but it just hovers above different objects on the screen
i found out what it was, this script doesn't support killing higher level monsters.

Kuriamas
03-07-2013, 09:24 PM
Eats? Anyone who tried?

pigggy
03-07-2013, 09:33 PM
i found out what it was, this script doesn't support killing higher level monsters.

i have the same problem but im fighting a monster which is 10 levels below me so i dont think that is the problem

RequiredOne
03-08-2013, 12:48 AM
i have the same problem but im fighting a monster which is 10 levels below me so i dont think that is the problem

I will add the right click method. I did at first but it wasn't so accurate so I will learn to make it better and integrate it into a new version!

Potentiality
03-08-2013, 07:33 PM
Error: Exception: The bitmap[0] does not exist at line 664
The following DTMs were not freed: [0, 1, 2, 3]


Can't fix it :(

XARGLES
03-09-2013, 12:06 PM
Can somebody PM me how to fix the anti leech, been here since 07..

kingsattack
03-10-2013, 05:10 AM
if it clicks a onmonster but someone starts attacking it beofr it gets there it freezes for a atleast for a bitbit

blegz
03-10-2013, 05:30 PM
How do I find the color of the monster?

zonda
03-10-2013, 06:03 PM
Ok. So I'm struggling. I'm using 1st version without anti-leeches and it seems to work fine-it moves my cursor to good monsters, but it doesn't click/attack them. What's wrong?
I selected a client. It still hangs over a monster jumping from 1 to 2 and doing nothing.

blegz
03-10-2013, 06:52 PM
Use version 2, you don't have to solve the anti leech for it to still kill monsters. but the anti leech is super easy.

codybabiasz
03-10-2013, 06:57 PM
nvm

derpinxeu
03-10-2013, 07:11 PM
Exception in Script: Unable to find file 'P07Include.Simba' used from 'C:\Users\Jimmy\Downloads\Requireds Autofighter (1).simba'
Is what I get

zonda
03-10-2013, 11:26 PM
not clicking, but moving cursor in version 2...

alexmacco
03-11-2013, 12:42 PM
basically is sais error in monster nickname. i was fighting woman in the pub by varrock and put oman taking the w away. doesnt work?

Sjoe
03-11-2013, 12:45 PM
Love the thread layout :)

Paff
03-11-2013, 04:43 PM
how do i know the monster coulor? wtf

kasrapox
03-11-2013, 05:58 PM
18
2
26
10
Error: Out of Proc Range at line 430
The following DTMs were not freed: [0, 1, 2, 3]


i get this as error

crealite
03-12-2013, 09:04 PM
Got the same DTM' not freed error as everybody else. Would apreciate if someone could help fixing it.
And also got this Error: Exception: The bitmap[0] does not exist at line 664

Bratislava
03-13-2013, 04:21 AM
Use version 2, you don't have to solve the anti leech for it to still kill monsters. but the anti leech is super easy.

Anti-leech is against the forum rules, anyway. Hopefully it's removed before the two-week mark, I like this script.

killyoulol
03-13-2013, 04:24 AM
Exception in Script: Unable to find file 'P07Include.Simba' used from 'C:\Users\Jimmy\Downloads\Requireds Autofighter (1).simba'
Is what I get

Move it into your simba folder.

RequiredOne
03-13-2013, 06:57 AM
Love the thread layout :)

Thank you. I have also removed the Anti-Leech according to the rules.
A MAJOR release will come out soon. Stay tuned :p.
ANY HELP WITH THE DTMS PROBLEM WOULD BE APPRECIATED.

Sjoe
03-13-2013, 02:34 PM
Thank you. I have also removed the Anti-Leech according to the rules.
A MAJOR release will come out soon. Stay tuned :p.
ANY HELP WITH THE DTMS PROBLEM WOULD BE APPRECIATED.

FreeDtms? use that.

eddieh20us
03-14-2013, 02:03 AM
Great script!

One ERROR: Sometimes it opens up a skill menu and it gets stuck on that skill menu.

Thank you!

- Edward

Hult
03-14-2013, 04:23 AM
If only it rotated the screen to see the npc it's suppose to attack:\

znazter
03-14-2013, 12:35 PM
29
Error: Exception: The bitmap[0] does not exist at line 664
The following DTMs were not freed: [0, 1, 2, 3]

If i try to run it again i get:

[Error] C:\Users\MyName\Documents\Simba\Includes\SRL\SRL\c ore\globals.simba(751:13): Unknown identifier 'GetColorToleranceSpeed' at line 750
Compiling failed.

Any fix for this? I have tried updating all extensions.

znazter
03-14-2013, 12:47 PM
Maybe this is the problem?

http://villavu.com/forum/showthread.php?t=78418

Imsoawsome94
03-15-2013, 05:23 AM
This is amazing thank you.

I've made some personal changes to it to make it faster (Botting at Yaks:
-Changed some wait times.
-Added the monster level to the MONSTERNICK so it doesn't pick up hides.
-Removed anti ban, I do it manually every 15/30 mins.

Again, personally these changes sped up my exp/h by a lot.

aznprod
03-15-2013, 08:13 AM
does this script eat food/log out when low?

belzzy
03-17-2013, 04:39 PM
How do i find out what colour the items/monsters are?

Optimus maul
03-18-2013, 04:03 PM
The bitmap[0] does not exist at line 664
The following DTMs were not freed: [0, 1, 2, 3]
Like A lot of people im getting this too! how do i fix it?

Optimus maul
03-18-2013, 04:05 PM
The bitmap[0] does not exist at line 664
The following DTMs were not freed: [0, 1, 2, 3]
Like A lot of people im getting this too! how do i fix it?:duh:

Paff
03-20-2013, 08:07 PM
had this error acutally once, restarted simba and it worked again
The bitmap[0] does not exist at line 664
The following DTMs were not freed: [0, 1, 2, 3]
Like A lot of people im getting this too! how do i fix it?:duh:

Brid Mayhem
03-20-2013, 08:54 PM
Your banner is very off centered.

Ctwilson
03-21-2013, 05:50 AM
had this error acutally once, restarted simba and it worked again
Ive restarted it several times, get the same error.

kimi94
03-21-2013, 12:17 PM
can anyone say monstercolour for rock crab i dont know how to find that out ^^

sahibjs
03-21-2013, 01:13 PM
can anyone say monstercolour for rock crab i dont know how to find that out ^^

Look on the top of the simba program. You should see the following.
Play, pause, and end buttons
new tab close tab buttons
clear debug, Choose colorand client selecter.

Click on the color chooser with a runescape client clearly visible to the side. A screenshot of your screen will come up. You want to click on the color that you want in the screenshot. It gives you a number, which essentialy is the color. Then you just input that number into wherever you want.

Xtensity
03-22-2013, 08:37 PM
LMAO Did a monkey code this? Seriously? What program was this scripted for? Whether it's Simba or Scar Syntax there were so many syntactical errors. Too many ends, not enough ends, begins not in the right places... MISSPELLINGS. Seriously. At one part, Var, was misspelled as "Ver"...... There's no wonder you guys can't get this shit to work. I'm going through it to see if I can fix it fully, if I get it working I'll post it. I don't even understand why this guy would upload an obviously nonworking script. It doesn't even compile due to basic non-plugin related errors.

Here is the updated version that RUNS. I had to switch it to Smart8 because normal smart wouldn't work for me, but you should be able to change it back. I can't comment on if it's effective yet. I am at rock crabs and all I have tested is that it runs. It seems to know when I am in combat, and when I am out of combat, and seems to check for monsters too. I'm gonna try it somewhere else later where the monsters are not the same color as the ground I am standing on, and let you know how it works. Though it should definitely run now. Let me know how it works for you guys.

If the script maker doesn't do it, I'm going to look into adding a food eating function.


program AIOFighter;
// I, Shorteh96, would like to thank the following users:
// RequiredOne: I used part of your AutoFighter script as backbone.
// Eduard: I used a lot of your Fight Cave script as backbone to convert to SMART.
// Ogre: Thank you for helping me with my remedial errors in the chatbox every time I asked for help.

// I, Shorteh96, would like to take very little credit for this script
// as I have no idea how to code in all honesty but am capable of reading
// and copying premade code into a new working script. Thank you!

{$DEFINE SMART8}
{$i srl/srl.simba}
{$i P07Include.simba}

var
x, y: Integer;
Combat1, num1, num2, attnum: Integer;

const

// REQUIRED CONFIGURATION BY USER:
FightStyle = 2; // 1 = Att, 2 = Str, 3 = Contr, 4 = Def
MNick = 'ock Crab'; // Monster name without the first letter
MColor = 4873565; // Monster Color 1
MColor2 = 3029562; // Monster Color 2

// OPTIONAL CONFIGURATION BY USER
ABan1 = 'Ranged'; // First skill for the anti-ban to check
ABan2 = 'Hitpoints'; // Second skill for the anti-ban to check
Loot1 = 'Coins'; // Loot 1 name including the first letter
LColor1 = 1479346; // Color of Loot 1 to pick up
Loot2 = 'Bones'; // Loot 2 name including the first letter
LColor2 = 13882585; // Color of Loot 2 to pick up


procedure P07_DeclarePlayers;
begin
P07_PlayerName := ''; // Username for 07Scape
P07_PlayerPass := ''; // Password for 07Scape
end;
// END OF CONFIGURATION

procedure P07_SetRun(Run: Boolean);
var
x, y: integer;
begin
if not P07_TabInventoryTab(12) then
begin
writeln('ERROR: Could not P07_TabInventoryTab(12) -> Error in P07 include or random! Exiting');
Exit;
end;
if (FindColor(x, y, 4342852, 627, 416, 658, 444)) then
begin
writeln('-> Run = on!');

mouse(x, y, 1, 1, 1);
end;
writeln('-> Going to inventory tab');
P07_TabInventoryTab(4);
end;


procedure SetMeUp;
begin
writeln('-- Configuring player --');
writeln('-> Checking AutoRetaliate.');
P07_AutoRetaliate(true);
writeln('-> Checking CombatStance');
if(FightStyle = 0) then
begin
writeln('ERROR: Please fill in the FightStyle settings!');
TerminateScript;
end;
P07_CombatStance(FightStyle);
writeln('-> CombatStance = '+Inttostr(FightStyle)+'');
writeln('-> Making Compass South');
P07_MakeCompassSouth;
writeln('-> Making Camera Angle High');
P07_MakeCameraAngleHigh;
P07_SetRun(true);
writeln('-- Configuration completed --');
writeln('');
end;

procedure ProgressReport;
begin
Wait(5000);
cleardebug();
writeln('-- AIO Fighter Release 0.1 --');
writeln(' Time Running: '+TimeRunning+'');
end;

procedure Random1;
begin
attnum := (Random(1000));
end;

procedure Attack;
var x, y: Integer;
begin
wait(500 + random(800))
if P07_FindObjCustom(x,y, ['ttack', MNick], [MColor, MColor2], 5) then
begin
if combat1 = (0) then
begin
P07_MouseBox(X, Y, X, Y, mouse_left);
wait(random(500));
end;
end;
end;

procedure Combat;
begin
Combat1 := 1;
if (FindColor(X, Y, 65280, 220, 110, 330, 220)) then
begin
WriteLn('In Combat . . .');
end
else Combat1 := 0;
if (FindColor(X, Y, 65280, 220, 110, 330, 220)) = false then
if Loot1 = ('') = false then
if P07_FindObjCustom(x,y, [Loot1], [LColor1], 5) then
begin
wait (randomrange(100, 200));
ClickMouse2(mouse_right);
wait(randomrange(800, 1000));
P07_ChooseOptionMulti([Loot1]);
end;
if Loot2 = ('') = false then
if P07_FindObjCustom(x,y, [Loot2], [LColor2], 5) then
begin
wait (randomrange(100, 200));
ClickMouse2(mouse_right);
wait(randomrange(800, 1000));
P07_ChooseOptionMulti([Loot2]);
end;
end;


Procedure Antiban;
Begin
num2 := (5);
num1 := (random(30));
sleep(2000)
if num2 < num1 then
Case Random(10) Of
1: P07_HoverSkill(ABan1,RandomRange(2500,3500));
3: Boredhuman;
4: Wait(2500 + random(4500));
5: p07_HoverSkill(ABan2,RandomRange(2500,3500));
6: PickUpMouse;
7: RandomMovement;
8: RandomRClick;
9: P07_MakeCompassdegree(randomrange(0, 360));
end;
end;

begin
P07_DeclarePlayers;
SetupSRL();
SetupP07Include;
ActivateClient;
ClearDebug;
writeln('Hello, welcome to SMART AIO Fighter Release 0.1');
writeln('Please submit all bugs/troubles on the forum for fast fixes!');
writeln('');
if (not P07_LoggedIn) then
P07_LogInPlayer;
SetMeUp;
repeat
if (not P07_LoggedIn) then
begin
P07_LogInPlayer;
SetMeUp;
end;
if Combat1 = 0 then
Random1;
Combat;
if Combat1 = 0 then
Attack;
Antiban;
progressreport;
wait(2000 + random(100));
until (false)
end.

xdragon23
03-22-2013, 10:14 PM
Im a beginner at simba, but i got everything set up. i ran the script. runescape loaded but how do i bot?? can you guys help me.

keprofs0uls
03-22-2013, 11:35 PM
all i get at the bottom is random number wont load client or anything what do i do?

keprofs0uls
03-22-2013, 11:49 PM
how do i get it to change the monster it attacks

and the style it uses

vanadze141
03-23-2013, 06:49 AM
when i try to run the script i get this message plz help
Exception in Script: Unable to find file 'P07Include.Simba' used from 'C:\Simba\Scripts\Required Autofighter noleech.simba'

kimi94
03-24-2013, 03:51 PM
Okay done but it still does not work.. tried 3 times clicking on diff places on the monster to get colour

Hoodz
03-24-2013, 04:00 PM
when i try to run the script i get this message plz help
Exception in Script: Unable to find file 'P07Include.Simba' used from 'C:\Simba\Scripts\Required Autofighter noleech.simba'

check this:-> http://villavu.com/forum/showthread.php?t=97599 (for smart)
http://villavu.com/forum/showthread.php?t=96863 (for p07include)

yankees
03-24-2013, 08:40 PM
It wont start attacking... No response from the script when started?

Omerta
03-27-2013, 12:56 AM
It hovers over the monster but doesnt click on it for me.

ImAndrew
03-29-2013, 11:46 AM
It runs about 3 kills then i get this??


Error: Exception: The bitmap[0] does not exist at line 664
The following DTMs were not freed: [0, 1, 2, 3]

Bearzs
04-02-2013, 04:21 PM
Stop posting scripts that don't work ffs!

mistuhmack
04-03-2013, 05:15 AM
Hey thanks for making this, but how do you see what the "colors" and "nickname" of a monster is? For example I wanna use this on experiments.

Bearzs
04-04-2013, 03:42 PM
It feels everyone who writes these scripts have no clue what their doing, I mean i went and took and hour and wrote a fully functional auto fighter and i added in randoms. It works fine every time and you don't get stupid random errors like almost every script on here ffs...

Destiny4540
04-06-2013, 11:25 PM
It feels everyone who writes these scripts have no clue what their doing, I mean i went and took and hour and wrote a fully functional auto fighter and i added in randoms. It works fine every time and you don't get stupid random errors like almost every script on here ffs...

doubt that.. your a new user + you dont have full member

mistuhmack
04-13-2013, 01:06 AM
Seems that a lot of people are having problems, but I for one salute you sir. Out of all the scripts I've tried for Old School, yours is the only one that runs smoothly without me having to constantly watch it. It ran for around 4 hours perfectly, obviously with me stepping in to do the randoms. However, I'd rather have a bot that does its job but not randoms then simply glitch out all the time. Once again, thank you, and I look forward to the updates this script will get.

Wirezzz
04-13-2013, 10:59 AM
I get this error when trying to run your script:
24
6
13
3
4
7
17
22
Error: Exception: The bitmap[0] does not exist at line 664

Lajit
04-14-2013, 12:09 PM
I get this error when trying to run your script:
24
6
13
3
4
7
17
22
Error: Exception: The bitmap[0] does not exist at line 664


I have that same problem, just different numbers. Same line though.

mrjordan
04-16-2013, 05:15 PM
Me too.

acow
04-29-2013, 11:01 PM
It hovers over the monster but doesnt click on it for me.
That's usually an error on your side, make sure the client is targeted and you're up to date on everything.

luk
05-20-2013, 05:30 PM
good script wished it would eat tho

blaker
05-22-2013, 10:53 PM
Why does it always say Exception in Script: Unable to find file 'SRL/SRL.Simba' used from 'C:\Users\Blake\Downloads\Required Autofighter noleech.simba'

bigblacknerd
05-22-2013, 11:09 PM
Why does it always say Exception in Script: Unable to find file 'SRL/SRL.Simba' used from 'C:\Users\Blake\Downloads\Required Autofighter noleech.simba'

first of all, you need to go to the help forums cause you didnt set up your client, etc. 2ndly i suggest hoods aio fighter, its better.

makaveli1
06-13-2013, 09:49 AM
Banking please?

gabrielhewitt2
06-14-2013, 11:05 AM
hi, im very new to simba, could somebody explpain how to change what i want to kill as i have to keep killing goblings. Please make sure its super simple. Could somebody tell me how to do cows preferable...?

subsidel
06-16-2013, 09:44 AM
hi, im very new to simba, could somebody explpain how to change what i want to kill as i have to keep killing goblings. Please make sure its super simple. Could somebody tell me how to do cows preferable...?

So after downloading this script- before you hit the play symbol go to lines 10-15:

//SETUP PLEASE CHANGE CONSTANTS BELOW!\\
const
MONSTERNICK = 'iant'; //Remove first letter
MONSTERCOLOR = 7171429; //Monster Color 1
MONSTERCOLOR2 = 7894895; //Monster Color 2
//////////////////////////////////////////

What ever monster you want to fight- type the name of the monster APART FROM FIRST LETTER in the monsternick

MONSTERNICK = 'ow'; //Remove first letter (This will fight cows)
MONSTERCOLOR = ; //Monster Color 1
MONSTERCOLOR2 = ; //Monster Color 2
//////////////////////////////////////////

Now you need to pick the colours of the monster you want to fight. To get them colours...

1) Run the script anyway and log in.

2) Go up to the monster so you can clearly see it.

3) Now adjust the window sizes of the game and the simba script so you can see both at the same time.

4) Look at the simba script and at the top you can see a pen symbol under SRL (colour picker)
http://i45.tinypic.com/1g6kpc.png

5) Click the colour picker and that will freeze the game- click the monster you wish to fight

6) It will tell you its colour number.

7) Copy that number and put it here:

MONSTERNICK = 'ow'; //Remove first letter
MONSTERCOLOR = 7171429; //Monster Color 1
MONSTERCOLOR2 = ; //Monster Color 2
//////////////////////////////////////////

8)Pick another colour using colour picker- get another number and copy + paste it here:

MONSTERNICK = 'ow'; //Remove first letter
MONSTERCOLOR = 7171429; //Monster Color 1
MONSTERCOLOR2 = 7894895; //Monster Color 2
//////////////////////////////////////////

Now hit run and it should attack those tough mean cows- gl

lorenzo
07-23-2013, 10:01 AM
can som1 explain me why the collors dont work on all npc i get grey or black and when i start it only the mouse move what is going on why is no1 responding i use the pick collor thing but it wont work can u help me out?

thanks

jnm324
09-22-2013, 06:32 AM
Error: Exception: The bitmap[0] does not exist at line 664
The following DTMs were not freed: [0, 1, 2, 3]

Getting this error, as many above have stated. New to simba, please explain how to fix this error.
I set it to kill cows. It kills one cow(or any monster its set to kill), stops, and the error pops up. someone said to remove extra " ' " marks. cant seem to find any, please elaborate? I would really like for this script to work, considering the skill reset when starting rs07, and my lack of motivation to train back to 99 strength. PLEASE HELP :)

Blackzs
02-26-2014, 08:48 PM
Outdated.

foxfly1
05-18-2014, 03:07 AM
[Error] C:\Users\L. Stout\Downloads\P07Include.Simba(105:10): Duplicate identifier 'P07_GETUPTEXT' at line 105
Compiling failed.


this that error please help :D