user.Send(new DataPacket
{
Id = user.UID,
Data1 = map,
Data2 = 0,
Timestamp = (uint)Environment.TickCount,
Action = DataAction.Teleport,
Data3Low = x,
Data3High = y,
Data4 = 0,
Data5 = 0,
});
user.Send(new DataPacket
{
Id = user.UID,
Data1 = map,
Data2 = 0,
Timestamp = (uint)Environment.TickCount,
Action = DataAction.ChangeMap,
Data3Low = x,
Data3High = y,
Data4 = 0,
Data5 = 0,
});
i've had huge problem cause of this which caught my attention, bear with me it's not really stupid
those are teleport command where at dynamic maps it doesn't show npcs and normal maps it does show npcs
from what i understand, those are 2 packets sent to the client which makes it change map and move coords to that in the paramaters, so how it could show npcs in tc and not at some dynamic map ?