Single Player bugs and crashes v38 plus (SVN) - After the 20th of February 2018

Sorry that VS2017 didn't work. I'm not sure what went wrong with that build output you gave. I couldn't reproduce unfortunately :(
@makotech222 Good news - with Windows 10 and no confusing matters by having the old compiler on the system and so on I was able to get 2017 to work! Brilliant work on this update. I could not have personally pulled this off without your help. Sorry if I sounded irate about it - I'm just starting to be an old codger about some things I suppose. Change is harder to keep up with these days. Especially when you aren't paying much attention when it happens. But this computer and compiler are faster and has some nice features, not all of which I see the full differences on yet but I'm sure I will as I get further in to using it. Dark mode is certainly a nice option.

As an aside, are you considering continued work with us here? You obviously have some real knowledge on things and we could really use the help I'm sure.
 
HELP!

For some dang reason I can't seem to commit to the SVN. I assume it has something to do with this Win10 upgrade. I can update fine (once the lock is removed after this takes place) but when I try to commit I just get:
Command: Commit to https://svn.code.sf.net/p/caveman2cosmos/code/trunk
Error: Commit failed (details follow):
Error: Can't open file '/svn/p/caveman2cosmos/code/db/txn-current-lock': Permission
Error: denied
Completed!:

Thing is, I don't think it's a problem with SF because one of y'all committed since I tried last night and this morning. It's just me having a problem and I don't know how to fix it. Any insight or advice? I put in a ticket to SF on this but they've not answered yet.
 
HELP!

For some dang reason I can't seem to commit to the SVN. I assume it has something to do with this Win10 upgrade. I can update fine (once the lock is removed after this takes place) but when I try to commit I just get:
Command: Commit to https://svn.code.sf.net/p/caveman2cosmos/code/trunk
Error: Commit failed (details follow):
Error: Can't open file '/svn/p/caveman2cosmos/code/db/txn-current-lock': Permission
Error: denied
Completed!:

Thing is, I don't think it's a problem with SF because one of y'all committed since I tried last night and this morning. It's just me having a problem and I don't know how to fix it. Any insight or advice? I put in a ticket to SF on this but they've not answered yet.
Just try a 2nd time. And watch to see if a UAC pop up is not behind your SVN screens. Have had this in the past with Win 10. Some of it will come from win 10 and it's obsession with making you jump thru it's "security hoops" to be able to do the Admin things that you knew how to do with win 7.
But sometime just repeating the action will make win 10 comply. Also have you updated Sourceforge in the last week or so? There is a new version out that is supposed to be win 10 friendly. I updated before I did my last commit.
 
@Thunderbrd do see if you have the correct address, you need to have your username in the URL when trying to upload changes.

For example mine is: svn+ssh://kation@svn.code.sf.net/p/caveman2cosmos/code/trunk
 
@Thunderbrd do see if you have the correct address, you need to have your username in the URL when trying to upload changes.

For example mine is: svn+ssh://kation@svn.code.sf.net/p/caveman2cosmos/code/trunk
If you use the svn+ssh then yes. But if you are using the https: then No. I use this:
https://svn.code.sf.net/p/caveman2cosmos/code/trunk
just like T-brd is trying.

Once I've entered my password then I don't have to again, unlike the svn+ssh path, iirc.
 
Just try a 2nd time. And watch to see if a UAC pop up is not behind your SVN screens. Have had this in the past with Win 10. Some of it will come from win 10 and it's obsession with making you jump thru it's "security hoops" to be able to do the Admin things that you knew how to do with win 7.
But sometime just repeating the action will make win 10 comply. Also have you updated Sourceforge in the last week or so? There is a new version out that is supposed to be win 10 friendly. I updated before I did my last commit.
I did just update in response to this. I have UAC turned all the way down and don't have anything going on there (I don't think). I've given ALL possible permissions to all possible users on the Firaxis folder entirely. I've tried some 10 times.

I might have to switch to the svn+ssh://kation@svn.code.sf.net/p/caveman2cosmos/code/trunk method here. That was going to be the next thing I attempt later.... I HATE having to enter in my password so many times but if it's what it takes to get around this issue I'll do it. I was so happy to be able to go back to the https://svn.code.sf.net/p/caveman2cosmos/code/trunk method recently. :(

I also know that I'm entering the right username and password when it prompts me that first time (which should be the first and last time) because if I don't, it keeps trying to prompt me until I get too many attempts.

Maybe sourceforge will be able to give me an answer by the time I get off work today.
 
I did just update in response to this. I have UAC turned all the way down and don't have anything going on there (I don't think). I've given ALL possible permissions to all possible users on the Firaxis folder entirely. I've tried some 10 times.

