Its STILL giving Null exemtiona
Posts by King Nothing
A new update is now available, introducing "Points of interest" and many more changes!
Latest hotfix: 0.9 (2025-11-05)
Latest hotfix: 0.9 (2025-11-05)
-
-
Display MoreJava
What i Evetually want this to do is check Weather an item is "Sellable" and the Sell Price (the Prices will change and be Written to a databse )
right now this is just to get the man code working,
Im using a chest to "eat"the item and give the correct amout of money for it. -
It Has to be the limitatons of the API, I know what you are getting at at and
Item item = chest.getItem(); cannot be done.
Item item = chest.getItem(1); this is the Correct Syntax. -
Java
ive Tried all Three Methods and get "Cannot Find Symbol"
if i use getitem without (1) i get "Found no Arguments"
this CANNOT be done
Maybe Red can explain why we need an argument for getItem(); -
-
Display MoreJava
the problem is with
line 8 onthis is the Whole Block, the cose itself is 300 lines long.
-
whoops thought i edieted it correctly....
(261)(10) if (item.getName().equals("bandage")){
player.sendTextMessage("yes");}
-
Display MoreJava
java.lang.NullPointerException
at BootyBay.PlayerInventoryToChestEvent(BootyBay.java:10)
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:201)
at aU.f.a(SourceFile:883)
at aU.f.messageReceived(SourceFile:119)
at k.e.a(SourceFile:109)
at k.c.run(SourceFile:65)why does reurn a NULL exeption?
-
I Think it's Strane you can only set the font size in a Label, Not a text Field, and please add Multi-line input
-
I got it, I did my game accountr and had to make a new psssword, i did it four times in order for to finally accept it.
-
I cannot log into stats.rising-world.net I requested a new Password, Made a New JLW account, Tried Every Combinaton of my username and password,
i even Tried my forum Accouint, It keeps knocking me back to the login Screen.
-
-
-
Display MoreJava
This Code I posted, when there somethuing that is there, it works Fine, I want it to say "Not Fouind." it Shows the Igtem Info
-
Display MoreJava
how do get the "Name" of the item?
-
the above code gives these errors:
java.lang.NullPointerException
at e.a.a(SourceFile:339)
at e.a.a(SourceFile:311)
at pluginapi.objects.ChestAPI.insertNewItem(SourceFile:51)
at BootyBay.onItemPickUpFromChest(BootyBay.java:29)
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:201)
at aU.f.a(SourceFile:942)
at aU.f.messageReceived(SourceFile:119)
at k.e.a(SourceFile:109)
at k.c.run(SourceFile:65)please help me, i tied useing every type of syntax and get Nothing.
-
Display MoreJava
-
You made a typo in your code final int infoId = event.getChestID();
but thank you for helping no more chest ID 12... i just thougt assiguing an integer to a chest ID would show it
-
i wes using that evenmt and it sad chest ID 12
-
int c=chest.getID();