Page 1 of 1

[Live][Bug][Fixed] Vendor Not Taking Materials

PostPosted: Sun Mar 03, 2013 5:26 pm
by David Knight
Over the last 2 or 3 days vending machines haven't been taking materials whenever an item is purchased (the purchaser recieves the item free). Seems to sporadicly switch between bugged and unbugged as well.

Re: [Live][Bug] Vendor Not Taking Materials

PostPosted: Mon Mar 04, 2013 11:15 am
by LostInTheWired
Can you find any way to recreate the error?

Re: [Live][Bug] Vendor Not Taking Materials

PostPosted: Mon Mar 04, 2013 12:18 pm
by eldarstorm
He showed this to me when I logged in to set Eternal's rank. Watched console and there was no error. Could be something with the recent gmod update.

Re: [Live][Bug] Vendor Not Taking Materials

PostPosted: Thu Mar 07, 2013 5:29 pm
by LostInTheWired
Might be something to do with all the rounding we have to do. Might check those sections. I tell you, man, we should have used unsigned ints. XD

Re: [Live][Bug] Vendor Not Taking Materials

PostPosted: Fri Apr 05, 2013 1:33 pm
by eldarstorm
Fixed in r87
Will be uploaded t the server soon.

Issue was that the Admin overide was bypassing the calculation on how much to give the vendor.
I have also changed the orveride that affects the vendor from AdminCreateAll to AdminNoCost.