Original PR: https://github.com/2006-Scape/2006Scape/pull/506 Author: @RedSparr0w Created: 10/1/2021 Status: ✅ Merged Merged: 10/2/2021 Merged by: @dginovker
Base: master ← Head: client-args
master
client-args
71cfbdb
f0eba8e
a26265b
4 files changed (+39 additions, -27 deletions)
📝 2006Scape Client/src/main/java/Client.java (+2 -18) 📝 2006Scape Client/src/main/java/Game.java (+3 -0) 📝 2006Scape Client/src/main/java/Main.java (+33 -8) 📝 2006Scape Server/src/main/java/com/rs2/GameConstants.java (+1 -1)
2006Scape Client/src/main/java/Client.java
2006Scape Client/src/main/java/Game.java
2006Scape Client/src/main/java/Main.java
2006Scape Server/src/main/java/com/rs2/GameConstants.java
Added three possible arguments for launching client: server, username, password.
server
username
password
-s
-server
-u
-user
-username
-p
-pass
-password
Testing on local:
java -jar client.jar -server localhost -u myusername -p mypassword
NOTE: Also fixed up the server XP rate, must have changed it by accident in one of the other PRs 😅
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
No dependencies set.
The note is not visible to the blocked user.
📋 Pull Request Information
Original PR: https://github.com/2006-Scape/2006Scape/pull/506
Author: @RedSparr0w
Created: 10/1/2021
Status: ✅ Merged
Merged: 10/2/2021
Merged by: @dginovker
Base:
master← Head:client-args📝 Commits (3)
71cfbdbProcess client arguments, Auto loginf0eba8eSimplifya26265bFixup server XP rate📊 Changes
4 files changed (+39 additions, -27 deletions)
View changed files
📝
2006Scape Client/src/main/java/Client.java(+2 -18)📝
2006Scape Client/src/main/java/Game.java(+3 -0)📝
2006Scape Client/src/main/java/Main.java(+33 -8)📝
2006Scape Server/src/main/java/com/rs2/GameConstants.java(+1 -1)📄 Description
Info:
Added three possible arguments for launching client:
server,username,password.Aliases:
-s-server-u-user-username-p-pass-passwordExample:
Testing on local:
NOTE:
Also fixed up the server XP rate, must have changed it by accident in one of the other PRs 😅
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.