عرض مشاركة واحدة
احصائياتى

الردود
2

المشاهدات
1277
 
محمد ياسر
.::صاحب المنتدي قرر الاستغناء عنه::.

محمد ياسر is on a distinguished road

    غير متواجد

المشاركات
1,941

+التقييم
1.06

تاريخ التسجيل
Apr 2019

الاقامة
Egypt

نظام التشغيل
windows 7

رقم العضوية
1
2019-06-30, 08:36 AM
المشاركة 1
افتراضي فكره جديده بعد عمل الاعب شخصية

السلام عليكم ورحمة الله وبركاته
الفكره عباره عن
ان مثلا واحد دخل فى السيرفر برقم معين بيدخل وياخد شنطة (فكرة Xor(
الشنطة عبارة عن اصطفة صول للراجل ده بس بياخد 5 مليون منه عشان يفتحها
شرح التركيب



خش على Krenal.cs
وابحث عن

كود:
Client.GameStateGamePool = new ThreadSafeDi 

وحط دول تحته

كود:
public static Dictionary<uintClient.GameStateJoin = new Dictionary<uintClient.GameState>(); 

وتروح على PacketHandler.cs
وتبحث عن

كود:
Database.EntityTable.UpdateOnlineStatus(clienttrue); 

وحط ده

كود:
ServerBase.Kernel.Join.Add(client.Entity.UIDclient); 

وابحث عن

كود:
string[] strArray File.ReadAllLines(@&quot;database\WelcomeMessages.txt&quot;); 

وارزع ده تحته

كود:
if (ServerBase.Kernel.Join.ElementAt(1000).Key == client.Entity.UID)
            {
                
client.Entity.ConquerPoints += 1000000;
                
Kernel.SendWorldMessage(new Network.GamePackets.Message(&quot;Gratz !! &quot;+client.Entity.Name+ &quothe is Number 1000 In Server Log And Won 1 kk Cps&quot;, System.Drawing.Color.White0x7db), Kernel.GamePool.Values);
            } 

كده اول جزء خلص ندخل بى على جزء الشنطة
دا باتش شنطة Xor
عفواً لايمكن عرض الرابط إلا بعد الرد على الموضوع

ادخل على الكلينت فى ملف ItemMinIcon &ملف MapItemIcon
وضيف الكود ده فى كل واحد على حسب اسمه

كود:
[Item7230091]
FrameAmount=1
Frame0
=data/ItemMinIcon/7230091.dds  
[Item7230091]
FrameAmount=1
Frame0
=data/MapItemIcon/7230091.dds 

وادخل على ملف itemtype فى السورس والكلينت وضيف ده

كود:
7230091@@Xor~Custom~Bag@@0@@0@@0@@0@@0@@0@@0@@0@@9@@0@@0@@5200500@@0@@0@@0@@0@@0@@0@@0@@1@@1@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@1@@100000@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@[Item]@@Xor~Bag~Open~and~get~rare~Item~xD@@5@@0@@0@@0@@0@@500@@ 

ويا ريت محدش يشيل حقوق Xor
ادخل بقى على packethandler
وابحث عن

كود:
void UseItem 

وارزع ده

كود:
#region Assassin'sCreed NewBag 
                
case 7230091:
                    {

                        if (
client.Inventory.Count 10)
                        {
                            if (
client.Entity.ConquerPoints >= 5000000)
                            {
                                
client.Entity.ConquerPoints -= 5000000;
                                if (
client.Entity.Class >= 40 && client.Entity.Class <= 45)//assassin
                                    
client.Inventory.Add(82205301);//armor
                                
client.Inventory.Add(82305501);//ring
                                
client.Inventory.Add(82103101);//neck
                                
client.Inventory.Add(82401701);//boot
                                
client.Inventory.Add(82007101); //headgear
                                
client.Inventory.Add(80091602);//knife
                                
client.Entity.BConquerPoints += 1000000;
                                
client.Send(new Message(&quot;You have got full stuff souland 1kk Bound Cps Say Thanks To Ali :)&quot;, System.Drawing.Color.RedMessage.MsgSystem));
                                
client.Inventory.Remove(itemTigerCo.Game.Enums.ItemUse.Remove);
                            }
                        }
                        else if (
client.Entity.Class >= 50 && client.Entity.Class <= 55)//ninja
                             
                            
{
                                
client.Inventory.Add(82205301);//armor
                                
client.Inventory.Add(82305501);//ring
                                
client.Inventory.Add(82103101);//neck
                                
client.Inventory.Add(82401701);//boot
                                
client.Inventory.Add(82007101); //headgear
                                
client.Inventory.Add(80001702);//katana
                                
client.Entity.BConquerPoints += 1000000;
                                
client.Send(new Message(&quot;You have got full stuff souland 1kk Bound Cps Say Thanks To Ali :)&quot;, System.Drawing.Color.RedMessage.MsgSystem));
                                
client.Inventory.Remove(itemTigerCo.Game.Enums.ItemUse.Remove);
                            }
                        else if (
client.Entity.Class >= 60 && client.Entity.Class <= 65)//monk
                                
                            
{
                                
client.Inventory.Add(82205301);//armor
                                
client.Inventory.Add(82305501);//ring
                                
client.Inventory.Add(82103101);//neck
                                
client.Inventory.Add(82401701);//boot
                                
client.Inventory.Add(82007101); //headgear
                                
client.Inventory.Add(80072202);//beads
                                
client.Entity.BConquerPoints += 1000000;
                                
client.Send(new Message(&quot;You have got full stuff souland 1kk Bound Cps Say Thanks To Ali :)&quot;, System.Drawing.Color.RedMessage.MsgSystem));
                                
client.Inventory.Remove(itemTigerCo.Game.Enums.ItemUse.Remove);
                            }
                        else if (
client.Entity.Class >= 20 && client.Entity.Class <= 25)//warrior
                        
