Hello,
(first post, cant post any links or pictures to make it easier sry)
(Code in the end)
I tried to use the simba script called EldevinFighter made by Hoodz for botting Eldevin, but unfortunately for reasons perhaps relating to Eldevins Double Buffering Graphics, it didn't perform as planned, as in the character cant heal itself. Im not sure if im the only person with the problem, but I couldnt find any quick solutions, so I learned simba and made the EldevinFighterReloaded for Eldevin.
It's very very rudimentary. and very particular as in, i dont know how to make it more accessible for people with say, different screen resolution than mine. so here are all of the requirements for this script to run on your computer. (imagine this bot is duct-taped together so that it worked for me, but in-order to ship it i had to unduct-tape it and now you have to duct tape it together again)
Instructions:
Have Simba
Only works when game is opened in browser
Desktop Resolution needs to be at 1366 x 768. (Change it in graphics settings of your computer if its not the case.)
Windows 10 operating system. (because im not sure if you can snap browser to the left side of screen with other operating systems)
Game settings:
Resolution: 1366x768
FPS: 60
Spell Hot Key:
basic attack -> 1
healing (revitalize) -> 2
healing potion -> 3
NOTE: the potion bars are default to Ctrl + 1, 2, 3, 4. Go to settings to change these keys.
To run the bot:
1. Open game in browser.
1.5. Find a place with lots of mobs which you can handle in a 1 v 2
2. Drag the browser to the left side of your screen untill it hits the edge and let go the mouse so the screen now occupies the left half of your screen.
3. Open EldevinFighterReloaded script.
4. Drag the Green circle with a Cross hair on it button located on top of your Simba compiler to your DESKTOP to define the client to your ENTIRE DESKTOP.
5. Run the script.
6. Make sure you click on the game browser after the scripts runs.
What should happen:
Your character should find the nearest target and attack it with basic attack.
When its health reaches 25% it would start healing itself until its 93% with healing spell (revitalize) and potion, and wont actively seek mobs to fight until its at more than 93%. NOTE: If the character just finished a fight and started to heal and during this duration if its attacked, it wont fight back until it reaches 93%, so make sure the mobs around you are the yellow ones, or else it may die in this situation. (if you run out of potion it just skips potion and heal with spell, if you run out of potion and mana, it wont heal)
The script:
Code:
program EldevinFighterReloaded;
{$I SRL-OSR/SRL.simba}
//{$I SRL-OSR/SRL/misc/al_functions.simba}
procedure E_InteractSpellBar(Action: string; SleepTime: Integer);
begin
TypeSendEx(Action, False);
Sleep(Sleeptime + random(150));
end;
procedure E_InteractNPC(Action: string);
begin
TypeSendEx('\', False);
Sleep(250 + Random(25));
TypeSendEx(Action, False);
Sleep(250 + Random(50));
end;
function E_HPHigh: Boolean;
begin
if (GetColor(210,666) = 1510290 ) then
result := true;
end;
function E_HPLow: Boolean;
begin
if (GetColor(290,660) = 1580061 ) then
result := true;
end;
procedure MainLoop;
begin
if E_HPLow then
begin
repeat
E_InteractSpellBar('2', 3500);
E_InteractSpellBar('3', 3500);
until (E_HPHigh);
end;
begin
Writeln('not in fight, attacking');
E_InteractNPC('1');
end;
end;
begin
MouseSpeed := 25;
SetDesktopAsClient;
Sleep((2000 + random(200)));
ActivateClient;
repeat
MainLoop;
Sleep(500);
until (false);
end.