SRL Archive - OSR Outdated / Broken Scripts

Required's AIO Fighter!


RequiredOne

2013-03-04 20:23:24

Please remove this thread. Officialrelease out

My_Sp3c_Ftw

2013-03-04 20:36:34

Gunna try it out now :)

forsakenpnut

2013-03-04 20:39:18

From: My_Sp3c_Ftw
Gunna try it out now :)


how do we find the color of the monster?

RequiredOne

2013-03-04 20:41:01

From: forsakenpnut
how do we find the color of the monster?


Use the color dropper tool at the top of Simba.

Potatorade

2013-03-04 20:44:50

Does this script detect when a monster is already being attacked? If not, it would be a great feature to have.

My_Sp3c_Ftw

2013-03-04 20:46:12

nvm

RequiredOne

2013-03-04 20:48:03

From: My_Sp3c_Ftw
What's the issue with the if statement in the leach?


Anti-Leech method..?

forsakenpnut

2013-03-04 20:49:49

there is an anti leech on this? damnit. anyone got skype

My_Sp3c_Ftw

2013-03-04 20:55:25

First issue

(*
GetFightBarTPA
~~~~~~~~~~~~~~

.. code-block:: pascal

Function GetFightBarTPA(SearchArea: TBox): TPointArray;

Used in various fighting functions, including srl_InFight
bitmap[0]


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



Keeps going on about line 664 missing bitmap OP, although it's there?

RequiredOne

2013-03-04 21:01:26

From: My_Sp3c_Ftw
First issue

(*
GetFightBarTPA
~~~~~~~~~~~~~~

.. code-block:: pascal

Function GetFightBarTPA(SearchArea: TBox): TPointArray;

Used in various fighting functions, including srl_InFight
bitmap[0]


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



Keeps going on about line 664 missing bitmap OP, although it's there?


Bro are you sure that is the right script? I don't even use bitmap in my script nor is there 664 lines.

My_Sp3c_Ftw

2013-03-04 21:03:58

That's what I'm seriously confused about man. Every time I run it, it attacks and starts off great but then immediately after opens up simba and a 'globals' tab talking about line 644. Must be a hidden script error? Otherwise seems decent. Anyone know about this global tab and could help?

RequiredOne

2013-03-04 21:15:41

From: My_Sp3c_Ftw
That's what I'm seriously confused about man. Every time I run it, it attacks and starts off great but then immediately after opens up simba and a 'globals' tab talking about line 644. Must be a hidden script error? Otherwise seems decent. Anyone know about this global tab and could help?


Try making sure the monsters nickname's first letter is removed or matches like this.
//SETUP PLEASE CHANGE CONSTANTS BELOW!\\
const
MONSTERNICK = 'iant';
MONSTERCOLOR = 12040108;
MONSTERCOLOR2 = 12040108;
//THANK YOU.\\
//ENJOY\\

irps

2013-03-04 21:20:51

Works perfectly for me on hill giants. Good work.

My_Sp3c_Ftw

2013-03-04 21:21:14

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


yeah, this is the issue man. Not sure what it means personally. Tried 3 different cpus to kill so far and this message comes up either during cb on the first or after killing the first. Really weird. Like I say, it opens another tab called 'global' and talks about line 644.

Weird

RequiredOne

2013-03-04 21:25:23

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


yeah, this is the issue man. Not sure what it means personally. Tried 3 different cpus to kill so far and this message comes up either during cb on the first or after killing the first. Really weird. Like I say, it opens another tab called 'global' and talks about line 644.

Weird


Yeah I have experienced this, I am trying to fix it now.

forsakenpnut

2013-03-04 21:32:30

From: RequiredOne
Try making sure the monsters nickname's first letter is removed or matches like this.
//SETUP PLEASE CHANGE CONSTANTS BELOW!\\
const
MONSTERNICK = 'iant';
MONSTERCOLOR = 12040108;
MONSTERCOLOR2 = 12040108;
//THANK YOU.\\
//ENJOY\\


do you have skype?

swa666

2013-03-04 21:45:59

I keep having these erros
"[Error] C:\Users\User\Downloads\Requireds AIO Autofighter (5).simba(82:17): Type mismatch at line 81" Any help?

tommyashcroft

2013-03-04 21:52:13

Does this eat?

Edit: Never mind checked code, it does not~

RequiredOne

2013-03-04 22:11:52

From: RequiredOne
Yeah I have experienced this, I am trying to fix it now.

This issue sucks, I have tried freeing DTMS, changing most lines of code, and changing the findobj line which I think the problem is coming from, nothing fixes it. Help would be appreciated!

I got to sleep! Goodnight. PM me if you have a fix. YOU WILL BE CREDITED.

dsstriker

2013-03-04 22:12:05

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

Also would need a method to not try attacking someone else's yak.

get that error :s

itsa

2013-03-04 22:36:26

Can some one please explain how to fix this and tell me why it is that way, thanks, i really want to earn how to script, im just starting.
Combat;
if Combat = 0 then (error here)
Attack;
wait(1000+random(2000))
end;

dsstriker

2013-03-04 22:41:57

From: itsa
Can some one please explain how to fix this and tell me why it is that way, thanks, i really want to earn how to script, im just starting.
Combat;
if Combat = 0 then (error here)
Attack;
wait(1000+random(2000))
end;

lol.. It's really simple.. Read threw the code you'll find out with other instances that are similar to that.
it's only needing 1 character.
idn if people can just give away the answer.

dsstriker

2013-03-04 22:46:31

@required, I believe the error is with the font include :s not 100% sure, or this scripts causing the error accessing the font include.

l.l.j.w

2013-03-04 23:26:36

From: dsstriker
lol.. It's really simple.. Read threw the code you'll find out with other instances that are similar to that.
it's only needing 1 character.
idn if people can just give away the answer.


I love the wording of your reply

StickToTheScript

2013-03-04 23:34:13

Well, i took a very quick look through it, and I do believe that it could use an eating method as a back up just in case you get hurt/random event. I will take a look through it later to see if there are any errors or things that can be fixed.

I let you know soon.

Edit: BTW, Nice Anti-Leach. :)

Nick5020

2013-03-05 01:30:08

Great script, getting 60 att with it. Thanks!

My_Sp3c_Ftw

2013-03-05 06:18:07

Thanks :) how's it coming along dude?

