قديم 2020-05-09, 01:48 AM
المشاركة #2  
محمد ياسر
  • غير متواجد
افتراضي رد: نفسى اعمل النظام ده عندى ف السيرفر
اتفضل

كود:
#region SwordMaster
            
if (Name == "SwordMaster")
            {
                
uint ItemID 0;
                
byte type1 30;
                for (
int i 06i++)
                {
                    
type1 = (byte)Kernel.Random.Next(131);
                    switch (
type1)
                    {
                        case 
1:
                            
ItemID 720891;
                            break;
                        case 
2:
                            
ItemID 1088000;
                            break;
                        case 
3:
                            
ItemID 1088000;
                            break;
                        case 
4:
                            
ItemID 1088000;
                            break;
                        case 
5:
                            
ItemID 200407;
                            break;
                        case 
6:
                            
ItemID 200110;
                            break;
                        case 
7:
                            
ItemID 200407;
                            break;
                        case 
8:
                            
ItemID 200110;
                            break;
                        case 
9:
                            
ItemID 200109;
                            break;
                        case 
10:
                            
ItemID 200106;
                            break;
                        case 
11:
                            
ItemID 720891;
                            break;
                        case 
12:
                            
ItemID 720891;
                            break;
                        case 
13:
                            
ItemID 720884;
                            break;
                        case 
14:
                            
ItemID 720884;
                            break;
                        case 
15:
                            
ItemID 720884;
                            break;
                        case 
16:
                            
ItemID 1088000;
                            break;
                        case 
17:
                            
ItemID 1088000;
                            break;
                        case 
18:
                            
ItemID 1088000;
                            break;
                        case 
19:
                            
ItemID 1088000;
                            break;
                        case 
20:
                            
ItemID 1088000;
                            break;
                        case 
21:
                            
ItemID 723341;
                            break;
                        case 
22:
                            
ItemID 723341;
                            break;
                        case 
23:
                            
ItemID 723341;
                            break;
                        case 
24:
                            
ItemID 723341;
                            break;
                        case 
25:
                            
ItemID 723342;
                            break;
                        case 
26:
                            
ItemID 723342;
                            break;
                        case 
27:
                            
ItemID 723342;
                            break;
                        case 
28:
                            
ItemID 200011;
                            break;
                        case 
29:
                            
ItemID 200009;
                            break;
                        case 
30:
                            
ItemID 200008;
                            break;
                        case 
31:
                            
ItemID 3007108;
                            break;
                    }
                    var 
infos Database.ConquerItemInformation.BaseInformations[ItemID];
                    
ushort X Owner.XOwner.Y;
                    
Game.Map Map Kernel.Maps[Owner.MapID];
                    if (
Map.SelectCoordonates(ref Xref Y))
                    {
                        
Network.GamePackets.MsgMapItem MsgMapItem = new Network.GamePackets.MsgMapItem(true);
                        
MsgMapItem.Item = new Network.GamePackets.MsgItemInfo(true);
                        
MsgMapItem.Item.Color = (AurionConquer.Game.Enums.Color)Kernel.Random.Next(48);
                        
MsgMapItem.Item.ID ItemID;
                        
MsgMapItem.Item.Plus MsgMapItem.Item.Plus;
                        
MsgMapItem.Item.MaximDurability infos.Durability;
                        
MsgMapItem.Item.Durability infos.Durability;
                        
MsgMapItem.Item.MobDropped true;
                        
MsgMapItem.ValueType Network.GamePackets.MsgMapItem.FloorValueType.Item;
                        
MsgMapItem.ItemID ItemID;
                        
MsgMapItem.MapID Owner.MapID;
                        
MsgMapItem.MapObjType Game.MapObjectType.Item;
                        
MsgMapItem.X;
                        
MsgMapItem.Y;
                        if (
MsgMapItem.Item.ID == 730004)
                            
MsgMapItem.Item.Plus 4;
                        if (
MsgMapItem.Item.ID == 730003)
                            
MsgMapItem.Item.Plus 3;
                        if (
MsgMapItem.Item.ID == 730005)
                            
MsgMapItem.Item.Plus 5;
                        
MsgMapItem.Type Network.GamePackets.MsgMapItem.Drop;
                        
MsgMapItem.OnFloor Time32.Now;
                        
MsgMapItem.ItemColor MsgMapItem.Item.Color;
                        
MsgMapItem.UID Network.GamePackets.MsgMapItem.FloorUID.Next;
                        while (
Map.Npcs.ContainsKey(MsgMapItem.UID))

                            
MsgMapItem.UID Network.GamePackets.MsgMapItem.FloorUID.Next;

                        
Map.AddFloorItem(MsgMapItem);

                        
SendScreenSpawn(MsgMapItem);
                    }
                }
                return;
            }
            
