implemented sendpacket and speed commands

- fixed data race on logging in
- todo: implement reloadzones, reloaditems, property, property2
This commit is contained in:
Tahir Akhlaq 2016-06-24 20:52:30 +01:00
parent 7a25c818f2
commit 30b0d4a97d
11 changed files with 74 additions and 81 deletions

View file

@ -5,7 +5,7 @@ namespace FFXIVClassic_Map_Server.packets.send.login
{
class Login0x7ResponsePacket
{
public static BasePacket BuildPacket(uint actorID, uint time)
public static BasePacket BuildPacket(uint actorID, uint time, uint type)
{
byte[] data = new byte[0x18];
@ -16,7 +16,7 @@ namespace FFXIVClassic_Map_Server.packets.send.login
try
{
binWriter.Write((short)0x18);
binWriter.Write((short)0x8);
binWriter.Write((short)type);
binWriter.Write((uint)0);
binWriter.Write((uint)0);
binWriter.Write((uint)0xFFFFFD7F);