قديم 2019-07-27, 08:54 PM
المشاركة 2
Tefa
.:: عضو خبير ::.
  • غير متواجد
افتراضي رد: مشكلة في الرفيف ارجو المساعدة
بيقفل اذاي

قديم 2019-07-28, 05:46 AM
المشاركة 3
Tefa
.:: عضو خبير ::.
  • غير متواجد
افتراضي رد: مشكلة في الرفيف ارجو المساعدة
ادخل علي Packethandler.cs
ابحث عن

كود:
static void Revive

بدله ب ده
كود:
static void Revive(Data generalDataClient.GameState client)
        {
            if (
client.Entity.ContainsFlag(Update.Flags2.SoulShackle))
                return;

            if (
client.InTeamQualifier())
                return;
            
client.Entity.OnDeath null;

            if (
Time32.Now >= client.Entity.DeathStamp.AddSeconds(18) && client.Entity.Dead)
            {
                
client.Entity.Action KhaledMohamed.Game.Enums.ConquerAction.None;
                
client.ReviveStamp Time32.Now;
                
client.Attackable false;
                
client.Entity.TransformationID 0;
                
client.Entity.RemoveFlag(Update.Flags.Dead);
                
client.Entity.RemoveFlag(Update.Flags.Ghost);
                
client.Entity.Hitpoints client.Entity.MaxHitpoints;
                if (
client.Entity.MapID == 1518)
                {
                    
client.Entity.Teleport(1002400400);
                    return;
                }
                
bool ReviveHere generalData.dwParam == 1;
                if (
client.Spells.ContainsKey(12660))
                {
                    
client.XPCount client.Entity.XPCountTwist;
                }
                else if (
client.Entity.MapID == 700)
                {
                    
client.Entity.Teleport(7005151);
                }
                if (
client.Entity.MapID == 5555)
                {
                    
client.Entity.Teleport(55553935);
                } 
                if (
client.Entity.MapID == 3868)
                {
                    
client.Entity.Teleport(3868227240);
                }
                if (
client.Entity.MapID == 1038 && DateTime.Now.DayOfWeek == DayOfWeek.Friday)
                {
                    
client.Entity.Teleport(60013174);
                }
                else if (
client.Entity.MapID == 10380 && DateTime.Now.Day >= 27 && DateTime.Now.Day <= 29)
                {
                    
client.Entity.Teleport(1002300278);
                }
                else if (
client.Entity.MapID == 1509)
                {
                    
client.Entity.Teleport(150910343);
                }
                else if (
client.Entity.MapID == 11024)
                {
                    
client.Entity.Teleport(11024303147);
                }
                else if (
client.Entity.MapID == 11032)
                {
                    
client.Entity.Teleport(11032226227);
                }
                else if (
client.Entity.MapID == 2014)
                {
                    
client.Entity.Teleport(2014150162);
                }
                
                else if (
client.Entity.MapID == 2071 || client.Entity.MapID == 11022)
                {
                    
client.Entity.Teleport(client.Entity.MapID43129);
                }
                else if (
client.Entity.MapID == 1730)
                {
                    
client.Entity.Teleport(17315969);
                }
                else if (
client.Entity.MapID == 1731)
                {
                    
client.Entity.Teleport(17325969);
                }
                else if (
client.Entity.MapID == 1732)
                {
                    
client.Entity.Teleport(17335969);
                }
                else if (
client.Entity.MapID == 1733)
                {
                    
client.Entity.Teleport(17345969);
                }
                else if (
client.Entity.MapID == 1734)
                {
                    
client.Entity.Teleport(17355969);
                }
                else if (
client.Entity.MapID == 1735)
                {
                    
client.Entity.Teleport(1002427381);
                }
                else if (
client.Entity.MapID == 2071)
                {
                    
client.Entity.Teleport(207144130);
                }
                else if (
client.Entity.MapID == 3691)
                {
                    
client.Entity.Teleport(1002300279);
                }
                else if (
client.Entity.MapID == 3692)
                {
                    
client.Entity.Teleport(1002300279);
                }
                else if (
client.Entity.MapID == 3693)
                {
                    
client.Entity.Teleport(1002300279);
                }
                else if (
client.Entity.MapID == 7777)
                {
                    
client.Entity.Teleport(7777150164);
                }
                else if (
client.Entity.MapID == 8883)
                {
                    if (
client.Entity.TeamDeathMatch_BlackTeam == true)
                    {
                        
client.Entity.Teleport(8883042051);
                    }
                    if (
client.Entity.TeamDeathMatch_BlueTeam == true)
                    {
                        
client.Entity.Teleport(8883060042);
                    }
                    if (
client.Entity.TeamDeathMatch_WhiteTeam == true)
                    {
                        
client.Entity.Teleport(8883066064);
                    }
                    if (
client.Entity.TeamDeathMatch_RedTeam == true)
                    {
                        
client.Entity.Teleport(8883039036);
                    }
                    if (
client.Entity.MapID == 10137)
                    {
                        
client.Entity.Teleport(1013796411);
                        return;
                    }
                }
                else
                {
                    if (
ReviveHere && (client.Entity.HeavenBlessing || client.Entity.PKMode == Enums.PKMode.Jiang || client.Entity.JiangActive == true))
                    {
                        if (
client.Entity.MapID == 3092)
                        {
                            
client.Entity.Teleport(30905572);
                        }
                        if (
client.Map.BaseID == 3935)
                        {
                            
client.Entity.Teleport(1002300279);
                        }
                        if (
client.Map.BaseID == 3872)
                        {
                            
client.Entity.Teleport(1002300279);
                        }
                        if (
client.Map.BaseID == 1506)
                        {
                            
client.Entity.Teleport(1002300279);
                        }
                        if (
client.Map.BaseID == 700)
                        {
                            
client.Entity.Teleport(1002300279);
                        }
                        if (
client.Map.BaseID == 1004)
                        {
                            
client.Entity.Teleport(1002300279);
                        }
                        if (
client.Map.BaseID == 3868)
                        {
                            
client.Entity.Teleport(1002300279);
                        }
                        if (
client.Map.BaseID == 1844)
                        {
                            
client.Entity.Teleport(1002300279);
                        }
                        if (
client.Map.BaseID == 2071)
                        {
                            
client.Entity.Teleport(1002300279);
                        }
                        if (
client.Map.BaseID == 1507)
                        {
                            
client.Entity.Teleport(1002300279);
                        }
                        if (
client.Map.BaseID == 1013)
                        {
                            
client.Entity.Teleport(1002300279);
                        }
                        if (
client.Map.BaseID == 1801)
                        {
                            
client.Entity.Teleport(1002300279);
                        }
                        if (
client.Map.BaseID == 9972)
                        {
                            
client.Entity.Teleport(1002300279);
                        }
                        if (
client.Map.BaseID == 5000)
                        {
                            
client.Entity.Teleport(1002300279);
                        }
                        if (
client.Map.BaseID == 1508)
                        {
                            
client.Entity.Teleport(1002300279);
                        }
                        
////////////////////////////////////
                        ///////////////////////////////////////////////////////////
                        
if (Constants.revnomap.Contains(client.Entity.MapID))
                        {
                            
client.Entity.Teleport(1002300279);
                        }
                        if (
Constants.NoRevHere.Contains(client.Entity.MapID))
                        {
                            
client.Entity.Teleport(1002300279);
                        }
                        if (
Constants.NoHp.Contains(client.Entity.MapID))
                        {
                            
client.Entity.Teleport(1002300279);
                        }
                        else
                            
client.Entity.Teleport(client.Entity.MapIDclient.Entity.Xclient.Entity.Yfalse);
                        
//client.Send(new MapStatus() { BaseID = client.Map.BaseID, ID = client.Map.ID, Status = Database.MapsTable.MapInformations[client.Map.ID].Status, Weather = Database.MapsTable.MapInformations[client.Map.ID].Weather });
                    
}
                    else
                    {
                        
ushort[] Point Database.DataHolder.FindReviveSpot(client.Map.ID);
                        
client.Entity.Teleport(Point[0], Point[1], Point[2], false);
                    }
                }

            }
        } 

لو في اي مشكله يا ريت بالصور او شرح دقيق


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



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

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

المواضيع المتشابهه للموضوع: مشكلة في الرفيف ارجو المساعدة
الموضوع كاتب الموضوع المنتدى مشاركات آخر مشاركة
مشكلة ارجو حلها kimooo1 مشكلات السيرفيرات كونكر الشخصيه 1 2020-05-14 08:37 PM
تعديل على صفحة التسجيل ارجو المساعدة بعد اذنكم Abod ayman مشكلات السيرفيرات كونكر الشخصيه 5 2020-04-01 09:31 PM
مشكلة كونكر تهيس ارجو الرد بعد اذنكم Abod ayman مشكلات السيرفيرات كونكر الشخصيه 3 2020-03-28 01:04 PM
مشكلة خطيرة.... ارجو الدخول بسرعة Mr3FreeT مشكلات السيرفيرات كونكر الشخصيه 3 2019-05-06 01:06 AM
(ارجو الافاده) ارجو المسعد HBESA مشكلات السيرفيرات كونكر الشخصيه 1 2019-04-28 07:29 AM


الساعة الآن 07:15 PM

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