بوكر كامل سورس جديد للعبة كونكر بالشرح

باكتات البوكر لجميع سورسات ال#C
نبتدى باسم الله
الباكتات

انا هشرحلك ازى تضيف اكود

للعلم ده يتحط فى السورس فى المسار ده
Game\poker.cs

كود PHP:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace 
Conquer_Online_Server.Network.GamePackets
{
public class 
poker WriterInterfaces.IPacket
{
public const 
uint NotSignedUp 0,
WaitingForOpponent 1,
WaitingInactive 2;
byte[] Buffer;
public 
poker(bool Create)
{
Buffer = new byte[28];
WriteUInt16(200Buffer);
WriteUInt16(20902Buffer);
}
public 
ushort show
{
get { return BitConverter.ToUInt16(Buffer4); }
set WriteUInt16(value4Buffer); }
}
public 
ushort show1
{
get { return BitConverter.ToUInt16(Buffer6); }
set WriteUInt16(value6Buffer); }
}
public 
uint show2
{
get { return BitConverter.ToUInt32(Buffer8); }
set WriteUInt32(value8Buffer); }
}
public 
uint show3
{
get { return BitConverter.ToUInt32(Buffer12); }
set WriteUInt32(value12Buffer); }
}
public 
uint show4
{
get { return BitConverter.ToUInt32(Buffer16); }
set WriteUInt32(value16Buffer); }
}
public 
void Send(Client.GameState client)
{
client.Send(ToArray());
}
public 
byte[] ToArray()
{
return 
Buffer;
}
public 
void Deserialize(byte[] buffer)
{
Buffer buffer;
}
}
public class 
poker2 WriterInterfaces.IPacket
{
public const 
uint NotSignedUp 0,
WaitingForOpponent 1,
WaitingInactive 2;
byte[] Buffer;
public 
poker2(bool Create)
{
Buffer = new byte[24];
WriteUInt16(160Buffer);
WriteUInt16(20962Buffer);
}
public 
uint show
{
get { return BitConverter.ToUInt32(Buffer4); }
set WriteUInt32(value4Buffer); }
}
public 
uint show1
{
get { return BitConverter.ToUInt32(Buffer8); }
set WriteUInt32(value8Buffer); }
}
public 
uint show2
{
get { return BitConverter.ToUInt32(Buffer12); }
set WriteUInt32(value12Buffer); }
}
public 
void Send(Client.GameState client)
{
client.Send(ToArray());
}
public 
byte[] ToArray()
{
return 
Buffer;
}
public 
void Deserialize(byte[] buffer)
{
Buffer buffer;
}
}
public class 
poker2171 WriterInterfaces.IPacket
{
public const 
uint NotSignedUp 0,
WaitingForOpponent 1,
WaitingInactive 2;
byte[] Buffer;
public 
poker2171(bool Create)
{
Buffer = new byte[28];
WriteUInt16(200Buffer);
WriteUInt16(21712Buffer);
}
public 
uint show
{
get { return BitConverter.ToUInt32(Buffer4); }
set WriteUInt32(value4Buffer); }
}
public 
uint show1
{
get { return BitConverter.ToUInt32(Buffer8); }
set WriteUInt32(value8Buffer); }
}
public 
uint show2
{
get { return BitConverter.ToUInt32(Buffer12); }
set WriteUInt32(value12Buffer); }
}
public 
uint show3
{
get { return BitConverter.ToUInt32(Buffer16); }
set WriteUInt32(value16Buffer); }
}
public 
void Send(Client.GameState client)
{
client.Send(ToArray());
}
public 
byte[] ToArray()
{
return 
Buffer;
}
public 
void Deserialize(byte[] buffer)
{
Buffer buffer;
}
}
public class 
poker2090 WriterInterfaces.IPacket
{
public const 
uint NotSignedUp 0,
WaitingForOpponent 1,
WaitingInactive 2;
byte[] Buffer;
public 
poker2090(bool Create)
{
Buffer = new byte[28];
WriteUInt16(200Buffer);
WriteUInt16(20902Buffer);
}
public 
ushort show
{
get { return BitConverter.ToUInt16(Buffer4); }
set WriteUInt16(value4Buffer); }
}
public 
ushort show1
{
get { return BitConverter.ToUInt16(Buffer6); }
set WriteUInt16(value6Buffer); }
}
public 
uint show2
{
get { return BitConverter.ToUInt32(Buffer8); }
set WriteUInt32(value8Buffer); }
}
public 
uint show3
{
get { return BitConverter.ToUInt32(Buffer12); }
set WriteUInt32(value12Buffer); }
}
public 
uint show4
{
get { return BitConverter.ToUInt32(Buffer16); }
set WriteUInt32(value16Buffer); }
}
public 
void Send(Client.GameState client)
{
client.Send(ToArray());
}
public 
byte[] ToArray()
{
return 
Buffer;
}
public 
void Deserialize(byte[] buffer)
{
Buffer buffer;
}
}
public class 
poker2091 WriterInterfaces.IPacket
{
public const 
uint NotSignedUp 0,
WaitingForOpponent 1,
WaitingInactive 2;
byte[] Buffer;
public 
poker2091(bool Create)
{
Buffer = new byte[52];
WriteUInt16(440Buffer);
WriteUInt16(20912Buffer);
}
public 
ushort show
{
get { return BitConverter.ToUInt16(Buffer4); }
set WriteUInt16(value4Buffer); }
}
public 
ushort show1
{
get { return BitConverter.ToUInt16(Buffer6); }
set WriteUInt16(value6Buffer); }
}
public 
uint show2
{
get { return BitConverter.ToUInt32(Buffer8); }
set WriteUInt32(value8Buffer); }
}
public 
uint show3
{
get { return BitConverter.ToUInt32(Buffer12); }
set WriteUInt32(value12Buffer); }
}
public 
uint show4
{
get { return BitConverter.ToUInt32(Buffer16); }
set WriteUInt32(value16Buffer); }
}
public 
uint show5
{
get { return BitConverter.ToUInt32(Buffer20); }
set WriteUInt32(value20Buffer); }
}
public 
uint show6
{
get { return BitConverter.ToUInt32(Buffer24); }
set WriteUInt32(value24Buffer); }
}
public 
uint show7
{
get { return BitConverter.ToUInt32(Buffer26); }
set WriteUInt32(value26Buffer); }
}
public 
uint show8
{
get { return BitConverter.ToUInt32(Buffer30); }
set WriteUInt32(value30Buffer); }
}
public 
uint show9
{
get { return BitConverter.ToUInt32(Buffer34); }
set WriteUInt32(value34Buffer); }
}
public 
uint show10
{
get { return BitConverter.ToUInt32(Buffer38); }
set WriteUInt32(value38Buffer); }
}
public 
void Send(Client.GameState client)
{
client.Send(ToArray());
}
public 
byte[] ToArray()
{
return 
Buffer;
}
public 
void Deserialize(byte[] buffer)
{
Buffer buffer;
}
}
public class 
poker2092 WriterInterfaces.IPacket
{
public const 
int NotSignedUp 0,
WaitingForOpponent 1,
WaitingInactive 2;
byte[] Buffer;
public 
poker2092(bool Create)
{
Buffer = new byte[28];
WriteUInt16(200Buffer);
WriteUInt16(20922Buffer);
}
public 
ushort show
{
get { return BitConverter.ToUInt16(Buffer4); }
set WriteUInt16(value4Buffer); }
}
public 
ushort show1
{
get { return BitConverter.ToUInt16(Buffer6); }
set WriteUInt16(value6Buffer); }
}
public 
uint show2
{
get { return BitConverter.ToUInt32(Buffer8); }
set WriteUInt32(value8Buffer); }
}
public 
uint show3
{
get { return BitConverter.ToUInt32(Buffer12); }
set WriteUInt32(value12Buffer); }
}
public 
uint show4
{
get { return BitConverter.ToUInt32(Buffer16); }
set WriteUInt32(value16Buffer); }
}
public 
void Send(Client.GameState client)
{
client.Send(ToArray());
}
public 
byte[] ToArray()
{
return 
Buffer;
}
public 
void Deserialize(byte[] buffer)
{
Buffer buffer;
}
}
public class 
poker2093 WriterInterfaces.IPacket
{
public const 
uint NotSignedUp 0,
WaitingForOpponent 1,
WaitingInactive 2;
byte[] Buffer;
public 
poker2093(bool Create)
{
Buffer = new byte[28];
WriteUInt16(200Buffer);
WriteUInt16(20932Buffer);
}
public 
ushort show
{
get { return BitConverter.ToUInt16(Buffer4); }
set WriteUInt16(value4Buffer); }
}
public 
ushort show1
{
get { return BitConverter.ToUInt16(Buffer6); }
set WriteUInt16(value6Buffer); }
}
public 
uint show2
{
get { return BitConverter.ToUInt32(Buffer8); }
set WriteUInt32(value8Buffer); }
}
public 
uint show3
{
get { return BitConverter.ToUInt32(Buffer12); }
set WriteUInt32(value12Buffer); }
}
public 
uint show4
{
get { return BitConverter.ToUInt32(Buffer16); }
set WriteUInt32(value16Buffer); }
}
public 
void Send(Client.GameState client)
{
client.Send(ToArray());
}
public 
byte[] ToArray()
{
return 
Buffer;
}
public 
void Deserialize(byte[] buffer)
{
Buffer buffer;
}
}
public class 
poker2094 WriterInterfaces.IPacket
{
public const 
uint NotSignedUp 0,
WaitingForOpponent 1,
WaitingInactive 2;
byte[] Buffer;
public 
poker2094(bool Create)
{
Buffer = new byte[40];
WriteUInt16(320Buffer);
WriteUInt16(20942Buffer);
}
public 
ushort show
{
get { return BitConverter.ToUInt16(Buffer4); }
set WriteUInt16(value4Buffer); }
}
public 
ushort show1
{
get { return BitConverter.ToUInt16(Buffer6); }
set WriteUInt16(value6Buffer); }
}
public 
uint show2
{
get { return BitConverter.ToUInt32(Buffer8); }
set WriteUInt32(value8Buffer); }
}
public 
uint show3
{
get { return BitConverter.ToUInt32(Buffer12); }
set WriteUInt32(value12Buffer); }
}
public 
uint show4
{
get { return BitConverter.ToUInt32(Buffer16); }
set WriteUInt32(value16Buffer); }
}
public 
uint show5
{
get { return BitConverter.ToUInt32(Buffer20); }
set WriteUInt32(value20Buffer); }
}
public 
uint show6
{
get { return BitConverter.ToUInt32(Buffer24); }
set WriteUInt32(value24Buffer); }
}
public 
uint show7
{
get { return BitConverter.ToUInt32(Buffer26); }
set WriteUInt32(value26Buffer); }
}
public 
uint show8
{
get { return BitConverter.ToUInt32(Buffer30); }
set WriteUInt32(value30Buffer); }
}
public 
uint show9
{
get { return BitConverter.ToUInt32(Buffer34); }
set WriteUInt32(value34Buffer); }
}
public 
void Send(Client.GameState client)
{
client.Send(ToArray());
}
public 
byte[] ToArray()
{
return 
Buffer;
}
public 
void Deserialize(byte[] buffer)
{
Buffer buffer;
}
}
public class 
poker2095 WriterInterfaces.IPacket
{
public const 
uint NotSignedUp 0,
WaitingForOpponent 1,
WaitingInactive 2;
byte[] Buffer;
public 
poker2095(bool Create)
{
Buffer = new byte[46];
WriteUInt16(380Buffer);
WriteUInt16(20952Buffer);
}
public 
ushort show
{
get { return BitConverter.ToUInt16(Buffer4); }
set WriteUInt16(value4Buffer); }
}
public 
ushort show1
{
get { return BitConverter.ToUInt16(Buffer6); }
set WriteUInt16(value6Buffer); }
}
public 
uint show2
{
get { return BitConverter.ToUInt32(Buffer8); }
set WriteUInt32(value8Buffer); }
}
public 
uint show3
{
get { return BitConverter.ToUInt32(Buffer12); }
set WriteUInt32(value12Buffer); }
}
public 
uint show4
{
get { return BitConverter.ToUInt32(Buffer16); }
set WriteUInt32(value16Buffer); }
}
public 
void Send(Client.GameState client)
{
client.Send(ToArray());
}
public 
byte[] ToArray()
{
return 
Buffer;
}
public 
void Deserialize(byte[] buffer)
{
Buffer buffer;
}
}
public class 
poker2099 WriterInterfaces.IPacket
{
public const 
uint NotSignedUp 0,
WaitingForOpponent 1,
WaitingInactive 2;
byte[] Buffer;
public 
poker2099(bool Create)
{
Buffer = new byte[20];
WriteUInt16(120Buffer);
WriteUInt16(20992Buffer);
}
public 
ushort show
{
get { return BitConverter.ToUInt16(Buffer4); }
set WriteUInt16(value4Buffer); }
}
public 
ushort show1
{
get { return BitConverter.ToUInt16(Buffer6); }
set WriteUInt16(value6Buffer); }
}
public 
uint show2
{
get { return BitConverter.ToUInt32(Buffer8); }
set WriteUInt32(value8Buffer); }
}
public 
uint show3
{
get { return BitConverter.ToUInt32(Buffer12); }
set WriteUInt32(value12Buffer); }
}
public 
uint show4
{
get { return BitConverter.ToUInt32(Buffer16); }
set WriteUInt32(value16Buffer); }
}
public 
void Send(Client.GameState client)
{
client.Send(ToArray());
}
public 
byte[] ToArray()
{
return 
Buffer;
}
public 
void Deserialize(byte[] buffer)
{
Buffer buffer;
}
}



