1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-04-26 22:37:45 +00:00

opcode update, cleanup and maybe disconnect issue fixed?

it works on my machine™️
This commit is contained in:
Adam 2018-02-03 19:42:42 +11:00
parent 8a77925c30
commit 1fc4a1676d
3 changed files with 2 additions and 11 deletions

View file

@ -141,7 +141,7 @@ namespace Packets {
PlayerTitleList = 0x01EB, // updated 4.2
Discovery = 0x01EC, // updated 4.2
EorzeaTimeOffset = 0x01C0, // updated 4.1
EorzeaTimeOffset = 0x01EE, // updated 4.2
EquipDisplayFlags = 0x01FA, // updated 4.2

View file

@ -702,15 +702,6 @@ void Core::DebugCommandHandler::script( char* data, Entity::Player &player, boos
player.sendDebug( "Queued script reload for script: " + params );
}
}
else if( subCommand == "build" || subCommand == "b" )
{
if( subCommand == params )
player.sendDebug( "Command failed: requires name of cmake target" );
else
{
}
}
else
{
player.sendDebug( "Unknown script subcommand: " + subCommand );

View file

@ -282,7 +282,7 @@ void Core::ServerZone::mainLoop()
auto it = this->m_sessionMapById.begin();
for( ; it != this->m_sessionMapById.end(); )
{
int64_t diff = currTime - it->second->getLastDataTime();
auto diff = std::difftime( currTime, it->second->getLastDataTime() );
auto pPlayer = it->second->getPlayer();