Commit Graph

2015 Commits

Author SHA1 Message Date
Marty-D
147a3f0fec Add the last Pledge move messages. 2013-02-07 12:07:09 -05:00
Marty-D
01f304a6dc Fix Mold Breaker's interaction with Illusion. 2013-02-07 09:54:15 -05:00
Cathy J. Fitzpatrick
8f76c51557 Merge pull request #163 from rissole/redcard-fix
Fix Red Card message
2013-02-07 03:16:19 -08:00
rissole
2e265dd49b Fix Red Card message 2013-02-07 21:54:43 +11:00
Marty-D
3810e728a8 Gen IV: Fix up formats-data. 2013-02-06 12:48:45 -05:00
Guangcong Luo
cc99883311 Fixes to the seasonal ladder 2013-02-05 14:19:16 -08:00
Guangcong Luo
797f57c5fd Merge pull request #162 from Joimer/patch-1
Adding new Seasonal ladder Valentine Venture
2013-02-05 12:54:29 -08:00
Joim
1641e234e9 Addding new Seasonal ladder Valentine Venture
Adding the format for the new Seasonal ladder, 
Valentine Venture, and also commenting Wonder Winterland.
2013-02-05 08:34:51 +01:00
Joim
277ca65641 Adding Valentine Venture random team selection
Added the random team selection for the new Seasonal ladder for 
February Valentine Venture (randomSeasonalVVTeam).
It's a doubles ladder that chooses three couples for each player.
2013-02-05 08:33:17 +01:00
Cathy J. Fitzpatrick
bd681a1193 Fix interaction between Safeguard and Confusion
Safeguard was failing to block Confusion because the Confusion
`onStart` function did not pass a `target` and `source` to `runEvent`
when invoking the `TryConfusion` event, and Safeguard's
`onTryConfusion` function requires that a `target` and `source` be
specified.
2013-02-04 17:25:05 -07:00
Joim
f134fdb29c Update /help timestamps
Update /help timestamps to reflect Zarel/Pokemon-Showdown-Client@6dd067
2013-02-04 02:42:48 -07:00
Guangcong Luo
7b2344a0ec OU is having a suspect test 2013-02-03 23:59:50 -08:00
Cathy J. Fitzpatrick
215537432b Revert last commit for now
I'm reverting this pending further discussion on whether forcerenames
should be broadcasted.
2013-02-03 20:06:23 -07:00
Cathy J. Fitzpatrick
d795f807e4 Don't broadcast forcerenames to the room 2013-02-03 19:31:29 -07:00
Cathy J. Fitzpatrick
e00d9cb9b6 Don't broadcast demotions to the room 2013-02-03 19:30:50 -07:00
Cathy J. Fitzpatrick
ca9f761692 Remove outdated bit of documentation 2013-02-02 17:42:44 -07:00
Cathy J. Fitzpatrick
e44453d266 Add special flag for permanent nameTaken error
This flag indicates that the client should not provide the option
to choose a new name, because all names will fail, rather than just
the one specified.
2013-02-02 16:22:41 -07:00
Cathy J. Fitzpatrick
5b985e1ddc Revise default tokenhosts setup
The new default is that the hostname contained in the first assertion
sent to the server will be accepted, and it (and the corresponding IP
address, if it is a domain name) will be added to tokenhosts.

