Port 8000 must be open for the connection from the client to work correctly (from conquerloader)
First of all I want to make one thing clear, if you do not know programming you should not be reading this post or doing your private conquest server, it is not a joke, it is something quite understandable.
Requeriments:
- .Net Framework 4.6
- Minimum level of Programming in C #
Instructions
1- Add the CLCore as a reference
2- Search in Program.cs from your source the following:
if (EntityUID.Now == 0)
After that add:
CLServer = new CLCore.CLServer(8000);
CLServer.DetectedNotAllowedIP += CLServer_DetectedNotAllowedIP;
3- Add this function and the variable in that same Program.cs
public static CLCore.CLServer CLServer = null;
private static void CLServer_DetectedNotAllowedIP(string IPAddress)
{
GameState client = Values.FirstOrDefault(p => p.Account.IP == IPAddress);
if (client != null)
{
client.Disconnect();
}
}
4- Find the following:
player.Send(Fw);
Replace with this:
if (!CLServer.CheckConnectionByIP(arg3.IP)) // If not connected kickout from client login with ForwardType 58
{
Fw.Type = (Forward.ForwardType)58;
player.Send(Fw);
return;
} else
{
CLServer.WatchClientIP(arg3.IP); // Prevent skip protection by IP
}
player.Send(Fw);
Code tested in Source de Pezzi, it is based on Emulator according to what they tell me.
Note: The source codes may not be compatible with yours, so you will have to adapt them or contact the owner of the software to adapt them for you, charging for the service