bug in bread script, free bread

Forum Archive - from http://theuniversal.net
Locked
User avatar
zaroba
World Owner
World Owner
Posts: 7257
Joined: Fri Oct 10, 2003 11:06 pm
Location: Hereford, PA
Contact:

bug in bread script, free bread

Post by zaroba »

Software:Universal Client
Version Number:
________________________________________________________________________
Location

________________________________________________________________________
Description:
If you have 1 wheat on you and you start baking bread, you can reopen the bakery menu while doing the task and will be givin the option to bake bread since the task wont remove the wheat from you until after the task is completed. If you wait for the task to end, then click the Bake Bread button, you will get a free Bread despite not having any wheat on you.

Possible solutions:
-Remove the what when the task is starting
-Put in a check to make sure the the player has wheat when they click the button.
-At end of task, check to make sure player has wheat to remove and if not, provide a comical message about trying to bake bread without wheat


________________________________________________________________________
Steps to Replicate:
User avatar
zaroba
World Owner
World Owner
Posts: 7257
Joined: Fri Oct 10, 2003 11:06 pm
Location: Hereford, PA
Contact:

Post by zaroba »

are there any checks to make sure players don't give/stock items during tasks?
User avatar
Mit
Staff
Staff
Posts: 3551
Joined: Sun Sep 21, 2003 10:14 pm
Location: Unknown

Post by Mit »

ah, thanks for reporting that one, zar. Fixed now in script
Locked