mirror of
https://github.com/2006-Scape/2006Scape.git
synced 2026-07-04 08:39:05 +00:00
Process client arguments, Auto login option (#506)
* Process client arguments, Auto login 1st argument = server IP 2nd argument = username 3rd argument = password * Simplify * Fixup server XP rate
This commit is contained in:
@@ -1,22 +1,6 @@
|
||||
import java.net.InetAddress;
|
||||
import java.net.UnknownHostException;
|
||||
|
||||
public final class Client {
|
||||
|
||||
public static void main(String[] args) {
|
||||
ClientSettings.SERVER_IP = "127.0.0.1";
|
||||
try {
|
||||
Game game = new Game();
|
||||
Game.nodeID = 10;
|
||||
Game.portOff = 0;
|
||||
Game.setHighMem();
|
||||
Game.isMembers = true;
|
||||
Signlink.storeid = 32;
|
||||
Signlink.startpriv(InetAddress.getLocalHost());
|
||||
game.createClientFrame(503, 765);
|
||||
} catch (UnknownHostException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
ClientSettings.SERVER_IP = "localhost";
|
||||
Main.main(args);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user