Yzaxtol Posted May 11, 2013 Share Posted May 11, 2013 (edited) I've gotten a Sniper that can't buy anything on the 3rd Rank as it says Prior Training Required. http://cloud-2.steampowered.com/ugc/885233862088007035/A6687424B3B0DF49159797CABA07086F9C32C2DE/ Edited May 11, 2013 by Yzaxtol Link to comment Share on other sites More sharing options...
Amineri Posted May 11, 2013 Author Share Posted May 11, 2013 Hmmm, I thought I had squashed that bug. You get the pop-up window that says "You can't select a perk because you have to select one at an earlier level" -- something like that? I'll poke into it. That function should be impossible to call any longer. There is a slight glitch that can pop up if all perks at the current rank you are trying to promote are un-choosable (because they were selected before, or because there are 0 perk choices at the rank). Sometimes it won't auto-promote the rank correctly. This occurs mostly when promoting several ranks in a row (which happens very rarely in an actual game -- it pops up mostly when applying the mod to an existing save-game). However, it can be worked around simply by backing up one level in the UI menu and re-entering the perk selection. But it looks like all three perks are valid selections (all are highlighted), so this shouldn't be the issue. The function that is likely causing the problem is XGSoldierUI.PreviousPerksToAssign. I removed the call to the function from XGSoldierUI.OnAcceptPromotion, but I thought is was unnecessary to remove it from UISoldier_Promotion.OnAccept, but I was wrong. It's checking your previous ranks to see if either perk0 or perk1 have been chosen. Since at rank 1 (Chief Operative) you chose perk 2, it is failing. Good catch! I should be able to patch this pretty quickly and have a new version out soon. Link to comment Share on other sites More sharing options...
Amineri Posted May 11, 2013 Author Share Posted May 11, 2013 As I thought -- an easy fix. Wish I would've seen it before releasing, but I guess that's why there are bugs, right? To patch your existing game, use: XComStrategyGame.upk >> UISoldierPromotion.ConfirmDialogue original:07 F2 01 2D 00 FE 15 00 00 0F 35 45 FF new:0B 0B 0B 2D 00 FE 15 00 00 0F 35 45 FF After applying the fix you should be able to promote the soldier. I've got to get together a new version release and update the wiki, blah blah blah Link to comment Share on other sites More sharing options...
Yzaxtol Posted May 11, 2013 Share Posted May 11, 2013 Ouch, yeh. Just consider the amount of work I'll have to do if Firaxis release a patch.. you've nearly tripled the work required with all these awesome complex modlets. Link to comment Share on other sites More sharing options...
Amineri Posted May 11, 2013 Author Share Posted May 11, 2013 Well.... that's my primary motivation in posting all of the information to the wiki. The faint hope that other people can help update individual mods for a new patch. Can you confirm that the patch works, and works with the existing save game? Link to comment Share on other sites More sharing options...
Yzaxtol Posted May 11, 2013 Share Posted May 11, 2013 I.. deleted it, replaying the game at the moment. Link to comment Share on other sites More sharing options...
Amineri Posted May 11, 2013 Author Share Posted May 11, 2013 Well, the new version (0.91) is posted up on the main Nexus site. I verified that the change still runs and promotions can occur without crashing the game. I just don't have a save-game that replicates the situation to test that particular instance. I'm glad I gave it a version number below 1.0 . Hopefully that made it clear enough that it is still considered in "beta" :) Link to comment Share on other sites More sharing options...
Amineri Posted May 19, 2013 Author Share Posted May 19, 2013 Can anyone confirm for me that the ToolBoks 1.21 perk tree editor is compatible with my bigger perk tree mod? I've sort of got my game a bit hacked up with other changes so don't want to risk disturbing those changes to test it. Thank you :) Link to comment Share on other sites More sharing options...
bokauk Posted May 22, 2013 Share Posted May 22, 2013 I haven't got around to trying it out yet, but I'm surprised your work on this hasn't been more widely recognised and received more attention! I would have thought more players would relish your mod, but perhaps word hasn't spread yet. I'll be sure to give it a test once I finish up a few things :smile: Link to comment Share on other sites More sharing options...
dubiousintent Posted May 23, 2013 Share Posted May 23, 2013 It's definitely one of the first things I want to try, but I've been so busy working on the Wiki I haven't even applied patch 4 yet, or even installed the latest ToolBoks. (Bokauk's avatar is really appropriate, BTW. ;D ) -Dubious- Link to comment Share on other sites More sharing options...
Recommended Posts