Log in

View Full Version : RangeGuilder by Riyyi



Pages : 1 [2]

eironjik
05-04-2012, 05:01 PM
[Hint] C:\Simba\Includes\SRL/SRL/core/mapwalk.simba(1353:3): Variable 'BOX' never used at line 1352
[Error] (239:5): Unknown identifier 'CoursesDone' at line 238
Compiling failed.


hmm dont know what to do help me ty

Quagmire
05-04-2012, 06:02 PM
[Hint] C:\Simba\Includes\SRL/SRL/core/mapwalk.simba(1353:3): Variable 'BOX' never used at line 1352
[Error] (239:5): Unknown identifier 'CoursesDone' at line 238
Compiling failed.


hmm dont know what to do help me ty



Its the anti-leech read tutorials on how to fix

eironjik
05-04-2012, 06:21 PM
where i find this guide
E// i searched for anti leech and no where such tutorial like anti leech

litoris
05-04-2012, 06:55 PM
where i find this guide
E// i searched for anti leech and no where such tutorial like anti leech

You need to go to the Tutorial Island section. You need to read scripting guides and learn a bit about scripting, and then try to understand what's wrong with the script you are trying to use.

Rezozo
05-04-2012, 07:14 PM
Finally got it fully working, thanks :). Only getting 15-22k exp per hour though :S

You still gotto admit, DAS FUZZIN AWZUUUME!



Please help this script stop error at line 136

^L0L

Versus The World
05-05-2012, 12:40 AM
[~~~~~~RangeGuilder by Riyyi - Version 1.23~~~~~]
Time Running : 1 Hours, 9 Minutes and 24 Seconds
XP Gained : 38355
XP Per Hour : 0
Courses Done : 118
Tickets Gained : 8000
Time Until Logout : 4 Hours, 31 Minutes and 30 Seconds
[~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~]

Whats with the paint?

Rezozo
05-05-2012, 01:59 AM
Riyyi, may I ask which is the part in your script which closes the window?




Whats with the paint?

What paint?

Pntbllfrk
05-05-2012, 10:59 PM
[~~~~~~RangeGuilder by Riyyi - Version 1.23~~~~~]
Time Running : 10 Minutes and 25 Seconds
XP Gained : 3555
XP Per Hour : 17775
Courses Done : 20
Tickets Gained : 711
Time Until Logout : 5 Hours, 34 Minutes and 25 Seconds
[~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~]


Really nice script you've made, only glitch I've seen was when I level up or some odd reason clicks one of the targets in the back, toon will walk behind the targets and get stuck.

Deni_mulic
05-06-2012, 01:11 AM
Ah finally, an antileech that requires understanding the code rather than removing uncommenting, nice :)


Riyyi, may I ask which is the part in your script which closes the window?



MMouse(487, 42, 3, 3);
Wait(550 + Random(150) + Laggy);
if IsUpText('lose') then
ClickMouse2(True);

Josefchamoun
05-06-2012, 10:03 AM
can anyone help me?

i don't get it, add my skype josefchamoun

theviablethreat
05-06-2012, 05:08 PM
For me it either misses the target and runs away or it does one set and logs out :/ is this a script issue or the anti-leech?

whzup
05-07-2012, 04:29 PM
when i start it i get a error saying

[Error] (259:5): Unknown identifier 'CoursesDone' at line 258
Compiling failed.
[Error] (274:43): Unknown identifier 'CoursesDone' at line 273
Compiling failed.

tommo1
05-07-2012, 07:29 PM
Did you change anything in the script? I've ran it multiple times for about 6 hours the last week (after spending 4 days solving the anti-leech). Now it runs for 1 round again and then logs...

theviablethreat
05-07-2012, 08:27 PM
Did you change anything in the script? I've ran it multiple times for about 6 hours the last week (after spending 4 days solving the anti-leech). Now it runs for 1 round again and then logs...

Part of the anti-leech man.

SimbaBro
05-07-2012, 09:45 PM
Going to use this for my pure. Will post a proggy gotta go fix the compiling error and see how it works! :D

whzup
05-08-2012, 12:37 AM
[Hint] C:\WINDOWS\Simba\Includes\SRL/SRL/core/animation.simba(257:3): Variable 'X' never used at line 256
[Hint] C:\WINDOWS\Simba\Includes\SRL/SRL/core/animation.simba(257:3): Variable 'Y' never used at line 256
[Error] (239:1): Identifier expected at line 238

Any suggestion how to fix this. not asking for full help just a direction. anything is welcome :)

whzup
05-08-2012, 01:58 AM
[Hint] C:\WINDOWS\Simba\Includes\SRL/SRL/core/animation.simba(257:3): Variable 'X' never used at line 256
[Hint] C:\WINDOWS\Simba\Includes\SRL/SRL/core/animation.simba(257:3): Variable 'Y' never used at line 256
[Error] (239:1): Identifier expected at line 238

Any suggestion how to fix this. not asking for full help just a direction. anything is welcome :)

Fixed the above things. :)

any ideas how to fix this tried some stuff but no use :

[Hint] C:\WINDOWS\Simba\Includes\SRL/SRL/core/animation.simba(257:3): Variable 'X' never used at line 256
[Hint] C:\WINDOWS\Simba\Includes\SRL/SRL/core/animation.simba(257:3): Variable 'Y' never used at line 256

whzup
05-08-2012, 03:53 AM
anyone know how to run this script i keep geting this

Successfully executed.
[Hint] C:\WINDOWS\Simba\Includes\SRL/SRL/core/animation.simba(257:3): Variable 'X' never used at line 256
[Hint] C:\WINDOWS\Simba\Includes\SRL/SRL/core/animation.simba(257:3): Variable 'Y' never used at line 256
Compiled successfully in 734 ms.
[~~~~~~RangeGuilder by Riyyi - Version 1.23~~~~~]
Time Running : 0 Seconds
XP Gained : 0
XP Per Hour : 0
Courses Done : 0
Tickets Gained : 0
[~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~]
Successfully executed.

Gucci
05-08-2012, 04:33 AM
Look throught the code and see if you can find anything that prevents it from running
Also never ever post for than once there is a edit button there for a reason, learn to use it as it will be useful

tommo1
05-08-2012, 02:37 PM
Part of the anti-leech man.
read my post again.. i've fixed the anti-leech and ran in for multiple hours before... i fixed it again though.

But since yesterday, it runs of behind the targets a lot and has trouble closing the scoreboard (or whatever it's called). Anyone else having this problem?

omfgMIKE
05-09-2012, 12:56 AM
Really nice script you've made, only glitch I've seen was when I level up or some odd reason clicks one of the targets in the back, toon will walk behind the targets and get stuck.

Great script, and the anti-leech was a great add-in. Took me about an hour to discover what to actually fix. I'm having the same problem as stated above. Whenever my character levels up it walks behind the targets. I've also noticed that it doesn't give me an accurate amount of 'xp gained' or 'xp gained/hr'. I'm not sure if this is a mistake I made when editing the script or just a bug. None the less great job and thank you for the contribution!

EDIT: I actually just noticed watching the script for the last 5 minutes sometimes it will actually click behind the targets on the mini-map. Not sure if this is due to the new updates that were released recently.

mid flows
05-09-2012, 06:28 AM
i LOLED when i saw the antileech on this easiest thing ever but fact is i love that u did this cause makes people learn how to script in a way <3 you

mid flows
05-09-2012, 06:31 AM
its been happing to all the ranging guild scripts just babysit it look at the brightside u dont have to do the clicking!!

Imagine
05-09-2012, 06:46 PM
I'm having an SPS problem :O

Rezozo
05-10-2012, 02:58 AM
Believe me guys, its not that hard.

Tweak the script around a bit, see what happens when you change a certain part of the code, see what happens in increases and decreases. You will figure the rest out easily.

jefkezor
05-10-2012, 07:40 PM
Working great, thanks :).

bslaya
05-10-2012, 10:15 PM
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.

tommo1
05-11-2012, 07:10 AM
Working great, thanks :).

Doesn't it run behind the targets a lot for you?

Firestarmc
05-11-2012, 10:05 AM
How do u fix the error?

