no.

Discussion in 'Inactive/Unsupported Plugins' started by Crash, Mar 13, 2011.

  1. Offline

    Crash

    Attached Files:

    Flipp, Phaedrus, Loart and 4 others like this.
  2. Offline

    Arkantix

    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!
     
  3. Offline

    NEO

    @Crash

    Still having issues with slots saving on restart in .7 on cb 740. Perhaps an auto save feature would resolve the issue?
     
  4. Offline

    Arkantix

    @Crash
    Im getting this error:​
    exception: java.io.IOExcepction: Recevied string length longer than maximum allowed 17 > 15​
    Im using v0.8.1​
     
  5. Offline

    Crash

    It's on v0.8 and there is an auto-save feature
     
  6. Offline

    aaron

    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.
     
  7. Offline

    s1ck3st

    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?
     
  8. Offline

    Crash

    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 ?
     
  9. Offline

    aaron

    Just not seeing any...I thought it would tell everyone when someone wins :p
     
  10. Offline

    Crash

    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.
     
  11. Offline

    aaron

    Aww they are all false again..not sure when that happened.. Probably will work now but minecraft.net just went down :p

    EDIT: Works great now.. got tons of combos and greatness too.
     
  12. Offline

    flump9

    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?
     
  13. Offline

    Crash

    Do you have all the Permissions and is the slot created correctly ?
     
  14. Offline

    Teh_Bucket

    I like this idea but the default just gives everyone tons and tons of money really easy. Did anyone upload balanced slot settings?
     
  15. 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
     
  16. Offline

    aaron

    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
    
     
  17. Offline

    Arkantix

    no, i was trying the default configuration
     
  18. Offline

    Emimo

    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
     
  19. Offline

    flump9

    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?
     
  20. Offline

    Crash

    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. :p
     
  21. Offline

    NotoriousPyro

    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.
     
  22. Offline

    Crash

    This is still for iConomy 4. I'll update to 5 soon.
     
  23. Offline

    EwMeep

    icon 5 please D:
     
    CronicGamer likes this.
  24. Offline

    Emimo

    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
     
  25. Offline

    Arkantix

    nvm the problem was that i was not using 740 im not sure why lol.... U.U
     
  26. Offline

    Emimo

    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
     
  27. Offline

    Arkantix

    i thnk you should backup your slots AND type /slots save before stopping the server
     
  28. Offline

    Emimo

    oooh i see i didn't saw the /Slots Save command thanks :D
     
  29. Offline

    CronicGamer

    I am also waiting for this plugin to be iCon 5.. Cant wait!!
     
  30. Offline

    p3king

    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.
     
  31. Offline

    EwMeep

    waiting for update :(
     

Share This Page