mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-04-27 22:57:45 +00:00
Merge pull request #480 from NotAdam/develop
fix dismount, fix some debug msg formatting
This commit is contained in:
commit
1c2da46428
3 changed files with 7 additions and 7 deletions
|
@ -204,11 +204,11 @@ enum ActorControlType : uint16_t
|
|||
SetFestival = 0x386, // param1: festival.exd index
|
||||
|
||||
ToggleOrchestrionUnlock = 0x396,
|
||||
Dismount = 0x3A0,
|
||||
Dismount = 0x3A1, // updated 4.5
|
||||
|
||||
// Duty Recorder
|
||||
BeginReplayAck = 0x3A1,
|
||||
EndReplayAck = 0x3A2,
|
||||
BeginReplayAck = 0x3A2,
|
||||
EndReplayAck = 0x3A3,
|
||||
|
||||
// Housing
|
||||
ShowHousingItemUI = 0x3F7,
|
||||
|
|
|
@ -315,7 +315,7 @@ void Sapphire::Network::GameConnection::processOutQueue()
|
|||
totalSize += pPacket->getSize();
|
||||
|
||||
// todo: figure out a good max set size and make it configurable
|
||||
if( totalSize > 15000 )
|
||||
if( totalSize > 10000 )
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
|
@ -48,7 +48,7 @@ void Sapphire::Network::GameConnection::eventHandlerTalk( FrameworkPtr pFw,
|
|||
std::string eventName = "onTalk";
|
||||
std::string objName = pEventMgr->getEventName( eventId );
|
||||
|
||||
player.sendDebug( "Chara: {0} -> {1} \neventId: {2} ({3:08X}",
|
||||
player.sendDebug( "Chara: {0} -> {1} \neventId: {2} ({3:08X})",
|
||||
actorId, pEventMgr->mapEventActorToRealActor( static_cast< uint32_t >( actorId ) ),
|
||||
eventId, eventId );
|
||||
|
||||
|
@ -90,7 +90,7 @@ void Sapphire::Network::GameConnection::eventHandlerEmote( FrameworkPtr pFw,
|
|||
std::string eventName = "onEmote";
|
||||
std::string objName = pEventMgr->getEventName( eventId );
|
||||
|
||||
player.sendDebug( "Chara: {0} -> {1} \neventId: {2} ({3:08X}",
|
||||
player.sendDebug( "Chara: {0} -> {1} \neventId: {2} ({3:08X})",
|
||||
actorId, pEventMgr->mapEventActorToRealActor( static_cast< uint32_t >( actorId ) ),
|
||||
eventId, eventId );
|
||||
|
||||
|
@ -269,7 +269,7 @@ void Sapphire::Network::GameConnection::eventHandlerShop( FrameworkPtr pFw,
|
|||
std::string eventName = "onOpen";
|
||||
std::string objName = pEventMgr->getEventName( eventId );
|
||||
|
||||
player.sendDebug( "EventId: {0} ({0:08X}", eventId );
|
||||
player.sendDebug( "EventId: {0} ({0:08X})", eventId );
|
||||
|
||||
player.sendDebug( "Calling: {0}.{1}", objName, eventName );
|
||||
player.eventStart( player.getId(), eventId, Event::EventHandler::UI, 0, packet.data().param );
|
||||
|
|
Loading…
Add table
Reference in a new issue