[FEATURE] New Vending machine hacking wire: reduce prices. - Printable Version +- Goonstation Forums (https://forum.ss13.co) +-- Forum: Discussion (https://forum.ss13.co/forumdisplay.php?fid=6) +--- Forum: Patches (https://forum.ss13.co/forumdisplay.php?fid=30) +---- Forum: Rejected (https://forum.ss13.co/forumdisplay.php?fid=33) +---- Thread: [FEATURE] New Vending machine hacking wire: reduce prices. (/showthread.php?tid=7896) Pages:
1
2
|
[FEATURE] New Vending machine hacking wire: reduce prices. - The Grim Sleeper - 01-07-2017 Snip a wire in the Vending machine hacking interface to change the prices! No more $20 styptic powder mini-patch. Edit: So I was sitting here, very busy wasting time, and then suddenly I coded all over my screen! Ergo a patch: it adds a 5th wire to all vending machines. If the wire is cut, all items are sold at a discount! Well most items are sold at a discount, things like booster packs and stuff goes full price of course. Technical stuff
Special thanks to Cirral for helping me put on GitHub. Edit: Update: Yes, obviously I tested the code with the 2016 release v510 build and yes it works fine. RE: New Vending machine hacking wire: reduce prices. - misto - 01-07-2017 would you be able to change the price to 0 RE: New Vending machine hacking wire: reduce prices. - Calebc789 - 01-07-2017 I think changing the prices to 0 should require some NetDiag magic or some other method, so it wouldn't be as easy as pulsing a wire. Halving the prices by pulsing a wire could work though. RE: New Vending machine hacking wire: reduce prices. - Vitatroll - 01-07-2017 You can get better stuff from disabling the access-restriction wire on medical vends, so why not? RE: New Vending machine hacking wire: reduce prices. - misto - 01-07-2017 oh i know. it could scramble the prices with each wire pulse. maybe it make em cheaper, maybe it make em more expensive. dont like the result? scramble em again RE: New Vending machine hacking wire: reduce prices. - Frank_Stein - 01-07-2017 (01-07-2017, 11:31 AM)misto Wrote: oh i know. it could scramble the prices with each wire pulse. maybe it make em cheaper, maybe it make em more expensive. dont like the result? scramble em again Take the total value of each item's price, and then split that amount between everything each time it's pulsed. Example: Original prices 1. $30 2. $60 3. $200 total value - $290 after a pulse 1. $65 2. $175 3. $50 Total Value - Still $290 RE: New Vending machine hacking wire: reduce prices. - zcamperz - 01-07-2017 there needs to be a wire to just make the vending machine shit out all of its contents on to the floor ...or make it so if you smash the glass with something, the prices all say "0" because you can just steal them out of the machine the smashed machine method should shock you or cut your arm when you buy something, because glass RE: New Vending machine hacking wire: reduce prices. - Vitatroll - 01-08-2017 Is there really a need for the complication? You can hook up a CU or button to a vending machines and it'll eject a random item. As for credits, I think the actual trouble of grabbing tools and then hacking a vend is worth more than than the credits used to purchase the items. Are there any real downside to the vend items being set to free? I mean, you could probably get 10k per minute of effort in the derelicts. RE: New Vending machine hacking wire: reduce prices. - locusts - 01-08-2017 (01-07-2017, 12:10 PM)Frank_Stein Wrote:(01-07-2017, 11:31 AM)misto Wrote: oh i know. it could scramble the prices with each wire pulse. maybe it make em cheaper, maybe it make em more expensive. dont like the result? scramble em again I endorse this idea, but I think it should only work once. So the more expensive the thing you want is, the more likely it is to drop in price but there's also a chance you fuck yourself over. RE: New Vending machine hacking wire: reduce prices. - The Grim Sleeper - 01-08-2017 (01-07-2017, 11:31 AM)misto Wrote: oh i know. it could scramble the prices with each wire pulse. maybe it make em cheaper, maybe it make em more expensive. dont like the result? scramble em againI donno, this sounds like and advanced goal. (01-08-2017, 02:39 AM)Vitatroll Wrote: Is there really a need for the complication?I agree that the 'hack prices' wire should not make things very complex to use. I am inclined to agree on the 'for free' price as well, the soda machines practically give things away anyway. But the Carty Party machine stocks 3 PDAs at $100 each and 2 of a few Carts between $50-$80. The mini-med vendor is also rather poorly stocked. A reduced price would be a barrier to toolboxing Grayshirts with papercuts pilfering the whole stock. On the flipside, I'd feel very salty if manage to run away from the wizards spree only to collapse after a neat hack because I am a buck short for the reduced price of a epinephrine injector while mid-crash because I had a coffee with my grey shirt. Also Please rate 5/5 for that added noticeablity RE: New Vending machine hacking wire: reduce prices. - The Grim Sleeper - 01-25-2017 So I was sitting here, very busy wasting time, and then suddenly I coded all over my screen! Ergo a patch: it adds a 5th wire to all vending machines. If the wire is cut, all items are sold at a discount! Well most items are sold at a discount, things like booster packs and stuff goes full price of course. Technical stuff
Code: Special thanks to Cirral for helping me put on GitHub. Edit: Update: Yes, obviously I tested the code with the 2016 release v510 build and yes it works fine. RE: New Vending machine hacking wire: reduce prices. - ZeWaka - 01-25-2017 put this in patches next time or ELSEEEEEE RE: [FEATURE] New Vending machine hacking wire: reduce prices. - Grifflez - 01-28-2017 While you're doing that 'hacking' nonsense, why not just make it so knocked over vending machines can be looted. You know, because the front part is smashed in and all the goodies inside are unguarded! RE: [FEATURE] New Vending machine hacking wire: reduce prices. - The Grim Sleeper - 01-28-2017 (01-28-2017, 01:07 AM)Grifflez Wrote: While you're doing that 'hacking' nonsense, why not just make it so knocked over vending machines can be looted.I won't do that. Small part is that then grey shirts would wreck EVERY SINGLE MACHINE, every round. Big part is that I don't know how to code that. RE: [FEATURE] New Vending machine hacking wire: reduce prices. - Frank_Stein - 01-28-2017 (01-28-2017, 01:07 AM)Grifflez Wrote: While you're doing that 'hacking' nonsense, why not just make it so knocked over vending machines can be looted. If this were a thing, reaching inside to grab stuff ought to have a chance to cut you up or something, since knocking a machine over for free shit is fairly easy to do |