SRL Archive - Non-RuneScape Scripts

Eldevin basic fighter


Hoodz

2013-12-14 08:06:47

https://www.eldevin.com/play

pretty simple script with healing! but really effective.

setup:
target
Make sure you do NOT target the hunted cow/account/forums window
graphics:

spellbar:
5: revitalize
-: mage/ranged/melee basic attack

notes:
1. go to an area where there are a lot of npc's like zombies/slimes or other creatures.
2. make sure you are high enough level so that one kill doesnt kill you for 50%. (5-10% is okay).

last: made some small but useful functions/procedures that you can copy/use

bonsai

2013-12-14 09:18:37

Might want to mention this is including OSR libraries. Time to upgrade you to SRL6 Hood! :)

Hoodz

2013-12-14 10:29:11

From: bonsai
Might want to mention this is including OSR libraries. Time to upgrade you to SRL6 Hood! :)


we are most likely going to make a Eldevin library

Sjoe

2013-12-14 10:37:17

Can I goldfarm?

Kyle

2013-12-14 10:39:17

From: Sjoe
Can I goldfarm?


Not unless I gold farm first. #ElfyyyOwnsAllGeePees

Hoodz

2013-12-14 11:18:47

From: Sjoe
Can I goldfarm?


Yea, you get sometimes gp if you kill something. I think adding looting is not hard.

But i first want to make eldevin library.

Edit: running on 2 different accounts for 5 hours now

slacky

2013-12-14 12:39:00

60fps, and bilinear filter for a bot..?

Should cap it at max 20fps, that is 50ms per frame, which is more then what is needed.
No need for bilinear filtering either, the game mostly looks and feels the same without it, and would not matter for a bot.. Yet another waist.

Hoodz

2013-12-14 12:52:41

From: warpie
60fps, and bilinear filter for a bot..?

Should cap it at max 20fps, that is 50ms per frame, which is more then what is needed.
No need for bilinear filtering either, the game mostly looks and feels the same without it, and would not matter for a bot.. Yet another waist.


doesnt really matter for me, we can only use our browser right now and i dont lagg at all.

bonsai

2013-12-15 05:03:12

From: hoodz
we are most likely going to make a Eldevin library


That would be great.

I would hope a new library would start with a branch of SRL6 for maximum compatibility. The base types and simba overloads are useful as-is. We would need to replace the interfaces with Eldevin objects. It would be desirable to keep the existing names/functions/structures for similar things (tabbackpack.isOpen(), mainscreen.getBounds(), etc, could all be the same).

With a little patience and {$IFDEF} magic it should be possible to have one codebase that covers both games.

BTW, forgot to say thank you for the script! :)

I'm just getting through the intro tutorials. People can PM me for screen name to add in-game. I haven't even looked for a chat/friend interface yet.

Hoodz

2013-12-15 08:01:30

From: bonsai
That would be great.

I would hope a new library would start with a branch of SRL6 for maximum compatibility. The base types and simba overloads are useful as-is. We would need to replace the interfaces with Eldevin objects. It would be desirable to keep the existing names/functions/structures for similar things (tabbackpack.isOpen(), mainscreen.getBounds(), etc, could all be the same).

With a little patience and {$IFDEF} magic it should be possible to have one codebase that covers both games.

BTW, forgot to say thank you for the script! :)

I'm just getting through the intro tutorials. People can PM me for screen name to add in-game. I haven't even looked for a chat/friend interface yet.


thanks bonsai!

tbh i never looked into srl6 and i heard it will take some time to learn lape.

and bonsai.. you should apply for srl-member.

Pavement

2013-12-15 08:57:22

Made a simple fighting one for myself. Also the XP for enemies scales for your level it seems so I don't know how many kills exactly I got but in 20 minutes I got 8.5k xp and 51 of the bronze coins.

E: Tried to find something else to fight and got chased across the map buy a black pather then it one hit me…
E2: Everything thats aggressive chases you literally halfway across each realm and looks scary as hell. Thought I escaped a giant tarantula then some random man appeared and knifed me

Hoodz