I might have to switch to the svn+ssh://kation@svn.code.sf.net/p/caveman2cosmos/code/trunk method here. That was going to be the next thing I attempt later.... I HATE having to enter in my password so many times but if it's what it takes to get around this issue I'll do it. I was so happy to be able to go back to the https://svn.code.sf.net/p/caveman2cosmos/code/trunk method recently. :(

I also know that I'm entering the right username and password when it prompts me that first time (which should be the first and last time) because if I don't, it keeps trying to prompt me until I get too many attempts.

Maybe sourceforge will be able to give me an answer by the time I get off work today.
Ok, got it. SF let me know that I was capitalizing my username and that all usernames are all lowercase. Who'da thunk it! So totally my fault but I never would've setup an all lowercase username! And since I never have to enter IN my username I would've only known that some many years ago.
 
@makotech222 : Learning to work with vs2017 here and I'm wondering where all the hover tooltip info went - when you hover over a function call before it would give you a full tooltip breakdown of details about that object. It doesn't seem to be doing that now and I assume that's an option I can switch on somewhere? I know I can 'peek' at the function now with a rightclick-> peek command, which is beyond cool, but missing out on this hover bigtime - for one thing it helped to ensure I'd actually typed in the name of the function correctly and as I was filling in the variables it would highlight which variable I was filling in as I went through the commas. Do you know what I'm referring to here? How can I get that functionality back?
 
Bug: PC Klassies River caves wonder on Snail GS costs 126 hammers and takes 32 turns to build. On Long GS it takes 126 hammers but takes 42 turns to build. Only difference is that on Snail the single city tile has 4 food vs Long tile having 3 food. Hammers are the same.
Bug: Research times for starting techs on Snail and Long take same # of turns.
Bug: Building Alpha Male or Female on Snail takes 16 turns on Long it takes 11 turns.

All this from SVN 10300. Have not updated yet to latest SVN.

I think raxxo's changes to research and build times to slow down Preh Era Research and build times so faster GS dates are more in line with calendar as games progress has backfired.

1st 2 screenies from Long game, 3rd and 4th are from Snail.\

My Error
 
Last edited:
Bug: PC Klassies River caves wonder on Snail GS costs 128 hammers and takes 32 turns to build. On Long GS it takes 126 hammers but takes 42 turns to build.
Bug: Research times for starting techs on Snail and Long take same # of turns.
Bug: Building Alpha Male or Female on Snail takes 16 turns on Long it takes 14 turns.

All this from SVN 10300. Have not updated yet to latest SVN.

I think raxxo's changes to research and build times to slow down Preh Era Research and build times so faster GS dates are more in line with calendar as games progress has backfired.
@Pit2015 wasn't complaining about very slow start on slowest speed.

Long has everything 2x Normal base and Snail has 6x Normal base.
This may be influence of starting position too, especially if you aren't playing with one tile start.

No idea what is happening, maybe when you were scrolling you accidentally changed Long to Snail or Snail to Long?
That happened to me too.

In BUG options there is turn timer, that shows in what turn you are and how many turns are in game.

Long:
Spoiler :

Civ4BeyondSword 2018-12-08 20-34-59-99.jpg

Civ4BeyondSword 2018-12-08 20-35-03-56.jpg



Snail:
Spoiler :

Civ4BeyondSword 2018-12-08 20-34-08-92.jpg
Civ4BeyondSword 2018-12-08 20-34-14-54.jpg

 
Last edited:
No idea what is happening, maybe when you were scrolling you accidentally changed Long to Snail or Snail to Long?
That happened to me too.
Yup my mistake, sorry. I changed the name to Long from Snail but then forgot to actually change the GS setting. Again Sorry.
 
@Raxxo,
Okay I have a question for you, why is the Natural Wonders Like the PC Klassies taking the same amount of turns on Long and Snail. Example, LL Monte Verde still takes as long on Long to build as it does on Snail, 32 turns on both GS. Hammer cost is the same 126 hammers, This does not seem right at all. On Long it should only take 1/3 as long as on Snail. What say you to this?

And I always play 1 City Tile Start. I wish it was the Default way to start ecvery game and every New City placed. But I know that won't happen.
 

Attachments

  • Civ4ScreenShot0009.JPG
    Civ4ScreenShot0009.JPG
    201.8 KB · Views: 84
@Raxxo,
Okay I have a question for you, why is the Natural Wonders Like the PC Klassies taking the same amount of turns on Long and Snail. Example, LL Monte Verde still takes as long on Long to build as it does on Snail, 32 turns on both GS. Hammer cost is the same 126 hammers, This does not seem right at all. On Long it should only take 1/3 as long as on Snail. What say you to this?
Were you in middle of changing gamespeeds to make modmod?
Probably it was similar mistake as earlier.
This time some modifiers in gamespeeds weren't reverted on your side.

