Pokémon battle simulator.
Go to file
Guangcong Luo 7fd348a8a2 Fix Disable to disable moves right as they're being used.
(also changes Taunt's duration to 3 turns instead of 3 move-uses)
2012-02-14 23:10:55 -05:00
config Add four new configuration options to prevent lag on large servers: 2012-02-08 18:22:49 -05:00
logs Convert logging.md to use CRLFs so Notepad can open it. 2012-02-11 02:16:25 -05:00
.gitignore remove the node_modules folder from the repository and use package.json to define dependencies 2012-02-11 12:59:19 -05:00
abilities.js Fix Magic Bounce and Magic Coat to bounce confusion-inducing moves 2012-02-13 10:43:50 -05:00
app.js Revise the rematch support message a bit 2012-02-13 23:45:04 -05:00
chat-commands.js New command: /forcerename 2012-02-14 22:27:47 -05:00
doc.txt
formats.js Add some ruleset legalities to Crobat 2012-02-14 22:28:47 -05:00
items.js Fix White Herb and Simple interacting incorrectly 2012-02-13 10:41:42 -05:00
learnsets.js Implement CAP learnsets correctly 2012-02-08 21:19:57 -05:00
movedex.js Fix Disable to disable moves right as they're being used. 2012-02-14 23:10:55 -05:00
package.json remove the node_modules folder from the repository and use package.json to define dependencies 2012-02-11 12:59:19 -05:00
pokedex.js Remove Delibird's sets - Delibird is only allowed in its holiday set during Christmas season. 2012-02-08 20:57:26 -05:00
README.md remove the node_modules folder from the repository and use package.json to define dependencies 2012-02-11 12:59:19 -05:00
scripts.js CAP pokemon are now correctly level 74 instead of level 90. 2012-02-08 17:53:11 -05:00
simulator.js Correctly fix Struggle recoil 2012-02-14 22:31:43 -05:00
statuses.js Fix Doom Desire and Future Sight to work after the user has fainted 2012-02-13 20:14:51 -05:00
tiers.js
tools.js Legalize Necturna for the CAP Necturna playtest 2012-02-12 23:56:30 -05:00
typechart.js
users.js Add default avatar for Leader Jasmine 2012-02-14 22:30:12 -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 npm (which is installed by default with Node.js since v0.6.3).

Run npm install to install all necessary dependencies.

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:PORT/

Replace SERVER with your server domain or IP, and PORT with the server's port. You can leave off :PORT if it is 8000 (the default).

Yes, you can test even if you are behind a NAT without port forwarding: http://play.pokemonshowdown.com/~~localhost/ will connect to your local machine.

Currently, this workflow works for testing Pokemon Showdown and testing your patches before submitting pull requests, but it ends up with somewhat ugly URLs. I'll make it easier to host your own server in the future, when we're closer to leaving beta.

The reason your server is visited through play.pokemonshowdown.com is to ensure that your server itself will not see any user's password in any form.

Browser support

Showdown currently supports, in order of preference:

  • Chrome
  • Firefox 4+
  • Safari
  • Safari for iPhone/iPod/iPad
  • Firefox for Android
  • IE9+

The built-in Android browser is not supported because of socket.io bug 651, but will be when that bug is fixed. In the meantime, Firefox for Android works.

IE8 has a few teambuilder issues that will be worked out when I have time.

I haven't looked into Opera much, but support for that is planned as long as it doesn't turn out to be too difficult.

As for older browsers (Firefox 3.6, IE7), I won't go out of my way to support them, but if there's a simple fix, you can suggest it to me and I'll implement it.