Questions about The BUG Mod

I believe you can see cities without having trade routes as soon as one party have writing, and thus something to put on the table. Am I wrong ?
 
I started a new game, plopped down a scout for me and two settlers for Hannibal next to Hannibal's starting position. I drew China (Agriculture and Mining), settled in place, and started a Worker. I couldn't resist popping a hut (one by settling), but got :gold: for both and shouldn't matter.

On turn 5 Hannibal settled his second city, but since I met him on turn 0 I saw both messages. From the moment I met him I could enter the trade window with him by ctrl-clicking his name in the scoreboard, and on turn 5 I could see his second city listed.

So I'm going to verify that I block the messages for a civ when a) they are at war with you or b) when they are a vassal.
 
My Games\Beyond the Sword\Logs -- no "Mods" in between. Each mod overwrites the others' logs when Civ starts up. Just make sure to grab and PM/post them immediately after you attempt it again.


Ok so, we just made a game and here are the contents of the Log folder:

init.log contains:
[1596.171] DBG: CIV Init
[1596.171] VERSION: App: c:\program files\steam\steamapps\common\sid meier's civilization iv beyond the sword\beyond the sword\Civ4BeyondSword.exe
[1596.171] VERSION: Build: Mon May 19 09:20:10 2008
[1596.171] VERSION: 3.1.3.1 (104717)
[1600.531] VERSION: Mod Loaded: C:\Documents and Settings\Jeff\My Documents\My Games\beyond the sword\Mods\BUG Mod 3.5.1\
[1600.546] DBG: FILE Cat Init

resmgr.log contains nothing

xml.log contains:
[1601.500] Loading XML file xml\GameInfo/CIV4PlayerOptionInfos.xml
[1601.546] Load XML file xml\GameInfo/CIV4PlayerOptionInfos.xml SUCCEEDED
[1601.546] SetGlobalClassInfo (Civ4PlayerOptionInfos/PlayerOptionInfos/PlayerOptionInfo)
[1601.593] Loading XML file xml\GameInfo/CIV4GraphicOptionInfos.xml
[1601.609] Load XML file xml\GameInfo/CIV4GraphicOptionInfos.xml SUCCEEDED
[1601.609] SetGlobalClassInfo (Civ4GraphicOptionInfos/GraphicOptionInfos/GraphicOptionInfo)

oh and I should point out, I forgot to close civ4 and it's still connecting to my friends server, who I told to give up about 5 minutes ago heh.

I'm not sure what's causing this problem.
 
Those are the only two logs? There should be

PythonDbg.log
PythonErr.log (if there was an error)
PythonErr2.log

Not a lot to go on. I'll have to try and set up a multiplayer game with one of the BUG guys. Have you tried doing the hosting and having your friend connect?
 
Yeah we tried, I have an unresolved firewall issue that I never bothered to fix when it comes to hosting. My friend has the better computer so I let him do it.

And yes, only 2 log files in C:\Documents and Settings\<user name>\My Documents\My Games\beyond the sword\Logs

But yeah I'd like to hear what happens when you guys attempt it. Would give us an idea if it's something in BUG or if there is a misconfiguration on my end.
 
Given the lack of logs, I'd say it's not BUG since it doesn't seem like the game gets started at all. But then you can play the normal game fine, so clearly it has something to do with either BUG or mods in general. Have you tried one of the other built-in mods?
 
I just set up a multiplayer game on my machine using BUG, and everything worked fine. I used the /multiple and /mod="BUG Mod 3.5.1" command-line parameters to run two instances of Civ on the same machine, and I was able to start and play a few turns of a BUG game.

Perhaps you can try doing that on your computer to eliminate network issues. Just select LAN GAME.
 
Ok I tried that, and both local games loaded up perfectly. I should also point out that I still don't see those two log files you mentioned even after a successful game launch.
 
There's a setting in CivilizationIV.ini that you may need to set to 1 to get more logging:

Code:
; Enable the logging system
LoggingEnabled = 1
 
GenerateCrashDumps?
SynchLog?

