Kevin Lau
5403862e43
Fix random failure in Sky Drop test
...
In Doubles, if a decision is not specified, it tends to choose the first
move but the intended target can be wrong.
2015-06-26 18:59:43 -07:00
Marty-D
694fda0662
Gen V, VI: Fix Abilities and items working while inactive
...
- Fixes Doom Desire and Future Sight getting boosted by effects such as
Choice Specs while their user is inactive
2015-06-26 21:51:39 -04:00
Guangcong Luo
250bc0d617
Merge pull request #2008 from SolarisFox/patch-6
...
Proper error handling in /dexsearch and /movesearch
2015-06-27 00:47:07 +00:00
SolarisFox
bbd89946d2
Proper error handling in /dexsearch and /movesearch
2015-06-26 15:52:51 -07:00
Guangcong Luo
b5abd38d17
Merge pull request #1843 from SolarisFox/patch-6
...
/randompokemon mode for /dexsearch
2015-06-26 21:55:13 +00:00
Marty-D
1d7f27c655
Gen II: Smoochum can't legally learn Lovely Kiss
...
- There are no males in the Human-Like group that can pass it down
2015-06-26 15:04:04 -04:00
SolarisFox
c9d7eaf685
/randompokemon mode for /dexsearch
2015-06-26 09:06:59 -07:00
Ivo Julca
42d57466fb
Timeout errors should have a stack trace too.
2015-06-25 22:29:05 -05:00
Guangcong Luo
e6d952b035
Clarify command-not-found message
...
The previous text implied that it was possible to send !command
without broadcasting. This isn't actually possible.
2015-06-25 17:53:40 -04:00
Guangcong Luo
809693caeb
Fix crash in wifi chat-plugin
2015-06-25 17:53:39 -04:00
Guangcong Luo
c1219d38ab
Merge pull request #2003 from ascriptmaster/move-fixes-2
...
Simple Beam and Worry Seed reveal the target's ability
2015-06-25 21:43:30 +00:00
Kevin Lau
231c2c7443
Simple Beam and Worry Seed reveal the target's ability
2015-06-25 12:29:43 -07:00
Marty-D
d32b69f48d
Fix Attract end messages
2015-06-25 12:29:30 -04:00
The Immortal
d48f5c3392
Info: Update /tiers NU
2015-06-25 14:56:18 +04:00
Guangcong Luo
e35ed8ebd5
Refactor login
...
finishRename was a really huge function. This splits it into three
much more manageable functions with more useful names.
2015-06-25 04:43:34 -04:00
Guangcong Luo
d6cc52b528
Merge pull request #2002 from QuiteQuiet/protocol
...
Add more minor actions to PROTOCOL.md
2015-06-25 05:41:35 +00:00
Quite Quiet
5d3d62c6a3
Update PROTOCOL.md with more minor actions
2015-06-25 07:22:21 +02:00
Ivo Julca
0bffa43f85
Add NU suspect test
2015-06-24 23:44:15 -05:00
Ivo Julca
6207e69eef
/effectiveness: don't calculate modifier for Status moves
...
Verdict: I am culprit
2015-06-24 21:40:20 -05:00
Ivo Julca
2db4b6bf44
Misc command parser fixes
...
- Return proper error message for forbidden commands.
- Fix a recursive crash in lobby-less servers.
- Fix a stack overflow in some (very stupidly) modded servers.
2015-06-24 20:49:39 -05:00
Guangcong Luo
9dbeff0a1a
Merge pull request #2001 from Slayer95/command-parser
...
Refactor command parser and add more APIs
2015-06-25 01:08:04 +00:00
Ivo Julca
9b1b078534
Command API: this.run executes a command with current parameters
...
- Provides a straightforward way to add command aliases with own help entries.
- Encapsulates try-catch blocks.
2015-06-24 18:35:58 -05:00
Ivo Julca
00640a5218
Command API: this.cmdToken is either '/' or '!' depending on input
...
Also adds feature parity for !commands to be escaped with double !,
and to be returned from `canTalk`.
2015-06-24 18:35:33 -05:00
Ivo Julca
214fd79fdf
Refactor command context creation to use a prototype
...
Also support custom extensions to command API from plugins.
2015-06-24 18:34:16 -05:00
Kevin Lau
ac4cda7a7a
Merge pull request #1997 from ascriptmaster/tests
...
Add Sky Drop tests and pending Sky Drop glitch tests (for Gen 5)
2015-06-24 16:09:25 -07:00
Kevin Lau
e02e25289d
PROTOCOL.md: Change bold headers to h6 within Battle Messages
...
This allows Battle Message subsections to be linked to directly.
2015-06-24 00:27:09 -07:00
Guangcong Luo
80e43a392b
Merge pull request #2000 from ascriptmaster/master
...
Cut down on debug messages emitted in runEvent
2015-06-24 04:39:08 +00:00
Kevin Lau
f0206228cb
Cut down on debug messages emitted in runEvent
...
This line of code was emitting a lot of debug messages that are presented
without context and can be confusing to viewers of the battle log.
2015-06-23 21:27:28 -07:00
Guangcong Luo
5f556f0323
More reliable Config.loginfilter
2015-06-23 23:18:05 -04:00
Guangcong Luo
aa2dad529d
Add crash guard to team validator
...
Team validator crashes no longer stop battles from being created
until the next restart.
In theory, at least.
2015-06-23 23:14:58 -04:00
Guangcong Luo
3c9a3a29ba
Refactor Dnsbl.reverse
...
This renames exports to Dnsbl for ease of hotpatching.
2015-06-23 23:14:58 -04:00
Guangcong Luo
93db8d50eb
Sync nohost list
2015-06-23 23:14:58 -04:00
Guangcong Luo
377943bfaa
Nicer restart message
...
When trying to start a battle during a lockdown, the message is
now "The server is restarting" instead of "The server is shutting
down", to make it clearer that it'll come back up in a few minutes.
2015-06-23 23:14:58 -04:00
Guangcong Luo
c6c7503d45
/ban no longer lists guest alts
2015-06-23 23:14:58 -04:00
The Immortal
cc5ae35b44
Random Battle: Prevent Focus Blast with Close Combat
2015-06-24 05:35:58 +04:00
CJ
6f05306df7
trivia games joinable midgame + show who submits qs
...
change 'to join' to 'to start'
muted users cannot join games
added way to grab user name
2015-06-23 17:27:19 -06:00
Kevin Lau
57a6328bc9
Sky Drop prevents both the user and the target from being dragged out
...
onSource event handlers only trigger when the event has the Pokemon with
the effect as a source, and doesn't actually track when effectData.source
is used as the event target. This means an onAny event handler is needed
instead.
2015-06-23 11:49:59 -07:00
Kevin Lau
523ffe454b
Add Sky Drop tests and pending Sky Drop glitch tests (for Gen 5)
2015-06-23 11:49:53 -07:00
The Immortal
47d1bfb049
Random Battle: Fix Rhyperior's ability
...
Both of its other abilities are useless on it, so it should always be
getting Solid Rock.
2015-06-23 17:50:38 +04:00
Kevin Lau
255edab861
Fix Quash interaction with self-switching moves
...
Give the move demoted by Quash a negative priority when rearranging it in
the queue so that it does not get re-sorted to its original position when
self switch moves run.
2015-06-23 00:52:46 -07:00
Kevin Lau
d2eda4a375
Add Quash tests
2015-06-23 00:52:41 -07:00
The Immortal
8ce60056dc
Add new event Pokemon
...
Japanese distributions from the Hoopa movie.
2015-06-22 17:58:15 +04:00
Guangcong Luo
2383c81cc9
Merge pull request #1988 from ascriptmaster/move-fixes
...
Fix Thousand Arrows crash when used in chat commands
2015-06-21 23:57:14 +00:00
Kevin Lau
0942e1616b
Revert "Normalize Terrain short descriptions"
...
This reverts commit 8fa03498e0 .
2015-06-21 15:56:47 -07:00
Kevin Lau
8fa03498e0
Normalize Terrain short descriptions
...
Each Terrain states its effects on Grounded Pokemon with "Grounded:".
2015-06-21 15:44:36 -07:00
Kevin Lau
becc9e659b
Update Thousand Arrows' short description
2015-06-21 15:09:00 -07:00
Kevin Lau
3674a03663
Fix Thousand Arrows' interaction with effectiveness commands
...
Treat Thousand Arrows' effectiveness as if it were the second hit on, but
add a warning to the relevant commands informing the user that the first
hit will have a different effectiveness.
This fixes the crash in /effectiveness and /coverage when Thousand Arrows
is used.
2015-06-21 15:06:27 -07:00
Guangcong Luo
003880b7af
Merge pull request #1995 from Bryan-0/patch-38
...
Add new commands in /help
2015-06-21 21:59:21 +00:00
Bryan AA
16b06ca634
Add new commands in /help
...
- Add /hourmute and /modnote in Driver (%) Help.
- Add /modchat in Moderator (@) Help.
2015-06-21 14:44:20 -06:00
Bryan AA
28fbbe7bb0
Add "chall" as a alias of "Challenge" in Faq
...
- Add "chall" as a alias of "Challenge" in Faq, so people can do /faq chall, I add this because in challenge command they have a alias named "chall".
2015-06-21 09:12:18 -06:00