Working great, thanks :).
Printable View
Working great, thanks :).
Hello I am new to the forums, this is my first day using SRL/Simba and I fixed some parts of the anti-leech but I don't know what to do next. I am assuming something in the main loop is causing the script to terminate after 1 round! Is anybody able to help me out by PM or posting a link to a tutorial in the tut island that could help me (I looked). I only took matlab and arrays, C in school not java, thank you!!!
EDIT: I know it has something to do with the coursesdone counter but I forget how to incorporate a fix, I feel like I am overthinking this.
How do u fix the error?
I left this running the whole day, and now when I came to check on it I found my character in Seer's village standing there with no tickets and all worn member objects in the inventory.
I just lost 200k worth of tickets, I am broke and since I don't have any non-combat skills I can't get any money to even buy arrows.
It ruined everything!
Well, after teaching myself how to script thanks to the tutorial island, I can say that I've finally got this script working. Lol.. mission accomplished! thanks =D
Edit: after letting it go through like 15 rounds or something it took me to the other side of the range (behind the targets). I changed GetIntoPos as follows:
By changing to that point is goes back to the correct area. All peachy again =)Code:procedure GetIntoPos; // (2515, 2970) // (2530, 2985) // (2520, 2980)
var
myPath: TPointArray;
begin
if not InCords(2510, 2965, 2545, 2990) then
myPath := [Point(2520, 2983)];//changed to this point
SPS_WalkPath(myPath);
end;
i noticed whenever it levels up ur ranged it goes back and attacks lst guard in the back then stops =P just a tip
The script works well enough, it finds the judge, shoots the targets. You have to check on it from time to time because it goes behind the targets, but not too often and you must have the money to afford losing your tickets in some place completely unrelated to the minigame, otherwise you'll be like me, trying to convince MSI to actually mine something, not just search for players and randoms.
That said, if you can afford the risk this is one of the better scripts.
i fixed the compile error , knowing something about this script. but unable to fix the 2nd and last problem . is there 1 or 5 errors from main loop to the end? been trying out all stuff's , seen all vid's . none on the last 2 . any tips?
There is one error when you try to compile and then another one that makes the script stop after one play through the minigame. In case it's not clear, by main loop he meant the main loop of the script, not the procedure mainloop.
Antileech is not meant to be difficult, so don't look for complex things, it's just a little something that stops those who don't know anything about programming.
Ive been trying to fix the anti-leech but have no success, i suppose im going to have to learn how to script right?
^^^
yup
Absolutely love this script. I've been using it on a new account that has the trial membership. Recieved level 71 ranged using it in just a weeks time. I edited a bit of the script to make it run a bit faster since I have a limited time of membership :P Kudos to you Riyyi!
Great just got it to work... idk how well but it's looping so thats all that matters=]
is anyone able to give a helping hand? i can PM what ive got so far for the CoursesDone := (CoursesDone + 1);
Dude can you get this to work I keep getting the messages :
Successfully executed.
[Hint] C:\Simba\Includes\SRL/SRL/core/animation.simba(257:3): Variable 'X' never used at line 256
[Hint] C:\Simba\Includes\SRL/SRL/core/animation.simba(257:3): Variable 'Y' never used at line 256
[Error] (239:5): Unknown identifier 'CoursesDone' at line 238
Compiling failed.
[Hint] C:\Simba\Includes\SRL/SRL/core/animation.simba(257:3): Variable 'X' never used at line 256
[Hint] C:\Simba\Includes\SRL/SRL/core/animation.simba(257:3): Variable 'Y' never used at line 256
[Error] (239:5): Unknown identifier 'CoursesDone' at line 238
Compiling failed.
[Hint] C:\Simba\Includes\SRL/SRL/core/animation.simba(257:3): Variable 'X' never used at line 256
[Hint] C:\Simba\Includes\SRL/SRL/core/animation.simba(257:3): Variable 'Y' never used at line 256
[Error] (239:9): Unknown identifier 'CoursesDone' at line 238
Compiling failed.
Works goodd!
I've been trying to fix the anti-leech for hours, still can't do it.. help please!
k, I think I fixed it. Changed a < to > and (true) to not LoggedIn
edit: now it keeps running behind the targets every 10 minutes -.-
You need to add a failsafe that recognises that checks to see arrows are equipped.
Other than that, script is great :)