|
|
@ -251,9 +251,11 @@ int main(int argc, char *argv[])
|
|
|
|
|
|
|
|
|
|
|
|
RakNet::RakPeerInterface *peer = RakNet::RakPeerInterface::GetInstance();
|
|
|
|
RakNet::RakPeerInterface *peer = RakNet::RakPeerInterface::GetInstance();
|
|
|
|
|
|
|
|
|
|
|
|
stringstream sstr(TES3MP_VERSION);
|
|
|
|
stringstream sstr;
|
|
|
|
|
|
|
|
sstr << TES3MP_VERSION;
|
|
|
|
sstr << TES3MP_PROTO_VERSION;
|
|
|
|
sstr << TES3MP_PROTO_VERSION;
|
|
|
|
sstr << version.mCommitHash;
|
|
|
|
sstr << version.mCommitHash;
|
|
|
|
|
|
|
|
cout << sstr.str() << endl;
|
|
|
|
|
|
|
|
|
|
|
|
peer->SetIncomingPassword(sstr.str().c_str(), (int) sstr.str().size());
|
|
|
|
peer->SetIncomingPassword(sstr.str().c_str(), (int) sstr.str().size());
|
|
|
|
|
|
|
|
|
|
|
|