We all know Ashaman's script writer https://villavu.com/forum/showthread.php?t=106737 isn't in SRL6 and won't be usable by Jmems.
We all know Ashaman's script writer https://villavu.com/forum/showthread.php?t=106737 isn't in SRL6 and won't be usable by Jmems.
My Outdated ScriptsEdgeville Log Cutter | Edgeville AIO Jewelry | AIO Pickpocketer | Urn Activator | Slayer Tower | Slaying KuradalMy Working Scripts: Tutorials:Function Pointers and Why You Should Care! | Forms and Saving Settings | The Magic Behind Programming Tutorial | Recursive Recursion![]()
I'm in ^_^
Red & Green Salamander Hunter // Construction // Gilded Altar // Major help w/ Kyles Runespan // VWB Smither // PhoenixFeathers // GemCutter // Bonfire // LRC Miner // Spell Tab Maker // ApeAtollAgility // IvyWC // RoguesCooker // Herblore // AshamanButterfly // AshamanPowerMiner // Fletcher // LividFarm
#slack4admin2016
<slacky> I will build a wall
<slacky> I will ban reflection and OGL hooking until we know what the hell is going on
i think ill give it a try :P
Last edited by The Mayor; 10-15-2014 at 09:20 PM.
oh darn, now im just going to win 100m for first place!
:sarcasm:
so the script dont have to be usefull right? like not making money or skill xp or anything? just well coded? :P
can I make a new account, win the competition, and donate the money at the well of goodwill in RS3 to help ebola victims?
thats a lot of cash for so little work. My script was like over 1000 and I didn't even end up getting the full prize
I'll join
Last edited by The Mayor; 10-18-2014 at 06:02 AM.
I'l like to join please. Are slots still open?
Edit: When you say, "avoiding infinite loop", does this mean the script will end after a certain time? The script can't have a "hop to another world-repeat" cycle?
Last edited by Nathgunner888; 10-17-2014 at 11:56 AM.
It usually means avoid things that result in the account getting 'stuck' in one part of the script. This could happen if you have something like this:
if the colour never appears (maybe it misclicked something earlier, maybe it's logged out) the script will just keep waiting forever. You want to avoid things like this.Simba Code:repeat
writeln('Waiting for something to appear');
wait(200);
until(findcolor(...));
To stop infinite loops it's good to have multiple conditions for things, like this:
where I is an integer. This will loop through until it finds the colour or I is over 9. This means it would wait a maximum of 2 seconds before doing something else.Simba Code:repeat
writeln('Waiting for something to appear');
wait(200);
Inc(I); //Increases I by 1
until(findcolor(...) or (I > 9));
We consider the following an infinity loop:
Simba Code:While(AtVarrock() = False)do
begin
WalkNorth();
end;
What happens if for somereason walking North made you miss Varrock? Better log out after 10 minutes of walking
Simba Code:stopWath.start();
While(AtVarrock() = False)do
begin
WalkNorth();
if(stopWatch.getTotalTime() > 10 * 60 * 1000) then
Exit;
end;
This is not an infinty loop, though as long as it is able to alch it will continue:
Simba Code:While(true) do
begin
If(Not(GotItems())) then
begin
Bank();
end else If(HighAlch()) then
stopWatch.reset();
If(Not(isLoggedIn()) Or stopWatch.getTotalTime > 5 * 60 * 1000) then
Break;
end;
Just make sure your script cant keep trying to click trees when it is already logged out, or walking circles around lumbridge for hours while looking for falador.
Working on: Tithe Farmer
Does stuff like antiban and breaking sum up towards a better score?
You're in! Re: infnite loops, as said above, just code that you can get stuck in forever.
Breaking is not required, but if have have space left then you can add it for sure. You don't need a specific "antiban" procedure, but I don't want to see static waits e.g. wait(1000) or clicking the same pixel every time.
I'm in, but for some reason RS3 looks a whole lot harder than OS :\
Also, time to learn efficient coding :')
Previously known as; Annonymus.
New to scripting? Procedures & Functions for Beginners
Do you use your computer at night? Just get f.lux
Well, I'm already stuck on line 34. Time to read more and more forum topics~
E; Almost forgot to mention how in OS it's pretty muchwhereas for RS3 it'sSimba Code:if BankScreen thenIt just takes some time getting used to using all those dots and paratheses all over the scriptSimba Code:if (depositBox.isOpen(RandomRange(2500,3500))) then![]()
Last edited by iEatApplez; 10-18-2014 at 12:06 AM.
Previously known as; Annonymus.
chatBox.getXPBar() works most of the time, so I'm not worried about it.
Added!
SRL6 is far superior compared to SRL-OSR (based off SRL5 and prior). There is so much repetitive and useless code throughout that include it's not even funnyThe idea is to eventually make the OSR include exactly like SRL6 so it's worth becoming familiar with how it works
![]()
There are currently 1 users browsing this thread. (0 members and 1 guests)