In addition, I have also added a better error message in the case of
an invalid token hostname, which should point users to the relevant
documentation.
2013-02-02 16:12:56 -07:00
TheImmortal
ac749bb693 Add Sinnoh starter + Garchomp events 2013-02-02 17:11:41 +04:00
Cathy J. Fitzpatrick
83de23e6b1 Improve documentation of tokenhosts
I also have changed the default to localhost only. However, servers
which leave `exports.tokenhosts` undefined will continue to accept
all hostnames in assertions, so this commit will not break existing
servers that pull it.
2013-02-02 03:11:26 -07:00
Cathy J. Fitzpatrick
b5f144a9aa Remove unnecessary code from app.js 2013-02-01 22:07:37 -07:00
Cathy J. Fitzpatrick
9a1c2679e1 Add feature to watch config file for changes 2013-02-01 22:01:20 -07:00
Cathy J. Fitzpatrick
914efeaebb Only allow use of dev console from whitelist of IPs 2013-02-01 21:17:26 -07:00
Cathy J. Fitzpatrick
f9e096732c Add config setting for assertion expiry 2013-02-01 17:32:44 -07:00
Marty-D
0be8010652 Fix Custap Berry and (Hi) Jump Kick messages. 2013-02-01 15:59:32 -05:00
Guangcong Luo
33b48d6e7f Stretch assertion expiration to 25 hours
There aren't really any major vulnerabilities associated with this,
and so we can afford to be forgiving of servers with inaccurate
timekeeping.
2013-02-01 11:44:59 -08:00
Guangcong Luo
385bba59f8 Merge pull request #159 from Joimer/patch-7
Updated help to show /highlight options
2013-02-01 11:13:38 -08:00
Guangcong Luo
735f795079 Accounts at risk of being unregistered can't be promoted
we're introducing a separate command /forcepromote (admin only)
if you REALLY want to, though.
2013-02-01 11:11:07 -08:00
Cathy J. Fitzpatrick
64baf436da Require assertion to be presented within 1 minute
This commit requires the client to present its signed assertion from
the login server to the Pokemon Showdown server within one minute
after it was generated, rather than the previous allowance of two
days. A new signed assertion is generated for each action that
requires one, so this 60 second window is actually quite generous.
2013-02-01 05:23:01 -07:00
Cathy J. Fitzpatrick
ad1d6a8a92 Disallow guest users from sending PMs
Guest PMs were mainly a vector for spam.
2013-02-01 04:46:27 -07:00
Cathy J. Fitzpatrick
4a47c189b1 Log use of /disableladder and /enableladder 2013-02-01 03:17:40 -07:00
Cathy J. Fitzpatrick
a459e5916d /disableladder now governed by disableladder permission
Previously, access to /disableladder and /enableladder was controlled
by the `modchat` permission, which is available to the @, &, and ~
groups by default. However, /disableladder is a very disruptive command
and it is totally unlike modchat, so it is now governed by its own
permission, which is given to the & and ~ groups by default.
2013-02-01 03:07:04 -07:00
Cathy J. Fitzpatrick
307bd88d5e Add link to client repository in /opensource command 2013-01-31 09:43:28 -07:00
Joim
57f150d866 Updated help to show /highlight options
Added the information about new /highlight options, fixed faq help which now works in the same fashion as the rest.
2013-01-31 09:50:35 +01:00
Guangcong Luo
495dcf155c /lobbychat command to block lobby chat
Usage: /lobbychat off - start blocking
/lobbychat on - stop blocking
2013-01-30 17:03:25 -08:00
Marty-D
316dedc561 Add After You and Quash messages. 2013-01-30 14:46:59 -05:00
Marty-D
167ee1d00d Move the multi-target modifier to the right place. 2013-01-30 12:04:02 -05:00
The Immortal
64f7faad04 Viable moves changes 2013-01-30 18:56:08 +04:00
Cathy J. Fitzpatrick
e9ddc79474 Verify that assertion contains valid hostname to avoid vulnerability 2013-01-30 06:31:26 -07:00
Guangcong Luo
561393658b Fix Spite 2013-01-29 14:55:24 -08:00
Cathy J. Fitzpatrick
b7b19adabb Fix 2 moves in gen3 mod with basePower===false
See commit message @69f6c62cac
2013-01-29 15:52:50 -07:00
Guangcong Luo
6634330e78 Make it possible for moves to deal 0 damage 2013-01-29 14:33:26 -08:00
Cathy J. Fitzpatrick
69f6c62cac Fix 62 moves
As of @a475ea5901, a basePower of `false` is a special value that
denotes that the move should always fail (unless modified). This
change broke 62 moves that currently use a basePower of `false` when
they appear to intend a basePower of 0. This commit changes the
basePower of these moves to 0.
2013-01-29 14:21:41 -07:00
Cathy J. Fitzpatrick
1aa3ffed4b Add debug message for spread modifier 2013-01-29 02:43:51 -07:00
Cathy J. Fitzpatrick
2aa375b7dc Add /timestamps to /help messages 2013-01-29 00:54:03 -07:00
Cathy J. Fitzpatrick
9c46eb6e5b Fix trivial bug in chat-commands.js
Previously, /help ~ displayed the following message:

   The command "/~" was not found. Try /help for general help

This bug was caused by a missing 'matched = true;' statement,
which has now been added.
2013-01-29 00:29:08 -07:00
Guangcong Luo
0098e6c323 Fix some bugs relating to Ground immunity negation 2013-01-28 18:38:05 -08:00
Guangcong Luo
ed7b505a0b Fix Cute Charm's random roll
(it was previously guaranteed to activate while testing)
2013-01-28 17:48:00 -08:00
Guangcong Luo
c94cfb0b80 Implement Uproar 2013-01-28 17:24:00 -08:00
Guangcong Luo
b6113490ad Implement Friend Guard 2013-01-28 10:50:12 -08:00