Lyre 1 Posted January 7 Share Posted January 7 I would like to make a single kingdom from the source, not from the client, but to be able to change 2 or even 3 kingdoms in the meantime. If it is changed only from selectempirewindow.py, anyone with another client can choose another kingdom. I`m Newbye in C++ and Py. i need a explicit tut from some1 who have time. Happy new Year ! Link to comment Share on other sites More sharing options...
Solution Punszz 1 Posted January 8 Solution Share Posted January 8 (edited) Make sure they can't use another client, try add client version on auth phase! // Under: const TPacketCGEmpire* p = reinterpret_cast<const TPacketCGEmpire*>(c_pData); // Input_login.cpp // Add if (p->bEmpire != 1) { d->SetPhase(PHASE_CLOSE); return; } // Replace 1 in if statement with the empire index you want to keep. Edited January 8 by Punszz Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now