At 07:59 PM 01/03/2002 +0000, you wrote: >Okay, turning into a longer saga than I hoped. I got the code altered to use >the shared functions in about an hour, nice and easy. Only thing is that it >seems the m_pPlayer->random_seed is permanently 0. > >I'm guessing I missed some critical engine call or something during the >change to SDK2.x all those years ago and I'm only just noticing now. > >Any ideas where to start looking?
The random_seed is set in the client in HUD_WeaponsPostThink() in hl_weapons.cpp. It is passed in via HUD_PostRunCmd() by the engine. On the server side, it is set in CmdStart() in client.cpp which is once again passed in by the engine as far as I can tell. Rob Prouse Tour of Duty Mod http://www.tourofdutymod.com _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders

