Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Server crashes when used with new Cemu (v1.12) #3

Open
Stephen-X opened this issue May 19, 2018 · 3 comments
Open

Server crashes when used with new Cemu (v1.12) #3

Stephen-X opened this issue May 19, 2018 · 3 comments

Comments

@Stephen-X
Copy link

I was trying to use the app with the new Cemu (I tested with v1.12, but this issue probably exists before this version), but the server crashed when I opened Cemu. Here's the error printout:

internal/buffer.js:35
    throw new ERR_OUT_OF_RANGE('value', `>= ${min} and <= ${max}`, value);
    ^

RangeError [ERR_OUT_OF_RANGE]: The value of "value" is out of range. It must be >= 0 and <= 4294967295. Received 3312645462408298
    at checkInt (internal/buffer.js:35:11)
    at writeU_Int32LE (internal/buffer.js:515:3)
    at Buffer.writeUInt32LE (internal/buffer.js:528:10)
    at BeginPacket (D:\Program Files\Games\Cemu\iOSGyroForCemuhook\app.js:51:8)
    at SendPacket (D:\Program Files\Games\Cemu\iOSGyroForCemuhook\app.js:63:15)
    at Socket.server.on (D:\Program Files\Games\Cemu\iOSGyroForCemuhook\app.js:132:7)
    at Socket.emit (events.js:182:13)
    at UDP.onMessage [as onmessage] (dgram.js:670:8)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start: `node app.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

Does anybody know what's going wrong? Thanks!

@johnnym90
Copy link

I've got the same problem, same thing happens when trying to use padtest. I've tried using another router, running as admin and changing port.

@johnnym90
Copy link

Oh, this worked for me https://github.com/hjmmc/WebGyroForCemuhook/releases

@Stephen-X
Copy link
Author

@johnnym90 Thanks for the recommendation! Yes the new one works for me, although I have to use the packaged executable from release; if I run the source code directly with npm, I still face the same issue as shown above. I wonder what's the issue here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants