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:
parent
8a77925c30
commit
1fc4a1676d
3 changed files with 2 additions and 11 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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 );
|
||||
|
|
|
@ -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();
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue