المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : اضافة البوكر


محمد ياسر
2019-05-09, 04:53 PM
السلام عليكم ورحمة الله وبركاته
اليوم اضافة ملفات البوكر كله
الموضوع نزل علي اخر ايام تيم اكسور والحمد لله لقيت الملفات بتاعتهم قبل ما يقفل
يلا نبداء
علشان منكبرش الموضوع انشرح بالصور
ده ملفات اتتحط في فلدر Game
عفواً لايمكن عرض الروابط في الإرشيف
والملفات دي هتتحط في المسار دا
Network\GamePackets
عفواً لايمكن عرض الروابط في الإرشيف
وأخيرآ تحميل الملفات
عفواً لايمكن عرض الروابط في الإرشيف (عفواً لايمكن عرض الروابط في الإرشيف)
نكمل
في مسار bin\debug\database\gmlogs
ضيف الملفات ده
عفواً لايمكن عرض الروابط في الإرشيف (عفواً لايمكن عرض الروابط في الإرشيف)
نيجي شوية للاكواد
كلاس Program.cs
ضيف دول
public static void AddpokerCps(string text)
{
try
{
text = "[" + DateTime.Now.ToString("HH:mm:ss") + "]" + text;
string str = DateTime.Now.Year + "-" + DateTime.Now.Month;
string str2 = @"gmlogs\AddpokerCps";
string str3 = Path.Combine(str2, str);
if (!File.Exists(str3 + str))
{
Directory.CreateDirectory(Path.Combine(str2, str));
}
if (!File.Exists(string.Concat(new object[] { str3, @"", DateTime.Now.Day, ".txt" })))
{
using (FileStream stream = File.Create(string.Concat(new object[] { str3, @"", DateTime.Now.Day, ".txt" })))
{
stream.Close();
}
}
using (StreamWriter writer = new StreamWriter(string.Concat(new object[] { str3, @"", DateTime.Now.Day, ".txt" }), true))
{
writer.WriteLine(text);
writer.Close();
}
}
catch (Exception exception)
{
Phoenix_Project.Console.WriteLine(exception, ConsoleColor.DarkYellow);
}
}
public static void AddpokerAllinCps(string text)
{
try
{
text = "[" + DateTime.Now.ToString("HH:mm:ss") + "]" + text;
string str = DateTime.Now.Year + "-" + DateTime.Now.Month;
string str2 = @"gmlogs\AddpokerAllinCps";
string str3 = Path.Combine(str2, str);
if (!File.Exists(str3 + str))
{
Directory.CreateDirectory(Path.Combine(str2, str));
}
if (!File.Exists(string.Concat(new object[] { str3, @"", DateTime.Now.Day, ".txt" })))
{
using (FileStream stream = File.Create(string.Concat(new object[] { str3, @"", DateTime.Now.Day, ".txt" })))
{
stream.Close();
}
}
using (StreamWriter writer = new StreamWriter(string.Concat(new object[] { str3, @"", DateTime.Now.Day, ".txt" }), true))
{
writer.WriteLine(text);
writer.Close();
}
}
catch (Exception exception)
{
Phoenix_Project.Console.WriteLine(exception, ConsoleColor.DarkYellow);
}
}
public static void AddCpsWin(string text)
{
try
{
text = "[" + DateTime.Now.ToString("HH:mm:ss") + "]" + text;
string str = DateTime.Now.Year + "-" + DateTime.Now.Month;
string str2 = @"gmlogs\AddWinCps";
string str3 = Path.Combine(str2, str);
if (!File.Exists(str3 + str))
{
Directory.CreateDirectory(Path.Combine(str2, str));
}
if (!File.Exists(string.Concat(new object[] { str3, @"", DateTime.Now.Day, ".txt" })))
{
using (FileStream stream = File.Create(string.Concat(new object[] { str3, @"", DateTime.Now.Day, ".txt" })))
{
stream.Close();
}
}
using (StreamWriter writer = new StreamWriter(string.Concat(new object[] { str3, @"", DateTime.Now.Day, ".txt" }), true))
{
writer.WriteLine(text);
writer.Close();
}
}
catch (Exception exception)
{
ZenonProJect.Console.WriteLine(exception, ConsoleColor.DarkYellow);
}
}



