SRL Archive - Outdated / Broken

Camelot Teleporter


jon buddy

2006-05-23 18:51:37

Here is my first good SRL script.
Please post bugs or anything I should fix.

{=========================================================================]
[ SRL Camelot Telepoter. ]
[ ]
[ NAME : SRL Camelot Teleporter. ]
[ WRITER : Jon Buddy ]
[ CATEGORY : Teleporters ]
[ DESCRIPTION : Repeatidly teleports you to Camelot ]
[ USAGE : Start in Camelot with runes. ]
[ AUTOCOLOR : No need ]
[ NOTES : 1st real SRL scripy. Have fun!. ]
[ CONTACT : [email]Jonbuddy@hotmail.com[/email] ]
[ ]
[ ]
[=========================================================================]
[ Camelot Teleporter ]
[=========================================================================]
[ Instructions. ]
[=========================================================================]
[ 1. USE Runescape with Low Detail, Very Bright. ]
[ 2. Set your Screen to 32 bit TRUE color. ]
[ 3. Set Playernames and Passwords in DeclarePlayers. ]
[ 4. SET HOWMANYPLAYERS inside DeclarePlayers ]
[ 5. Start script Logged Out! ]
[ 6. Have neccesary rune for Camelot Teleporting ]
[=========================================================================}

WhiteShadow

2006-05-23 19:52:52

Good jobs.

A few points you should remember.

1. NextPlayer(Active : Boolean);
- Logs Out player so you don't need logout on top of it.
2. Make it more standerized than straight lines of code.

Overall I say, it looks great. I are n0t a member though. ;P

jon buddy

2006-05-23 19:57:22

Thanks.
So should I take away the Logout; and keep it NextPlayer(False)?

WhiteShadow

2006-05-23 20:04:53

Yes.

NextPlayer(False);

-Logs out CurrentPlayer
-And sets it's Players[CurrentPlayer].Active := False;, which means it will never be logged in again, while the script is running.
- It will then Login a the NextPlayer that is still active.

NextPlayer(True);

-Logs out CurrentPlayer
-And sets it's Players[CurrentPlayer].Active := True;, which means it will still log back in later.
- It will then Login a the NextPlayer.

jon buddy

2006-05-23 20:11:50

Ok thanks.
I updated.