[RSPS 317 Tutorial]

Runescape Discuss, [RSPS 317 Tutorial] at Games Discussion and Hacks #1 forum; Heys guys, this is my first post. Ive got a few tuts that you rsps owners might find helpful. Firstly, ...


Go Back   Gamerz Needs - For All Your Gaming Needs! > Games Discussion and Hacks #1 > Runescape
Forgot Password? | Sign Up!



Reply
 
Bookmark this Thread Tools Display Modes
  #1  
Old 08-06-2009, 10:26 PM
Chick
This user has no status.
 
----
 
Last Online: 10-06-2012 10:40 AM
Join Date: May 2009
Posts: 3
Post Thanks / Like
Thanks (Given): 13
Thanks (Received): 0
Likes (Given): 0
Likes (Received): 0
[RSPS 317 Tutorial]

Heys guys, this is my first post.
Ive got a few tuts that you rsps owners might find helpful.
Firstly, how to make a command that tele's you to somewhere.

Basicly, we go to client.java.
Then, we press ctrl+f and find one of your commands that is already in the source. lets say.. ::master.
ctrl+f -> master
Once we are there, we should be able to see loads of commands.
Scroll up till you see the FIRST command.
This is what it should look like ;
private void customCommand(String command) {
if (command.startsWith("resetdrop")) {
ItemHandler.resetItemDrop();
yell("["+playerName+"] - turned on drops.");
}
Now, copy this and paste under the last "}"


CODE
if (command.equalsIgnoreCase("command name without ::"))
{
sM("You are teleported to enter what you want");
toX = XCOORDS;
toY = YCOORDS;
}

Copy till the last "}".

Save, close, compile & run.
Test out the command and it should work.

If you get any errors, please do not hesitate to tell me.

100% created by me, not leeched.
Thank me plawks

Last edited by xD3ad; 08-06-2009 at 10:43 PM.
Reply With Quote
  #2  
Old 08-25-2009, 03:33 AM
Cookinggek's Avatar
Hellspreader
is Burning
 
I am: Devilish
 
Last Online: 04-12-2013 05:32 AM
Join Date: Nov 2008
Posts: 422
Post Thanks / Like
Thanks (Given): 40
Thanks (Received): 84
Likes (Given): 1
Likes (Received): 7
Send a message via MSN to Cookinggek
i beleive it is yours.

but this is isnt working for delta based servers

for delta it should more like this

i take home example:

Code:
if(command.startsWith("home")){
triggerTele(3092, 3492, 0);
}
u can add text to it:
Code:
if(command.startsWith("home")){
triggerTele(3092, 3492, 0);
sM("home sweet home");
}

Member of Social Group Runescape(botting)
Reply With Quote
  #3  
Old 08-27-2009, 02:36 AM
Chick
This user has no status.
 
----
 
Last Online: 10-06-2012 10:40 AM
Join Date: May 2009
Posts: 3
Post Thanks / Like
Thanks (Given): 13
Thanks (Received): 0
Likes (Given): 0
Likes (Received): 0
It does work on delta based servers. Maybe you dont have the java language added to your server. Server i tested on was ddsspeced. ( heavily coded by Jayden ) meaning she / he may have added language into it.
Example for dclaws, you have to add Dcdown into Variables.
I also tested it on another server, dragon-history to make sure you were right.
But you werent, i know you may be an advanced coder in rsps, but doesnt mean im always wrong. Ive already added loads of customs such as dclaws, death cape and angel wings, still adding. and now im adding Castle wars into my server.
I may be a basic rsps coder, but i know whether im correct or wrong.
Reply With Quote
  #4  
Old 08-27-2009, 03:39 AM
Cookinggek's Avatar
Hellspreader
is Burning
 
I am: Devilish
 
Last Online: 04-12-2013 05:32 AM
Join Date: Nov 2008
Posts: 422
Post Thanks / Like
Thanks (Given): 40
Thanks (Received): 84
Likes (Given): 1
Likes (Received): 7
Send a message via MSN to Cookinggek
i dont say you are always wrong:P

but in some delta based server u get error if you put in sendMessage so i changed that:P

and if your done with the castle wars may i try it aswell?
:P

Member of Social Group Runescape(botting)
Reply With Quote
  #5  
Old 07-16-2010, 05:29 PM
Chick
This user has no status.
 
----
 
Last Online: 08-16-2010 11:33 AM
Join Date: Jun 2010
Posts: 1
Post Thanks / Like
Thanks (Given): 0
Thanks (Received): 0
Likes (Given): 0
Likes (Received): 0
yes i would like castlewas can u email code to john55223@gmail.com i would appreciate it. im also a basic coder, i coded my own castlewars, i was almost done just a few minor glitches when my flash drive got a virus that spread to my computer which was the only other thing that had it saved on it and i cant do again it took me a year since it was completely from scratch
Reply With Quote
  #6  
Old 06-10-2012, 06:37 AM
Jerremy's Avatar
Admin
is not online for a while
 
I am: Bookworm
 
Join Date: Jun 2009
Age: 20
Posts: 6,609
Post Thanks / Like
Thanks (Given): 335
Thanks (Received): 4075
Likes (Given): 468
Likes (Received): 845
Send a message via MSN to Jerremy
@Cookinggek , is this still working?

Become one of us!
Staff Recruiter - Apply for Mod here
Site Helpers - Apply for Site Helper here
PCT Founder - Apply for PCT here


Jerremy4U - Design for You!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -8. The time now is 07:58 PM.