mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-06-09 05:54:50 +02:00
Added command and script packets. Finished the SetActorProperty packet. Fixed bug with manually send packets from console.
This commit is contained in:
parent
ba68546cc9
commit
0a6b005a0c
9 changed files with 198 additions and 43 deletions
|
@ -9,14 +9,16 @@ namespace FFXIVClassic_Map_Server.packets.send.script
|
|||
{
|
||||
class ScriptResultPacket
|
||||
{
|
||||
bool invalidPacket = false;
|
||||
public const ushort OPCODE = 0x012E;
|
||||
public const uint PACKET_SIZE = 0xD8;
|
||||
|
||||
public bool invalidPacket = false;
|
||||
|
||||
public uint actorID;
|
||||
public uint scriptOwnerActorID;
|
||||
public uint val1;
|
||||
public uint val2;
|
||||
public uint val3;
|
||||
public uint val4;
|
||||
public uint val5;
|
||||
ScriptParamReader reader;
|
||||
|
||||
public ScriptResultPacket(byte[] data)
|
||||
{
|
||||
|
@ -26,11 +28,11 @@ namespace FFXIVClassic_Map_Server.packets.send.script
|
|||
{
|
||||
try{
|
||||
actorID = binReader.ReadUInt32();
|
||||
scriptOwnerActorID = binReader.ReadUInt32();
|
||||
val1 = binReader.ReadUInt32();
|
||||
val2 = binReader.ReadUInt32();
|
||||
val3 = binReader.ReadUInt32();
|
||||
val4 = binReader.ReadUInt32();
|
||||
val5 = binReader.ReadUInt32();
|
||||
binReader.ReadByte();
|
||||
reader = new ScriptParamReader(binReader);
|
||||
}
|
||||
catch (Exception){
|
||||
invalidPacket = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue