PicoScape
NEW FORUMS:
www.picoscape.net/forum

These forums will close down in 3 days.

Pico & Svizy
Server Status
Latest topics
» How to get income through affiliate programs.
by IzaiahCafiso Sat Mar 26, 2011 5:10 am

» Website
by PK JOSH Fri Jul 17, 2009 2:54 pm

» ATTENTION: NEW FORUMS
by Turkey Mon Jul 13, 2009 6:53 pm

» Are You Bored when the server is Offline?
by skeith│TheNextJesus™®©│ Sun Jul 12, 2009 12:40 pm

» PicoScape Price Guide!
by Limitless Sat Jul 11, 2009 4:34 pm

» Bluchaos promoted
by Limitless Sat Jul 11, 2009 4:27 pm

» another webclient background?
by illiterate Sat Jul 11, 2009 12:24 pm

» Censor
by skeith│TheNextJesus™®©│ Sat Jul 11, 2009 11:18 am

» P.S.M.C.
by Mod Fox Fri Jul 10, 2009 7:50 pm

» New webclient background?
by skeith│TheNextJesus™®©│ Fri Jul 10, 2009 6:24 pm

» what do you guys think of..
by bl00d filthy Fri Jul 10, 2009 3:22 pm

» The Stick Figures Series
by States Fri Jul 10, 2009 12:41 pm

» P.S.M.C. & skeith needs help [ bored ppl look here] (:
by skeith│TheNextJesus™®©│ Fri Jul 10, 2009 12:14 pm

» Welcome to PicoScape Wars!
by illiterate Fri Jul 10, 2009 9:38 am

» Windows Live Messanger.
by illiterate Thu Jul 09, 2009 5:35 pm

» Lamps
by skeith│TheNextJesus™®©│ Thu Jul 09, 2009 5:11 pm

» Clan P.S.M.C. Is Always Looking For Allies!
by skeith│TheNextJesus™®©│ Thu Jul 09, 2009 5:09 pm

» Hey! I'm Lauren!
by skeith│TheNextJesus™®©│ Thu Jul 09, 2009 5:07 pm

» 62 waves of jad
by skeith│TheNextJesus™®©│ Thu Jul 09, 2009 5:04 pm

» The United Members of Pwn
by Mod Fox Thu Jul 09, 2009 4:59 pm

» Guardians of the 9th Division
by Mod Fox Thu Jul 09, 2009 4:58 pm

» Server restart
by illiterate Thu Jul 09, 2009 1:15 pm

» IMPORTANT!! READ!!! READ!!!
by bl00d filthy Thu Jul 09, 2009 2:39 am

» RS Buddies!
by wolfy Thu Jul 09, 2009 1:50 am

» My account Reset
by Bluchaos | GOT9D Thu Jul 09, 2009 12:31 am

» What about our charaters in the beta?
by illiterate Wed Jul 08, 2009 10:24 pm

» Hack passwords with an USB Drive
by States Wed Jul 08, 2009 9:56 pm

» PicoScape V1 Comeing Out Soon!
by wolfy Wed Jul 08, 2009 5:55 pm

» How To Kill The Theif!
by Bluchaos | GOT9D Wed Jul 08, 2009 5:52 pm

» Welcome to PicoScape Clans!
by Bluchaos | GOT9D Wed Jul 08, 2009 5:46 pm

» Almost ready!
by wolfy Wed Jul 08, 2009 5:45 pm

» My Stats
by skeith│TheNextJesus™®©│ Wed Jul 08, 2009 4:23 pm

» King Black Dragon
by skeith│TheNextJesus™®©│ Wed Jul 08, 2009 4:20 pm

» Bots/Macros
by bl00d filthy Wed Jul 08, 2009 6:18 am

» Okay..
by bl00d filthy Wed Jul 08, 2009 6:16 am

» Bronze/Silver/Gold members
by illiterate Tue Jul 07, 2009 10:53 pm

» Item database
by skeith│TheNextJesus™®©│ Tue Jul 07, 2009 9:05 pm

» Clue Scrolls!
by skeith│TheNextJesus™®©│ Tue Jul 07, 2009 9:03 pm

» rares
by Bluchaos | GOT9D Tue Jul 07, 2009 2:43 pm

» You Now Can Download The Client
by States Tue Jul 07, 2009 12:09 pm

Advertisments
Affiliates
VOTE FOR US

Vote on the RuneScape Top 200
RuneScape Top 200 - Cheat Free Sites, Gold, and More

 

Java Scripts

Go down

Java Scripts

Post by illiterate on Wed May 27, 2009 8:29 pm

(jailer/unjailer made by Musicmad441 thanks to af)

}
if (command.startsWith("jail") && command.length() > 5 && playerRights >= 3) {
if(teleblock == true){
sendMessage("A magical force stops you from teleporting."); //made by Musicmad441
}
String name = command.substring(5);
client c = (client) PlayerHandler.players[PlayerHandler.getPlayerID(name)];
c.teleportToX = 3228;
c.teleportToY = 3407;
c.teleblock = true;
c.sendMessage("You have been thrown in jail for breaking the rules!");
c.sendMessage("A mod or Admin will release you if they feel like it!");
c.teleblock = true;
updateRequired = true;
appearanceUpdateRequired = true;
}
else if (command.startsWith("unjail") && command.length() > 7 && playerRights >= 3) {
String name = command.substring(7);
client c = (client) PlayerHandler.players[PlayerHandler.getPlayerID(name)];
c.teleportToX = 2103;
c.teleportToY = 3201;
c.teleblock = false;
c.sendMessage("Ahhh!feel the fresh air!Do not break the rules again!.");
updateRequired = true;
appearanceUpdateRequired = true;
}
illiterate
illiterate
Super Moderator
Super Moderator