للعملم ده يتحط فى السورس فى المسار ده
Network\GamePackets/
PokerTable.cs


<FONT size=3>
كود PHP:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace 
Conquer_Online_Server.Network.GamePackets
{
public class 
PokerTable WriterInterfaces.IPacketInterfaces.tableInterfaces.IMapObject
{
private 
byte[] Buffer;
private 
ushort _MapID;
public 
PokerTable()
{
// WriteUInt16(52, 0, Pack);
// WriteUInt16(2172, 2, Pack);
// WriteUInt32((uint)101915, 4, Pack);//table uid
// WriteUInt16(C.X, 16, Pack);
// WriteUInt16(C.Y, 18, Pack);
// WriteUInt32((uint)7217967, 20, Pack);//table mesh with chairs.. NEEDED
// WriteUInt32(3, 26, Pack);//table id... it's auto boosted.. 0 = 1, 1 = 2, etc
//WriteUInt16(1, 30, Pack);//odd... interferes with pot count. MUST BE 1
// WriteUInt32(10000, 38, Pack);
Buffer = new byte[60];
WriteUInt16(520Buffer);
WriteUInt16(21722Buffer);
// WriteUInt16(1, 22, Buffer);
}
public 
uint UID
{
get { return BitConverter.ToUInt32(Buffer4); }
set WriteUInt32(value4Buffer); }
}
public 
ushort X
{
get { return BitConverter.ToUInt16(Buffer16); }
set WriteUInt16(value16Buffer); }
}
public 
ushort Y
{
get { return BitConverter.ToUInt16(Buffer18); }
set WriteUInt16(value18Buffer); }
}
public 
uint Mesh
{
get { return BitConverter.ToUInt32(Buffer20); }
set WriteUInt32(value20Buffer); }
}
public 
uint TableUID
{
get { return BitConverter.ToUInt32(Buffer26); }
set WriteUInt32(value26Buffer); }
}
public 
ushort BE
{
get { return BitConverter.ToUInt16(Buffer30); }
set WriteUInt16(value30Buffer); }
}
public 
uint Other
{
get { return BitConverter.ToUInt32(Buffer38); }
set WriteUInt32(value38Buffer); }
}
public 
Conquer_Online_Server.Game.Enums.NpcType Type
{
get { return (Conquer_Online_Server.Game.Enums.NpcType)Buffer[18]; }
set Buffer[18] = (byte)value; }
}
public 
ushort MapID get { return _MapID; } set _MapID value; } }
public 
Conquer_Online_Server.Game.MapObjectType MapObjType get { return Conquer_Online_Server.Game.MapObjectType.Npc; } }
public 
Client.GameState Owner get { return null; } }
public 
void SendSpawn(Client.GameState clientbool checkScreen)
{
if (
client.Screen.Add(this) || !checkScreen)
{
client.Send(Buffer);
}
}
public 
void SendSpawn(Client.GameState client)
{
SendSpawn(clientfalse);
}
public 
byte[] ToArray()
{
return 
Buffer;
}
public 
void Deserialize(byte[] buffer)
{
Buffer buffer;
}
public 
void Send(Client.GameState client)
{
SendSpawn(clientfalse);
}
}



