NEW Quest The Biggest - مدونة عرب وود

الافضل لكم


Breaking

Post Top Ad

Responsive Ads Here

Post Top Ad

Responsive Ads Here

الأربعاء، 20 يوليو 2016

NEW Quest The Biggest


بسم الله الرحمن الرحيم




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


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

الكويسته
بيجيلك اوتو انفيت انك تروح تشتغل مع واحد علشان تبقي غني ومحدش يعرف يقتلك بسهوله
المهم هتبحث عنه في التوين وكده هتلايه هو اسمو Smuggler

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

الجوايز سيبي اس ع حسب ما تحدد

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

الي بيفهم هيشوف الاكواد ويعرف يعمل ايه


الشرح

افتح


Entity.cs 


ابحث عن


public uint StrResID; 

تحتيها ضيف ده


 ///////////////////////////////////////
        
public bool iam_in = false ,infir = false ,insec = false ,inthe = false ,infor = false;
        public 
bool first = false ,second = false ,therd = false, forth = false;
        public 
bool Done1 = false, Done2 = false, Done3 = false, Done4 = false;
        public 
bool iam_hero = false;
        private 
uint _PowerBOSS;
        
/////////////////////////////////////// 


تمام وابحث عن ده


 public uint ConquerPoints 


فوقيها
ضيف


        public uint BOSSPower
        
{
            
get
            
{
                return 
_PowerBOSS;
            }
            
set
            
{
                if (
value <= 0)
                    
value = 0;

                
_PowerBOSS = value;
                
Database.EntityTable.UpdateBOSSPower(this.Owner);
            }
        } 


روح علي



EntityTable 


ابحث عن


Set("ConquerPoints", e.ConquerPoints) 

فوقيها


.Set("BossPower", e.BOSSPower) 



ابحث عن


public static void UpdateCps 


تحتيها


        public static void UpdateBOSSPower(Client.GameState gameState)
        {
            
UpdateData(gameState, "BossPower", gameState.Entity.BOSSPower);
        } 



ابحث عن


 client.Entity.ConquerPoints = reader.ReadUInt32("ConquerPoints"); 


تحتيها


 client.Entity.BOSSPower = reader.ReadUInt32("BossPower"); 


افتح


PacketHandler 


ابحث عن


static void UseItem 


هتلاقي بعدها بشويه ده


