Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Crash after starting battle #6

Open
CatFart opened this issue Jul 26, 2019 · 2 comments
Open

Crash after starting battle #6

CatFart opened this issue Jul 26, 2019 · 2 comments

Comments

@CatFart
Copy link

CatFart commented Jul 26, 2019

I get this error everytime i start a battle.

SyntaxError: Unexpected end of JSON input at JSON.parse (<anonymous>) at constructor.recieve (showdownbot-master 2/battleroom.js:498:45) at recieve (showdownbot-master 2/bot.js:203:18) at EventEmitter.<anonymous> (showdownbot-master 2/bot.js:279:3) at EventEmitter.emit (events.js:198:13) at WebSocketTransport.<anonymous> (showdownbot-master 2/node_modules/sockjs-client-ws/lib/sockjs-client.js:112:20) at WebSocketTransport.emit (events.js:198:13) at WebSocketTransport._dispatchMessage (showdownbot-master 2/node_modules/sockjs-client-ws/lib/WebSocketTransport.js:89:17) at WebSocketTransport.onData (showdownbot-master 2/node_modules/sockjs-client-ws/lib/WebSocketTransport.js:56:16) at WebSocket.<anonymous> (showdownbot-master 2/node_modules/sockjs-client-ws/lib/WebSocketTransport.js:3:59)

@CatFart
Copy link
Author

CatFart commented Jul 26, 2019

A tad easier to read
https://pastebin.com/P3KkD2gR

@amharfm
Copy link

amharfm commented Oct 26, 2019

Hey btw I have finished updating rameshvarun's code to be applied in current Pokemon showdown version (Zarel's) (October 2019). How should I offer a merge to this version? regards, amhar

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

No branches or pull requests

2 participants