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

    speed415

    i can't seem to get the send and recv to work do you power the send sign? could you post a screenshot maybe
     
  3. Offline

    Hafnium

    Um, easiest way tonight would be for you to give my your IP. I'll work on screenshots for the signs eventually.
     
  4. Offline

    molster

    I as well am unable to get the send and recv to work at all, could you possibly give any debugging tips?

    I have a sign
    :send
    a
    ~mol

    it has power (GOING TO THE FRONT)


    Have another sign about 5 blocks away for testing
    :recv
    a
    ~mol

    with redstone attached to it (front and back for testing)

    nothing every happens when input changes. Also cant get proximity to work
    [to note: Addon does show as loaded and enabled when server starts up, and im an admin with * permissions.
     
  5. Offline

    Hafnium

    Oh, put a lever on the back of the :recv sign. [#/ The sign toggles the lever. I think I fucked up my help files. :p


    [ = sign, # = block, / = lever
     
  6. Offline

    molster

    haha, well I gave that a try... still no go, I wonder if I have some kind of conflict or something... heres some pics

    [​IMG]

    [​IMG]

    [​IMG]
     
  7. Offline

    TankFox

    For the hourly chime? I can live with that, especially if providing a high to the sign will reset it's time period. This would let me use a :ctime in conjunction with the timer sign to reset at least once a day to resolve any potential drift!

    Perhaps it could reset itself on any kind of redstone change, high or low? That would allow me to use a single :ctime to reset the clock twice a day.

    Holy cow, a timer sign, how fine grained could the timer be? I could see this supplanting all forms of three dimensional timers!
     
  8. Offline

    Hafnium

    I could have a timer sign accurate down to a 20th of a second, a second as the server sees it at least. Lag would distort that, but it would stay relative to the length of the day. As long as 24000 is divisible by the timer interval you set, it would always line up with the day.

    Ok molster. First, are you sure you have 2.0 installed? If the sign's arguments don't turn orange when you put the sign down, the plugin didn't recognize it. Second, all PailStone ICs have to be wall signs. Third, the output from the :recv sign IS the lever. It will turn the lever on, and the lever provides the redstone power.
     
  9. Offline

    molster

    ok Ive tried it as a wall sign... no go, but as you said, nothing had turned orange as you said it should.

    When the sever starts up, I get
    "22:38:11 [INFO] [PailStone] Loading Sign
    22:38:11 [INFO] [PailStone] Enabled"

    I just installed it. (download right from your site no more than 30 mins ago)

    im going to start tunring other plugins off.







    23:43:53 [INFO] [PailStone] [ERROR] InvocationTargetException while creating Sig
    n object in SignType.create()
    java.lang.reflect.InvocationTargetException
    23:43:53 [SEVERE] java.lang.reflect.InvocationTargetException
    23:43:53 [SEVERE] at sun.reflect.NativeConstructorAccessorImpl.newInstance
    0(Native Method)
    23:43:53 [SEVERE] at sun.reflect.NativeConstructorAccessorImpl.newInstance
    (Unknown Source)
    23:43:53 [SEVERE] at sun.reflect.DelegatingConstructorAccessorImpl.newInst
    ance(Unknown Source)
    23:43:53 [SEVERE] at java.lang.reflect.Constructor.newInstance(Unknown Sou
    rce)
    23:43:53 [SEVERE] at net.eonz.bukkitplugin.pailstoneduo.signs.SignType.cre
    ate(SignType.java:94)
    23:43:53 [SEVERE] at net.eonz.bukkitplugin.pailstoneduo.signs.SignHandler.
    addSign(SignHandler.java:48)
    23:43:53 [SEVERE] at net.eonz.bukkitplugin.pailstoneduo.PSBlockListener.on
    SignChange(PSBlockListener.java:26)
    23:43:53 [SEVERE] at org.bukkit.plugin.java.JavaPluginLoader$26.execute(Ja
    vaPluginLoader.java:289)
    23:43:53 [SEVERE] at org.bukkit.plugin.RegisteredListener.callEvent(Regist
    eredListener.java:59)
    23:43:53 [SEVERE] at org.bukkit.plugin.SimplePluginManager.callEvent(Simpl
    ePluginManager.java:255)
    23:43:53 [SEVERE] at net.minecraft.server.NetServerHandler.a(NetServerHand
    ler.java:847)
    23:43:53 [SEVERE] at net.minecraft.server.Packet130UpdateSign.a(SourceFile
    :39)
    23:43:53 [SEVERE] at net.minecraft.server.NetworkManager.a(SourceFile:230)

    23:43:53 [SEVERE] at net.minecraft.server.NetServerHandler.a(NetServerHand
    ler.java:76)
    23:43:53 [SEVERE] at net.minecraft.server.NetworkListenThread.a(SourceFile
    :100)
    23:43:53 [SEVERE] at net.minecraft.server.MinecraftServer.h(MinecraftServe
    r.java:357)
    23:43:53 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftSer
    ver.java:272)
    23:43:53 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(Sour
    ceFile:366)
    23:43:53 [SEVERE] Caused by: java.lang.NoSuchMethodError: org.bukkit.block.Block
    .getRawData()B
    23:43:53 [SEVERE] at net.eonz.bukkitplugin.pailstoneduo.signs.PSSign.getNu
    mericDirection(PSSign.java:120)
    23:43:53 [SEVERE] at net.eonz.bukkitplugin.pailstoneduo.signs.PSSign.getDi
    rection(PSSign.java:130)
    23:43:53 [SEVERE] at net.eonz.bukkitplugin.pailstoneduo.signs.PSSign.<init
    >(PSSign.java:60)
    23:43:53 [SEVERE] at net.eonz.bukkitplugin.pailstoneduo.signs.SendSign.<in
    it>(SendSign.java:14)
    23:43:53 [SEVERE] ... 18 more


    I was using craftbook as well... when I removed that plugin, I got this error on login.
     
  10. Offline

    Hafnium

    What CraftBukkit version are you running?
     
  11. Offline

    molster

    bah how could I be so silly, im not using 493, I just installed Bukkit today, so im using a later version.
     
  12. Offline

    Hafnium

    Ok, I've updated for the newest version. I missed the fact that we switched recommended builds. :p

    They dropped a method that I used. >.>
     
  13. Offline

    speed415

    i shall test now :)
     
  14. Offline

    molster

    well good news is everything is working =D im having one issue (but its due to me being a noob. When it gets, or loses power, (on the send) it does make the recv level switch (on or off) however, it seems to not be powering any of the redstone... (if I flip the switch myself on or off, it will power and unpower the redstone, but if I let the send/recv flip it on and off, itdoes not) what dumb thing am I doing? =P
     
  15. Offline

    Hafnium

    That sounds REALLY odd.

    Oh damn.

    I broke it.

    Ok, give me 15 minutes to figure this out.
     
  16. Offline

    speed415

    :( It kinda works now . Text goes orange n all but when i hit the lever and it powers the recv lever switches but when i unpower the send lever it the recv lever doesn't do anything , so i break the redstone for the send to the lever and it switches the recv lever... And when i put the send lever on back of block it also doesn't work.
     
  17. Offline

    molster

    thats what hes working on right now =D
     
  18. Offline

    Hafnium

    Done. I just re-uploaded as 2.01. Changing the version number gets tedious.

    They really need to give us a recommended build changelog, and a bit of advanced warning when they change the function of methods. They expect US to supply our users with these concise changelogs. Why they didn't just '@deprecated' Block.getRawData() is beyond me.

    They changed the way block data was retrieved. My sign didn't know which was it was facing, so it couldn't update the lever.
     
  19. Offline

    speed415

    Just tried new version still not working... maybe im doing it wrong but i don't think so
     
  20. Offline

    molster

    I thought the same thing. you have to put the redstone "behind" the lever it seems.
     
  21. Offline

    speed415

    hahaha just tried it thanks
    side works to , seems like as long as the redstone isnt just a straight path to the lever
     
  22. Offline

    molster

    oh odd, if I have any redstone on the side of the :recv block, it wont work, the only place I can have redstone for it to work is behind the lever (if I have it behind the lever and on the side of the block, whole thing dosnt work.


    actully, it dosnt seem to work at all now... the proximity one is working perfect...gonna test some more.
     
  23. Offline

    speed415

    I mean on the side of the redstone , such as 2 redstone to the lever ,and i just have 1 redstone off to the side
     
  24. Offline

    molster

    EDIT: ok problem only fond on the send/recv it will send a "power on" ... but it wont send a" power off" (it sends it, but it doses not update.

    edit 2: its working perfectly now... im not sure whats going on, im going to shut down the server fully and take a look then.
     
  25. Offline

    Hafnium

    Ok, now you guys just have me confused. I'll come on your server and help out if you want, but a lever is a lever is a lever. If it powers redstone at all, it powers redstone in every way a lever should.
     
  26. Offline

    molster

    it dosnt power the side of the block, here my dev server -------
     
  27. Offline

    Hafnium

    molster and I figured out what was wrong and its fixed in 2.01. The lever wasn't changing the powered state of the block it was on properly.
     
  28. Offline

    deathbyc4

    I setup three blocks in a row, one block with a sign ( :logic, AND) then the other two blocks away (three or so spaces away from the sign block) and attached levers to all three blocks. in any possible option and cant get any output to redstone from the sign block. same thing goes for the send recv commands as well.

    current setup:

    craftbukkit 527 (also tried 493)
    pailstone 2.01 (no permissions installed)
    tried with and without essentials (both times without groupmanager and groupbridge)

    I have high hopes for this but im having no luck at all. could you show me a pic of a basic AND gate setup? thanks!
     
  29. Offline

    Hafnium

  30. Offline

    Fugensnot

    Ngawww you got rid of :players D:
     
  31. Offline

    Hafnium

    Were you actually using it? And for what? That was kinda a gag-ic that I threw in with a bugfix.
     

Share This Page