Commit Graph

23714 Commits

Author SHA1 Message Date
Guangcong Luo
b851072c3a Blaziken is banned in 1v1 2013-07-28 01:22:24 -07:00
Guangcong Luo
7489cb794e Fix crash in getRooms 2013-07-27 23:56:44 -07:00
Guangcong Luo
55e2e3ecd6 Deallocate users more aggressively
Specifically, if a user disconnects without ever choosing a name,
deallocate their object immediately
2013-07-28 01:48:47 -05:00
Guangcong Luo
d0b120304f Track total number of battles 2013-07-28 01:00:43 -05:00
Guangcong Luo
2f98105b17 Minor rearranging of the default config file 2013-07-27 21:27:52 -05:00
Guangcong Luo
bec1ee4650 serverid is no longer used in the current login server scheme 2013-07-27 21:27:06 -05:00
Guangcong Luo
d89256f162 Refactor: Rename numBattles to lastBattle
'lastBattle' better reflects the filename it's stored in, and also
what it does
2013-07-27 20:59:09 -05:00
Guangcong Luo
bdf8112200 Lobby no longer reports a global usercount 2013-07-27 10:39:42 -07:00
Guangcong Luo
ea47a38da0 Only private rooms require login 2013-07-27 10:39:42 -07:00
Joimer
724b0230c5 Add new Jirachi event
Add Jirachi event with Follow Me and Meteor Mash
2013-07-27 12:31:40 +02:00
Guangcong Luo
c9a6d5d809 Crashes written to the console now specify crash type 2013-07-26 13:45:50 -07:00
Guangcong Luo
950eafa544 Fix hole in throttler
Previously, /cmd was exempt from the throttler. This allowed an
amplification attack by sending a lot of /cmd's in one message,
which was responsible for the recent DoS attacks.

