Single Player bugs and crashes v39 plus (SVN) - After the 20th of July 2019

You shouldn't be doing anything to get it working that isn't in that video I made. The video is 3 minutes long (I skipped download time etc.). Just do exactly what is in the video, and if it doesn't work don't bother trying other things like zip files, or cloning again or whatever, just please describe precisely what the problem is, or drop in discord and ask for help.
Last thing 1st, dropping into discord is Not a convenient thing for me to do. I can only get into discord After 5pm CDST. And will only have a 5-6 hour window, till 11pn CSDT. I believe that is the time you are sleeping.
I watched the video to set it all up and it Was set up according to the video. But going thru a video once does not guarantee that down the road something will mess things up.

I'm also very tired physically because over the past week I've had to rip out a concrete pad that is at the entrance to my walk out basement. dig up river rock and clay to get to the field till that lays next to the foundation of the house for water drainage. Clear out the drain tile and then lay a temporary cinder block patio to replace the concrete pad that was removed. The digging, pounding and shoveling plus the lifting and carrying has taken a toll on my body and apparently my mind. So I got frustrated when things were not working out. Then to top that off I had to spend 3 hours last night unplugging a drain and the pipes for the kitchen sink thru a basement drain. Working a flexible rodding cable back and forth till the plug was broken up and flushed out. Then I sit down to relax before bedtime to play a few turns and all this other crap with Git comes up. So I guess I should've just stayed off the Site here and just kept my mouth shut.

Finally @raxo2222 ,
I KNOW you mean well, but many times you just Do Not Help with your 2nd guessing. So I get frustrated with you and your Too Quick to jump in and fix what you deem broken. For me you are way to eager beaver. Especially when it come to things I'm trying to work on.

@billw2015 ,
I'll go thru it all again, watching the video and re-installing everything associated with Git. Now I just have to find which thread the video is posted in...again.
 
When the directory select dialog pops up you should go to your Mods directory. Do NOT select Caveman2Cosmos directory in there:


When running DevSetup.bat it should look like this (after you have selected Mods dir):
I see several things that I did right and wrong. Because of using the SVN for so long And being told you can Not have more than 1 C2C in you Mods Folder I don't keep but the newest there. Like you did in your 1st screenshot.

When I ran the dev.bat I saw everything you posted in the 2nd screen shot.

It all went south for me After the GitHub Desktop Update. I got lost in it.
 
Last thing 1st, dropping into discord is Not a convenient thing for me to do. I can only get into discord After 5pm CDST. And will only have a 5-6 hour window, till 11pn CSDT. I believe that is the time you are sleeping.
Discord works in a browser, if you can post here you should be able to use discord (unless it is blocked on your network I guess?). However there are other people who might be able to help you in there as well. It is just easier to do "tech support" in an instant messenger than like this.

But going thru a video once does not guarantee that down the road something will mess things up.
It *should* guarantee that it works correctly with no other changes though, which as I understand it you haven't got to yet. i.e. You didn't at any point manage to run the mod from git and have it work correct?

After the GitHub Desktop Update
I don't know what this is? You mean the software updated itself, or the repository was updated when you clicked the fetch button? I would need to see a screenshot of what you mean I think
 
Discord works in a browser, if you can post here you should be able to use discord (unless it is blocked on your network I guess?). However there are other people who might be able to help you in there as well. It is just easier to do "tech support" in an instant messenger than like this.
I have discord and have used it in the past. The problem is Where my computer is in the House and the proximity of it to the bedrooms of 2 working sons who work the late shifts. It's a personal restriction to avoid waking up the 2 sons and getting into arguments because I talk to loud.
It *should* guarantee that it works correctly with no other changes though, which as I understand it you haven't got to yet. i.e. You didn't at any point manage to run the mod from git and have it work correct?
Yes I ran the Mod from Git and played my current save game with it. Up until you posted the 11024 Commit. Which I then tested and posted about. After that it went down the drain.
I don't know what this is? You mean the software updated itself
The GithubDesktop did an Update on itself.

Am I really being that unclear? How can I explain it better? Am I being to wordy?
 
because I talk to loud.
You can use discord without talking - I use it like forums, that is text only and no sound at all.

Yes I ran the Mod from Git and played my current save game with it. Up until you posted the 11024 Commit. Which I then tested and posted about. After that it went down the drain.
I keep Github and SVN repositories separate.
Dwm 2019-08-30 14-58-39-72.png


