Search results

  1. hanlord

    Problems in using the local simulator

    :psysad:Oops, I cloned the repository to the wrong directory by mistake. Although I did successfully started and finished a game, but I have some problems trying to use python to run the game, then I removed the repository in the wrong place. But when I tried to clone it again, I was denied to...
  2. hanlord

    Problems in using the local simulator

    :psytear:Thanks a lot! :psytear:
  3. hanlord

    Problems in using the local simulator

    :psytear:Thanks for troubleshooting! I used these lines from the md files to start a battle: const Sim = require('pokemon-showdown'); stream = new Sim.BattleStream(); (async () => { for await (const output of stream) { console.log(output); } })(); stream.write(`>start...
  4. hanlord

    Problems in using the local simulator

    :psysad:Sorry for such a stupid question but I just get started with nodejs. I successfully installed showdown to nodejs and started a random battle following the instruction in the md file in github, then I got trouble sending decision of the 1st turn. According to the md file, I should type...
Top