احصائياتى

الردود
1

المشاهدات
408
 
سمير
.:: عضو نشيط ::.
الإجابات المقدمة: 2

    غير متواجد

المشاركات
178

+التقييم
0.07

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

الاقامة

نظام التشغيل

رقم العضوية
373
2019-10-05, 09:33 PM
المشاركة 1
2019-10-05, 09:33 PM
المشاركة 1
افتراضي تمت الإجابة مشكله بخصوص Arena Cps
دلوقتي انا ضيفت ارينه سبس دلوقتي اول ما بدخل بيسحب مني السبس ولما باجي اطلع وملاقيش حد بيتاخد مني ال 3 مليون السبس عاوز اخلي السبس يفضل معايا لحده اما يموتني ازاي


أفضل جواب - كتبه Hassan Emprator
ازاي تعمل صندوق بس انا معرفش حاجه في سورس رايزو لانه مليان مشاكل اصلا كدا كدا
انتظر النسخه الجديده ولو بتحب تو دي انتظر سورس مستر خالد الجديد
انشاء الله
................................................
ازاي انزل بي صندوق
اولا كدا هتروح
تبحث عن الكود دا

كود:
 public static void LoginMessages(Client.GameState client) 

بعد كدا هضيف دا تحته


كود:
#region GiftItems
                
if (client.Entity.Class >= 100 && client.Entity.Class <= 145)//Taoist
                
{
                    
//client.Inventory.AddBound99(3100007, 2592000, 0, 0, 1);
                  //  client.Inventory.AddBound99(3100010, 2592000, 0, 0, 1);
                  //  client.Inventory.AddBound99(3301026, 2592000, 0, 0, 1);
                    //client.Inventory.Add(3000550, 0, 1);
                
}
                if (
client.Entity.Class >= 80 && client.Entity.Class <= 85)//DragonWarrior
                
{
                    
//client.Inventory.AddBound99(3100006, 2592000, 0, 0, 1);
                   // client.Inventory.AddBound99(3100010, 2592000, 0, 0, 1);
            //        client.Inventory.AddBound99(3301026, 2592000, 0, 0, 1);
                    //client.Inventory.Add(3000550, 0, 1);
                
}
                if (
client.Entity.Class >= 70 && client.Entity.Class <= 75)//Pirate
                
{
                    
//client.Inventory.AddBound99(3100005, 2592000, 0, 0, 1);
                   // client.Inventory.AddBound99(3100010, 2592000, 0, 0, 1);
                //    client.Inventory.AddBound99(3301026, 2592000, 0, 0, 1);
                    //client.Inventory.Add(3000550, 0, 1);
                
}
                if (
client.Entity.Class >= 60 && client.Entity.Class <= 65)//Monk
                
{
                    
//client.Inventory.AddBound99(3100004, 2592000, 0, 0, 1);
                    //  client.Inventory.AddBound99(3100010, 2592000, 0, 0, 1);
                    
client.Inventory.AddBound99(3301026, 2592000, 0, 0, 1);
                    
//client.Inventory.Add(3000550, 0, 1);
                
}
                if (
client.Entity.Class >= 50 && client.Entity.Class <= 55)//Ninja
                
{
                    
//client.Inventory.AddBound99(3100003, 2592000, 0, 0, 1);
                    //   client.Inventory.AddBound99(3100010, 2592000, 0, 0, 1);
                 //   client.Inventory.AddBound99(3301026, 2592000, 0, 0, 1);
                    //client.Inventory.Add(3000550, 0, 1);
                
}
                if (
client.Entity.Class >= 40 && client.Entity.Class <= 45)//Archer
                
{
                    
//client.Inventory.AddBound99(3100002, 2592000, 0, 0, 1);
                    // client.Inventory.AddBound99(3100010, 2592000, 0, 0, 1);
                  //  client.Inventory.AddBound99(3301026, 2592000, 0, 0, 1);
                    //client.Inventory.Add(3000550, 0, 1);
                
}
                if (
client.Entity.Class >= 20 && client.Entity.Class <= 25)//Warrior
                
{
                    
//client.Inventory.AddBound99(3100001, 2592000, 0, 0, 1);
                    // client.Inventory.AddBound99(3100010, 2592000, 0, 0, 1);
                 //   client.Inventory.AddBound99(3301026, 2592000, 0, 0, 1);
                    //client.Inventory.Add(3000550, 0, 1);
                
}
                if (
client.Entity.Class >= 10 && client.Entity.Class <= 15)//Trojan
                
{
                    
//client.Inventory.AddBound99(3100000, 2592000, 0, 0, 1);
                    //  client.Inventory.AddBound99(3100010, 2592000, 0, 0, 1);
                  //  client.Inventory.AddBound99(3301026, 2592000, 0, 0, 1);
                    //client.Inventory.Add(3000550, 0, 1);
                
}
                if (
client.Entity.Class >= 160 && client.Entity.Class <= 165)//Windwalker
                