Github one is linked to Caveman2Cosmos folder.
If I want to check SVN repository, I rename Caveman2Cosmos to something else, move Caveman2Cosmos_SVN to mods folder and rename it to Caveman2Cosmos, and then I can load game normally - other repository is effectively another mod for BTS.
I set my BTS ini to automatically start Caveman2Cosmos, so there is no mistake with that.
Dwm 2019-08-30 15-15-13-57.png
 
Last edited:
I have discord and have used it in the past. The problem is Where my computer is in the House and the proximity of it to the bedrooms of 2 working sons who work the late shifts.
AHH I thought maybe this is the confusion :D discord is a text chat program primarily. We don't use the voice chat on it at all. It is just instant messenger like group chat.

The GithubDesktop did an Update on itself.
Okay I *very* highly doubt that had anything to do with your problems.

For billw's 11024 Commit I cut/pasted the GitHub out of my Game folder and put in his SVN release to see how it would load. It worked and I played 5 turns with it.
Here is probably where you problems come in.
You can't cut and paste the Git version of the mod in mods directory I don't think. Because inside that directory there are links and they probably get broken when you cut and paste it. I think you CAN just rename the Caveman2Cosmos dir though.
However it isn't necessary to do this. The easiest way is just to DELETE the Caveman2Cosmos directory in Mods then run DevSetup.bat again when you want to go back to git. The setup remembers your Mods directory so you don't need to select it again, AND it won't build the dll again unless the code has changed. This is my recommended way to do it. Later I can write something to make it easier to switch between SVN but I have too many things to do and not enough time at the moment.

Yes I ran the Mod from Git and played my current save game with it. Up until you posted the 11024 Commit. Which I then tested and posted about. After that it went down the drain.
Am I really being that unclear? How can I explain it better? Am I being to wordy?
Well you original post I responded to didn't make it clear that the github version had worked at all. It sounded like you couldn't get it to work. I went back a few posts and you did say you played with the github version a few turns, but I am not reading everything in this thread, I only read where you @ me.
Also I do a lot of tech support type stuff and I have learnt I need to double check everything because often there will be confusion because people think words mean different things, or they refer to something in a different manner etc. Github updated is fairly ambiguous it could mean the software updated or it could mean the repository updated, better to clarify than assume in my experience.
 
Trying to re-install Git 2.23.0-64-bit. But I'm getting way more popups about where and what to use than I did the 1st time. And 2/3rds of them I have No idea about. LF to CRLF or Not, Command prompt 3 ways, etc. I now have a headache. :sad::cringe::badcomp:

I'm gonna get off the comp for awhile now.
 
Trying to re-install Git 2.23.0-64-bit
Why? No where in the guide does it say to do that! Like I said, if it isn't in the video it isn't something you are meant to do to get this to work. Am I not being clear? I wrote a script to automate all this stuff so you don't need to worry about that kind of thing.
 
Why? No where in the guide does it say to do that! Like I said, if it isn't in the video it isn't something you are meant to do to get this to work. Am I not being clear? I wrote a script to automate all this stuff so you don't need to worry about that kind of thing.
This is what happens if you try to teach old dog to do new trick.
In this case he got crushed in escalator.

So your automated stuff work flawlessly, but once inexperienced user or windows 7/10 pokes something, that should be left alone you get disaster.

Also this issue can be removed - he posted that, because something went horribly wrong on his side.

I wonder how easy will be for DH to adapt to Github stuff.
Also StrategyOnly most likely will stay in SVN.
 
Last edited:
Also StrategyOnly most likely will stay in SVN.
Yeah unless people are actively developing, they should be on SVN definitely. Once we smooth out rough edges we can update that daily or more frequently. I am trying to automate generating the commit message and forum post for the SVN releases now (that is why release branch is doing stuff). Once it is done it will make the SVN releases clean.

Also this issue can be removed - he posted that, because something went horribly wrong on his side.
Feel free to close it if you sure its not a valid bug, everyone on dev team has the ability to do that.
 
Feel free to close it if you sure its not a valid bug, everyone on dev team has the ability to do that.
Toffer closed this issue - it wasn't valid bug anyway, had no problems with starting game.
Joseph posted it, because he didn't know, that he messed up stuff heavily then.

Tech support must be annoying job :lol:
 
Trying to re-install Git 2.23.0-64-bit.
FYI This will mess up my automated install if you didn't get the settings correct, that is why I automated it. The main thing is that git.exe must be in the path. I think the settings is something like "git works in cmd" or "git available in cmd" or something.
However I would suggest you uninstall git if you installed it, then just do the setup as per the video. DevSetup.bat automatically installs git with the correct settings if it is not installed. It CAN get confused if you already installed git but didn't use the correct settings, this is why I say to uninstall it first.

