| General | Hosted Sites | Civ5 | CivRev | Civ4Col | Civ4 | Civ3 | Civ2 | Civ1 | Misc | Marketplace |
![]() |
|
|
Welcome to Civilization Fanatics' Center. You are currently viewing our site as a guest which gives you limited access to our site features. By joining our free community, you will be able to participate in the discussions, search the forum, send private messages, vote in polls, upload your own screenshots to the gallery, and access many other special features. Registration is fast, simple and absolutely free, so sign up today! If you have any problems with the registration process or your account login, please contact support. |
|
|||||||
![]() |
|
|
Thread Tools |
|
|
#1 |
|
Live 4ever! Or die trying
|
BUG Crashes vanilla BtS when displaying event log
I thought I had fixed this error. I haven't. See PH13 (page 2 and 3) for an example. I'm going to try to reproduce this error in a very simple game so that we can find what part of BUG is causing it. I think it has something to do with the color schemes of items that we log.
Pic of the log when I have Civ4-logging running ... ![]() The first set was played with BUG, the second with vanilla BtS.
__________________
My Blog [Getting Old, Getting Cranky], Wife's Series! [The Prism Series - book 2 The Deeper Darkness now on sale!] BUG Mod - BtS Unaltered Gameplay [ Forum | Download | FAQ | Known Issues | Report Bugs | Troubleshooting | BUG Wiki | Modding Tutorial | BUFFY ] "I found this great mod! Have you heard of it? It gives me everything I need!" - Troy Goodfellow's wife talking about the BUG mod Spawn Busting: All the cool guys are doing it | Ruff's Oz Game is now up and seeking your input! Test your knowledge of probability quiz! My latest game report - new 3/26 |
|
|
|
|
|
#2 |
|
Deity
Join Date: Mar 2007
Location: Mountain View, California
Posts: 9,625
|
There's only one picture, so are you saying that just the black log entries (the ones that are very hard to read) were created while using BUG? If so, did they appear black while playing with BUG, or did they change only once you removed BUG?
I can see how the color schemes could cause a problem. Each log entry must specify the colors to be used. If a color from the new set is used, then when BUG is removed the log will not be able to find that color. However, I didn't think any of the colors used in the log messages (e.g. Civ4lerts) were from the new set. They all worked before I added the extra colors.
__________________
Monkeys killing monkeys killing monkeys over pieces of the ground. Silly monkeys, give them thumbs they make a club and beat their brother down. BUG Mod - BTS Unaltered Gameplay [ Forum | Download | FAQ | Known Issues | Troubleshooting | Modding Tutorial ] |
|
|
|
|
|
#3 |
|
Live 4ever! Or die trying
|
The black entries are from the first set of the SG (using BUG). The other 3 entries are from the second set (not using BUG).
__________________
My Blog [Getting Old, Getting Cranky], Wife's Series! [The Prism Series - book 2 The Deeper Darkness now on sale!] BUG Mod - BtS Unaltered Gameplay [ Forum | Download | FAQ | Known Issues | Report Bugs | Troubleshooting | BUG Wiki | Modding Tutorial | BUFFY ] "I found this great mod! Have you heard of it? It gives me everything I need!" - Troy Goodfellow's wife talking about the BUG mod Spawn Busting: All the cool guys are doing it | Ruff's Oz Game is now up and seeking your input! Test your knowledge of probability quiz! My latest game report - new 3/26 |
|
|
|
|
|
#4 |
|
Deity
Join Date: Mar 2007
Location: Mountain View, California
Posts: 9,625
|
Given that, I could see how the extra colors cause the problem, but above you said that this isn't the problem after all, right? Or is the BUG used in the picture the new version without the colors?
__________________
Monkeys killing monkeys killing monkeys over pieces of the ground. Silly monkeys, give them thumbs they make a club and beat their brother down. BUG Mod - BTS Unaltered Gameplay [ Forum | Download | FAQ | Known Issues | Troubleshooting | Modding Tutorial ] |
|
|
|
|
|
#5 |
|
Priest of Hiroshima
Join Date: Jan 2004
Location: Bay Area, California
Posts: 2,515
|
Are you sure you didn't include any codes from SimCutie? I think we just pulled the .xml file with the color codes out completely. If we had it point somewhere that was no longer there, wouldn't it go black like that?
__________________
My misconception is closest to the truth... Beyond the Sword Unaltered Gameplay Project - BUGs, and BATs, and BULLs... oh my! How to Release Your Mod! لآ اِلَهَ اِلّا اللّهُ مُحَمَّدٌ رَسُوُل اللّهِ |
|
|
|
|
|
#6 |
|
Live 4ever! Or die trying
|
maybe ... I will check. I also tried looking for the code that creates the log ...
tracking down what creates the log: 1) search for 'Event Log' in the xml file - found 'CIV4GameTextInfos.xml', key = TXT_KEY_EVENT_LOG 2) search for TXT_KEY_EVENT_LOG in python files - found nothing ... #$%@$ its in the DLL
__________________
My Blog [Getting Old, Getting Cranky], Wife's Series! [The Prism Series - book 2 The Deeper Darkness now on sale!] BUG Mod - BtS Unaltered Gameplay [ Forum | Download | FAQ | Known Issues | Report Bugs | Troubleshooting | BUG Wiki | Modding Tutorial | BUFFY ] "I found this great mod! Have you heard of it? It gives me everything I need!" - Troy Goodfellow's wife talking about the BUG mod Spawn Busting: All the cool guys are doing it | Ruff's Oz Game is now up and seeking your input! Test your knowledge of probability quiz! My latest game report - new 3/26 |
|
|
|
|
|
#7 |
|
Deity
Join Date: Mar 2007
Location: Mountain View, California
Posts: 9,625
|
I looked at all the Civ4lert messages in the XML, and they all use built-in Civ4 colors like COLOR_YIELD_FOOD and COLOR_TECH_TEXT.
I don't remember SimCutie's mod requiring any code. It just defines in XML a bunch of new colors that you can reference from XML text or from code, but I never did that, and I don't know if the game itself will try to use them for player colors or whatnot. Since Ruff removed the XML file, that should be the end of it.
__________________
Monkeys killing monkeys killing monkeys over pieces of the ground. Silly monkeys, give them thumbs they make a club and beat their brother down. BUG Mod - BTS Unaltered Gameplay [ Forum | Download | FAQ | Known Issues | Troubleshooting | Modding Tutorial ] |
|
|
|
|
|
#8 |
|
Live 4ever! Or die trying
|
PH13's first two saves generate an in-game log crash when using the latest version of BUG (as of today). I've just run a couple of tests:
Well, the bug didn't crop up for me. I'm going to repeat the test with BUG v2.2 and v2.3 and see what I get. If anyone wants to join in on the great bug hunt, feel free. If you find a game that crashes, please describe exactly what you did and post various saves from that game (starting save, intermediate save, crashing save, etc).
__________________
My Blog [Getting Old, Getting Cranky], Wife's Series! [The Prism Series - book 2 The Deeper Darkness now on sale!] BUG Mod - BtS Unaltered Gameplay [ Forum | Download | FAQ | Known Issues | Report Bugs | Troubleshooting | BUG Wiki | Modding Tutorial | BUFFY ] "I found this great mod! Have you heard of it? It gives me everything I need!" - Troy Goodfellow's wife talking about the BUG mod Spawn Busting: All the cool guys are doing it | Ruff's Oz Game is now up and seeking your input! Test your knowledge of probability quiz! My latest game report - new 3/26 |
|
|
|
|
|
#9 |
|
Priest of Hiroshima
Join Date: Jan 2004
Location: Bay Area, California
Posts: 2,515
|
did you remember to turn off error logging? It seems that removes the crash.
__________________
My misconception is closest to the truth... Beyond the Sword Unaltered Gameplay Project - BUGs, and BATs, and BULLs... oh my! How to Release Your Mod! لآ اِلَهَ اِلّا اللّهُ مُحَمَّدٌ رَسُوُل اللّهِ |
|
|
|
|
|
#10 |
|
Live 4ever! Or die trying
|
yes - ran it with no python error logging. No crash. Going to check that I had all of BUG turned on (ie alerts).
__________________
My Blog [Getting Old, Getting Cranky], Wife's Series! [The Prism Series - book 2 The Deeper Darkness now on sale!] BUG Mod - BtS Unaltered Gameplay [ Forum | Download | FAQ | Known Issues | Report Bugs | Troubleshooting | BUG Wiki | Modding Tutorial | BUFFY ] "I found this great mod! Have you heard of it? It gives me everything I need!" - Troy Goodfellow's wife talking about the BUG mod Spawn Busting: All the cool guys are doing it | Ruff's Oz Game is now up and seeking your input! Test your knowledge of probability quiz! My latest game report - new 3/26 |
|
|
|
|
|
#11 | |
|
Emperor
Join Date: Oct 2007
Location: Halifax, NS, Canada
Posts: 1,139
|
I noticed this over in the Ethnic Artstyles thread:
Quote:
|
|
|
|
|
|
|
#12 |
|
Live 4ever! Or die trying
|
thx - have posted a question over there.
__________________
My Blog [Getting Old, Getting Cranky], Wife's Series! [The Prism Series - book 2 The Deeper Darkness now on sale!] BUG Mod - BtS Unaltered Gameplay [ Forum | Download | FAQ | Known Issues | Report Bugs | Troubleshooting | BUG Wiki | Modding Tutorial | BUFFY ] "I found this great mod! Have you heard of it? It gives me everything I need!" - Troy Goodfellow's wife talking about the BUG mod Spawn Busting: All the cool guys are doing it | Ruff's Oz Game is now up and seeking your input! Test your knowledge of probability quiz! My latest game report - new 3/26 |
|
|
|
|
|
#13 | |||
|
Live 4ever! Or die trying
|
This is getting interesting ...
Quote:
Quote:
Quote:
Melior - what version of BUG did you use? Do you know? Was it d/l from an install exe or zip or did you pull it from the SVN? If we can get your version, then I can look at what the differences are between it and v2.3 and see how we 'fixed' it. I'm grabbing a copy of 'Ungy-02 AD-0375.CivBeyondSwordSave' for bug testing purposes.
__________________
My Blog [Getting Old, Getting Cranky], Wife's Series! [The Prism Series - book 2 The Deeper Darkness now on sale!] BUG Mod - BtS Unaltered Gameplay [ Forum | Download | FAQ | Known Issues | Report Bugs | Troubleshooting | BUG Wiki | Modding Tutorial | BUFFY ] "I found this great mod! Have you heard of it? It gives me everything I need!" - Troy Goodfellow's wife talking about the BUG mod Spawn Busting: All the cool guys are doing it | Ruff's Oz Game is now up and seeking your input! Test your knowledge of probability quiz! My latest game report - new 3/26 |
|||
|
|
|
|
|
#14 |
|
Live 4ever! Or die trying
|
I've looked at the above save and found the following:
So I look at what is different between revision 613 and 614 and find that the only different file is 'CvTechChooser.py'. The difference in this file ... Revision 613 Line 125: xPanelWidth = screen.getXResolution() Revision 614 Line 125: xPanelWidth = screen.getXResolution() - 60 So, that stupidly small change means that 613 doesn't crash when you open the in-game log while 614 does. Suggestions anyone?
__________________
My Blog [Getting Old, Getting Cranky], Wife's Series! [The Prism Series - book 2 The Deeper Darkness now on sale!] BUG Mod - BtS Unaltered Gameplay [ Forum | Download | FAQ | Known Issues | Report Bugs | Troubleshooting | BUG Wiki | Modding Tutorial | BUFFY ] "I found this great mod! Have you heard of it? It gives me everything I need!" - Troy Goodfellow's wife talking about the BUG mod Spawn Busting: All the cool guys are doing it | Ruff's Oz Game is now up and seeking your input! Test your knowledge of probability quiz! My latest game report - new 3/26 |
|
|
|
|
|
#15 | |
|
Deity
Join Date: Mar 2007
Location: Mountain View, California
Posts: 9,625
|
Quote:
Oops, missed your other post. I thought BUG has been crashing like this for a long while, long before 613. But you're saying that somewhere along the way it got fixed, and 614 now broke it again?? And I serious doubt that change could be related. They are totally different screens, and plenty of screens choose full and partial resolution. Color me perplexed.
__________________
Monkeys killing monkeys killing monkeys over pieces of the ground. Silly monkeys, give them thumbs they make a club and beat their brother down. BUG Mod - BTS Unaltered Gameplay [ Forum | Download | FAQ | Known Issues | Troubleshooting | Modding Tutorial ] Last edited by EmperorFool; May 12, 2008 at 07:42 PM. |
|
|
|
|
|
|
#16 |
|
Live 4ever! Or die trying
|
I don't know the version that created this file - I'm thinking that it is a pre-613 file (user claims v2.3 but what do users know). So, bug created with pre-613 version and post 614 version keels over - al la vanilla BtS. Which sort of implies that it is fixed?
Someone is getting me a debug version of the DLL that shows errors. Will retry when I get that.
__________________
My Blog [Getting Old, Getting Cranky], Wife's Series! [The Prism Series - book 2 The Deeper Darkness now on sale!] BUG Mod - BtS Unaltered Gameplay [ Forum | Download | FAQ | Known Issues | Report Bugs | Troubleshooting | BUG Wiki | Modding Tutorial | BUFFY ] "I found this great mod! Have you heard of it? It gives me everything I need!" - Troy Goodfellow's wife talking about the BUG mod Spawn Busting: All the cool guys are doing it | Ruff's Oz Game is now up and seeking your input! Test your knowledge of probability quiz! My latest game report - new 3/26 |
|
|
|
|
|
#17 |
|
Emperor
Join Date: Oct 2007
Location: Halifax, NS, Canada
Posts: 1,139
|
When you are attempting to bring up the log, is there one?
Or is it a save-game w/ no log data, and BUG is trying to load a file that doesn't exist. Or is there a version of BUG where the LOG data has changed format? The save is in previous format, and BUG trying to load that. I get CTD when trying to load my old savegame when attempting to pull up the log under 2.30, works fine when I copy over BUG 2.20 - that the game was originally saved with. (I Did add in the updated files from the svn into 2.30, didn't try a "clean" 2.30) |
|
|
|
|
|
#18 | |
|
Live 4ever! Or die trying
|
Quote:
![]() snippet from that cpp file ... Code:
CvColorInfo& CvGlobals::getColorInfo(ColorTypes e)
{
FAssert(e > -1);
FAssert(e < GC.getNumColorInfos());
return *(m_paColorInfo[e]);
}
1) CIV4Hints.xml - we put in some additional hints and this file only contains 'pointers' to our hints 2) CIV4ArtDefines_Interface.xml - contains path directions for our BUG art work (PLE, Unit Action, Chevrons, Servopedia) We also share the GameFont_75.tga font file with the core game - is that a problem? Everything else is python. Any suggestions?
__________________
My Blog [Getting Old, Getting Cranky], Wife's Series! [The Prism Series - book 2 The Deeper Darkness now on sale!] BUG Mod - BtS Unaltered Gameplay [ Forum | Download | FAQ | Known Issues | Report Bugs | Troubleshooting | BUG Wiki | Modding Tutorial | BUFFY ] "I found this great mod! Have you heard of it? It gives me everything I need!" - Troy Goodfellow's wife talking about the BUG mod Spawn Busting: All the cool guys are doing it | Ruff's Oz Game is now up and seeking your input! Test your knowledge of probability quiz! My latest game report - new 3/26 Last edited by ruff_hi; May 17, 2008 at 08:48 AM. |
|
|
|
|
|
|
#19 |
|
Priest of Hiroshima
Join Date: Jan 2004
Location: Bay Area, California
Posts: 2,515
|
The GameFont_75.tga file that we are using is the same one that's been around for a while, without problems in other mods. It has to either be the Hints file, or the Interface file. I'd drop the Hints file and rerun it first. Is the easiest and will have little chance of breaking other functions of it's removed. We may want to go through both files and delete all color tags, or change them to basic values, to make sure we removed traces of SimCutie's colors.
__________________
My misconception is closest to the truth... Beyond the Sword Unaltered Gameplay Project - BUGs, and BATs, and BULLs... oh my! How to Release Your Mod! لآ اِلَهَ اِلّا اللّهُ مُحَمَّدٌ رَسُوُل اللّهِ |
|
|
|
|
|
#20 |
|
Live 4ever! Or die trying
|
I really don't think it is either. Somewhere the system has the number of total colours and BUG has managed to increase or decrease that number.
__________________
My Blog [Getting Old, Getting Cranky], Wife's Series! [The Prism Series - book 2 The Deeper Darkness now on sale!] BUG Mod - BtS Unaltered Gameplay [ Forum | Download | FAQ | Known Issues | Report Bugs | Troubleshooting | BUG Wiki | Modding Tutorial | BUFFY ] "I found this great mod! Have you heard of it? It gives me everything I need!" - Troy Goodfellow's wife talking about the BUG mod Spawn Busting: All the cool guys are doing it | Ruff's Oz Game is now up and seeking your input! Test your knowledge of probability quiz! My latest game report - new 3/26 |
|
|
|
![]() |
| Bookmarks |
|
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Event Log | guenzak | Civ4 - General Discussions | 4 | Aug 11, 2010 03:55 AM |
| Event Log? | UFDelt | Civ4 - Macintosh | 2 | Oct 13, 2008 02:27 PM |
| Will(does) BTS fix the crashes and when can we get a fix for vanilla? | tariqari | Civ4 - Technical Support | 5 | Jul 25, 2007 09:48 PM |
| [Request] Event log | skallben | Civ4 - Creation & Customization | 0 | Sep 25, 2006 10:39 AM |
| Event Log - how to bring it up again? | GraeFocs | Civ4 - General Discussions | 1 | Nov 03, 2005 12:13 AM |