Inactive [MECH] PailStone v4.0 - A redstone extension [2034]

Discussion in 'Inactive/Unsupported Plugins' started by Hafnium, Feb 28, 2011.

  1. Offline

    Hafnium

    Eonz PailStone
    A Redstone Extension


    Version: v4.0 (download)

    Permissions: Any

    Do you like this plugin? Help a poor student out, and toss me a few bucks!
    [​IMG]


    New version control setup coming soon.​

    Features:
    • :logic IC signs to simplify redstone logic gates and save space.
    • :logged IC detect if a player is in the world.
    • :item IC spawns item drops.
    • :ctime IC signs to check the time.
    • :send and :recv transmit signals wirelessly.
    • :sensor senses players withing a certain area.
    • :spawn IC spawns mobs.
    • :cuboid IC changes up to 100 blocks at a time
    • :bolt IC to spawn lightning
    • :disp IC to send you text from anywhere when redstone power is applied!
    • :announce IC to display messages to everyone in an area.
    • :trigger IC to turn on redstone power from anywhere.
    • :cweather IC to sense the weather conditions.
    And MORE! Full List


    Changelog:

    4.0:
    • Major overhaul of all systems.
    • Some significant syntax changes.
    3.8:
    • Added :area
    • Added /ps area
    • Added :arrow
    • Added :teleport
    • Added /ps coord
    3.7
    • Added pulse
    • Permissions Overhaul
    3.6

    • Added :click and :count.
    • Added support for PermissionsEx and Bukkit permissions.
    • Made PermissionsEx the default choice for permissions.
    Old Changelog (open)

    3.5
    • Added :delay, :toggle, :clock, :rand
    3.4
    • Fixed minor errors in text prompts
    • Added :item, :logged
    • Added config file
    • Added sign wipe protection to combat standing bugs in vanilla minecraft (toggleable in config)
    • Added variable cuboid limit, settable in config.
    • (3.4.1) Fixed error when triggering :trigger signs from console.
    3.3
    • Fixed bug with a single input not working when extra inputs were wired.
    • Fixed bug where signs with blank lines would not always load.
    • Optimization.
    3.2
    • Added :cweather
    • Added data values to :cuboid
    • Fixed bug where :send signs fired in rapid succession would not always trigger their :recv signs.
    3.1
    • Added :disp
    • Added :announce
    • Added :trigger (previously :command)
    • Bugfixes (Thanks, Ollieboy)
    3.0
    • Total rewrite. New release.
    2.3
    • Various bug fixes.
    • Signs names, not arguments, are now colored.
    • Updated for 602.
    2.2
    • Fixed major bug in the :cuboid IC regarding build limits. (Thanks to kenohki for pointing it out)
    • Added :twire IC to detect players in cuboid areas.
    2.1
    • Started work on IC scripting language. (Unreleased)
    • :spawn IC
    • :cuboid IC
    2.03
    • Updated to 556 to capitalize on the chunk ghosting glitch fix. The chunk ghosting glitch was causing spontaneous sign unloading.
    • Various bug fixes.
    • Pulled all code onto the main thread to stop concurrency errors.
    2.02
    • Fixed a major bug that caused signs to sometimes spontaneously unload.
    • Fixed proximity's sensor range bug
    • Temporary bugfix for levers not triggering signs. (This is a craftbukkit problem. I put in a hacky solution)
    • Added config file.
    • Added ability to set data values of blocks with :set (fourth line)
    • Updated for CraftBukkit 531
    2.01
    • Removed reference to Block.getRawData()
    • Updated for CraftBukkit 527
    2.0
    • Redid backend entirely.
    • Added : proximity
    • Added :send and :recv
    • Removed (maybe temporarily) : players
    1.8
    • Major bugfix.
    1.7
    • Added :command
    1.6
    • Minor bugfixes to :set.
    • General bug fixes.
    • Added players sign.
    1.5
    • Major bugfix. (Thanks GagaPeter)
    • Added :rand sign.
    • Modified the :disp sign.
    1.4
    • Added support for Permissions 2.5+
    • Added :set
    • A few bug fixes.
    1.3
    • Fixed a bug that broke :ctime signs in some cases.
    • Auto-toggling ICs now fix their output levers if a player flips it.
    1.2
    • Fixed code that still referred to the plugin by its old name.
    • Added support for automatically toggling signs.
    • Added :ctime and :logged
    1.1
    • First Public release.
    • Added :logic and :disp
     
    sinkir and furekusu like this.
  2. Offline

    xibit1987

    ok so now i tried the new version and thumbs up for the new IC's... BUT... there is like 2-10 sec delays in wireless running latest recommended craftbukkit 531. There is no errors in server console. No change on 527
     
  3. Offline

    scott1997880

    :proximity not working type it in and it changes the [value] to ERROR in red and doesnt work
     
  4. Offline

    Fugensnot

    Well I made a giant Activity bar that displayed how many users were online XD Yeah it was gaggy, but still cool. Don't worry :3 Don't love the plugin any less xD Making a digital clock now :3
     
  5. Offline

    xibit1987

    also can you pleas make it more simple since the "~" symbol is one of those you have to dubble tap on scandinavian keybords ingame to get it.
    And i think the delay is because of the multiple Band+Channel check and it checks permissions and such. Some times simple is better :)
    [MERGETIME="1299788251"][/MERGETIME]
    Proximity is working like a charm SO AWESOME!
     
  6. Offline

    Hafnium

    Comparing one extra pair of strings isn't going to add any noticeable lag. The issue is with bukkit's REDSTONE_CHANGE event not firing properly. I'm going to stuff all of the signs on a one-second update tick until the proper event gets fixed. I'll see about another symbol. How does the @ sign do on your keyboards?
     
  7. Offline

    xibit1987

    also pleas use cuboid instead of sphere since the sphere detection area is waaaay off it's like 2 blocks on one side and 3,5 block the other side.

    Instead you can use the block as a starting point.
    so if the sig text was like this:
    • : proximity
    • N01,S00,E02,W01
    • U01,D02
    Maybe some point in the future line 4 could be player/mob specific

    But here is how it would look like ingame (glass = area to detect)
    [​IMG]
    [MERGETIME="1299795229"][/MERGETIME]
    no issues there :)
     
  8. Offline

    Fugensnot

    Question: Do :send signs need levers?
    [MERGETIME="1299813972"][/MERGETIME]
    Nevermind, figured it out. Problem however. I've made a :set sign but when I toggle the power to it, it only changes the block to the "LOW" block but never sets the "HIGH" block
    [MERGETIME="1299822617"][/MERGETIME]
    Why does this happen when I log off? Or someone else logs on?[​IMG]
     
  9. Offline

    Hafnium

    That's really not good. I'll take a look.

    CUBOID DETECTION! I love it. I'll set something up.
     
  10. Offline

    Fugensnot

    Thanks >w< I'm sorry for bringing all these issues to the table >:
     
  11. Offline

    xibit1987

    So you get the idea what i meant about the sign :) I did all I could to make the idea complete so you had some thing to work from :)
    [MERGETIME="1299877397"][/MERGETIME]
    Damn, your still using "~" for global band :/
     
  12. Offline

    Arisilde

    Check the old Fortification mod for hmod for some other cool ideas. That guy said he would port it, but he never did. You could add those features to your mod and take it over :D
     
  13. Offline

    Fugensnot

    First off, before ANYTHING, I want to express my gratitude for this plugin. I love it, it's very useful and very fun to play with. Thank you. And thank you for addressing the problems I've brought up and fixing them.

    Secondly, Sorry. I'm very sorry I keep running into problems with this plugin. I feel like I'm the only one who spams this thread with post after post of error screen caps. And I'm sorry for making you do extra work just to get this plugin to work.

    And finally, my issue...
    I went ahead and updated after seeing you had addressed my signs unloading issue and after removing the \pailstone folder from my plugins directory and doing a fresh install of the pailstone plugin, I set about replacing every sign in my clock. There were alot of signs to replace, so as you can imagine, I made some mistakes. When I realized my mistake, I went ahead and broke the sign, but for good measure I opened up the server console to make sure the sign was reported to be dropped. It didn't get reported dropped... I figured "Hmm.. maybe that logging got removed or summing", then replaced the sign with the correct sign and a few ticks later an error popped up. Worried that I would have to redo the signs again, I stepped out of the server and stopped it, hoping that a restart might fix the issue. Only to be greeted by this:
    [​IMG]
    [MERGETIME="1299901908"][/MERGETIME]
    Here's an image of the error I get when I break a sign and it doesn't get reported dropping:[​IMG]
     
  14. Offline

    Hafnium

    I need your craftbukkit version, and I'll take a look at the code tomorrow.
     
  15. Offline

    Fugensnot

    CB531
     
  16. Offline

    lolmensem

    I stop the server,
    I start the server
    Now al the signs that i made doesnt work anymore :S
     
  17. Offline

    Fugensnot

    this sounds like my old problem. which version of Pailstone are you using?
     
  18. Offline

    Hafnium

    Craftbukkit is doing some weird things to chunks. It looks as if somethimes it reports the entire chunk to be air blocks, which of course would cause the pailstone signs to break. No sign, no effect. I'll be doing some heavy debug this weekend it seems.
     
  19. Offline

    Fugensnot

    Actually eventually the signs seem to fix themselves and its easy to isolate where the issues are and replace those 1 or two misbehaving signs.

    Another issue I've come across is with the ctime signs. Sometimes they become convinced that it's only a certain time of day. e.g. My clock has several ctime signs in it. Sometimes the clock will stick to a certain hour like it'll think it's 1000 when it's obviously midnight (~17000), I'll go and try to switch the lever to off behind the :ctime 1000 2000 sign and it'll flip itself back on (i.e. it's convinced that the time is between 1000 and 2000). This seems fixable with a server reset tho, and then the clock goes back to working normally. I don't think this is a Pailstone issue as much as it is a CB issue.
     
  20. Offline

    Gric

    Ok, I would like to see some more options for the set sign, if it's possible and not too hard:
    First the limit of 20 distance could be higher. And second I would love to see, if I could set more than one stone with a single, something like this would be a good start:

    :set
    SOUTH 3-5
    20 1

    So now three blocks are changed between stone and glass. It would make it a lot easier to create bigger things.
     
  21. Offline

    Hafnium

    Gric, I toyed with that concept, but I don't think I'm going to. You can just use craftbook's toggle areas for that.

    I've noticed this myself, and its not signs in the entire server either, its just the signs in one chunk. Other plugins that store blocks like LWC are also having similar problems in the same chunks at the time, so I'm lead to believe that the problem is external to my code. I've laced the version I run on my server with tons of debug code, and I'll be trying to identify the problem over the next few days. If anyone else is having this problem, please give me as much information about what signs you have, what you were doing before they broke, etc, etc.
     
  22. Offline

    Fugensnot

    New report: I restarted the server, and the problem fixed. Then I had to leave for a while. During this time the server was empty. I returned to find that the clock had stopped again. Funnily enough on the exact same time, 8000~9000.
     
  23. Offline

    Hafnium

    It sounds like i have specific problems with my :ctime sign. I'll look into it.
     
    Fugensnot likes this.
  24. Offline

    Planitia

    Nice plugin. I'll give it a go on my servers
     
  25. Offline

    xibit1987

    wireless sign wasn't working on my server suddenly, no errors in my server log, so just restarted the server and got this :/
    Code:
    02:49:52 [SEVERE] org.bukkit.craftbukkit.block.CraftBlockState cannot be cast to
     org.bukkit.block.Sign loading PailStone v2.02 (Is it up to date?)
    java.lang.ClassCastException: org.bukkit.craftbukkit.block.CraftBlockState canno
    t be cast to org.bukkit.block.Sign
            at net.eonz.bukkitplugin.pailstoneduo.signs.SignType.create(SignType.jav
    a:63)
            at net.eonz.bukkitplugin.pailstoneduo.signs.SignType.create(SignType.jav
    a:56)
            at net.eonz.bukkitplugin.pailstoneduo.signs.SignHandler.loadSigns(SignHa
    ndler.java:89)
            at net.eonz.bukkitplugin.pailstoneduo.PailStone.onEnable(PailStone.java:
    113)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:118)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader
    .java:451)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage
    r.java:217)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:83)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:61)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:204)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:191)
            at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:131)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:246)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    running CraftBukkit 531


    SOLUTION (NOT RECOMMENDED):
    Delete the whole PailStone folder in plugins and it works again, but downside is that you have to redo all signs again :/
     
  26. Offline

    dacyai

    I made a bunch of wireless transmission signs and eventually restarted the server (using 'stop') and relogged, etc, and when I came back 3/4 or more of the signs weren't working. It's particularly difficult to work with because they all have the appearance that they're supposed to work but many don't. The wireless transmission aspect of this mod is absolutely awesome and makes large redstone projects so much nicer. If this functionality worked well I would rely heavily on this mod for my projects. There are 15-16 entries in the signLocations.yml file (in the Do Not Edit folder) whereas I'm sure I made more than 70 signs. I'm not quite sure where it happened in my log file but I'm sure I never destroyed so many signs in a row as is found here:

    2011-03-12 14:14:33 [INFO] [PailStone] Dropping Sign.
    2011-03-12 14:14:33 [INFO] [PailStone] 55 vs 68
    2011-03-12 14:14:33 [INFO] [PailStone] Dropping Sign.
    2011-03-12 14:14:33 [INFO] [PailStone] 55 vs 68
    2011-03-12 14:14:33 [INFO] [PailStone] Dropping Sign.
    2011-03-12 14:14:33 [INFO] [PailStone] 55 vs 68
    2011-03-12 14:14:33 [INFO] [PailStone] Dropping Sign.
    2011-03-12 14:14:33 [INFO] [PailStone] 55 vs 68
    2011-03-12 14:14:33 [INFO] [PailStone] Dropping Sign.
    2011-03-12 14:14:33 [INFO] [PailStone] 55 vs 68
    2011-03-12 14:14:33 [INFO] [PailStone] Dropping Sign.
    2011-03-12 14:14:33 [INFO] [PailStone] 55 vs 68
    2011-03-12 14:14:33 [INFO] [PailStone] Dropping Sign.
    2011-03-12 14:14:33 [INFO] [PailStone] 55 vs 68
    2011-03-12 14:14:33 [INFO] [PailStone] Dropping Sign.
    2011-03-12 14:18:10 [INFO] [PailStone] Creating send sign.
    2011-03-12 14:18:10 [INFO] [PailStone] Saving Signs
    2011-03-12 14:25:53 [INFO] [PailStone] Creating send sign.
    2011-03-12 14:25:53 [INFO] [PailStone] Saving Signs
    2011-03-12 14:26:11 [INFO] [PailStone] 0 vs 68
    2011-03-12 14:26:11 [INFO] [PailStone] Dropping Sign.
    2011-03-12 14:26:11 [INFO] [PailStone] 0 vs 68
    2011-03-12 14:26:11 [INFO] [PailStone] Dropping Sign.
    2011-03-12 14:26:11 [INFO] [PailStone] 0 vs 68
    2011-03-12 14:26:11 [INFO] [PailStone] Dropping Sign.
    2011-03-12 14:26:11 [INFO] [PailStone] 0 vs 68
    2011-03-12 14:26:11 [INFO] [PailStone] Dropping Sign.
    2011-03-12 14:26:11 [INFO] [PailStone] 0 vs 68
    2011-03-12 14:26:11 [INFO] [PailStone] Dropping Sign.
    2011-03-12 14:26:11 [INFO] [PailStone] 0 vs 68
    2011-03-12 14:26:11 [INFO] [PailStone] Dropping Sign.
    2011-03-12 14:26:11 [INFO] [PailStone] 0 vs 68
    2011-03-12 14:26:11 [INFO] [PailStone] Dropping Sign.

    I'd love to see this mod work well and I'll help with any info I can. Thanks for a great idea, and hope to hear from you.
     
  27. Offline

    Freakling

    This looks like a great addon, but is there anyway to disable some of the gates?
    I only want to use :logic on my server.

    edit: perhaps rand and some others too. (want to keep it close to vanilla, no overpower stuff. Wanna save space :) )

    If you can add something like "disabled-runes.txt" that runecraft has this would be awesome!
     
  28. Offline

    Hafnium

    As of right now, the only way to disable gates is with permissions. The permissions for each gate is pailstone.(display name), so, pailstone.rand, pailstone.set, pailstone.logic, etc.
    [MERGETIME="1300207478"][/MERGETIME]
    Please update your craftbukkit to 556. There was a glitch that was causing signs to unload in craftbukkit 531.
     
  29. Offline

    Freakling

    Will have to install permissions i guess.

    I'm still kind of newbish but when i unzipped pailstone i got 2 folders and 4 files.
    Nowhere on the homepage are there intall instructions and the readme file is empty.

    Do i have to inject the meta-inf, net folders and the .classpath, .project and .yml file into CraftBukkit?

    I altso see there are some sign files under \net\eonz\pail\stone\signs. If i delete for example "SetSign.class" and "SetSign.java" before i inject them into CraftBukkit will they not work anymore? Would be a great solution to my problem that no-one, not even OPs can use certain signs.

    Thanks in advance. And once again i love the look of this.
     
  30. Offline

    Hafnium

    Aha, no. Don't unzip anything. Just put the .jar file in your plugins directory. That's how you install any other plugin on here, so I didn't think to put instructions up. Deleting those files, however, may actually work, but you'd be getting errors in console. No promises on that one.
     
  31. Offline

    Bricke1994

    I really need help i get the signs placed and i get the yellow font on them that tells me i did it but i dont know how to get the electric signal from one to another ive tried the instructions and no luck plz help im doing blasting and this would be great?
    [​IMG]
     

Share This Page