Commit Graph

9406 Commits

Author SHA1 Message Date
sirDonovan
ae92e1600f Update user stats logging
Use room ranks when applicable
2015-09-09 14:40:05 -05:00
The Immortal
ea48c9d4d4 Remove LC suspect test 2015-09-09 23:22:35 +04:00
Ivo Julca
bb523dcd97 Battle Factory: remove BL Pidgeot-Mega from UU 2015-09-08 20:18:02 -05:00
The Immortal
b81e818200 Prevent Players from being added to rated battles 2015-09-08 22:40:04 +04:00
The Immortal
715f0829a4 Sketchmons: Ban King's Rock and Razor Fang 2015-09-08 16:56:26 +04:00
Marty-D
0e26fbadaf Gen III: Fix Stockpile 2015-09-07 22:11:15 -04:00
The Immortal
06cf30a31b Theorymon: Remove Weavile and Hydreigon changes 2015-09-07 15:35:44 +04:00
The Immortal
c172cc8d16 Anything Goes: Add new Resources thread to desc 2015-09-07 15:34:23 +04:00
The Immortal
5d711466bf Sketchmons: Ban Shadow Tag 2015-09-07 15:33:20 +04:00
Guangcong Luo
5d5bb6b28a Better ability existence validation 2015-09-06 14:09:50 -04:00
Guangcong Luo
969220690b Limit names to 30 chars before passing to namefilter
Names are limited to 18 characters in toName, but toName happens
after namefilter since namefilter is intended to filter out
objectionable names, while toName is intended to filter out
unsupported names, and namefilter's transforms to names are not
guaranteed to never output an unsupported name.

This preprocessing just ensures that a badly-coded namefilter
can't be used to DoS in conjunction with a long name.
2015-09-06 13:56:17 -04:00
Guangcong Luo
5645e62185 'makeroom' permission allows all roompromote/demote
The 'makeroom' permission now grants near-full control over rooms,
bypassing all room promotion/demotion permissions.
2015-09-06 13:52:35 -04:00
Guangcong Luo
bdd2908f17 Show error when room privacy is unchanged
e.g. when using /hiddenroom on a room that's already hidden, etc
2015-09-06 13:50:23 -04:00
Guangcong Luo
a1221b4294 Notify staff when creating rooms
- Staff and Upper Staff are notified of public room creation
- Upper Staff is notified of private room creation
2015-09-06 13:49:02 -04:00
Ivo Julca
4d025898cd Require ability and move existence in Custom Game 2015-09-05 20:24:26 -05:00
Ivo Julca
ee2e206f3a Room aliases map to room ids always
Follow up to d3cf957668
2015-09-05 18:39:12 -05:00
The Immortal
21c0ef3d7e Add September tier shifts 2015-09-06 00:53:59 +04:00
The Immortal
5ed109b8e1 Add RU suspect test 2015-09-05 19:56:18 +04:00
Konrad Borowski
70665f6f5f Baton Pass Clause now supports Pokemon without a nickname
This fixes problems with showing Pokemon name as "undefined" when
Pokemon lacks a nickname
2015-09-05 10:37:20 +02:00
The Immortal
c9864f8e6d Random Battle: Prevent Aqua Jet as only STAB 2015-09-05 04:35:03 +04:00
Guangcong Luo
31386ff94a Merge pull request #2141 from Bryan-0/patch-40
Escape é in info.js
2015-09-04 15:23:37 -05:00
Bryan AA
1dcf176466 Escape é in info.js 2015-09-04 12:29:23 -06:00
The Immortal
4103f2bd01 Fix Primal Battle
Accidentally left these out.
2015-09-04 21:14:58 +04:00
The Immortal
942ef8576f Add Primal Battle
Next in-game battle competition.
2015-09-04 02:51:02 +04:00
Marty-D
ecda0f293d Correct Natural Gift base powers 2015-09-03 13:12:29 -04:00
The Immortal
010f0dba77 Update Hackmons 1v1 2015-09-03 21:01:06 +04:00
Marty-D
a16fdff02f Merge pull request #2137 from ascriptmaster/move-fixes-2
Shield Dust does not block self-boosting secondaries
2015-09-03 08:47:59 -04:00
The Immortal
6c56ab8126 Sketchmons: Remove unnecessary check
It already checks if the move is unreleased right above this.
2015-09-03 16:11:49 +04:00
The Immortal
e3b04c29d9 Merge pull request #2139 from ascriptmaster/randoms
Random Battle: Don't randomly choose setupType in case of a tie
2015-09-03 16:10:16 +04:00
Kevin Lau
79732b414e Shield Dust does not block self-boosting secondaries
Refactor TrySecondaryHit to become ModifySecondaries instead to allow for
proper behavior.
2015-09-03 03:10:16 -07:00
Kevin Lau
449f0aaa16 Add test suite for Shield Dust 2015-09-03 03:10:13 -07:00
Kevin Lau
761a18e459 Random Battle: Don't randomly choose setupType in case of a tie
If both Physical and Special setup moves are present, and there are an
equal number of Physical and Special moves, choose setup based on the
first setup move in the moveset instead of randomizing it.
2015-09-02 16:00:49 -07:00
The Immortal
5613076d9f Sketchmons: Ban Gothitelle and fix validator 2015-09-03 02:52:46 +04:00
The Immortal
bfa57ec4ab Update BW OU
http://www.smogon.com/forums/threads/bw2-suspect-proposal.3535733/page-4
#post-6410115
2015-09-03 02:42:06 +04:00
Guangcong Luo
6c4bb309da Merge pull request #2138 from sirDonovan/tournaments
Tournaments: improve disqualifying users
2015-09-02 16:28:27 -05:00
sirDonovan
8f0afa4e0c Tournaments: improve disqualifying users
Allow reasons and send popups
2015-09-02 11:45:17 -05:00
The Immortal
3530e95a96 Random Battle: Fix Pokemon with both Physical and Special setup
such as Lucario. Instead of always setting `setupType` to `Special` for
those cases, it now sets it to the one with the most attacks (or random
if it’s equal).

