Whats the point of this? this is not going to help anybody, at all.
|
|
You would make something a bit like this
you would save as your class name .javaCode:import java.io.*; import java.util.StringTokenizer; public class CLASS NAME { //this is the class name when you compile it public CLASS NAME() { } public void VOIDNAME(client c) { // The client c makes it so you call client.java //add stuff here just like you would in client.java voids with c. in front } }
if compiles successfully you need to add some stuff to server.java to make the server work it.
if i made this:
i would save as frameHandler.javaCode:import java.io.*; //something to call other files i think import java.util.StringTokenizer; //something to call other files i think public class frameHandler { //this is the class name when you compile it public frameHandler() { } public void frames(client c) { // The client c makes it so you call client.java //add stuff here just like you would in client.java voids with c. in front } }
Whats the point of this? this is not going to help anybody, at all.
lol it will i was talking to someone and i told them this and they got a handler working in no time. It makes your client clear space. stfu

you could explain it a bit more right?
yh i could but i cant be bothered...
hey harvey, you might want to explain the use of the private and the static statements too. I do agree with A N G E L, it could be a bit more explained, but nevertheless, its still good.

if i wanted to make a command would it be
orCode:c.if (command.equalsIgnoreCase("alexscape") { teleportToX = XXXX; teleportToY = XXXX; sendMessage("wooooooooo"); }
Code:c.if (command.equalsIgnoreCase("alexscape") { c.teleportToX = XXXX; c.teleportToY = XXXX; c.sendMessage("wooooooooo"); c.}

Anyone Help?
if (command.equalsIgnoreCase("alexscape") {
c.teleportToX = XXXX;
c.teleportToY = XXXX;
c.sendMessage("wooooooooo");
}
You must put c. if it gets called from client
| « Normal Magics update | Heres the double dds spec you all need! » |
| Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |