Commit Graph

23714 Commits

Author SHA1 Message Date
Marty-D
b40255e934 More tidying of Stockpile. 2013-03-05 16:39:43 -05:00
Marty-D
a32da9a1f5 Fix Spit Up, tidy up Stockpile. 2013-03-05 15:16:33 -05:00
Guangcong Luo
ce0ffe654e movedThisTurn overhaul:
- now named 'moveThisTurn' and contains the moveid
- this fixes the Outrage issue
2013-03-05 11:27:49 -08:00
Guangcong Luo
3bf7e226d7 Make sure custom games default to level 100
this way, even if it allows higher levels, the default won't be
higher than 100
2013-03-04 18:08:30 -08:00
The Immortal
bfb649832f Merge pull request #177 from Joimer/patch-5
Bug fixes on Seasonal Ladder Spring Forward
2013-03-03 09:02:21 -08:00
Joim
d2745c445b Bug fixes on Seasonal Ladder Spring Forward
Avoid Softboiled being repeated in Chansey and Blissey.
Gems should always be Grass Gem due to Sceptile, and 
Barrage and Egg Bomb being Grass-type.
2013-03-03 17:56:38 +01:00
Marty-D
eced3a09fb Revert Outrage fix for now. 2013-03-03 10:19:29 -05:00
Guangcong Luo
f287a36a4a Implement Rage 2013-03-03 06:00:57 -08:00
The Immortal
186ed7b610 Merge pull request #176 from Joimer/patch-1
Update /om command, fix two Seasonal bugs
2013-03-03 04:03:22 -08:00
Joim
6dfefa10b9 Change Seasonal name in /othermetas
Change the name for the Seasonal Ladder in command /othermetas
2013-03-03 10:35:40 +01:00
Joim
93973cdc4f Fix two bugs in Seasonal Spring Forward
Add a better item for Toxic Orb Breloom, since no Poison Heal.
Random scripts for Gender is not ready.
2013-03-03 10:32:58 +01:00
Marty-D
0906f7c880 Make sure Challenge Cup Pokemon have a Nature. 2013-03-02 14:11:12 -05:00
Marty-D
6ba79b0d27 Make sure Outrage-type moves end correctly.
- Flinching, being fully paralyzed, or otherwise being unable to use the
locked move ends the effect.
2013-03-02 13:26:30 -05:00
Guangcong Luo
8d439917b8 Merge pull request #175 from Joimer/patch-4
Add new Seasonal Ladder, Spring Forward
2013-03-01 17:05:34 -08:00
Marty-D
61845f797f Fix several immunity interactions.
- Since the relevant Abilities no longer check for type immunity, these
are obsolete.
- Normalize now works correctly with these moves when they are used on a
Ghost-type.
2013-03-01 17:13:18 -05:00
Joim
b7af28f566 Add new random team maker for new Seasonal
Add the new Random Team maker for the new Seasonal Ladder 
for March, Spring Forward
2013-03-01 14:47:16 +01:00
Joim
5b34d1c5cc Add new Seasonal format: Spring Forward
Add the new Seasonal Ladder format for March, Sring Forward
2013-03-01 14:46:17 +01:00
Cathy J. Fitzpatrick
4c5cc52889 Fix for ancient versions of node.js 2013-02-28 20:35:02 -07:00
Marty-D
92e33a36e4 Add relevant fail messages for Endeavor. 2013-02-28 14:59:05 -05:00
Marty-D
b010d69520 Deoxys-D is now Uber.
http://www.smogon.com/forums/showpost.php?p=4599492&postcount=97
2013-02-27 19:57:09 -05:00
Cathy J. Fitzpatrick
62189a0440 Optimisation to Battle.construct 2013-02-26 23:56:52 -07:00
Guangcong Luo
655d1c0f92 NEXT: small Flame Charge buff 2013-02-26 22:35:16 -08:00
Guangcong Luo
a91df10c3c Refactor previous fix for more DRY 2013-02-26 22:35:16 -08:00
Cathy J. Fitzpatrick
e80f63f7ad Add missing semi-colon 2013-02-26 23:18:20 -07:00
Guangcong Luo
ffc718c515 Fix crash in Battle prototype refactor 2013-02-26 22:11:34 -08:00
Cathy J. Fitzpatrick
a4de181749 Fix bug in Battle protoype refactor 2013-02-26 22:55:27 -07:00
Cathy J. Fitzpatrick
5bee686bb2 Refactor Battle to use prototypes 2013-02-26 22:49:10 -07:00
Cathy J. Fitzpatrick
6282ad8fcf Refactor BattlePokemon to use prototypes 2013-02-26 17:24:00 -07:00
Cathy J. Fitzpatrick
d562d8b5f7 Refactor BattleSide to use prototypes 2013-02-26 16:43:35 -07:00
Cathy J. Fitzpatrick
f8c3cd69ec Refactor BattleRoom to use prototypes
This should reduce memory usage.
2013-02-26 06:48:11 -07:00
Cathy J. Fitzpatrick
0c18ce9fe8 Don't report stats as server starts up 2013-02-23 21:52:26 -07:00
Marty-D
34fcf7564b Make sure power and accuracy match the game's display. 2013-02-23 12:47:01 -05:00
Cathy J. Fitzpatrick
845da1c2b5 Fix to user stat reporting 2013-02-23 04:28:26 -07:00
Cathy J. Fitzpatrick
1da30335aa Changes to user count reporting 2013-02-23 03:54:16 -07:00
Cathy J. Fitzpatrick
1e2eff431d Include mandatory callback for LoginServer.request 2013-02-23 02:33:46 -07:00
Cathy J. Fitzpatrick
7ad974478b Implement reporting usercount to login server 2013-02-23 02:23:46 -07:00
Cathy J. Fitzpatrick
6259cd8ed0 Implement multiple simulator processes 2013-02-22 23:14:00 -07:00
Cathy J. Fitzpatrick
5721b0def5 Fix a bug involving mutes
Changing to the name of an unregistered user who was muted caused
a totally unrelated person to pick up the unregistered user's mute
because there was no check done for whether the two users had the
same IP address.
2013-02-22 18:38:42 -07:00
Marty-D
f86b52689a Fix Choice locking and Magic Room.
- Choice items now lock into a new move properly after losing the
original locked move (due to Mimic/Sketch/Transform)
- Choice items now continue locking into the original locked move (if
there was one) after Embargo, Klutz, or Magic Room's effects end
- General fixes to the priority of ignoring items
- Magic Room is now usable again
2013-02-22 19:12:29 -05:00
Cathy J. Fitzpatrick
ff3e41b634 Add Cathy J. Fitzpatrick to the Developers list 2013-02-22 05:30:54 -07:00
Cathy J. Fitzpatrick
c8ecd95a19 Maintain a symlink to the current day's lobby log
This allows a program to follow the lobby log on a rolling basis
using `tail -F today.txt` rather than a considerably more complex
algorithm.
2013-02-22 00:01:36 -07:00
Cathy J. Fitzpatrick
3fe357448b Fix some identity changes not broadcasting
Some places in the code still used the old `rooms.lobby.usersChanged`
flag, which no longer does anything.
2013-02-21 22:44:07 -07:00
Bill Meltsner
32d9826862 Fix Smeargle's moveset in Challenge Cup. 2013-02-20 22:48:21 -08:00
Bill Meltsner
dc355cd734 Prevent Smeargle from having Chatter or Struggle in its moveset, as neither can be Sketched. 2013-02-20 22:45:34 -08:00
Cathy J. Fitzpatrick
5abfc1766a Add feature to log user stats periodically 2013-02-20 20:34:14 -07:00
Guangcong Luo
24db004538 Multi-hit moves now stopped by Sleep
(this is an obscure interaction with Effect Spore)
2013-02-20 13:44:13 -08:00
Guangcong Luo
e7e0f8ffec Berries can now activate between hits of multihit moves 2013-02-20 13:20:58 -08:00
Guangcong Luo
37b0cc44e3 Fix Tools-modifying Scripts
Specifically, this fixes init scripts as well as command-line random team
generation
2013-02-20 12:54:53 -08:00
Cathy J. Fitzpatrick
7fa1dc94c3 Even better (but more complex) /kill implementation 2013-02-20 05:20:24 -07:00
Cathy J. Fitzpatrick
1c7199c110 Increase chance of /kill being logged
Despite the call to `rooms.lobby.logEntry`, use of /kill was not
actually being logged because the process terminated before the
log entry was written to the file. This commit introduces a 250
millisecond delay before killing the process in order to give the
log a chance to be written.

The reason we introduce a delay rather than synchronously wait for
the log to be written is to ensure that the server is actually killed
(e.g. in case of a problem writing the log).
2013-02-20 04:42:27 -07:00