Tech support must be annoying job
Yeah luckily it isn't my official job, just a part of it or I would quit :D
 
Highway says in mouseover "1/100 of a move per tile". When you build it, it says it gives move cost of -0.36.

I think I have SVN 10969. While I'm waiting for the update, does anyone know if this bug has been fixed?
 
Highway says in mouseover "1/100 of a move per tile". When you build it, it says it gives move cost of -0.36.

I think I have SVN 10969. While I'm waiting for the update, does anyone know if this bug has been fixed?

Upload save.
You are fine to update to latest SVN, but backup save in case you want to go back, as anything saved in 11024 and later can't be opened in earlier SVN.

You can delete this in route infos in misc folder in assets.
Code:
<TechMovementChanges>
                <TechMovementChange>
                    <PrereqTech>TECH_MINIATURIZATION</PrereqTech>
                    <iMovementChange>-6</iMovementChange>
                </TechMovementChange>
                <TechMovementChange>
                    <PrereqTech>TECH_SKYROADS</PrereqTech>
                    <iMovementChange>-4</iMovementChange>
                </TechMovementChange>
            </TechMovementChanges>
Maybe code for that is broken.

EDIT: Highaway works normally with this stuff - started new game in transhuman era, so both those movement cost reducers are here.

So looks like something else break this.
Could be events or python effects.
 
Last edited:
Highway says in mouseover "1/100 of a move per tile". When you build it, it says it gives move cost of -0.36.

I think I have SVN 10969. While I'm waiting for the update, does anyone know if this bug has been fixed?

That is caused by a random event but i can't remember which one it was.
This event reduces the route movement cost and for some reason it is executed multiple times and that causes negative movement costs.
 
That is caused by a random event but i can't remember which one it was.
This event reduces the route movement cost and for some reason it is executed multiple times and that causes negative movement costs.
In the past I've reported crazy low move costs in AI territory (they were on roads not highways iirc). This is the first time I've been able to build them myself. They are in territory I have claimed from the Barbarian State.

I'm in early Nanotech, so have 5 route options I can build, but highways are clearly the best, so...

Size 2 Neradi is on 3rd island south of Russia (which is the red southwest corner of central continent). Highways have been built on the three tiles of its island that I've claimed.
 

Attachments

FYI This will mess up my automated install if you didn't get the settings correct, that is why I automated it. The main thing is that git.exe must be in the path. I think the settings is something like "git works in cmd" or "git available in cmd" or something.
However I would suggest you uninstall git if you installed it, then just do the setup as per the video. DevSetup.bat automatically installs git with the correct settings if it is not installed. It CAN get confused if you already installed git but didn't use the correct settings, this is why I say to uninstall it first.


Yeah luckily it isn't my official job, just a part of it or I would quit :D
Finally found the Video and painstakingly went thru every step. I now have the Dev set up and watched it build the FPK files. Caveman2Cosmos now launches.

But....my save game wanted a re-Calc. So I clicked Okay. After 7+ minutes it still had not finished. So I hit the windows key and there was an Assert Pop-up. This is what it read:
Assert failed
File...\..\CvCity.cpp
line 9565
Version 40.0.0
Git: master-55473be
Git-SHA 55473be
Expression: getBaseGreatPeopleRate() > = 0

It told it to ignore.

Went back to game. 3 minutes later still not thru with Re-Calc, hit win key again.

Another assert: CvPlot.cpp, line 11054, Expression: getVisisbilityCount(e Team) > = 0

But by now I can not hit ignore as windows or the game takes me right back to game. Even when I did ctrl/alt/del to get Task manager I still could not get any window to stay up to use except the game window. So I ctrl alt del again and shut the comp down.

Save game below. It has run on the SVN 11024 and played for 5 turns on the SVN. Probably why it won't play now. :(
 

Attachments

Yeah, DevSetup.bat builds the assert dll by default, if you want to get rid of asserts like those you can go into the tools folder and run MakeDLLRelease.bat.
When that is done you can start the game again and there won't be any asserts.

When you pull with git and there's been changes to the dll source files, git won't rebuild your dll automatically, so you may need to run MakeDLLRelease.bat after doing a pull to get to latest dll version.

Pull is the same as doing an "SVN update".
 
Shall I change DevSetup to build Release? I don't mind either way, however new games don't have these assert problems so I guess asserts are useful there? Its up to non dll modders, because dll modders build whatever they want.
 
Back
Top Bottom