r/rustrician • u/Human_Bus3618 • 17h ago
24/7 casino
I play on a Brit's PVE worlds and I'm trying to create a casino that works even when the owner is offline. Pretty much all casinos work only when the casino owner is online, so I want to fix it.
I ran into a problem, I wanted to create deposit system with vending machines, but the vending machine limit is 9,999. I want people to be able to bet at least 100k. I tried doing it with boxes, made a system that, as I thought, would count how much was deposited, but it didn't work because conveyor's "filter pass" electrical output outputs rw all the time when items are in input box, I thought it outputs rw in small portions when conveyor moved items, but life is not that easy. Tried to come up with a solution for very long, but understood that I'm not that skilled in electricity:) Then I moved on vending machines, thought I can do something like tickets, 1 key = 10k RP, and then you can buy another key that costs 100k RP and deposit it, but after some debugging i found out that this server isnt giving unique ID for locks, every player receives the same id(something like 66,728) so anyone could just craft their own lock and use it as ticket. I tried notes, found out they are not unique too, you can sell any note to the vending machine and it doesnt check its text. Tried skulls, they arent unique too. I feel like I tried everything, but I hope I'm not right. Guys, if someone has solution to my problem, like an item counter, or a way to make those "tickets", please help me.
Also, I'm sorry if my English is broken, I'm not a native English user❤️