I had a rather large mod that was working fine for a long time. I recently changed to VS 2012 pro but changed back because it ran very slowly on my machine. For whatever reason, the new project stripped all of my settings out of the project files. This didn't bother me as I had backed-up my old VS 2008 SP1 solution and project files before the change over.
The problem is that now the game is giving errors that I believe involve not running the function "CServerGameDLL::DLLInit". I confirmed it wasn't running with console messages not showing up, preprocessor defined stuff not executing and debugging not breaking in it. I don't know why it's not being run. Through creating another mod, I determined that it should be run before the game even has a main menu displayed. My mod does actually reach the point where the main menu is displayed but isn't able to run maps. How can it even reach that point without running the DLLInit function? What is failing before that point that could be causing it not to be run? I rebuilt solution and restarted Steam several times. I confirmed that the newest dlls are in the bin directory. I used git to revert the src folder contents to before I changed over to VS 2012. No luck. Pasting in dll and pdb files from a time that the mod worked to bin doesn't work either. No error - the mod just doesn't run. Running it from Steam gives a "this game is currently unavailable error". Interestingly, some of the other errors were appearing before I fixed them, e.g. missing DT_OldManHarpoon etc. which I fixed but other errors relating to things not being initialized in CServerGameDLL::DLLInit remain. That would suggest to me that the client and server dlls were out of sync but I don't know how that could be the case as I rebuilt to entire solution pre-VS2012 without those errors. I've tried everything I can think of and search online but I'm out of ideas. What could have happened when I changed over to VS 2012? Would it be easier to start a new mod and try to hook up everything again? Thanks _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlcoders