1. We have added a Gift Upgrades feature that allows you to gift an account upgrade to another member, just in time for the holiday season. You can see the gift option when going to the Account Upgrades screen, or on any user profile screen.
    Dismiss Notice

Version 0.83 discussion thread

Discussion in 'Civ4 - Better AI' started by jdog5000, Dec 8, 2009.

  1. technomancer

    technomancer Chieftain

    Joined:
    Jul 21, 2009
    Messages:
    51
    Location:
    Hamburg, Germany
  2. Fuyu

    Fuyu Emperor

    Joined:
    Nov 5, 2009
    Messages:
    1,225
    Location:
    Austria
    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.
     
  3. Afforess

    Afforess The White Wizard

    Joined:
    Jul 31, 2007
    Messages:
    12,239
    Location:
    Austin, Texas
    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.
     
  4. Mattygerst

    Mattygerst Prince

    Joined:
    Jan 19, 2008
    Messages:
    538
    Location:
    St. Louis, Missouri, USA
    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.
     
  5. technomancer

    technomancer Chieftain

    Joined:
    Jul 21, 2009
    Messages:
    51
    Location:
    Hamburg, Germany
    @Mattygerst: I tried your save file and the game does _not_ crash, neiter while loading nor when pressing the next turn button.
    This is odd though since I encountered a very similar error:

    http://forums.civfanatics.com/showpost.php?p=8829674&postcount=39

    Please test my save file and report back if this crashes to you well.

    Thx,
    techno
     
  6. JBConquests

    JBConquests Prince

    Joined:
    Nov 11, 2003
    Messages:
    342
    Location:
    North Dakota, US
    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.
     
  7. Janov

    Janov Chieftain

    Joined:
    Nov 7, 2009
    Messages:
    20
    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
     
  8. Maxwarrior

    Maxwarrior Chieftain

    Joined:
    Dec 14, 2008
    Messages:
    6
    Location:
    Sumter, SC
    I've just had my first ever game problem. The game just closes. This is my first game with .83.
     

    Attached Files:

  9. technomancer

    technomancer Chieftain

    Joined:
    Jul 21, 2009
    Messages:
    51
    Location:
    Hamburg, Germany
    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
     
  10. Janov

    Janov Chieftain

    Joined:
    Nov 7, 2009
    Messages:
    20
    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
     
  11. CaptainMidnight

    CaptainMidnight Warlord

    Joined:
    Apr 16, 2006
    Messages:
    141
    Yes I've had the same CTD using 0.83h (48 civ version). First time I've ever had a problem with this awesome mod.
     

    Attached Files:

  12. Maxwarrior

    Maxwarrior Chieftain

    Joined:
    Dec 14, 2008
    Messages:
    6
    Location:
    Sumter, SC
    I waited until the finished version before downloading.
     
  13. Fuyu

    Fuyu Emperor

    Joined:
    Nov 5, 2009
    Messages:
    1,225
    Location:
    Austria
    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?
     
  14. Still_Asleep

    Still_Asleep Warlord

    Joined:
    Apr 5, 2006
    Messages:
    152
    Location:
    Vienna, Austria
    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.
     
  15. LunarMongoose

    LunarMongoose King

    Joined:
    Jan 29, 2006
    Messages:
    731
    Gender:
    Male
    Location:
    Boston, MA, USA
    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. ;)
     
  16. Ninja2

    Ninja2 Great Engineer

    Joined:
    Nov 17, 2005
    Messages:
    1,142
    Location:
    Denmarkia
    That would be "We Have Enough On Our Hands Right Now" ;)
     
  17. LunarMongoose

    LunarMongoose King

    Joined:
    Jan 29, 2006
    Messages:
    731
    Gender:
    Male
    Location:
    Boston, MA, USA
    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.
     
  18. Afforess

    Afforess The White Wizard

    Joined:
    Jul 31, 2007
    Messages:
    12,239
    Location:
    Austin, Texas
    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? ;)
     
  19. Still_Asleep

    Still_Asleep Warlord

    Joined:
    Apr 5, 2006
    Messages:
    152
    Location:
    Vienna, Austria
    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 ;)
     
  20. LunarMongoose

    LunarMongoose King

    Joined:
    Jan 29, 2006
    Messages:
    731
    Gender:
    Male
    Location:
    Boston, MA, USA
    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.

    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
     

Share This Page