#endregion 

يبا غير

كود:
"SwordMaster" 

علي اسم الوحش مع تغير الايتمات للي انت عايزه يقع منه

قديم 2020-05-09, 02:46 AM
المشاركة #3  
abdocoder
  • غير متواجد
افتراضي رد: نفسى اعمل النظام ده عندى ف السيرفر
اتفضل

كود:
#region SwordMaster
            
if (Name == "SwordMaster")
            {
                
uint ItemID 0;
                
byte type1 30;
                for (
int i 06i++)
                {
                    
type1 = (byte)Kernel.Random.Next(131);
                    switch (
type1)
                    {
                        case 
1:
                            
ItemID 720891;
                            break;
                        case 
2:
                            
ItemID 1088000;
                            break;
                        case 
3:
                            
ItemID 1088000;
                            break;
                        case 
4:
                            
ItemID 1088000;
                            break;
                        case 
5:
                            
ItemID 200407;
                            break;
                        case 
6:
                            
ItemID 200110;
                            break;
                        case 
7:
                            
ItemID 200407;
                            break;
                        case 
8:
                            
ItemID 200110;
                            break;
                        case 
9:
                            
ItemID 200109;
                            break;
                        case 
10:
                            
ItemID 200106;
                            break;
                        case 
11:
                            
ItemID 720891;
                            break;
                        case 
12:
                            
ItemID 720891;
                            break;
                        case 
13:
                            
ItemID 720884;
                            break;
                        case 
14:
                            
ItemID 720884;
                            break;
                        case 
15:
                            
ItemID 720884;
                            break;
                        case 
16:
                            
ItemID 1088000;
                            break;
                        case 
17:
                            
ItemID 1088000;
                            break;
                        case 
18:
                            
ItemID 1088000;
                            break;
                        case 
19:
                            
ItemID 1088000;
                            break;
                        case 
20:
                            
ItemID 1088000;
                            break;
                        case 
21:
                            
ItemID 723341;
                            break;
                        case 
22:
                            
ItemID 723341;
                            break;
                        case 
23:
                            
ItemID 723341;
                            break;
                        case 
24:
                            
ItemID 723341;
                            break;
                        case 
25:
                            
ItemID 723342;
                            break;
                        case 
26:
                            
ItemID 723342;
                            break;
                        case 
27:
                            
ItemID 723342;
                            break;
                        case 
28:
                            
ItemID 200011;
                            break;
                        case 
29:
                            
ItemID 200009;
                            break;
                        case 
30:
                            
ItemID 200008;
                            break;
                        case 
31:
                            
ItemID 3007108;
                            break;
                    }
                    var 
infos Database.ConquerItemInformation.BaseInformations[ItemID];
                    
ushort X Owner.XOwner.Y;
                    
Game.Map Map Kernel.Maps[Owner.MapID];
                    if (
Map.SelectCoordonates(ref Xref Y))
                    {
                        
Network.GamePackets.MsgMapItem MsgMapItem = new Network.GamePackets.MsgMapItem(true);
                        
MsgMapItem.Item = new Network.GamePackets.MsgItemInfo(true);
                        
MsgMapItem.Item.Color = (AurionConquer.Game.Enums.Color)Kernel.Random.Next(48);
                        
MsgMapItem.Item.ID ItemID;
                        
MsgMapItem.Item.Plus MsgMapItem.Item.Plus;
                        
MsgMapItem.Item.MaximDurability infos.Durability;
                        
MsgMapItem.Item.Durability infos.Durability;
                        
MsgMapItem.Item.MobDropped true;
                        
MsgMapItem.ValueType Network.GamePackets.MsgMapItem.FloorValueType.Item;
                        
MsgMapItem.ItemID ItemID;
                        
MsgMapItem.MapID Owner.MapID;
                        
MsgMapItem.MapObjType Game.MapObjectType.Item;
                        
MsgMapItem.X;
                        
MsgMapItem.Y;
                        if (
MsgMapItem.Item.ID == 730004)
                            
MsgMapItem.Item.Plus 4;
                        if (
MsgMapItem.Item.ID == 730003)
                            
MsgMapItem.Item.Plus 3;
                        if (
MsgMapItem.Item.ID == 730005)
                            
MsgMapItem.Item.Plus 5;
                        
MsgMapItem.Type Network.GamePackets.MsgMapItem.Drop;
                        
MsgMapItem.OnFloor Time32.Now;
                        
MsgMapItem.ItemColor MsgMapItem.Item.Color;
                        
MsgMapItem.UID Network.GamePackets.MsgMapItem.FloorUID.Next;
                        while (
Map.Npcs.ContainsKey(MsgMapItem.UID))

                            
MsgMapItem.UID Network.GamePackets.MsgMapItem.FloorUID.Next;

                        
Map.AddFloorItem(MsgMapItem);

                        
SendScreenSpawn(MsgMapItem);
                    }
                }
                return;
            }
            