Nah, don't give away the anti-leach. Defeats the point of having one in the first place and makes it leachable lol

thej3

2013-03-05 09:46:20

Not sure if it's really fixed for the bitmap on line 664 or not, but I just added bitmap[0] to the line, and it no longer gives me that error. But once I try to run it again, almost does the same thing where it works, then gives me the same error, but on a totally different line.

vortexz

2013-03-05 12:13:57

I found the monstercolor and put it in and took the first letter of the monsternick out like you said. It is only switching between inventories but not attacking. Also does this not work with smart?

hey im steve

2013-03-05 14:03:39

okay this happened on another script i tried also, whenever i start my mouse just bounced between all of the rat. never clicked. help? :S

paulviallet

2013-03-05 14:53:22

Exception in Script: Unable to find file 'P07Include.Simba' used from 'C:\Users\user\AppData\Local\Temp\Requireds AIO Autofighter-1.simba'
anyone know how i would go amoung fixing that?

My_Sp3c_Ftw

2013-03-05 15:02:54

It's not as simple as that lol, that's the first thing I tried

irps

2013-03-05 19:13:31

Ran it for 6+ hours yesterday, no issues. Added a looting option to it as well. Cheers for the script.

MrMeowBlub

2013-03-05 20:04:41

I still can't figure out the if Combat = 0 then line… No matter what I put it keeps getting errors…

RequiredOne

2013-03-06 00:30:00

From: irps
Ran it for 6+ hours yesterday, no issues. Added a looting option to it as well. Cheers for the script.



Could you please share with me what you did, I would like to add it into the script for everyone.
Please PM me.

I am still fixing this script I have added multiple features but now I have another problem.

OMGWTFISTHIS

2013-03-06 01:12:56

From: RequiredOne
Could you please share with me what you did, I would like to add it into the script for everyone.
Please PM me.

I am still fixing this script I have added multiple features but now I have another problem.


You will have to add the 07Includes yourself.

procedure GrabLoot;
var
x, y, i: integer;
begin
MakeCompass('N');
SetAngle(SRL_ANGLE_HIGH);
FindNormalRandoms;
WriteLn('Looks like we are out of combat! Finding loot!');
for i:=0 to 3 do
if FindObj(x, y, ' rune', 10527402, 10) then //This finds the object, records the X and Y values, and tells the script to find the option " rune".
Mouse(x, y, 0, 0, mouse_Right); //mouse_Left
WriteLn('Loot found!');
ChooseOption(' rune'); //This tells the script to left-click on the object and select " rune".
if DidRedClick then
WriteLn('Clicked on the loot.');
Inc(LootsGrabbed);
wait(2000+random(500));
end;

owner5

2013-03-06 01:43:16

[Error] C:\Simba\Scripts\Required AutoFighter V2.simba(108:17): Syntax error at line 107
Compiling failed.

RequiredOne

2013-03-06 01:47:05

From: owner5
[Error] C:\Simba\Scripts\Required AutoFighter V2.simba(108:17): Syntax error at line 107
Compiling failed.


There is an Anti-Leech my friend. Please no more posting about the AntiLeech!

owner5

2013-03-06 01:55:18

From: RequiredOne
There is an Anti-Leech my friend. Please no more posting about the AntiLeech!

Btw i think i fixed the anti leech but, The following DTMs were not freed: [0, 1, 2, 3]

Welcome to Project RS06
Welcome to Project RS06
Welcome to Project RS06
Welcome to Project RS06

koekhapper66

2013-03-06 10:26:15

there is a difference between leecher and beginner, and the steps are pretty hard from these to understand how to get it all running.

Azdaa

2013-03-06 12:46:50

I don't understand the AntiLeech things and how it works, don't know how to get around it as i only just got simba would appreciate some help, PM me if you cant post here

Sorry, and thank you :)

jaypwns

2013-03-06 14:31:47

The following DTMs were not freed: [0, 1, 2, 3]

jano2176

2013-03-24 01:33:10

not working. the first 3 seconds, it clicks on the iron ore, which is normal. then it stops, it just puts the cursor on top and keeps moving, or changing from inventory to skill tab and such..

Riylo69

2013-06-14 13:58:34

word brah

Ashaman88

2013-11-27 14:16:26

P07include outdated. Please use official one - shoot me a PM when/if this is updated.