mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-06-13 07:54:39 +02:00
Got the kick event packet working and implemented the director parameter in the player instantiation. The first argument of the set event status packet is an "isEnabled" flag; switched to bool rather than int.
This commit is contained in:
parent
597a800599
commit
6c3918ac2f
6 changed files with 39 additions and 46 deletions
|
@ -25,9 +25,13 @@ namespace FFXIVClassic_Map_Server.packets.send.events
|
|||
binWriter.Write((UInt32)playerActorId);
|
||||
binWriter.Write((UInt32)targetActorId);
|
||||
binWriter.Write((Byte)0x5);
|
||||
binWriter.Write((Byte)0x87);
|
||||
binWriter.Write((Byte)0xDC);
|
||||
binWriter.Write((Byte)0x75);
|
||||
binWriter.Write((UInt32)0x30400000);
|
||||
binWriter.Write(Encoding.ASCII.GetBytes(conditionName), 0, Encoding.ASCII.GetByteCount(conditionName) >= 0x20 ? 0x20 : Encoding.ASCII.GetByteCount(conditionName));
|
||||
|
||||
binWriter.Seek(0x29, SeekOrigin.Begin);
|
||||
binWriter.Seek(0x30, SeekOrigin.Begin);
|
||||
|
||||
LuaUtils.writeLuaParams(binWriter, luaParams);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue