Commit Graph

23714 Commits

Author SHA1 Message Date
xCrystal
6782b32973 Gen 2: Fix items like Thick Club on nicknamed Pokemon (#3658) 2017-06-19 03:30:42 -07:00
Bär Halberkamp
961ffc3f9b Upgrade eslint to 4.x (#3657) 2017-06-18 22:37:43 -07:00
xCrystal
07bbdd0ab9 Gen 2 Random Battles: General update and improvements (#3601) 2017-06-18 20:05:44 -07:00
Guangcong Luo
47a35b7b45 Refactor dexsearch
- Icons and names now both show up, margins tweaked to look good
- Results are now clickable
2017-06-18 21:56:34 -04:00
Caleb Young
912dfa56c3 Gen 3: Implement correct damage flooring (#3655) 2017-06-18 17:25:03 -07:00
The Immortal
26833a9923 Gen 4 Random Battle: Improvements 2017-06-19 04:13:16 +04:00
Bär Halberkamp
b678247ba6 Datasearch: get rid of commas in between icons 2017-06-18 17:26:00 -04:00
Bär Halberkamp
c198612e05 Improve display of shared IPs in /ip 2017-06-18 13:52:34 -07:00
Bär Halberkamp
38556a5aa4 Further refactor punishments when it comes to checking alts 2017-06-18 13:52:34 -07:00
Bär Halberkamp
02347fde67 Don't punish other users on shared IPs 2017-06-18 13:52:34 -07:00
asgdf
1935f220e1 Modlog: allow userid search to find names with underscores (#3654) 2017-06-18 13:50:23 -07:00
The Immortal
d11dc47d8f Sketchmons: Ban Sticky Web 2017-06-18 23:17:28 +04:00
The Immortal
a1348e2f04 Random Battle: Prevent Scarf on weak Pokemon 2017-06-18 18:20:42 +04:00
Bär Halberkamp
88381146cf Wifi: Fix text not showing up as bold 2017-06-18 09:35:23 -04:00
Bär Halberkamp
50a511f4dd Wifi: allow hosts to join their own lottery GAs 2017-06-18 09:10:58 -04:00
Bär Halberkamp
92aa82794d Add usage of <psicon> (#3653)
* Add support for <psicon> to parseText

* Utilize <psicon> in giveaways

* Utilize <psicon> in /dexsearch and /itemsearch
2017-06-17 17:48:47 -07:00
panpawn
e7dc3f5300 Fix lock/ban global modlog entries with proof (#3649) 2017-06-17 14:45:22 -07:00
Charlie Kobayashi
851035795b Scavenger Games: Jump Start - actually set wait to 1 minute (#3651) 2017-06-17 14:40:14 -07:00
Ben Davies
b66e395bf6 Add Config.ofe, refactor optional dependency usage (#3644)
Config.ofe toggles whether or not to write heapdumps if sockets workers
run out of memory, since ofe is an optional dependency but is not
installed by default. nodemailer is now a nonDefaultDependency, and
will complain if it's not installed when Config.crashguardemail is
enabled.
2017-06-17 14:37:11 -07:00
Marty-D
6985f9af6d Fix Duskull's learnset 2017-06-17 15:51:01 -04:00
Marty-D
391ef77e66 Add event Steenee 2017-06-17 09:38:34 -04:00
Marty-D
1b8c56d483 Correct Precipice Blades description 2017-06-17 09:37:55 -04:00
Marty-D
d60c007f3d Update move flag descriptions 2017-06-17 09:36:52 -04:00
Charlie Kobayashi
90122bf4fc Jump start - update mechanics (#3650) 2017-06-17 01:56:56 -07:00
VXN
8225881f93 Add a check for Room only ranks (#3647)
Normally when you do /owner it gives 'did you mean /roomowner or /globalowner?' However global room owner doesn't exist as owner is a room owner rank. This PR fixes this issue.

Sorry for the bad pr name, I'm still kinda new to contributing here.
2017-06-16 15:40:25 -05:00
asgdf
8299bcc2bf Fix inequality operators in /ms to not include equal values (#3648) 2017-06-16 15:39:52 -05:00
Ben Davies
c61b2701dc App: create default config file in launch script (#3630) 2017-06-16 12:10:11 -05:00
Charlie Kobayashi
114d5fd649 Scavengers: add games, multiple hosts and answers (#3646) 2017-06-16 11:52:24 -05:00
Ben Davies
d248b652b0 Sockets: make killing workers clean up connections properly (#3645)
If the connections aren't destroyed when the worker is disconnected,
its process will not exit until the remaining connections have closed.
This cleans them up manually so using Sockets.killWorker or
Sockets.killPid does not force any users connected over that worker to
refresh twice in order to reconnect to the server.

This also makes workers respawn automatically after being killed, which
they weren't doing before.
2017-06-16 02:31:44 -05:00
Guangcong Luo
eb4a940b18 Commit npm 5 package-lock.json 2017-06-16 00:53:29 -05:00
Guangcong Luo
d0b44f0a9d Fix style error in #3635 2017-06-15 18:45:43 -04:00
Guangcong Luo
1a513ed585 Add Punishments.search
Currently not usable except from /eval, but it's an easy way to find
all usernames and IP addresses associated with a punishment userid.
2017-06-15 18:45:07 -04:00
Guangcong Luo
19a7107991 Improve proxy IP management commands
- Add /widendatacenters to support automatically widening IP ranges
- Support /hotpatch datacenters
2017-06-15 18:39:36 -04:00
Guangcong Luo
ae31183efd Sync datacenters 2017-06-15 18:39:36 -04:00
asgdf
510f912761 Modlog: don't escape characters unnecessarily (#3639) 2017-06-15 11:25:55 -05:00
Konrad Borowski
f68d78b892 Add description for [Gen 7] Battle Spot Doubles (#3640) 2017-06-15 11:24:21 -05:00
LegoFigure11
99620d4cf3 Gen 4 Random Battle: Remove move double-ups (#3641) 2017-06-15 19:32:32 +04:00
Marty-D
f35ce1a057 Release Kalos Cap Pikachu 2017-06-14 19:59:12 -04:00
The Immortal
e4a8dd190f Gen 4 Random Battle: Improvements 2017-06-14 23:51:14 +04:00
panpawn
a45b79442b Hotpatch: Use Rooms.global.notifyRooms to notify (#3638)
And also slightly change the behavior of Rooms.global.notifyRooms
2017-06-14 14:49:58 -05:00
panpawn
103f4828ae Automatically kill server on 0 battles in lockdown (#3635)
This allows for when the server is in lockdown, and the final battle finishes, for the server to automatically kill itself.
- Setting Config.autolockdown to false will turn this off.
- This also adds a new command to toggle Config.autolockdown
- This also introduces Rooms.global.notifyRooms
2017-06-14 13:57:52 -05:00
CheeseMuffin
83e9bda113 Fix typo in randmove (#3636) 2017-06-14 12:57:08 -05:00
asgdf
8c00b2bf3d Roomsettings: don't show modjoin + button to everyone (#3634) 2017-06-14 12:56:55 -05:00
Guangcong Luo
319c4f79df Send PM notifications about restarts 2017-06-14 02:24:57 -05:00
Guangcong Luo
48a520ed4b Fix modjoin check in /auth
Fixes #3633
2017-06-14 00:45:11 -05:00
urkerab
9709cc74dd Put LC Uber back in the Gen 7 tier list (#3585) 2017-06-13 22:53:16 -05:00
Nixola
d5e6c4cf8a Added link to another chatbot implementation (#3543) 2017-06-13 22:18:11 -05:00
Hidden50
21cf15c981 Prevent weak Punishments from overriding stronger ones (#3542)
This fixes the following problems:
- Users frequently get locked and weeklocked in two different places.
What punishment they end up getting depends on which is applied first
- Namelocking weeklocked users reduces the duration
- Autolocks could potentially reduce punishments
2017-06-13 22:16:57 -05:00
HoeenHero
093701eb40 Notify users when a declare is used (#3435) 2017-06-13 22:07:56 -05:00
Guangcong Luo
cf7607cb90 Move cache tables out of Dex.data
Template/Item/Move/Ability caches are now direct properties of Dex,
instead of being inside Dex.data.
2017-06-13 21:45:53 -05:00