GithubHelp home page GithubHelp logo

Comments (7)

JHunz avatar JHunz commented on September 7, 2024

Thanks for the detailed report! We'll get it sorted out

from gamesense-sdk.

tomizechsterson avatar tomizechsterson commented on September 7, 2024

Awesome, thank you. Looking forward to it. And if I can help in any way, feel free to let me know

from gamesense-sdk.

JHunz avatar JHunz commented on September 7, 2024

The fix above will go live with SSE 3.9.2

from gamesense-sdk.

ToadKing avatar ToadKing commented on September 7, 2024

To work around this for the time being, you can add an arg property to the event handler.

{
"game":"TESTGAME",
"event":"TESTEVENT",
"handlers": [{
    "device-type": "screened",
    "zone":"one",
    "mode":"screen",
    "datas": [{
        "has-text":true,
        "arg":"(value: self)"
        }]
    }]
}

from gamesense-sdk.

tomizechsterson avatar tomizechsterson commented on September 7, 2024

I'll try that. Thank you for looking into this!

from gamesense-sdk.

tomizechsterson avatar tomizechsterson commented on September 7, 2024

@ToadKing, I just tried the event handler you posted, and unfortunately SSE is still crashing on startup after binding it. Here's the updated nw-log.txt file with the new entries for today at the bottom:

nw-log.txt

Also, a screenshot of DHC in Chrome with the bind_game_event request:
image

And the body of the response (sorry I forgot to include this in my original post):
{"game_event_binding": {"game":"TESTGAME","event":"TESTEVENT_TEXT","icon_id":0,"min_value":0,"max_value":0,"HandlerDatas":["{"datas":[{"arg":"(value: self)","has-text":true}],"device-type":"screened","mode":"screen","zone":"one"}"],"handlers":[{"datas":[{"arg":"(value: self)","has-text":true}],"device-type":"screened","mode":"screen","zone":"one"}]}}

from gamesense-sdk.

ToadKing avatar ToadKing commented on September 7, 2024

It looks like the old handler data is still being returned to the frontend. That's odd, but that sounds like a different issue other than the crash. I'll make a note of that and look into it.

from gamesense-sdk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.