Page 1 of 1

Remove "Buy" confirmation

Posted: Mon Jul 15, 2013 9:46 pm
by RomSurprise
I've hit the "buy" button in BOTF an uncountable number of times. The confirmation box (buy/cancel) is useless - if I make a mistake, I can undo it before the turn ends. I just click the picture of the item, and I'm prompted if I want to cancel my purchase. Click again, and it asks about discarding the industry already spent.

Is there a patch or mod that prevents the "buy" confirmation dialogue? Or does it make sense as a feature request?

In case my description is ambiguous, I'm talking about the "build" screen. Maybe "1 fabricator" is listed, and just above the build queue is a thin "buy" button. Clicking on the button shows your current credits, the cost of the purchase, and asks "buy"/"cancel" if you want to spend credits in place of the remaining industry.

Re: Wish "Buy" lacked confirmation

Posted: Mon Jul 15, 2013 10:24 pm
by QuasarDonkey
Hmm, I never thought about that, but it makes sense. It should be easy for the coders to make a patch for this.

Somebody remind me to take a look at this tomorrow since I'll probably forget. :razz:

Re: Wish "Buy" lacked confirmation

Posted: Tue Jul 16, 2013 10:39 am
by Martok
Like QD, I've never really given the matter much thought, but you have a good point RomSurprise. There's no real reason to have that extra confirmation box, given that we can just reverse our decision in the build queue anyway. Here's hoping someone can make a patch that gets rid of it. :)

Re: Wish "Buy" lacked confirmation

Posted: Tue Jul 16, 2013 11:17 am
by gentle
In this difficult economic times maybe we need to think twice before buying anything. Cover me Porkins!

Re: Wish "Buy" lacked confirmation

Posted: Tue Jul 16, 2013 1:25 pm
by QuasarDonkey
I have a fix, and it seems to work well. I'd appreciate it if some of you would test it to ensure I've not introduced any new bugs :razz:

Here's a BotF Patcher-compatible patch file:

Code: Select all

NAME: Disable the "Buy" confirmation dialog
AUTHOR: QuasarDonkey
URL: https://www.armadafleetcommand.com/onscreen/botf/viewtopic.php?t=2748

>> 0x000f1cae  b9 01 00 00 00 ba 02 00 00 00 8b 84 24 ec 04 00 00 31 db e8 8a e2 00 00 b9 01 00 00 00 bb 60 66 4f 00 ba 10 00 00 00 8b 84 24 ec 04 00 00 8d b4 24 e4 04 00 00 e8 68 e2 00 00 8b 84 24 ec 04 00 00 e8 7c e4 00 00 89 e0 50 8b 8c 24 ec 04 00 00 8b 9c 24 e8 04 00 00 6a fe 8b 15 f8 d5 5c 00 8b 84 24 f4 04 00 00 e8 a7 df 00 00
<< 0x000f1cae  e8 ad 3d 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90
Just save it in the BotF Patcher "patches" folder with a name like "no_buy_confirmation.patch", then run the patcher and apply it.

Re: Remove "Buy" confirmation

Posted: Tue Jul 16, 2013 2:00 pm
by thunderchero
looks to work perfectly

I have added this to structured modding list and will move it to "Solutions; Bug fixes and recoding of game" once users see it.

thunderchero

Re: Remove "Buy" confirmation

Posted: Tue Jul 16, 2013 4:18 pm
by Flocke
awesome! that buy popup bugged me countless times :o

Re: Remove "Buy" confirmation

Posted: Tue Jul 16, 2013 5:24 pm
by Dr_Breen
wow that was fast

Re: Remove "Buy" confirmation

Posted: Tue Jul 16, 2013 9:19 pm
by thunderchero
Dr_Breen wrote:wow that was fast
yeah it was :grin: still hoping to see a CSV tool soon.

thunderchero

Re: Remove "Buy" confirmation

Posted: Tue Jul 16, 2013 9:30 pm
by QuasarDonkey
Working on it now :grin:

Re: Remove "Buy" confirmation

Posted: Tue Jul 16, 2013 11:25 pm
by RomSurprise
Thanks QuasarDonkey for the quick patch. I'm also glad many people agree with the annoyance I've felt over the buy prompt.

Although thundercharo already tested it out, I'll also give it a try (I'm running Win 7 64-bit).

Update: I need to learn more about patch installation after I complete my current "large" game. I haven't tried out the patch, and this game looks to be my longest ever (barely touching the fringe of 2 enemy empires on turn 280).

Re: Remove "Buy" confirmation

Posted: Wed Jul 31, 2013 1:40 pm
by Tethys
Very nice! Speeds up purchases in epic games "buy" alot :P (<- bad joke lol)