RFC Europe: Small bugs/fixes

the ones in this folder: RFCEurope/Assets/Art/Leaderheads/Venice/Dandolo

OK. I've just done that and replayed the 1080 save and it works.:goodjob:

The interesting thing is I did play on from 1080 to 1270 without meeting him and there was no crash, even when I finally met him just before 1270. Why wouldn't it crash then? Kinda strange isn't it?
 
Further news. I played that Arabia game until I started getting more crashes in 1392 and got stuck on repeated crashes in 1404. So the problem isn't completely solved by the Dandolo fix. Here are the saved games. (removed for reposting).
 
Since that post, I've tried to play 3 more games and all three have repeatedly crashed between 1350 and 1500. I don't know what's wrong but it seems like there's liitle point in testing this version any more. Even Alpha7 and 8 were more stable IMO.
 
In this save, when I move my Druzhina in Gyulafehervar, the game crashes.
I tried it a lot of times and even loaded from an earlier save. I'm not sure what causes it.
I tried not to move there, but in the beginning of NEXT turn, the game still crashes.
But moving in that city makes a definite crash.

Spoiler :
a4mw68.jpg
 

Attachments

@guys experiencing crashes: Please post the error.log files, found in the Logs folder of the BTS folder. ;)
 
Experiencing many many crashes at all sort of random spots.

The only crash I could find the problem of, was the Austrian spawning. But that only happened in one game and I don't have the save.

Other noticeable crashes happen when I try loading a French or Arabian saved game, and this Moscow game kept crashing at all sort of different dates. Last one was 1508, not sure why, the only thing I can think of is finishing Summer Palace in Kiev... or maybe Swedish doing.. something...

That python error file is the only error log file in the logs folder
 

Attachments

In your games folder (normally \My Documents\My Games\Beyond the Sword) is a file CivilizationIV.ini (you may not see the .ini extension). In this file go to near the bottom and change

Code:
LoggingEnabled = 0
to
Code:
LoggingEnabled = 1

your log files will be in this same directory under Logs/

That said, what most of you are experiencing IS just a problem with the Venice leaderhead and/or button.

I tried a bunch of your saved games. Jessiecat, I downloaded your Arab game in 1404 AD, and Vencie contacts you first thing next turn. Deon, moving your guy into Gyulafehervar puts you in contact with Venice (not moving him presumably means that the Venetian guy reaches your border the next turn). The Venice leaderhead crash seems to be inconsistent and somewhat machine dependent. I am trying to figure out what went wrong and intend to post a new version with the fixed leaderhead included. Please hold on.

@AoGenius -- do you know what version of the mod these games were created with? I'm not able to open them, so presumably it's an older version.
 
That's odd as I'm pretty sure it's the latest (alpha 9b).

I've had the same problems with Venice before so I'm sure it's the newest. Might have uploaded the wrong save for Louis though.

Also I've enabled logging but I still can't find error.log...

EDIT: I tried re-installing the new version, and the arabian and french games load fine and don't crash. But the Moscow one does, every time, at 1508. I don't have contact with Venice at the time, but I do on the other games.
 
That's odd as I'm pretty sure it's the latest (alpha 9b).

I've had the same problems with Venice before so I'm sure it's the newest. Might have uploaded the wrong save for Louis though.

Also I've enabled logging but I still can't find error.log...

Ah -- I did only try the Louis one. There isn't an error.log, micbic was imprecise. In general, just zip up the whole Logs/ folder and post it. PythonErr is normally the most important file (PythonErr2 is actually not useful). For now, I don't think I need anything more to figure out this particular problem.
 
Just an assumation: The fact that the two pythonerr (to be precise) files I have viewed since now tell nothing about an error, means that the error is most likely XML or DLL related?
 
The weirdest thing is I don't have these problems at all. I loaded a Dutch game, nothing happened. I finished a Arabian game last days, nothing strange happened. (Exept I was world leader, completed tech-tree in 1600.) And yesterday I started a Norse game (I try to get colonies, just for fun instead of trying to get the UHV's) and I'm about 1000AD and nothing happened. I only updated my old version upto the latest revion, so maybe the sourceforge version is without all problems.
 
Yeah, it's strange, I can't reproduce any of these crashes on my machine -- even running the zipped versions of the mod downloaded from the same place as everyone else. The worst bugs are ones you can't reproduce on your own machine to test out. Still, I think that there are two problems:

1) Some graphics files were corrupt in the zip archive. I can verify this -- one of various extraction utilities I have actually reports errors when unpacking on some of the graphics files in Alpha9. I future I can use this program to check against this sort of corruption (but I think it should be rare). This included the Venice files, but also a couple other ones.

2) I think there may be a machine-specific issue with the Venice leaderhead. The button is stored in \Art\Interface\Leaderheads and is clearly a different kind of dds, perhaps one that causes problems on some machines?

The third possibility is that the DLL I compiled is unstable on some machines (not mine, obviously). I think this happened once with 3Miro -- for some reason the DLL he made was leading to crashes.

This kind of crash pretty much has to be due to either art or the DLL.
 
By machine issue, do you mean some of us are running Windows XP or Vista while others (like yourself) are using Mac or Linux? So maybe different OS's are the problem??:dunno:
 
Yeah, it's strange, I can't reproduce any of these crashes on my machine -- even running the zipped versions of the mod downloaded from the same place as everyone else. The worst bugs are ones you can't reproduce on your own machine to test out. Still, I think that there are two problems:

1) Some graphics files were corrupt in the zip archive. I can verify this -- one of various extraction utilities I have actually reports errors when unpacking on some of the graphics files in Alpha9. I future I can use this program to check against this sort of corruption (but I think it should be rare). This included the Venice files, but also a couple other ones.

2) I think there may be a machine-specific issue with the Venice leaderhead. The button is stored in \Art\Interface\Leaderheads and is clearly a different kind of dds, perhaps one that causes problems on some machines?

The third possibility is that the DLL I compiled is unstable on some machines (not mine, obviously). I think this happened once with 3Miro -- for some reason the DLL he made was leading to crashes.

This kind of crash pretty much has to be due to either art or the DLL.

I'd point to 1) rather than 2) - my fresh Alpha9 was crashing as well with Dandolo and replacing him fixed the problems (I could play jessiecat's saves as well without crashing). The button format I used (the one that you replaced) was different (less compression) but this format is used with other files/leaderheads and it's not a problem, not to mention that, as you said, that DDS wasn't used by the game at all since XML links to the old one in art/interface/buttons anyway... Finally, the same LH was in Alpha8 and wasn't causing a crash.

I was toying with SDK modding and what often caused random crashes was not doing a full rebuild. But again, those crashes all seem to be related to corrupted file(s) so far.
 
It's weird, I've got no logs after crash...
Even while my INI has loggingenabled.

Anyway, here's the save, I have a "working" Dandolo so that's not the cause. I can't get the next turn. Whenever I hit "end of turn", it's a CtD.
 

Attachments

Deon's save crashes here as well. After some investigation I (almost) found the problem - it's one of the new ethnic units' icons :mischief:, not sure which one exactly, yet. Could be missing, misspelled or corrupted.

That save crashes with CTRL-Z reveal (which shows icons), but not WB (which doesn't show them). Upon disabling ethnic units, the game no longer crashes (this can be done in 1 file: Civilizations/CIV4UnitArtStyleTypeInfos.xml - also useful for a "light" version a'la leaderheads_light )
 
Back
Top Bottom