From 1916d2003129cc174338265812a429ab030814e2 Mon Sep 17 00:00:00 2001 From: SilicaAndPina Date: Thu, 4 Feb 2021 13:58:57 +1300 Subject: [PATCH] fix gamedata.json, and multirooms crashing the entire server --- DataCollection/gamedata.json | 2 +- Horse Isle Server/HorseIsleServer/Server/GameServer.cs | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/DataCollection/gamedata.json b/DataCollection/gamedata.json index feaaa58..e104517 100755 --- a/DataCollection/gamedata.json +++ b/DataCollection/gamedata.json @@ -138,7 +138,7 @@ "cannot_afford_service":"You cannot afford the groomer's services at this time.", "currently_at":"^LYour horse %HORSENAME%: groom currently %TOTAL%/%MAX%^R1", "apply_service":"^I258^T8Apply grooming services for $%PRICE% ^B3G%RANDOMID%^R1", - "apply_all":"^R1^R1^I258^T8Groom all %COUNT% horses for $%PRICE% ^B3g^R1" + "apply_all":"^R1^R1^I258^T8Groom all %COUNT% horses for $%PRICE% ^B3g^R1", "cannot_improve":"^I258^T9This groomer cannot improve this horse's groom.^R1" }, "farrier":{ diff --git a/Horse Isle Server/HorseIsleServer/Server/GameServer.cs b/Horse Isle Server/HorseIsleServer/Server/GameServer.cs index c13a467..d081399 100755 --- a/Horse Isle Server/HorseIsleServer/Server/GameServer.cs +++ b/Horse Isle Server/HorseIsleServer/Server/GameServer.cs @@ -2691,6 +2691,9 @@ namespace HISP.Server return; } + Logger.DebugPrint(sender.LoggedinUser.Username + " Clicked on tile: " + Map.GetTileId(x, y, false).ToString() + "(overlay: " + Map.GetTileId(x, y, true).ToString() + " at " + x.ToString() + "," + y.ToString()); + + // Get description of tile string returnedMsg = Messages.NothingInterestingHere; if(World.InSpecialTile(x, y))