i miss the ACE for pointing which scripts and line that throw error.
i just encounter silly error which apparently only missing ; >.< (yes... still new in JS) and it's really hard to find it.
can someone add that feature in this plugin. it would be really helpful if we know which plugin crash the game and which line 😀 .
just suggestion. (if i remember correctly in ACE there's script to backtrace the error... maybe someone could create something like that too?)
I'm happy people are taking this core on board and utilizing its awesome features! 😀
Just a quick mention that line 449 has a comma rather than semi-colon. Look like this atm:
function naturalBoolean(text) { if ( text.match(/(y(es)?)|true|on|active|enabled/gi) ) { return true, } return false; };Should be:
function naturalBoolean(text) { if ( text.match(/(y(es)?)|true|on|active|enabled/gi) ) { return true; } return false; };Just in case anyone else see's this issue in their debugger.
IMO the console is quite a lot of help - especially compared to ace's error stack checking capabilities :/
Edit: I do prefer playtesting with the html file though, and using firefox console instead 🙂
Would that mean down the road we have 1000 addons for just bug fixes? That would be a very bad idea.
I know that this may sound obvious for some people, but for me it wasn't so I thought I share this information with you:
If you download from Github you apperently have to click the "Raw" button if you want to download the file. In any other case there might be problems with the content of the .js file.
I had this problems here and Zalerinian solved it for me, but if you could just add another instruction in the original post like "Press the Raw button to download and don't use right-click save or anything else" this will probably be helpful for some people 🙂