2013-12-15 10:53:11

From: Pavement
Made a simple fighting one for myself. Also the XP for enemies scales for your level it seems so I don't know how many kills exactly I got but in 20 minutes I got 8.5k xp and 51 of the bronze coins.

E: Tried to find something else to fight and got chased across the map buy a black pather then it one hit me…
E2: Everything thats aggressive chases you literally halfway across each realm and looks scary as hell. Thought I escaped a giant tarantula then some random man appeared and knifed me


crimson purs or something are great :)

Pavement

2013-12-15 12:06:59

Had enough for one day of it. Left it on for maybe 3 hours or so not sure and now level 7

eldevinbots

2013-12-17 12:43:35

I cant download the script plzz helpp! been looking everywhere to find some bots as i botted runescape to 99 everything lol

Hoodz

2013-12-17 12:49:50

From: eldevinbots
I cant download the script plzz helpp! been looking everywhere to find some bots as i botted runescape to 99 everything lol


the run this script, you need to put this folder: http://www.filedropper.com/srl-osr in C:\simba\includes


program EldevinFighter;
{$I SRL-OSR/SRL.simba}
{$I SRL-OSR/SRL/misc/al_functions.simba}

var
x, y, WaitDTM: integer;

procedure FreeTheDTMs;
begin
FreeDTM(WaitDTM);
end;

procedure LoadTheDTMs;
begin
WaitDTM := DTMFromString('mQwAAAHicY2ZgYNjDCMF7gbibiYGhHYgnAfGrM9YMN3aXMlzYXMAgAlQHw4xIGAgAolcKEQ==');
AddOnTerminate('FreeTheDTMs');
end;

procedure E_InteractSpellBar(Action: string; SleepTime: Integer);
begin
TypeSendEx(Action, False);
Sleep(Sleeptime + random(150));
end;

procedure E_InteractNPC(Action: string);
begin
TypeSendEx('e', False);
Sleep(250 + Random(25));
TypeSendEx(Action, False);
Sleep(250 + Random(50));
end;

function E_Busy: boolean;
begin
if FindDTM(WaitDTM, x, y, 485, 590, 796, 618) then
result := true;
end;

function E_HPLow: Boolean;
begin
if findColorTolerance(x, y, 1710617, 536, 576, 537, 580, 15) then
result := true;
end;

procedure MainLoop;
begin
if (not E_Busy) then
begin
if E_HPLow then
begin
repeat
E_InteractSpellBar('5', 4200);
until (not E_HPLow);
end
else
begin
Writeln('not in fight, attacking');
E_InteractNPC('-');
end
end
else
begin
Writeln('in Fight');
Sleep(2000 + random(200));
end;
end;

begin
MouseSpeed := 25;
LoadTheDTMs;
Sleep(2000);
ActivateClient;
repeat
MainLoop;
Sleep(500);
until (false);
end.

eldevinbots

2013-12-17 13:11:13

ok I unzipped the file now how do i Put in the bot I have simba downloaded

Rich

2013-12-17 13:32:30

Download the script in the main post, follow the instructions and press play.

eldevinbots

2013-12-17 13:41:26

W00T AWeSOME hoodz is da man! it works anyone know where to grind at lvl 22 lol. are there going to be more scripts!!!

Hoodz

2013-12-17 14:15:00

From: eldevinbots
W00T AWeSOME hoodz is da man! it works anyone know where to grind at lvl 22 lol. are there going to be more scripts!!!


im going to release more scripts + trying to make some nice functions that other people can use so they can make easily scripts.
im now trying to improve the fighter with abilities and pots. i already finished the durability checker.

eldevinbots

2013-12-17 14:32:15

Im having trouble finding good spots. anything my level I will eventually die if I am botting. pots would be really good maybe use at like half health. Also If it could walk to the next target because most npc are far away from each other and you spend alot of time not killing anything. But still awesome script just have to find the right spots. Hoodz you know any good stops for lvl 22?

…..Anyone know any exp exploits lol?

Hoodz

2013-12-17 15:32:36

