mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-05-20 08:26:59 -04:00
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:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user