{
                    
//client.Inventory.AddBound99(626003, 0, 0, 0, 1);
                   // client.Inventory.AddBound99(3301719, 0, 0, 0, 1);
                    //client.Inventory.AddBound99(3100010, 2592000, 0, 0, 1);
                    //client.Inventory.AddBound99(3301026, 2592000, 0, 0, 1);
                    //client.Inventory.Add(3000550, 0, 1);
                
}
                
#endregion 

بس حضرتك انت كل الي هتعمله هنا انك هتغير رقم الايدي الي مكتوب في الاول الكود الي الكود بي
بتاع الايتم الجديد الي انت هتحطه وتشيل علامه //
دي تمام شعانا ساحبهولك من سرفري تمام ؟
وي 1 الي في الاخر دا معناه انك عايز تككرره كام مرا هوا كدا هييجي مرا
تمام ننكمل
.................................................. ........................................


بعدين سرش عا الكود دا


كود:
 client.Inventory.Add(itemPack, 0, 1); 

ضيف دا تحته

كود:
#region GiftItems
                
if (client.Entity.Class >= 100 && client.Entity.Class <= 145)//Taoist
                
{
                    
//client.Inventory.AddBound99(3100007, 2592000, 0, 0, 1);
                    
client.Inventory.AddBound99(3100010, 2592000, 0, 0, 1);
                    
//  client.Inventory.AddBound99(3301026, 2592000, 0, 0, 1);
                    //client.Inventory.Add(3000550, 0, 1);
                
}
                if (
client.Entity.Class >= 80 && client.Entity.Class <= 85)//DragonWarrior
                
{
                    
//client.Inventory.AddBound99(3100006, 2592000, 0, 0, 1);
                    
client.Inventory.AddBound99(3100010, 2592000, 0, 0, 1);
                    
//   client.Inventory.AddBound99(3301026, 2592000, 0, 0, 1);
                    //client.Inventory.Add(3000550, 0, 1);
                
}
                if (
client.Entity.Class >= 70 && client.Entity.Class <= 75)//Pirate
                
{
                    
//client.Inventory.AddBound99(3100005, 2592000, 0, 0, 1);
                    
client.Inventory.AddBound99(3100010, 2592000, 0, 0, 1);
                    
//  client.Inventory.AddBound99(3301026, 2592000, 0, 0, 1);
                    //client.Inventory.Add(3000550, 0, 1);
                
}
                if (
client.Entity.Class >= 60 && client.Entity.Class <= 65)//Monk
                
{
                    
//client.Inventory.AddBound99(3100004, 2592000, 0, 0, 1);
                    
client.Inventory.AddBound99(3100010, 2592000, 0, 0, 1);
                    
// client.Inventory.AddBound99(3301026, 2592000, 0, 0, 1);
                    //client.Inventory.Add(3000550, 0, 1);
                
}
                if (
client.Entity.Class >= 50 && client.Entity.Class <= 55)//Ninja
                
{
                    
//client.Inventory.AddBound99(3100003, 2592000, 0, 0, 1);
                    
client.Inventory.AddBound99(3100010, 2592000, 0, 0, 1);
                    
//      client.Inventory.AddBound99(3301026, 2592000, 0, 0, 1);
                    //client.Inventory.Add(3000550, 0, 1);
                
}
                if (
client.Entity.Class >= 40 && client.Entity.Class <= 45)//Archer
                
{
                    
//client.Inventory.AddBound99(3100002, 2592000, 0, 0, 1);
                    
client.Inventory.AddBound99(3100010, 2592000, 0, 0, 1);
                    
//client.Inventory.AddBound99(3301026, 2592000, 0, 0, 1);
                    //client.Inventory.Add(3000550, 0, 1);
                
}
                if (
client.Entity.Class >= 20 && client.Entity.Class <= 25)//Warrior
                
{
                    
//client.Inventory.AddBound99(3100001, 2592000, 0, 0, 1);
                    
client.Inventory.AddBound99(3100010, 2592000, 0, 0, 1);
                    
//client.Inventory.AddBound99(3301026, 2592000, 0, 0, 1);
                    //client.Inventory.Add(3000550, 0, 1);
                
}
                if (
client.Entity.Class >= 10 && client.Entity.Class <= 15)//Trojan
                
{
                    
//client.Inventory.AddBound99(3100000, 2592000, 0, 0, 1);
                    
client.Inventory.AddBound99(3100010, 2592000, 0, 0, 1);
                    
//client.Inventory.AddBound99(3301026, 2592000, 0, 0, 1);
                    //client.Inventory.Add(3000550, 0, 1);
                
}
                if (
client.Entity.Class >= 160 && client.Entity.Class <= 165)//Windwalker
                
{
                    
//client.Inventory.AddBound99(626003, 0, 0, 0, 1);
                   // client.Inventory.AddBound99(3301719, 0, 0, 0, 1);
             //       client.Inventory.AddBound99(3100010, 2592000, 0, 0, 1);
                    //client.Inventory.AddBound99(3301026, 2592000, 0, 0, 1);
                    //client.Inventory.Add(3000550, 0, 1);
                
}
                