From: eldevinbots
Im having trouble finding good spots. anything my level I will eventually die if I am botting. pots would be really good maybe use at like half health. Also If it could walk to the next target because most npc are far away from each other and you spend alot of time not killing anything. But still awesome script just have to find the right spots. Hoodz you know any good stops for lvl 22?

…..Anyone know any exp exploits lol?


tbh i dont know anything about this game :p im training now at crimson…. something or lazy rats but they are only level 5.


edit: the script should heal itself..

muffinheadstatus

2013-12-17 23:09:33

anyone make a copper miner? those damn skills are annoying and longgggg to train. if you go to the castle in the beginning and go to sewer 2 right beside the manhole there is a patch of level 6 and 7 plague beetles. if you're higher you can go to the crimson camp right north of northam harbor they are level 8 and spawn pretty quickly.

Hoodz

2013-12-18 15:58:32

From: muffinheadstatus
anyone make a copper miner? those damn skills are annoying and longgggg to train. if you go to the castle in the beginning and go to sewer 2 right beside the manhole there is a patch of level 6 and 7 plague beetles. if you're higher you can go to the crimson camp right north of northam harbor they are level 8 and spawn pretty quickly.


thanks, i also noticed that south of eldevin there are a lot of npcs around lvl 15-20 for the higher levels. i got a copper ore miner but i want to tweak it first. im also almost done with a easy farmer

hauntmachine

2013-12-20 04:04:54

Hi, this is my first time using Simba so i am sort of confused but this is what i did.

1) downloaded simba
2)downloaded the foldier you uploaded and placed it in "includes in Simba folder"
3) open the script you uploaded
4) do i just go to a location and hit the "start" button? I changed my graphics to your setting and placed the skills on the appropriate slot as well. The only part i'm not too sure about is the first picture you said to NOT target the hunted cow/account/forums window

Pavement

2013-12-20 09:58:25

From: hauntmachine
Hi, this is my first time using Simba so i am sort of confused but this is what i did.

1) downloaded simba
2)downloaded the foldier you uploaded and placed it in "includes in Simba folder"
3) open the script you uploaded
4) do i just go to a location and hit the "start" button? I changed my graphics to your setting and placed the skills on the appropriate slot as well. The only part i'm not too sure about is the first picture you said to NOT target the hunted cow/account/forums window


Before you start use the green target circle and move it over the actual game make sure the red box is covering the game area and not the bar at the top.

hauntmachine

2013-12-20 11:48:22

er… everything has been solved, reason was because extension was not turned on. The build i downloaded did not allow me to enable extensions but all is well now :)

lersner

2013-12-21 17:38:29

the healing doesn't work for me D: but the auto fighter works nice script man! im looking forward to more of your scripts for eldevin thanks to this script i started playing eldevin lol and i like it, it reminds me of the 2007-2008 runescape times :)

muffinheadstatus

2013-12-22 17:30:37

i cant get it to work. i did all the settings and setup. then when i do the new client window and click run it jsut says compiled in 0ms and does nothing. i use firefox, idk if that has something to do with it

Hoodz

2013-12-22 17:39:17

From: muffinheadstatus
i cant get it to work. i did all the settings and setup. then when i do the new client window and click run it jsut says compiled in 0ms and does nothing. i use firefox, idk if that has something to do with it


have you set your script interpreter to pascalscript? (please check again if you already did!)

muffinheadstatus

2013-12-22 17:52:34

yea, it was on lape >.< lol, thankksss

Hoodz

2013-12-22 18:06:47

From: muffinheadstatus
yea, it was on lape >.< lol, thankksss


no problem

rj

2013-12-22 18:54:57

why not make the include in lape? :s

Hoodz

2013-12-22 18:58:39

From: Officer Barbrady
why not make the include in lape? :s


I dont know lape.

rj

2013-12-22 19:01:57

From: hoodz
I dont know lape.


You don't even have to utilize it, but it wouldn't hurt to take alook at brandons tut

http://villavu.com/forum/showthread.php?t=105024&highlight=


you could just make it the same way you would in PS and it would compile, just be x10 faster :)

Xuven