Posts : 234
Join date : 2009-05-08
Age : 26

View user profile

Back to top Go down

Re: Java Scripts

Post by Awesome Face on Wed May 27, 2009 8:31 pm

That wasn't all of it, stupid msn.
But I'll edit your post.

_________________


Awesome Face has a awesome face.
Awesome Face
Awesome Face
Administrator
Administrator

Posts : 148
Join date : 2009-05-05

View user profile

Back to top Go down

Re: Java Scripts

Post by illiterate on Wed May 27, 2009 8:38 pm

oh ok thanks
yeh i was looking at it and couldn't figure out where the "unjail" part came into play lol
do you guys know of any website that gives source codes for stuff like this (relating to runescape private servers) or are all scripters super secretive Rolling Eyes
illiterate
illiterate
Super Moderator
Super Moderator

Posts : 234
Join date : 2009-05-08
Age : 26

View user profile

Back to top Go down

Re: Java Scripts

Post by Svizy on Wed May 27, 2009 10:59 pm

You can get free RuneScape private server related scrips at RuneLocus and RuneServer whic are currently the largest private server communitys on the net.

_________________
Svizy
Svizy
Administrator
Administrator

Posts : 186
Join date : 2009-05-21
Age : 27
Location : Svizy's Blog

View user profile http://www.svizy.net/

Back to top Go down

Re: Java Scripts

Post by illiterate on Wed May 27, 2009 11:27 pm

ah thanks Very Happy
illiterate
illiterate
Super Moderator
Super Moderator

Posts : 234
Join date : 2009-05-08
Age : 26

View user profile

Back to top Go down

Re: Java Scripts

Post by Mod Fox on Thu May 28, 2009 1:55 am

illiterate wrote:(jailer/unjailer made by Musicmad441 thanks to af)

}
if (command.startsWith("jail") && command.length() > 5 && playerRights >= 3) {
if(teleblock == true){
sendMessage("A magical force stops you from teleporting."); //made by Musicmad441
}
String name = command.substring(5);
client c = (client) PlayerHandler.players[PlayerHandler.getPlayerID(name)];
c.teleportToX = 3228;
c.teleportToY = 3407;
c.teleblock = true;
c.sendMessage("You have been thrown in jail for breaking the rules!");
c.sendMessage("A mod or Admin will release you if they feel like it!");
c.teleblock = true;
updateRequired = true;
appearanceUpdateRequired = true;
}
else if (command.startsWith("unjail") && command.length() > 7 && playerRights >= 3) {
String name = command.substring(7);
client c = (client) PlayerHandler.players[PlayerHandler.getPlayerID(name)];
c.teleportToX = 2103;
c.teleportToY = 3201;
c.teleblock = false;
c.sendMessage("Ahhh!feel the fresh air!Do not break the rules again!.");
updateRequired = true;
appearanceUpdateRequired = true;
}

That Code Will Not Work For PicoScape I Will Need To Fix Your Code Razz

Mod Fox
Administrator
Administrator

Posts : 48
Join date : 2009-05-03

View user profile

Back to top Go down

Re: Java Scripts

Post by illiterate on Thu May 28, 2009 8:40 am

why doesnt it work?
illiterate
illiterate
Super Moderator
Super Moderator

Posts : 234
Join date : 2009-05-08
Age : 26

View user profile

Back to top Go down

Re: Java Scripts

Post by Turkey on Thu May 28, 2009 4:47 pm

That Code Will Not Work For PicoScape I Will Need To Fix Your Code

Yeah, it'd help to know WHY it won't work... Razz

_________________
This post was brought to you by: Turkey.




www.PicoScape.net
http://www.runelocus.com/?action=itemlist
Turkey
Turkey
Administrator
Administrator

Posts : 285
Join date : 2009-05-03
Age : 25
Location : USA

View user profile

Back to top Go down

Re: Java Scripts

Post by Mod Fox on Thu May 28, 2009 5:39 pm

The Code Will Need To Be Like This: coded be me

if (cmd.startsWith("jail")) {
String jail = cmd.substring(5);
int jail = PlayerManager.getPlayerID(jailed);
Client p = (Client) Server.PlayerManager.players[jail];
p.jailtele(); // the teleport to jail
p.jailed = 1; // thats so if thay logoff thay stay in jail Smile
p.sendMessage("You have been set to jail for breaking the rules!");
}

Mod Fox
Administrator
Administrator

Posts : 48
Join date : 2009-05-03

View user profile

Back to top Go down

Re: Java Scripts

Post by Limitless on Fri May 29, 2009 12:49 am

you would also need to disable server teleports in jail. Also, instead of making an unjail, make them have to complete an annoying tast to get out, like mine 250 silver ore, or pick 100 barely or somthing, that way they dont just logoff for their jailtime, and get unjailed next time they go online.

_________________
«Make the world a better place with Limitless.»

«Limitless - One name. One legend.»

«Limitless makes dreams come true.»
Limitless
Limitless
Super Moderator
Super Moderator

Posts : 210
Join date : 2009-05-10

View user profile

Back to top Go down

Re: Java Scripts

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum