> > >Hy. > >Well, i discovered that the problem is not the temporary entity at all. >Even if i deactivate the night vision, when i go into another level it >still goes berserk (or even crashes). > >For the night vision i modified the "CPlayer" (or CBasePlayer) and i added >2 bool values.
I doubt this is the problem with onl bool values, but it may be... I had some odd crashing problems when crossing level boundaries in my mod, which confused me for a long time before I tracked them down. Effectively, all variables of an Entity class should either be included in the Save/Restore list, or set in the Spawn function. Otherwise, on a level transfer, those variables will have undefined values, and wackiness ensues. Likely, you'll want to Save/Restore whether the Nightsight is on across the level boundary if you haven't already. >I'll try making it client side as Omega suggested (less lag and less >chances other players will see the light from my night vision). > >I'll write back after i experiment some more. > >Thanx guys. [ cruise / casual-tempest.net / transference.org ] _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders

