Posts by King Nothing

A new update is now available, introducing a lot of new content!
Latest hotfix: 0.7.5.2 (2024-09-10)

    I used Miarre's help, Red's help, yahgiggle's help, It will NOT work, it stopped the Null error, that went away, It seems to completely ignore the

    • if(result.next())

    block.


    Iwish I knew what the problem is, Everyone has their database working, My plugin doesn;t want to work for some reason


    I am at a loss right now, i want to get the basic Mecahincs working so I can move on. if anyone has the time to go line by line and see why it will not work please feel free to do so. i will fix the line at player spwan, that is an easy fix.. pleade help me get this working, it has been a week nd stil getting NOTHING

    I Think I set the attribute in line 11, and line 33 is SUPPOSED to retrive it, the database does read the data, I built a simple one and re-wrote code around it. is this Correct? Or do I have to define it somewhere else?

    that's why I'm Cramming everything into one plugin, no sense of making 20 plugins when all you have to do is keep adding featues to the one you currently have, I was going to make a separate mail plugin but that will put into EffNet, along with money and shopping.,

    We are cleaning up and removing defunct areas, i am currently Working out the bugs In EffNet (currency and other Cool Features), We Currently have 5 levels, you can build anywhere you want, you may build roads going to the main roads. we have Admins that are wiling to help you, we will answer any questions you may have.

    I temporalily took that out, i am aware of that, The database works like its supposed to., it reads Writes and updates, I get this error:



    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at pluginapi.PluginEventHandler.triggerEvent(SourceFile:166)
    at aF.b.a(SourceFile:171)
    at aF.b.messageReceived(SourceFile:121)
    at k.e.a(SourceFile:109)
    at k.c.run(SourceFile:65)


    Caused by: java.lang.NullPointerException
    at Test.Test.onCommand(Test.java:83)
    ... 9 more
    when i Comment it out, the plugin works, when i put it in, it Errors out.


    i looked up the error, how do I set it to null???


    There is data in the database, i put some in for testing, i have to check if the user is new :D that is why onSpawn isn't finished. :)

    Why is there an error in on 80?

    ok I just used my test code plugin, inserted the command, issued it in RW, it worked, but it completly igorned the IF statement and wrote it anyway. how do I make so it will see the IF statement?

    java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at pluginapi.PluginEventHandler.triggerEvent(SourceFile:166)
    at aF.b.a(SourceFile:171)
    at aF.b.messageReceived(SourceFile:121)
    at k.e.a(SourceFile:109)
    at k.c.run(SourceFile:65)
    Caused by: java.lang.IllegalStateException: No serializer found for class l.x
    at de.jiw.network.serializing.Serializer.getClone(Serializer.java:125)
    at k.c.b(SourceFile:51)
    at k.e.a(SourceFile:113)
    at k.b.send(SourceFile:48)
    at k.b.send(SourceFile:43)
    at pluginapi.manager.PluginGuiManager.updateGuiTextField(SourceFile:167)
    at net.risingworld.api.gui.GuiTextField.updateTextField(GuiTextField.java:201)
    at net.risingworld.api.gui.GuiTextField.setText(GuiTextField.java:53)
    at EffNet.EffNet.onCommand(EffNet.java:133)
    ... 9 more

    and I did reply to my old topic and no one answered

    SELECT * FROM XXXXX WHERE Player_user = GetPlayer


    db.executeUpdate("INSERT INTO `XXXXX` (Player_user,PLayer_money) VALUES (GetPlayer, 2000);");



    (GetPLayer is String GetPlayer = p.getName();)



    Caused by: java.sql.SQLException: [SQLITE_ERROR] SQL error or missing database (no such column: GetPlayer)
    at org.sqlite.DB.newSQLException(DB.java:383)
    at org.sqlite.DB.newSQLException(DB.java:387)
    at org.sqlite.DB.throwex(DB.java:374)
    at org.sqlite.NativeDB.prepare(Native Method)
    at org.sqlite.DB.prepare(DB.java:123)
    at org.sqlite.Stmt.executeQuery(Stmt.java:121)
    at pluginapi.objects.SQLiteDatabaseAPI.executeQuery(SourceFile:57)
    at EffNet.EffNet.onConnect(EffNet.java:68)
    ... 8 more