Commit Graph

23714 Commits

Author SHA1 Message Date
Marty-D
8ab09a4aed Remove Laser Focus tag on end 2017-04-28 12:46:03 -04:00
Guangcong Luo
3f06e82b4d Revert "Fix crash with lack of destroy() function"
Apparently I was wrong about the cause of that crash...

This reverts commit 5588b391b9.
2017-04-28 00:32:41 -07:00
Guangcong Luo
18061c5190 Suppress crash in room-battle
Also something I need to investigate further when I have time.
2017-04-28 03:26:57 -04:00
Guangcong Luo
223ccfd54b Sync datacenters 2017-04-28 03:26:24 -04:00
Guangcong Luo
961e56f194 Fix crashes/bugs in /timer 2017-04-28 03:26:01 -04:00
Guangcong Luo
392c58bc39 Notify staff room for unlocks 2017-04-28 03:25:40 -04:00
Guangcong Luo
3fc02fdfe9 Suppress crashes from undo desyncs
Undo desyncs should in theory still be impossible, but somehow they still
happen. I have basically zero free time to investigate this, unfortunately.
2017-04-28 02:50:17 -04:00
Guangcong Luo
cf58d55597 Make sysops skip message throttle
(This is relevant for recovering from message throttle bugs)
2017-04-28 02:50:17 -04:00
Guangcong Luo
5588b391b9 Fix crash with lack of destroy() function 2017-04-28 02:50:17 -04:00
Kris Johnson
5f6da76ecd Add OU suspect test (#3488)
OU is suspecting Metagrossite: http://www.smogon.com/forums/threads/np-sm-ou-suspect-process-round-4-the-robots.3602385/
2017-04-28 10:48:07 +04:00
Kevin Lau
4b9733b42d Random Battle: Enforce Liquid Voice as needed (#3489) 2017-04-28 10:17:26 +04:00
The Immortal
e1106f631e Update Doubles UU 2017-04-27 16:42:41 +04:00
The Immortal
71eb1855ce Update Mix and Mega 2017-04-27 13:09:09 +04:00
urkerab
cce9c4e2db Moves with no PP can't be turned into Z-moves (#3486) 2017-04-26 16:48:26 -07:00
QuiteQuiet
26d6a48156 Implement correct Perish Song mechanics (#3483)
- Liquid Voice + Perish Song will get absorbed by Storm Drain/Water Absorb
- Electrify Perish Song will trigger Lightningrod/Motor Drive/Volt Absorb
2017-04-26 19:29:27 -04:00
MacChaeger
aec8b293e8 Don't tie ability and item legality to a Pokemon's tier (#3484)
Previously, only CAP Pokemon were allowed to hold Crucibellite, even in CAP, and they've apparently been able to hold Berserk Gene and other Gen 2 items this whole time.
2017-04-26 11:19:29 -07:00
The Immortal
4b61a48dba Random Battle: Fix Linoone 2017-04-26 14:44:05 +04:00
The Immortal
45e4a2b474 Update RU 2017-04-26 10:03:33 +04:00
The Immortal
51b876c0a6 Add missing period 2017-04-25 19:10:17 +04:00
The Immortal
02ea84fd59 Random Battle: Ability improvements 2017-04-25 17:13:31 +04:00
The Immortal
fe7f1f1116 Fix gen 5 random battle script 2017-04-25 16:57:27 +04:00
Ben Davies
93968ce082 Commands: make /modlog compatible with OS X/BSD, fix silent error (#3480)
- tac isn't installed by default on OS X and flavours of BSD, which would
cause /modlog to fail in certain cases, so awk is used instead for them
- running /modlog all or /modlog public with a number of lines to
return rather than a string to query with now replies with an error
instead of treating "all" or "public" as literal rooms and trying to
read their modlog files
2017-04-24 22:10:35 -07:00
QuiteQuiet
4c0774fc96 Fix dependency installation on Windows (#3465) 2017-04-24 15:28:04 -07:00
Kevin Lau
8970beac69 Random Battle: Allow Belly Drum Gluttony (#3472) 2017-04-24 20:47:11 +04:00
MacChaeger
fa9090c38f Rulesets: Fix typo (#3479) 2017-04-24 19:44:26 +04:00
LegoFigure11
56a891f900 Update Gen 7 BSS format description (#3477)
Now that we have more resources this should be updated
2017-04-24 09:44:46 +04:00
Guangcong Luo
72c4ae4cf9 Refactor timer
This commit removes all timer code from rooms.js, and adds a new
BattleTimer class to room-battle.js which handles timers. In theory,
the timer is able to be used in other roomgames, but several parts may
need to be rewritten for that.

The new BattleTimer has nicer code, and also fixes #3438
2017-04-23 17:58:48 -07:00
Ben Davies
8de4bdfecb Sockets: refactor to use maps (#3474) 2017-04-23 16:39:38 -07:00
urkerab
a9fcf50fff Synchronise base formes and aliases (#3478) 2017-04-23 10:11:49 -04:00
QuiteQuiet
6167797a10 Gen 2: Check for inconsistent SpA/SpD DV (#3467) 2017-04-22 11:19:37 -04:00
MacChaeger
8e75649a10 Random Battle: Correctly handle Hidden Power and Baton Pass (#3469)
Previously, `moveid` would contain the specific type of hidden power such as `'hiddenpowerfire'`, but the switch statement would check for `'hiddenpower'`, and thus Hidden Power would never be rejected.
2017-04-22 13:01:59 +04:00
MacChaeger
9da05b8635 Refactor nonstandard banlists into rulesets (#3470) 2017-04-22 03:19:39 -04:00
Charlie Kobayashi
a1ccee96e3 Scavengers: Fix point distribution (#3471)
- dont stop giving points at the 6th user for official hunts
2017-04-22 03:16:11 -04:00
Charlie Kobayashi
01205e835a Scavengers: Partially lower permissions, fix display (#3466)
- allow % and up to view what the scavenger points are set at, but only allow RO's to set
- use ``staffHostName`` instead of ``staffHostId`` to preserve formatting of the staff member's name in the display.
2017-04-20 20:34:09 -04:00
Bär Halberkamp
f7dbcf482f Wifi: fix mistake in the GTS GA window 2017-04-21 01:38:02 +02:00
Quinton Lee
6856055b7b Remove Magearna forme alias
The formes were split into separate Pokemon
2017-04-20 10:11:17 -05:00
Bär Halberkamp
32f02596ab Wifi: fix url regex 2017-04-20 00:46:23 +02:00
Bär Halberkamp
a3eb5963d6 Wifi: allow announcing IGNs for GTS giveaways 2017-04-19 22:18:38 +02:00
Spandan Punwatkar
39718f407f Add More Resource Links (#3463) 2017-04-18 18:22:40 +04:00
MacChaeger
e22a504824 Random Battle: Update Mudsdale (#3462) 2017-04-18 15:18:17 +04:00
Ben Davies
7002810044 Tests: import the Trivia module in a sane way, clean up users/rooms (#3455)
Using internal module API to require the Trivia module is insane when it's
very simple to do without it. The trivia room is deleted after the tests
finish, and users are now destroyed properly.
2017-04-17 22:45:12 -04:00
The Immortal
9539eaa218 Add Monotype suspect test 2017-04-18 03:41:26 +04:00
Charlie Kobayashi
40cadd5a03 Scavengers: Changes requested by scavenger staff (#3460) 2017-04-17 02:20:49 -04:00
Bär Halberkamp
0eb9d99fbe Wifi: fix urls 2017-04-17 03:23:47 +02:00
Kris Johnson
6fc322c75e Update othermetas.js (#3457) 2017-04-16 06:22:58 +04:00
QuiteQuiet
ca35d354ab Fix Prankster Magic Bounce interaction (#3456) 2017-04-15 17:57:47 -04:00
Ben Davies
7d27efb817 Matchmaking: move battle logging back to Rooms.global (#3454)
* Matchmaking: move battle logging back to Rooms.global

For now, logging should be dealt by the global room until logging can be
abstracted away from it. This makes it simpler to refactor the logic in
Matchmaker#startBattle to be handled by Rooms.createBattle where it belongs.

* Matchmaking: use Matchmaker#cancelSearch format parametre

Optimizes cancelling searches if the format is known
2017-04-15 17:51:34 -04:00
Marty-D
feba315e31 Add event Bewear 2017-04-15 15:22:16 -04:00
Marty-D
76e5f1cba6 Update Original Cap Pikachu's Nature 2017-04-15 14:10:25 -04:00
Marty-D
f4df0f2312 Fix Roost interaction with Terrains 2017-04-15 14:09:25 -04:00