Advertisement
Civilization Fanatics' Center  

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.

Go Back   Civilization Fanatics' Forums > CIVILIZATION IV > Civ4 - Creation & Customization > Civ4 - Project & Mod Development > Civ4 - BTS Unaltered Gameplay (BUG, BAT and BULL)

Notices

Reply
 
Thread Tools
Old Sep 13, 2007, 10:41 AM   #41
EmperorFool
Deity
 
EmperorFool's Avatar
 
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 ]

BAT 3.0.1 QuickFix™ released Oct 24th
EmperorFool is offline   Reply With Quote
Old Sep 13, 2007, 11:03 AM   #42
EmperorFool
Deity
 
EmperorFool's Avatar
 
Join Date: Mar 2007
Location: Mountain View, California
Posts: 9,624
Quote:
Originally Posted by Elandal View Post
When pillaging road I get . . .
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 = ""
I just need to verify that my guess of "PyInfo.RouteInfo(iRoute)" is correct.
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 ]

BAT 3.0.1 QuickFix™ released Oct 24th
EmperorFool is offline   Reply With Quote
Old Sep 13, 2007, 01:14 PM   #43
·Imhotep·
Legendary Builder
 
·Imhotep·'s Avatar
 
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)
·Imhotep· is offline   Reply With Quote
Old Sep 13, 2007, 02:23 PM   #44
ruff_hi
Live 4ever! Or die trying
 
ruff_hi's Avatar
 
Join Date: Oct 2005
Location: an Aussie in NY
Posts: 7,893
Images: 2
Quote:
Originally Posted by ·Imhotep· View Post
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...
I thought I had caught that. I think only the file extension is html or is all the layout off too? I will have a look and correct.
__________________
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
ruff_hi is offline   Reply With Quote
Old Sep 13, 2007, 02:25 PM   #45
·Imhotep·
Legendary Builder
 
·Imhotep·'s Avatar
 
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)
·Imhotep· is offline   Reply With Quote
Old Sep 13, 2007, 08:20 PM   #46
ruff_hi
Live 4ever! Or die trying
 
ruff_hi's Avatar
 
Join Date: Oct 2005
Location: an Aussie in NY
Posts: 7,893
Images: 2
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
ruff_hi is offline   Reply With Quote
Old Sep 13, 2007, 08:35 PM   #47
EmperorFool
Deity
 
EmperorFool's Avatar
 
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 ]

BAT 3.0.1 QuickFix™ released Oct 24th
EmperorFool is offline   Reply With Quote
Old Sep 13, 2007, 08:55 PM   #48
ruff_hi
Live 4ever! Or die trying
 
ruff_hi's Avatar
 
Join Date: Oct 2005
Location: an Aussie in NY
Posts: 7,893
Images: 2
Quote:
Originally Posted by EmperorFool View Post
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.
Have I tried ... of course not. I just looked at the code and that is really the only difference so it just makes sense . 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
ruff_hi is offline   Reply With Quote
Old Sep 14, 2007, 12:35 AM   #49
EmperorFool
Deity
 
EmperorFool's Avatar
 
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 ]

BAT 3.0.1 QuickFix™ released Oct 24th
EmperorFool is offline   Reply With Quote
Old Sep 14, 2007, 01:15 AM   #50
Morphem01
Chieftain
 
Morphem01's Avatar
 
Join Date: Dec 2005
Location: Thailand
Posts: 55
Quote:
Originally Posted by Cammagno View Post
Korean Axeman has already been reported and so it has already been fixed (in an internal version), thanks for reporting English Worker, I'm sure that NikNaks will fix it in no time. If you'll find some more red balls, please report them here

Same red balls instead of the french workers
Morphem01 is offline   Reply With Quote
Old Sep 14, 2007, 01:35 AM   #51
Cammagno
King
 
Cammagno's Avatar
 
Join Date: Dec 2005
Location: Genoa (Italy)
Posts: 710
Quote:
Originally Posted by Morphem01 View Post
Same red balls instead of the french workers
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?
Cammagno is offline   Reply With Quote
Old Sep 14, 2007, 02:28 AM   #52
Morphem01
Chieftain
 
Morphem01's Avatar
 
Join Date: Dec 2005
Location: Thailand
Posts: 55
Quote:
Originally Posted by Morphem01 View Post
Same red balls instead of the french workers
Loading the mod 'Varietas Delectat v1.5' on top of BUG seems to fix these problems.

Hopefully it doesn't have any bad side effects
Morphem01 is offline   Reply With Quote
Old Sep 14, 2007, 10:04 AM   #53
ruff_hi
Live 4ever! Or die trying
 
ruff_hi's Avatar
 
