Added all the inventory packets, and implemented add and get inventory from the db to the server. Inventory at login is now connected to the db!

This commit is contained in:
Filip Maj 2016-02-11 22:14:40 -05:00
parent c4dea467e3
commit df2ac1fb32
23 changed files with 1227 additions and 160 deletions

View file

@ -19,7 +19,7 @@ namespace FFXIVClassic_Lobby_Server
//Connection stuff
public Blowfish blowfish;
public Socket socket;
public byte[] buffer = new byte[0xffff];
public byte[] buffer = new byte[0xfffff];
private BlockingCollection<BasePacket> sendPacketQueue = new BlockingCollection<BasePacket>(1000);
//Instance Stuff
@ -46,7 +46,7 @@ namespace FFXIVClassic_Lobby_Server
BasePacket packet = sendPacketQueue.Take();
byte[] packetBytes = packet.getPacketBytes();
byte[] buffer = new byte[0xffff];
byte[] buffer = new byte[0xfffff];
Array.Copy(packetBytes, buffer, packetBytes.Length);
try
{