switch (item.ID)
            { 



ضيف بعد القوس ده



#region HarryPotter
                #region drugs
                
case 5024806:
                    {
                        
Npcs HarryPotter = new Npcs(client);
                        
HarryPotter.Text("transport me to dilar in jop center");
                        
HarryPotter.Option("ok drugs", 255);
                        
HarryPotter.Send();
                        break;
                    }
                
#endregion
                #region bag
                
case 5024807:
                    {
                        
Npcs Hpxcoder = new Npcs(client);
                        
Hpxcoder.Text("transport me to losefor in jop center");
                        
Hpxcoder.Option("ok bag", 255);
                        
Hpxcoder.Send();
                        break;
                    }
                
#endregion
                #region Parchment
                
case 5024808:
                    {
                        
Npcs Hpxcoder = new Npcs(client);
                        
Hpxcoder.Text("you are great man go to Dister in jop center right now !!!");
                        
Hpxcoder.Option("IN My Way", 255);
                        
client.Entity.Done4 = true;
                        
Hpxcoder.Send();
                        break;
                    }
                
#endregion
                #endregion 



افتح بقي



World.cs 


ضيف دول اكنك بتضيف اي اوتو انفيت عادي


            #region HarryMission
            #region Invite
            
if (Now64.Second <= 2 && Now64.Hour == 18 && client.Entity.iam_in == false)
            {
                
client.MessageBox("Need To Be Rich Man And No One Can Kill You Searsh For Smuggler in twin city",
                      (
p) =>
                      {
                          
p.Entity.Teleport(1002, 305, 305);
                      }, 
null, 60);
            }
            
#endregion
            #region first[M1]
            
if (Now64.Second <= 2  && Now64.Hour == 20 && Now64.Minute == 00 && client.Entity.iam_in && client.Entity.first == false)
            {
                
client.MessageBox("her T the Smuggler come to me fast !!",
                      (
p) => { p.Entity.Teleport(1002, 305, 305);
                      
p.Entity.first = true;
                      }, 
null, 60);
            }
            
#endregion
            #region Second[M2]
            
if (Now64.Second <= 2 && Now64.Hour == 22 && Now64.Minute == 00 && client.Entity.iam_in && client.Entity.first && client.Entity.second == false)
            {
                
client.MessageBox("her T the Smuggler come to me fast !!",
                      (
p) =>
                      {
                          
p.Entity.Teleport(1002, 305, 305);
                          
p.Entity.second = true;
                      }, 
null, 60);
            }
            
#endregion
            #region therd[M3]
            
if (Now64.Second <= 2 && Now64.Hour == 22 && Now64.Minute == 00 && client.Entity.iam_in && client.Entity.first && client.Entity.second && client.Entity.therd == false)
            {
                
client.MessageBox("her T the Smuggler come to me fast !!",
                      (
p) =>
                      {
                          
p.Entity.Teleport(1002, 305, 305);
                          
p.Entity.therd = true;
                      }, 
null, 60);
            }
            
#endregion
            #region forth[M4]
            
if (Now64.Second <= 2 && Now64.Hour == 22 && Now64.Minute == 00 && client.Entity.iam_in && client.Entity.first && client.Entity.second && client.Entity.therd && client.Entity.forth == false)
            {
                
client.MessageBox("her T the Smuggler come to me fast !!",
                      (
p) =>
                      {
                          
p.Entity.Teleport(1002, 305, 305);
                          
p.Entity.forth = true;
                      }, 
null, 60);
            }
            
#endregion
            #endregion 

بس كده

افتح بقي



Handle.cs 

ابحث عن


public static void ReceiveAttack(Game.Entity attacker, Game.Entity attacked, 


هتلاقي تحت السطر ده قوس

ضيف دول تحتيه



 if(attacker.iam_hero && attacked.iam_hero)
            {
                
attacked.Hitpoints -= damage;
            }
            if(
attacker.iam_hero && attacked.iam_hero == false)
            {

                
attacked.Hitpoints -= damage * 2;
            }
            if(
attacked.iam_hero && attacker.iam_hero == false)
            {
                
attacked.Hitpoints -= damage / 2;
            } 




افتح بقي
Npcs.cs 


ضيف الانبسيهات ده زي اي انبي سي


                #region the biggest work by harrypotter
                  #region Smuggler
                
case 587001:
                    {
                        switch (
npcRequest.OptionID)
                        {
                            case 
0:
                                {
                                    if (
client.Entity.iam_in == false)
                                    {
                                    
dialog.Text("here T i want some one fast and strong to br my right hand if you see your self like that .");
                                    
dialog.Option("Iam Here", 1);
                                    
dialog.Option("I afraid form the gaurds.", 255);
                                    
dialog.Send();
                                    }
                                    else if(
client.Entity.first)
                                    {
                                        
dialog.Text("First You Take drugs and transport it to dilar and take mone and come to here .");
                                        
dialog.Option("In My Way", 2);
                                        
dialog.Option("I afraid Sorry.", 255);
                                        
dialog.Send();
                                    }
                                    else if(
client.Entity.second)
                                    {
                                        
dialog.Text("buy for me 10 metorscrol and 12 dbscrol and 3 plus 6stone .");
                                        
dialog.Option(" ok i will", 3);
                                        
dialog.Option("have no mney i will come again.", 255);
                                        
dialog.Send();
                                    }
                                    else if(
client.Entity.therd)
                                    {
                                        
dialog.Text("Transport this bag to losefor in PhonixCity and do what he tell you !! .");
                                        
dialog.Option("Yes, Sure", 4);
                                        
dialog.Option("Iwill go anther Time.", 255);
                                        
dialog.Send();
                                    }
                                    else if(
client.Entity.forth)
                                    {
                                        
dialog.Text("Read This Parchemnt And Do Evry Thing In It.");
                                        
dialog.Option("ok -_-", 5);
                                        
dialog.Option("I have no time sorry.", 255);
                                        
dialog.Send();
                                    }
                                    else if(
client.Entity.iam_hero)
                                    {
                                        
dialog.Text("hay man how are you fine you done your mission already .");
                                        
dialog.Option("oh i knew.", 255);
                                        
dialog.Send();
                                    }
                                    break;
                                }
                            case 
1:
                                {

                                    
dialog.Text("Wellcome "+client.Entity.Name+" In My Crew");
                                    
dialog.Send();
                                    
client.Entity.iam_in = true;
                                    break;
                                }
                            case 
2:
                                {

                                    
dialog.Text("In your item some drugs go to dilar in twin city in jop centar");
                                    
dialog.Text("Rememper you take your prize from Dister in jop center after done the mission");
                                    
dialog.Send();
                                    
client.Entity.first = false;
                                    
client.Entity.infir = true;
                                    break;
                                }
                            case 
3:
                                {

                                    
dialog.Text("this 100.000 cps to buy");
                                    
dialog.Text("Rememper you take your prize from Dister in jop center after done the mission");
                                    
client.Entity.ConquerPoints += 100000;
                                    
client.Entity.second = false;
                                    
client.Entity.insec = true;
                                    break;
                                }
                            case 
4:
                                {

                                    
dialog.Text("Rememper you take your prize from Dister in jop center after done the mission");
                                    
dialog.Send();
                                    
client.Entity.therd = false;
                                    
client.Entity.inthe = true;
                                    break;
                                }
                            case 
5:
                                {

                                    
dialog.Text(" This parchment");
                                    
dialog.Text("Rememper you take your prize from Dister in jop center after done the mission");
                                    
dialog.Send();
                                    
client.Entity.forth = false;
                                    
client.Entity.infor = true;
                                    break;
                                }
                        }
                        break;
                    }
                
#endregion
                #region Dilar
                
case 142004:
                    {
                        switch (
npcRequest.OptionID)
                        {
                            case 
0:
                                {
                                    
dialog.Text(" Hay Man Some one see you , give me the drugs");
                                    
dialog.Option("TAKE IT", 1);
                                    
dialog.Send();
                                    break;
                                }
                            case 
1:
                                {
                                    
client.Inventory.Remove(5024806, 1);
                                    
client.Entity.Done1 = true;
                                    break;
                                }

                        }
                        break;
                    }
                
#endregion
                #region Losefor
                
case 14204:
                    {
                        switch (
npcRequest.OptionID)
                        {
                            case 
0:
                                {
                                    
dialog.Text("Where Is Money Bag FAST !!?");
                                    
dialog.Option("TAKE IT", 1);
                                    
dialog.Send();
                                    break;
                                }
                            case 
1:
                                {
                                    
client.Inventory.Remove(5024807, 1);
                                    
client.Entity.Done3 = true;
                                    break;
                                }

                        }
                        break;
                    }
                
#endregion
                          #region Dister
                
case 16524:
                    {
                        switch (
npcRequest.OptionID)
                        {
                            case 
0:
                                {
                                    
dialog.Text("Heloow Iam Dister I will give you prize after done Smuggler Mission !!");
                                    
dialog.Option("Give Me Prize", 1);
                                    
dialog.Send();
                                    break;
                                }
                            case 
1:
                                {
                                    if (
client.Entity.Done1)
                                    {
                                        
client.Entity.ConquerPoints += 50000000;
                                        
client.Entity.Done1 = false;

                                        
dialog.Text("prize mission 1 Check Your Cps");
                                    }
                                    if (
client.Entity.Done2)
                                    {
                                        
client.Entity.ConquerPoints += 100000000;
                                        
client.Entity.Done2 = false;
                                        
dialog.Text("prize mission 2 Check Your Cps");
                                    }
                                    if (
client.Entity.Done3)
                                    {
                                        
client.Entity.ConquerPoints += 500000000;
                                        
client.Entity.Done3 = false;
                                        
dialog.Text("prize mission 3 Check Your Cps");
                                    }
                                    if (
client.Entity.Done4)
                                    {
                                        
client.Entity.ConquerPoints += 1000000000;
                                        
client.Entity.Done4 = false;
                                        
dialog.Text("prize mission 4 Check Your Cps");
                                        
client.Entity.iam_hero = true;
                                       
client.Entity.BOSSPower = 2000;
                                    }
                                    break;
                                }
                        }
                        break;
                    }
                
#endregion
                #endregion 

بس كده

شغل النافي كات بقي عليكو كل الي هتعملو

ايه هتعمل تابل جديد في انتيتي زي تابل السيبي اي بالظبط

بس بدل ما يبقي اسمو كده


ConquerPoints 

هيبقي كده


BossPower 


وهتضيف الانبسيهات في القاعده عادي زي اي انبي سي

وادي الايتمز

الي هتتحط في المسار ده


Source/bin/dubge/database/Items.txt 


وفي االكلينت في

ItemType 



5024806@@Drugs@@0@@0@@0@@0@@0@@0@@0@@0@@9@@0@@100@@0@@0@@0@@0@@0@@0@@0@@0@@65535@@65535@@0@@0@@0@@0@@0@@0@@0@@0@@0@@1@@0@@1@@2@@1@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@Item@@Drugs.@@8@@0@@0@@0@@9000@@500@@0@@0@@0@@0@@0@@   5024807@@MoneyBag@@0@@0@@0@@0@@0@@0@@0@@0@@9@@0@@100@@0@@0@@0@@0@@0@@0@@0@@0@@65535@@65535@@0@@0@@0@@0@@0@@0@@0@@0@@0@@1@@0@@1@@2@@1@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@Item@@MoneyBag.@@8@@0@@0@@0@@9000@@500@@0@@0@@0@@0@@0@@    5024808@@Parchemnt@@0@@0@@0@@0@@0@@0@@0@@0@@9@@0@@100@@0@@0@@0@@0@@0@@0@@0@@0@@65535@@65535@@0@@0@@0@@0@@0@@0@@0@@0@@0@@1@@0@@1@@2@@1@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@Item@@Parchemnt.@@8@@0@@0@@0@@9000@@500@@0@@0@@0@@0@@0@@ 



كنت هنسي

افتح
باكت هندلر تاني

ابحث عن \\


public static void LoginMessages(Client 

هتلاقي في السطر الي تحتيها قوس

حط تحت القوس ده


           if(client.Entity.BOSSPower == 2000)
            {
                
client.Entity.iam_hero = true;
            } 



بس كده تم

Post Top Ad

Responsive Ads Here
close
عنوان الصورة