Commit Graph

2706 Commits

Author SHA1 Message Date
HoeenHero
900e3fc6f5 Subtly notify HTML room changes (#1050) 2017-11-24 12:10:22 -06:00
Guangcong Luo
e3f96c983e Support HTML rooms
This adds support for a new kind of roomtab that just contains plain
HTML.

The current use-case is modlog, but it could be used for a number of
things where an article would be useful.
2017-11-24 03:04:12 -05:00
Guangcong Luo
8ce74ba33e Fix more slow fast-forwarding 2017-11-24 03:01:17 -05:00
Guangcong Luo
4dc3098b4e Fix more crashes from statbar refactor 2017-11-24 03:01:01 -05:00
urkerab
e395155582 Ignore location.search in the test client (#1048) 2017-11-23 01:39:59 -06:00
Guangcong Luo
b5094a753e Teambuilder: Update Battle Spot pokemon list 2017-11-23 01:30:45 -05:00
Guangcong Luo
1e0708ec82 Fix testclient login 2017-11-23 01:30:17 -05:00
Guangcong Luo
8d3f140a3d Fix weather upkeep messages 2017-11-22 09:40:41 -05:00
Guangcong Luo
d717b4410c Battles: Fix effects on off-screen pokemon
(Specifically, stuff like Heal Bell was causing statbar weirdness,
which this fixes.)
2017-11-22 09:39:37 -05:00
Guangcong Luo
2c57bdfb14 Update eslint version 2017-11-22 07:15:29 -06:00
Guangcong Luo
f4a7dd5074 Battles: Fix confusion/attract message grouping 2017-11-22 04:31:56 -05:00
Guangcong Luo
35c2c2f324 Specifically detect Wii U browser
It now gives a custom error message about needing HTTP.
2017-11-22 04:17:41 -05:00
Guangcong Luo
8dc8037fd8 Battles: Fix message grouping for Protean 2017-11-22 04:16:05 -05:00
Guangcong Luo
7da1387e75 Battles: Improve message grouping
Weather upkeep is no longer grouped with previous moves, Z-move
activation is now grouped with the move they activate, etc.
2017-11-21 23:10:19 -05:00
Guangcong Luo
cf5dbd8ec8 Battles: Fix switch timing
Switches should now happen more slowly and give more time to read
what's going on.
2017-11-21 20:30:39 -05:00
Guangcong Luo
4f065b4164 Fix crash in 93595127d8 2017-11-21 07:50:32 -05:00
Guangcong Luo
24c090a08d Default to HTTPS
Chrome peer-pressuring us by locking Notification behind HTTPS... they
also lock plenty of other things behind HTTPS and the trade-off seems
worth-it now.
2017-11-21 07:50:32 -05:00
Guangcong Luo
033c8b2d4c Battles: Accelerate animations after 2 doubleswitches
Once a battle starts having repeated double-switches, battle animations
will become accelerated, and should go significantly faster.

The same acceleration system is used for the replay player's "Fast"
setting, to make that go slightly faster as well.
2017-11-21 07:50:32 -05:00
Guangcong Luo
5a2df52411 Battles: Refactor messageDelay
This splits messageDelay into messageShownTime and messageFadeTime.

This allows the "Fast" setting in replays to be a lot faster.
2017-11-21 07:50:32 -05:00
Guangcong Luo
93595127d8 Improve battle fast-forward speed
Specifically, this improves the speed of "Go to turn" and "Last turn"
at large turn counts (e.g. turn 500).

The trick is to stop creating statbars while fast forwarding, and just
reconstruct them after fast forwarding (which we already do, anyway).
2017-11-21 02:38:04 -05:00
Marty-D
5481b31327
Add support for Totem Pokemon 2017-11-20 19:32:08 -05:00
Guangcong Luo
4c3448cea2 Enlarge gen 1-4 sprites
This is an unfinished change, but it's been sitting uncommitted for
like a year so I'm going to push this before it causes a merge
conflict.
2017-11-20 19:27:45 -05:00
Guangcong Luo
d6fa404ec7 Retry updating icon cachebuster 2017-11-17 23:50:18 -05:00
Guangcong Luo
8fb16236c4 Show more specific login errors 2017-11-17 20:26:33 -05:00
Ridaz
090b3b67e2 Fix Ultra Burst animation 2017-11-17 08:32:26 +00:00
Guangcong Luo
5ba007d702 Rename Ultra Burst message to 'ultra' 2017-11-17 03:19:33 -05:00
Ridaz
5a632d951d Add USUM animations 2017-11-16 23:26:03 +00:00
Marty-D
e6b5f3f3a2
Add Ultra Burst messages 2017-11-15 23:23:14 -05:00
Marty-D
6205e4af5d
Update minisprite cachebuster 2017-11-15 20:45:51 -05:00
Marty-D
03adeecb20
Update Pokemon minisprites 2017-11-15 20:27:02 -05:00
Marty-D
5cdeff83ef
Add support for Ultra Burst 2017-11-15 18:29:25 -05:00
Guangcong Luo
9ebde911fd Format /text PMs 2017-11-14 19:06:46 -05:00
Guangcong Luo
c2abdbbf9f Fix ES6 use in client-chat.js
Fixes #1045
2017-11-14 19:06:41 -05:00
urkerab
c14cd19648 Remove unexpected trailing commas (#1044) 2017-11-09 18:29:28 -05:00
Bär Halberkamp
dee1106af4 Keep /raw and /html PMs from showing up in main chat (#1041) 2017-11-04 13:55:20 -07:00
Kris Johnson
75bb1d8a7c Remove Sketchmons COIL (#1042) 2017-11-05 01:42:53 +08:00
Ridaz
41d70b24ff
Add cursed effect animation (#1037)
... And a few extras
2017-10-30 17:28:40 +00:00
Guangcong Luo
6ebb491154 Improve support for RoomGame 2017-10-29 21:16:06 -04:00
Guangcong Luo
71341bbf64 Fix autojoin in unregistered servers 2017-10-29 21:16:05 -04:00
Guangcong Luo
37eda53ac4 POST getattribution/upkeep
This matches login/register messages, so all requests that fetch a
login token are now POSTed.
2017-10-29 21:16:05 -04:00
Guangcong Luo
262f3fce05 Fix attribution on Charizards background
"Showdown: Charizards" makes the attribution bleed over to the second
column. Workaround is to just write "Charizards" there. Will have to
think of a different workaround if we ever get a background with a long
artist name and a long title.
2017-10-29 21:16:05 -04:00
Guangcong Luo
8881d0fe3e Dark mode is no longer beta 2017-10-29 21:16:05 -04:00
QuiteQuiet
555ada5804 Storage: Don't bleed over set data (#1036) 2017-10-29 20:15:18 -05:00
MacChaeger
bd8bfc4298 Update tooltips (#1012) 2017-10-29 13:19:15 -05:00
Marty-D
bd68deb877 Tooltips: Update sleep turns counter 2017-10-27 09:31:47 -04:00
asgdf
951cd3bd5a Teambuilder: fix teams disappearing when dragging and dropping within folder (#1034) 2017-10-23 09:33:05 -05:00
Guangcong Luo
5d363f4c44 Lighten cyan/blue usernames slightly 2017-10-21 14:51:12 -04:00
Guangcong Luo
be0ca58192 Remove Credits popup
The Teambuilder Credits link is now just a link to
http://pokemonshowdown.com/credits
2017-10-21 13:10:44 -04:00
urkerab
d10969190f Add activation message for the Protective Pads (#1033) 2017-10-19 21:05:32 -04:00
The Immortal
8e6982347a Update COIL 2017-10-17 01:29:02 +04:00