Commit Graph

1286 Commits

Author SHA1 Message Date
Guangcong Luo
c335870340 Make sure formats have their full ruleset 2012-08-01 19:54:23 -07:00
Bill Meltsner
cd5bf89883 Rename the BW-only mod to conform to the ID scheme. 2012-08-01 21:47:26 -05:00
Guangcong Luo
7323aac95e Protect against crash from battle not existing 2012-08-01 19:15:26 -07:00
Bill Meltsner
b5ac054933 Also bojangles' avatar. 2012-08-01 20:45:10 -05:00
Guangcong Luo
97a3977106 Fix team preview not working 2012-08-01 18:19:57 -07:00
Guangcong Luo
bc4b88bf66 Crash guard in sim process 2012-08-01 18:19:57 -07:00
Guangcong Luo
2717566503 Make sure avatar changes don't deform chat 2012-08-01 18:19:57 -07:00
Bill Meltsner
fd802576ef Add GreatSage's custom avatar. 2012-08-01 19:57:38 -05:00
Guangcong Luo
3714979815 Many fixes to multi-process system:
- crashes mostly gone
- teams work
- debug console available for battle process (use >>>)
2012-08-01 16:29:49 -07:00
Guangcong Luo
2d1c8ec754 Calculate inactiveSide correctly 2012-08-01 14:46:59 -07:00
Guangcong Luo
9eb85e85fd Show only 6 battles on the main list 2012-08-01 13:57:33 -07:00
Guangcong Luo
c47eb6b160 Battle process properly deallocates itself 2012-08-01 13:56:48 -07:00
Guangcong Luo
4831e68a8c Multi-process battles!
Battles now occur in a separate process.
Hopefully, this results in a substantial increase in network stability.
WARNING: Battle crashes are now practically unrecoverable.
2012-08-01 13:48:58 -07:00
Guangcong Luo
31e642c5a2 Rename simulator.js to battles.js 2012-07-31 19:48:09 -07:00
Guangcong Luo
92623825ef Mutes no longer affect PMs because blarajan 2012-07-31 08:25:47 -07:00
Marty-D
de39153848 Fix Metal Powder. 2012-07-30 21:55:34 -03:00
TheImmortal
57e78fc87a Remove isProtectable and add isNotProtectable
- I also update a few targets
2012-07-31 02:30:26 +04:00
Marty-D
664ecea0b6 Fix Rapid Spin to remove nothing if the user faints. 2012-07-30 16:58:34 -03:00
TheImmortal
f466dc5fbf Missed Protect flag for Hidden Power types 2012-07-30 17:35:26 +04:00
Guangcong Luo
e0e14fe58f !birkal and /birkal
most useful commands ever
2012-07-29 23:27:05 -07:00
Guangcong Luo
febe9f7764 Fix one more crash in async verifier 2012-07-29 23:27:05 -07:00
TheImmortal
276af86367 Implement Sketch 2012-07-30 05:47:09 +04:00
TheImmortal
d63f780080 Add isProtectable flag
- I also moved priority under pp and isViable under id
2012-07-30 05:40:28 +04:00
TheImmortal
4c30330124 Fix Flaaffy tier 2012-07-30 03:52:15 +04:00
Guangcong Luo
b162bf8f2a Fix a crash when trying to log in 2012-07-29 16:06:06 -07:00
Guangcong Luo
a230425dcd Fixes to verifier 2012-07-29 14:23:05 -07:00
Guangcong Luo
111e3b89c2 Experimental asynchronous user verifier 2012-07-29 14:13:58 -07:00
Guangcong Luo
e8d9baf3aa Disallow server-side /rank
(it should be client-side now)
2012-07-29 03:27:05 -07:00
verbiage
7bad10945c Changing the /rules command to send the user to smogon's sim rules page instead of PS's now outdated page. 2012-07-29 00:05:53 -07:00
Guangcong Luo
fb1144e1ec Merge pull request #86 from patrickroberts/master
Proper IP obtaining and prevention of uncaughtException within handler
2012-07-29 00:03:07 -07:00
Patrick Roberts
2325ed9c9a connection grabs IP from behind proxy and fs stream doesn't throw exception now 2012-07-28 23:22:36 -05:00
TheImmortal
734f8b91d0 King's Rock & Razor Fang implementation
Does not interact correctly with Sheer Force & Shield Dust
2012-07-29 05:36:24 +04:00
Guangcong Luo
64098853d2 Better way of not crashing with unexpected server response 2012-07-28 18:09:22 -07:00
Guangcong Luo
7f72fb181d Don't crash if server response is unexpected 2012-07-28 18:07:56 -07:00
Guangcong Luo
276e9590c8 More aliases for better PO compatibility 2012-07-28 17:38:53 -07:00
Guangcong Luo
b801be60c0 Normalize set variables 2012-07-28 17:28:42 -07:00
Guangcong Luo
37fe2f68de Reject rename if given wrong token 2012-07-28 16:49:20 -07:00
Bill Meltsner
719a4eddd5 Refactor battle logging into its own function. 2012-07-28 17:45:08 -05:00
Guangcong Luo
ad7ff8a298 Continue numbering rooms properly 2012-07-28 15:05:11 -07:00
Guangcong Luo
7c7a4597f4 .gitignore everything in /config/
(we can still add example config files manually, y'know)
2012-07-28 15:04:02 -07:00
Bill Meltsner
f797656cdb Log a battle even if the ladder server is freaking out and not responding.
The log will not have either player's ranking, as that information requires a ladder response, and will have an extra property ladderError set.
2012-07-28 16:55:20 -05:00
Bill Meltsner
643c1c60bd Add Toxic Boost check to the random team algorithm. 2012-07-28 16:47:08 -05:00
TheImmortal
236dabf074 Gen 4 Sleep mechanics 2012-07-26 20:51:08 +04:00
TheImmortal
9c6aa5492c Add cureStatus 2012-07-26 20:48:42 +04:00
Guangcong Luo
13efd30470 Magikarp's Revenge should not appear in random battles normally 2012-07-25 15:55:24 -07:00
Marty-D
96cca1fb00 Update mods/gen4/abilities.js
Gen IV Magic Guard users can't be poisoned by Toxic Spikes.
2012-07-24 22:43:04 -03:00
Marty-D
002a56263c Merge pull request #81 from Marty-D/master
Add statuses.js to gen4 mods
2012-07-24 18:39:19 -07:00
Marty-D
f70931bf12 Gen IV Magic Guard users can't be fully paralyzed. 2012-07-24 21:25:59 -04:00
Guangcong Luo
8b0ee28f21 Hopefully this will make request limiting work properly 2012-07-23 23:30:15 -07:00
Guangcong Luo
8c7449d441 Try to limit the number of open requests 2012-07-23 23:25:49 -07:00