#endregion 

يبا غير

كود:
"SwordMaster" 

علي اسم الوحش مع تغير الايتمات للي انت عايزه يقع منه
قولت اجربها على وحوش التون جايلى بالشكل ده الايتمز جمب بعض مش متوزع عشوائى
[IMG][/IMG]

قديم 2020-05-09, 03:30 AM
المشاركة #4  
medo2020
  • غير متواجد
افتراضي رد: نفسى اعمل النظام ده عندى ف السيرفر
سورس مين

قديم 2020-05-09, 03:38 AM
المشاركة #5  
MeGo
  • غير متواجد
افتراضي رد: نفسى اعمل النظام ده عندى ف السيرفر
هتعمل ال x , y راندوم علي حسب x , y بتوع الاعب

كدا


كود:
 MsgMapItem.= (ushort)Kernel.Random.Next(Owner.20Owner.20);
                                                      
MsgMapItem.= (ushort)Kernel.Random.Next(Owner.20Owner.20); 


قديم 2020-05-09, 05:19 AM
المشاركة #6  
abdocoder
  • غير متواجد
افتراضي رد: نفسى اعمل النظام ده عندى ف السيرفر
هتعمل ال x , y راندوم علي حسب x , y بتوع الاعب

كدا


كود:
 MsgMapItem.= (ushort)Kernel.Random.Next(Owner.20Owner.20);
                                                      
MsgMapItem.= (ushort)Kernel.Random.Next(Owner.20Owner.20); 
تسلم يدك


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



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

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

المواضيع المتشابهه للموضوع: نفسى اعمل النظام ده عندى ف السيرفر
الموضوع كاتب الموضوع المنتدى مشاركات آخر مشاركة
عايز امسح ايتم من السيرفر كلو وهو السيرفر بيرستر .. لسورس اليكس MaNGaWy مشكلات السيرفيرات كونكر الشخصيه 8 2020-05-08 10:30 PM
يارجاله دلؤتي restart مش شغال في السيرفر عندي ولما بقفل القنصل الانر بور بيتمسح ahmedfathy مشكلات السيرفيرات كونكر الشخصيه 1 2019-10-25 01:43 PM
نفسى فى سورس عدل اسلام مشكلات السيرفيرات كونكر الشخصيه 3 2019-09-27 06:12 PM
اعمل شفرات للاعبين و للـناس الـvip زى السيرفر الاول عـ العالـم Ahmeed Sheeko تطوير سيرفرات كونكر 3 2019-08-01 10:08 PM
مشكلة عندي في السيرفر الصطف بتتحول لي صول محمودمحمدسالم مشكلات السيرفيرات كونكر الشخصيه 1 2019-07-12 10:01 PM


الساعة الآن 03:52 AM

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