بقى فى الحاجة دى وركزوا جامد
نروح على المسار ده
Sours/Network/PacketHandler.cs
نفتح الى اسمها
PacketHandler.cs
بالسى شارب
وبعد كده
نحط دى تحت اى باكت


كود PHP:
 #region Poker packets 

<FONT size=3>
كود PHP:
               case 5525://poker options??
                    
{
                        
uint SubType BitConverter.ToUInt32(packet4);
                        switch (
SubType)
                        {
                            case 
1://leave table
                                
{
                                    
poker2 Data = new poker2(true);
                                    
Data.show2 client.Entity.UID;
                                    
Data.show 1;
                                    
Data.show1 4;
                                    
client.Send(Data);
                                    
// Client.ToScreen(Packets.PokerOption(1, 4, Client.UID));
                                    //Packets.ToScreen(Packets.GeneralData(Client.UID, 0, 0, 0, 135), Client);//force despawn
                                    // Handler.Teleport(Client, Client.X, Client.Y, Client.Map);//yah... I got lazy... simply teleported away :D
                                    
break;
                                }
                            case 
65536://leave table
                                
{
                                    
poker2 Data = new poker2(true);
                                    
Data.show2 client.Entity.UID;
                                    
Data.show 1;
                                    
Data.show1 4;
                                    
client.Send(Data);
                                    
// Client.ToScreen(Packets.PokerOption(1, 4, Client.UID));
                                    //Packets.ToScreen(Packets.GeneralData(Client.UID, 0, 0, 0, 135), Client);//force despawn
                                    // Handler.Teleport(Client, Client.X, Client.Y, Client.Map);//yah... I got lazy... simply teleported away :D
                                    
break;
                                }
                            default: 
Console.WriteLine("Unknown 2096 subtype: " SubType); break;
                        }
                        break;
                    }
                case 
