• Our friends from AlphaCentauri2.info are in need of technical assistance. If you have experience with the LAMP stack and some hours to spare, please help them out and post here.

Version 0.83 discussion thread

This forum lets you attach files to each post, that would be the most obvious option. Though I'm not sure if that works again.
The only other place I know of would be mediafire. Everything else I saw so far involved waiting, "no uploads slots open for you", and filling in captchas.
 
This forum lets you attack files to each post,

That sounds like a fun game. Where do I play? :lol:

Sorry... I couldn't resist.

Seriously though, there are a lot of free places you can host files, some of which have ads or waiting period like Rapidshare, Megaupload, etc... Google now too.
 
I am continuously getting a crash to desktop using 0.83. My game save is posted, and it should either crash upon loading...or upon the first time the end turn button is pressed. Would appreciate any info as to why, because I've never really had any issues with a CTD...especially using BBAI.
 
I am thinking of trying this version of Better AI but I play mostly team based multiplayer - My son and I against several AI teams of 2. Has anyone tried this mod in this scenario? I want to be sure there are no out of sync errors...

Patch 3.19 of BTS introduced a couple OOS errors and I don't want to make it worse.
 
Hi JB,

I have played several games with just the setup you mentioned and have had barely any OOS problems with better AI. Just install it as a MOD (unpack into the mods folder), then you can try it at your leisure, and if you don´t like it, never use it again (don´t even have to uninstall, just let it sit there).

Jan
 
Jdog,

there are now three people with crashes to desktop and 0.83 so I guess it is safe to assume something is wrong with the patch. My crashes definitely go away when I revert back to 0.82.
Would you mind to take a look at this please ?
EDIT: I am using the final version of the patch.

Thx in advance,
techno
 
Just to make sure - is everyone who is experiencing crashes on the FINAL version of 0.83? I think it was released on January, 17th, and replaced a beta-version of 0.83 which suffered from crashes when only one option remained as to which tech to invent next. The version should show 0.83h when hovering your mouse over the flag in the game.

Jan
 
Final 0.83 (h) causes those crashes, 0.82 (j?) doesn't. Would be interesting to know if 0.83d had that problem too already, I assume not. could someone test that theory?
 
0.82 works perfectly fine, 0.83 doesnt, and JDog is traveling.

Everyone use 0.82 until he returns and comes up with a fix, thats all we can do for now.
 
Everyone use 0.82 until he returns and comes up with a fix, thats all we can do for now.

Sigh. JDog is not the only skilled programmer around here you know...

I could not load CaptainMidnight's save file at all (it was complaining about an invalid mod directory for some reason) and I didn't feel like compiling a 48-civ version of the DLL anyway. I could not reproduce a crash on Mattygerst or Maxwarrior's save files either (sorry guys, heh). However Technomancer's crashed beautifully; thanks dood :). I have traced the problem to three small blocks of code in CvTeamAI.cpp that have to do with the new HumanAsVassal option.

Fix 1: You can take all the 0.83 files, overwrite with the 0.82 version of CvTeamAI.cpp only, and compile. This works and will get you most of the features in 0.83.

Fix 2: You can take all the 0.83 files, overwrite with the file I'm providing, and compile. This will get you all of the 0.83 features and should work just as well. My file is the same as the 0.83 version with only the 3 offending code blocks reverted.

I am not inherently familiar with this part of the SDK and thus do not yet know exactly what the specific problem with what he did is, so I would stay away from using the HumanAsVassal option until I've had more time to look at it or until JDog gets back.

Also, could someone please tell me what the hell WHEOOHRN means?

http://homepage.mac.com/klwelch/Civ4/CvTeamAI.cpp

p.s. -- You're welcome. ;)
 
That would be "We Have Enough On Our Hands Right Now" ;)
 
That would be "We Have Enough On Our Hands Right Now" ;)

Thanks. :) I actually spent quite a while trying to figure that out, to no avail... And I'm usually pretty good with acronymphs too. Oh well hehe.
 
I have traced the problem to three small blocks of code in CvTeamAI.cpp that have to do with the new HumanAsVassal option.

Really? That's the cause? I looked at the code difference and I can't see anything in their that would cause I crash. But if that really did stop the crash, who am I to doubt? ;)
 
Sigh. JDog is not the only skilled programmer around here you know...

Yea I know, just been a while since I saw someone else doing updates for better AI.

Anyway, thank you for tracking the bug down and providing a fix.

Could you also provide a dll with your file included? I have no clue how to compile at all, but I'd love to use your piece of work ;)
 
Really? That's the cause? I looked at the code difference and I can't see anything in their that would cause I crash. But if that really did stop the crash, who am I to doubt? ;)

It fixes the crash with the save file Technomancer posted, which is all I can say with absolute certainty. It seems extremely likely to me that it will fix it for everyone, for several reasons: The save file crashes very late in the turnover process, right when diplomacy should be starting (which is obviously where this code would be run). JDog refers to the code in question as a "hack" in his patch notes, and if someone like him calls it a hack you know it's suspect. Technomancer has Vassal States set to Off in the game options in this save, which could easily be part of the problem. The code I reverted triggers a call to an extra function that is not normally called there, AI_acceptSurrender(), which means there are more places in the sequence for something to go wrong. And so on.

I am also very confident that doing what I did will not spawn any secondary problems (provided you don't turn his HumanAsVassal game option on). As I said I am not nearly as familiar with the AI sections of the SDK as I am with all the other parts of it (b/c I haven't had to be), so I can't tell just from briefly looking at it what exactly was going on... though I can make a few educated guesses. I'm pretty sure I could figure it out but I don't have time right now; I'm trying to finish coding my own DLL for my full mod so my friends and I can start playing again. Basically I found what was causing the problem, not why it was causing it, which is all I was trying to do -- get it working.

Yea I know, just been a while since I saw someone else doing updates for better AI.

That's because it's been a while since anyone has needed to, with JDog working as diligently on it as he has. And I wouldn't consider this an "update" b/c I didn't add anything new to it. :p But I didn't have any choice, we wanted the stuff in 0.83 and I couldn't wait any longer for JDog to get back.

I was hoping to avoid having to post a DLL btw, lol, but since kind words will get you everywhere with me:

http://homepage.mac.com/klwelch/Civ4/DLL.zip
 
Back
Top Bottom