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

الردود
0

المشاهدات
1867
 
ChuMChuM
( :: عضو محترف :: )

ChuMChuM is on a distinguished road

    غير متواجد

المشاركات
219

+التقييم
0.04

تاريخ التسجيل
Dec 2011

الاقامة
القاهرة

نظام التشغيل

رقم العضوية
149
06-01-2012, 07:28 AM
المشاركة 1 
#1  
افتراضي حصــــريا على عرب تهيس تصليح نبسي السوكت الفي البارد
البارد, السوكت, الفى, تصليح, حصــــريا, نبسي, ورلد

حصريا وعلى منتدانا الكريم بدون تعب شديد يعنى بس الحمد لله تم :

تصليح نبسي السوكت الفي البارد فى سورس كودر


======================================
ارجو عند نقل الموضوع ذكر المصدر :عفواً لايمكن عرض الرابط إلا بعد الرد على الموضوع

وصاحب الموضوع حصــــريا تهيس تصليح نبسي السوكت biggrin.gifiehard248
======================================

ضيف الكود في الملف الاتي في السورس

Dialogs.cs


كود:
#region ArtisanOu
                
case 41:
                    {
                        switch (
npcRequest.OptionID)
                        {
                            case 
0:
                                {
                                    
dialog.Text("Hello there my friend. I am here to make your socket your weapon. With a socketed weapon you can add gems inside of the sockets and the gems will give you some extra stats. For the first socket I demand 1 DragonBall and for the second one I demand 5 dragonballs.");
                                    
dialog.Link("Alright let's go on."1);
                                    
dialog.Send();
                                    break;
                                }
                            case 
1:
                                {
                                    if (!
client.Equipment.Free(4))
                                    {
                                        
Conquer_Online_Server.Interfaces.IConquerItem Item null;
                                        
Item client.Equipment.TryGetItem(4);
                                        if (
Item.SocketOne == Conquer_Online_Server.Game.Enums.Gem.NoSocket)
                                        {
                                            
dialog.Text("My friend I need one DragonBall to socket your weapon. Are you sure you want to do this?");
                                            
dialog.Link("Yea sure."2);
                                            
dialog.Send();
                                        }
                                        else if (
Item.SocketTwo == Conquer_Online_Server.Game.Enums.Gem.NoSocket)
                                        {
                                            
dialog.Text("My friend I need five dragonballs to socket your weapon. Are you sure you want to do this?");
                                            
dialog.Link("Yea sure."2);
                                            
dialog.Send();
                                        }
                                        else
                                        {
                                            
dialog.Text("I can't socket this weapon once more.");
                                            
dialog.Link("Alright."255);
                                            
dialog.Send();
                                        }
                                    }
                                    else
                                    {
                                        
dialog.Text("You need to wear the weapon first.");
                                        
dialog.Link("Alright."255);
                                        
dialog.Send();
                                    }
                                    break;
                                }
                            case 
2:
                                {
                                    if (!
client.Equipment.Free(4))
                                    {
                                        
Conquer_Online_Server.Interfaces.IConquerItem Item null;
                                        
Item client.Equipment.TryGetItem(4);
                                        if (
Item.SocketOne == Conquer_Online_Server.Game.Enums.Gem.NoSocket)
                                        {
                                            if (
client.Inventory.Contains(10880001))
                                            {
                                                
client.Inventory.Remove(10880001);
                                                
Item.SocketOne Conquer_Online_Server.Game.Enums.Gem.EmptySocket;
                                                
Item.Mode Conquer_Online_Server.Game.Enums.ItemMode.Update;
                                                
Item.Send(client);
                                                
Conquer_Online_Server.Database.ConquerItemTable.UpdateItem(Itemclient);
                                                
dialog.Text("Done!");
                                                
dialog.Link("Thank you."255);
                                                
dialog.Send();
                                            }
                                            else
                                            {
                                                
dialog.Text("You don't have one DragonBall!");
                                                
dialog.Link("Ah..."255);
                                                
dialog.Send();
                                            }
                                        }
                                        else if (
Item.SocketTwo == Conquer_Online_Server.Game.Enums.Gem.NoSocket)
                                        {
                                            if (
client.Inventory.Contains(10880005))
                                            {
                                                
client.Inventory.Remove(10880005);
                                                
Item.SocketTwo Conquer_Online_Server.Game.Enums.Gem.EmptySocket;
                                                
Item.Mode Conquer_Online_Server.Game.Enums.ItemMode.Update;
                                                
Item.Send(client);
                                                
Conquer_Online_Server.Database.ConquerItemTable.UpdateItem(Itemclient);
                                                
dialog.Text("Done!");
                                                
dialog.Link("Thank you."255);
                                                
dialog.Send();
                                            }
                                            else
                                            {
                                                
dialog.Text("You don't have one DragonBall!");
                                                
dialog.Link("Ah..."255);
                                                
dialog.Send();
                                            }
                                        }
                                    }
                                    else
                                    {
                                        
dialog.Text("You need to wear the weapon first.");
                                        
dialog.Link("Alright."255);
                                        
dialog.Send();
                                    }
                                    break;
                                }
                        }
                        break;
                    }
                
#endregion 

وده هترفعو علي النفكات

كود:
INSERT INTO `npcsVALUES ('0041''0''0''ArtisanOu''0002''0370''-1''1015''0756''0545''50200''0000''0000''0000''0000''0000''0000''0000''0''0''0''0''ÃŽÃÅÂ''0000''00''00''0000''00'null); 

تحياتي للجميع واتمني يكون الموضوع نال رضاكم



pwJJJJvdh ugn uvf jids jwgdp kfsd hgs,;j hgtd hgfhv] hgtn ,vg]