Ch40zz-C0d3r (04-07-2012),pDevice (07-21-2012),teehee15 (04-06-2012)
good luck this is noob proof, or i'd post the ID. Those of u who actually can reverse will get this workingCode:LTVector vPos; //////////////////////////////////////////////////////// LTVector vPitchYawRoll(m_fPlayerPitch, m_fPlayerYaw, m_fPlayerRoll); // the 3 objects in the () are part of the PlayerMGR CAutoMessage cMsg; cMsg.Writeuint8(MID_PLAYER_TELEPORT); // good luck finding the id ;) the hint is it is 1-255 cMsg.WriteLTVector(vPos); cMsg.WriteLTRotation(m_pPlayerCamera->GetCameraRotation( )); // good luck with the camera :) g_pLTClient->SendToServer(cMsg.Read(), MESSAGE_GUARANTEED);
commando: You're probably the best non-coder coder I know LOL
Ch40zz-C0d3r (04-07-2012),pDevice (07-21-2012),teehee15 (04-06-2012)
lawls nice it seems its not nexons lucky day
its not their lucky day because they fail in updating from the old sources of other games
commando: You're probably the best non-coder coder I know LOL
............... 121?
Respect List:
@Black Diamond
@ChaosMagician
@TokolocoSK
lol i'm not saying 1 way or another :P
besides... even if u get the right ID, still gotta get the classes... although u can leave out the Player Rotation and set it urself, that's just kind of an added bonus
commando: You're probably the best non-coder coder I know LOL
this is just a shitty version of ghostmode. all it does is change your camera angle, your actual position doesnt change on the server side.
#define MID_PLAYER_TELEPORT 121
R.I.P Grandma! 3-17-2012
You too did you even read the code
Code:void CPlayerMgr::Teleport(const LTVector & vPos) { #ifndef _FINAL // Don't allow player teleporing in the final version... <------------ this line right here CAutoMessage cMsg; cMsg.Writeuint8(MID_PLAYER_TELEPORT); cMsg.WriteLTVector(vPos); cMsg.WriteLTRotation(m_pPlayerCamera->GetCameraRotation( )); g_pLTClient->SendToServer(cMsg.Read(), MESSAGE_GUARANTEED); #endif // _FINAL }
matypatty (04-07-2012)
they have to. Its not used for normal players. The teleport is used to move NPC's from their spawner locations to the location they are visible/shootable on map
if you knew anything about modding, you would understand. The way spawning zombies on cabin fever (for my example, its the easiest to explain) works is you know those 3 zombies under the map? those are the main spawners. Yeah you can kill em and it doesnt do anything but those mark where they spawn, From there they teleport to the top of the map
everything needs a spawner except the main human player spawns, Those are GameStartPoints...
commando: You're probably the best non-coder coder I know LOL
Why the hell does it make sense to put a message telling the server when to move NPCs. The server should be telling the client that the NPC teleported and same with players as well.
players never teleport. That's the thing. NPC's have to teleport from spawn to AIVolume location ... if you want to understand, read up some old AVP2 map creation tutorials
AVP2 full map creation tutorials for modding
commando: You're probably the best non-coder coder I know LOL