hunterjm / futgui

FIFA Auto Buyer GUI
73 stars 24 forks source link

Enhancement request : Include EA Taxe in sold #90

Open Mglt-b opened 8 years ago

Mglt-b commented 8 years ago

Hello,

EA Taxe (5%) is not include in the value :

Actually :

Item Sold: Daniele Padelli for 500

Must be :

Item Sold: Daniele Padelli for 500, we win (500*0.95)

Thank you

Like that we can as we want later, calcul how much we really win for each session

Mglt-b commented 8 years ago

I think something like that :

Actually : futgui/core/bid.py q.put('%s Item Sold: %s %s for %d\n' % (time.strftime('%Y-%m-%d %H:%M:%S'), asset['Item']['FirstName'], asset['Item']['LastName'], i['currentBid']))

Change : futgui/core/bid.py q.put('%s Item Sold: %s %s for %d . We Win %d*0.95 \n' % (time.strftime('%Y-%m-%d %H:%M:%S'), asset['Item']['FirstName'], asset['Item']['LastName'], i['currentBid'], i['currentBid']))

hunterjm commented 8 years ago

if you want to make the change yourself, the code would actually be

q.put('%s Item Sold: %s %s for %d . We Win %d.\n' % (time.strftime('%Y-%m-%d %H:%M:%S'), asset['Item']['FirstName'], asset['Item']['LastName'], i['currentBid'], i['currentBid'], i['currentBid'], i['currentBid']*0.95))
Mglt-b commented 8 years ago

Ok thx, it will be include ?

we can stock this value to know how much we won for each session ?