elpreda
05-11-2012, 08:20 PM
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!

Texy
05-11-2012, 08:58 PM
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!
You run the script, you run the risk.

smoshism
05-11-2012, 11:15 PM
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:


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;

By changing to that point is goes back to the correct area. All peachy again =)

mid flows
05-12-2012, 07:23 AM
i noticed whenever it levels up ur ranged it goes back and attacks lst guard in the back then stops =P just a tip

elpreda
05-12-2012, 08:03 AM
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.

tanjunyang
05-13-2012, 07:50 AM
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?

tanjunyang
05-13-2012, 08:12 AM
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?

please do give me a hint, aint a leecher. just unable to figure what it is all about. 1 error ? or multiple.

elpreda
05-13-2012, 03:17 PM
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.

Thanatos
05-13-2012, 03:37 PM
please do give me a hint, aint a leecher. just unable to figure what it is all about. 1 error ? or multiple.

Just look through the basic scripting tutorials. You should be able to figure it out after that.

Cubanmeng
05-13-2012, 05:26 PM
Ive been trying to fix the anti-leech but have no success, i suppose im going to have to learn how to script right?

botsalot123
05-13-2012, 05:35 PM
^^^
yup

omfgMIKE
05-15-2012, 12:56 AM
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!

i like pie123
05-15-2012, 07:59 PM
Great just got it to work... idk how well but it's looping so thats all that matters=]

kyle123
05-15-2012, 10:36 PM
is anyone able to give a helping hand? i can PM what ive got so far for the CoursesDone := (CoursesDone + 1);

wer1sdf2
05-16-2012, 02:20 AM
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.

Steingraber
05-16-2012, 03:50 AM
Works goodd!

pakatsui
05-16-2012, 10:35 AM
I've been trying to fix the anti-leech for hours, still can't do it.. help please!

Rezozo
05-16-2012, 10:38 AM
Requirements for Use:

Fix Compiling Error (Anti-Leech).
(Tip: Also check the main loop.)



Make sure you read it properly.

pakatsui
05-16-2012, 11:05 AM
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 -.-

gmkizzle
05-16-2012, 01:22 PM
You need to add a failsafe that recognises that checks to see arrows are equipped.
Other than that, script is great :)

Skyx
05-16-2012, 01:25 PM
You need to add a failsafe that recognises that checks to see arrows are equipped.
Other than that, script is great :)

uh... how?

jack1994
05-16-2012, 07:26 PM
Completly stuck trying to overcome the anti leech could some one attach a thread so i can read up on it or post a help ?

the denman
05-16-2012, 11:12 PM
No offense but is it really funny to watch people get stuck on this anti leech?

Just think it can be fucking overwhelming seeing this large script with all this random bullsht and u have to ''fix'' it, hope some1 gives some usefull advice.

Gucci
05-16-2012, 11:20 PM
No offense but is it really funny to watch people get stuck on this anti leech?

Just think it can be fucking overwhelming seeing this large script with all this random bullsht and u have to ''fix'' it, hope some1 gives some usefull advice.

Not gonna lie it's actually pretty funny. This is one of the simplest anti leech's I've seen and really you should be able to understand without help or advice, good luck

the denman
05-16-2012, 11:23 PM
All i see is a fucking wall of text and im supposed to fix it? atleast some1 could give some solid advice...


EDIT : just removed every line that turned orange when trying to start the script and atleast got it to pop up a rs window, probably gonna get laughed at for fucking it up but whatever

Fo33y
05-16-2012, 11:31 PM
From today, thank you :)


[~~~~~~RangeGuilder by Riyyi - Version 1.23~~~~~]
Time Running : 6 Hours, 1 Minutes and 12 Seconds
XP Gained : 116980
XP Per Hour : 0
Tickets Gained : 23352
Time Until Logout : 0 Seconds
[~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~]

the denman
05-16-2012, 11:52 PM
Is there a way to make it less likely for my character to walk behind the targets?

shaunmabin
05-17-2012, 01:00 AM
Agree with previous comments. This is an awesome script and i've got from 40 range to 51 so far today (around 4 hours all babysat). Basically just wondering if there is a command such as
" If levelup = (true) then
Wait (2500 + Random(150) + Laggy);

Would that work to stop it from clicking after it gains the level to avoid it moving to back of the range OR would you need a different approach and possibly implement a pause function to pause the spamming part of the script for say 5 seconds then continue? (if there is such a command as pause i have no idea how to script just read a tutorial today but im pretty intrigued and fascinated already).

Thanks for the script dude its awesome any answers will be gratefully received.

Steingraber
05-17-2012, 01:26 AM
Agree with previous comments. This is an awesome script and i've got from 40 range to 51 so far today (around 4 hours all babysat). Basically just wondering if there is a command such as
" If levelup = (true) then
Wait (2500 + Random(150) + Laggy);

Would that work to stop it from clicking after it gains the level to avoid it moving to back of the range OR would you need a different approach and possibly implement a pause function to pause the spamming part of the script for say 5 seconds then continue? (if there is such a command as pause i have no idea how to script just read a tutorial today but im pretty intrigued and fascinated already).

Thanks for the script dude its awesome any answers will be gratefully received.

Agreed. Unless that is part of the Anti-leech I can't understand why after my character levels up it runs behind the range.

EDIT: WOW nevermind... i got it

phuzionz
05-17-2012, 07:55 AM
I get this:


Exception in Script: Unable to find file 'SPS/SPS.simba' used from ''
Exception in Script: Unable to find file 'SPS/SPS.simba' used from ''
[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] C:\Simba\Includes\SPS/SPS.simba(300:3): Unknown identifier 'SPS_FilterMinimap' at line 299
Compiling failed.

Solkarin
05-17-2012, 08:43 AM
Does it work flawless?

jack1994
05-17-2012, 08:59 AM
Not gonna lie it's actually pretty funny. This is one of the simplest anti leech's I've seen and really you should be able to understand without help or advice, good luck

Would be nice for some one to post something so people can learn though ? isn't that what you would rather than just stoping people alltogether.

dutchpower
05-17-2012, 09:38 AM
error :

[Error] (239:5): Unknown identifier 'CoursesDone' at line 238
Compiling failed.

Deus
05-17-2012, 09:40 AM
Would be nice for some one to post something so people can learn though ? isn't that what you would rather than just stoping people alltogether.

Read the thread, there's plenty of hints available.

the denman
05-17-2012, 11:56 AM
Agreed. Unless that is part of the Anti-leech I can't understand why after my character levels up it runs behind the range.

EDIT: WOW nevermind... i got it

care to elaborate how u ''got it''?

EDIT: is the walking behind the targets also a part of the anti leech or after making it not logout after 1 round of shooting the anti leech is 100% fixed?

Biggleswade
05-17-2012, 06:04 PM
looks good, i just can't seem to get the download done properly

agirmani
05-17-2012, 07:26 PM
The script wont start!

