If you’re a $5+ Patreon supporter…

Please check the most recent Patron-only post on my Patreon page and provide feedback. I’m not sure how many of you check Patreon regularly, but I figure it’s possible some of you check this blog more often.

3 comments

  1. I have next to no code skills and am having a hard time getting my custom character to load up in the game with Samantha and Rosea. I keep getting this in the Nightgames_log-

    Loaded samantha.json
    Loaded rosea.json
    Failed to load NPC raven.json
    Unexpected character (<) at position 6828.
    at org.json.simple.parser.Yylex.yylex(Yylex.java:610)
    at org.json.simple.parser.JSONParser.nextToken(JSONParser.java:269)
    at org.json.simple.parser.JSONParser.parse(JSONParser.java:118)
    at org.json.simple.parser.JSONParser.parse(JSONParser.java:92)
    at org.json.simple.JSONValue.parseWithException(JSONValue.java:73)
    at nightgames.characters.custom.JSONSourceNPCDataLoader.load(JSONSourceNPCDataLoader.java:73)
    at nightgames.global.Global.rebuildCharacterPool(Global.java:997)
    at nightgames.global.Global.newGame(Global.java:217)
    at nightgames.gui.CreationGUI.lambda$1(CreationGUI.java:127)
    at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
    at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
    at java.awt.Component.processMouseEvent(Unknown Source)
    at javax.swing.JComponent.processMouseEvent(Unknown Source)
    at java.awt.Component.processEvent(Unknown Source)
    at java.awt.Container.processEvent(Unknown Source)
    at java.awt.Component.dispatchEventImpl(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Window.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
    at java.awt.EventQueue.access$500(Unknown Source)
    at java.awt.EventQueue$3.run(Unknown Source)
    at java.awt.EventQueue$3.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
    at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
    at java.awt.EventQueue$4.run(Unknown Source)
    at java.awt.EventQueue$4.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)

    Any way to fix this would be much appreciated. Can post the code if needed.

    1. You’re playing a mod, because Night Games does not load in custom characters from json. I don’t have a lot of insight into the mod’s implementation, but that error indicates your json has a ‘<' where something else is expected. I would recommend comparing it to one of the existing json files to see where you have something out of place.

  2. I don’t know if I can even find a stray “<" in all that ugh. ^w^'

    Hmm, I didn't know this custom character add-on thing wasn't yours, but it makes more sense given the lack of coding detail, like basic frame, full skill lists and explanations etc. Maybe a custom character addition might appeal to you though? It is a way to generate a nice library of possible characters. And since the creators would be mostly doing it to suit their own interests, the possible characters would generate themselves if you had a place to share them. And if you wanted to limit the submissions by type/tastes or level of detail/completion, I'm sure finding someone willing to review them wouldn't be that difficult if you didn't want to yourself.

Leave a Reply

Your email address will not be published.