Curious about what we're currently doing about bots? Check out the latest updates from staff in this thread.
Welcome to Smogon! Take a moment to read the Introduction to Smogon for a run-down on everything Smogon, and make sure you take some time to read the global rules.
Hey guys,
Back with another random API suggestion to make life easier (well, my life at least :blobshrug: ).
When a |request|REQUEST arrives as detailed here https://github.com/smogon/pokemon-showdown/blob/master/sim/SIM-PROTOCOL.md we're told the moves available like so
```
"active": [...
Hm so I can either store that data or pull it on boot :blobthinking: yep that will help. The only concern I'd then have is around version mismatch if the showdown version I'm using as a lib and the published files differ - though this is really only an issue if data is removed from the data...
Currently the |request API response includes the active pokemon moves & data about pokemon on the side.
Excerpt from https://github.com/smogon/pokemon-showdown/blob/master/sim/SIM-PROTOCOL.md
"moves": [
{
"move": "Light Screen",
"id": "lightscreen"...
Hi MJB!
Yes I did see that - but sadly the battle messages aren't documented yet.
*Edit* Although Room initialization looks promising to start with ..
It would be enough if one could send "Given Field f; Side s1; Side s2; Pokemon 1; Pokemon 2; Pokemon1 uses move B; Tell me the result." It...
My question - can pokemon showdown be run as a self contained engine to simulate pokemon battles, that another program can relate to via the sending & receiving of JSON objects ? ( I can't find any details for the structure of these messages .. and it would be nice to be able to write plugins...