[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.

What should I do?

the denman
05-17-2012, 07:36 PM
......

biohazard96
05-17-2012, 08:19 PM
snip

jack1994
05-17-2012, 10:46 PM
After a very long time i saw the very simple compile error for the courses done i think haha
could someone help me with the client token and the repeating of the script so it doesnt log out after one

mid flows
05-17-2012, 10:52 PM
{you guys are making it harder than it looks}

Rezozo
05-18-2012, 01:32 AM
Though I can no longer use this script, would you guys mind not posting your 'Fixes' to the Anti-Leech put on this script.

It defeats the purpose.
~Pwn3dByJ03Y

bam92992
05-18-2012, 05:33 PM
nice script. although i am only averaging 25k/h at max. if the exp/hour is based on the level then that is most likely it seeing as how i'm ~45.

freaks out when i gain a level as well making it run to the back behind the targets. ill play with it a little to stop it but letting you know.

FifthDimension
05-18-2012, 05:41 PM
Please close this topic, every single post is a leecher complaining they can't solve the ANTI-LEECH MENTIONED IN THE OP...

Gucci
05-18-2012, 07:08 PM
Please close this topic, every single post is a leecher complaining they can't solve the ANTI-LEECH MENTIONED IN THE OP...

Well it can't be closed unless the thread creator requests it. Also as already stated there are enough hints here to help you figure it out, so don't expect help from Riyyi

prevence
05-18-2012, 08:28 PM
[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.

kyle123
05-18-2012, 11:02 PM
not sure if this is just me, but when running it runs for 1 game and then logs out? part of anti leech or just me doing something wrong?

Thanatos
05-18-2012, 11:19 PM
not sure if this is just me, but when running it runs for 1 game and then logs out? part of anti leech or just me doing something wrong?

Thats part of the anti-leech. Fix some more stuff and you should e good to go.

TheWord
05-18-2012, 11:48 PM
Can anyone help me fix this?

I have no idea how :/

Butigroove
05-18-2012, 11:53 PM
The thread has so many hints it's quite simple.

The bot runs great for me but when I level up it runs behind the targets and gets stuck. Am I doing something wrong or...?

admiralpwn2
05-19-2012, 12:04 AM
Tried for waaay to long can't get this shit to work and I'm not a fucking leecher but fuck this is so annoying.... I know it's supposed to be easy but I feel like an idiot. I have no experience at this stuff and I want to learn but can some one please PM me or something telling me what to do. I'm seriously about to cry... :'(

stuartroad
05-19-2012, 01:45 AM
wow i can't believe i cant fix this. the logout bit is screwing me and i have no idea :O read all the clues.. i will get it eventually -.-

Butigroove
05-19-2012, 03:25 AM
wow i can't believe i cant fix this. the logout bit is screwing me and i have no idea :O read all the clues.. i will get it eventually -.-

take a good look at the main loop, and what would make it stop after one run.

edit: so the last two level ups didn't run me behind the targets.... but every other one has lol

bam92992
05-19-2012, 05:17 AM
take a good look at the main loop, and what would make it stop after one run.

edit: so the last two level ups didn't run me behind the targets.... but every other one has lol

same.. it's random. sometimes it goes for a few levels and is fine but then randomly it messes up. i will most likely make a failsafe that walks back to the starting location when the dude says to stay within the fence. although that won't help when you go directly behind the targets.

or just a little pause when the level up thing pops up.

stuartroad
05-19-2012, 05:54 AM
take a good look at the main loop, and what would make it stop after one run.

edit: so the last two level ups didn't run me behind the targets.... but every other one has lol

lol i stared at it for hours! I really cant figure it... have to keep trying though!

bigbutts5
05-19-2012, 03:11 PM
^Simple to fix, look for logout functions to see where they are..Use control+F and search logout, that will not fix the problem but its a start.

cameo19
05-19-2012, 09:11 PM
how much money per hour u all makin with this script?

jhony6180
05-19-2012, 10:40 PM
hhmmm ... very new to scripting lol ... cant work out how to get it to play more than one round :/ can anyone help me please :) i have read the forum pages over and over looking for hints and i saw something about 5 hours 45/51 minutes limit ?? cant find it in sscript lol

EDIT:
is it anything to do with this lil bit here by any chance ?? any help would be appreciated :)

Logout;
Wait(RandomRange(600000,650000))
until(true)

smoshism
05-20-2012, 02:40 AM
For the people that are having issues with the anti leech, think about this: what is it doing after the first round? It's logging out. Ctrl-f logout and change something with the corresponding code.

As a side note, I went through and learned how to make my own script before I was able to get this thing working (moreless to figure out how the "main loop" thing worked). So please don't get frustrated. It's worth it (~6 hours of uptime error free @ 120k xp).

Rezozo
05-20-2012, 07:27 AM
Tried for waaay to long can't get this shit to work and I'm not a fucking leecher but fuck this is so annoying.... I know it's supposed to be easy but I feel like an idiot. I have no experience at this stuff and I want to learn but can some one please PM me or something telling me what to do. I'm seriously about to cry... :'(

Whoa there buddy, calm yourself. Take a look at this guys post:




For the people that are having issues with the anti leech, think about this: what is it doing after the first round? It's logging out. Ctrl-f logout and change something with the corresponding code.

As a side note, I went through and learned how to make my own script before I was able to get this thing working (moreless to figure out how the "main loop" thing worked). So please don't get frustrated. It's worth it (~6 hours of uptime error free @ 120k xp).

jhony6180
05-20-2012, 01:33 PM
ok looked through this code for the last 2 days ... got the script to play 1 round of the competition .. then it logs me out ... i have read through the forum page too and seen everyone saying search logout ... done this around 100 times and still cant see whats wrong .... im very very new to scripting and have looked at like 3 diff tutorials and still cant figure it out .... can anyone please message me and offer some help please :) it would be very appreciated :)

thanks in advance


EDIT: HA!! i found it !!! only prooblem is tho now ... it stops clicking the arrows in the invent after a while ..... i dunno weather or not this is part of the anti leach or just the script going all fucky coz i deleted summink wrong :S and im gonna be nice and give the peeps struggling with logout a better clue .....

when everyone is saying search logout ....

use CTRL+F to find all 3 yes 3 examples of logout in the script ... write them all down on a piece of paper .... and SPOT THE DIFFERENCE ... <<< that method really helped me figure it out :) once u got that sorted it runs flawlessly apart from the whole not clicking arrows .... but thats prolly me deleting wrong things :)

all in all ... nice script and good fun to get it working lol if this was on facebook i would so click like

Rezozo
05-20-2012, 06:54 PM
Runs flawlessly apart from the whole not clicking arrows .... but thats prolly me deleting wrong things :)

Happens a lot, probably not you.

Posted this some time ago, see if it helps:

http://villavu.com/forum/showthread.php?p=998106#post998106

This goes for all who have

jhony6180
05-20-2012, 07:33 PM
Happens a lot, probably not you.

Posted this some time ago, see if it helps:

http://villavu.com/forum/showthread.php?p=998106#post998106

This goes for all who have

thanks allot :) seems to be running fine now :) i equiped an extra 7k arrows just in case but looks fine now :)

thought id done something wrong first time i had to fix a script to use it in like 8 years lol

apparently my time before logout debug line likes to think ts -42 seconds before logout allot too lol

[~~~~~~RangeGuilder by Riyyi - Version 1.23~~~~~]
Time Running : 1 Minutes and 48 Seconds
XP Gained : 300
XP Per Hour : 9900
Courses Done : 1
Tickets Gained : 60
Time Until Logout : -23 Seconds <<<<< there it is lol but its -23 this time :S
[~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~]

University
05-20-2012, 09:12 PM
For me the fail safe walking does not work. I checked all the coordinates and walking paths. The error might have to do with the "incords" function.

jhony6180
05-20-2012, 09:34 PM
anyone have the trouble with level-ups ... ?? when i lvl up my dude just seems to fuck off n attaack the neerest guard n almost get killed lmao dragon armour dont seem too affective against bows :S

University
05-20-2012, 09:37 PM
anyone have the trouble with level-ups ... ?? when i lvl up my dude just seems to fuck off n attaack the neerest guard n almost get killed lmao dragon armour dont seem too affective against bows :S

The failsafes need work. I do not get the issue attacking guards, instead my character runs behind the targets.

jhony6180
05-20-2012, 11:05 PM
The failsafes need work. I do not get the issue attacking guards, instead my character runs behind the targets.

lmao i have had that one too :)

i still also cant fix the time until logout timer either :/ for some reason it just says a negative number not left it going more than 5 hours yet because it just runs off after 5 mins then logs out anyways lol

Rezozo
05-21-2012, 01:31 AM
The failsafes need work. I do not get the issue attacking guards, instead my character runs behind the targets.


lmao i have had that one too :)

i still also cant fix the time until logout timer either :/ for some reason it just says a negative number not left it going more than 5 hours yet because it just runs off after 5 mins then logs out anyways lol

To both of you- It happens because of the 'Spamming Target', sometimes causing it to miss-click.

Kraze
05-21-2012, 03:59 AM
Wow, fixing that was surprisingly easy... I have no experience scripting with Simba, only Java...

Physic
05-21-2012, 05:13 AM
great script, but sometimes screws up, some failsafes, as mentioned b4, would be rlly nice

Gucci
05-21-2012, 05:20 AM
When I get onto a computer I'll post a failsafe that'll help it return to the same position if it runs away. Of course I will not be adding to the code for you guys that you'll have to do yourselves

Butigroove
05-21-2012, 07:06 AM
When I get onto a computer I'll post a failsafe that'll help it return to the same position if it runs away. Of course I will not be adding to the code for you guys that you'll have to do yourselves

thanks you're a boss. i was going to copy another scripts running failsafe but I really am a retard at these things.

and even I could understand the antileech on this lol...

University
05-21-2012, 01:07 PM
I created a walking fail safe but I get "Type mismatch" error at line 6 when compiling.


procedure GetIntoPos;
var
myPath:TPoint;
begin
if OutsideRange then
myPath := [Point(2519, 2977)];
SPS_WalkToPos(myPath);
end;

admiralpwn2
05-21-2012, 06:04 PM
I F****ING DID IT MOTHER F***ERS!!!!! finally!

Gucci
05-21-2012, 06:14 PM
I created a walking fail safe but I get "Type mismatch" error at line 6 when compiling.


procedure GetIntoPos;
var
myPath:TPoint;
begin
if OutsideRange then
myPath := [Point(2519, 2977)];
SPS_WalkToPos(myPath);
end;

Well you have to set OutsideRange first so that probs won't work

Here is the failsafe ;)

procedure FailSafe2;
var
Z:TPoint;
begin
Z:= SPS_GetMyPos;
if (Not (Distance(Z.X, Z.Y, x, y) < 20)) then//Change the 25 to whatever you want your distance checking to be.
begin
SPS_WalkToPos(Point(x, y)); // Put in coordinates for T-Point here
end;
end;

Rezozo
05-21-2012, 07:32 PM
Well you have to set OutsideRange first so that probs won't work

Here is the failsafe ;)

procedure FailSafe2;
var
Z:TPoint;
begin
Z:= SPS_GetMyPos;
if (Not (Distance(Z.X, Z.Y, x, y) < 20)) then//Change the 25 to whatever you want your distance checking to be.
begin
SPS_WalkToPos(Point(x, y)); // Put in coordinates for T-Point here
end;
end;

Nice!

Emotional
05-22-2012, 04:21 PM
why does it log out, after 1 course is done? i fixed the Anti-Leech, did i mess something up..?

BigRedJapan
05-22-2012, 04:42 PM
yea theres something with the loop! i just gave up on that! not good with loops!

University
05-22-2012, 06:08 PM
procedure FailSafe2;
var
Z:TPoint;
begin
Z:= SPS_GetMyPos;
if (Not (Distance(Z.X, Z.Y, x, y) < 20)) then//Change the 25 to whatever you want your distance checking to be.
begin
SPS_WalkToPos(Point(x, y)); // Put in coordinates for T-Point here
end;
end;

This only works if the player is close to the point. When the player is behind the targets this does not work. I am going to use ObjectDTM hopefully I can get it working.

neper
05-22-2012, 07:48 PM
is this working? cause i got 14 days trial and i wanna get 90-96 ranged

gmkizzle
05-25-2012, 06:20 AM
Can someone tell me... is this script working?
I believe I fixed the anti leach, but the script just stops after like 10 mins...

omfgMIKE
05-25-2012, 12:20 PM
Can someone tell me... is this script working?
I believe I fixed the anti leach, but the script just stops after like 10 mins...

The script works great. I've been using it for about a month now. Perhaps you didnt fix the full anti-leech. Your player will run behing the targets quite often so you'll have to babysit it.

gmkizzle
05-25-2012, 01:47 PM
okay sweet. the script is working fine for me now, didn't fully understand the anti-leech.
but you are right, you have to babysit, walking behind targets is a bitch, that should be fixed..

Franju
05-25-2012, 08:17 PM
this works?

Thanatos
05-25-2012, 08:52 PM
this works?

It works if you fix the compiling error and the mainloop anti leeches

defjam
05-26-2012, 05:35 AM
Love it! Very nice script :)

[~~~~~~RangeGuilder by Riyyi - Version 1.23~~~~~]
Time Running : 3 Hours, 26 Minutes and 56 Seconds
XP Gained : 113320
XP Per Hour : 32846
Tickets Gained : 22664
Time Until Logout : 2 Hours, 21 Minutes and 40 Seconds
[~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~]

akash22
05-27-2012, 02:38 AM
Hey guys i really cant figure this anti leech out and its been 2 days since im trying to do it and reading tutorials. help pls

omfgMIKE
05-27-2012, 07:44 AM
Hey guys i really cant figure this anti leech out and its been 2 days since im trying to do it and reading tutorials. help pls

Wish I could help but that would take the whole point of the anti-leech away. Theres tons of tips on this thread, you should also be able to figure it out with the tutorials. Its actully one of the more simple anti-leeches around. Goodluck!

omfgMIKE
05-27-2012, 07:47 AM
is this working? cause i got 14 days trial and i wanna get 90-96 ranged

This script definitely works if you can figure out the anti-leech. As for getting 90+ range with a 14 day trial, I dont believe that is possible. You'd have to sit there and babysit the script pretty much all day everyday throughout the whole trial to reach 90+. I reached level 81 with the 14 day trial, running it about 7-8 hours a day or so. Goodluck!

aggorance
05-27-2012, 06:38 PM
Great work!

akash22
05-27-2012, 09:10 PM
Hey Riyyi thanks for that post saying

You know what the main loop is?
It's the last begin>end, and the end closes with a '.' instead of a ';'.
The loop stops itself after 1 round, therefore check what the mainloop does.
You will find that it has 2 repeats in it.

1 for the 'main loop' that shoots the targets and stuff, that stops after:
TimeFromMark(ClientTokenLogout) < CTLRandom
Then you check those variables and you should be able to fix it.

The second loop is after you logout and wait, then it starts from the beginning (to prevent the ClientTokenFailure),
but it has until(true) which means just once, fix that also.

That's it, hope this helps you.



It helped me a bunch and ill be posting a proggy soon.
Thanks!


PS: Is it possible that you could add a xp counter?

akash22
05-28-2012, 02:08 AM
Proggy:
[~~~~~~RangeGuilder by Riyyi - Version 1.23~~~~~]
Time Running : 1 Hours, 2 Seconds
XP Gained : 23065
XP Per Hour : 0
Tickets Gained : 4618
Time Until Logout : 4 Hours, 46 Minutes and 24 Seconds
[~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~]


First of all great script.
The problem is that in one hour i had to babysit the bot and it would go behind targets like 6-8 times.
And is there a way to speed up the script?
Also sometimes the bot will get stuck on this interface and instead of pressing 'x' it keeps moving around

http://www.freeimagehosting.net/t/guwnn.jpg (http://www.freeimagehosting.net/guwnn)

benjamham
05-28-2012, 09:20 AM
it took me a while to figure out the anti-leech but once i found it, i had a facepalm moment cos i realised how easy it was. trying the script now, it looks very promising

stuartroad
05-28-2012, 11:32 AM
fk your anti leech, your comment mislead me, it is not in the mainloop procedure....

totally hit my head on desk when I saw it though.

Orc knight53
05-28-2012, 11:48 AM
-Anyone worked a fully working failsafe to stop it screwing around behind the targets?
-Btw guys thx for all the post regarding the antileach, (note to peeps who are still trying: read through all the posts that have been made, they almost tell you word for word what to do and what to change lol, if still can't get it just take your time read the tutorials in tutorial island section)
-To Riyyi this is a great script you have made, I love how it has antileach because it made me get involved with the conversation and read up on some tutorials, if possibly have time in the next update, I know your very busy do you think you could please implement a failsafe for the going behind the targets issue, thankyou :)

akash22
05-28-2012, 06:48 PM
For all the people who can't figure the anti-leach.

Read the whole script, somewhere a code stops the mainloop to repeat.
Some obvious errors.(need basic knowledge)
Just watch YoHoJo's tutorials.

After watching this video, I easily figured out the problem.
http://www.youtube.com/watch?v=pMMejhyjGwI&feature=plcp