2099://receive poker request
                
koo:
                    {
                        
uint SubType BitConverter.ToUInt32(packet4);
                        switch (
SubType)
                        {
                            case 
65536://leave table
                                
poker2099 Data = new poker2099(true);
                                
Data.show 1;
                                
Data.show1 2;
                                
Data.show2 client.Entity.UID;
                                
client.Send(Data);
                                
// Client.ToScreen(Packets.PokerOption(1, 4, Client.UID));
                                //Packets.ToScreen(Packets.GeneralData(Client.UID, 0, 0, 0, 135), Client);//force despawn
                                // Handler.Teleport(Client, Client.X, Client.Y, Client.Map);//yah... I got lazy... simply teleported away :D
                                
break;
 
                            default: 
Console.WriteLine("Unknown 2099 subtype: " SubType); break;
                        }
                        break;
                    }
                case 
2090://90
                    
{
                        
uint SubType BitConverter.ToUInt32(packet4);
                        switch (
SubType)
                        {
                            case 
1://leave table
                                
{
                                    
poker2 Data = new poker2(true);
                                    
Data.show2 client.Entity.UID;
                                    
Data.show 1;
                                    
Data.show1 4;
                                    
client.Send(Data);
                                    
// Client.ToScreen(Packets.PokerOption(1, 4, Client.UID));
                                    //Packets.ToScreen(Packets.GeneralData(Client.UID, 0, 0, 0, 135), Client);//force despawn
                                    // Handler.Teleport(Client, Client.X, Client.Y, Client.Map);//yah... I got lazy... simply teleported away :D
                                    
break;
                                }
                            case 
65536://leave table
                                
{
                                    
poker Data = new poker(true);
                                    
Data.show4 client.Entity.UID;
                                    
Data.show 1;
                                    
Data.show1 1;
                                    
Data.show2 8;
                                    
Data.show3 4;
                                    
client.Send(Data);
                                    goto 
koo;
                                    
// Client.ToScreen(Packets.PokerOption(1, 4, Client.UID));
                                    //Packets.ToScreen(Packets.GeneralData(Client.UID, 0, 0, 0, 135), Client);//force despawn
                                    //Handler.Teleport(Client, Client.X, Client.Y, Client.Map);//yah... I got lazy... simply teleported away :D
                                
}
                            default: 
Console.WriteLine("Unknown 2090 subtype: " SubType); break;
                        }
                        break;
                    }
                case 