#endregion 

وهتعمل زي الكود الي فوق كدا ضفته انت كدا لاصندوق

طيب حبيت بقا ناي اضيف صناديق الشخصيات لان دي كدا ايتمات عاديه

سيرش عا الكود دا


كود:
uint itemPack = 0; 

وضيف تحته دا


كود:
 switch (client.Entity.Class)
                {
                    case 
10: itemPack = 3100000; break;
                     case 
20: itemPack = 3100001; break;
                     case 
40: itemPack = 3100002; break;
                    case 
50: itemPack = 3100003; break;
                    case 
60: itemPack = 3100004; break;
                    case 
70: itemPack = 3100005; break;
                    case 
80: itemPack = 3100006; break;
                      case 
100: itemPack = 3100007; break;
                    case 
160: itemPack = 3100008; break;
                } 

بس كدا لو في ايه مشاكل اكتبها واحلهالك

قديم 2019-10-06, 12:39 AM
المشاركة 2
Hassan Emprator
.:: مشرف قسم المشاكل ::.
الإجابات المقدمة: 301
  • غير متواجد
افتراضي رد: مشكله بخصوص Arena Cps
ضيف عندك الانبي سي دا



كود:
#region Out
                
case 100252:
                case 
100253:
                case 
100254:
                case 
100255:
                case 
100256:
                case 
100257:
                case 
100258:
                case 
100259:
                case 
100260:
                case 
100261:
                case 
100262:
                case 
100263:
                case 
100264:
                case 
100265:
                case 
100266:
                case 
100267:
                case 
100268:
                case 
100269:
                case 
100270:
                case 
100271:
                    {

                        switch (
npcRequest.OptionID)
                        {
                            case 
0:
                                {


                                    
dialog.Text("Your Want Out From here ?");
                                    
dialog.Option("Yes", 1);
                                    
dialog.Option("No", 255);
                                    
dialog.Send();

                                    break;
                                }
                            case 
1:
                                {
                                    
int alive = 0;
                                    
uint map = client.Entity.MapID;
                                    foreach (
Client.GameState players in Program.Values)
                                        if (
players.Entity.MapID == map)
                                            
alive++;

                                    if (
alive == 1)
                                    {
                                        if (
map >= 2681 && map <= 2685)
                                        {
                                            
client.Entity.ConquerPoints += 5000;
                                        }
                                        else if (
map >= 2686 && map <= 2690)
                                        {
                                            
client.Entity.ConquerPoints += 10000;
                                        }
                                        else if (
map >= 2691 && map <= 2695)
                                        {
                                            
client.Entity.ConquerPoints += 20000;
                                        }
                                        else if (
map >= 2696 && map <= 2700)
                                        {
                                            
client.Entity.ConquerPoints += 30000;
                                        }
                                        
client.Entity.Teleport(1002, 250, 250);

                                    }
                                    else
                                    {
                                        
dialog.Text("Sorry Kill Player In This Map To Out "); dialog.Send();
                                    }
                                    break;
                                }
                        }
                        break;
                    }
                
#endregion 

طيب عايز بقا اعرف منين امتا يطلعني من المابه الي انا فيها ويرجعلي السيبي بتاعي
عندك في الكود دا

كود بلغة HTML:
 if (map >= 2681 && map <= 2685)
شايف الكود دا


كود:
 && map <= 2685 

دا معانه ان دا رقم لاماب غير بقا المابه دي لي مابه الارينا بتاعتك
واكتب في دا عدد السبس الي مفروض سحبه منك ومفروض انت لما تطلع يرجعهولك تاني

هتكتبه هنا


كود:
 client.Entity.ConquerPoints += 5000; 

بس كدا تم حلها


العلامات المرجعية



الذين يشاهدون محتوى الموضوع الآن : 1 ( الأعضاء 0 والزوار 1)
 

الانتقال السريع

المواضيع المتشابهه للموضوع: مشكله بخصوص Arena Cps
الموضوع كاتب الموضوع المنتدى مشاركات آخر مشاركة
ضيف ال Arena Cps بفكرة جديدة . منتدي اكواد فقط AMREL3FREIT تطوير سيرفرات كونكر 54 2021-02-08 01:59 AM
عايز اغير شكل الماب بتاعت Arena CPS ahmedshetos888 مشكلات السيرفيرات كونكر الشخصيه 1 2020-01-30 01:10 PM
مشكله بخصوص wings midoazoz مشكلات السيرفيرات كونكر الشخصيه 3 2019-11-12 12:00 AM
مشكله بخصوص TreasureBox سمير مشكلات السيرفيرات كونكر الشخصيه 1 2019-10-22 07:16 PM
Power Arena كاملة 100% Hazem تطوير سيرفرات كونكر 0 2019-06-27 07:24 PM


الساعة الآن 12:48 AM