/cmd is now throttled normally, except for userdetails, which
happens instantly but is limited to once/message, so it can't
be used for anywhere near as much amplification.
2013-07-26 13:45:50 -07:00
Guangcong Luo
73a5ab895c Consolidate battle initialization
Preparing for a battle is now done in User.prototype.prepBattle
2013-07-26 13:45:50 -07:00
Joim
76c6acc093 Don't start timer on ended battles on lockdown
Lockdown is starting the timer on all battles without timer. This is not necessary in finished battles.
2013-07-26 21:24:41 +02:00
Guangcong Luo
3238c9bf21 Focus Sash is now banned in 1v1 2013-07-25 21:18:31 -07:00
Guangcong Luo
d51d65b32b Don't allow /endlockdown outside of lockdown 2013-07-24 21:55:33 -07:00
Guangcong Luo
f9d8932915 NEXT is no longer Gen-NEXT 2013-07-24 21:55:33 -07:00
Guangcong Luo
cc3aa7d566 Resource Monitor 2013-07-24 21:55:33 -07:00
Guangcong Luo
2fff4d999b New command: /ipsearch 2013-07-24 21:55:33 -07:00
Joim
372ab73d56 Merge pull request #276 from V4Victini/patch-5
Properly seed RNG
2013-07-23 23:49:36 -07:00
V4Victini
4f9ae3098e Properly seed RNG 2013-07-24 02:41:02 -04:00
Guangcong Luo
8586985f46 Merge pull request #274 from TalkTakesTime/master
Add /dexsearch command
2013-07-23 12:55:52 -07:00
Marty-D
1a02b3f23b Fix Mold Breaker and friends.
- With the recent changes to the damage formula, ModifyDamage must also
be negated by Mold Breaker.
2013-07-23 12:26:12 -04:00
Marty-D
40850b514f Fix Metronome calling V-create. 2013-07-23 12:23:25 -04:00
Joim
e5ad36fe48 Merge pull request #275 from V4Victini/patch-4
Correct Psywave damage
2013-07-23 08:10:45 -07:00
V4Victini
4e9658b76f Correct Psywave damage 2013-07-23 09:54:57 -04:00
TalkTakesTime
666352874b Fix minor crash when "/dexsearch all" is used 2013-07-24 00:55:46 +12:00
TalkTakesTime
a8dc014569 Add dexsearch code
Added dexsearch main code, as well as help.
2013-07-23 23:23:00 +12:00
The Immortal
68ce942d74 Update !om links 2013-07-21 17:12:58 -07:00
Joim
78a025427a Hide UU format temporarily
The UU suspect needs more playerbase, so hide the UU format temporarily.
2013-07-21 19:30:17 +02:00
Joim
265bfcaeec Add Global Showdown format
Add Global Showdown format, first Nintendo's take at an official singles Ubers tournament (http://www.smogon.com/forums/threads/2013-global-showdown-nintendos-official-3-vs-3-ubers-tournament.3486033/).
2013-07-20 21:30:52 +02:00
Joim
2c52096822 Update intro command
Update the introduction command to add a link to PS forums important thrad "A Beginner's Guide to Pokémon Showdown".
2013-07-19 20:29:57 +02:00
Joim
6c54aa0100 RU is having a suspect test
The Rarelyused test is testing Snow Warning. The ladder is to be equal to RU, and there's just one ladder. Nothing is to be banned.
2013-07-15 08:32:57 +02:00
Guangcong Luo
6e353bbab0 Update loadbanlist permissions 2013-07-14 21:13:49 -07:00
Guangcong Luo
976ed33c3c ipbans are now automatically loaded
/loadbanlist no longer needs to be called except to update the
banlist.
2013-07-14 18:00:53 -07:00
Guangcong Luo
365e3dbbbc A lobby room is no longer required to exist
Without a lobby room, joining your server will default to displaying
the room list.
2013-07-14 17:59:48 -07:00
Guangcong Luo
01a1135655 Send correct queryresponse for new room listing 2013-07-14 14:52:30 -07:00
Guangcong Luo
b5fb81ba56 Send messages for when to display room list 2013-07-14 14:44:46 -07:00
Guangcong Luo
a6608e5817 Refactor: Remove typeof ... === 'undefined' 2013-07-14 11:37:01 -07:00
Guangcong Luo
562d1edbba Refactor: Data is no longer a global
It can still be accessed with Tools.data or Tools.mod(mod).data
2013-07-14 11:37:01 -07:00
Guangcong Luo
2a0981fc83 Refactor: sendData no longer a global
user.send and connection.send are already abstraction layers over
socket.write, so another abstraction layer is unnecessary.
2013-07-14 11:37:01 -07:00
Joimer
abc43b3e85 OU Suspect Test has finished
We get back the regular OU ladder since the current suspect ladder has finished and the next one is yet to be confirmed.
2013-07-14 20:32:39 +02:00
Joimer
6803185b81 Ban Landorus from OU
Landorus (incarnate form) has been banned from Overused, and it's thus now tiered as an Uber Pokémon.
2013-07-14 20:28:02 +02:00
Joimer
e2a0bb6336 Merge branch 'master' of http://github.com/Zarel/Pokemon-Showdown 2013-07-14 20:17:27 +02:00
Guangcong Luo
76530e66ec Refactor: lockdown now a property of Rooms.global
(and no longer a global)
2013-07-13 19:15:31 -07:00
Guangcong Luo
817780f332 Merge branch 'master' of ssh://github.com/Zarel/Pokemon-Showdown 2013-07-13 19:05:55 -07:00
Guangcong Luo
28b36c4106 Even less logging 2013-07-13 19:05:37 -07:00
The Immortal
d062199b1a Add Eevee and Genesect events 2013-07-14 02:17:20 +04:00
Guangcong Luo
83278c36c4 Nicer output for chatrooms.json 2013-07-12 23:35:20 -07:00
Guangcong Luo
7e1c6f2659 Work around an obscure bug with banned users
A user with a banned latestIp but hasn't been forceDisconnected exists.
This is possibly a race condition?
2013-07-12 22:35:39 -07:00