Join Date: Oct 2005
Location: an Aussie in NY
Posts: 7,893
Images: 2
Quote:
Originally Posted by EmperorFool View Post
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.
I just opened a log file with wordpad and got the usual 1 record per line (instead of the stream of text when opening with not pad). However, if I change "\n" to "\r\n" I get the 1 line in both wordpad and notebook. Is there a downside to using the "\r\n" code?

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
ruff_hi is offline   Reply With Quote
Old Sep 14, 2007, 11:10 AM   #54
EmperorFool
Deity
 
EmperorFool's Avatar
 
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 ]

BAT 3.0.1 QuickFix™ released Oct 24th
EmperorFool is offline   Reply With Quote
Old Sep 14, 2007, 03:53 PM   #55
ruff_hi
Live 4ever! Or die trying
 
ruff_hi's Avatar
 
Join Date: Oct 2005
Location: an Aussie in NY
Posts: 7,893
Images: 2
Quote:
Originally Posted by ·Imhotep· View Post
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...
All fixed (I hope). I actually did some testing before committing the code changes this time so I think it it right. There are so many options with formatting, color on or off, with or without "s, etc but I think I got all of them. Feel free to let me know if I made a mistake (again).

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
ruff_hi is offline   Reply With Quote
Old Sep 14, 2007, 10:08 PM   #56
Elandal
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.
Elandal is offline   Reply With Quote
Old Sep 15, 2007, 05:25 PM   #57
Minor Annoyance
Emperor
 
Minor Annoyance's Avatar
 
Join Date: Jun 2007
Location: Hamilton, Ontario
Posts: 1,264
Quote:
Originally Posted by Roland Johansen View Post
A stack of Babylonian knights + settler appeared as three red blobs. I guess it is the knights as it were 3 red blobs not 4 (which would indicate the settler).
Definitely the knights. I've seen it too.
Minor Annoyance is offline   Reply With Quote
Old Sep 16, 2007, 09:52 PM   #58
Anthrax
Chieftain
 
Anthrax's Avatar
 
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:
[Sep 16, 2007 - 23:16:21] Messages while processing 'Resource/Civ4.thm'

Error : Decl - ('Civ4Theme_Common.thm', Ln:401, Col:13) Assignment source propertyId 'SF_CtrlTheme_Civ4_Control_Font_Size3_Italic' not found
Error : Decl - ('Civ4Theme_Common.thm', Ln:402, Col:13) Assignment source propertyId 'SF_CtrlTheme_Civ4_Control_Font_Size3_BoldItalic' not found
Error : Decl - ('Civ4Theme_Common.thm', Ln:408, Col:13) Assignment source propertyId 'SF_CtrlTheme_Civ4_Control_Font_Size1_Bold' not found
Error : Decl - ('Civ4Theme_Window.thm', Ln:3048, Col:9) Assignment source propertyId 'SF_CtrlTheme_Civ4_Control_Font_Size1_Bold' not found
Error : Syntax - ('Civ4Theme_HUD.thm', Ln:887, Col:13) Unexpected '.' in the identifier assignment statement
Error : Syntax - ('Civ4Theme_HUD.thm', Ln:927, Col:13) Unexpected '.' in the identifier assignment statement
Anthrax is offline   Reply With Quote
Old Sep 16, 2007, 11:58 PM   #59
Cammagno
King
 
Cammagno's Avatar
 
Join Date: Dec 2005
Location: Genoa (Italy)
Posts: 710
Quote:
Originally Posted by Anthrax View Post
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
We worked a lot on CDA since 0.16 release, so before going on, it's better you update your BUG to the last internal release.

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.
Cammagno is offline   Reply With Quote
Old Sep 17, 2007, 12:27 AM   #60
EmperorFool
Deity
 
EmperorFool's Avatar
 
Join Date: Mar 2007
Location: Mountain View, California
Posts: 9,624
Quote:
Originally Posted by Anthrax View Post
Error : Syntax - ('Civ4Theme_HUD.thm', Ln:927, Col:13) Unexpected '.' in the identifier assignment statement
Is this theme a part of the basic Civ4 install? I know some people set up themes for each of the mods they use so they can visually tell which they're using easily (Ruff recommended this). Have you done the same?

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 ]

BAT 3.0.1 QuickFix™ released Oct 24th
EmperorFool is offline   Reply With Quote
Reply

Bookmarks

Go Back Civilization Fanatics' Forums > CIVILIZATION IV > Civ4 - Creation & Customization > Civ4 - Project & Mod Development > Civ4 - BTS Unaltered Gameplay (BUG, BAT and BULL) > Bug Reporting

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


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


Advertisement

All times are GMT -6. The time now is 01:35 AM.


Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
This site is copyright © Civilization Fanatics' Center.
Support CFC: Amazon.com | Amazon UK | Amazon DE | Amazon CA | Amazon FR