Also, added another check to fix the issue of too many Dark type
attacks on a Pokemon.
2015-09-02 17:10:43 +04:00
The Immortal
a8300d1bb9 Update UU and NU descs 2015-09-02 16:50:08 +04:00
The Immortal
7155b106b4 Ban Carracosta and Barbaracle from PU 2015-09-02 16:43:35 +04:00
Ivo Julca
17fb30c397 Fix desyncs in room aliases
- Fixes crashes after destroying rooms with aliases.
2015-09-01 18:14:08 -05:00
Ivo Julca
d3cf957668 Room aliases map to room ids on load
This change will be applied to /roomalias commands only in an
upcoming patch, in order to keep hotpatch-compatibility
2015-09-01 17:29:26 -05:00
Ivo Julca
a89e5906e5 Matchmaking: fix shifting MMR window for retries 2015-09-01 16:39:18 -05:00
The Immortal
688dd4e6e4 Update STABmons desc 2015-09-01 22:44:51 +04:00
The Immortal
3121f65a2b Add new Pokemon events 2015-09-01 22:44:09 +04:00
The Immortal
a79ce12710 Add new OMs of the Month 2015-09-01 20:31:45 +04:00
Guangcong Luo
165a667ec7 Improve documentation on modchat config options 2015-09-01 02:45:10 -05:00
Guangcong Luo
f0ce808f4d Drop support for modchat crash
Modchat crash is no longer used for any crashes at all, so we might
as well simplify some code complexity and remove support for it.
2015-09-01 02:45:10 -05:00
Guangcong Luo
d50a3a658e Suppress crash when matchmaking
HIGH PRIORITY: Actually fix the crash properly by clearing out the
matchmaking queues.
2015-09-01 03:27:51 -04:00
Guangcong Luo
68027cd1fb Better semilock support 2015-09-01 03:27:51 -04:00
Guangcong Luo
fa711ab203 Improve private room support
It's now possible to convert between secret and hidden rooms without
first making the room public. 'Secret room' is now the official
name for private rooms that aren't affected by global moderation,
and a new alias /secretroom has been introduced to reflect that.
2015-09-01 03:27:51 -04:00