
Originally Posted by
sisija
It's nice, but such a server with almost no functions isn't nice :p
It covers all functions Mobiles Disco used to have, and more than any Mobiles Disco server released public.
Mobiles Disco was never a 'real' game. ;P

Originally Posted by
Lord Jordan
Steal my limelight will you? Rawrrrrrrrrrr.
Nice I never got this to run java seems to shit brix on my machine but the structure is all their (12 LOGIN DipShit beep //Login username password etc anyway nice release I'll try to make this work again later if eclipse will run.
Meepmeepmeep!
I wrote this thing like in the end of January methinks, and when I showed it you on #som irc you wanted to do a Mobiles Disco server as well! :D
And I REALLY recommend you to do some generic message parser class like in this one, as it shortens your code to a few lines!
The biggest client>server message in MobilesDisco is REGISTER, and this server wraps it all up in this snippet.
http://pastebin.com/faf2ecff
All the other 'requesthandlers' are no more than two or three lines for each of them.
PHP Code:
package net.nillus.mobilesdisco.communication.requests;
import com.blunk.communication.ClientMessage;
import com.blunk.communication.ClientRequestHandler;
import com.blunk.communication.CommunicationHandler;
public class LOGIN implements ClientRequestHandler
{
public void handle(ClientMessage msg, CommunicationHandler comm)
{
String name = msg.nextArgument();
String password = msg.nextArgument();
comm.Login(name, password);
}
}
PHP Code:
package net.nillus.mobilesdisco.communication.requests;
import net.nillus.mobilesdisco.spaces.SpaceUser;
import com.blunk.communication.ClientMessage;
import com.blunk.communication.ClientRequestHandler;
import com.blunk.communication.CommunicationHandler;
public class Dance implements ClientRequestHandler
{
public void handle(ClientMessage msg, CommunicationHandler comm)
{
SpaceUser usr = comm.getSpaceInstance().getUser(comm.clientID);
if(usr != null)
{
usr.removeStatus("dance");
usr.addStatus("dance", null);
usr.requiresUpdate = true;
}
}
}
Whereas your code would not only be ugly, but also hard to read etc! 
Look in the thing better Jordan, do not re-invent the wheel all the time.
Loveee youuu. xx
- Nillus