منتدي اكواد

منتدي اكواد (https://code.vpscairo.com/index.php)
-   مشكلات السيرفيرات كونكر الشخصيه (https://code.vpscairo.com/forumdisplay.php?f=12)
-   -   مشكله فى vip (https://code.vpscairo.com/showthread.php?t=2621)

amosha 2019-10-06 12:46 PM

مشكله فى vip
 
انا سرفرى 2 دى بس كل ما اجى اسفر بى الفى اى بى الفى اى بى يجبنى هنا ممكن لو سمحت حد يقولى اعدل الموضوع دا ازى وكمان ازى لل فى اى بى انو يزود الناس اتاك او اتشبى او استرك وشكرا جدا
https://6.top4top.net/p_13748l0qn1.png

ابو مروان 2019-10-06 01:25 PM

رد: مشكله فى vip
 
ادخل على كلاس PacketHandler
ابحث عن الكود دا
كود PHP:

public static void Teleport(Client.GameState clientVIPTeleportLocations Location

اقفله بالسالب وبدله بى دا
كود PHP:

        {
            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;
            }
        } 


amosha 2019-10-06 01:37 PM

رد: مشكله فى vip
 
اقتباس:

المشاركة الأصلية كتبت بواسطة ابو مروان (المشاركة 19088)
ادخل على كلاس packethandler
ابحث عن الكود دا
كود PHP:

public static void teleport(client.gamestate clientvipteleportlocations location

اقفله بالسالب وبدله بى دا
كود PHP:

        {
            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;
            }
        } 


تسلم بس اخلى الفى بى بى يزود فى التاك وى الدفنس وكدا ازى وشكرا جدا ليك


الساعة الآن 11:45 AM

مرحبا بكم في منتدي اكواد لتطوير الالعاب