On Eternity PC Klassies costs 210:hammers:
Snail - 126:hammers:
Long - 42:hammers:
 
Last edited:
THINK I found the problem but I don't know how to work through these:
Code:
Severity    Code    Description    Project    File    Line    Suppression State
Error (active)    E1696    cannot open source file "tchar.h"    C2C    C:\Program Files (x86)\Firaxis Games\Sid Meier's Civilization 4\Beyond the Sword\Mods\Caveman2Cosmos\Sources\CvGameCoreDLL.h    29   
Error (active)    E1696    cannot open source file "windows.h"    C2C    C:\Program Files (x86)\Firaxis Games\Sid Meier's Civilization 4\Beyond the Sword\Mods\Caveman2Cosmos\Sources\CvGameCoreDLL.h    18   
Error (active)    E1696    cannot open source file "MMSystem.h"    C2C    C:\Program Files (x86)\Firaxis Games\Sid Meier's Civilization 4\Beyond the Sword\Mods\Caveman2Cosmos\Sources\CvGameCoreDLL.h    19   
Error (active)    E1696    cannot open source file "math.h"    C2C    C:\Program Files (x86)\Firaxis Games\Sid Meier's Civilization 4\Beyond the Sword\Mods\Caveman2Cosmos\Sources\CvGameCoreDLL.h    30   
Error (active)    E1696    cannot open source file "assert.h"    C2C    C:\Program Files (x86)\Firaxis Games\Sid Meier's Civilization 4\Beyond the Sword\Mods\Caveman2Cosmos\Sources\CvGameCoreDLL.h    31   
Error (active)    E1696    cannot open source file "stdio.h"    C2C    C:\Program Files (x86)\Firaxis Games\Sid Meier's Civilization 4\Beyond the Sword\Mods\Caveman2Cosmos\Sources\CvGameCoreDLL.h    35   
Error (active)    E1696    cannot open source file "Python.h"    C2C    C:\Program Files (x86)\Firaxis Games\Sid Meier's Civilization 4\Beyond the Sword\Mods\Caveman2Cosmos\Sources\CvGameCoreDLL.h    250   
Error (active)    E1696    cannot open source file "boost/python/list.hpp"    C2C    C:\Program Files (x86)\Firaxis Games\Sid Meier's Civilization 4\Beyond the Sword\Mods\Caveman2Cosmos\Sources\CvGameCoreDLL.h    256   
Error (active)    E1696    cannot open source file "boost/python/tuple.hpp"    C2C    C:\Program Files (x86)\Firaxis Games\Sid Meier's Civilization 4\Beyond the Sword\Mods\Caveman2Cosmos\Sources\CvGameCoreDLL.h    257   
Error (active)    E1696    cannot open source file "boost/python/class.hpp"    C2C    C:\Program Files (x86)\Firaxis Games\Sid Meier's Civilization 4\Beyond the Sword\Mods\Caveman2Cosmos\Sources\CvGameCoreDLL.h    258   
Error (active)    E1696    cannot open source file "boost/python/manage_new_object.hpp"    C2C    C:\Program Files (x86)\Firaxis Games\Sid Meier's Civilization 4\Beyond the Sword\Mods\Caveman2Cosmos\Sources\CvGameCoreDLL.h    259   
Error (active)    E1696    cannot open source file "boost/python/return_value_policy.hpp"    C2C    C:\Program Files (x86)\Firaxis Games\Sid Meier's Civilization 4\Beyond the Sword\Mods\Caveman2Cosmos\Sources\CvGameCoreDLL.h    260   
Error (active)    E1696    cannot open source file "boost/python/object.hpp"    C2C    C:\Program Files (x86)\Firaxis Games\Sid Meier's Civilization 4\Beyond the Sword\Mods\Caveman2Cosmos\Sources\CvGameCoreDLL.h    261   
Error (active)    E1696    cannot open source file "boost/python/def.hpp"    C2C    C:\Program Files (x86)\Firaxis Games\Sid Meier's Civilization 4\Beyond the Sword\Mods\Caveman2Cosmos\Sources\CvGameCoreDLL.h    262   
Error (active)    E2984    There are too many errors for the IntelliSense engine to function properly, some of which may not be visible in the editor.    C2C    C:\Program Files (x86)\Firaxis Games\Sid Meier's Civilization 4\Beyond the Sword\Mods\Caveman2Cosmos\Sources\CvUnit.cpp    1   
Error (active)    E1696    cannot open source file "errno.h"    C2C    C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\cerrno    7   
Error (active)    E1696    cannot open source file "float.h"    C2C    C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\cfloat    7   
Error (active)    E1696    cannot open source file "corecrt.h"    C2C    C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\crtdefs.h    10   
Error (active)    E1696    cannot open source file "stddef.h"    C2C    C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\cstddef    7   
Error (active)    E1696    cannot open source file "stdio.h"    C2C    C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\cstdio    8   
Error (active)    E1696    cannot open source file "stdlib.h"    C2C    C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\cstdlib    8   
Error (active)    E1696    cannot open source file "math.h"    C2C    C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\cstdlib    9   
Error (active)    E1696    cannot open source file "string.h"    C2C    C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\cstring    8   
Error (active)    E1696    cannot open source file "wchar.h"    C2C    C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\cwchar    8   
Error (active)    E1696    cannot open source file "corecrt_terminate.h"    C2C    C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\eh.h    11   
Error (active)    E1696    cannot open source file "malloc.h"    C2C    C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\exception    26   
Error (active)    E1696    cannot open source file "crtdbg.h"    C2C    C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\iosfwd    12   
Error (active)    E1696    cannot open source file "share.h"    C2C    C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\xiosbase    10   
Error (active)    E1696    cannot open source file "ctype.h"    C2C    C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\xlocinfo.h    6   
Error (active)    E1696    cannot open source file "locale.h"    C2C    C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\xlocinfo.h    7   
Error (active)    E1696    cannot open source file "wchar.h"    C2C    C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\xlocinfo.h    8   
Error (active)    E1696    cannot open source file "crtdbg.h"    C2C    C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\yvals.h    8   
Error (active)    E0020    identifier "DWORD" is undefined    C2C    C:\Program Files (x86)\Firaxis Games\Sid Meier's Civilization 4\Beyond the Sword\Mods\Caveman2Cosmos\Sources\CvGameCoreDLL.h    160   
Error (active)    E0276    name followed by '::' must be a class or namespace name    C2C    C:\Program Files (x86)\Firaxis Games\Sid Meier's Civilization 4\Beyond the Sword\Mods\Caveman2Cosmos\Sources\CvGameCoreDLL.h    264   
Error (active)    E0020    identifier "TCHAR" is undefined    C2C    C:\Program Files (x86)\Firaxis Games\Sid Meier's Civilization 4\Beyond the Sword\Mods\Caveman2Cosmos\Sources\CvGlobals.h    1055   
Error (active)    E0020    identifier "LPCWSTR" is undefined    C2C    C:\Program Files (x86)\Firaxis Games\Sid Meier's Civilization 4\Beyond the Sword\Mods\Caveman2Cosmos\Sources\CvString.h    72   
Error (active)    E0020    identifier "LPCSTR" is undefined    C2C    C:\Program Files (x86)\Firaxis Games\Sid Meier's Civilization 4\Beyond the Sword\Mods\Caveman2Cosmos\Sources\CvString.h    245   
Error (active)    E0020    identifier "LPCWSTR" is undefined    C2C    C:\Program Files (x86)\Firaxis Games\Sid Meier's Civilization 4\Beyond the Sword\Mods\Caveman2Cosmos\Sources\CvString.h    459   
Error (active)    E0020    identifier "LPCSTR" is undefined    C2C    C:\Program Files (x86)\Firaxis Games\Sid Meier's Civilization 4\Beyond the Sword\Mods\Caveman2Cosmos\Sources\CvString.h    507   
Error (active)    E0282    the global scope has no "acosf"    C2C    C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\cmath    637   
Error (active)    E0282    the global scope has no "asinf"    C2C    C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\cmath    637   
Error (active)    E0282    the global scope has no "atanf"    C2C    C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\cmath    638   
Error (active)    E0282    the global scope has no "atan2f"    C2C    C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\cmath    638   ... And SO many more!
I do not know programming basics enough to understand what this is all about or what I need to do about it. That help file seems to assume you'd understand how to address these errors in the solution once you find them.
 
upload_2018-12-8_12-32-24.png

Anyone have an idea on how this became a problem and how to solve it? It seems I must be missing something huge and central here. Maybe my makefile paths is borked somewhere...
 
@Thunderbrd why those crashes sometimes happen during map generation?
I was using C2C_World map script.
I can try to take a look for you I think. As you can see I have a fundamental issue with Visual Studio at the moment.
 
I can try to take a look for you I think. As you can see I have a fundamental issue with Visual Studio at the moment.
I have suspicion some leader is wrongly defined, and it makes game crash during generation - I don't choose leaders, so they are random.
 
Back
Top Bottom