New thread here : http://forums.bukkit.org/threads/econ-slots-v2-0-sign-based-slot-machines-1000.27920/ No.
Slot machines stop working after a restart and users need to use /slots create to make them work again. /slots save and load do not fix the issue.
I think that might have been the same issue others are having, slots seem to just get deleted after awhile so saving with no slots should save nothing.. I'm not entirely sure why this happens and I'm not sure how long it takes to get this bug either.
Just a minor bug, but every time my server goes offline, it seems to delete all the slots ive created. This doesnt matter much to me yet, because i currently only have 4. But, i thought id let you know. No errors occur when starting the server up btw
Apparently that is a problem that a few of us have, the author is not sure how long it takes to to get to this bug at this point. I only wish I had known about it before filling up a 3 story high building with slot signs.
Since most of the time all the plugin forums are just filled with errors, im gonna show gratitude for once. THANK YOU FOR THIS PLUGIN! now my casino dreams will come true
Is it possible, for aesthetic purposes, to switch a lever up and down that is attached to the same block as the sign when you right click it? It is far less than important but I think it'd be sweet since I made my slots look like legit machines xP
Well yeah they won more then they should on my 125% win ^^ but it worked out now its perfectly on 100% thank you for your help and yeah they still delete sometimes and dont work so i always create them new ^^ but no worry
One of my favorite mods. Thanks! Anyway to add in iconomy points notifications for balance or withdrawal in the config?
ok i just added this mod to my server and i type "/slots create" it says i cannot us the command what am i doing wrong?
The biggest problem that we've seen with Slots right now is that people that have laggy computers or connections come into our casino and click on a slot, it does nothing so they go and try all the slots which then lags the server down. If there was a way to limit a player to only roll on one slot at a time or make it configurable then this would be great.
That means either you don't have the node or you aren't op depending on what you're using. @City Builder : Yes I can add that in next version along with a test to attempt to fix the disppearing slots that you will need to try. Tell me if it works or not.
I love this plugin but it has some big bugs. Slots dont save on restart. Tried /slots save and load before and after a restart. Also combos.txt will not save. i add my combos and they disappear on a restart. I add them again and try /slots save in game and again they disappear on restart.
What should be in the config files? Multiplay added them but nothing is in the 4 files but the mod still works. I would like to change the default win multipliers. People are able to just keep spam clicking and will eventually win more than they spent since the payout is too high. How would I do that exactly? Also I can report that I have to recreate the slots on server restarts.
Until a new version is out, what I've been doing is to copy the slots.txt rolls.txt and combo.txt and after after a shutdown of my server and before restarting I make sure to copy in the contents of the copied files into the correct files. So far this seems to allow me to keep my casino running on restart. But my server is currently hosted locally so it may be more difficult for people that are hosting remotely. Hope it helps in some way for those waiting on the new version to test out the fix.
Could there be an option to charge the user X coins every time they make a slot machine? Sort of a set-up fee if you will. What could also be a good idea is the owner could stock the machine with X coins, and whenever a player wins/loses, it comes out of that amount (a machine can't be used if there is not enough money inside). The owner can then collect the coins from that machine by typing '/slots collect' and hitting it or someting.
Why not have it save right after the slot machine is created like other plugins do it? Instead of saving on a server shut-down... because half the time I just reboot my server and don't do the whole shut down process.
Ok I'll add that on. Tell me how it works out for you. I'll be uploading the new version shortly. Sounds good, I wasn't sure if that would be a good option because it could keep running out/be annoying and would be easier to come out of the person's account directly. I'll try it out.
Hello, We just had a user accidentally break one of the slots, he apparently held down his mouse button too long (and was swinging his sword at the slot sign) and it produced the error listed below, and then locked up the server. The user said that he held down his sword mouse button too long and broke the sign that was the slot sign. I went into the casino after restarting the server and did indeed find a sign on the ground. Error: Code: 2011-03-25 15:37:05 [SEVERE] java.lang.ClassCastException: org.bukkit.craftbukkit.block.CraftBlockState cannot be cast to org.bukkit.block.Sign 2011-03-25 15:37:05 [SEVERE] at us.Crash.Slots.SlotMachine.getSign(SlotMachine.java:88) 2011-03-25 15:37:05 [SEVERE] at us.Crash.Slots.SlotRoller.run(SlotRoller.java:136) 2011-03-25 15:37:05 [SEVERE] at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:122) 2011-03-25 15:37:05 [SEVERE] at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:345) 2011-03-25 15:37:05 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:272) 2011-03-25 15:37:05 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:366) 2011-03-25 15:37:05 [SEVERE] Unexpected exception java.lang.ClassCastException: org.bukkit.craftbukkit.block.CraftBlockState cannot be cast to org.bukkit.block.Sign at us.Crash.Slots.SlotMachine.getSign(SlotMachine.java:88) at us.Crash.Slots.SlotRoller.run(SlotRoller.java:136) at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:122) at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:345) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:272) at net.minecraft.server.ThreadServerApplication.run(SourceFile:366) 2011-03-25 15:37:56 [SEVERE] java.net.SocketException: Connection reset 2011-03-25 15:37:56 [SEVERE] at java.net.SocketInputStream.read(Unknown Source) 2011-03-25 15:37:56 [SEVERE] at java.net.SocketInputStream.read(Unknown Source) 2011-03-25 15:37:56 [SEVERE] at java.io.FilterInputStream.read(Unknown Source) 2011-03-25 15:37:56 [SEVERE] at net.minecraft.server.Packet.b(SourceFile:113) 2011-03-25 15:37:56 [SEVERE] at net.minecraft.server.NetworkManager.f(SourceFile:155) 2011-03-25 15:37:56 [SEVERE] at net.minecraft.server.NetworkManager.c(SourceFile:9) 2011-03-25 15:37:56 [SEVERE] at net.minecraft.server.NetworkReaderThread.run(SourceFile:62) 2011-03-25 15:37:56 [SEVERE] java.net.SocketException: Connection reset 2011-03-25 15:37:56 [SEVERE] at java.net.SocketInputStream.read(Unknown Source) 2011-03-25 15:37:56 [SEVERE] at java.net.SocketInputStream.read(Unknown Source) 2011-03-25 15:37:56 [SEVERE] at java.io.FilterInputStream.read(Unknown Source) 2011-03-25 15:37:56 [SEVERE] at net.minecraft.server.Packet.b(SourceFile:113) 2011-03-25 15:37:56 [SEVERE] at net.minecraft.server.NetworkManager.f(SourceFile:155) 2011-03-25 15:37:56 [SEVERE] at net.minecraft.server.NetworkManager.c(SourceFile:9) 2011-03-25 15:37:56 [SEVERE] at net.minecraft.server.NetworkReaderThread.run(SourceFile:62) Probably something you may want to take a look at maybe?
Which craftbukkit are you running on ? It seems to be a problem with casting the block state to a sign which can probably be fixed easily.
When I do /version I get this: This server is running Craftbukkit version git-Bukkit-0.0.0-544-g6c6c30a-b556jnks (MC: 1.3)
Hi guys, sorry to bother you all but I keep getting this weird error every so often that times out all users.... heres the error log, 19:01:55 [SEVERE] java.lang.ClassCastException: org.bukkit.craftbukkit.block.CraftBlockState cannot be cast to org.bukkit.block.Sign 19:01:55 [SEVERE] at us.Crash.Slots.SlotMachine.getSign(SlotMachine.java:88) 19:01:55 [SEVERE] at us.Crash.Slots.SlotRoller.run(SlotRoller.java:138) 19:01:55 [SEVERE] at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:122) 19:01:55 [SEVERE] at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:345) 19:01:55 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:272) 19:01:55 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:366) 19:01:55 [SEVERE] Unexpected exception java.lang.ClassCastException: org.bukkit.craftbukkit.block.CraftBlockState cannot be cast to org.bukkit.block.Sign at us.Crash.Slots.SlotMachine.getSign(SlotMachine.java:88) at us.Crash.Slots.SlotRoller.run(SlotRoller.java:138) at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:122) at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:345) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:272) at net.minecraft.server.ThreadServerApplication.run(SourceFile:366) 19:05:30 [SEVERE] java.net.SocketException: Connection reset 19:05:30 [SEVERE] at java.net.SocketInputStream.read(SocketInputStream.java:168) 19:05:30 [SEVERE] at java.net.SocketInputStream.read(SocketInputStream.java:182) 19:05:30 [SEVERE] at java.io.FilterInputStream.read(FilterInputStream.java:66) 19:05:30 [SEVERE] at net.minecraft.server.Packet.b(SourceFile:113) 19:05:30 [SEVERE] at net.minecraft.server.NetworkManager.f(SourceFile:155) 19:05:30 [SEVERE] at net.minecraft.server.NetworkManager.c(SourceFile:9) 19:05:30 [SEVERE] at net.minecraft.server.NetworkReaderThread.run(SourceFile:62) 19:07:18 [SEVERE] java.net.SocketException: Connection reset 19:07:18 [SEVERE] at java.net.SocketInputStream.read(SocketInputStream.java:168) 19:07:18 [SEVERE] at java.net.SocketInputStream.read(SocketInputStream.java:182) 19:07:18 [SEVERE] at java.io.FilterInputStream.read(FilterInputStream.java:66) 19:07:18 [SEVERE] at net.minecraft.server.Packet.b(SourceFile:113) 19:07:18 [SEVERE] at net.minecraft.server.NetworkManager.f(SourceFile:155) 19:07:18 [SEVERE] at net.minecraft.server.NetworkManager.c(SourceFile:9) 19:07:18 [SEVERE] at net.minecraft.server.NetworkReaderThread.run(SourceFile:62) 19:08:15 [SEVERE] java.net.SocketException: Connection reset 19:08:15 [SEVERE] at java.net.SocketInputStream.read(SocketInputStream.java:168) 19:08:15 [SEVERE] at java.net.SocketInputStream.read(SocketInputStream.java:182) 19:08:15 [SEVERE] at java.io.FilterInputStream.read(FilterInputStream.java:66) 19:08:15 [SEVERE] at net.minecraft.server.Packet.b(SourceFile:113) 19:08:15 [SEVERE] at net.minecraft.server.NetworkManager.f(SourceFile:155) 19:08:15 [SEVERE] at net.minecraft.server.NetworkManager.c(SourceFile:9) 19:08:15 [SEVERE] at net.minecraft.server.NetworkReaderThread.r
EDIT : I'm working on fixing this error... I think the event.getBlock() is returning a different type of block than it did before so hopefully I can stop that from happening(if not, I can at least stop it from throwing the exception, although a slot will break)
Hate to bother you, but has this been tested for 600+? EDIT: 602+ (specifically 605) has broken this, one of my favorite plugs. ):