قديم 2020-01-27, 04:43 AM
المشاركة 2
Hassan Emprator
.:: عضو خبير ::.
  • غير متواجد
افتراضي رد: اخر مشكلة في اللوتري
سيرش هنا


كود:
                            case (byte)newLottery.Continue: 

بدله بي دا


كود:
                            case (byte)newLottery.Continue:
                                {
                                    if (
client.LotteryEntries 10)
                                    {
                                        
client.LotteryEntries += 1;
                                        
client.Entity.AddJade 0;
                                        
client.Inventory.Remove(7115043);

                                        
int rand Kernel.Random.Next(MrHassan.Database.LotteryTable.LotteryItems.Count);
                                        var 
item MrHassan.Database.LotteryTable.LotteryItems[rand];

                                        var 
tobesent = new newLottery(true);
                                        
tobesent.boxid 3;
                                        
tobesent.ItemID item.ID;
                                        
client.Entity.LOTOITEM item;
                                        
tobesent.JadesAdded client.Entity.AddJade;
                                        
tobesent.plus item.Plus;
                                        if (
item.Sockets 0)
                                            
I.SocketGem1 255;
                                        if (
item.Sockets 1)
                                            
I.SocketGem2 255;
                                        
//  tobesent.times = (ushort)(10 - client.LotteryEntries);
                                        
client.Send(tobesent);
                                    }
                                    break;
                                } 


قديم 2020-01-27, 05:20 AM
المشاركة 3
ElSaher
.:: مشرف قسم المشاكل ::.
  • غير متواجد
افتراضي رد: اخر مشكلة في اللوتري
مش موجوده

قديم 2020-01-27, 05:58 AM
المشاركة 4
ElSaher
.:: مشرف قسم المشاكل ::.
  • غير متواجد
افتراضي رد: اخر مشكلة في اللوتري
لسه مش اتحلت

قديم 2020-01-27, 10:58 PM
المشاركة 5
ElSaher
.:: مشرف قسم المشاكل ::.
  • غير متواجد
افتراضي رد: اخر مشكلة في اللوتري
ياريت حل يا جدعان

قديم 2020-01-28, 12:26 AM
المشاركة 6
ElSaher
.:: مشرف قسم المشاكل ::.
  • غير متواجد
افتراضي رد: اخر مشكلة في اللوتري
المشكلة مش اتحلت

قديم 2020-01-28, 02:43 AM
المشاركة 7
Mostafa Shalby
.:: عضو نشيط ::.
  • غير متواجد
افتراضي رد: اخر مشكلة في اللوتري
ادي الانبي سي اللي انتا قولتلي علية اللي ف المركت

كود بلغة HTML:
#region LadyLuck
                                case 923:
                                    {
                                        dialog.Avatar(123);
                                        switch (npcRequest.OptionID)
                                        {
                                            case 0:
                                                {
                                                    dialog.Text("Welcome to the Lottery Center! There are many Lucky Boxes here, each containing incredible treasures! Pay me 3 Small Lottery Tickets to draw from the Lucky Box in the Lottery Center. You are allowed to enter the Lottery Center and try your luck upto 10");
                                                    dialog.Text("~times a day. You will have extra lottery chances if you are a VIP player.");
                                                    dialog.Option("Let`s~try~my~luck!", 1);
                                                    dialog.Option("Exchange~Small~Lottery~Ticket.", 2);
                                                    dialog.Option("May~I~know~the~rules~first?", 3);
                                                    dialog.Option("How~about~the~VIP~privilege?", 4);
                                                    dialog.Option("Nice~to~see~you.", 255);
                                                    dialog.Send();
                                                    break;
                                                }
                                            case 1:
                                                {
                                                    if (client.Player.Level >= 70)
                                                    {

                                                        client.Player.Teleport(700, 42, 50);

                                                    }
                                                    else
                                                    {
                                                        dialog.Text("You may not join the lottery , you need level 70 first.");
                                                        dialog.Option("Ahh sorry.", 255);
                                                        dialog.Send();
                                                    }
                                                    break;
                                                }
                                            case 2:
                                                {
                                                    dialog.Text("You don`t have any Lottery Tickets to exchange for the Small Lottery Tickets.");
                                                    dialog.Option("Oops.", 255);
                                                    dialog.Send();
                                                    break;
                                                }
                                            case 3:
                                                {
                                                    dialog.Text("Each player can draw from the Lottery up to 10 times, each day. But if you are a VIP, you will have extra chances to play! Level 1 VIP: 10 extra chances. Level 2 VIP: 20 extra chances. Level 3 VIP: 30 extra chances.~Level 4 VIP: 40 extra chances. Level 5 VIP: 50 extra chances. Level 6 VIP: 60 extra chances.");
                                                    dialog.Option("Got~it!", 255);
                                                    dialog.Send();
                                                    break;
                                                }
                                            case 4:
                                                {
                                                    dialog.Text("There are many Lucky Boxes in the Lottery Center. Pay 3 Small Lottery Tickets, and you can draw from the Lucky Box! If you are not satisfied with the item you get, you can pay 1 more Small Lottery Ticket to change the item you drew. However, you can~only pay and change the item for 2 times. Each player is allowed to draw from the Lottery up to 10 times, each day.");
                                                    dialog.Option("Okay,~I~see.", 255);
                                                    dialog.Send();
                                                    break;
                                                }
                                        }
                                        break;
                                    }
                                #endregion

قديم 2020-01-28, 02:47 AM
المشاركة 8
Mostafa Shalby
.:: عضو نشيط ::.
  • غير متواجد
افتراضي رد: اخر مشكلة في اللوتري
وحل المكلة ضيف دي في PacketHandelar

كود بلغة HTML:
 #region SmallLotteryTicketPack
                case 724002:
                    {
                        client.Inventory.Add(711504, 0, 3);
                        client.Inventory.Remove(item, Enums.ItemUse.Remove);
                        break;
                    }
                #endregion

قديم 2020-01-28, 10:51 AM
المشاركة 9
ElSaher
.:: مشرف قسم المشاكل ::.
  • غير متواجد
افتراضي رد: اخر مشكلة في اللوتري
المشكلة مش اتحلت يا جدعان

قديم 2020-01-28, 06:02 PM
المشاركة 10
Rider
.:: عضو خبير ::.
  • غير متواجد
افتراضي رد: اخر مشكلة في اللوتري
في صناديق لوتري ف npc روح علي صندوق بدل remvoe امسحها و هتلاقي كلمه مكانها اسمها Rider حطها مكان remove


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



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

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

المواضيع المتشابهه للموضوع: اخر مشكلة في اللوتري
الموضوع كاتب الموضوع المنتدى مشاركات آخر مشاركة
حل مشكلة اللوتري في سورسي اللي نزلتة Mostafa Shalby تطوير سيرفرات كونكر 3 2020-01-28 04:08 AM
مشكلة في اللوتري ElSaher مشكلات السيرفيرات كونكر الشخصيه 3 2020-01-27 04:41 AM
بخصوص اللوتري salahsayed مشكلات السيرفيرات كونكر الشخصيه 5 2019-11-20 09:55 AM
مشكلة في صنديق اللوتري salahsayed مشكلات السيرفيرات كونكر الشخصيه 9 2019-07-13 04:39 PM
مطلوب كود اللوتري Mahmoud مشكلات السيرفيرات كونكر الشخصيه 1 2019-05-11 12:20 AM


الساعة الآن 11:18 PM

Powered by vBulletin® Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.