[Only registered and activated users can see links. Click Here To Register...]
:handsdown::handsdown:
✖๖̶ۣۜĐĭℓℓєᘠ»♔`∞#6730
:handsdown::handsdown:
✖๖̶ۣۜĐĭℓℓєᘠ»♔`∞#6730
firstMessage.Write($"<region>{Config.Instance.AuthAPI.Region}</region>");
public AuthAPIConfig()
{
Listener = new IPEndPoint(IPAddress.Loopback, 28001);
Region = "Region"; // <-- Change Region here
BlockedHWIDS = new string[0];
}
info = info.Replace("<region>", "");
info = info.Replace("</region>", "");
if (info == "Region") // <-- Change the Region here aswell
{
var sendmsg = new CCMessage();
sendmsg.Write(Constants.LoginWindow.GetUsername());
sendmsg.Write(Constants.LoginWindow.GetPassword());
sendmsg.Write(FingerPrint.Value());
sendmsg.Write("test");
RmiSend(client, 15, sendmsg);
Constants.LoginWindow.UpdateLabel("Connecting...");
} else {
Constants.LoginWindow.UpdateLabel("Error");
}
Quote:
Make sure that the region is set correctly in the Source, in the Auth Server Config and in the Launcher
Looks like the Launcher can't even connect to the Auth Server.
That's most like an issue that the Region is set incorrectly.
I don't know how much your sources differ from my one
But here are the Locations:
AuthServer -> LoginAPI -> LoginServerHandler.cs
Here it reads the Region from the Auth Config, make sure that it's like this aswellCode:firstMessage.Write($"<region>{Config.Instance.AuthAPI.Region}</region>");
AuthServer -> Config.cs
Change Region to the Region your server is named, in my case it's just "Region"Code:public AuthAPIConfig() { Listener = new IPEndPoint(IPAddress.Loopback, 28001); Region = "Region"; // <-- Change Region here BlockedHWIDS = new string[0]; }
Launcher -> LoginAPI -> Bytearray.cs
And finally the AuthServer.hjson file inside your AuthServer Folder where you start itCode:info = info.Replace("<region>", ""); info = info.Replace("</region>", ""); if (info == "Region") // <-- Change the Region here aswell { var sendmsg = new CCMessage(); sendmsg.Write(Constants.LoginWindow.GetUsername()); sendmsg.Write(Constants.LoginWindow.GetPassword()); sendmsg.Write(FingerPrint.Value()); sendmsg.Write("test"); RmiSend(client, 15, sendmsg); Constants.LoginWindow.UpdateLabel("Connecting..."); } else { Constants.LoginWindow.UpdateLabel("Error"); }
[Only registered and activated users can see links. Click Here To Register...]