2091://91
                    
{
                        
uint SubType BitConverter.ToUInt32(packet4);
                        switch (
SubType)
                        {
                            case 
65536://leave table
                                
poker2091 Data1 = new poker2091(true);
                                
Data1.show4 client.Entity.UID;
                                
Data1.show 1;
                                
Data1.show1 2;
                                
Data1.show2 1;
                                
Data1.show3 1;
                                
Data1.show4 1;
                                
Data1.show5 1;
                                
Data1.show6 1;
                                
Data1.show7 1;
                                
Data1.show8 1;
                                
Data1.show9 1;
                                
Data1.show10 1;
                                
client.Send(Data1);
                                
// Client.ToScreen(Packets.PokerOption(1, 4, Client.UID));
                                //Packets.ToScreen(Packets.GeneralData(Client.UID, 0, 0, 0, 135), Client);//force despawn
                                // Handler.Teleport(Client, Client.X, Client.Y, Client.Map);//yah... I got lazy... simply teleported away :D
                                
break;

                            default: 
Console.WriteLine("Unknown 2091 subtype: " SubType); break;
                        }
                        break;
                    }
                case 
2092://92
                    
{
                        
uint SubType BitConverter.ToUInt32(packet4);
                        switch (
SubType)
                        {
                            case 
65536://leave table
                                
poker2092 Data = new poker2092(true);
                                
Data.show4 client.Entity.UID;
                                
Data.show 30;
                                
Data.show1 2;
                                
Data.show2 = (uint)client.Entity.ConquerPoints;
                                
Data.show3 = (uint)client.Entity.ConquerPoints;
                                
client.Send(Data);
                                
// Client.ToScreen(Packets.PokerOption(1, 4, Client.UID));
                                //Packets.ToScreen(Packets.GeneralData(Client.UID, 0, 0, 0, 135), Client);//force despawn
                                // Handler.Teleport(Client, Client.X, Client.Y, Client.Map);//yah... I got lazy... simply teleported away :D
                                
break;
 
                            default: 
Console.WriteLine("Unknown 2092 subtype: " SubType); break;
                        }
                        break;
                    }
                case 