Don't watch the video just for the anti-leach.
Watch it for basic knowledge.

This script is totally worth it.

PS: For the player running behind the targets, maybe i have a solution.You could make it so every 5 minutes the player clicks on a white dot in the minimap as not all bots will run behind the target at the same time.

Tryskelion91
05-29-2012, 12:21 AM
I did a powerful facepalm when I found the anti-leach! Awesome script BTW!

RossR
05-29-2012, 04:42 PM
i totally give up ive pent 1 day looking at tutorials on this :( i have no idea all i see is a load of garbage nvm

Gurgleas
05-29-2012, 05:41 PM
Lol, best anti-leech ever!

RossR
05-29-2012, 07:45 PM
wow that was easy to solve! dohh! excellent script thanks!

akash22
05-29-2012, 08:12 PM
wow that was easy to solve! dohh! excellent script thanks!


Took me two days. LOOL

RossR
05-29-2012, 08:21 PM
ive ran into a problem :( i leveled up and it just ran behinde the targets how do i fix this?

Tryskelion91
05-30-2012, 01:22 AM
Not fixed yet I think.

xsomix
05-30-2012, 02:01 AM
I dont wan't to be a leecher but could anyone help me out on anti-leech. I would love to learn more about scripts but can't find the time between school and sports, thanks.

RossR
05-30-2012, 08:23 AM
I dont wan't to be a leecher but could anyone help me out on anti-leech. I would love to learn more about scripts but can't find the time between school and sports, thanks.

Read the posts...youll facepalm your self when you get it.

flotin
05-30-2012, 06:29 PM
does this script still work? i fixed this anti leach. it compiles, my character equips the arrows, then the view just turns in circles and never clicks the target. it then posts the proggy about every ~ 10 seconds over and over. it will also right click the judge after it started the competition and appear to try to start it again. any help?

guid000
05-30-2012, 08:17 PM
does this script still work? i fixed this anti leach. it compiles, my character equips the arrows, then the view just turns in circles and never clicks the target. it then posts the proggy about every ~ 10 seconds over and over. it will also right click the judge after it started the competition and appear to try to start it again. any help?

Yes the script still works but not flawlessly.... I'm not saying that it is not a good script or that I can do it better because I cannot do it better, but you have to kinda babysit this script sometimes. When I level up it runs behind the targets and I have to fix it myself in order to get the script to run correctly again. Also it sometimes clicks behind the targets and again you will have to fix it yourself. It also sometimes miss clicks on a guard and starts killing it. Overall i like the script a lot but it would be nice if these things got fixed.

I don't know how to fix your problem though, sorry.

Thank you for the script btw!!! I also like the anti-leech

pwnedchoo
05-31-2012, 04:17 AM
only problems ive had so far is that it sometimes fails to equip the bronze arrows and just spams the traget nonstop also it either attacks the guard behind the target or runs behind target and waits. other than babysitting nice one :)

stuartroad
05-31-2012, 05:31 AM
only problems ive had so far is that it sometimes fails to equip the bronze arrows and just spams the traget nonstop also it either attacks the guard behind the target or runs behind target and waits. other than babysitting nice one :)

Arrows problem is easily fixed by just having at least 10 arrows already equipped.

melee
05-31-2012, 01:27 PM
Read whole thread and watched tutorial video and got 2/3 parts done. I am screwing up on the repeat part to get my character to retalk to the judge. Any help?

chrisman
05-31-2012, 01:32 PM
I dont know about anyone else but if you cant get this to work because of the anti leach you could always download ghost controll face the direction were you can see the judge and the boards and do 1 proccess then you can edit it to do it slower faster and move the mouse to differtent spots around a target you set so realy you dont need this if you cant fix it.



And also ive been using ghost controll since 60 range and now im 87 used it for about 2 weeks never failed yet.


Ahh yes and also i would highly reccomend adding breaking for every hour or so for a minimum of 5 minutes as still you can be caught botting but with colour its very rare. so 5 minutes ever hour isnt realy going to do much damage to your xp but make it even harder to get caught :)

xBiO
05-31-2012, 05:01 PM
okk... so fuck you and the anti leech i fixed it finally >.< and secondly is where the bot closes the window part of the anti leech and is there a hint on how to get it to run past 5 hours?

also why does it run behind targets after every level up?

Deni_mulic
06-02-2012, 04:54 AM
pro tip, that fix you made is completely irrelevant if you want it to run forever and have SMARTmanager kill it for you

Also,


Well you have to set OutsideRange first so that probs won't work

Here is the failsafe ;)

procedure FailSafe2;
var
Z:TPoint;
begin
Z:= SPS_GetMyPos;
if (Not (Distance(Z.X, Z.Y, x, y) < 20)) then//Change the 25 to whatever you want your distance checking to be.
begin
SPS_WalkToPos(Point(x, y)); // Put in coordinates for T-Point here
end;
end;
SPS has too much non-determinism in the Ranged-Guild for this approach to work accurately, ObjDTM clicking on an icon, setting north and mouse clicking is the most accurate thing I could implement...

Edit: took an hour of checking and running boundary cases to fix, but I've managed to get it walking back 100% and ~40k exp/hr at 70 ranged over 3 hours using the above described fix. good luck all :)

shpat
06-02-2012, 09:55 PM
Have you considered that some people do not understand scripting?
IF the standing of the whole forum is to only allow scripters to use Simba, then please let me know so I can switch clients.
If not so, then help me fix the damn anti-leech or whatever it means.

Thanatos
06-02-2012, 10:17 PM
Have you considered that some people do not understand scripting?
IF the standing of the whole forum is to only allow scripters to use Simba, then please let me know so I can switch clients.
If not so, then help me fix the damn anti-leech or whatever it means.

Do you realize how easy it is to just go and look at some of the tutorials? Stop whining and do something productive. Anti-leeches make you learn. I'm sorry you too stupid to figure it out.

ClasicPKname
06-03-2012, 05:09 AM
I tried opening this bot, but instead got this:

[Error] (239:5): Unknown identifier 'CoursesDone' at line 238
Compiling failed.

TedreSwag
06-03-2012, 01:27 PM
[~~~~~~RangeGuilder by Riyyi - Version 1.23~~~~~]
Time Running : 1 Seconds
XP Gained : 0
XP Per Hour : 0
Courses Done : 0
Tickets Gained : 0
[~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~]
Successfully executed.


wtf,did
ido
wrong?

Thanatos
06-03-2012, 01:35 PM
I tried opening this bot, but instead got this:

[Error] (239:5): Unknown identifier 'CoursesDone' at line 238
Compiling failed.

You realize theres an anti-leech right?

peetu
06-04-2012, 02:45 PM
Lol @ the anti-leech, I was prepared for hours of struggle but instead it took me 2 seconds.

peetu
06-04-2012, 02:48 PM
For all the people who can't figure the anti-leach.

Read the whole script, somewhere a code stops the mainloop to repeat.
Some obvious errors.(need basic knowledge)
Just watch YoHoJo's tutorials.

After watching this video, I easily figured out the problem.
http://www.youtube.com/watch?v=pMMejhyjGwI&feature=plcp

Don't watch the video just for the anti-leach.
Watch it for basic knowledge.

This script is totally worth it.

PS: For the player running behind the targets, maybe i have a solution.You could make it so every 5 minutes the player clicks on a white dot in the minimap as not all bots will run behind the target at the same time.


That would be stupid; standing behind the targets for several minutes. It could be done so that if it doesn't find the target AND the judge, it would walk back to where it was.

Just my 2 cents

Deni_mulic
06-05-2012, 03:06 AM
That would be stupid; standing behind the targets for several minutes. It could be done so that if it doesn't find the target AND the judge, it would walk back to where it was.

Just my 2 cents

That's already in the code, SPS just doesn't work well in Ranged guild.

Gushers
06-06-2012, 07:15 PM
Okay so I'm not a leecher and I don't want to be a leecher but I've been sitting here looking at this script and I just have no clue what to do with "CoursesDone := (CoursesDone + 1);" ... I've made a few scripts so I know a thing or two about pascas but I just can't find the solution here. Can somebody redirect me to a tutorial at least, because honestly I dont even know what to tutorial to look for.
PS: I'm not looking for the answer, I would just like some direction on how to fix it.

