[MECH] NeoScript v0.9 - Redstone scripts with functions, arrays, screens, more [1060]

Discussion in 'Inactive/Unsupported Plugins' started by furekusu, Apr 28, 2011.

  1. Offline

    furekusu

    NeoScript - plugin for programmable microchips: ICs.
    Version: v0.9

    It is a bit like MC5000 from CraftBook, but provides a lot more of functions.

    Supported builds: 1000, 1060

    [​IMG]

    Features:
    • Code writing via signs: Perlstone32-like syntax
    • Up to 10 inputs and outputs
    • Supports Boolean, Integer, Double and String + Arrays
    • Allows reading from and writing to signs
    • Reads chat messages from a certain place
    • Button sends money to a player - supporting all Economy plugins thanks to Register
    • Functions: set and detect blocks, send messages, detect players, and much more
    • Loops
    • Error output
    • Bukkit permissions support
    • Useful ICs
    Open the Wiki for documenation, instructions (quick start & SQL usage) and examples. There are pictures, too. Tutorials are in work!

    Download: v0.9 [JAR] v0.9 [SRC] v0.8.2 [JAR] v0.8 [SRC]


    Script related ICs:
    • [Script] - Main IC for scripting
    • [RScript] - Script IC for local files
    • [Chat] - Fetch chat messages (requires Script-IC)
    • [Money] - Sends money to a player (supports Script-IC)
    • [Screen] - Manages a screen made out of wool (requires Script-IC)
    • [Sign] - IC for editing Signs (requires Script-IC)
    Logic ICs:
    • [And] - And with 2 or 3 inputs
    • [Xor] - Xor with 2 or 3 inputs
    Misc ICs:
    • [Clock] - Changes its output at a set rate
    • [Counter] - Sets its lever on after a set number of pulses
    • [Delay] - Delays the signal
    • [Detect] - Detects players or creatures
    • [Pulse] - Activates the output for a set time, when input goes from low to high
    • [Rand] - Emits a random state
    • [Recv] - Receives power states
    • [Send] - Sends power states
    • [Spawn] - Spawns a creature
    • [Time] - Checks the time
    • [Trigger] - Sends its input state to a lever
    • [Toggle] - Toggles between on and off, when input goes from low to high
    • [Velocity] - Sets a players movement
    Permissions:


    Show Spoiler

    Code:
                - 'NeoScript.IC.Chat'
                - 'NeoScript.IC.Money'
                - 'NeoScript.IC.RScript'
                - 'NeoScript.IC.Screen'
                - 'NeoScript.IC.Script'
                - 'NeoScript.IC.Sign'
                - 'NeoScript.IC.And'
                - 'NeoScript.IC.Xor'
                - 'NeoScript.IC.Clock'
                - 'NeoScript.IC.Counter'
                - 'NeoScript.IC.Delay'
                - 'NeoScript.IC.Detect'
                - 'NeoScript.IC.Pulse'
                - 'NeoScript.IC.Rand'
                - 'NeoScript.IC.Recv'
                - 'NeoScript.IC.Send'
                - 'NeoScript.IC.Spawn'
                - 'NeoScript.IC.Time'
                - 'NeoScript.IC.Toggle'
                - 'NeoScript.IC.Trigger'
                - 'NeoScript.IC.Velocity'
                - 'NeoScript.Script.edit'
                - 'NeoScript.Script.ignoreSetBlockMax'
                - 'NeoScript.Script.ignoreSetBlockWhitelist'
                - 'NeoScript.Script.ignoreSetBlockMaxRange'
                - 'NeoScript.Script.ignoreDispMaxRadius'
                - 'NeoScript.Script.ignoreDetectMaxRadius'
                - 'NeoScript.Func.block'
                - 'NeoScript.Func.blockSign'
                - 'NeoScript.Func.player'
                - 'NeoScript.Func.screen'
    

    Changelog:
    Version 0.9
    • Clocks can now be triggered (Flag T~)
    • Added command /icstop. Stops the running [Script] or [RScript] you are looking at. Ops and and players who have the permission 'NeoScript.Command.icstop' can stop scripts from other players, too.
    • Added [Rand], [Detect], [Velocity] (set player movement)
    • All small ICs now have 3 inputs: in front of, to the left/right of the sign
    • Custom functions will see the calling script owner in the session as their owner, too. This is relevant if you call another players function which uses Disp. The text is now sent to you (was sent to the custom functions owner).
    • Syntax: added operator \_ - pops a value; added operator \null - pushes null
    • You can now call functions dynamically: {{"function"}}. This is very useful if you have indexed functions which get called together.
    • Added ` as comment char (remote edit / RScript)
    • Added functions:
      • Isset - checks if a variable / table value has been set
      • AExists - checks if an array exists
      • GetIn - dynamically reads an input
      • GetOut - Gets the state of an output
      • SetOut - dynamically sets an output
      • TGetAll - gets all lines from a sign with a custom separator
      • TSetAll - sets all lines of a sign
    Version 0.8.2
    • Updated Register, supported economy plugins: BOSE6, BOSE7 (?), Essentials, iConomy 4,5,6, Multicurrency
    • Fixed setup (SQLite)
    • Removed update support for v0.2 or lower
    Older versions (open)

    Version 0.8.1
    • New permissions will now work
    • Added command /icdebug. Point at an IC (main sign or the block where the main sign is attached to) and type the command or use /icdebug <ID>. The command gives information about permissions, flags and links between ICs (Chat, Money, Send/Recv, Sign). Its colorful, enjoy it!
    • [RScript] ICs can now really be called as functions
    Version o.8
    • Added functions: Time, FTime
    • [RScript] ICs can now be called as functions
    • There can now be several [Sign] ICs with the same name. TSet will change all signs while TGet will return the text of the first registered IC.
    • Fixed a permission bug from v0.7
    • Switched to bukkit permissions
    • Implemented function permissions (block, blockSign, player, screen)
    Version o.7
    • Improved stability. As a result of this, [Script]-Outputs will change a tick later.
    • Script-Syntax: \R will refresh inputs
    • Fixed [Sign]-Direction
    • Added math functions: ACos, ASin, Sqr
    • Added P~-Flag to Sign-ICs
    • Added string functions: Asc, Chr, Instr, Repeat
    • Added array function: AClear, AContains, ADestroy, AIndex, AIns
    • Added function: ConCmd: executes a player console command
    • Fixed function ASet
    • /urlscript no longer needs urls starting with 'http://' - it's added automatically
    • Line breaks, tabs and comments (starting with §, to the end of the line) will be removed from the code when using /urlscript
    • Added IC [RScript]: same as [Script], but executes a local file
    Version o.6
    • Script-ICs can now be called as functions!
    • Script: added command name parameter, use /scr <commandName> [<param1> [<param2> [<param3> ...]]]. Arguments will be pushed on the stack.
    • Script-Syntax: \stack will push the stack size on the stack
    • Script-Syntax: now has simple loops. Will be executed 5 times: 5:_( yourcode :_) (without _)
    • Screen: changed parameters, Ceiling / floor screens are now possible
    • Pulse: added parameters for generating more than one pulse
    • Added [Counter], [Spawn], [Trigger]
    • Sign: added location parameters. That means, you can now write to and read from post signs, too
    • Added option noDrops: if activated, block placed by Script-ICs won't drop items when destroyed.
    • Bugfix: R~ will work for cuboid
    Version o.5
    • Added function: Sleep (thread-safe)
    • Added option maxMillis: Timeout for scripts. If set to 0, there is no timeout (not recommended). Default is 2 minutes.
    • Added array functions: ACreate, AUse, ASize, AAdd, ASet, AGet, ARem, AGetJSON, ASetJSON
    • Added [Money] (supports all Economy plugins), [Screen] (out of wool), [Pulse], [Delay], [Clock]
    • Added screen functions: SUse, SSet, SGet, SGetW, SGetH, SPenW, SPenH, SPenSet, SPenNext, SCopy, SPaste
    • IC permissions will now work correctly
    Version o.4
    • Added flag R~ to Script-ICs. If set, coordinates are related to the main signs direction. Positive x means to the right, positive z means forwards.
    • Added command /urlscript for remote sign editing
    • Improved TSet's edit handling
    • Added [Time], [Toggle], [Send], [Recv], [Chat]
    • Added persistent variables (stored in the database)
    Version 0.3
    • Switched to MySQL / SQLite: with the possibility to load ICs into / from databases
    • All edited signs will be updated
    • Added permissions to ICs (when created, ICs will get some permissions from the player) to override options below
    • Renamed permission NeoScript.EditScript to NeoScript.Script.edit
    • Disp can now display text to nearby players
    • Added options: setBlockWhitelist (allowed blocks), setBlockMaxRadius, detectMaxRadius
    • Renamed option maxSetBlocks to setMaxBlocks
    • You can now enter positive integer numbers without switching to number mode (just leave out < and >). Number mode provides negative and / or double values
    • Removed funcmode. Now you can call a function while you're calling a function. You can do all the other stuff, too. For example: {disp;"1+3 is "1<3>+\I~}
    • Added functions: Length, Substr
    • Added ICs: [And], [Xor]
    • IC headers are now colored
    • Syntax: added random values:
    • ?B - random Boolean
    • ?D - random Double
    • ?I - random Integer from 0 to (last value) - 1
    Version 0.2
    • Disp: Fixed NullPointerException when trying to display a message to an IC owner who wasn't online
    • Disp, TGet and TSet now support colors. codes: &0 - &f
    • Added optional parameter [Integer] data to Set and Cuboid
    • Set, Cuboid: If block id is -1, it won't be changed
    • Added optional parameter [Boolean] dataValue to Get: will return block data instead of block id when it's true
    • Added error to TGet and TSet when line number is invalid
    • Set sign limit to 32
    Version 0.1
    • Initial release



    Todo:
    • even more ICs?
    • trace more writing errors
     
  2. Offline

    woodzy

    @ furekusu
    how does this like with the [screen] ic?
    we're haveing issues just getting it to chat to eveyone thought wed work on the sound first but cant get it to send messages to chat to everyone
     
  3. Offline

    furekusu

    Here are instructions for [screen], but the image is outdated! You can build a big screen first and let it use SFill with a random color again and again to find out where the chunk borders are. The biggest possible screen without delay is a 16³ at the right place.

    If you want to send text to everyone, do something like this: {disp;"message";9999}.
    Make sure the range limit is high enaugh or you have the permission to override the limit.
     
  4. Offline

    Ross Gosling

    The link to most the pages on the wiki are wrong and i need help with what a pulse does
     
  5. Offline

    furekusu

    Only Delay and Pulse had a wrong link.

    When activated, Pulse will emit a pulse (a signal that will go off after x ticks). For example, you can use Pulse to make a buttons signal last longer. When you set the pulse duration to 100, the lever will stay activated for 5 seconds.
     
  6. Offline

    LennardF1989

    No offense, but the Wiki is kind of useless or utterly outdated. I can't even get a simple screen working.

    I create a screen with the following-sign:
    Then somewhere else, a block with the sign:
    Then on the right side:
    I tried powering it from every possible side, but nothing works. I even tried one statement of code per sign on the right and putting different statements on new lines. NOTHING! Y U NO WORK!

    Please enlighten me.
     
  7. Offline

    matrix224

    Hello,
    This plugin is great, and I love it very much. The only issue is that I seem to get errors when starting up my server.

    Code:
    10:34:21 [INFO] [NeoScript v0.6] is enabled (with permissions)
    10:34:21 [INFO] [NeoScript v0.6] Payment method found (Essentials version: 2.2)
    10:34:21 [INFO] [NeoScript v0.6] can't load IC from Block (world,137,64,200), is
     not a wall sign
    10:34:21 [INFO] [NeoScript v0.6] can't load IC from Block (world,139,64,196), is
     not a wall sign
    10:34:21 [INFO] [NeoScript v0.6] can't load IC from Block (world,193,68,-74), is
     not a wall sign
    10:34:21 [INFO] [NeoScript v0.6] can't load IC from Block (world,193,68,-74), is
     not a wall sign
    10:34:21 [INFO] [NeoScript v0.6] can't load IC from Block (world,193,68,-74), is
     not a wall sign
    10:34:21 [INFO] [NeoScript v0.6] can't load IC from Block (world,193,68,-74), is
     not a wall sign
    10:34:21 [INFO] [NeoScript v0.6 can't load IC from Block (world,201,68,-71), is
    not a valid IC
    10:34:21 [INFO] [NeoScript v0.6] can't load IC from Block (world,195,68,-72), is
     not a wall sign
    10:34:21 [INFO] [NeoScript v0.6] can't load IC from Block (world,195,68,-72), is
     not a wall sign
    10:34:21 [INFO] [NeoScript v0.6] can't load IC from Block (world,175,80,86), is
    not a wall sign
    10:34:21 [INFO] [NeoScript v0.6] can't load IC from Block (world,62,70,-28), is
    not a wall sign
    10:34:21 [INFO] [NeoScript v0.6] can't load IC from Block (world,62,70,-28), is
    not a wall sign
    10:34:21 [INFO] [NeoScript v0.6] can't load IC from Block (world,63,67,-28), is
    not a wall sign
    10:34:21 [INFO] [NeoScript] Error (class not found?): null
    10:34:21 [SEVERE] java.lang.NullPointerException
    10:34:21 [SEVERE]       at com.nijiko.permissions.ModularControl.permission(Modu
    larControl.java:254)
    10:34:21 [SEVERE]       at com.nijiko.permissions.ModularControl.has(ModularCont
    rol.java:249)
    10:34:21 [SEVERE]       at de.neocrafter.NeoScript.NeoScript.hasPermission(NeoSc
    ript.java:159)
    10:34:21 [SEVERE]       at de.neocrafter.NeoScript.NSMain.updatePermissions(NSMa
    in.java:214)
    10:34:21 [SEVERE]       at de.neocrafter.NeoScript.NSMain.createIC(NSMain.java:2
    88)
    10:34:21 [SEVERE]       at de.neocrafter.NeoScript.NSMain.loadICs(NSMain.java:98
    )
    10:34:21 [SEVERE]       at de.neocrafter.NeoScript.NSMain.init(NSMain.java:60)
    10:34:21 [SEVERE]       at de.neocrafter.NeoScript.NeoScript.onEnable(NeoScript.
    java:60)
    10:34:21 [SEVERE]       at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlug
    in.java:126)
    10:34:21 [SEVERE]       at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(
    JavaPluginLoader.java:878)
    10:34:21 [SEVERE]       at org.bukkit.plugin.SimplePluginManager.enablePlugin(Si
    mplePluginManager.java:272)
    10:34:21 [SEVERE]       at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftSe
    rver.java:162)
    10:34:21 [SEVERE]       at org.bukkit.craftbukkit.CraftServer.enablePlugins(Craf
    tServer.java:146)
    10:34:21 [SEVERE]       at net.minecraft.server.MinecraftServer.e(MinecraftServe
    r.java:284)
    10:34:21 [SEVERE]       at net.minecraft.server.MinecraftServer.a(MinecraftServe
    r.java:271)
    10:34:21 [SEVERE]       at net.minecraft.server.MinecraftServer.init(MinecraftSe
    rver.java:148)
    10:34:21 [SEVERE]       at net.minecraft.server.MinecraftServer.run(MinecraftSer
    ver.java:335)
    10:34:21 [SEVERE]       at net.minecraft.server.ThreadServerApplication.run(Sour
    ceFile:422)
    10:34:21 [SEVERE] Error occurred while enabling NeoScript v0.6 (Is it up to date
    ?): null
    java.lang.NullPointerException
            at de.neocrafter.NeoScript.NSMain.loadICs(NSMain.java:99)
            at de.neocrafter.NeoScript.NSMain.init(NSMain.java:60)
            at de.neocrafter.NeoScript.NeoScript.onEnable(NeoScript.java:60)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader
    .java:878)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage
    r.java:272)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:162)
            at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:146
    )
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:284)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:271)
            at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:148)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:335)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    I'm currently using version v0.6, and Bukkit build 1000 (however it occurred still in 953 and I believe a little earlier than that too). Seeing how this was built in 860, I'm just assuming it's some issue with differing versions (?). If so, could you possibly update it please? :3
     
  8. Offline

    furekusu

    @Lennard: are [screen] and [script] highlighted? If not, NeoScript is not running (or you are using an old version).

    @matrix: I will check that.
     
  9. Offline

    Xandaros

    @Lennard: You have to use
    Code:
    [Script]
    E~
    or it'll only trigger through inputs.

    But you are right, the wiki is outdated. Catma! Update it! :D
     
  10. Offline

    furekusu

    @matrix: It's working fine with #1000. You can try to delete the config in the NeoScript folder plus the database file / mysql tables. This will reinstall the plugin.
     
  11. Offline

    matrix224

    Ah, well that seemed to work. Thanks for your help!
     
  12. Offline

    furekusu

    Updated to 0.7!
     
  13. Offline

    matrix224

    Hey, sorry to bother you again, but I'm getting another error now with the updated version (0.7).

    Code:
    15:42:01 [INFO] [NeoScript v0.7] is enabled (with permissions)
    15:42:01 [INFO] [NeoScript v0.7] Payment method found (Essentials version: 2.2)
    15:42:02 [SEVERE] java.sql.SQLException: [SQLITE_ERROR] SQL error or missing dat
    abase (near "DROP": syntax error)
    15:42:02 [SEVERE]       at org.sqlite.DB.newSQLException(DB.java:383)
    15:42:02 [SEVERE]       at org.sqlite.DB.newSQLException(DB.java:387)
    15:42:02 [SEVERE]       at org.sqlite.DB.throwex(DB.java:374)
    15:42:02 [SEVERE]       at org.sqlite.NativeDB.prepare(Native Method)
    15:42:02 [SEVERE]       at org.sqlite.DB.prepare(DB.java:123)
    15:42:02 [SEVERE]       at org.sqlite.PrepStmt.<init>(PrepStmt.java:42)
    15:42:02 [SEVERE]       at org.sqlite.Conn.prepareStatement(Conn.java:404)
    15:42:02 [SEVERE]       at org.sqlite.Conn.prepareStatement(Conn.java:399)
    15:42:02 [SEVERE]       at org.sqlite.Conn.prepareStatement(Conn.java:383)
    15:42:02 [SEVERE]       at org.sqlite.Conn.prepareStatement(Conn.java:387)
    15:42:02 [SEVERE]       at de.neocrafter.NeoScript.NSSQL.query(NSSQL.java:54)
    15:42:02 [SEVERE]       at de.neocrafter.NeoScript.NSSetup.installSqlv07(NSSetup
    .java:195)
    15:42:02 [SEVERE]       at de.neocrafter.NeoScript.NSSetup.setupSql(NSSetup.java
    :71)
    15:42:02 [SEVERE]       at de.neocrafter.NeoScript.NSSetup.init(NSSetup.java:23)
    
    15:42:02 [SEVERE]       at de.neocrafter.NeoScript.NeoScript.onEnable(NeoScript.
    java:47)
    15:42:02 [SEVERE]       at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlug
    in.java:126)
    15:42:02 [SEVERE]       at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(
    JavaPluginLoader.java:878)
    15:42:02 [SEVERE]       at org.bukkit.plugin.SimplePluginManager.enablePlugin(Si
    mplePluginManager.java:272)
    15:42:02 [SEVERE]       at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftSe
    rver.java:162)
    15:42:02 [SEVERE]       at org.bukkit.craftbukkit.CraftServer.enablePlugins(Craf
    tServer.java:146)
    15:42:02 [SEVERE]       at net.minecraft.server.MinecraftServer.e(MinecraftServe
    r.java:284)
    15:42:02 [SEVERE]       at net.minecraft.server.MinecraftServer.a(MinecraftServe
    r.java:271)
    15:42:02 [SEVERE]       at net.minecraft.server.MinecraftServer.init(MinecraftSe
    rver.java:148)
    15:42:02 [SEVERE]       at net.minecraft.server.MinecraftServer.run(MinecraftSer
    ver.java:335)
    15:42:02 [SEVERE]       at net.minecraft.server.ThreadServerApplication.run(Sour
    ceFile:422)
    15:42:02 [SEVERE] Error occurred while enabling NeoScript v0.7 (Is it up to date
    ?): null
    java.lang.NullPointerException
            at de.neocrafter.NeoScript.NSSetup.installSqlv07(NSSetup.java:195)
            at de.neocrafter.NeoScript.NSSetup.setupSql(NSSetup.java:71)
            at de.neocrafter.NeoScript.NSSetup.init(NSSetup.java:23)
            at de.neocrafter.NeoScript.NeoScript.onEnable(NeoScript.java:47)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader
    .java:878)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage
    r.java:272)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:162)
            at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:146
    )
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:284)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:271)
            at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:148)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:335)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    I tried deleting the config files again but that didn't seem to fix it this time. I re-downloaded the .JAR file too just in case it got corrupted somehow, but that didn't fix it either.
     
  14. Offline

    furekusu

    I guess you are using SQLite (it's the default)?

    If the error occurs on the next start, too you can bypass this error by modifiying the config.yml. You have to create a new field sqlv07 to ns with the value true.
     
  15. Offline

    matrix224

    Well that appeared to fix it. Thank you again for your help and the fast reply!
     
  16. Offline

    kubofonista

    Any info about usage of [RScript] ? Where I'm need to enter path to script file ?
     
  17. Offline

    furekusu

    @kubafonista: I finnally wrote the Wiki article for it.
     
  18. Offline

    Fipil

    Hi, I cannot run the 0.7 version of the NeoSctript.
    It writes the following errors:
    Code:
    20:00:16 [SEVERE] java.sql.SQLException: NYI
    20:00:16 [SEVERE]       at org.sqlite.Conn.prepareStatement(Conn.java:217)
    20:00:16 [SEVERE]       at de.neocrafter.NeoScript.NSSQL.query(NSSQL.java:54)
    20:00:16 [SEVERE]       at de.neocrafter.NeoScript.NSSetup.installSqlv03(NSSetup
    .java:78)
    20:00:16 [SEVERE]       at de.neocrafter.NeoScript.NSSetup.setupSql(NSSetup.java
    :68)
    20:00:16 [SEVERE]       at de.neocrafter.NeoScript.NSSetup.init(NSSetup.java:23)
    
    20:00:16 [SEVERE]       at de.neocrafter.NeoScript.NeoScript.onEnable(NeoScript.
    java:47)
    20:00:16 [SEVERE]       at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlug
    in.java:126)
    20:00:16 [SEVERE]       at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(
    JavaPluginLoader.java:878)
    20:00:16 [SEVERE]       at org.bukkit.plugin.SimplePluginManager.enablePlugin(Si
    mplePluginManager.java:272)
    20:00:16 [SEVERE]       at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftSe
    rver.java:162)
    20:00:16 [SEVERE]       at org.bukkit.craftbukkit.CraftServer.enablePlugins(Craf
    tServer.java:146)
    20:00:16 [SEVERE]       at net.minecraft.server.MinecraftServer.e(MinecraftServe
    r.java:284)
    20:00:16 [SEVERE]       at net.minecraft.server.MinecraftServer.a(MinecraftServe
    r.java:271)
    20:00:16 [SEVERE]       at net.minecraft.server.MinecraftServer.init(MinecraftSe
    rver.java:148)
    20:00:16 [SEVERE]       at net.minecraft.server.MinecraftServer.run(MinecraftSer
    ver.java:335)
    20:00:16 [SEVERE]       at net.minecraft.server.ThreadServerApplication.run(Sour
    ceFile:422)
    20:00:16 [SEVERE] Error occurred while enabling NeoScript v0.7 (Is it up to date
    ?): null
    java.lang.NullPointerException
            at de.neocrafter.NeoScript.NSSetup.installSqlv03(NSSetup.java:88)
            at de.neocrafter.NeoScript.NSSetup.setupSql(NSSetup.java:68)
            at de.neocrafter.NeoScript.NSSetup.init(NSSetup.java:23)
            at de.neocrafter.NeoScript.NeoScript.onEnable(NeoScript.java:47)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader
    .java:878)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage
    r.java:272)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:162)
            at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:146
    )
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:284)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:271)
            at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:148)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:335)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Can you help me please??
     
  19. Offline

    furekusu

    Something is not right with your SQLite driver. The easiest way would be using MySQL instead.

    NeoScript uses the bukkit sql settings, you can read here how to change them.
     
  20. Offline

    Fipil

    Please howto reinstall SQLite driver?
     
  21. Offline

    furekusu

    I have no idea, but since NYI means not yet implemented, it may be that you are running an old version of java.
     
  22. Offline

    Fipil

    I updated java version and problem is still here. Maybe I've installed a lower version of the SQLite than required?
    I've placed the sqlite-jdbc-3.7.2.jar file directly in the server's root folder. Maybe I use a wrong version?
     
  23. Offline

    kubofonista

    Hi,

    I'm have a issue with sleep command. The problem is that it does not work in the specified unit (20 = seconds).
    I do not know how it works now but just typing 600 gives a reasonable time, because setting up to 60 (theoretically 3 seconds) expires in less than one second.

    Best Regards
     
  24. Offline

    furekusu

    @Fipil: it seems to be a very rare error but it should work with a new version. Maybe a version lower than 3.0 will work, too.

    @kubofonista: the wiki was lying, the time is in milliseconds.
     
  25. Offline

    kubofonista

    Hi,

    There is another issue with RScript. This is not possible to run [RScript] via other [Script] and [RScript] ({script_name}) because "unknown func", but the same situation with [Script]-[Script] work correctly.
    2011-07-29_22.21.53.png
     
  26. Offline

    furekusu

    Thank you, will be fixed in the next version.

    Updated to v0.8!

    RScript bug is fixed and it's now using the bukkit permission api. There are now 4 function permissions, allowing more customization. So check if permissions are given by default.

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

    JonasD

    Ein Neocrafterplugin :D Gibts des auch aufm Server?
     
  28. Offline

    kubofonista

    Hi,

    I'm have another problem now. Some players removed IC Scripts via Super Axe from WorldEdit, I noticed that this event does not detect NeoScript and still stores in the database. This causes generating errors for each server startup. Is it possible to do something about it?

    This errors look like http://forums.bukkit.org/threads/me...ys-screens-more-1000.14984/page-2#post-485314

    Edit:
    RScript calling still not working. When [Script] try call [RScript] there is no error but nothing happens. In addition, it breaks down [RScript] so that from now is not possible local run (via redstone) (because "Illegal file name") , until destroy and re-create [RScript]
     
  29. Offline

    furekusu

    Quick fix v0.8.1!
    Mainly fixed [RScript] and permissions (finally).

    Super axe kills blocks and does not send any events as far as I know. So NeoScript can't know if a IC was broken. On server restart dead ICs get deleted from the database, so you can ignore these messages.

    @JonasD: natürlich.
     
  30. Offline

    kubofonista

    Unfortunately, when restart the server dead IC are not removed from the database, but there are still the same errors. In addition, it prevents the use of the /reload command because then the server is crashing on these IC errors because of the "database is busy"
     
  31. Offline

    MasterMeNL

    You should consider using this superpickaxe plugin.
    It has an option to override WorldEdit's one but unregisters blocks properly (and is loggable for things like BigBrother).

    Greetings,
    MasterMe.
     

Share This Page