View Full Version : Adding scripts
Toadd
05-03-2012, 06:25 PM
I've looked everywhere and can't find how to add custom scripts, can somebody help me asap please.
I've looked everywhere and can't find how to add custom scripts, can somebody help me asap please.
http://puu.sh/sKf1
Toadd
05-03-2012, 07:11 PM
How do I put my details in, and when the loading page comes up it does nothing, help
Try searching Tutorial Island next time:
http://villavu.com/forum/showthread.php?t=60501
johnbrown8976
05-03-2012, 07:16 PM
How do I put my details in, and when the loading page comes up it does nothing, help
You need to have a procedure called DeclarePlayers (where u put username and password) and LoginPlayer(which logs you in). Please read the beginners tutorial section which explains everything very clearly.
http://villavu.com/forum/forumdisplay.php?f=191
Here is my sample code:
program johnBrownBirdHunter;
{$DEFINE SMART}
{$i srl/srl.simba}
{$i sps/sps.simba}
Procedure DeclarePlayers;
begin
HowManyPlayers := 1;
NumberOfPlayers(HowManyPlayers);
CurrentPlayer := 0;
Players[0].Name :='your username';
Players[0].Pass :='your password';
Players[0].Nick :='';
Players[0].Active:=True;
Players[0].Pin := '';
end;
procedure AntiBan;
begin
if(not(LoggedIn))then
Exit;
FindNormalRandoms;
case Random(45) of
0: begin
HoverSkill('Prayer', false);
wait(1987+Random(432));
end;
1: PickUpMouse;
2: begin
MakeCompass('N');
wait(100+random(133));
MakeCompass('S');
wait(50+random(133));
MakeCompass('N');
FindNormalRandoms;
end;
3: RandomMovement;
4: BoredHuman;
5: ExamineInv;
6: RandomRClick;
end;
end;
begin
Smart_Server := 25;
Smart_Members := False;
Smart_Signed := True;
Smart_SuperDetail := False;
ClearDebug;
SetupSRL;
DeclarePlayers; // Calls the procedure, you can't forget this!
LoginPlayer; // You want your player to login, right?
end.
Toadd
05-03-2012, 07:19 PM
Nothing happens when I log in through the client.
Ashaman88
05-03-2012, 07:28 PM
Nothing happens when I log in through the client.
Did you follow abu's link?
Powered by vBulletin® Version 4.2.1 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.