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 authored and GitHub committed 2021-10-02 17:38:17 +00:00
1 parent bbe1587e20
commit 865ef4ed29
4 files changed
+39 -27

No files matched your search

+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);