Remove "Buy" confirmation

Remove "Buy" confirmation; support/discussion/questions

Moderator: thunderchero

Post Reply
User avatar
RomSurprise
Ensign
Ensign
Posts: 36
Joined: Sat Dec 10, 2011 7:05 am

Remove "Buy" confirmation

Post by RomSurprise » Mon Jul 15, 2013 9:46 pm

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.
Last edited by RomSurprise on Tue Jul 16, 2013 12:22 am, edited 1 time in total.

User avatar
QuasarDonkey
Code Analyst
Code Analyst
Posts: 433
Joined: Tue Jul 26, 2011 8:29 pm
Location: Ireland

Re: Wish "Buy" lacked confirmation

Post by QuasarDonkey » Mon Jul 15, 2013 10:24 pm

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:

User avatar
Martok
Rear-Admiral
Rear-Admiral
Posts: 1137
Joined: Thu May 01, 2008 2:00 am

Re: Wish "Buy" lacked confirmation

Post by Martok » Tue Jul 16, 2013 10:39 am

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. :)
"Evil is easy, and has infinite forms." -- Pascal

User avatar
gentle
Lieutenant-Junior Grade
Lieutenant-Junior Grade
Posts: 91
Joined: Sun Aug 14, 2011 9:52 am

Re: Wish "Buy" lacked confirmation

Post by gentle » Tue Jul 16, 2013 11:17 am

In this difficult economic times maybe we need to think twice before buying anything. Cover me Porkins!

User avatar
QuasarDonkey
Code Analyst
Code Analyst
Posts: 433
Joined: Tue Jul 26, 2011 8:29 pm
Location: Ireland

Re: Wish "Buy" lacked confirmation

Post by QuasarDonkey » Tue Jul 16, 2013 1:25 pm

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.

User avatar
thunderchero
Site Administrator aka Fleet Admiral
Site  Administrator aka Fleet Admiral
Posts: 6066
Joined: Fri Apr 25, 2008 2:00 am
Location: On a three month training mission, in command of the USS Valiant.
Contact:

Re: Remove "Buy" confirmation

Post by thunderchero » Tue Jul 16, 2013 2:00 pm

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

User avatar
Flocke
BORG Trouble Maker
BORG Trouble Maker
Posts: 2546
Joined: Sun Apr 27, 2008 2:00 am
Location: Hamburg, Germany
Contact:

Re: Remove "Buy" confirmation

Post by Flocke » Tue Jul 16, 2013 4:18 pm

awesome! that buy popup bugged me countless times :o

Dr_Breen
Commodore
Commodore
Posts: 889
Joined: Wed Apr 30, 2008 2:00 am
Location: Zurich, Switzerland
Contact:

Re: Remove "Buy" confirmation

Post by Dr_Breen » Tue Jul 16, 2013 5:24 pm

wow that was fast
Public BotF / EF2 Teamspeak 3 Server: 83.169.13.55

User avatar
thunderchero
Site Administrator aka Fleet Admiral
Site  Administrator aka Fleet Admiral
Posts: 6066
Joined: Fri Apr 25, 2008 2:00 am
Location: On a three month training mission, in command of the USS Valiant.
Contact:

Re: Remove "Buy" confirmation

Post by thunderchero » Tue Jul 16, 2013 9:19 pm

Dr_Breen wrote:wow that was fast
yeah it was :grin: still hoping to see a CSV tool soon.

thunderchero

User avatar
QuasarDonkey
Code Analyst
Code Analyst
Posts: 433
Joined: Tue Jul 26, 2011 8:29 pm
Location: Ireland

Re: Remove "Buy" confirmation

Post by QuasarDonkey » Tue Jul 16, 2013 9:30 pm

Working on it now :grin:

User avatar
RomSurprise
Ensign
Ensign
Posts: 36
Joined: Sat Dec 10, 2011 7:05 am

Re: Remove "Buy" confirmation

Post by RomSurprise » Tue Jul 16, 2013 11:25 pm

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).

User avatar
Tethys
Past Administrator
Past Administrator
Posts: 2065
Joined: Fri Jul 18, 2008 2:00 am
Location: Your mom's bed ;)
Contact:

Re: Remove "Buy" confirmation

Post by Tethys » Wed Jul 31, 2013 1:40 pm

Very nice! Speeds up purchases in epic games "buy" alot :P (<- bad joke lol)
Not for the weak of heart...
Image
GALM <--- GALM/Galaxies Mod

Post Reply

Return to “Remove "Buy" confirmation”

Who is online

Users browsing this forum: No registered users