forked from smogon/pokemon-showdown-client
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Populate with current state of client
- Loading branch information
Showing
126 changed files
with
65,935 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
/sprites/ | ||
/audio/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
# -FrontPage- | ||
|
||
#IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti* | ||
|
||
<Limit GET POST> | ||
order deny,allow | ||
deny from all | ||
allow from all | ||
</Limit> | ||
<Limit PUT DELETE> | ||
order deny,allow | ||
deny from all | ||
</Limit> | ||
|
||
AddType text/plain .phps | ||
AddType application/x-tgz .tgz | ||
AddType application/x-chrome-extension .crx | ||
AddType application/x-web-app-manifest+json .webapp | ||
|
||
<IfModule mod_rewrite.c> | ||
RewriteEngine on | ||
|
||
RewriteCond %{HTTP_HOST} ^www\.play\.pokemonshowdown\.com$ [NC] | ||
RewriteRule ^(.*)$ http://play.pokemonshowdown.com/$1 [R=301,L] | ||
|
||
RewriteRule ^$ /lobby [R=301,L] | ||
RewriteRule ^topsekritsim\.php$ /lobby [R=301,L] | ||
RewriteRule ^topsekrit3\.php$ /lobby [R=301,L] | ||
RewriteRule ^temporary508\.php$ /lobby [R=301,L] | ||
RewriteRule ^temporary508\.php$ /lobby [R=301,L] | ||
RewriteRule ^sim\.php$ /lobby [R=301,L] | ||
|
||
#RewriteRule ^([A-Za-z0-9-]*)$ closed.php [L,QSA] | ||
|
||
RewriteRule ^(teambuilder|ladder|lobby|battle)/?$ index.php [L,QSA] | ||
RewriteRule ^(lobby|battle)-([A-Za-z0-9-]*)$ index.php [L,QSA] | ||
|
||
RewriteRule ^replay/battle-([A-Za-z0-9-]+)$ http://pokemonshowdown.com/replay/$1 [R=302,L] | ||
RewriteRule ^replay/turn_(.+)\.png$ replay/turn-image.php?data=$1 [L,QSA] | ||
|
||
RewriteRule ^~~([^/]*)/?$ /~~$1/lobby [R=301,L] | ||
RewriteRule ^~~([^/]*)/(teambuilder|ladder|lobby|battle)/?$ index.php?server=$1 [L,QSA] | ||
RewriteRule ^~~([^/]*)/(lobby|battle)-([A-Za-z0-9-]*)$ index.php?server=$1 [L,QSA] | ||
|
||
</IfModule> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,35 @@ | ||
Pokemon-Showdown-Client | ||
======================= | ||
Pokemon Showdown Client | ||
======================================================================== | ||
|
||
The client for Pokemon Showdown | ||
This is a repository for some of the client code for Pokemon Showdown. | ||
|
||
This is what runs `play.pokemonshowdown.com`. | ||
|
||
WARNING: You probably want the [Pokemon Showdown server][1]. | ||
|
||
[1]: https://github.com/Zarel/Pokemon-Showdown | ||
|
||
Setup | ||
------------------------------------------------------------------------ | ||
|
||
This repository is not "batteries included". It does NOT include everything | ||
necessary to run a Pokemon Showdown client. | ||
|
||
In particular, it doesn't include a login/authentication server, nor does it | ||
include the database abstraction library used by the ladder library (although | ||
it's similar enough to `mysqli` that you can use that with minimal changes). | ||
|
||
It also doesn't include several resource files (namely, the `/audio/` and | ||
`/sprites/` directories) for size reasons. | ||
|
||
In other words, this repository is incomplete and NOT intended for people | ||
who wish to serve their own Pokemon Showdown client (you can, but it'll | ||
require you to rewrite some things). Rather, it's intended for people who | ||
wish to contribute and submit pull requests to Pokemon Showdown's client. | ||
|
||
License | ||
------------------------------------------------------------------------ | ||
|
||
Pokemon Showdown's client is distributed under the terms of the [AGPLv3][2]. | ||
|
||
[2]: http://www.gnu.org/licenses/agpl-3.0.html |
Oops, something went wrong.