Brown
2006-03-10 19:02:56
I never really had dared make a runescape script until now. I have done about 20 scripts for other games. I have a script for auto fletching I made, the movements look perfectly natural, and nothing would be seen as it bieng autoing. I just need to know how to get it so their are anti random events in it, nothing like random talking, ect.
Thanks to anyone who can help.
Sdcit
2006-03-10 19:44:10
go to includes folder, open srl>slr>core>antirandoms. Find the anti random procedures you need.
put them in a procedure like
procedure Findra;
begin
procedures go here
end;
then put it in the repeat or wherever you want it in the main loop
ahh i made the same thing awhile back. i think i fletched for like 2 -3 hours with no randoms. i was in al karid bank.
maxzzz
2006-03-16 12:22:34
Post your script, so some1 could post where it is the best to put the randoms. I think you can put them everywhere you want but I'm not sure.
I got a question too: Does it cost time to let the script search for randoms if it not find them?
Example:
You are stringing and you write a procedure that repeats stringing until ExistsItem(14).
Could you put FindMiscRandoms between the repeat without loosing time when there are no randoms without the script looses time ( makes it slower )?
JLewis
2006-03-16 12:52:18
Maxzzz: No it doesnt it may take like 1 second and here is a random checking procedure
Here is a random check procedure
Use this whenever you wish to search for a random!
procedure FindRandoms;
begin
CloseWindow;
ClickToContinue;
FindLamp('Fill This in');
FindDead;
FindMod;
FindMime;
FindMaze;
FindQuiz;
FindFrog;
FindDoctor;
FindBox;
FindDemon;
if(FindFight)then RunAway;
if Findname Then FindTalk;
if FindNewBox then Logout;
end;
WT-Fakawi
2006-03-16 13:17:29
You might want to skip ClickToContinue, since it actually makes each time a Bitmap of the TalkingNPCFont. It has become sort of a resourceHog, use it only for controlled Levelling.
Also, you might want to place a very small Wait between the Randoms, like 10 msec (Wait(10)), to avoid lagging.
And, I would definately look into Renax's RandomHandler, which is by far the most elaborate I have seen.
Brown
2006-03-16 16:00:27
Thanks for your replies, but I got this sorted out a long time ago.
maxzzz
2006-03-17 12:28:21
From: JLewis
Maxzzz: No it doesnt it may take like 1 second and here is a random checking procedure
Here is a random check procedure
Use this whenever you wish to search for a random!
Do I need to declare my name for FindName? If so, where?
WT-Fakawi
2006-03-17 13:57:47
Long answer:
Player[x].nick holds the screenname. Three letter from you RS-name (NOT the first letter, since that is capitalised…))
In LoginPlayer, Player[x].nick is converted into a Bitmap (NicknameBMP), used for Randoms checking.
Short Answer:
No.