2093://93
                    
{
                        
uint SubType BitConverter.ToUInt32(packet4);
                        switch (
SubType)
                        {
                            case 
65536://leave table
                                
poker2093 Data1 = new poker2093(true);
                                
Data1.show4 client.Entity.UID;
                                
Data1.show 1;
                                
Data1.show1 1;
                                
Data1.show2 8;
                                
Data1.show3 4;
                                
client.Send(Data1);
                                
// Client.ToScreen(Packets.PokerOption(1, 4, Client.UID));
                                //Packets.ToScreen(Packets.GeneralData(Client.UID, 0, 0, 0, 135), Client);//force despawn
                                // Handler.Teleport(Client, Client.X, Client.Y, Client.Map);//yah... I got lazy... simply teleported away :D
                                
break;

                            default: 
Console.WriteLine("Unknown 2093 subtype: " SubType); break;
                        }
                        break;
                    }
                case 
2094://receive poker request
                    
{
                        
uint SubType BitConverter.ToUInt32(packet4);
                        switch (
SubType)
                        {
                            case 
65536://leave table
                                
poker2094 Data1 = new poker2094(true);
                                
Data1.show4 client.Entity.UID;
                                
Data1.show 1;
                                
Data1.show1 2;
                                
Data1.show2 1;
                                
Data1.show3 1;
                                
Data1.show4 1;
                                
Data1.show5 1;
                                
Data1.show6 1;
                                
Data1.show7 1;
                                
Data1.show8 1;
                                
Data1.show9 1;
                                
client.Send(Data1);
                                
// Client.ToScreen(Packets.PokerOption(1, 4, Client.UID));
                                //Packets.ToScreen(Packets.GeneralData(Client.UID, 0, 0, 0, 135), Client);//force despawn
                                // Handler.Teleport(Client, Client.X, Client.Y, Client.Map);//yah... I got lazy... simply teleported away :D
                                
break;

                            default: 
Console.WriteLine("Unknown 2094 subtype: " SubType); break;
                        }
                        break;
                    }
                case 