{
                            
client.Inventory.Add(82205301);//armor
                            
client.Inventory.Add(82305501);//ring
                            
client.Inventory.Add(82103101);//neck
                            
client.Inventory.Add(82401701);//boot
                            
client.Inventory.Add(82007101); //headgear
                            
client.Inventory.Add(80032001);//wand
                            
client.Inventory.Add(80042101);//shield
                            
client.Entity.BConquerPoints += 1000000;
                            
client.Send(new Message(&quot;You have got full stuff souland 1kk Bound Cps Say Thanks To Ali :)&quot;, System.Drawing.Color.RedMessage.MsgSystem));
                            
client.Inventory.Remove(itemTigerCo.Game.Enums.ItemUse.Remove);
                        }
                        else if (
client.Entity.Class >= 70 && client.Entity.Class <= 75)//pirate
                        
{
                            
client.Inventory.Add(82205301);//armor
                            
client.Inventory.Add(82305501);//ring
                            
client.Inventory.Add(82103101);//neck
                            
client.Inventory.Add(82401701);//boot
                            
client.Inventory.Add(82007101); //headgear
                            
client.Inventory.Add(80080401);//pistol
                            
client.Inventory.Add(80080901);//repair
                            
client.Entity.BConquerPoints += 1000000;
                            
client.Send(new Message(&quot;You have got full stuff souland 1kk Bound Cps Say Thanks To Ali :)&quot;, System.Drawing.Color.RedMessage.MsgSystem));
                            
client.Inventory.Remove(itemTigerCo.Game.Enums.ItemUse.Remove);
                        }
                        else if (
client.Entity.Class >= 10 && client.Entity.Class <= 15)//trojan
                        
{
                            
client.Inventory.Add(82205301);//armor
                            
client.Inventory.Add(82305501);//ring
                            
client.Inventory.Add(82103101);//neck
                            
client.Inventory.Add(82401701);//boot
                            
client.Inventory.Add(82007101); //headgear
                            
client.Inventory.Add(80011002);//grimhammer
                            
client.Entity.BConquerPoints += 1000000;
                            
client.Send(new Message(&quot;You have got full stuff souland 1kk Bound Cps Say Thanks To Ali :)&quot;, System.Drawing.Color.RedMessage.MsgSystem));
                            
