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:
Danial
2021-10-03 06:38:17 +13:00
committed by GitHub
parent bbe1587e20
commit 865ef4ed29
4 changed files with 39 additions and 27 deletions
+3
View File
@@ -7274,6 +7274,9 @@ public class Game extends RSApplet {
Animable_Sub5.clientInstance = this;
ObjectDef.clientInstance = this;
EntityDef.clientInstance = this;
if (myUsername != "" && myPassword != "")
login(myUsername, myPassword, false);
return;
} catch (Exception exception) {
Signlink.reporterror("loaderror " + aString1049 + " " + anInt1079);