Commit Graph

219 Commits

Author SHA1 Message Date
Greg Edwards
4418fbb8be Fixed error 13266 on depositing a Pokémon with no held item. 2021-04-16 17:54:54 -04:00
Greg Edwards
14e36d3308 Added checks that species, form, ability, and moves are in range. 2021-04-15 23:31:57 -04:00
Greg Edwards
fc52556eb1 This wasn't supposed to be committed 2021-04-15 00:31:46 -04:00
Greg Edwards
456a346b9e Added crude held item checks. #94
Credit: https://github.com/sosnek
2021-04-15 00:13:03 -04:00
Greg Edwards
5db746ee64 Added replay responses for trainer rankings. 2021-03-13 00:40:18 -05:00
Greg Edwards
3840a90332 Exclude battle frontier from search results if the player hasn't cleared the E4. Solves #9. 2021-03-07 14:21:54 -05:00
Greg Edwards
2eb175a4ed Added Game Sync ID (de)obfuscation algorithm. 2021-02-17 02:04:29 -05:00
Greg Edwards
11d508fee9 Added some basic validation checks to GTS. 2021-02-07 03:53:23 -05:00
Greg Edwards
ca27fcadaa Store email notification fields in database. 2021-02-06 21:11:40 -05:00
Greg Edwards
a31aee38ad Added email notifications fields to trainer profile classes, extracted shared functionality to base class. 2021-01-31 22:22:22 -05:00
Greg Edwards
785dfca0a6 Attempted fix of #72 by using byte 0x41 for nature instead of PV. 2019-12-31 02:38:17 -05:00
Greg Edwards
604bfddc73 Added debug page to encode a Gen4 string. 2018-11-07 00:47:53 -05:00
Greg Edwards
b0eee74334 Added abstract GtsRecordBase.Validate(is_exchanged) 2018-11-06 03:01:22 -05:00
Greg Edwards
9cdc8cafba Added LocalizedString.ToString() overload that takes an iso-639-1. 2018-11-03 00:31:58 -04:00
Greg Edwards
911821eb32 Removed unused usings possibly causing a dependency. 2015-08-05 17:57:09 -04:00
Greg Edwards
938dfa4dc7 Added CompatibleCopyTo helper for .NET 3.5 2015-07-02 13:18:58 -04:00
Greg Edwards
9ab595604b Broke off database engine specific extension methods to their own classes. 2015-07-02 13:18:31 -04:00
Greg Edwards
5983ee485b EncodedString improvements (thanks Aqua) 2015-05-14 01:24:14 -04:00
Greg Edwards
bf5c3a85bf Hide gen6 pokemon from GTS search. 2015-05-08 20:32:37 -04:00
Greg Edwards
9ecd39fe66 Can now type the pokemon species into the search box. (but it sucks) 2015-05-08 19:41:09 -04:00
Greg Edwards
320fc26a2a Expose Pokedex.Species as an IDictionary. 2015-05-08 19:05:43 -04:00
Greg Edwards
fc0c6bfd48 Fixed speed getting overwritten with special attack when parsing stats. 2015-05-07 01:19:49 -04:00
Greg Edwards
556ed0e208 Fixed pokemon data getting horribly destroyed when inserting into the GTS. 2015-05-07 01:18:49 -04:00
Greg Edwards
2e8b27de22 That feeling when everything just works the first time 2015-05-05 21:09:22 -04:00
Greg Edwards
4df11f444b Gen5 party structure 2015-05-05 21:04:23 -04:00
Greg Edwards
b66fc281c7 First draft of gen5 pokemon structure 2015-05-05 20:52:33 -04:00
Greg Edwards
fffedcb82d Cleaned up byte offset comments. 2015-05-05 20:52:18 -04:00
Greg Edwards
9ef94ad18c Did some method extractions and moved things to base class in preparation for Pokemon5. 2015-05-05 20:09:10 -04:00
Greg Edwards
33332d05c6 Added bad egg field. 2015-05-05 19:14:49 -04:00
Greg Edwards
4d494840e8 Added StatValues.ToString for debug purposes. 2015-05-05 11:40:45 -04:00
Greg Edwards
8dbe0ecc19 First implementation of trainer memos. 2015-05-05 11:34:34 -04:00
Greg Edwards
07fb242097 Fixed InvalidCastException when attempting to load the pokedex. 2015-05-04 21:16:49 -04:00
Greg Edwards
abb298f9a6 VeekunImport inserts locations. 2015-05-04 21:06:39 -04:00
Greg Edwards
5a19b155c7 Added regions and locations to Pokedex. 2015-05-04 19:57:02 -04:00
Greg Edwards
61765fc33d Replaced DatabaseExtender.Coalesce with DatabaseExtender.Cast. It's cleaner that way. 2015-05-04 19:56:17 -04:00
Greg Edwards
c714be02ec Added regions to pokedex. 2015-05-02 17:11:49 -04:00
Greg Edwards
e87ed81b95 Update database schema 2015-05-02 17:11:40 -04:00
Greg Edwards
e1077cb9e6 GTS search design tweaks 2015-04-23 11:20:55 -04:00
Greg Edwards
36edf2d753 Created TrainerName on GtsRecordBase. 2015-04-21 21:32:26 -04:00
Greg Edwards
d582fbc2b5 Clarified EncodedString ctor comment 2015-04-21 21:31:53 -04:00
Greg Edwards
1900c5fa45 Added GtsRecordBase.Pokemon property. 2015-04-21 20:35:19 -04:00
Greg Edwards
7ab18824f6 Hide GtsRecord data behind a ReadOnlyCollection property. 2015-04-21 20:26:16 -04:00
Greg Edwards
a49b764bc0 Moved a bunch of common fields over to GtsRecordBase. 2015-04-21 10:03:10 -04:00
Greg Edwards
8d8d0e44cc Pass a Pokedex instance to the GtsRecord ctors 2015-04-18 18:40:31 -04:00
Greg Edwards
4c7e46bcdb Retire GtsRecord5.Unknown0 2015-04-18 17:29:47 -04:00
Greg Edwards
156abbe83c Created base class for GTS records implementing BinarySerializableBase 2015-04-18 17:19:52 -04:00
Greg Edwards
d1f7a47ef0 Fixed Gen4 box upload always saying the box is in the server. 2015-04-16 12:04:04 -04:00
Greg Edwards
222f8eba89 Split Pokemon4 class into separate box/party versions. 2015-04-14 21:23:50 -04:00
Greg Edwards
caec6383d4 Did some cleanup to the pokemon structure. 2015-04-14 21:14:34 -04:00
Greg Edwards
94f3a46f67 Impose correctness on LazyKeyValuePair 2015-04-13 20:18:20 -04:00