قديم 2019-10-06, 01:25 PM
المشاركة 2
ابو مروان
.:: عضو نشيط ::.
  • غير متواجد
افتراضي رد: مشكله فى vip
ادخل على كلاس PacketHandler
ابحث عن الكود دا

كود:
public static void Teleport(Client.GameState clientVIPTeleportLocations Location

اقفله بالسالب وبدله بى دا

كود:
        {
            switch (
Location)
            {
                case 
VIPTeleportLocations.TwinCity:
                case 
VIPTeleportLocations.TCSquareclient.Entity.Teleport((ushort)Game.Enums.Maps.TwinCity301280); break;
                case 
VIPTeleportLocations.WPFarmclient.Entity.Teleport((ushort)Game.Enums.Maps.TwinCity300278); break;
                case 
VIPTeleportLocations.WPBridgeclient.Entity.Teleport((ushort)Game.Enums.Maps.TwinCity300278); break;
                case 
VIPTeleportLocations.WPAltarclient.Entity.Teleport((ushort)Game.Enums.Maps.TwinCity513747); break;
                case 
VIPTeleportLocations.WPApparationclient.Entity.Teleport((ushort)Game.Enums.Maps.TwinCity252495); break;
                case 
VIPTeleportLocations.WPPoltergiestclient.Entity.Teleport((ushort)Game.Enums.Maps.TwinCity105349); break;
                case 
VIPTeleportLocations.WPTurtledoveclient.Entity.Teleport((ushort)Game.Enums.Maps.TwinCity665396); break;

                case 
VIPTeleportLocations.PhoenixCastle:
                case 
VIPTeleportLocations.PCSqaureclient.Entity.Teleport((ushort)Game.Enums.Maps.PhoenixCastle188264); break;
                case 
VIPTeleportLocations.MFWaterCaveclient.Entity.Teleport((ushort)Game.Enums.Maps.PhoenixCastle38031); break;
                case 
VIPTeleportLocations.MFVillageclient.Entity.Teleport((ushort)Game.Enums.Maps.PhoenixCastle785472); break;
                case 
VIPTeleportLocations.MFLakeclient.Entity.Teleport((ushort)Game.Enums.Maps.PhoenixCastle369568); break;
                case 
VIPTeleportLocations.MFMineCaveclient.Entity.Teleport((ushort)Game.Enums.Maps.PhoenixCastle924560); break;
                case 
VIPTeleportLocations.MFBridgeclient.Entity.Teleport((ushort)Game.Enums.Maps.PhoenixCastle648567); break;
                case 
VIPTeleportLocations.MFToApeCityclient.Entity.Teleport((ushort)Game.Enums.Maps.PhoenixCastle475841); break;

                case 
VIPTeleportLocations.ApeCity:
                case 
VIPTeleportLocations.ACSquareclient.Entity.Teleport((ushort)Game.Enums.Maps.ApeMoutain565562); break;
                case 
VIPTeleportLocations.ACSouthclient.Entity.Teleport((ushort)Game.Enums.Maps.ApeMoutain699640); break;
                case 
VIPTeleportLocations.ACEastclient.Entity.Teleport((ushort)Game.Enums.Maps.ApeMoutain624337); break;
                case 
VIPTeleportLocations.ACNorthclient.Entity.Teleport((ushort)Game.Enums.Maps.ApeMoutain200224); break;
                case 
VIPTeleportLocations.ACWestclient.Entity.Teleport((ushort)Game.Enums.Maps.ApeMoutain322621); break;

                case 
VIPTeleportLocations.DesertCity:
                case 
VIPTeleportLocations.DCSquareclient.Entity.Teleport((ushort)Game.Enums.Maps.DesertCity500650); break;
                case 
VIPTeleportLocations.DCSouthclient.Entity.Teleport((ushort)Game.Enums.Maps.DesertCity758750); break;
                case 
VIPTeleportLocations.DCVillageclient.Entity.Teleport((ushort)Game.Enums.Maps.DesertCity480271); break;
                case 
VIPTeleportLocations.DCMoonSpringclient.Entity.Teleport((ushort)Game.Enums.Maps.DesertCity291450); break;
                case 
VIPTeleportLocations.DCAncientMazeclient.Entity.Teleport((ushort)Game.Enums.Maps.DesertCity87321); break;

                case 
VIPTeleportLocations.BirdIland:
                case 
VIPTeleportLocations.BISquareclient.Entity.Teleport((ushort)Game.Enums.Maps.BirdIsland723573); break;
                case 
VIPTeleportLocations.BICenterclient.Entity.Teleport((ushort)Game.Enums.Maps.BirdIsland585593); break;
                case 
VIPTeleportLocations.BISouthWestclient.Entity.Teleport((ushort)Game.Enums.Maps.BirdIsland562786); break;
                case 
VIPTeleportLocations.BINorthWestclient.Entity.Teleport((ushort)Game.Enums.Maps.BirdIsland125323); break;
                case 
VIPTeleportLocations.BINorthEastclient.Entity.Teleport((ushort)Game.Enums.Maps.BirdIsland125323); break;
            }
        } 


قديم 2019-10-06, 01:37 PM
المشاركة 3
amosha
.:: عضو نشيط ::.
  • غير متواجد
Timid رد: مشكله فى vip
ادخل على كلاس packethandler
ابحث عن الكود دا

كود:
public static void teleport(client.gamestate clientvipteleportlocations location

اقفله بالسالب وبدله بى دا

كود:
        {
            switch (
location)
            {
                case 
vipteleportlocations.twincity:
                Case 
vipteleportlocations.tcsquareClient.entity.teleport((ushort)game.enums.maps.twincity301280); break;
                case 
vipteleportlocations.wpfarmClient.entity.teleport((ushort)game.enums.maps.twincity300278); break;
                case 
vipteleportlocations.wpbridgeClient.entity.teleport((ushort)game.enums.maps.twincity300278); break;
                case 
vipteleportlocations.wpaltarClient.entity.teleport((ushort)game.enums.maps.twincity513747); break;
                case 
vipteleportlocations.wpapparationClient.entity.teleport((ushort)game.enums.maps.twincity252495); break;
                case 
vipteleportlocations.wppoltergiestClient.entity.teleport((ushort)game.enums.maps.twincity105349); break;
                case 
vipteleportlocations.wpturtledoveClient.entity.teleport((ushort)game.enums.maps.twincity665396); break;

                case 
vipteleportlocations.phoenixcastle:
                Case 
vipteleportlocations.pcsqaureClient.entity.teleport((ushort)game.enums.maps.phoenixcastle188264); break;
                case 
vipteleportlocations.mfwatercaveClient.entity.teleport((ushort)game.enums.maps.phoenixcastle38031); break;
                case 
vipteleportlocations.mfvillageClient.entity.teleport((ushort)game.enums.maps.phoenixcastle785472); break;
                case 
vipteleportlocations.mflakeClient.entity.teleport((ushort)game.enums.maps.phoenixcastle369568); break;
                case 
vipteleportlocations.mfminecaveClient.entity.teleport((ushort)game.enums.maps.phoenixcastle924560); break;
                case 
vipteleportlocations.mfbridgeClient.entity.teleport((ushort)game.enums.maps.phoenixcastle648567); break;
                case 
vipteleportlocations.mftoapecityClient.entity.teleport((ushort)game.enums.maps.phoenixcastle475841); break;

                case 
vipteleportlocations.apecity:
                Case 
vipteleportlocations.acsquareClient.entity.teleport((ushort)game.enums.maps.apemoutain565562); break;
                case 
vipteleportlocations.acsouthClient.entity.teleport((ushort)game.enums.maps.apemoutain699640); break;
                case 
vipteleportlocations.aceastClient.entity.teleport((ushort)game.enums.maps.apemoutain624337); break;
                case 
vipteleportlocations.acnorthClient.entity.teleport((ushort)game.enums.maps.apemoutain200224); break;
                case 
vipteleportlocations.acwestClient.entity.teleport((ushort)game.enums.maps.apemoutain322621); break;

                case 
vipteleportlocations.desertcity:
                Case 
vipteleportlocations.dcsquareClient.entity.teleport((ushort)game.enums.maps.desertcity500650); break;
                case 
vipteleportlocations.dcsouthClient.entity.teleport((ushort)game.enums.maps.desertcity758750); break;
                case 
vipteleportlocations.dcvillageClient.entity.teleport((ushort)game.enums.maps.desertcity480271); break;
                case 
vipteleportlocations.dcmoonspringClient.entity.teleport((ushort)game.enums.maps.desertcity291450); break;
                case 
vipteleportlocations.dcancientmazeClient.entity.teleport((ushort)game.enums.maps.desertcity87321); break;

                case 
vipteleportlocations.birdiland:
                Case 
vipteleportlocations.bisquareClient.entity.teleport((ushort)game.enums.maps.birdisland723573); break;
                case 
vipteleportlocations.bicenterClient.entity.teleport((ushort)game.enums.maps.birdisland585593); break;
                case 
vipteleportlocations.bisouthwestClient.entity.teleport((ushort)game.enums.maps.birdisland562786); break;
                case 
vipteleportlocations.binorthwestClient.entity.teleport((ushort)game.enums.maps.birdisland125323); break;
                case 
vipteleportlocations.binortheastClient.entity.teleport((ushort)game.enums.maps.birdisland125323); break;
            }
        } 
تسلم بس اخلى الفى بى بى يزود فى التاك وى الدفنس وكدا ازى وشكرا جدا ليك


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



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

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



الساعة الآن 09:17 PM

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