2013-12-23 11:45:19

I would love a coal miner, but I have no idea how to script these things :P

Bee

2013-12-26 19:01:59

From: Xuven
I would love a coal miner, but I have no idea how to script these things :P


My mouth water just thinking bout it.

yoda

2014-01-06 00:27:01

I have just made my way back here to these forums after a few years of quiting rs. I too found eldevin and love it. I have already made a bot that kills mobs and picks up any loot. This bot however, was written in visual basic. I have looked over your script and it seems that it would function in much the same way as mine. I just added more features and what not. I decided to come here after Adding loot to my bot. I made it take a screenshot, save it as a bitmap, then scan pixel by pixel for a color match. Ill be working on writing my own combat bot and I will be sure to check back with this thread as I work.

Lifeforms HD

2014-01-07 15:50:34

I keep getting this error.

Error: Exception: You passed a wrong ye to a finder function: 618. The client has a height of 607, thus the ye is out of bounds. at line 35
The following DTMs were not freed: [0]

CrimsonKings

2014-01-09 06:28:09

I just keep healing for some reason

mistik0

2014-01-10 06:21:57

Thanks, this works perfectly! BTW how do I get SMART to work with this script or is that supposed to be happening already? Kind of new to this.

CrimsonKings

2014-01-10 06:55:31

no word on the only healing thing?

[XoL]

2014-01-10 16:45:56

From: mistik0
Thanks, this works perfectly! BTW how do I get SMART to work with this script or is that supposed to be happening already? Kind of new to this.


SMART will not work with this, SMART is designed to hook RS3 (I think OSR, might have a version of SMART working too) but this game has not been adapted for SMART yet.

Also to Crimson, I talked to Hoodz he said he will check it sometime. I seemed to have the same problem as you, kinda just re-wrote a ghetto version that ignores that step. I think it may be due to our low levels.

Hoodz

2014-01-10 17:23:13

yes @[XoL] is right, ill check for a fix tomorrow

[XoL]

2014-01-10 17:49:09

Hope you don't mind @hoodz, (If you do, just say the word I will remove it)

Here is the ghetto fix:

procedure MainLoop;
begin
Writeln('not in fight, attacking');
repeat
E_InteractNPC('-, 2, 3, 4');
E_InteractNPC('-');
Sleep(10000 + random(200));
E_InteractNPC('-, 2, 3, 4');
E_InteractNPC('-');
Sleep(10000 + random(200));
E_InteractNPC('-, 2, 3, 4');
E_InteractNPC('-');
Sleep(10000 + random(200));
until (E_HPLOW);
E_InteractSpellBar('5', 2000);
E_InteractSpellBar('5', 2000);
E_InteractSpellBar('5', 2000);
E_InteractSpellBar('5', 2000);
E_InteractSpellBar('5', 2000);
E_InteractSpellBar('5', 2000);
E_InteractSpellBar('5', 2000);
end ;

Basically it fights 3 monsters, then heals a few times andddd repeats.
Very simple fix, the only problem that occurs is running out of mana (which happened to me once, causing me to die) easy fix, just haven't gotten to it yet.

E: This simply replaces the old mainloop.

Kaladin

2014-01-20 00:31:00

Hey, first off, great job, works flawlessly :)

My first thoughts on this game were actually "This would be so easy to make a bot for!"
Anychance you could PM me and let me know what "LoadDTMs" etc mean because I'd love to code some myself, just not sure on the initial setup of Simba etc, I've used Pascal before.

Also, any way we can have this run in the background?

Thanks again :)

Kaladin

2014-01-20 01:42:52

Also, not sure for what reason but… my heal wouldn't work, here is one that works for me (but due to the exact colourfind I can't say 100% for anyone else) and heals when lost 10% hp making it very safe.

function E_HPLow: Boolean;
begin
if (GetColor(517,635) = 1512982) then
result := true;
end;

(Replace E_HPLow ofc)
Heal probably works fine for most people but for me it would not work whatsoever so I just thought this might be helpful to someone else.

Wu-Tang Clan

2014-01-20 11:17:49

