Commit Graph

23714 Commits

Author SHA1 Message Date
小太
a371456c5b Merge branch 'tournaments' into tournaments-frontend 2013-08-18 17:44:18 +10:00
小太
86c6280b4f Ignore setting result for disqualified matches instead of erroring 2013-08-18 17:42:25 +10:00
Guangcong Luo
1ac2924de5 Healing moves now fail when the user's at full health 2013-08-17 23:10:04 -07:00
Guangcong Luo
2f6927b3c8 Merge pull request #287 from V4Victini/patch-8
Fix weather-dependent healing moves.
2013-08-17 22:40:52 -07:00
Joimer
c1e50e4664 Merge branch 'master' of http://github.com/Zarel/Pokemon-Showdown 2013-08-17 17:30:32 +02:00
Joimer
d0d3588226 Use safer userid on roomban 2013-08-17 17:26:04 +02:00
The Immortal
51816c281d Unban Snover from LC 2013-08-17 04:54:01 -07:00
Joimer
5c347ce0a8 Fix join bug: Do nothing on empty target 2013-08-17 12:36:36 +02:00
Joimer
a6ad0f351f Check correctly for users and guests bans in rooms 2013-08-17 11:22:01 +02:00
Joimer
9f09c08fc1 Merge branch 'master' of http://github.com/Zarel/Pokemon-Showdown 2013-08-17 11:13:04 +02:00
Joimer
ddcf38bcbc Don't check for guests or for battles for room bans 2013-08-17 11:12:46 +02:00
Guangcong Luo
f460a54a91 Tweaks to matchmaking range 2013-08-16 22:37:32 -07:00
Guangcong Luo
2e1ab04eb6 Workaround for Smeargle learnset checker
To do: Properly fix Sketch checking
2013-08-16 22:37:29 -07:00
Joimer
a60204dca2 Gen 3: Add its own getDamage 2013-08-16 22:48:13 +02:00
Joimer
36db1bc9d4 Memory usage control: Add memory usage report command
Admin-only, this command will show you the server's memory usage.
Additionally, you can use ResourceMonitor.sizeOfObject in any
scope to find out how many bytes does an object weigh.
2013-08-16 21:34:01 +02:00
Joimer
cabd403332 Implement Room Ban
Implement a Chat Room wide Room Ban and its counterpart, Unban.
The actions are saved in the modlog. The perpetrator and the punished
must be both in the same run and the .can function assorts the first
can punish the latter.
The names and IPs are saved separatedly to make easier to keep track
of ban evaders. Even if thir nickname changes, their IP will be
banned, if their IP is the one that changes, the nick will be banned.
The alts of the person are also listed as banned, but they won't
be kicked since a person is supposed to be on one account at once.
This avoids schools and homes to be massively kicked from the same
room, but the bad user won't be able to use his other accounts from
that IP.
The bans are not saved and do not persist over server restart to
keep the memory at ease.
2013-08-16 20:37:51 +02:00
Joimer
094f3d97b0 Merge branch 'master' of http://github.com/Zarel/Pokemon-Showdown 2013-08-16 10:15:09 +02:00
Joimer
f699b1d294 UU Suspect is finished, ban Froslass
Don't delete UU suspect, it will be necessary very soon for Victini.
2013-08-16 10:14:51 +02:00
Joim
bce6c6880c Gen 2: Make Mean Look + Hypnosis + Perish Song ban Pokémon Wise 2013-08-15 10:23:17 +02:00
Guangcong Luo
c5e24ce739 Matchmaking: Decrease starting range to 250
Specifically, we're decreasing the starting matchmaking rating
difference for ladders other than OU/randbats from 300 to 250.
2013-08-14 20:26:09 -07:00
Joim
5008418dc8 Gen 2: Ban Mean Look + Hypnsosis + Perish Song
Very old Missy moveset ban that should be present.
2013-08-14 23:02:54 +02:00
Joim
fd879e7cf6 Fix crash in 'roomowner' command
Using room owner on a room not designed for per-room staff 
crashed the server.
2013-08-14 22:59:39 +02:00
Guangcong Luo
939c5cc172 Fix an oversight in Keldeo-Resolution rename 2013-08-14 11:06:15 -07:00
Joim
31ba5c245d OU suspect test: Ban Keldeo-Resolute
Despite being mainly a cosmetic forme, Keldeo-R needs a ban of 
its own.
2013-08-14 19:59:24 +02:00
Guangcong Luo
3e83777c26 Fix clauses being broken in lower tiers 2013-08-14 10:43:34 -07:00
Joim
775c5dedb1 OU is suspecting Keldeo
OU is suspecting Keldeo and two ladders are necessary: 
Current ladder, a ladder with a rank separate from regular OU 
and Suspect Test in which Keldeo is banned.
2013-08-14 19:10:45 +02:00
Guangcong Luo
a5cc67bb90 Some tweaks to matchmaking:
- Harsher initial matchmaking range
- MMR is now projected rating (rather than the average of projected
  and actual rating)
2013-08-13 22:47:54 -07:00
Joim
786d66813a Add /tier shortcut to /tiers
Tiers being plural while you can select a single tier now 
leads to confusion and sometimes people will use !tier name.
To avoid that, make both options work.
2013-08-14 02:01:39 +02:00
Joim
26f9eca695 Revert previous commit 2013-08-13 17:15:06 +02:00
Joim
0f8a191e24 LC: Ban Snover
Since Snover is LC due to Snow Warning ban in RU, preemptively ban 
it on LC until a decision is made.
2013-08-13 17:13:58 +02:00
Joim
48ff9f2462 Update snover's tier to LC
Now that Snow Warning is banned in RU and thus below, 
update Snover tier to show it's LC now.
2013-08-13 17:09:02 +02:00
Joim
5fb86c7c2b RU suspect has ended, Snow Warning banned 2013-08-13 16:39:32 +02:00
Guangcong Luo
b3c9c9a768 Merge pull request #294 from Ethan/promote
Return correct command when using /demote
2013-08-12 12:37:32 -07:00
Joimer
00a5f991fb Gen 2: Fix Light Screen and Reflect
Ater Light so they modify Def and SpD.
On critical hit, choose unmodified stat.
This also does half the work of crit mechanics.
2013-08-12 15:47:19 +02:00
Ethan
6b87cb7083 Return correct command when using /demote
Previously if you used /demote and didn't have permission to it would return /promote - Access denied.
2013-08-12 05:52:51 -05:00
Joimer
fa2031804c Merge branch 'master' of http://github.com/Zarel/Pokemon-Showdown 2013-08-12 12:51:35 +02:00
Joimer
563f3236fc Gen 2: Add its own Reflect 2013-08-12 12:51:03 +02:00
Joimer
a9bc62149c Gen 2: Clean up scripts 2013-08-12 12:50:47 +02:00
TalkTakesTime
8c8ae4c32b Remove CAPmons from dexsearch results
Prevents CAPmons from showing up in dexsearch results unless specifically requested. Also removes an obsolete line about Arceus-???
2013-08-12 20:34:08 +12:00
TalkTakesTime
0e6f458848 Merge pull request #2 from Zarel/master
Merge with main
2013-08-12 01:20:29 -07:00
Guangcong Luo
70f78202e1 Fix Red Card activating on inactive pokemon 2013-08-11 21:33:58 -07:00
Guangcong Luo
0b4e0d072b Merge pull request #292 from Slayer95/patch-2
Show 'access denied' message for redir
2013-08-11 20:47:24 -07:00
Slayer95
e30e58ed14 Show 'access denied' message for redir 2013-08-11 22:46:34 -05:00
Joim
a377acceca Doubles: Re-ban Sky Drop 2013-08-11 21:43:00 +02:00
The Immortal
44b4948d24 Add Smeargle event
VGC Worlds 2013 Smeargle
2013-08-11 18:30:58 +04:00
Joimer
e0b857315c Gen 2: Add readme 2013-08-11 10:05:59 +02:00
Joimer
5cfa629173 Remove annoying Debug message 2013-08-10 22:31:34 +02:00
Joimer
0e8741a6c9 Gen 2: Put phazing moves correct priority 2013-08-10 22:31:18 +02:00
Joimer
21033585d1 Merge branch 'master' of http://github.com/Zarel/Pokemon-Showdown 2013-08-10 22:12:21 +02:00
Joimer
8b8aaab216 Gen 3: Enable custom game debug 2013-08-10 22:12:04 +02:00