| 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 |
|
|
#41 |
|
Deity
Join Date: Mar 2007
Location: Mountain View, California
Posts: 9,624
|
I changed it to open the options screen, but there's no need to mention it in the documentation. Consider it an easter egg for your mod's users.
__________________
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 ] |
|
|
|
|
|
#42 |
|
Deity
Join Date: Mar 2007
Location: Mountain View, California
Posts: 9,624
|
Could someone please test this fix so I can commit it when I get home tonight? Open autologEventManager.py and go to line 754. Replace that line with the bolded lines below:
Code:
and (pPlot.getOwner() == CyGame().getActivePlayer()
or pUnit.getOwner() == CyGame().getActivePlayer())):
if (iImprovement != -1):
message = "A %s" % (PyInfo.ImprovementInfo(iImprovement).getDescription())
elif (iRoute != -1):
message = "A %s" % (PyInfo.RouteInfo(iRoute).getDescription())
else:
message = "An improvement"
zsLocn = ""
If it works, feel free to commit it and I'll check it tonight.
__________________
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 ] |
|
|
|
|
|
#43 |
|
Legendary Builder
Join Date: Nov 2005
Location: Munich, Germany
Posts: 2,003
|
I've an issue with the logger. I've changed the style to 'Forum tags without ""', and now I get an HTML document as output. This I wouldn't mind, but it's totally unordered so that you have to manually align the content. Not that what I've looked for, it is less work to exchange the "" then...
__________________
Current: Like a Sir!, Rise of the Pasha [K-Mod] Finished: DMI series: DMI II - The Tale of Snaga (Space Race Victory as Vassal of Roosevelt !) , DMI III - Casanova (1832 AD Diplo Win) , DMI IV - the Grand Line (1635 AD Conquest Win on Emperor) , DMI V - Fata Morgana (2024 AD Conquest Win Emperor True AW) , DMI VI - The Mearas (~1900 AD Diplo Win @Monarch), DMI VII - Celebrity Deathmatch , DMI VIII - The War of Wrath , DMI IX - The Vampire Lord and the Tower of Mastery (FfH2) , DMI X - A noble way to Deity , DMI XI - Hyborem's Whisper (FfH2) , DMI XII - Imhotep's Legacy , DMI XIII - The CTON, DMI XIV - The Code of Junil (FfH), DMI XV - Gorgeous Cathy (BULL Mod) (currently on hold) "Choice. The problem is choice." (Neo) |
|
|
|
|
|
#44 | |
|
Live 4ever! Or die trying
|
Quote:
__________________
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 |
|
|
|
|
|
|
#45 |
|
Legendary Builder
Join Date: Nov 2005
Location: Munich, Germany
Posts: 2,003
|
All the layout is gone. The colors work nicely, but all the content is not lined up in rows...
__________________
Current: Like a Sir!, Rise of the Pasha [K-Mod] Finished: DMI series: DMI II - The Tale of Snaga (Space Race Victory as Vassal of Roosevelt !) , DMI III - Casanova (1832 AD Diplo Win) , DMI IV - the Grand Line (1635 AD Conquest Win on Emperor) , DMI V - Fata Morgana (2024 AD Conquest Win Emperor True AW) , DMI VI - The Mearas (~1900 AD Diplo Win @Monarch), DMI VII - Celebrity Deathmatch , DMI VIII - The War of Wrath , DMI IX - The Vampire Lord and the Tower of Mastery (FfH2) , DMI X - A noble way to Deity , DMI XI - Hyborem's Whisper (FfH2) , DMI XII - Imhotep's Legacy , DMI XIII - The CTON, DMI XIV - The Code of Junil (FfH), DMI XV - Gorgeous Cathy (BULL Mod) (currently on hold) "Choice. The problem is choice." (Neo) |
|
|
|
|
|
#46 |
|
Live 4ever! Or die trying
|
I think that this loss of line feeds is a function of the following:
self.log = codecs.open(os.path.join(szPath, BugAutolog.getFileName()), 'a', 'utf-8') The codecs open doesn't seem to want to recognize the '\n' items.
__________________
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 |
|
|
|
|
|
#47 |
|
Deity
Join Date: Mar 2007
Location: Mountain View, California
Posts: 9,624
|
Strange. UTF-8 has no cares about "\n", so I don't see why this would cause a problem. Have you tried simply reverting that part and making sure that solves the problem. The use of that codec is required for any names with non-English characters.
__________________
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 ] |
|
|
|
|
|
#48 | |
|
Live 4ever! Or die trying
|
Quote:
![]() . I will put back the line as it was and see what happens (tomorrow).
__________________
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 |
|
|
|
|
|
|
#49 |
|
Deity
Join Date: Mar 2007
Location: Mountain View, California
Posts: 9,624
|
I just tried all four autologger message formats, and they all worked. Now, it's using "\n" (Unix) instead of "\r\n" (Windows).
This means you'll need to view the log in WordPad instead of Notepad to see the lines correctly. Putting this on the web, the line endings should make no difference. As to why you're seeing HTML instead of forum tags ... that's odd. Can you upgrade to what's in SVN or wait until the next release and try again?
__________________
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 ] |
|
|
|
|
|
#50 | |
|
Chieftain
Join Date: Dec 2005
Location: Thailand
Posts: 55
|
Quote:
Same red balls instead of the french workers
|
|
|
|
|
|
|
#51 |
|
King
Join Date: Dec 2005
Location: Genoa (Italy)
Posts: 710
|
I fear that there are several of them that are corrupted, but regrettably we have not enough time now to test all of them in the builder, so (unless someone do it for us), we can only fix those pointed out at by you guys. Do you agree with this, NikNaks?
|
|
|
|
|
|
#52 |
|
Chieftain
Join Date: Dec 2005
Location: Thailand
Posts: 55
|
|
|
|
|
|
|
#53 | |
|
Live 4ever! Or die trying
|
Quote:
I'm also thinking of pulling this apart (code wise) as it is fairly ugly.
__________________
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 |
|
|
|
|
|
|
#54 |
|
Deity
Join Date: Mar 2007
Location: Mountain View, California
Posts: 9,624
|
No downside to "\r\n" whatsoever. If you can figure out how to tell Python to use Windows EOL settings, great! And yes, take a hacksaw to the code.
__________________
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 ] |
|
|
|
|
|
#55 | |
|
Live 4ever! Or die trying
|
Quote:
It also should look ok in notepad again.
__________________
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 |
|
|
|
|
|
|
#56 |
|
King
Join Date: Oct 2006
Location: Finland
Posts: 870
|
There are theoretical downsides for CRLF instead of just LF, for Mac users. But is BTS available for Mac yet even? In practice, it's just fine and those who absolutely need to strip CR away can easily do that. I think it can actually be done by several editors even, just choosing the format you want to save in.
|
|
|
|
|
|
#57 |
|
Emperor
Join Date: Jun 2007
Location: Hamilton, Ontario
Posts: 1,264
|
|
|
|
|
|
|
#58 |
|
Chieftain
Join Date: Sep 2007
Posts: 26
|
I hesitate to put this in as a bug as i am unsure if it is just my error as no one has yet posted it...... If it is my error well.... sorry. I removed and reinstalled CIV4 and BTS and still i get the same thing.
Inside the custom domestic advisor there is an "I" button down in the left corner beside the drop down menu -- I believe it is used to customize the advisor... I used this MOD before I think, but I am old man and can't remember very well how much I have tooled with the code in the past...... Anyways when i hover my cursor over the "I" the game just crashes, straight dump. been kinda using it as a fast way to get out of the game hehe there is an updated log (theme parse log) dumped in the BTS main folder Spoiler:
|
|
|
|
|
|
#59 | |
|
King
Join Date: Dec 2005
Location: Genoa (Italy)
Posts: 710
|
Quote:
If you are using BUG Mod: - delete CustomAssets and BUG Mod.ini from MyGames/BtS folder - unzip this inside that folder (keeping the path into the zip): http://forums.civfanatics.com/upload...G_Mod_016c.zip If you are using FBUG Mod. unzip the previous file over your existing CustomAssets and BUG Mod.ini , overwriting them. Please tell us if your problem is still there or if it has been solved. Last edited by Cammagno; Sep 17, 2007 at 11:29 PM. |
|
|
|
|
|
|
#60 | |
|
Deity
Join Date: Mar 2007
Location: Mountain View, California
Posts: 9,624
|
Quote:
Just to be sure, you're using the Beyond the Sword expansion, right? Gotta check the easy stuff first. Are you using the U.S. release? Have you updated to 3.02 or 3.03?There's one change I made that might fix this problem if everything above checks out. I changed the type of buttons (including that one). The type your version is using pop up a hover text that says "Selection" or something. Since that's not useful info, I changed it so no message pops up. I'm guessing that the font used to display those hovers is wreaking havoc with your theme. Try as Cammago suggested and let us know please if that fixes the issue.
__________________
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 ] |
|
|
|
|
![]() |
| Bookmarks |
|
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Bug Reporting | Thorgrimm | Fallout: The Rebirth Of Civilization | 69 | Jan 10, 2008 09:58 AM |
| reporting a bug | Asgardus | Civ4 - Fall from Heaven | 4 | May 25, 2007 07:35 AM |
| 1.09, anyone still reporting open boarders bug? | angelickitty | Civ4 - Bug Reports | 4 | Nov 27, 2005 06:02 AM |
| No reporting | mortalmadman | Civ3 - Stories & Tales | 1 | Dec 14, 2004 08:38 AM |
| Reporting a bug | GenghisK | Civ2 - General Discussions | 2 | Apr 02, 2001 10:58 PM |