SRL Archive - Help

I got this script, It doesn't work and why?


fyrd

2012-12-27 19:16:23

Even when I fill In the name/pass field, it doesn't work. Even when I do it manually to log-in and then hit enable, it walks a couple feet back and forth and that is it? So yes, the script info is below.


Also I can get smart to start…


program AutoTyper;
{$DEFINE SMART} {$i srl/srl.simba} {$i sps/sps.simba}

procedure DeclarePlayers;
begin
HowManyPlayers := 1;
NumberOfPlayers(HowManyPlayers);
CurrentPlayer := 0;

Players[0].Name := ''; //
Players[0].Pass := ''; //
Players[0].Nick := '';
Players[0].Member := False;
Players[0].Active := True;
Players[0].Pin := '';
end;

begin
ClearDebug;
SetupSRL;
DeclarePlayers;
LoginPlayer;
repeat
begin
wait(7000+random(2000));
TypeSendEx('Help !Me! with the most please!',true)
wait(7000+random(2000));
TypeSendEx('Please !Halp!, will drop for help ! !',true)

end
until(false)
if not (LoggedIn) then
LoginPlayer;
end.program new;
begin
end.

Gucci

2012-12-27 22:22:50

*Sigh* try this

program AutoTyper;
{$DEFINE SMART8}
{$i srl/srl.simba}

procedure DeclarePlayers;
begin
HowManyPlayers := 1;
NumberOfPlayers(HowManyPlayers);
CurrentPlayer := 0;

Players[0].Name := ''; //
Players[0].Pass := ''; //
Players[0].Nick := '';
Players[0].Member := False;
Players[0].Active := True;
Players[0].Pin := '';
end;

begin
ClearDebug;
SetupSRL;
DeclarePlayers;
if not (LoggedIn) then
LoginPlayer;
repeat
begin
wait(7000+random(2000));
TypeSendEx('Help !Me! with the most please!',true)
wait(7000+random(2000));
TypeSendEx('Please !Halp!, will drop for help ! !',true)
end;
until(false)
end.

fyrd

2012-12-28 15:03:56

It still doesn't work… Well it does after a while

On the Part where it says

begin
wait(1000+random(2000));

A thousand represents one minute before it starts correct? What does the random mean. Does two thousand represents two minutes of game time before it starts typing out the other stuff?

TypeSendEx('Help !Me! with the most please!',true)
wait(1000+random(2000));
TypeSendEx('Please !Halp!, will drop for help ! !',true)
end;
until(false)
end.

He still walks around sometimes like a headless chicken.
While waiting for it to start this happens should I set true and enter one in place of the zero?

'One minute has passed… Debug: 0'
NextPlayer(False)
SwitchToPlayer(PlayerNo: 0, Active: False);
Player is not Active…
All players not active!

Gucci

2012-12-28 16:25:16

1000 = 1 second, odd that he walks around as there isn't walking in the script

Mr[S]

2012-12-28 16:29:39

Whats up with your halp lol?

fyrd

2012-12-28 17:49:23

Could it be that the Smart files are corrupted? I ran this script with S.M.A.R.T Manager and it gives the error simba/smart crash PID does not exist? Also could it be because of latency on my end?

Gucci

2012-12-28 17:52:32

From: fyrd
Could it be that the Smart files are corrupted? I ran this script with S.M.A.R.T Manager and it gives the error simba/smart crash PID does not exist? Also could it be because of latency on my end?


Smart manager is outdated, try using SmartV8.0

fyrd

2012-12-28 17:59:04

Do have a link to it? Will it also solve my scripting issues?

Gucci

2012-12-28 18:10:40

From: fyrd
Do have a link to it? Will it also solve my scripting issues?


You can get it from here.

Once you install that see my post with the edited script and try running that

fyrd

2012-12-28 18:37:34

It says now, Smart Cannot Spawn Clients. I copied and pasted it into the plugins?

I now attempted to update it again. Gives me this error

Error] C:\Simba\Includes\SRL/SRL/core/simba.simba(359:14): Unknown identifier '' at line 358
Compiling failed.

Would this help? http://villavu.com/forum/showthread.php?t=86387&highlight=compile+smart

Mr[S]

2012-12-28 18:42:25

Restart simba

fyrd

2012-12-28 19:02:16

I did multiple times and it didn't work…

Is that right or is there too much. I copied and pasted and that is it?

superuser

2012-12-28 20:40:55

Make sure your env-path is pointing to java binaries.

fyrd

2012-12-28 20:46:45

How do I go about doing that?

Gucci

2012-12-28 21:00:52

Judging from the picture your actually missing a file, reinstall smart 8

fyrd

2012-12-28 21:13:05

It works now, thank you for your patience.

Wardancer

2012-12-29 17:57:31

Whenever SRL is updated, you'll have the remove the ", -1" thing in the SmartParams. I assume that's the issue you're having.

CRASH_OVERRIDE

2012-12-29 21:14:18

From: Wardancer
Whenever SRL is updated, you'll have the remove the ", -1" thing in the SmartParams. I assume that's the issue you're having.


Just curious, could this actually be fixed?