Code improvements
Fixed authentication (Can be activated now) Added MersenneTwister.h Thanks to mtilden ( http://forum.mc-server.org/showthread.php?tid=183&pid=1428#pid1428 and http://forum.mc-server.org/showthread.php?tid=183&pid=1418#pid1418 ) git-svn-id: http://mc-server.googlecode.com/svn/trunk@106 0a769ca7-a7f5-676a-18bf-c427514a06d6
This commit is contained in:
@@ -23,7 +23,7 @@ cAuthenticator::~cAuthenticator()
|
||||
bool cAuthenticator::Authenticate( const char* a_PlayerName, const char* a_ServerID )
|
||||
{
|
||||
// Default values
|
||||
std::string Server = "www.minecraft.net";
|
||||
std::string Server = "session.minecraft.net";
|
||||
std::string Address = "/game/checkserver.jsp?user=%USERNAME%&serverId=%SERVERID%";
|
||||
bool bAuthenticate = true;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user