mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-04-02 19:42:05 -04:00
Fixed state being wrong size. Player substate will always be 0xBF.
This commit is contained in:
parent
fac9d28529
commit
315ec1f220
@ -45,6 +45,8 @@ namespace FFXIVClassic_Map_Server.dataobjects.chara
|
||||
{
|
||||
actorName = String.Format("_player{0:00000000}", actorID);
|
||||
|
||||
currentSubState = SetActorStatePacket.SUB_STATE_PLAYER;
|
||||
|
||||
DBStats stats = Database.getCharacterStats(actorID);
|
||||
|
||||
charaWork.property[0] = 1;
|
||||
|
@ -34,7 +34,7 @@ namespace FFXIVClassic_Map_Server.packets.send.actor
|
||||
|
||||
public static SubPacket buildPacket(uint playerActorID, uint targetID, uint mainState, uint subState)
|
||||
{
|
||||
uint combined = (mainState & 0xFF) | ((subState & 0xFF) << 8);
|
||||
ulong combined = (mainState & 0xFF) | ((subState & 0xFF) << 8);
|
||||
return new SubPacket(OPCODE, playerActorID, targetID, BitConverter.GetBytes(combined));
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user