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

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:
No. Just a new game started on Long. Not involved in making modmod at all. Have not started to do it.

There is a problem with these Early Wonders and their costs.
 

Attachments

  • Civ4ScreenShot0012.JPG
    Civ4ScreenShot0012.JPG
    301.3 KB · Views: 35
View attachment 511460
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...
It's a long time since I've had any windows 10 issues, but I do remember weir permission problems right after windows installation like notepad++ not being able to save any files anywhere even though I was on an admin user.
I don't remember exactly what I did that fixed those issues, but I'll try to get something up from that cellar.

Win 10 can be fidgety about administrator rights, even with an administrator account programs may launch without having admin rights, I'm sure VS opens files with the write permissions flag set, and then gets a denial from win 10.
So a user may have admin rights while a program opened by a user may not have it.

Find the VS.exe and open it's properties and tick the "run this program as an administrator" checkbox.

If that doesn't work:
Right click your hard drive → properties → security tab.
Check if Authenticated User have modify rights. like seen in this picture:Untitled-1.jpg
Check the security settings for all your hardrives, have a look at deeper folders here and there and see if they have those settings inherited correctly from the root drive.
 
It's a long time since I've had any windows 10 issues, but I do remember weir permission problems right after windows installation like notepad++ not being able to save any files anywhere even though I was on an admin user.
I don't remember exactly what I did that fixed those issues, but I'll try to get something up from that cellar.

Win 10 can be fidgety about administrator rights, even with an administrator account programs may launch without having admin rights, I'm sure VS opens files with the write permissions flag set, and then gets a denial from win 10.
So a user may have admin rights while a program opened by a user may not have it.

Find the VS.exe and open it's properties and tick the "run this program as an administrator" checkbox.

If that doesn't work:
Right click your hard drive → properties → security tab.
Check if Authenticated User have modify rights. like seen in this picture:View attachment 511467
Check the security settings for all your hardrives, have a look at deeper folders here and there and see if they have those settings inherited correctly from the root drive.
Ok that gives me some stuff to work on to see if it would work, not just VS but also the sources of the files that the intellisense doesn't seem to be finding properly.
 
It's a long time since I've had any windows 10 issues, but I do remember weir permission problems right after windows installation like notepad++ not being able to save any files anywhere even though I was on an admin user.
I don't remember exactly what I did that fixed those issues, but I'll try to get something up from that cellar.

Win 10 can be fidgety about administrator rights, even with an administrator account programs may launch without having admin rights, I'm sure VS opens files with the write permissions flag set, and then gets a denial from win 10.
So a user may have admin rights while a program opened by a user may not have it.

Find the VS.exe and open it's properties and tick the "run this program as an administrator" checkbox.

If that doesn't work:
Right click your hard drive → properties → security tab.
Check if Authenticated User have modify rights. like seen in this picture:View attachment 511467
Check the security settings for all your hardrives, have a look at deeper folders here and there and see if they have those settings inherited correctly from the root drive.
Yeah, I can't do this for my whole drive as it comes up with numerous failed to enumerate the files in a folder errors but I was able to get all of VS and every related folder with full permissions on all but 'owner/creator' which won't accept any permissions for whatever reason. Anyhow, it's not clearing things up any sadly. Looks like I'm just out of luck with intellisense. I'm sick of trying to fix it at this point.
 
Minis don't work the way they used to either and are completely baffling now - I can't get them to work either and again I suspect something to do with permissions. Either that or it's because I've compiled since then even if I haven't changed the code itself. It is NOT as intuitive as it was.
 
The first step in the first one could be taken and it helped. I reduced down to only 164 intellisense errors (no build errors) and I can actually use the intellisense features I had lost access to now so hooray for the small victories!

Thank you deeply Toffer! You and @KaTiON_PT (been helping me to troubleshoot this all day on Discord) have so much more patience with this than I do and your tenacity has been a lifesaver!
 
