2 Issues, I doubt they are related : Issue 1) I've got my HL2DM mod running sweet and lovely and i'm about ready to send it out to my testers, so I compiled in in release mode, only to find it causes a crash in HL2.exe when I spawn on my listen server. How should I go about finding the cause of this crash?
Issue 2) I'd like to change the Scheme the HUD is using to match the player's team. I've attempted to do this by loading team specific Schemes during the constructor of a HUD panel and monitoring for a change of team in the panel's OnThink (I would have preferred to use the player_team event, but I haven't found a good way to check if it matches the local player the first time it's called). When I detect the change of team i'm calling SetScheme on TeamFortressViewport, passing it the relevant scheme. Setting the scheme doesn't seem to be taking effect. Calling SetScheme with the scheme name, Repaint or ApplySchemeSettings to try and force the new scheme to be applied all cause crashes in vguii2.dll Your advice and assistance would be appreciated. -ChromeAngel _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders