Hi Ghosthack!
Thanks for the tip: I commented that out and I also did the same for Brahmin pens initialization in its respective script because it also returned a similar error message and since I don't want brahmin pens at all for my testing environment, I just commented it out. After that, I got another error message related to towns initialization, so I went to towns.fos and checked what could be wrong around there. Since I didn't see any reference to NCR but only to Den, Klamath, Redding, Broken Hills and Gecko, I decided to comment out whole towns initialization. It went through, but now there's another show-stopper:
[20:151] Script callback: Initializing patrol routes : patrolroutes : void InitRoutes() : 433, 2 : FOServer::InitReal : Game.
[20:151] Script callback: Patrol routes commented out successfully : patrolroutes : void InitRoutes() : 435, 2 : FOServer::InitReal : Game.
[20:151] Script callback: Initializing brahmin pens : brahmin_pens : void InitBrahminPens() : 1527, 2 : FOServer::InitReal : Game.
[20:151] Script callback: Brahmin pens commented out successfully : brahmin_pens : void InitBrahminPens() : 1529, 2 : FOServer::InitReal : Game.
[20:151] Script callback: Initializing brahmin traders : brahmin_traders : void InitBrahminTraders() : 79, 2 : FOServer::InitReal : Game.
[20:151] Script callback: Brahmin traders initialized successfully : brahmin_traders : void InitBrahminTraders() : 87, 2 : FOServer::InitReal : Game.
[20:151] Script callback: Towns initialization commented out successfully : towns : void InitTowns() : 411, 2 : FOServer::InitReal : Game.
[20:152] Script callback: Can't add NPC, map is invalid. : utils : Critter@ AddNpc(Map@, uint16, uint16, uint16, uint8, uint, string&inout, uint, uint, uint, bool, uint) : 708, 3 : FOServer::InitReal : Game.
[20:152] Script exception: Null pointer access : companion : void CreateCompanion() : 1784, 2 : FOServer::InitReal : Game.
[20:152] Execution of script stopped due to exception.
[20:152] Context<FOServer::InitReal : Game>, state<Exception>, call stack<3>:
[20:152] 2) companion : void CreateCompanion() : 1784, 2.
[20:152] 1) companion : void InitCompanions() : 1971, 3.
[20:152] 0) main : bool start() : 3813, 2.
[20:152] FOServer::InitReal - Start script fail.
[20:152] Initialization fail!
In the case of Brahmin pens and Towns I could find the issue easily because there are not so many scripts, but when trying to find out what's wrong with NPCs, I see that there's a good amount of NPC scripts...
Is there any way to make the Log function point out which script is giving trouble every time? That would help out a lot during debugging! Other than that, any chance anyone knows which script I should look into to solve this issue?
I guess now it's trying to add NPCs to maps that might not be there or something like that but I'm not quite sure.