Skip to content

error starting bot #11

@TheFanMan7777

Description

@TheFanMan7777

getting this error when trying to node bot

info    Connecting to server sim.psim.us:8000
ok      Connected to server showdown (11/03/2024 23:24:29)
monitor Bot nickname has changed:  Guest 8202345 [guest]
ok      Received battle formats. Total: 333
info    Received challstr, logging in...
error   The value of "value" is out of range. It must be >= 0 and <= 4294967295. Received -1482056512
RangeError [ERR_OUT_OF_RANGE]: The value of "value" is out of range. It must be >= 0 and <= 4294967295. Received -1482056512
    at checkInt (node:internal/buffer:74:11)
    at writeU_Int32BE (node:internal/buffer:804:3)
    at Buffer.writeUInt32BE (node:internal/buffer:817:10)
    at WebSocketFrame.toBuffer (D:\Downloads\Pokemon-Showdown-Bot-master\Pokemon-Showdown-Bot-master\node_modules\websocket\lib\WebSocketFrame.js:257:24)
    at WebSocketConnection.sendFrame (D:\Downloads\Pokemon-Showdown-Bot-master\Pokemon-Showdown-Bot-master\node_modules\websocket\lib\WebSocketConnection.js:822:43)
    at WebSocketConnection.fragmentAndSend (D:\Downloads\Pokemon-Showdown-Bot-master\Pokemon-Showdown-Bot-master\node_modules\websocket\lib\WebSocketConnection.js:758:14)
    at WebSocketConnection.sendUTF (D:\Downloads\Pokemon-Showdown-Bot-master\Pokemon-Showdown-Bot-master\node_modules\websocket\lib\WebSocketConnection.js:698:10)
    at WebSocketConnection.send (D:\Downloads\Pokemon-Showdown-Bot-master\Pokemon-Showdown-Bot-master\node_modules\websocket\lib\WebSocketConnection.js:685:14)
    at Client.send (D:\Downloads\Pokemon-Showdown-Bot-master\Pokemon-Showdown-Bot-master\showdown-client.js:307:16)
    at Client.<anonymous> (D:\Downloads\Pokemon-Showdown-Bot-master\Pokemon-Showdown-Bot-master\showdown-client.js:251:10)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions