Commit Graph

23714 Commits

Author SHA1 Message Date
Guangcong Luo
4aae0ac35c Implement Foul Play 2012-08-16 22:23:21 -07:00
Guangcong Luo
5fae874913 Fudge factor as we understand what's wrong with the damage calculator 2012-08-16 22:23:14 -07:00
Guangcong Luo
97f79fb7d6 Type effectiveness should also be truncated, not rounded 2012-08-16 21:59:21 -07:00
Guangcong Luo
2ea63804eb Round down the random factor
(it is not a modifier)
2012-08-16 21:49:32 -07:00
Guangcong Luo
793968a726 Update example config file:
- Now has updated default permissions settings (copied from PS's current config)
- Protocol has been moved up to be near port and setuid
2012-08-16 12:02:38 -07:00
Guangcong Luo
d0d6017654 Fix informational commands for new protocol 2012-08-16 11:57:30 -07:00
Guangcong Luo
17dcc94c0d Add permissions for announce/declare 2012-08-16 11:57:30 -07:00
TheImmortal
2b57714d04 Pursuit does not miss against a switch 2012-08-16 22:52:42 +04:00
Bill Meltsner
1fe2e309fa Un-reverse the permissions for /unbanall. 2012-08-16 09:09:30 -05:00
Guangcong Luo
27b15115c0 Better implementation of /announce
Special thanks to bmelts for idea
2012-08-16 00:48:51 -07:00
Guangcong Luo
a924b9237a Merge pull request #90 from ibojangles/master
different versions of announce
2012-08-15 17:52:28 -07:00
Guangcong Luo
9ed85c3cdb Support !data in battle rooms 2012-08-15 01:05:05 -07:00
ibojangles
d8bf4752d3 different versions of announce
Made two versions of announce: 1. driver+ that has name attached
2. leader+ that is slightly differently colored and is anonymous

Leaders can use the driver one but not vice-versa.

Yes it's not super pretty but it works, so you can focus on better things.
2012-08-15 00:57:02 -03:00
Guangcong Luo
fa1caf2384 Forecast is now affected by Air Lock etc 2012-08-14 20:54:21 -07:00
Guangcong Luo
c2d09f55b2 New protocol - significantly reduced network usage 2012-08-14 20:02:56 -07:00
Guangcong Luo
ea746cf2ca Don't crash on malformed JSON 2012-08-14 16:59:34 -07:00
Guangcong Luo
0c1f1b4d11 Fix the lobby room list 2012-08-14 16:59:23 -07:00
Guangcong Luo
c1bb83b55d Remove rooms from the lobby room list earlier in the deallocation process 2012-08-13 22:26:00 -07:00
Guangcong Luo
473a1bae24 Make sure Air Lock and Cloud Nine prevent weather problems correctly 2012-08-13 22:19:27 -07:00
Guangcong Luo
ab9fc735ed Fix a stray reference to rooms that made them un-deallocatable. 2012-08-13 22:18:34 -07:00
Guangcong Luo
caba1f2f12 Line length exemption to:
- sending teams
- sending signed rename token
2012-08-13 13:55:18 -07:00
Guangcong Luo
a65720c8d8 Make sure hasValidMove is calculated correctly 2012-08-13 13:55:18 -07:00
Marty-D
c5e25f3a9d Only SolarBeam skips its charge turn during Sunny Day. 2012-08-13 11:52:59 -03:00
Guangcong Luo
79207cb90a Don't allow searching of nonsearchable formats 2012-08-12 23:31:15 -07:00
Guangcong Luo
01b751a88e Don't let failed challenges fall through to chat 2012-08-12 23:30:38 -07:00
Guangcong Luo
e8138debee Last command that needs to be chat-command: /trn
(tokenrename) performs a rename using a signed token
2012-08-12 22:58:43 -07:00
Guangcong Luo
faa7cb9e93 Consolidate more commands into chat-commands.js 2012-08-12 22:34:44 -07:00
Guangcong Luo
68650005ea New save-team syntax 2012-08-12 21:56:01 -07:00
Guangcong Luo
39dff5b008 Fix a few crashes in chat-commands 2012-08-12 20:26:09 -07:00
Guangcong Luo
35a61657d2 Make sure switching isn't possible while recharging
(or in other move-locked situations)
2012-08-12 20:26:09 -07:00
TheImmortal
b2e849b0d8 Merge remote-tracking branch 'upstream/master' 2012-08-13 05:37:39 +04:00
Guangcong Luo
e70e61e26f Make/cancel/accept/reject challenges with chat commands 2012-08-12 18:37:11 -07:00
TheImmortal
f0f172de6b Ponta & Rapidash viableMoves updates 2012-08-13 05:36:19 +04:00
Guangcong Luo
26d9b2c971 Update some remaining code to the new LockMove system 2012-08-12 18:33:33 -07:00
Guangcong Luo
d3395c8727 Don't give Zarel admins automatically
(Zarel can still be given admins manually - see the code comments for details)
2012-08-12 18:33:06 -07:00
Guangcong Luo
a0f10fe811 Two-turn move bugs: pretty much all fixed 2012-08-12 16:31:06 -07:00
Guangcong Luo
6c57c77abb Make sure rejoining users are redirected to the lobby 2012-08-12 16:30:33 -07:00
Guangcong Luo
59959ce24e Chat commands for most user actions
- we're moving to a new protocol! wheee!
2012-08-12 13:44:59 -07:00
Guangcong Luo
ea1565f516 Don't crash on malformed JSON in battles 2012-08-12 13:44:59 -07:00
TheImmortal
7a50d4381e Missing B2W2 TM's 2012-08-12 21:52:22 +04:00
TheImmortal
3e235ee5c8 Merge remote-tracking branch 'upstream/master' 2012-08-12 20:03:56 +04:00
TheImmortal
0e337a0ba1 Add Genesect B2W2 Tutor Moves 2012-08-12 20:02:15 +04:00
Guangcong Luo
67ac268f8b Merge pull request #89 from ibojangles/master
/k and banlist informational commands
2012-08-11 11:38:38 -07:00
TheImmortal
a8574d66ca Implement Bug Bite & Pluck effects 2012-08-11 22:02:47 +04:00
Marty-D
839ea9492a Update some randbat moves. 2012-08-11 14:46:31 -03:00
Marty-D
028fc78f25 Rock Head's description was apparently confusing. 2012-08-11 12:52:25 -03:00
ibojangles
6305f0886c /k and a banlist informational command 2012-08-11 00:51:42 -03:00
Guangcong Luo
076acf35fd Make sure the Zarel exception doesn't crash exotic group configs 2012-08-10 20:23:46 -07:00
Guangcong Luo
641f4c153c Support engine.io 2012-08-10 18:55:12 -07:00
TheImmortal
825b3a766d Darkrai is now being tested in DW OU 2012-08-11 04:03:13 +04:00