Scik 7 Apr, 2013 @ 1:12pm
Trying to make a Source Mod- can't get it to run at all. Help? (still unsolved)
I've been trying to make a source mod, but can't get it to work- i've used valve's "my first mod" (https://developer.valvesoftware.com/wiki/My_First_Mod) tutorial start-to-finish five times with VS2010. Every time I hit F5, I get this error:

Both ConVars must be marked FCVAR_REPLICATED for linkage to work (r_VehicleViewDampen)
The thread 'Win32 Thread' (0x1ccc) has exited with code 0 (0x0).
CSoundEmitterSystem: Registered 14397 sounds
CResponseSystem: scripts\talker\response_rules.txt (361 rules, 502 criteria, and 348 responses)
Unable to remove c:\program files\steam\steamapps\sourcemods\hl2spmod\gamestats.log!
First-chance exception at 0x00189e56 in hl2.exe: 0xC0000005: Access violation reading location 0xcccccccc.
Unhandled exception at 0x00189e56 in hl2.exe: 0xC0000005: Access violation reading location 0xcccccccc.
The program '[3284] hl2.exe: Native' has exited with code 0 (0x0).

If anyone knows of a fix, please help me out here.
Last edited by Scik; 7 Apr, 2013 @ 3:26pm
< >
Showing 1-3 of 3 comments
Wazanator 7 Apr, 2013 @ 1:19pm 
hl2 sp mod build: https://www.dropbox.com/sh/ay4qgm6zril59ey/5TanjB2qak

Source 2007 MP mod build: https://github.com/rlabrecque/Source2007SDKTemplate

Source HL2DM mod build: https://github.com/rlabrecque/Source2007HL2MP

Those are all fully working builds with their code and file structure intact so it gives you a good place to start without having to initialy debug the code.
Scik 7 Apr, 2013 @ 1:20pm 
Thanks! I'll try that out.
Scik 7 Apr, 2013 @ 1:49pm 
Both ConVars must be marked FCVAR_REPLICATED for linkage to work (r_VehicleViewDampen)
CSoundEmitterSystem: Registered 14397 sounds
The thread 'Win32 Thread' (0xa60) has exited with code 0 (0x0).
CResponseSystem: scripts\talker\response_rules.txt (361 rules, 502 criteria, and 348 responses)
Unable to remove c:\program files\steam\steamapps\sourcemods\hl2spbase\gamestats.log!
Userid changed, clearing stats file
SetupArrayProps_R: array prop '(null)' is at index zero.SetupArrayProps_R: array prop '(null)' is at index zero.
'hl2.exe': Unloaded 'C:\Program Files\Steam\steamapps\dash219\half-life 2 episode two\bin\unicode.dll'
The program '[5436] hl2.exe: Native' has exited with code 0 (0x0).

Still doesn't work.
< >
Showing 1-3 of 3 comments
Per page: 1530 50