Has this game gotten any more popular? I might get into it again.

Hoodz

2014-01-20 11:20:15

From: Wu-Tang Clan
Has this game gotten any more popular? I might get into it again.


they are going to release the game on steam soon.. (2th quater of the year)

pella555

2014-03-11 00:11:52

Hello, I am new here. I have been trying to get this script to work but I am having some trouble.
I get this message when I try to run it:

Exception in Script: Unable to find file 'SRL-OSR/SRL/misc/al_functions.simba' used from 'C:\Users\Dave\Desktop\EldevinFighter.simba'

I followed another guide and downloaded and added SRL-OSR to the includes folder. It didn't come with al_functions.simba, anyone know where i can get this file?

Edit: found al-functions.simba on a different thread, working now, thank you

Trout

2014-06-05 12:10:43

Wow It works perfectly! Now just waiting for auto looter cause Im still new with these things. And the only thing that I adjusted is the skills rotation and put the basic attack to 1 so it will work for my class well.

MaxGreden

2014-08-05 09:42:25

Hi, this will be my first post on this forum. :spongebob:

Nice script, although I'm fresh to Simba, it all makes sense to me.
Just a quick question though, what's the WaitDTM? What image is it looking for?
Also, what is AddOnTerminate?

Thanks

Hoodz

2014-08-05 09:49:46

From: MaxGreden
Hi, this will be my first post on this forum. :spongebob:

Nice script, although I'm fresh to Simba, it all makes sense to me.
Just a quick question though, what's the WaitDTM? What image is it looking for?
Also, what is AddOnTerminate?

Thanks


waitDTM is the variable dtm that searches for the wait sign or something, cant remember its ages ago since i made this. if you dont know what dtm is you can search the forums for it, there a plenty of guides for it.

AddOnTerminate calls the procedures inside it before the script is ended. (free dtms/bitmaps - saying thanks for using my script etc)

CandleKitty

2014-11-08 14:33:18

I'm new to this website, This script is fairly old but I was just wondering. Does it still work? Because everytime I hit play I get this error, "Error: File "SRL-OSR/SLR.simba" not found at line 2 Compiling failed" and the bot does nothing, can I get some help on this please?

doylexl

2014-11-12 05:53:00

Downloaded simba and script, loaded it. Started game and simba. Now im trying to start it but it says Error: File "SRL-OSR/SRL.simba" not found at line 2
Compiling failed. What should i do?

letsrock

2014-12-06 13:00:06

can you help me guys

Exception in Script: Unable to find file 'SRL-OSR/SRL/misc/al_functions.simba' used from 'C:\Simba\Scripts\EldevinFighter.simba'

:/

hidulphus

2014-12-26 11:29:14

hood! need help to create me a special script. can you do it?

hidulphus

2014-12-26 11:31:44

hoodz. you there bruh

Hoodz

2014-12-26 11:54:05

From: hidulphus
hoodz. you there bruh


Im here

hidulphus

2014-12-26 12:05:32

I need help. could you make a script for dungeons?

Wu-Tang Clan

2014-12-27 14:03:29

From: lersner
Helped me alot! :) thanks! great release


http://puu.sh/dLwcJ/7bd31faf3a.png

please stop spamming you don't even know what eldevin is…

lersner

2014-12-29 08:16:16

From: Wu-Tang Clan
http://puu.sh/dLwcJ/7bd31faf3a.png

please stop spamming you don't even know what eldevin is…


plis you know nothing about me when this got released some time ago i started playing eldevin using this and is giving fdeedback spamming? never knew

Wu-Tang Clan

2014-12-29 13:16:50

From: lersner
plis you know nothing about me when this got released some time ago i started playing eldevin using this and is giving fdeedback spamming? never knew


I honestly dont believe you. You've posted in several script threads almost simultaneously meaning you either have an army that is training different skills, or you are lying and trying to make post count to get into the black market.
0-27 posts real quick.
Or you could prove me wrong and screenshot your decently levelled eldevin account

L0ck3

2015-02-01 10:50:01

Yeah, If you could include the OSR libraries I would be most thankful