No, those won't be useful to me. I don't know how to decode the crash dump (and I think it's for the DLL only anyway), and SynchLog shouldn't matter.
 
Ok I uploaded a zip file containing all the logs in the log folder.

One I found interesting was under init.log which had this line:

[623.984] VERSION: Mod Loaded: none

now, I KNOW that BUG was loaded. I loaded it manually, and so had my friend (he even accidently loaded a save we had played before which asked him to unload BUG so we could play it, so he closed the game and made a fresh new one to test)

Anyway, before I quit the game I know I saw BUG 3.5.1 in the top right corner of the screen, there is no question that it was loaded.
 
I don't think the Mod being None means anything, but if you want to be sure you can alter your Civ4 shortcut (make a copy) and add

/mod="BUG Mod 3.5.1"​

at the end of the Target so it loads BUG automatically.

There are a couple things in the network log that look interesting.

Code:
[894.359] DBG: Got our last outstanding network ready message!  Sending Version Verification! (m_bConnectComplete=true)
[894.546] DBG: Received ID assignment message!  Our AppID = 1!
[894.546] DBG: Sending our player info to everyone else
[894.546] DBG: Sending our AppID assignment (ID=1) to everyone else
[894.546] ERR: Trying to join a NULL staging room!
[894.625] DBG: Received player ID Assignment!
 AppID=1
 NetID=1
[894.968] DBG: Received player ID Assignment!
 AppID=0
 NetID=0
[909.515] DBG: Got MapScriptAck from NetID 0!
[B][982.812] WRN: Have not received threaded keep alives from NetID 0!  Closing connection
[982.812] DBG: Closing the connection for NetID 0!  Connection State = 1![/B]

And in the same file, a previous attempt failed for a different reason (apparently your friend's PC disconnected you).

Code:
[876.968] DBG: Received ID assignment message!  Our AppID = 1!
[876.968] DBG: Sending our player info to everyone else
[876.968] DBG: Sending our AppID assignment (ID=1) to everyone else
[876.968] ERR: Trying to join a NULL staging room!
[877.046] DBG: Received player ID Assignment!
 AppID=1
 NetID=1
[877.406] DBG: Received player ID Assignment!
 AppID=0
 NetID=0
[B][889.796] WRN: Our connection to NetID 0 was closed remotely[/B]
[889.796] DBG: Removing connection-level player info for NetID 0 (state=2)

These both seem like flaky networking, though you've played non-BUG games just fine so I'm stumped. The most likely thing in my eyes is that you two have slightly different installations of BUG somehow (different folder name, different version, something). Maybe have one of you install an older BUG (3.5 vs. 3.5.1) and see what the logs look like for comparison.

I'd love to see the logs for a successful non-BUG network game for comparison.

BTW: If you care, these logs have your friend's IP address in them. You may want to remove them.
 
The first disconnect was when my friend accidentally loaded a non bug game save when I tried to connect to him.

Good point about the IP though, dumb mistake on my part.

I am very very certain we have the same versions, because I asked him what it said in the top right corner before we made a game and he confirmed BUG 3.5.1.

The folder thing is the only possibility I suppose. I'll be sure to include a log the next time we play a regular game, because actually we do still have one game save going (one I mentioned earlier) to finish that isnt BUG enabled.

Though would you be interested in the future to set up a time in which I can perhaps attempt to connect to a MP BUG game that you host? Just to see what happens?
 
Though would you be interested in the future to set up a time in which I can perhaps attempt to connect to a MP BUG game that you host? Just to see what happens?

That's what I was going to suggest. Shoot me a PM or email and we can set something up. I'm on Yahoo IM to make that easier.
 
How can I change bugpath.py to locate the ini files in:

[modname]\ini-Files ?
 
Assuming [modname] represents the Mods subfolder where you've installed your mod, you should be able to change Python/Contrib/CvModName.modName to "ini-Files".

If instead [modname] is a child of that folder, you'll have to modify CvPath.py, and I'm not sure right now what's involved. I'll have to take a look at it tomorrow or the next day.

I am considering adding a modSettings attribute to separate INI files from other non-code files (help files, readme, changelog, etc), but that won't be until after the 3.6 release I expect.
 
Hi. I hope this is the right place to ask this; I have BUG and Blue Marble installed in such a way that when I start BTS the Mods are already running, but when I try to unload the mod, the game won't do it. It will restart, but BUG will still be running. I want to see if running BTS without any mods will speed up (or slow down) my gameplay, but I can't unload the mod.
 
@Gwynnja - Given that you can unload the mod, I believe you have BUG loaded both as a mod and in the CustomAssets folder. Did you perhaps install BUG previously?

To remove it from the CustomAssets folder, rename CustomAssets to CustomAssets.removed. Unfortunately, BlueMarble installs itself there, and you'll need to reinstall BM. If BM and BUG were the only mods you have installed, this will be all you need to do.

Oh wait, are you trying to load the same game? Once you start a game with a mod, it is forever tied to that mod. You can either start a new game, or if you prefer, trick Civ into thinking BUG is installed:

  • Go to My Games \ BTS \ Mods
  • Find the BUG folder, probably "BUG Mod 3.5.1"
  • Rename it by adding something to the end, e.g. ".off"
  • Create a new folder with the name the BUG folder had 1 sec ago
  • Launch BTS and/or load your game
BTS will load the empty mod, but of course not have any BUG files there.

Let me know if you have any trouble or if this doesn't describe the situation you're in.
 
Hmmm. In the "beyond the sword" folder the is a "BUG Mod" folder and a "MODS" Folder which includes a folder named "BUG Mod." There is also a "BUG" folder in the python folder in the custom assets folder. I think I tried to install it once and couldn't figure out how to do it right, then did it again. I don't know, I'm not real good at this sort of thing.

I'm not trying to load a previously started game without BUG, but start a new one without it. When I launch BTS, BUG and Blue Marble automatically load, and when I attempt to unload the mod, it restarts, but still runs the mods.
 
Back
Top Bottom