كلاس PacketBuilder.cs في Game
namespace Phoenix_Project.Game
{
using System;
using Phoenix_Project;

public class PacketBuilder
{
protected byte[] _buffer = new byte[0x400];
protected int Len;
protected int Position;
protected byte[] TQ_SERVER = Program.Encoding.GetBytes("TQServer");

public PacketBuilder(int T, int L)
{
this.Len = L;
this.Length(L);
this.Type(T);
}

internal void Fill(int End)
{
for (int i = this.Position; i < End; i++)
{
this.Int(0);
}
}

public byte[] getFinal()
{
this.Seal();
return this._buffer;
}

public int GetPos() =>
this.Position;

public void Int(int value)
{
this._buffer[this.Position] = Convert.ToByte((int) (value & 0xff));
this.Position++;
}

public void Int(uint value)
{
this._buffer[this.Position] = Convert.ToByte((uint) (value & 0xff));
this.Position++;
}

public void Int(int value, int Offset)
{
this._buffer[Offset] = Convert.ToByte((int) (value & 0xff));
Offset++;
}

public void Int(uint value, int Offset)
{
this._buffer[Offset] = Convert.ToByte((uint) (value & 0xff));
Offset++;
}

public void Length(int value)
{
this._buffer[this.Position] = (byte) (value & 0xff);
this.Position++;
this._buffer[this.Position] = (byte) ((value >> & 0xff);
this.Position++;
}

public void Length(int value, int Offset)
{
this._buffer[Offset] = (byte) (value & 0xff);
Offset++;
this._buffer[Offset] = (byte) ((value >> & 0xff);
}

public void Long(int value)
{
this._buffer[this.Position] = (byte) (value & 0xff);
this.Position++;
this._buffer[this.Position] = (byte) ((value >> & 0xff);
this.Position++;
this._buffer[this.Position] = (byte) ((value >> 0x10) & 0xff);
this.Position++;
this._buffer[this.Position] = (byte) ((value >> 0x18) & 0xff);
this.Position++;
}

public void Long(uint value)
{
this._buffer[this.Position] = (byte) (value & 0xff);
this.Position++;
this._buffer[this.Position] = (byte) ((value >> & 0xff);
this.Position++;
this._buffer[this.Position] = (byte) ((value >> 0x10) & 0xff);
this.Position++;
this._buffer[this.Position] = (byte) ((value >> 0x18) & 0xff);
this.Position++;
}

public void Long(ulong value)
{
this._buffer[this.Position] = (byte) (value & ((ulong) 0xffL));
this.Position++;
this._buffer[this.Position] = (byte) ((value >> & ((ulong) 0xffL));
this.Position++;
this._buffer[this.Position] = (byte) ((value >> 0x10) & ((ulong) 0xffL));
this.Position++;
this._buffer[this.Position] = (byte) ((value >> 0x18) & ((ulong) 0xffL));
this.Position++;
}

public void Long(int value, int Offset)
{
this._buffer[Offset] = (byte) (value & 0xff);
Offset++;
this._buffer[Offset] = (byte) ((value >> & 0xff);
Offset++;
this._buffer[Offset] = (byte) ((value >> 0x10) & 0xff);
Offset++;
this._buffer[Offset] = (byte) ((value >> 0x18) & 0xff);
}

public void Long(uint value, int Offset)
{
this._buffer[Offset] = (byte) (value & 0xff);
Offset++;
this._buffer[Offset] = (byte) ((value >> & 0xff);
Offset++;
this._buffer[Offset] = (byte) ((value >> 0x10) & 0xff);
Offset++;
this._buffer[Offset] = (byte) ((value >> 0x18) & 0xff);
Offset++;
}

public void Long(ulong value, int Offset)
{
this._buffer[Offset] = (byte) (value & ((ulong) 0xffL));
Offset++;
this._buffer[Offset] = (byte) ((value >> & ((ulong) 0xffL));
Offset++;
this._buffer[Offset] = (byte) ((value >> 0x10) & ((ulong) 0xffL));
Offset++;
this._buffer[Offset] = (byte) ((value >> 0x18) & ((ulong) 0xffL));
}

public void Move(int value)
{
for (int i = 0; i < value; i++)
{
this._buffer[this.Position] = 0;
this.Position++;
}
}

internal void PrintThis()
{
string line = "";
for (int i = 0; i < this.Position; i++)
{
line = line + this._buffer[i].ToString("X") + " ";
}
Phoenix_Project.Console.WriteLine(line, ConsoleColor.DarkYellow);
}

protected void Seal()
{
Array.Copy(this.TQ_SERVER, 0, this._buffer, this.Position, this.TQ_SERVER.Length);
this.Position += this.TQ_SERVER.Length + 1;
byte[] destinationArray = new byte[this.Position - 1];
Array.Copy(this._buffer, destinationArray, (int) (this.Position - 1));
this._buffer = new byte[destinationArray.Length];
Array.Copy(destinationArray, this._buffer, destinationArray.Length);
destinationArray = null;
}

public void SetPosition(int Pos)
{
this.Position = Pos;
}

public void Short(int value)
{
this._buffer[this.Position] = (byte) (value & 0xff);
this.Position++;
this._buffer[this.Position] = (byte) ((value >> & 0xff);
this.Position++;
}

public void Short(uint value)
{
this._buffer[this.Position] = (byte) (value & 0xff);
this.Position++;
this._buffer[this.Position] = (byte) ((value >> & 0xff);
this.Position++;
}

public void Short(int value, int Offset)
{
this._buffer[Offset] = (byte) (value & 0xff);
this._buffer[Offset + 1] = (byte) ((value >> & 0xff);
}

public void Short(uint value, int Offset)
{
this._buffer[Offset] = (byte) (value & 0xff);
Offset++;
this._buffer[Offset] = (byte) ((value >> & 0xff);
}

public void Text(string value)
{
byte[] bytes = Program.Encoding.GetBytes(value);
Array.Copy(bytes, 0, this._buffer, this.Position, bytes.Length);
this.Position += bytes.Length;
}

public void Type(int value)
{
this._buffer[this.Position] = (byte) (value & 0xff);
this.Position++;
this._buffer[this.Position] = (byte) ((value >> & 0xff);
this.Position++;
}

public void Type(int value, int Offset)
{
this._buffer[Offset] = (byte) (value & 0xff);
Offset++;
this._buffer[Offset] = (byte) ((value >> & 0xff);
}

public void ULong(ulong value)
{
this._buffer[this.Position] = (byte) value;
this.Position++;
this._buffer[this.Position] = (byte) (value >> 8);
this.Position++;
this._buffer[this.Position] = (byte) (value >> 0x10);
this.Position++;
this._buffer[this.Position] = (byte) (value >> 0x18);
this.Position++;
this._buffer[this.Position] = (byte) (value >> 0x20);
this.Position++;
this._buffer[this.Position] = (byte) (value >> 40);
this.Position++;
this._buffer[this.Position] = (byte) (value >> 0x30);
this.Position++;
this._buffer[this.Position] = (byte) (value >> 0x38);
this.Position++;
}

public void ULong(ulong value, int Offset)
{
this._buffer[Offset] = (byte) value;
Offset++;
this._buffer[Offset] = (byte) (value >> 8);
Offset++;
this._buffer[Offset] = (byte) (value >> 0x10);
Offset++;
this._buffer[Offset] = (byte) (value >> 0x18);
Offset++;
this._buffer[Offset] = (byte) (value >> 0x20);
Offset++;
this._buffer[Offset] = (byte) (value >> 40);
Offset++;
this._buffer[Offset] = (byte) (value >> 0x30);
Offset++;
this._buffer[Offset] = (byte) (value >> 0x38);
}
}
}

كده خلصنا وانشاء الله يظبط معاكم

Hassan Emprator
2019-05-09, 04:55 PM
عليا الطلاق انت برنسسسسسسسسسسس عاش فشخ:cool::cool::cool::cool:

salahsayed
2019-05-10, 11:23 AM
شكرا جداااااااااااا

ابو حمزه9
2019-05-10, 02:26 PM
مشكورررررررر

salahsayed
2019-05-10, 05:05 PM
بعد لما ركبت بيجيلي الايرور الي في الصورة ده

عفواً لايمكن عرض الروابط في الإرشيف

محمد ياسر
2019-05-10, 05:18 PM
بعد لما ركبت بيجيلي الايرور الي في الصورة ده



الخطا انك مخلي ال public سطرين خليهم سطر واحد مكان الغلط

salahsayed
2019-05-11, 09:51 AM
الخطا انك مخلي ال public سطرين خليهم سطر واحد مكان الغلط
بس انا معدلتش فيه حاجة هوة زي مهوة كدة ويعني ازاي اخليهم سطر واحد معلش

محمد ياسر
2019-05-11, 10:06 AM
عادي عدله مفيش مشاكل

salahsayed
2019-05-11, 10:10 AM
عادي عدله مفيش مشاكل
طب اعدلها ازاي بعد ازنك

etetoo2015
2019-05-12, 02:08 AM
مشكووووووووووووررررررررررر

mohamed wahdan1
2019-05-17, 02:38 PM
عااااااااش شكرا ليك ي فخم

Mahmoud
2019-05-17, 10:27 PM
عااااااااش

abuhaneen
2019-05-26, 08:55 PM
تسلم جاري تجربه

abuhaneen
2019-05-26, 09:28 PM
انا حاولت اضيفو بس ظهر اريروات كتير ممكن حل او مساعده

Rotana
2019-05-27, 11:14 PM
عاش يا حازم بتوفيق

بشيغلاشمغ
2019-06-11, 01:33 AM
استمرر يا حبي

Hassan Emprator
2019-06-11, 08:35 AM
شكرا استاذ محمد علي انك رجعت المنتدي

محمد ياسر
2019-06-11, 08:36 AM
شكرا استاذ محمد علي انك رجعت المنتدي

ولو تستاهلوا كل خير

Hassan Emprator
2019-06-11, 08:38 AM
تسلم يا استاذ محمد اي حد بيخالف قوانين بان علطول او اعمل زي منتدي تيم تهيس كدا عاملين الي يخالف قوانين ياخد بان تلقائي

youssefabdelmanam
2019-06-14, 01:03 AM
شكرا يا صحبي

saad
2019-06-18, 08:35 AM
عاش يا وحش

osamamand
2019-06-21, 05:22 PM
thanks pro for poker

mohamedawad
2019-06-24, 05:52 PM
شكرا جزيلا

anwer1
2019-06-28, 09:08 AM
عاش يا معلم

abuhaneen
2019-07-09, 09:36 PM
عندي مشكله ف بوكر انك ممكن مره واحده تكسب اتنين مليار كبس لو ع تربيزة كبس
وفلوس 2 مليار كبس لو ع فلوس

saeed
2019-07-10, 02:43 PM
شكراا ياكبير ,,,
جارى التجربة ,,,

anwer1
2019-07-11, 07:28 PM
تسلم يا حازم بس كمان لو تكمل جميلك وتنزل بوكر السبس وبوكر الروليت

abuhaneen
2019-07-14, 10:11 PM
دلوقتي ف مشكله بخصوص بوكر ال هيا
ان بيدي 2 مليار كبس لو ع تربيزه كبس ودا ع سورس خالد وكلمتو ومردش عليا 2 مليار كبس موضوع دا بيحصل ف يوم كذا مره مره ممكن يكون الاكونت فلد والتانى مفروض يكسب مليون لا بيكسب 2 مليار ونفس موضوع ف فلوس بوكر

Eslamahmed
2019-07-22, 02:02 AM
جميل

ToRWadA
2019-07-22, 10:39 AM
مشكور يا حازم

manshestar
2019-07-23, 08:13 PM
عاااااااش

stevenayman
2019-07-24, 02:14 PM
تسلم

Bahaa
2019-07-25, 08:27 PM
عاااااش

pishoy
2019-07-26, 10:09 AM
shokran hgrab

AhmedGM
2019-08-03, 10:05 AM
برنس

bisho2009
2019-08-03, 03:29 PM
شكراااااااااااا

LyokaWarior
2019-08-06, 02:26 PM
جمــيــل فــ نـأأس هتــحتــاجــوو جــدا!

Commander
2019-08-06, 07:07 PM
عااش

dark
2019-08-19, 12:00 PM
جاري التجربه

MRonlineGvrix
2019-09-04, 01:20 PM
جميل جدا

مصطفي سمير
2019-09-06, 04:50 PM
احسنت

Avengers-Co
2019-09-11, 07:34 PM
تسلم يا حازم

nova
2019-09-12, 02:33 AM
عاااش

عمرو الجنرال
2019-10-24, 08:44 PM
تسلم ايدك

عمرو الجنرال
2019-10-29, 04:45 AM
تسلم ايدك عاش

محمد رجب (سداح)
2019-11-19, 05:08 PM
عااااش

محمد رجب (سداح)
2019-11-19, 05:26 PM
البديل لي ملف PacketBuilder.cs اي اصل مش موجود عندي ؟؟

xAttack
2019-11-20, 02:50 AM
استمر

ahmedfathy
2019-12-03, 02:23 AM
جاري التجربة الله ينور يا حازم

MaNGaWy
2019-12-03, 10:36 AM
تسلم ايدك

TiTo1
2020-02-05, 02:54 PM
تمام

مجدى
2020-02-10, 06:19 PM
عااش

kokodvd
2020-02-13, 05:57 PM
جاري التجربة

mohammedzonzor
2020-02-25, 05:13 PM
عاش

Bayoumi
2020-03-30, 07:26 PM
عاش

Abod ayman
2020-04-05, 05:44 AM
جاري التجربة

Mr3bdallahPro
2020-04-05, 02:18 PM
عاش

abdocoder
2020-04-06, 12:39 AM
جارى التجربه شكرا لك

osamanofl
2020-04-08, 07:06 PM
عاااااش

shefo
2020-04-09, 02:40 AM
عاش

shefo
2020-04-09, 04:58 AM
عاش

A_H_M_E_D
2020-04-22, 04:40 AM
مشكووووووووووووررررررررررر

AmrxCoding
2020-04-22, 09:57 PM
......................

mohamedabdo
2020-05-10, 02:38 PM
تسلم ايدك

koko1
2020-05-12, 02:30 PM
عاش

eslamnasser
2020-05-16, 04:58 AM
السلام عليكم ورحمة الله وبركاته
اليوم اضافة ملفات البوكر كله
الموضوع نزل علي اخر ايام تيم اكسور والحمد لله لقيت الملفات بتاعتهم قبل ما يقفل
يلا نبداء
علشان منكبرش الموضوع انشرح بالصور
ده ملفات اتتحط في فلدر Game
عفواً لايمكن عرض الروابط في الإرشيف
والملفات دي هتتحط في المسار دا
Network\GamePackets
عفواً لايمكن عرض الروابط في الإرشيف
وأخيرآ تحميل الملفات
عفواً لايمكن عرض الروابط في الإرشيف (عفواً لايمكن عرض الروابط في الإرشيف)
نكمل
في مسار bin\debug\database\gmlogs
ضيف الملفات ده
عفواً لايمكن عرض الروابط في الإرشيف (عفواً لايمكن عرض الروابط في الإرشيف)
نيجي شوية للاكواد
كلاس Program.cs
ضيف دول
public static void AddpokerCps(string text)
{
try
{
text = "[" + DateTime.Now.ToString("HH:mm:ss") + "]" + text;
string str = DateTime.Now.Year + "-" + DateTime.Now.Month;
string str2 = @"gmlogs\AddpokerCps";
string str3 = Path.Combine(str2, str);
if (!File.Exists(str3 + str))
{
Directory.CreateDirectory(Path.Combine(str2, str));
}
if (!File.Exists(string.Concat(new object[] { str3, @"", DateTime.Now.Day, ".txt" })))
{
using (FileStream stream = File.Create(string.Concat(new object[] { str3, @"", DateTime.Now.Day, ".txt" })))
{
stream.Close();
}
}
using (StreamWriter writer = new StreamWriter(string.Concat(new object[] { str3, @"", DateTime.Now.Day, ".txt" }), true))
{
writer.WriteLine(text);
writer.Close();
}
}
catch (Exception exception)
{
Phoenix_Project.Console.WriteLine(exception, ConsoleColor.DarkYellow);
}
}
public static void AddpokerAllinCps(string text)
{
try
{
text = "[" + DateTime.Now.ToString("HH:mm:ss") + "]" + text;
string str = DateTime.Now.Year + "-" + DateTime.Now.Month;
string str2 = @"gmlogs\AddpokerAllinCps";
string str3 = Path.Combine(str2, str);
if (!File.Exists(str3 + str))
{
Directory.CreateDirectory(Path.Combine(str2, str));
}
if (!File.Exists(string.Concat(new object[] { str3, @"", DateTime.Now.Day, ".txt" })))
{
using (FileStream stream = File.Create(string.Concat(new object[] { str3, @"", DateTime.Now.Day, ".txt" })))
{
stream.Close();
}
}
using (StreamWriter writer = new StreamWriter(string.Concat(new object[] { str3, @"", DateTime.Now.Day, ".txt" }), true))
{
writer.WriteLine(text);
writer.Close();
}
}
catch (Exception exception)
{
Phoenix_Project.Console.WriteLine(exception, ConsoleColor.DarkYellow);
}
}
public static void AddCpsWin(string text)
{
try
{
text = "[" + DateTime.Now.ToString("HH:mm:ss") + "]" + text;
string str = DateTime.Now.Year + "-" + DateTime.Now.Month;
string str2 = @"gmlogs\AddWinCps";
string str3 = Path.Combine(str2, str);
if (!File.Exists(str3 + str))
{
Directory.CreateDirectory(Path.Combine(str2, str));
}
if (!File.Exists(string.Concat(new object[] { str3, @"", DateTime.Now.Day, ".txt" })))
{
using (FileStream stream = File.Create(string.Concat(new object[] { str3, @"", DateTime.Now.Day, ".txt" })))
{
stream.Close();
}
}
using (StreamWriter writer = new StreamWriter(string.Concat(new object[] { str3, @"", DateTime.Now.Day, ".txt" }), true))
{
writer.WriteLine(text);
writer.Close();
}
}
catch (Exception exception)
{
ZenonProJect.Console.WriteLine(exception, ConsoleColor.DarkYellow);
}
}



كلاس PacketBuilder.cs في Game
namespace Phoenix_Project.Game
{
using System;
using Phoenix_Project;

public class PacketBuilder
{
protected byte[] _buffer = new byte[0x400];
protected int Len;
protected int Position;
protected byte[] TQ_SERVER = Program.Encoding.GetBytes("TQServer");

public PacketBuilder(int T, int L)
{
this.Len = L;
this.Length(L);
this.Type(T);
}

internal void Fill(int End)
{
for (int i = this.Position; i < End; i++)
{
this.Int(0);
}
}

public byte[] getFinal()
{
this.Seal();
return this._buffer;
}

public int GetPos() =>
this.Position;

public void Int(int value)
{
this._buffer[this.Position] = Convert.ToByte((int) (value & 0xff));
this.Position++;
}

public void Int(uint value)
{
this._buffer[this.Position] = Convert.ToByte((uint) (value & 0xff));
this.Position++;
}

public void Int(int value, int Offset)
{
this._buffer[Offset] = Convert.ToByte((int) (value & 0xff));
Offset++;
}

public void Int(uint value, int Offset)
{
this._buffer[Offset] = Convert.ToByte((uint) (value & 0xff));
Offset++;
}

public void Length(int value)
{
this._buffer[this.Position] = (byte) (value & 0xff);
this.Position++;
this._buffer[this.Position] = (byte) ((value >> & 0xff);
this.Position++;
}

public void Length(int value, int Offset)
{
this._buffer[Offset] = (byte) (value & 0xff);
Offset++;
this._buffer[Offset] = (byte) ((value >> & 0xff);
}

public void Long(int value)
{
this._buffer[this.Position] = (byte) (value & 0xff);
this.Position++;
this._buffer[this.Position] = (byte) ((value >> & 0xff);
this.Position++;
this._buffer[this.Position] = (byte) ((value >> 0x10) & 0xff);
this.Position++;
this._buffer[this.Position] = (byte) ((value >> 0x18) & 0xff);
this.Position++;
}

public void Long(uint value)
{
this._buffer[this.Position] = (byte) (value & 0xff);
this.Position++;
this._buffer[this.Position] = (byte) ((value >> & 0xff);
this.Position++;
this._buffer[this.Position] = (byte) ((value >> 0x10) & 0xff);
this.Position++;
this._buffer[this.Position] = (byte) ((value >> 0x18) & 0xff);
this.Position++;
}

public void Long(ulong value)
{
this._buffer[this.Position] = (byte) (value & ((ulong) 0xffL));
this.Position++;
this._buffer[this.Position] = (byte) ((value >> & ((ulong) 0xffL));
this.Position++;
this._buffer[this.Position] = (byte) ((value >> 0x10) & ((ulong) 0xffL));
this.Position++;
this._buffer[this.Position] = (byte) ((value >> 0x18) & ((ulong) 0xffL));
this.Position++;
}

public void Long(int value, int Offset)
{
this._buffer[Offset] = (byte) (value & 0xff);
Offset++;
this._buffer[Offset] = (byte) ((value >> & 0xff);
Offset++;
this._buffer[Offset] = (byte) ((value >> 0x10) & 0xff);
Offset++;
this._buffer[Offset] = (byte) ((value >> 0x18) & 0xff);
}

public void Long(uint value, int Offset)
{
this._buffer[Offset] = (byte) (value & 0xff);
Offset++;
this._buffer[Offset] = (byte) ((value >> & 0xff);
Offset++;
this._buffer[Offset] = (byte) ((value >> 0x10) & 0xff);
Offset++;
this._buffer[Offset] = (byte) ((value >> 0x18) & 0xff);
Offset++;
}

public void Long(ulong value, int Offset)
{
this._buffer[Offset] = (byte) (value & ((ulong) 0xffL));
Offset++;
this._buffer[Offset] = (byte) ((value >> & ((ulong) 0xffL));
Offset++;
this._buffer[Offset] = (byte) ((value >> 0x10) & ((ulong) 0xffL));
Offset++;
this._buffer[Offset] = (byte) ((value >> 0x18) & ((ulong) 0xffL));
}

public void Move(int value)
{
for (int i = 0; i < value; i++)
{
this._buffer[this.Position] = 0;
this.Position++;
}
}

internal void PrintThis()
{
string line = "";
for (int i = 0; i < this.Position; i++)
{
line = line + this._buffer[i].ToString("X") + " ";
}
Phoenix_Project.Console.WriteLine(line, ConsoleColor.DarkYellow);
}

protected void Seal()
{
Array.Copy(this.TQ_SERVER, 0, this._buffer, this.Position, this.TQ_SERVER.Length);
this.Position += this.TQ_SERVER.Length + 1;
byte[] destinationArray = new byte[this.Position - 1];
Array.Copy(this._buffer, destinationArray, (int) (this.Position - 1));
this._buffer = new byte[destinationArray.Length];
Array.Copy(destinationArray, this._buffer, destinationArray.Length);
destinationArray = null;
}

public void SetPosition(int Pos)
{
this.Position = Pos;
}

public void Short(int value)
{
this._buffer[this.Position] = (byte) (value & 0xff);
this.Position++;
this._buffer[this.Position] = (byte) ((value >> & 0xff);
this.Position++;
}

public void Short(uint value)
{
this._buffer[this.Position] = (byte) (value & 0xff);
this.Position++;
this._buffer[this.Position] = (byte) ((value >> & 0xff);
this.Position++;
}

public void Short(int value, int Offset)
{
this._buffer[Offset] = (byte) (value & 0xff);
this._buffer[Offset + 1] = (byte) ((value >> & 0xff);
}

public void Short(uint value, int Offset)
{
this._buffer[Offset] = (byte) (value & 0xff);
Offset++;
this._buffer[Offset] = (byte) ((value >> & 0xff);
}

public void Text(string value)
{
byte[] bytes = Program.Encoding.GetBytes(value);
Array.Copy(bytes, 0, this._buffer, this.Position, bytes.Length);
this.Position += bytes.Length;
}

public void Type(int value)
{
this._buffer[this.Position] = (byte) (value & 0xff);
this.Position++;
this._buffer[this.Position] = (byte) ((value >> & 0xff);
this.Position++;
}

public void Type(int value, int Offset)
{
this._buffer[Offset] = (byte) (value & 0xff);
Offset++;
this._buffer[Offset] = (byte) ((value >> & 0xff);
}

public void ULong(ulong value)
{
this._buffer[this.Position] = (byte) value;
this.Position++;
this._buffer[this.Position] = (byte) (value >> 8);
this.Position++;
this._buffer[this.Position] = (byte) (value >> 0x10);
this.Position++;
this._buffer[this.Position] = (byte) (value >> 0x18);
this.Position++;
this._buffer[this.Position] = (byte) (value >> 0x20);
this.Position++;
this._buffer[this.Position] = (byte) (value >> 40);
this.Position++;
this._buffer[this.Position] = (byte) (value >> 0x30);
this.Position++;
this._buffer[this.Position] = (byte) (value >> 0x38);
this.Position++;
}

public void ULong(ulong value, int Offset)
{
this._buffer[Offset] = (byte) value;
Offset++;
this._buffer[Offset] = (byte) (value >> 8);
Offset++;
this._buffer[Offset] = (byte) (value >> 0x10);
Offset++;
this._buffer[Offset] = (byte) (value >> 0x18);
Offset++;
this._buffer[Offset] = (byte) (value >> 0x20);
Offset++;
this._buffer[Offset] = (byte) (value >> 40);
Offset++;
this._buffer[Offset] = (byte) (value >> 0x30);
Offset++;
this._buffer[Offset] = (byte) (value >> 0x38);
}
}
}

كده خلصنا وانشاء الله يظبط معاكم

عاش

blackconquer222
2021-08-09, 02:26 PM
ععاش

egy-conquer
2021-08-30, 06:46 PM
تسلم يكبير

apdoconquer1
2021-09-18, 08:12 PM
عاااااااااااش

eyad
2021-11-25, 01:51 PM
السلام عليكم ورحمة الله وبركاته
اليوم اضافة ملفات البوكر كله
الموضوع نزل علي اخر ايام تيم اكسور والحمد لله لقيت الملفات بتاعتهم قبل ما يقفل
يلا نبداء
علشان منكبرش الموضوع انشرح بالصور
ده ملفات اتتحط في فلدر Game
عفواً لايمكن عرض الروابط في الإرشيف
والملفات دي هتتحط في المسار دا
Network\GamePackets
عفواً لايمكن عرض الروابط في الإرشيف
وأخيرآ تحميل الملفات
عفواً لايمكن عرض الروابط في الإرشيف (عفواً لايمكن عرض الروابط في الإرشيف)
نكمل
في مسار bin\debug\database\gmlogs
ضيف الملفات ده
عفواً لايمكن عرض الروابط في الإرشيف (عفواً لايمكن عرض الروابط في الإرشيف)
نيجي شوية للاكواد
كلاس Program.cs
ضيف دول
public static void AddpokerCps(string text)
{
try
{
text = "[" + DateTime.Now.ToString("HH:mm:ss") + "]" + text;
string str = DateTime.Now.Year + "-" + DateTime.Now.Month;
string str2 = @"gmlogs\AddpokerCps";
string str3 = Path.Combine(str2, str);
if (!File.Exists(str3 + str))
{
Directory.CreateDirectory(Path.Combine(str2, str));
}
if (!File.Exists(string.Concat(new object[] { str3, @"", DateTime.Now.Day, ".txt" })))
{
using (FileStream stream = File.Create(string.Concat(new object[] { str3, @"", DateTime.Now.Day, ".txt" })))
{
stream.Close();
}
}
using (StreamWriter writer = new StreamWriter(string.Concat(new object[] { str3, @"", DateTime.Now.Day, ".txt" }), true))
{
writer.WriteLine(text);
writer.Close();
}
}
catch (Exception exception)
{
Phoenix_Project.Console.WriteLine(exception, ConsoleColor.DarkYellow);
}
}
public static void AddpokerAllinCps(string text)
{
try
{
text = "[" + DateTime.Now.ToString("HH:mm:ss") + "]" + text;
string str = DateTime.Now.Year + "-" + DateTime.Now.Month;
string str2 = @"gmlogs\AddpokerAllinCps";
string str3 = Path.Combine(str2, str);
if (!File.Exists(str3 + str))
{
Directory.CreateDirectory(Path.Combine(str2, str));
}
if (!File.Exists(string.Concat(new object[] { str3, @"", DateTime.Now.Day, ".txt" })))
{
using (FileStream stream = File.Create(string.Concat(new object[] { str3, @"", DateTime.Now.Day, ".txt" })))
{
stream.Close();
}
}
using (StreamWriter writer = new StreamWriter(string.Concat(new object[] { str3, @"", DateTime.Now.Day, ".txt" }), true))
{
writer.WriteLine(text);
writer.Close();
}
}
catch (Exception exception)
{
Phoenix_Project.Console.WriteLine(exception, ConsoleColor.DarkYellow);
}
}
public static void AddCpsWin(string text)
{
try
{
text = "[" + DateTime.Now.ToString("HH:mm:ss") + "]" + text;
string str = DateTime.Now.Year + "-" + DateTime.Now.Month;
string str2 = @"gmlogs\AddWinCps";
string str3 = Path.Combine(str2, str);
if (!File.Exists(str3 + str))
{
Directory.CreateDirectory(Path.Combine(str2, str));
}
if (!File.Exists(string.Concat(new object[] { str3, @"", DateTime.Now.Day, ".txt" })))
{
using (FileStream stream = File.Create(string.Concat(new object[] { str3, @"", DateTime.Now.Day, ".txt" })))
{
stream.Close();
}
}
using (StreamWriter writer = new StreamWriter(string.Concat(new object[] { str3, @"", DateTime.Now.Day, ".txt" }), true))
{
writer.WriteLine(text);
writer.Close();
}
}
catch (Exception exception)
{
ZenonProJect.Console.WriteLine(exception, ConsoleColor.DarkYellow);
}
}



كلاس PacketBuilder.cs في Game
namespace Phoenix_Project.Game
{
using System;
using Phoenix_Project;

public class PacketBuilder
{
protected byte[] _buffer = new byte[0x400];
protected int Len;
protected int Position;
protected byte[] TQ_SERVER = Program.Encoding.GetBytes("TQServer");

public PacketBuilder(int T, int L)
{
this.Len = L;
this.Length(L);
this.Type(T);
}

internal void Fill(int End)
{
for (int i = this.Position; i < End; i++)
{
this.Int(0);
}
}

public byte[] getFinal()
{
this.Seal();
return this._buffer;
}

public int GetPos() =>
this.Position;

public void Int(int value)
{
this._buffer[this.Position] = Convert.ToByte((int) (value & 0xff));
this.Position++;
}

public void Int(uint value)
{
this._buffer[this.Position] = Convert.ToByte((uint) (value & 0xff));
this.Position++;
}

public void Int(int value, int Offset)
{
this._buffer[Offset] = Convert.ToByte((int) (value & 0xff));
Offset++;
}

public void Int(uint value, int Offset)
{
this._buffer[Offset] = Convert.ToByte((uint) (value & 0xff));
Offset++;
}

public void Length(int value)
{
this._buffer[this.Position] = (byte) (value & 0xff);
this.Position++;
this._buffer[this.Position] = (byte) ((value >> & 0xff);
this.Position++;
}

public void Length(int value, int Offset)
{
this._buffer[Offset] = (byte) (value & 0xff);
Offset++;
this._buffer[Offset] = (byte) ((value >> & 0xff);
}

public void Long(int value)
{
this._buffer[this.Position] = (byte) (value & 0xff);
this.Position++;
this._buffer[this.Position] = (byte) ((value >> & 0xff);
this.Position++;
this._buffer[this.Position] = (byte) ((value >> 0x10) & 0xff);
this.Position++;
this._buffer[this.Position] = (byte) ((value >> 0x18) & 0xff);
this.Position++;
}

public void Long(uint value)
{
this._buffer[this.Position] = (byte) (value & 0xff);
this.Position++;
this._buffer[this.Position] = (byte) ((value >> & 0xff);
this.Position++;
this._buffer[this.Position] = (byte) ((value >> 0x10) & 0xff);
this.Position++;
this._buffer[this.Position] = (byte) ((value >> 0x18) & 0xff);
this.Position++;
}

public void Long(ulong value)
{
this._buffer[this.Position] = (byte) (value & ((ulong) 0xffL));
this.Position++;
this._buffer[this.Position] = (byte) ((value >> & ((ulong) 0xffL));
this.Position++;
this._buffer[this.Position] = (byte) ((value >> 0x10) & ((ulong) 0xffL));
this.Position++;
this._buffer[this.Position] = (byte) ((value >> 0x18) & ((ulong) 0xffL));
this.Position++;
}

public void Long(int value, int Offset)
{
this._buffer[Offset] = (byte) (value & 0xff);
Offset++;
this._buffer[Offset] = (byte) ((value >> & 0xff);
Offset++;
this._buffer[Offset] = (byte) ((value >> 0x10) & 0xff);
Offset++;
this._buffer[Offset] = (byte) ((value >> 0x18) & 0xff);
}

public void Long(uint value, int Offset)
{
this._buffer[Offset] = (byte) (value & 0xff);
Offset++;
this._buffer[Offset] = (byte) ((value >> & 0xff);
Offset++;
this._buffer[Offset] = (byte) ((value >> 0x10) & 0xff);
Offset++;
this._buffer[Offset] = (byte) ((value >> 0x18) & 0xff);
Offset++;
}

public void Long(ulong value, int Offset)
{
this._buffer[Offset] = (byte) (value & ((ulong) 0xffL));
Offset++;
this._buffer[Offset] = (byte) ((value >> & ((ulong) 0xffL));
Offset++;
this._buffer[Offset] = (byte) ((value >> 0x10) & ((ulong) 0xffL));
Offset++;
this._buffer[Offset] = (byte) ((value >> 0x18) & ((ulong) 0xffL));
}

public void Move(int value)
{
for (int i = 0; i < value; i++)
{
this._buffer[this.Position] = 0;
this.Position++;
}
}

internal void PrintThis()
{
string line = "";
for (int i = 0; i < this.Position; i++)
{
line = line + this._buffer[i].ToString("X") + " ";
}
Phoenix_Project.Console.WriteLine(line, ConsoleColor.DarkYellow);
}

protected void Seal()
{
Array.Copy(this.TQ_SERVER, 0, this._buffer, this.Position, this.TQ_SERVER.Length);
this.Position += this.TQ_SERVER.Length + 1;
byte[] destinationArray = new byte[this.Position - 1];
Array.Copy(this._buffer, destinationArray, (int) (this.Position - 1));
this._buffer = new byte[destinationArray.Length];
Array.Copy(destinationArray, this._buffer, destinationArray.Length);
destinationArray = null;
}

public void SetPosition(int Pos)
{
this.Position = Pos;
}

public void Short(int value)
{
this._buffer[this.Position] = (byte) (value & 0xff);
this.Position++;
this._buffer[this.Position] = (byte) ((value >> & 0xff);
this.Position++;
}

public void Short(uint value)
{
this._buffer[this.Position] = (byte) (value & 0xff);
this.Position++;
this._buffer[this.Position] = (byte) ((value >> & 0xff);
this.Position++;
}

public void Short(int value, int Offset)
{
this._buffer[Offset] = (byte) (value & 0xff);
this._buffer[Offset + 1] = (byte) ((value >> & 0xff);
}

public void Short(uint value, int Offset)
{
this._buffer[Offset] = (byte) (value & 0xff);
Offset++;
this._buffer[Offset] = (byte) ((value >> & 0xff);
}

public void Text(string value)
{
byte[] bytes = Program.Encoding.GetBytes(value);
Array.Copy(bytes, 0, this._buffer, this.Position, bytes.Length);
this.Position += bytes.Length;
}

public void Type(int value)
{
this._buffer[this.Position] = (byte) (value & 0xff);
this.Position++;
this._buffer[this.Position] = (byte) ((value >> & 0xff);
this.Position++;
}

public void Type(int value, int Offset)
{
this._buffer[Offset] = (byte) (value & 0xff);
Offset++;
this._buffer[Offset] = (byte) ((value >> & 0xff);
}

public void ULong(ulong value)
{
this._buffer[this.Position] = (byte) value;
this.Position++;
this._buffer[this.Position] = (byte) (value >> 8);
this.Position++;
this._buffer[this.Position] = (byte) (value >> 0x10);
this.Position++;
this._buffer[this.Position] = (byte) (value >> 0x18);
this.Position++;
this._buffer[this.Position] = (byte) (value >> 0x20);
this.Position++;
this._buffer[this.Position] = (byte) (value >> 40);
this.Position++;
this._buffer[this.Position] = (byte) (value >> 0x30);
this.Position++;
this._buffer[this.Position] = (byte) (value >> 0x38);
this.Position++;
}

public void ULong(ulong value, int Offset)
{
this._buffer[Offset] = (byte) value;
Offset++;
this._buffer[Offset] = (byte) (value >> 8);
Offset++;
this._buffer[Offset] = (byte) (value >> 0x10);
Offset++;
this._buffer[Offset] = (byte) (value >> 0x18);
Offset++;
this._buffer[Offset] = (byte) (value >> 0x20);
Offset++;
this._buffer[Offset] = (byte) (value >> 40);
Offset++;
this._buffer[Offset] = (byte) (value >> 0x30);
Offset++;
this._buffer[Offset] = (byte) (value >> 0x38);
}
}
}

كده خلصنا وانشاء الله يظبط معاكم

تحت التجربه

amr123456
2021-11-26, 09:10 AM
شكرا يا كبير

omarjimmy13
2021-12-08, 03:03 PM
3a4

عمر23
2021-12-23, 11:53 PM
عاش

Mr.MoZa
2022-01-17, 10:59 PM
عااااااش

rnez
2022-01-19, 11:58 AM
2022

shekovevo21
2022-01-30, 10:56 PM
dsadsa

TheAngel
2022-02-01, 08:10 PM
عااااااااش

johnysf
2022-02-09, 08:57 PM
مكشور

zorom
2022-02-16, 01:39 PM
عاااااااااااش

Mohamed Amx
2022-02-20, 05:15 PM
لبل

السيد الجزار
2022-03-03, 04:03 PM
شكرررررررررا

فتحى الشاهد
2022-04-04, 12:29 AM
شكرااااااااااا

فتحى الشاهد
2022-04-08, 10:01 AM
الروابط يا محمد

fox11
2022-04-23, 10:54 AM
عاش

alaaeldenadel
2023-04-18, 01:01 PM
done

alpernsali1
2023-04-18, 08:10 PM
شكران

elkholasa
2023-05-04, 02:21 AM
خرب السورس

abodkamal123
2023-05-06, 08:16 AM
تسلم

hell
2023-05-18, 01:17 AM
عاش

gonimmخohamed
2023-05-20, 06:58 PM
عاش

osama
2023-07-10, 02:47 AM
عاااش

mohamedelhdad
2023-07-11, 06:06 PM
هجرب

MRabdo
2023-07-13, 01:43 PM
شكرا

ahmedfarouk
2023-07-16, 10:21 AM
تسلم

Metwly
2023-07-20, 05:32 PM
مشكور

technogames
2023-07-20, 10:07 PM
thanks

yousef here
2023-07-21, 02:07 AM
عاش

donga7
2023-08-12, 12:32 AM
عاش

yousef here
2023-08-12, 01:10 AM
الربط مش شغل

abodkamal123
2023-08-26, 12:01 AM
التحميل مش شغال

start
2023-09-21, 07:30 PM
gg

Ahmed3bdElR2ouF
2023-09-28, 12:20 PM
تسلم ايدك <3

hafiz2458
2023-10-08, 05:30 AM
برنس والله

mahmoud546
2023-10-09, 05:57 PM
شكرا

shanks
2023-12-23, 12:41 PM
:emoji11:

mhmdellebishy
2024-01-27, 04:52 AM
تحت التجربة

Mihai
2024-01-30, 03:16 PM
nice

Mr3FreeT
2024-02-02, 02:47 AM
عاااااااااااش

حنفي فارس
2024-02-20, 06:37 PM
عاش

على الغندور
2024-03-12, 03:20 PM
شكرا جداااااااااااا

ahmednero2
2024-03-18, 06:07 PM
ty

nato
2024-03-19, 03:38 PM
تسلم

ElSaher
2024-04-14, 08:36 PM
عاش

Wiske
2024-04-18, 12:27 AM
عاش