SRL Archive - OSR Help

Select(randomworld)


ownedlikenoob

2010-07-07 18:29:20

SelectWorld(RandomWorld(True,False));

This means Select a radom member's world but not a pvp world… Right?

Why is it choosing Bounty hunter worlds? Does anyone know a work around for this?

Wanted

2010-07-07 18:39:09

http://villavu.com/forum/showthread.php?t=55513

ownedlikenoob

2010-07-07 19:02:49

From: IceFire908
http://villavu.com/forum/showthread.php?t=55513


Ok so what am I doing wrong?

Why is it still logging in to bounty worlds?

Wanted

2010-07-07 19:04:28

From: ownedlikenoob
Ok so what am I doing wrong?

Why is it still logging in to bounty worlds?


Update your SRL to the latest rev again, I believe I fixed that today. Tell me if not.

You also don't need to use any of the chooseworld stuff, just put that under your player setup with Players[0].WorldInfo := ect…. that thread it explains it.

Let me know if updating your rev works.

ownedlikenoob

2010-07-07 19:08:31

From: IceFire908
Update your SRL to the latest rev again, I believe I fixed that today. Tell me if not.

You also don't need to use any of the chooseworld stuff, just put that under your player setup with Players[0].WorldInfo := ect…. that thread it explains it.

Let me know if updating your rev works.


SRL is updated, but it still happens, But see I didn't declare a Player[0].WorldInfo

I just called that procedure. Do I need to declare that under declare player?

if so… What do I declare… I'm new at this btw. lol

Wanted

2010-07-07 19:18:25

{$DEFINE SMART}
{.include SRL\SRL.scar}

begin
SetLength(Players, 1);
Players[0].Name := 'Zezima';
Players[0].Pass := 'rs4life';
Players[0].Active := True;
Players[0].WorldInfo := [False, -1, False];
LogInPlayer;
end.

ownedlikenoob

2010-07-07 20:01:21

From: IceFire908
{$DEFINE SMART}
{.include SRL\SRL.scar}

begin
SetLength(Players, 1);
Players[0].Name := 'Zezima';
Players[0].Pass := 'rs4life';
Players[0].Active := True;
Players[0].WorldInfo := [False, -1, False];
LogInPlayer;
end.



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

Players[0].Name :='Zezima';
Players[0].Pass :='rs4life';
Players[0].Nick :='zezi';
Players[0].Active := True;
Players[0].WorldInfo := [True, -1, False];
end;

That is my declare players procedure…


begin
Smart_Members := MEMBERS;
Smart_Server := WORLD;
Smart_Signed := SIGNED;
SetupSRL;
DeclarePlayers;
LoginPlayer;

That is my what I tell it to do,

After a while it chooses a bounty world… Even though I tell it not to choose pvp worlds. If you want to see the whole script I will pm it to you.

Wanted

2010-07-07 21:01:02

Trying to this

AllowPVP := False;

after SetUpSRL;

ZephyrsFury

2010-07-07 21:54:40

Worlds.ini is probably outdated so the worlds list loaded is incorrect.

ownedlikenoob

2010-07-07 21:57:18

From: IceFire908
Trying to this

AllowPVP := False;

after SetUpSRL;


Thank you :) lol fixed.

Wanted

2010-07-07 22:01:37

From: ZephyrsFury
Worlds.ini is probably outdated so the worlds list loaded is incorrect.


It's actually a coincidence that I updated the PVP worlds this morning, I still think Worlds.INI needs another look at.

When doing this the right way though, it should not select PVP worlds as is.