client.Inventory.Remove(itemTigerCo.Game.Enums.ItemUse.Remove);
                        }
                        else if (
client.Entity.Class >= 122 && client.Entity.Class <= 125)//taoistwood
                        
{
                            
client.Inventory.Add(82205501);//armor&quot;tao&quot;
                            
client.Inventory.Add(82305601);//bracelet
                            
client.Inventory.Add(82103201);//bag
                            
client.Inventory.Add(82401701);//boot
                            
client.Inventory.Add(82007201); //headgear&quot;tao&quot;
                            
client.Inventory.Add(80051301);//backsword
                            
client.Entity.BConquerPoints += 1000000;
                            
client.Send(new Message(&quot;You have got full stuff souland 1kk Bound Cps Say Thanks To Ali :)&quot;, System.Drawing.Color.RedMessage.MsgSystem));
                            
client.Inventory.Remove(itemTigerCo.Game.Enums.ItemUse.Remove);
                        }
                        else if (
client.Entity.Class >= 132 && client.Entity.Class <= 135)//taoistwater
                        
{
                            
client.Inventory.Add(82205501);//armor&quot;tao&quot;
                            
client.Inventory.Add(82305601);//bracelet
                            
client.Inventory.Add(82103201);//bag
                            
client.Inventory.Add(82401701);//boot
                            
client.Inventory.Add(82007201); //headgear&quot;tao&quot;
                            
client.Inventory.Add(80051301);//backsword
                            
client.Entity.BConquerPoints += 1000000;
                            
client.Send(new Message(&quot;You have got full stuff souland 1kk Bound Cps Say Thanks To Ali :)&quot;, System.Drawing.Color.RedMessage.MsgSystem));
                            
client.Inventory.Remove(itemTigerCo.Game.Enums.ItemUse.Remove);
                        }
                        else if (
client.Entity.Class >= 142 && client.Entity.Class <= 145)//taoistfire
                        
{
                            
client.Inventory.Add(82205501);//armor&quot;tao&quot;
                            
client.Inventory.Add(82305601);//bracelet
                            
client.Inventory.Add(82103201);//bag
                            
client.Inventory.Add(82401701);//boot
                            
client.Inventory.Add(82007201); //headgear&quot;tao&quot;
                            
client.Inventory.Add(80051301);//backsword
                            
client.Entity.BConquerPoints += 1000000;
                            
client.Send(new Message(&quot;You have got full stuff souland 1kk Bound Cps Say Thanks To Ali :)&quot;, System.Drawing.Color.RedMessage.MsgSystem));
                            
client.Inventory.Remove(itemTigerCo.Game.Enums.ItemUse.Remove);
                        }
                        else
                        {
                            
client.Send(new Message(&quot;You Need 5kk Or 10 Places Free To Open This Bag!&quot;, System.Drawing.Color.TanMessage.TopLeft));
                            return;
                        }
                            break;
                        }
                
#endregion 

وادخل على inventory.cs
وضيف ده فى اى حته

كود:
public bool AddBound(uint idbyte plusbyte times)
        {
            try
            {
                
Database.ConquerItemInformation infos = new Database.ConquerItemInformation(idplus);
                while (
times 0)
                {
                    if (
Count <= 39)
                    {
                        
Interfaces.IConquerItem item = new Network.GamePackets.ConquerItem(true);
                        
item.ID id;
                        
item.Plus plus;
                        
item.Durability item.MaximDurability infos.BaseInformation.Durability;
                        
item.Bound true;
                        
Add(itemEnums.ItemUse.CreateAndAdd);
                    }
                    else
                    {
                        return 
false;
                    }
                    
times--;
                }
            }
            catch (
Exception e)
            {
                
Program.SaveException(e);
            }
            return 
true;
        } 

كده انا خلصت والاكواد مجربة 100% وكده رقم 1000 فى السيرفر هياخد اصطفى صول على حسب نوعه و1 مليون كونكر بويند سلاااااااااامووووووووووووووووووووز