thomas1116
06-06-2012, 09:02 PM
nice i made it start, but ima go to bed so test tomorrow early :P

Gushers
06-07-2012, 09:16 AM
Okay I got the anti-leech done. Now it only runs once and logsout, does anybody know how to fix this?

Deus
06-07-2012, 09:25 AM
Okay I got the anti-leech done. Now it only runs once and logsout, does anybody know how to fix this?

You haven't completely fixed the anti-leech.

That is part of it :bart:

Thanatos
06-07-2012, 06:30 PM
Okay I got the anti-leech done. Now it only runs once and logsout, does anybody know how to fix this?

There are two anti-leeches. One has to do with the compiling error the other is with the main loop. You fixed the compiling error now you have to figure out the main loop anti-leech.

Gushers
06-08-2012, 01:40 AM
Haha alright I got both anti-leechs out and the script is running :D It really helps when you know how many anti-leechs there are!
Now one more question:
What is this and do I need it? "(TimeFromMark(ClientTokenLogout) < CTLRandom)"
I got it running without it but I'm just curious to what it is, so I know for the future.

Skyx
06-10-2012, 07:49 AM
Haha alright I got both anti-leechs out and the script is running :D It really helps when you know how many anti-leechs there are!


I'm reading the tutorial now...
I am currently learning how bad leeching hurts the scriptors + rs :o. Who knew?



but beside that..yes, unless you are pretty knowledgeable, I don't see any real way the second main loop error would have been found by a noob like me unless someone pointed it out.:fiery:

But please excuse my newbish innocence... i will have it done soon :D




edit: OK, i think i removed both anti leeches... but i'm having a problem...

After the end of every round; it waits a little bit, toggles the exp button two times and hits the compass as it did when it was started up.. it then shuts off the script but does not log out/exit the client... can someone help me out?

Gushers
06-11-2012, 11:34 PM
After the end of every round; it waits a little bit, toggles the exp button two times and hits the compass as it did when it was started up.. it then shuts off the script but does not log out/exit the client... can someone help me out?

Well since you helped me, I suppose I can help you... :D
Okay, I had to mess with the script to get it running correctly. Such as changing stuff in the main loop to where it wouldn't redo everything and logout and all the jazz. So just message me saying "Hi" or whatever and I'll reply with the direction on how to make it work. But remember I'm not going to give it to you, I will help MAJORLY though because I got this amazing script, by the way thank you Riyyi working for hours and hours, I just had to make some minor changes. It's like he set it up and we have to fix some minor things to make it workable :D Very smart guy.

Oyoung
06-11-2012, 11:51 PM
Finally cracked the anti-leech, ye ye (I am a noob)

Will run this script through the day and post a proggy when I get home.

Abusch2013
06-13-2012, 04:42 PM
Why spend time fixing anti leech when I can go over to powerbot and set the thing up in 3/4's of a second?

/facepalm

If you couldn't tell im not a scripter and never will be. pz

yvan49
06-13-2012, 05:29 PM
I found the first anti-leech but i cant find the main loop anti leech

updated: finally got it to work... wasnt that hard.. Thanatos mislead me with the main loop
Only one problem is that sometimes it doesnt attach the arrows and then it skips attaching the arrows and starts clicking the target

yvan49
06-13-2012, 07:11 PM
finally got it to work... wasnt that hard.. Thanatos mislead me with the main loop

tommidd
06-18-2012, 01:23 PM
Ummmmm, does one round then logs out :/

lorenzo
06-22-2012, 12:46 PM
[Error] (239:5): Unknown identifier 'CoursesDone' at line 238
Compiling failed.

sarmetto
06-24-2012, 09:37 AM
Alright so after spending about 15 minutes looking over this thread and looking at the script, i finally figured it out. I'm so easily frustrated when it comes to this sort of thing, but I managed to get it working. I'll post a proggy when I get the chance!

Deni_mulic
06-26-2012, 03:36 PM
5.25m exp gained so far, had to rewrite 25% of the script first for my liking.

cadetlarouche
06-28-2012, 09:39 AM
Thought that I could swoop in and leech this script but having to learn and fix the issue challenged me and I had fun doing so. Anyway, I solved the anti-leeches and the script works like a charm! Might start giving back to the community now :P

ali radi
07-02-2012, 06:50 PM
what an easy anti-leech....

will post proggy soon

Ala
07-07-2012, 04:20 AM
I won't click the arrows. :< I just start trying to shoot.
It's a bit frustrating.

Creativity
07-08-2012, 01:52 PM
Managed to fix it, working now.

beats-
07-10-2012, 10:04 AM
lol. You guys must be like 13 years old.. Simple to fix. N i have no idea how to script

