Can someone like give me a hint how to code Portals into the source?
So its 100% not him just LOTFQuote:
Have you ever thought that the problem wasn't the portals, but it's you :D
static class DataIDs
{
public const ushort RequestEntity = 102;
public const ushort SetLocation = 0x4A;
public const ushort ChangeMap = 0x56;
public const ushort SetMapColor = 0x68;
public const ushort Jump = 0x85;
public const ushort RequestSurroundings = 0x72;
public const ushort RemoveEntity = 0x84;
public const ushort ChangePKMode = 0x60;
public const ushort RequestRevive = 0x5E;
public const ushort ChangeAction = 0x51;
public const ushort Hotkeys = 0x4B;
public const ushort ConfirmFriends = 0x4C;
public const ushort ConfirmProfs = 0x4D;
public const ushort ConfirmSpells = 0x4E;
public const ushort ConfirmGuild = 0x61;
public const ushort CompleteLogin = 0x82;
public const ushort ChangeAvatar = 0x8E;
public const ushort EnterPortal = 0x55;
public const ushort DeletePlayer = 0x5F;
public const ushort ViewEquips = 117;
}
public void Teleport(ushort map, ushort x, ushort y)
{
Attacking = false;
PTarget = null;
MobTarget = null;
TGTarget = null;
if (LocMap != 700&&LocMap != 1036)
PrevMap = LocMap;
Ready = false;
World.RemoveEntity(this);
LocMap = map;
LocX = x;
LocY = y;
MyClient.SendPacket(General.MyPackets.GeneralData((long)UID, LocMap, LocX, LocY, 74));
World.SpawnMeToOthers(this, false);
World.SpawnOthersToMe(this, false);
World.SurroundNPCs(this, false);
World.SurroundMobs(this, false);
if (LocMap == 1038)
SendGuildWar();
Ready = true;
}