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

    aaron

    [​IMG]
     
    Crash likes this.
  3. Offline

    GhislainM

    Help please i love this plugin :(
     
  4. Offline

    Crash

    I'll add that to v0.7

    For all the people having issues with an iConomy exception, I don't think it's my plugin, just update to the latest iConomy and CB, then try again. I'm running CB 677 with iConomy 4.6.5 and it doesn't give me anything.

    I could have it send output out of the back when you win :)
    About the payout % I think I already have that in here. If you mean winnings are multiplied by the cost of the machine then yes.
     
  5. Offline

    GhislainM

    i have the latest version of craftbukkit 677 and iconomy 4.6.5 by kenza and already the same error :(
     
  6. Offline

    Crash

    Well I have no clue what the problem could be. Does it not give you this when Slots is not in the plugins folder ?

    Also I added EssentialsEco but it was a bitch to add, but it's in in, I absolutely hate that plugin. Not going to bother testing it because it should work, tell me about any bugs next version.
     
  7. Offline

    aaron

    Oh i mean per machine.. in the slots file.. so each machine could have either no multiplier or a specific one.. instead of all machines having the multiplier. I have had this up for 2 days and there's already 4 huge casinos filled with slots. Hundreds of millions of dollars have already been won and lost... it's CRAZY fun.

    Also if you could let users /slot buy to buy a slot machine and associate with their account that would kick ass.

    Oooh and /slot info [while pointing at a slot sign] to display owner

    ** the power output thing would be so awesome

    Feel free to drop in at baconcraft.us We'll test the hell out of anything :p
     
  8. Offline

    Crash

    /slot info is actually already in there, it shows the owner of the machine (if there is one meaning it's hooked up to an account)

    About /slots buy for buying an machine, I can add that in so that if the slot machine is owned by nobody then it'll get hooked up to their account. I'll also maybe add in a config option to have it so that people take/fill the slot machine with money so it doesn't get directly taken out of that person's account.
     
  9. Offline

    aaron

    Machine filling: wow that is crazy too... when it empties you could change the x|x|x to OUT OF ORDER ...

    Can we get free drinks and cigars now?

    ** You should have a donate button.
     
  10. Offline

    GhislainM

    @ Crash,

    No i have uploaded the jar file in the folder plugins.

    Also i have other plugins :
    Tpack
    Signcolours
    RealShop
    Proppertime
    Permissions
    MinecartMania
    Lockette
    Iconomy 4.6.5
    Dynmap
    EcoCreature
    Essentials

    and
    SLots 1.6 :/
    but when i upload and reboot my server , i have no access to /money pay /money top ect ... and
    java.lang.IllegalAccessError: essayé d'accéder à com.nijiko.coelho.iConomy.iConomy classe $ Listener de com.nijiko.coelho.iConomy.iConomy classe
    à com.nijiko.coelho.iConomy.iConomy.onEnable (iConomy.java: 174)
    à org.bukkit.plugin.java.JavaPlugin.setEnabled (JavaPlugin.java: 127)
    à org.bukkit.plugin.java.JavaPluginLoader.enablePlugin (JavaPluginLoader.java: 578)
    à org.bukkit.plugin.SimplePluginManager.enablePlugin (SimplePluginManager.java: 216)
    à org.bukkit.craftbukkit.CraftServer.loadPlugin (CraftServer.java: 115)
    à org.bukkit.craftbukkit.CraftServer.loadPlugins (CraftServer.java: 93)
    à net.minecraft.server.MinecraftServer.e (MinecraftServer.java: 215)
    à net.minecraft.server.MinecraftServer.a (MinecraftServer.java: 202)
    à net.minecraft.server.MinecraftServer.d (MinecraftServer.java: 142)
    à net.minecraft.server.MinecraftServer.run (MinecraftServer.java: 257)
    à net.minecraft.server.ThreadServerApplication.run (SourceFile: 375)
     
  11. Offline

    aaron

    If you are opped you should have every command available. Make sure you're listed in ops.txt (or the database if using MYSQL)
     
  12. Offline

    gsand


    It's Essentials.

    Open Essentials.jar with 7 zip open plugin.yml, search for the word money, and remove it.
    Restart your server. and the money command will work.
     
  13. Offline

    GhislainM

    really? omg if is work i love you!

    i have tested and i have the same problem. but thank you for you help :(

    Omg work fine with 0.7 Thanks!!!!!!! :)

    Can you add a french translation for this pluggin?

    "Vous obtenez un '7' " Rolled a
    "Vous obtenez un 'J' "
    "Vous obtenez un 'H' "
    "Desole vous avez perdu!" > lose
    "Bravo, tu gagnes xx Money!" > win

    mhh i have a little problem, when i modify my rolls.txt and i reboot the server, my cfg is not saved and rolls.txt is rewrite by defaut??

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 12, 2016
  14. Offline

    Crash

    Set save-on-shutdown to false in the config file so it doesn't save when you shutdown the server and overwrite all the values in the save file. That or use /slots load while ingame to reload the new settings.
     
  15. Offline

    GhislainM

    Thank you ! Work's fine !!
     
  16. Offline

    aaron

    Oh I broke my rolls somehow...sometimes getting roll did not match random number

    Code:
    name=Jackpot
    symbol=J
    pay=100
    chance=1
    color=13
    
    name=Money
    symbol=X
    pay=50
    chance=2
    color=5
    
    
    name=Red 7
    symbol=7
    pay=20
    chance=3
    color=12
    
    name=White 7
    symbol=7
    pay=15
    chance=4
    color=15
    
    name=Blue 7
    symbol=7
    pay=12
    chance=6
    color=9
    
    name=Heart
    symbol=H
    pay=10
    chance=14
    color=11
    
    name=Treasure
    symbol=T
    pay=8
    chance=10
    color=14
    
    name=Double Bar
    symbol=B
    pay=6
    chance=9
    color=1
    
    name=Bar
    symbol=B
    pay=3
    chance=11
    color=9
    
    name=Orange
    symbol=O
    pay=3.75
    chance=10
    color=6
    
    name=Grape
    symbol=G
    pay=2.5
    chance=16
    color=5
    
    name=Cherry
    symbol=C
    pay=2
    chance=14
    color=4
    
     
  17. Offline

    Crash

    Remove the extra space between Money and Red 7
     
  18. Offline

    aaron

    Removed extra space, still does it though :p
     
  19. Offline

    Mason6364

    @aaron

    your rolls have to be in fraction form and all the fractions have to add up to 1
    unless he updated it and i didnt see it that is
     
  20. Offline

    aaron

    Mason6364: Yep, updated.

    OK it all works great now.. with tons of combos and rolls.. (win multiplier = true and combo-order-matters=FALSE if you use this)

    rolls.txt
    Code:
    name=Jackpot
    symbol=J
    pay=1000
    chance=10
    color=13
    
    name=Money
    symbol=X
    pay=500
    chance=10
    color=5
    
    name=Green 7
    symbol=7
    pay=200
    chance=10
    color=2
    
    name=Red 7
    symbol=7
    pay=150
    chance=10
    color=12
    
    name=White 7
    symbol=7
    pay=100
    chance=10
    color=15
    
    name=Blue 7
    symbol=7
    pay=60
    chance=10
    color=9
    
    name=Heart
    symbol=H
    pay=40
    chance=10
    color=11
    
    name=Double Bar
    symbol=B
    pay=20
    chance=10
    color=1
    
    name=Bar
    symbol=B
    pay=10
    chance=10
    color=9
    
    name=Cherry
    symbol=C
    pay=2
    chance=10
    color=4
    
    combos.txt
    Code:
    Red 7:White 7:Blue 7=100
    Red 7:White 7:Green 7=50
    Red 7:White 7:Red 7=50
    White 7:White 7:Blue 7=50
    White 7:White 7:Green 7=50
    White 7:White 7:Red 7=50
    Green 7:Green 7:Blue 7=50
    Green 7:Green 7:Red 7=50
    Green 7:Green 7:White 7=50
    Blue 7:Blue 7:Red 7=50
    Blue 7:Blue 7:Green 7=50
    Blue 7:Blue 7:White 7=50
    Green 7:White 7:Blue 7=75
    Bar:Cherry:Bar=25
    Cherry:Cherry:Jackpot=100
    Cherry:Cherry:Money=75
    Cherry:Cherry:Green 7=50
    Cherry:Cherry:Red 7=40
    Cherry:Cherry:White 7=30
    Cherry:Cherry:Blue 7=25
    Cherry:Cherry:Heart=20
    Cherry:Cherry:Double Bar=10
    Cherry:Cherry:Bar=7
    Bar:Bar:Double Bar=5
    Cherry:Jackpot:Jackpot=25
    Cherry:Money:Money=21
    Cherry:Green 7:Green 7=17
    Cherry:Red 7:Red 7=13
    Cherry:White 7:White 7=9
    Cherry:Blue 7:Blue 7=5
    Cherry:Heart:Heart=3
    Cherry:Double Bar:Double Bar=2
    Cherry:Bar:Bar=1
    
    
     
  21. Offline

    GhislainM

    I have a little suggestion for this plugin.
    Can you add a control with "lever" or "stone button" for start the rolling? it's more realist
    (sorry for my bad english) :)
     
  22. Offline

    Blazednlovinit

    one question, i had difficulty when i used this before because the house always seemed to lose in the longrun... aka the slots were a MINT for players and i was scared to use for breaking the economy. hyperinflation and all that pop XD. does your configuration above mean that the house will always win if someone sits at a machine long enough? (ie like real life :p)
     
  23. Offline

    chernobyl360

    Wow Holy Crap dont use slots on 706# it cuases the server to crash and hang. it kicks people out.

    [​IMG]

    Uploaded with ImageShack.us
     
  24. Offline

    Crash

    Post your rolls file, I think I might know what is wrong. You were rolling when it crashed right ?
     
  25. Offline

    Loart

    Just letting you know, the third thing rolled is now not showing with ver 712. The sign shoes "X | 4 | " Something like that.

    Also a few suggestions that I think are previously posted.
    -Having a button or switch to activate it. Next to the sign or below it.

    -Ability in the config file to turn on/off win notifications to server. Maybe even more customizable where you can set indivisibly winning to announce like:
    Code:
    name=Jackpot
    symbol=J
    pay=1000
    chance=10
    color=13
    announce=true/false
    And then combos
    Code:
    White 7:White 7:Red 7=50;True/false
    Something along those lines would be useful.

    -Ability to add item winnings? Say you Land on Jackpot, jackpot, jackpot. You get your X coins, but then 10 diamonds.

    -Ability to disable three of a kind multipliers. Was working on setting up a one price for slot machines, and trying to figure everything out around a penny slot machine where everything multiplies is hard.

    -Change the block the sign is on when winning? Flash it as a glowstone or something else?


    Some of these ideas I thought of taking on myself and try since I was wanting to get back into coding but saw you didn't share your source or I'm too much of an idiot to find it.
     
  26. Offline

    AngusBeefcakes

    Ok. So whenever I restart my server all the config/rolls/combo files get DEFAULTED. Any idea why? I'm running all this at servercraft.co Minecraft Server Hosters
     
  27. Offline

    chernobyl360

    yes.ill post the rolls file when Brohoster can fix the TCAdmin
     
  28. Offline

    Crash

    Right now I'm going to work on figuring out what's wrong with the rolling it might be a craftbukkit bug or something I'm not sure. For v0.8 I plan to add these features :
    • Ability to have signs rolled when powered by redstone directly or indirectly (config option to choose directly or indirectly)
    • Names for combos
    • Annoucement of winning a combo / winning a 3 in a row
    • Ability to turn off multiplier for 3 in a row wins
    • Possibly connecting to a redstone torch which will be sent output when you win.
    Did you edit while the server was running ? If so, you want to reload the changes you made before shutting down the server by using /slots load OR turn off save-on-shutdown in the config file ( probably better to do /slots load instead )
     
  29. Offline

    Loart

    Thanks for the response. As for connecting redstone torch, do you plan to require the sign to be on a block? I like the plugin and can't wait to see more from it. Or make the sign flash red stone torches all within a 1 area around it.
     
  30. Offline

    chernobyl360

    ok finally. i was able to get to the rolls file.

    Code:
    name=Jackpot
    symbol=J
    pay=10000
    chance=1/8
    color=13
    
    name=Red 7
    symbol=7
    pay=3000
    chance=1/8
    color=12
    
    name=Cherry
    symbol=C
    pay=1000
    chance=1/6
    color=4
    
    name=Heart
    symbol=H
    pay=500
    chance=1/4
    color=11
    
    name=Bar
    symbol=B
    pay=100
    chance=1/3
    color=10
    
    
     
  31. Offline

    Crash

    I've figured out the problem and it's kinda bad...

    For all the people waiting for v0.8 it might be a little delayed, minecraft recently changed the limit of characters on signs which will cause problems (I don't know why it was changed it's kinda stupid unless it's for memory saving). So, I'm going to need to change around the way rolling happens, it will probably not change that much.
    Sorry for the delay.
     

Share This Page