Senesence
07-10-2012, 06:48 PM
Ranging Guild is having a very high ban rate atm :(

Peanuts
08-03-2012, 08:36 AM
Ranging Guild is having a very high ban rate atm :(

I've botted 4 pures to 70 range in the last few weeks..

0 bans.



Loving this script Ryii.

keapor
08-07-2012, 06:41 AM
For all the people who can't figure the anti-leach.

Read the whole script, somewhere a code stops the mainloop to repeat.
Some obvious errors.(need basic knowledge)
Just watch YoHoJo's tutorials.

After watching this video, I easily figured out the problem.
http://www.youtube.com/watch?v=pMMejhyjGwI&feature=plcp

Don't watch the video just for the anti-leach.
Watch it for basic knowledge.

This script is totally worth it.

PS: For the player running behind the targets, maybe i have a solution.You could make it so every 5 minutes the player clicks on a white dot in the minimap as not all bots will run behind the target at the same time.

Thank you so much man once i finished watching the video i instantly knew what to fix. Also inspired me to start scripting. Thank you man

furion_pwnage
08-08-2012, 05:05 AM
Okay, just a quick question. What is the keyboard command to find out exactly what a procedure does in Simba? I've never seen StatsGuise, and was just wondering what it was.

Due to the Great proggies, and this anti leech I started looking into this script and going through a couple tutorials. Curse you Riyyi, you've made me interested in scripting! I still have to find out how to make it repeat the main loop, but I'm getting there!

Edit: What are you guys doing to fix the "sometimes not equipping arrows" deal?

Peanuts
08-08-2012, 09:38 AM
Okay, just a quick question. What is the keyboard command to find out exactly what a procedure does in Simba? I've never seen StatsGuise, and was just wondering what it was.

Due to the Great proggies, and this anti leech I started looking into this script and going through a couple tutorials. Curse you Riyyi, you've made me interested in scripting! I still have to find out how to make it repeat the main loop, but I'm getting there!

Edit: What are you guys doing to fix the "sometimes not equipping arrows" deal?

StatsGuise is like Writeln... Except it doesn't type in at the debug box.
Try it out and see.

You can type functions into the window on the left hand side and see what the functions do though there isn't anything for statsguise..

Just equip 500+ bronze arrows to your character. :) problem solved.

furion_pwnage
08-08-2012, 03:53 PM
Thanks Peanuts!

Edit: Finally figured it out. Thanks to reading some posts from Riyyi in this thread. Looking forward to posting a phat proggy soon. Thanks!

Also, for anyone running this script, I found this on rune Wiki, which might be of help (it was to me)

"Where you click on the target does not affect where the arrow hits the target, but your accuracy (and thus your score) is affected by the quality of your equipment, whether you are wearing armour, and your ranged level.

The quality of your hits are also depending on the combat style you are using with your bow. Accurate is of course the best choice to use. "

[~~~~~~RangeGuilder by Riyyi - Version 1.23~~~~~]
Time Running : 2 Hours, 6 Minutes and 26 Seconds
XP Gained : 0
XP Per Hour : 0
Courses Done : 229
Tickets Gained : 14951
Time Until Logout : 3 Hours, 39 Minutes and 37 Seconds
So, make sure to be set to accurate.

Peanuts
08-21-2012, 08:04 AM
few tweaks and it runs amazing.

[~~~~~~RangeGuilder by Riyyi - Version 1.23~~~~~]
Time Running : 5 Hours 30 minutes
XP Gained : 215325
XP Per Hour : 39150
Courses Done : -4543
Tickets Gained : -14000
Time Until Logout : 34 Minutes and 16 Seconds
[~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~]

Don't mind the - ones.. i was just messing with script.. forgot i didn't put it back 0.o

Solar
08-21-2012, 08:42 AM
Is this script really that safe? In the MainLoop there are Mouse commands, which I thought were easily detectable. And is this really random enough?
KeyDown(49);
Wait(20+random(20));
KeyUp(49);
Wait(1500);
KeyDown(49);
Wait(20+random(20));
KeyUp(49);
Is this what the OP meant by saying check the main loop?

Peanuts
08-21-2012, 10:09 AM
The main loop has antileech..

The mouse commands are just clicks..

It's more moving mouse to a location with mouse commands that is the killer?
Right?

I did mess with those waits.. I also thought they weren't that random

Solar
08-21-2012, 10:24 AM
I haven't actually tried running it yet.
And I just looked at the mouse include, the Mouse command isn't what I though, but it does move the move and click, not just click.
I just like checking for anti-leech and trying to correct it to see if I can. Will try to actually make a good script in the near future hopefully.

QQu
08-21-2012, 12:10 PM
I modded most of the script. Might release it in the SRL members forum if its okay with Riyyi or i'll just make my own and release.

Mmmkile
08-24-2012, 10:55 PM
Script is still flawless without any modifications other than the anti leech. Good job Riyyi!


Also FYI if you look at the previous posts he tells you exactly how to do the anti leech!

XD

Archmageix
08-31-2012, 02:57 PM
i get this tho?????
[Error] C:\Simba\Includes\SRL/SRL/misc/SMART.simba(46:19): Invalid number of parameters at line 45
Compiling failed.

Footy
08-31-2012, 03:00 PM
You need to update the script. Google your error, and you will find the answer easily.

Archmageix
08-31-2012, 03:05 PM
-.- i have googled it

Footy
08-31-2012, 03:11 PM
You didn't look hard enough.
Google this: [Error] C:\Simba\Includes\SRL/SRL/misc/SMART.simba(46:19): Invalid number of parameters at line 45
The first result will fix your error.

Archmageix
08-31-2012, 03:22 PM
-.- that dident come up b4 ty now to try and figure the anti leech =[

Footy
08-31-2012, 03:30 PM
Good luck! If you can't figure it out, head over the the scripting tutorial section. Look over a few tuts, and see if you can solve it then.

Archmageix
08-31-2012, 03:34 PM
well i think iv sorted it but now i get this =[

[Hint] C:\Simba\Includes\SRL/SRL/core/antirandoms\randomtool.simba(215:3): Variable 'T' never used at line 214
[Error] (233:9): Identifier expected at line 232
Compiling failed.

Footy
08-31-2012, 03:41 PM
I'd give you a hint, but I can't see the script on my phone. Can you post the line with the error, and 10 lines before and after the error? Don't forget to put it in [SIMBA] tags.

Archmageix
08-31-2012, 03:43 PM
if FindObjEx(x, y, ['arget'], [5041405, 5238269], 7, 31, MSX1, MSY1, 375, 65) then
ClickMouse2(False);
Wait(200 + Random(150));
ChooseOptionEx('arget', 'object');
Wait(2400 + Random(150) + Laggy);
MMouse(487, 42, 3, 3);
Wait(550 + Random(150) + Laggy);
if IsUpText('lose') then
ClickMouse2(True);
repeat;
end;
if FindObjTPA(x, y, 1845548, 11, 2, 15, 15, 50, ['ition']) or
FindObjTPA(x, y, 2702911, 13, 2, 15, 15, 50, ['ition']) then
Mouse(x, y, 5, 5, False);
WaitOption('to C', 500);
end;

CoursesDone := (CoursesDone + 1);
end;

procedure Proggy;
var

i think these are the simba tags
{$DEFINE SMART}
{$DEFINE SPS}
{$DEFINE SMART}
{$i SRL/SRL.simba}
{$i SPS/SPS.simba}

Footy
08-31-2012, 03:45 PM
SIMBA tags means surround the code in [SIMBA] Tags. Let me look through this, one second.
E:Can you post the entire function/Procedure containing the error, and put it in SIMBA tags?

Archmageix
08-31-2012, 04:11 PM
procedure MainLoop;
var
i, Timer : Integer;
Judge, Judge2, RoundFin : Boolean;
myPath: TPointArray;
begin
StatsGuise('MainLoop');

if FindNormalRandoms then
if not LoggedIn then
Exit;

StatsGuise('Finding Judge');
repeat
MarkTime(Timer);
repeat
if FindObjTPA(x, y, 1845548, 11, 2, 15, 15, 50, ['ition']) or
FindObjTPA(x, y, 2702911, 13, 2, 15, 15, 50, ['ition']) then
begin
Mouse(x, y, 5, 5, False);
Wait(200 + Random(150) + Laggy);

if OptionsExist(['mpete'], Nothing) then
begin
Judge := True;
ChooseOption('mpete');
end else
Judge2 := True;
end else
begin
Mouse(266, 136, 10, 30, False);
if WaitOption('mpete', 500) then
Judge := True;
end;
until((TimeFromMark(Timer) > 20000) or Judge or Judge2);

if TimeFromMark(Timer) > 20000 then
begin
if not InCords(2510, 2965, 2545, 2990) then
myPath := [Point(2554, 2927), Point(2542, 2935), Point(2534, 2947), Point(2524, 2955), Point(2515, 2963), Point(2515, 2982)];
SPS_WalkPath(myPath);
ClickNorth(1);
MakeCompass(35 + Random(5));

if FindObjTPA(x, y, 1845548, 11, 2, 15, 15, 50, ['ition']) or
FindObjTPA(x, y, 2702911, 13, 2, 15, 15, 50, ['ition']) then
Mouse(x, y, 5, 5, False);
Wait(200 + Random(150) + Laggy);
if WaitOption('to C', 500) then
Judge2 := True;
end;
until (Judge or Judge2)

StatsGuise('MainLoop');
Wait(800 + Random(150));

if Judge then
begin
KeyDown(49);
Wait(20+random(20));
KeyUp(49);
Wait(1500);
KeyDown(49);
Wait(20+random(20));
KeyUp(49);

Wait(800 + Random(150) + (Laggy * 2));
If PinScreen Then
begin
StatsGuise('Enter pin...');
InPin(Players[CurrentPlayer].Pin);
end;

ArrowDTM := DTMFromString('mggAAAHicY2NgYOACYhEgFgBiXiDmYIAAZi gN4vMDsTCUdtEA6WDCwCIM2AEjDgwBAGIcASA=');
If FindDTM(ArrowDTM, x, y, MIX1, MIY1, MIX2, MIY2) Then
begin
Mouse(x, y, 5, 5, True);
end;
FreeDTM(ArrowDTM)
end;

if not RightClickMethod then
begin
StatsGuise('Spamming Targets');
MarkTime(Timer);
repeat
if FindColorTolerance(x, y, 4310482, 230, 162, 296, 219, 11) then
MMouse(487, 42, 5, 5);
Wait(600);
if IsUpText('lose') then
ClickMouse2(True);

if FindObjEx(x, y, ['arget'], [5041405, 5238269], 7, 31, MSX1, MSY1, 375, 65) then
repeat
ClickMouse2(True);
Wait(RandomRange(15, 40));
if FindNPCChatText('orry', Nothing) then
RoundFin := True;
until(not IsUpText('-at') or RoundFin);
until(RoundFin or (TimeFromMark(Timer) > 40000));

if TimeFromMark(Timer) > 40000 then
begin
if not InCords(2510, 2965, 2545, 2990) then
myPath := [Point(2554, 2927), Point(2542, 2935), Point(2534, 2947), Point(2524, 2955), Point(2515, 2963), Point(2515, 2982)];
SPS_WalkPath(myPath);
ClickNorth(1);
MakeCompass(35 + Random(5));
end;
end;

if RightClickMethod then
begin
StatsGuise('Shooting Targets');
for i := 1 to 10 do
begin
if FindObjEx(x, y, ['arget'], [5041405, 5238269], 7, 31, MSX1, MSY1, 375, 65) then
ClickMouse2(False);
Wait(200 + Random(150));
ChooseOptionEx('arget', 'object');
Wait(2400 + Random(150) + Laggy);
MMouse(487, 42, 3, 3);
Wait(550 + Random(150) + Laggy);
if IsUpText('lose') then
ClickMouse2(True);
repeat;
end;
if FindObjTPA(x, y, 1845548, 11, 2, 15, 15, 50, ['ition']) or
FindObjTPA(x, y, 2702911, 13, 2, 15, 15, 50, ['ition']) then
Mouse(x, y, 5, 5, False);
WaitOption('to C', 500);
end;

CoursesDone := (CoursesDone + 1);
end;

alskinso
09-01-2012, 06:37 PM
OK so ive tried to play around with anti-leach read loads of these comments and im still clueless ;( plz someone help me i really need this awesome script, ive read a few of the stuff on tutorial island but its still not working right

sorry for being a noob, and help greatly appreciated

dickey
09-23-2012, 01:10 AM
there seems to be an error in line 45 and 54. not enough parameters or something of the sort. any help?

[edit] OK I got the problem in line 45 resolved it seems but the one in line 54 still persists.

[Error] C:\Simba\Includes\SRL/SRL/misc/SMART.simba(55:19): Invalid number of parameters at line 54
In the line it says SmartSendKeys(S);
someone please help

Parfilo
10-13-2012, 05:59 AM
So I got the script to work, but how do I make the main loop repeat? I've literally been looking through guides and tweaking the script for over an hour, I would really appreciate some help.

kriss1993
10-13-2012, 11:08 PM
can any1 post me the link of totorial of bypassing antileech?

jaqhusto
10-15-2012, 04:20 AM
ok try not to laugh at me, im new with all this script and simba stuff i dont know what to put in this script to make it work. little help please :)

vortex3636
10-25-2012, 01:35 AM
Ok,

Yes I'm a leecher. I've got very basic knowledge of C++ from about a year ago so even that's rusty. I've looked through the entire thread. I've tried to use the hints. I found the punctuation error. I already know it won't loop even if I can get it to run. I'll figure that out later. My problem is with the SMART compiler. I've only seen one other person with the "Invalid number of parameters at line 45" compiler error and the help that he got wasn't helpful to me. I googled it like Footy said but the "first result" didn't really tell me anything that I could figure out how to use... I'm not sure if it's part of the anti-leech or if Simba got updated recently and it's not working anymore.

I've forced simba to update: Tools > Update > Force Update.
I've made sure all my extensions are updated.
I can't find anything else to update to make sure its good to go.

Any help??

-Vortex

day416
10-25-2012, 04:42 PM
RS updated just now, and the script doesn't seem to be working. It can't find the target colour in "Spamming Targets" loop. I tried updating the colours, but that still doesn't work. Any suggestions?

srhrich
10-25-2012, 06:56 PM
I have a problem with smart file at number 54 someone help plzzzzz

day416
10-25-2012, 07:52 PM
srhrich just update your script, google the error and you will find the answer

srhrich
10-26-2012, 02:10 PM
I'm new here plzz help me u have skype or something else add me "Srhrich" day416

Reveille
10-26-2012, 07:25 PM
Did the anti-leech, pretty easy.

After running it I only notice one problem. It will sometimes misclick the target and move outside the boundaries. It keeps saying must shoot target from behind the hay. So maybe add a check to see if that message is popping up.

Thanks for a great script, it was pretty fun figuring it out :P

day416
10-26-2012, 08:21 PM
"Spamming Targets" loop can't pick up the targets. The mouse pointer just stays in one position until the "Spamming targets" loop passes 40 seconds. I tried adding more colours from the targets to the array of colours allowed in FindObjEx but it still doesn't recognize the targets.

Can anyone advise? And what settings on Smart and RS should i have?

Enslaved
10-26-2012, 08:33 PM
wow, how did you become a junior member with 27 posts?

Edit: in response to your question:
if FindColorTolerance(x, y, 4310482, 230, 162, 296, 219, 11) then
MMouse(487, 42, 5, 5);
it spams one spot as the MMouse uses a static location, so it will only move it to that location
since i havent used this script, and dont have time to test it at the moment i can only give rought suggestions.

So as im guessing the colorfinder tries to pick out the target:
So changing the code from

if FindColorTolerance(x, y, 4310482, 230, 162, 296, 219, 11) then
MMouse(487, 42, 5, 5);
Wait(600);
if IsUpText('lose') then
ClickMouse2(True);


to this


if FindColorTolerance(x, y, 4310482, 230, 162, 296, 219, 11) then
MMouse(x,y, 5, 5);// I changed the static co-ordinates to the co-ordinates of the found location of the colors
Wait(600);
if IsUpText('lose') then
ClickMouse2(True);



But if this doesnt work, as im not sure what this script looks for, maybe it could be changed to

if FindColorTolerance(x, y, 4310482, MSX1, MSY1, MSX2, MSY2, 11) then // change the colors and tolerence remeber the parameters of FindColorTolerance( OutputX,OutputY,Color,X1,Y1,X2,Y2, Color Tolerance)
MMouse(x, y, 5, 5);
Wait(600);
if IsUpText('lose') then // change this to the uptext that is displayed when the mouse moves onto the target
ClickMouse2(True);




Since i havent used this script and only judging from the code, i cannot be sure that my fix is right, but i hope this could help you in some way or another.




Edit2: In response to the display options, the usual display settings are as follows:
SafeMode
Fixed Screen
Zoom out all the way.
Dont worry about nav bar, it is always there in safe mode

srhrich
10-26-2012, 08:45 PM
omg i get this [Error] C:\Simba\Includes\SRL/SRL/misc/SMART.simba(46:19): Invalid number of parameters at line 45
Compiling failed.
[Error] C:\Simba\Includes\SRL\SRL\misc\SMART.simba(55:19): Invalid number of parameters at line 54
Compiling failed.

Enslaved
10-26-2012, 08:47 PM
have you downloaded and updated the SRL include?
Edit: there is usually a guide on how to solve this under the how to Auto section

day416
10-26-2012, 10:50 PM
Hey enslaved, the first repeat loop is for when the target Window pops up. The 2nd repeat loop is for finding the targets itself. The script closes the target Window just fine, but can't seem to find to targets.

srhrich
10-26-2012, 10:53 PM
Can someone tell me on skype... plzz "srhrich add me and plzz help me..

Im new here!!!

srhrich
10-26-2012, 11:17 PM
i dont understand this how i do it?? and why the SMART COME IN FOLDER 2? idk help plzzzz fast!! SKYPE!!! SRHRICH

Deni_mulic
10-28-2012, 01:55 AM
39k exp/hr at 50 range, loving double exp weekend :)
Update, 63 range w/ Pumpkin amulet:
XP Per Hour : 81240
Haven't had to modify the script in 4 months, too. Pretty sick

Rezozo
10-28-2012, 02:18 AM
Rez to the rescue!!!
Srhrich - I am pretty sure you can just make {$DEFINE SMART}:
{$DEFINE SMART8}
If not, just do this: http://villavu.com/forum/showthread.php?t=89825
Look at p1ng's first post!

srhrich
10-28-2012, 03:37 AM
im new here!!! plzz want double xp!!
im 84 range and 30 hp lvl 48 cb

Scorched
11-01-2012, 09:03 AM
So I got it to compile,

Then it will do one round and it keeps logging out after that. I don't understand what is going on here.

Any ideas?

8000
11-04-2012, 03:18 AM
[Error] C:\Simba\Includes\SRL\SRL\Misc\SmartGraphics.simba (25:3): Unknown identifier 'SmartSetDebug' at line 24
Compiling failed.

and this becomes highlighted:

SMART_Canvas.SetPersistentMemory(SmartDebugArray, 765, 553) ;

can anyone help?