MicroScape
Welcome to MicroScape

Website: microscape.servebbs.com/
Forums: microscape.darkbb.com/
to vote : http://runescape.top100arena.com/in.asp?id=44314

VOTE!~~~VOTE!~~~VOTE~~~VOTE~~~VOTE~~~VOTE~~~VOTE~~~VOTE!~~~VOTE!
http://runescape.top100arena.com/in.asp?id=44314
http://runescape.top100arena.com/in.asp?id=44314
http://runescape.top100arena.com/in.asp?id=44314
http://runescape.top100arena.com/in.asp?id=44314
http://runescape.top100arena.com/in.asp?id=44314
http://runescape.top100arena.com/in.asp?id=44314
http://runescape.top100arena.com/in.asp?id=44314
http://runescape.top100arena.com/in.asp?id=44314
http://runescape.top100arena.com/in.asp?id=44314
http://runescape.top100arena.com/in.asp?id=44314
http://runescape.top100arena.com/in.asp?id=44314
http://runescape.top100arena.com/in.asp?id=44314
http://runescape.top100arena.com/in.asp?id=44314
http://runescape.top100arena.com/in.asp?id=44314
MicroScape
Welcome to MicroScape

Website: microscape.servebbs.com/
Forums: microscape.darkbb.com/
to vote : http://runescape.top100arena.com/in.asp?id=44314

VOTE!~~~VOTE!~~~VOTE~~~VOTE~~~VOTE~~~VOTE~~~VOTE~~~VOTE!~~~VOTE!
http://runescape.top100arena.com/in.asp?id=44314
http://runescape.top100arena.com/in.asp?id=44314
http://runescape.top100arena.com/in.asp?id=44314
http://runescape.top100arena.com/in.asp?id=44314
http://runescape.top100arena.com/in.asp?id=44314
http://runescape.top100arena.com/in.asp?id=44314
http://runescape.top100arena.com/in.asp?id=44314
http://runescape.top100arena.com/in.asp?id=44314
http://runescape.top100arena.com/in.asp?id=44314
http://runescape.top100arena.com/in.asp?id=44314
http://runescape.top100arena.com/in.asp?id=44314
http://runescape.top100arena.com/in.asp?id=44314
http://runescape.top100arena.com/in.asp?id=44314
http://runescape.top100arena.com/in.asp?id=44314
MicroScape
Would you like to react to this message? Create an account in a few clicks or log in to continue.


The next.
 
HomePortalLatest imagesSearchRegisterLog in
Guys check this out! it works! trust me!
How To Make A Command Statusimg.php?ip=micro-scape-rulz.no-ip

 

 How To Make A Command

Go down 
2 posters
AuthorMessage
Disasteroid
Admin
Admin
Disasteroid


Posts : 157
Points : 219
Reputation : 6
Join date : 2010-03-04
Age : 28
Location : In a tree....HELP!

How To Make A Command Empty
PostSubject: How To Make A Command   How To Make A Command Icon_minitimeSat May 15, 2010 9:30 pm

Okay, so this is how to make a command on a DELTAscape server.
Difficulty - I'd say about 1-3/10 (Most People Wouldn't Do It If It Was 4/10)

Classes Modified - Client.java


First, Open Client.java in Notepad or an IDE

Step 2: Search
Code:
customCommand

Do That Until You Find
Code:
private void customCommand(String command) {


Step 3: Here's The Format For a Command
Code:
 if (command.equals("COMMANDNAME") {
                  // You Fill In This Part
            }


Now Two Simple Teleport Commands...

DeltaScapes' Use 2 Teleports:
Code:
toX = XXXX;
toY = YYYY;
and
Code:
triggerTele(XXXX, YYYY, H);


Now an Explanation...

The Difference between toX and triggerTele is that trigger activates the Purple Animation and It controls H which is the height... Generarly 0-2 For Your Height Levels...

XXXX = X Coordinates Of The Location, See MicroScape is plotted on an X and Y Coordinate Chart Thus You Need To Know Them...
YYYY = Y Coordinates...
H = Height 0-2 0 Ground... 1 1st Floor and So On...

So The Command Would Look Like:
Code:
if (command.equals("teletosomewhere")) {
  triggerTele(3330, 3441, 0);
  sM("You Teleport To The Digsite...");
}


Now If You Want It As a Staff Zone Simply Add This Before the { in your command
Code:
 && playerRights >= 1)


Thus Making It Like This
Code:
if (command.equals("teletosomewhere") && playerRights >= 1) {
  triggerTele(3330, 3441, 0);
  sM("You Teleport To The Digsite...");
}


I May Be Mistaken On The Number of ))s at the end if you have any errors Please Ask Ill Add More Later...
Back to top Go down
ipax
User
User
ipax


Posts : 23
Points : 33
Reputation : 0
Join date : 2010-03-10
Age : 28
Location : Belgium

How To Make A Command Empty
PostSubject: Re: How To Make A Command   How To Make A Command Icon_minitimeMon May 17, 2010 2:23 pm

I can't find customCommand. I only found customMaps. Can you help me and I realy want you to be a moderator! You rock! Very Happy
Back to top Go down
http://microscape.wikia.com/wiki/Microscape_Wiki
Disasteroid
Admin
Admin
Disasteroid


Posts : 157
Points : 219
Reputation : 6
Join date : 2010-03-04
Age : 28
Location : In a tree....HELP!

How To Make A Command Empty
PostSubject: Re: How To Make A Command   How To Make A Command Icon_minitimeMon May 17, 2010 2:36 pm

Well, it depends are you using a Deltascape server source? (If you don't know thats okay to. And make sure your looking in the right file. Razz)
Back to top Go down
Sponsored content





How To Make A Command Empty
PostSubject: Re: How To Make A Command   How To Make A Command Icon_minitime

Back to top Go down
 
How To Make A Command
Back to top 
Page 1 of 1
 Similar topics
-
» MAKE A NEW ACC RIGHT NOW IF U CANT LOG IN
» ill make a good mod
» Would Saradomin Make a Good Mod
» How can i make money on microscape?
» nateriver 4 mod

Permissions in this forum:You cannot reply to topics in this forum
MicroScape :: TuTs!-
Jump to: