Skip to content

Commit

Permalink
Spelling fixes + Linux Install Script Link update
Browse files Browse the repository at this point in the history
The ogar-linux-script still pointed towards the original Ogar.
  • Loading branch information
chuushi committed Jun 16, 2016
1 parent 082caa4 commit 1a06762
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions ogar-linux-script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ download_and_extract () {
if [ ! -d Ogar-master ]; then
if [ ! -f master.tar.gz ]; then
echo "No local master.tar.gz found, downloading with curl."
curl -O -L https://github.com/forairan/Ogar/archive/master.tar.gz
curl -O -L https://github.com/Barbosik/MultiOgar/archive/master.tar.gz
fi
if [ ! -f master.tar.gz ]; then
echo "curl failed to download master.tar.gz, trying wget."
wget https://github.com/forairan/Ogar/archive/master.tar.gz
wget https://github.com/Barbosik/MultiOgar/archive/master.tar.gz
if [ ! -f master.tar.gz ]; then
echo "wget failed as well. Aborting!"
exit 1
Expand Down
4 changes: 2 additions & 2 deletions src/PacketHandler.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@ PacketHandler.prototype.handleMessage = function(message) {
// Send welcome message
this.gameServer.sendChatMessage(null, this.socket.playerTracker, "Welcome to MultiOgar server!");
if (this.gameServer.config.serverChat == 0)
this.gameServer.sendChatMessage(null, this.socket.playerTracker, "This server chat is disabled.");
this.gameServer.sendChatMessage(null, this.socket.playerTracker, "This server's chat is disabled.");
if (this.protocol < 4) {
this.gameServer.sendChatMessage(null, this.socket.playerTracker, "WARNING Your client has protocol error!");
this.gameServer.sendChatMessage(null, this.socket.playerTracker, "WARNING: Your client has protocol error!");
this.gameServer.sendChatMessage(null, this.socket.playerTracker, "Client sends invalid protocol version "+this.protocol);
this.gameServer.sendChatMessage(null, this.socket.playerTracker, "Server assumes it as protocol 4");
}
Expand Down

0 comments on commit 1a06762

Please sign in to comment.