Pokémon battle simulator.
Go to file
Guangcong Luo 899cac42e0 Make rooms time out and deallocate after being empty for an hour
Should theoretically greatly increase the amount of time before PS runs out of memory
2012-01-27 19:19:33 -05:00
config Add some basic documentation 2011-12-23 21:08:08 -05:00
node_modules Update socket.io to 0.8.7 2011-12-23 14:26:20 -05:00
.gitignore Everything I did before moving to Git 2011-12-22 23:53:05 -05:00
abilities.js Focus Sash/Band and Sturdy should only withstand hits if they come from moves, not from other forms of damage. 2012-01-10 16:51:37 -06:00
app.js Make rooms time out and deallocate after being empty for an hour 2012-01-27 19:19:33 -05:00
doc.txt Everything I did before moving to Git 2011-12-22 23:53:05 -05:00
formats.js Ban Snow Warning in UU, not the move Hail 2011-12-23 02:18:47 -05:00
items.js Implement Red Card and Eject Button. 2012-01-11 00:39:12 -06:00
learnsets.js Everything I did before moving to Git 2011-12-22 23:53:05 -05:00
movedex.js Implement Power Swap and Guard Swap 2012-01-21 17:36:20 -05:00
pokedex.js Fix spelling of Sand-Attack in a Gliscor random battle set 2011-12-23 02:18:13 -05:00
README.md Slightly improve the documentation 2011-12-23 21:09:34 -05:00
scripts.js Should hopefully fix Iron Barbs, and some other ability/item effects, triggering through Protect. 2012-01-25 20:56:49 -05:00
simulator.js Make rooms time out and deallocate after being empty for an hour 2012-01-27 19:19:33 -05:00
statuses.js Everything I did before moving to Git 2011-12-22 23:53:05 -05:00
tiers.js Update tiers 2011-12-31 19:03:23 -05:00
tools.js Fix a few bugs in the team validator 2011-12-23 02:21:13 -05:00
typechart.js Everything I did before moving to Git 2011-12-22 23:53:05 -05:00
users.js Make rooms time out and deallocate after being empty for an hour 2012-01-27 19:19:33 -05:00

Showdown

Showdown is a simulator of Pokemon battles. It currently only supports Generation 5 (Pokemon Black and Pokemon White).

Installing

Showdown requires Node.js (and perhaps also Socket.IO).

Copy config/config-example.js into config/config.js, and edit as you please.

After this, start Node:

cd <location of PS>
node app.js

Visit your server at http://play.pokemonshowdown.com/?server=SERVER&serverport=PORT

Replace SERVER with your server domain or IP, and PORT with the server's port (default is 8000).

Currently, this workflow works for testing Pokemon Showdown and testing your patches before submitting pull requests, but I wouldn't recommend running a production server this way. I'll make it easier to host your own server in the future.