Hello
This is my 1st code i post
adding Socket Gem System
go to PacketHandler.cs
find
Quote:
case 2220:
above it put
Quote:
#region 1027 Put Gems
case 1027:
{
string P = ""; string Phex = "";
for (byte bit = 0; bit < Data.Length - 8; bit++)
{
int Pi = Data[bit];
P += Data[bit] + " ";
Phex += Pi.ToString("X") + " ";
}
uint MainUID = BitConverter.ToUInt32(Data, 8);
uint GemUID = BitConverter.ToUInt32(Data, 12);
Struct.ItemInfo MainItem = Client.InventoryItem(MainUID);//Retrieves iteminfo from Client of MainUID
Struct.ItemInfo Gem = Client.InventoryItem(GemUID);//Retrieves iteminfo from Client of MinorUID
byte mode = Data[18];
byte slot = Data[16];
socket system tut ? 09/09/2010 - Silkroad Online - 7 Replies hello. i`m looking for a socket system tutorial. any help please?
What about coding an efficient socket system? 08/10/2010 - CO2 Private Server - 22 Replies I want to start a new project from scratch, and I thought about using my sockets from my last unfinished projects until I saw the .NET 3.5 methods. What do you guys think about the methods used in the sample which was released by MS? I`m talking about the BufferManager approach, and the pool for the SocketAsyncEventArgs. It seems nice to me, I implemented this in my project, with some modifications to fit my needs, what do you guys think about it?
#edit : Also, would it be better if I coded...