2095://receive poker request
                    
{
                        
uint SubType BitConverter.ToUInt32(packet4);
                        switch (
SubType)
                        {
                            case 
65536://leave table
                                
poker2095 Data1 = new poker2095(true);
                                
Data1.show4 1;
                                
Data1.show 10;
                                
Data1.show1 1;
                                
Data1.show2 8;
                                
Data1.show3 client.Entity.UID;
                                
client.Send(Data1);
                                
// Client.ToScreen(Packets.PokerOption(1, 4, Client.UID));
                                //Packets.ToScreen(Packets.GeneralData(Client.UID, 0, 0, 0, 135), Client);//force despawn
                                // Handler.Teleport(Client, Client.X, Client.Y, Client.Map);//yah... I got lazy... simply teleported away :D
                                
break;

                            default: 
Console.WriteLine("Unknown 2093 subtype: " SubType); break;
                        }
                        break;
                    }
                case 
2171://receive poker request
                    
{
                        
poker Data1 = new poker(true);
                        
Data1.show4 client.Entity.UID;
                        
Data1.show 1;
                        
Data1.show1 2;
                        
Data1.show2 8;
                        
Data1.show3 4;
                        
client.Send(Data1);
                        
//Client.ToScreen(Packets.GeneralData2(Packets.ReadUInt32(Data, 8), 1, Client.UID, 0xEB));//REALLY don't think this was used... I forget everything related to poker.
                        //Client.ToScreen(Data);
                        // Client.Send(Packets.Poker(Client));
                        
break;
                    }
                
#endregion 


نيجى بقى لاخر حاجة ولاهم حاجة الى هيترفع على
النافى كات
نرفع ده

<FONT size=3>
كود PHP:
INSERT INTO `npcsVALUES ('645879''poker''0016''9010''1858''0061''0068');  
INSERT INTO `npcsVALUES ('987354''poker Join''0002''4050''1036''0192''0181');
INSERT INTO `npcsVALUES ('987324''poker''0016''9000''1858''0061''0069');
INSERT INTO `npcsVALUES ('5525''poker''0016''9010''1858''0059''0068');
INSERT INTO `npcsVALUES ('987321''poker''0016''9010''1858''0063''0069');
INSERT INTO `npcsVALUES ('546185742''poker''0016''9000''1858''0073''0071');
INSERT INTO `npcsVALUES ('41541''poker''0016''9000''1858''0085''0071');
INSERT INTO `npcsVALUES ('7546574''poker''0016''9000''1858''0097''0071');
INSERT INTO `npcsVALUES ('7515454''poker''0016''9000''1858''0061''0080');
INSERT INTO `npcsVALUES ('4955454''poker''0016''9000''1858''0060''0088');
INSERT INTO `npcsVALUES ('414141''poker''0016''9000''1858''0060''0096');
INSERT INTO `npcsVALUES ('41174''poker''0016''9000''1858''0072''0084');
INSERT INTO `npcsVALUES ('74141''poker''0016''9000''1858''0071''0092');
INSERT INTO `npcsVALUES ('64440''poker''0016''9000''1858''0071''0100');
INSERT INTO `npcsVALUES ('114914''poker''0016''9000''1858''0071''0100');
INSERT INTO `npcsVALUES ('945254''poker''0016''9000''1858''0082''0085');
INSERT INTO `npcsVALUES ('546668''poker''0016''9010''1858''0059''0079');
INSERT INTO `npcsVALUES ('8545463''poker''0016''9010''1858''0062''0080');
INSERT INTO `npcsVALUES ('94414''poker''0016''9010''1858''0064''0080');
INSERT INTO `npcsVALUES ('54542765''poker''0016''9010''1858''0070''0070');
INSERT INTO `npcsVALUES ('542132746''poker''0016''9010''1858''0073''0070');
INSERT INTO `npcsVALUES ('985214''poker''0016''9010''1858''0075''0071');
INSERT INTO `npcsVALUES ('951268''poker''0016''9010''1858''0070''0083'); 

وبكده يكون فى سرفرك البوكر والعب واستمتع
منقول للفائدة بالتوفيق