Last edited:
Interesting enough I also had a CTD during map creation.
Having trouble with minis. Is this every time you try to generate a map or only sometimes? Not to dismiss the issue... since I'm having trouble with minis I'll need to know what type of map you are trying to generate.
 
@Thunderbrd why those crashes sometimes happen during map generation?
I was using C2C_World map script.
I'll try to generate a world map script later and see if I can't get a crash.
 
keep getting this error now??

Traceback (most recent call last):
File "BugEventManager", line 363, in _handleDefaultEvent
File "AgingAnimals", line 19, in onBeginPlayerTurn
ZeroDivisionError: integer division or modulo by zero
 

Attachments

  • error.JPG
    error.JPG
    157.7 KB · Views: 61
No. Just a new game started on Long. Not involved in making modmod at all. Have not started to do it.

There is a problem with these Early Wonders and their costs.
Well I never got those errors, @Toffer90 or @Thunderbrd do these happen to you too?
I was getting correct costs of early wonders on Long.
Group Wonders are 4x more expensive than regular building in same tech column.
Building costs increase VERY rapidly on beginning of tech tree.

Spoiler :

Civ4BeyondSword 2018-12-09 09-54-20-38.jpg
Civ4BeyondSword 2018-12-09 09-55-13-53.jpg

Civ4BeyondSword 2018-12-09 09-55-20-30.jpg
Civ4BeyondSword 2018-12-09 09-54-49-56.jpg
Civ4BeyondSword 2018-12-09 09-54-48-39.jpg



Delete cache and do cleanup - no idea what is happening on your side.
Maybe you weren't used to large numbers on beginning, since you are playing on Blitz.

I'll try to generate a world map script later and see if I can't get a crash.
You would to have generate new map 10 - 20 times before getting crash - its very random.
Might be related to random leader choice too, as one of leader may be misdefined or something like that.
 
Last edited:
Delete cache and do cleanup - no idea what is happening on your side.
Can't find the cache to delete it. Win 10 has hidden it on me again.

And my SVN does not need a Clean up.
 
Can't find the cache to delete it. Win 10 has hidden it on me again.

And my SVN does not need a Clean up.
I guess shortcut to cache is needed to be added both for Windows 7 and Windows 10 in mod folder.

I'm not sure if patch to cache is same as in Windows 10: "C:\Users\%username%\AppData\Local\My Games\Beyond the Sword" @Toffer90
Also there are two useless files in main folder: Logs.lnk and Saved.lnk.
 
I guess shortcut to cache is needed to be added both for Windows 7 and Windows 10 in mod folder.

I'm not sure if patch to cache is same as in Windows 10: "C:\Users\%username%\AppData\Local\My Games\Beyond the Sword" @Toffer90
Also there are two useless files in main folder: Logs.lnk and Saved.lnk.
Yeah Win 10 on last update Hid the AppData Folder on me, again! So Very Irritating! :badcomp::gripe:

Hide to dig down and find the check boxes for Hidden Files to be shown. win 10's hyperactive security crap is so very annoying when no one uses your computer but you! Arggghhh!!!
 
Yeah Win 10 on last update Hid the AppData Folder on me, again! So Very Irritating! :badcomp::gripe:

Hide to dig down and find the check boxes for Hidden Files to be shown. win 10's hyperactive security crap is so very annoying when no one uses your computer but you! Arggghhh!!!
Can't agree more. But at least I did find something I LIKE about Win10 the other day. The fact you don't have to click on an object in a window to be able to scroll the list in that window... just hover over it and it knows where your mouse is - THAT is AWESOME! Been wanting that behavior forever.

I think some of this security stuff is to make things more comforting to certain well paying developers who would like to try to hide from you the way they want to get up underneath you and capture your data and place tags on you and so on.
 
The cache you guys are talking about has nothing to do with Caveman2Cosmos. Removing it has no effect or whatever.

The caching of the xml data has been disabled in C2C a long time ago because it caused manny issues. At some point I even removed the code which used to write and read that cached data from the harddisk.
 
@ T-brd,
Your last line says it all. :borg::agree:
 
Back
Top Bottom