New thread here : http://forums.bukkit.org/threads/econ-slots-v2-0-sign-based-slot-machines-1000.27920/ No.
Im definetely trying this. PS: iConomy just updated to 5.0. They say they changed the API, maybe you should check it just in case. Good Luck!
@Crash Still having issues with slots saving on restart in .7 on cb 740. Perhaps an auto save feature would resolve the issue?
@CrashIm getting this error:exception: java.io.IOExcepction: Recevied string length longer than maximum allowed 17 > 15Im using v0.8.1
I'm on latest and cb740 .. everything seems to work except the win announcements, all set to true. The lever thing is kinda cool I put redstone torches above the levers so i can see who's swinging away at them.
nice plugin with a looooooooooot of fun and of course addiction is it possible to refer to kinda bank account (with unlimited ressources), so no one owns a machine and just can loose or win money?
Do any of your rolls have a symbol longer than 1 character like DD, CHH, 99 etc What exactly is wrong with the win announcements ?
Hmm.. are you sure you reloaded ? And also try saving and looking at the rolls.txt file. Tell me if it turns the announce-wins back to false.
Aww they are all false again..not sure when that happened.. Probably will work now but minecraft.net just went down EDIT: Works great now.. got tons of combos and greatness too.
I downloaded this but whenever i tried to create a slot,nothing happened!I have recently updated to build 740 and updated iconomy but this wont work!Any help?
I like this idea but the default just gives everyone tons and tons of money really easy. Did anyone upload balanced slot settings?
Works great, the 3rd symbol doesn't show up though... I've created a quite balanced config for my server, however, the "multiply-3-in-a-rows: false" doesn't work. For example: When someone rolls 3 "One's" in a row, they get 500 (20 x 25) instead of only 20... Here are my configs: (combos.txt is empty) Slotmachine in-game: Cost per roll: 25 config.yml: tick-delay: 40 op-only: true require-ownership: false multiply-combo-payout: false combo-order-matters: true connect-to-accounts: false backup-slots: false save-on-shutdown: true multiply-3-in-a-rows: false rolls.txt: name=Six symbol=6 pay=500 chance=4 color=6 name=Five symbol=5 pay=250 chance=6 color=5 name=Four symbol=4 pay=200 chance=10 color=3 name=Three symbol=3 pay=100 chance=15 color=2 name=Two symbol=2 pay=50 chance=25 color=15 name=One symbol=1 pay=20 chance=40 color=8
Here are my current rolls/combos. All the chances are the same so it is completely random. Rolls.txt Code: name=Red 7 symbol=7 pay=64 chance=10 color=4 announce-win=true name=Blue 7 symbol=7 pay=32 chance=10 color=1 announce-win=true name=White 7 symbol=7 pay=16 chance=10 color=15 announce-win=true name=Green 7 symbol=7 pay=16 chance=10 color=2 announce-win=true name=Amber 7 symbol=7 pay=8 chance=10 color=6 announce-win=true name=Double Bar symbol=B pay=6 chance=10 color=15 announce-win=true name=Bar symbol=B pay=5 chance=10 color=7 announce-win=true name=TNT symbol=T pay=2 chance=10 color=4 announce-win=true name=Cherry symbol=C pay=2 chance=10 color=4 announce-win=true name=BACON symbol=~ pay=100 chance=10 color=12 announce-win=true Combos.txt Code: BACON:BACON:Cherry=2.5 BACON:BACON:TNT=2.5 BACON:BACON:Bar=2.5 BACON:BACON:Double Bar=2.5 BACON:BACON:Amber 7=2.5 BACON:BACON:Green 7=2.5 BACON:BACON:White 7=2.5 BACON:BACON:Blue 7=2.5 BACON:BACON:Red 7=2.5 Cherry:Cherry:BACON=0.5 Cherry:Cherry:TNT=0.5 Cherry:Cherry:Bar=0.5 Cherry:Cherry:Double Bar=0.5 Cherry:Cherry:Amber 7=0.5 Cherry:Cherry:Green 7=0.5 Cherry:Cherry:White 7=0.5 Cherry:Cherry:Blue 7=0.5 Cherry:Cherry:Red 7=0.5 TNT:TNT:BACON=2 TNT:TNT:Cherry=2 TNT:TNT:Bar=2 TNT:TNT:Double Bar=2 TNT:TNT:Amber 7=2 TNT:TNT:Green 7=2 TNT:TNT:White 7=2 TNT:TNT:Red 7=2 TNT:TNT:Blue 7=2 Bar:Bar:BACON=0.3 Bar:Bar:Cherry=0.3 Bar:Bar:TNT=0.3 Bar:Bar:Double Bar=0.3 Bar:Bar:Amber 7=0.3 Bar:Bar:Green 7=0.3 Bar:Bar:Blue 7=0.3 Bar:Bar:White 7=0.3 Bar:Bar:Red 7=0.3 Double Bar:Double Bar:BACON=0.4 Double Bar:Double Bar:Cherry=0.4 Double Bar:Double Bar:TNT=0.4 Double Bar:Double Bar:Bar=0.4 Double Bar:Double Bar:Amber 7=0.4 Double Bar:Double Bar:Green 7=0.4 Double Bar:Double Bar:White 7=0.4 Double Bar:Double Bar:Blue 7=0.4 Double Bar:Double Bar:Red 7=0.4
Just wanted to know is there a value that could act like ''any roll'' in the combo code ? if i'm using your exemple : Bar:Cherry:Bar=75,Super bar,true Well is their a way to make it like something like this Bar:*:Bar= .... So that if i got Two Bar with any rolls between them it will work ? Thanks
Crash no i dont have permissions.Yes i tried about 5 times to make the slot.Do i need permissions?if i do can u post a link?
I'm not sure what could be causing the error.. did you get it again or every time you try it ? Look at the console, if it says it's using OP-Only then make sure you're an op. Also, does /slots create give you anything at all ? Like, "Left click blah blah...." I could add in * but that means no roll name can be * anymore.
I put the sign down and then type /slots create, I click the sign and get this message in server.log: Code: 2011-05-04 19:49:57 [SEVERE] Could not pass event PLAYER_INTERACT to Slots java.lang.NoClassDefFoundError: com/nijiko/coelho/iConomy/iConomy at us.Crash.Slots.Slots.accountExists(Slots.java:69) at us.Crash.Slots.PListener.onPlayerInteract(Slots.java:1186) at org.bukkit.plugin.java.JavaPluginLoader$9.execute(JavaPluginLoader.java:254) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:257) at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:162) at net.minecraft.server.ItemInWorldManager.dig(ItemInWorldManager.java:64) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:433) at net.minecraft.server.Packet14BlockDig.a(SourceFile:42) at net.minecraft.server.NetworkManager.a(NetworkManager.java:195) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:74) at net.minecraft.server.NetworkListenThread.a(SourceFile:100) at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:370) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285) at net.minecraft.server.ThreadServerApplication.run(SourceFile:394) Caused by: java.lang.ClassNotFoundException: com.nijiko.coelho.iConomy.iConomy at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:36) at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:24) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) ... 15 more I am using build 740, with iConomy 5.
Well Usually it's that Symbol ''*'' But don't you already have a value that could mean any roll ? ''No need to be * absolutely Sometimes it can be be something like %AnyValue% or other exemple'' Sorry It's kinda hard to explain it since English isn't my first language... I hope you understood what i meant
And one more thing... Is it normal That I always need to Recreate everyslots each time i restart my server or change some configuration ? I kinda run a casino so it's pretty long to re-create them everytime ^^'' Thanks again
Hi, im having an isse with saving slots. I create the slots and then try to save them by typing /slots save. It seems that it saves them once after each server restart (i look into slots.txt and see them) but typing it a second time will clear the slots.txt to 0 bytes. I then deleted the slots.txt and tried again. It only creates a new slots.txt but its still 0 bytes. The created slots still work. In console i get the error: [INFO] [Slots]Error writing slots file. Edit: Seems to work if i load every single time before i save. So /slots save wont work, but /slots load and then /slots save does.