#Exception throwing on my custom weapon

27 messages · Page 1 of 1 (latest)

fathom ember
#

I'm new to starbound modding as of right now, not sure what's wrong with what I have right now and can't really find what's up either

#

not sure if it'd be better to keep my .activeitem as is or make it a .txt

compact crystal
#

starbound.log file please

compact crystal
# compact crystal starbound.log file please

the error shown on screen doesn’t tell much info so it’s a good idea to look in the log file to figure out what’s going wrong. you can find the log file in the game files: Starbound/storage/starbound.log

#

if you don’t already, it helps to show file type extensions

upper slate
#

missing comma

compact crystal
#

sometimes i forget that such issues can happen

stone raft
compact crystal
#

use a linter or an editor that checks syntax for you

fathom ember
fathom ember
#

I've been using notepad++

compact crystal
fathom ember
#

I checked the logs and they were all just past errors, and after clearing it just didn't give me one

#

reward bag ⁉️

compact crystal
#

the other ones are like starbound.log(.1) or something

fathom ember
#

yeah

#

alright it works now, I'll look into the text editors when I wake up though and probably put any other issues I run into on this thread

compact crystal
#

i’m a big fan of vscode but i bet there’s some kind of plugin out there for np++ to catch json syntax errors

fathom ember
#

alright I got a log file this time, sifted through and for some reason there's another exception: Fatal Exception: (ItemException) Could not load item asset /items/active/weapons/staffs/WoodenStaff/WoodenStaff.activeitem

#

only thing that confuses me is that it loads fine ingame

#

albeit very small