SRL Archive - Outdated / Broken

DPInclude


dontpanic

2006-11-11 19:45:56

I created this include file, some of it is updated/changed srl functions/procedures, and some is code that I wrote because I used it in many of my scripts. Some of these could be added to srl. Credit goes to all the creators of the code that I edited to create some of the procedures/functions. I will be releasing some scripts that use this include.

I have also included a template that is a beginning for a script.

This include is meant to be used alongside srl, including it will also include srl.

Some usefull things this contains:
-Road color finder (almost perfect)
-Object action commands
-Better menu option clicker
-InFight that detects the damage bubbles instead of the health bar (so it can tell when the char is out of a fight sooner)

Boreas

2006-11-11 20:13:48

Cool stuff. One thing I would change is make it an addon to srl.
So people would:

program new;
{.include srl\srl.scar}
{.include srl\srl\misc\dpinclude.scar}

YoHoJo

2006-11-11 20:56:02

we shouldn't have a whole section dedicated to a person
even if its not "dedicated" to you it would just be better to take each function and procedure and just stick them in the appropriate srl include.
most of these are already in srl. and!
you should change your flag bitmap. Its a 2X2 red dot.
It bet it will also detect dropped items on the mini map and mistake them for a flag

Idk seems to me like the functions in SRL are fine and most of these are almost exactly the same

Im happy your are trying to make stuff though good effort.
Try making some new procedures that we dont have or aren't updated.
Like DoEmote i believe isnt updated

Boreas

2006-11-11 20:59:50

If he was a dev he would be able to put it in each section. Until then it's just like a patch, addon.

YoHoJo

2006-11-11 21:08:34

yea i understand
i think all of you findobj procedures are un-neededi think
All you did was add:
SCAR] x:=x+0;
y:=y+0; which doesn't mean anything=p
and wait(100+random(10));
which is just a wait =p

oh well

also on this
procedure DPTalkNpc(times:integer);
just make it talk as much as needed instead of a certain amount of times
I don't want to have to count how many times i click
Just make it repeat until (not findcolor (blue talking color and white talking color)

dontpanic

2006-11-11 21:16:51

Yeah i'l change that talknpc thing, and the wait makes a HUGE difference, when finding small objects it didnt work before, this way it works. Also, srl only searched for one pixle for the flag, and jagex sometimes puts a random red pixle at the edge of the mm. a 2*2 bmp solves the problem. If anything from here was added to srl, it would of course be added into the existing files.

YoHoJo

2006-11-11 21:31:53

…okway whatever you say chief.
I'm sorry if i seem rude. I just fell like some stuff is unneed. Iv never had problems with some of these functions but whatever. Good job on fixing them up.

dontpanic

2006-11-12 12:06:43

Some of it is almost the same in srl or may seem unneeded, but i've used all the stuff in there atleast sometime and I just put it in because it seems like it could be usefull.

afi

2006-11-12 14:01:46

Hmm where do we put these in C:\Program Files\SCAR 2.03\includes\SRL\SRL\misc?

dontpanic

2006-11-12 14:52:08

No just c:\program files\scar 2.03\includes\