Commit graph

3451 commits

Author SHA1 Message Date
magenoxx
b9a65e7c62 MageServerImpl refactoring. More event logging. 2012-01-26 01:50:08 +04:00
magenoxx
a60c61cb00 More actions got logging. Some refactoring to use ActionWithResult. 2012-01-26 00:40:00 +04:00
magenoxx
039d9663f0 ActionWithResult interface, ActionWithBooleanResult. 2012-01-26 00:38:45 +04:00
magenoxx
b0a1c07067 LogService. Added saving game started event to DB. Some refactoring. 2012-01-25 20:27:08 +04:00
magenoxx
bdb2754847 Added sending broadcast message to all users on server from Admin Console. 2012-01-25 19:13:27 +04:00
magenoxx
8536d9d78d minor change in EntityManager 2012-01-25 18:09:42 +04:00
magenoxx
fd25002578 SQLite EntityManager 2012-01-25 14:26:37 +04:00
magenoxx
9a5eca433d updated install maven files 2012-01-25 14:25:08 +04:00
BetaSteward
436a8ea440 Merge branch 'master' of ssh://109.200.159.85/var/lib/git/mage 2012-01-24 22:52:38 -05:00
BetaSteward
7fce6c552d fixes + optimizations + updates to monte carlo ai 2012-01-24 22:51:31 -05:00
BetaSteward
23616432e4 fixed ConcurrentUpdateException with multi-threaded ai 2012-01-24 22:50:18 -05:00
LevelX
08f7a6085f Merge branch 'master' of ssh://109.200.159.85/var/lib/git/mage.git 2012-01-24 23:34:52 +01:00
LevelX
6a282d1e51 3 new cards
[CHK] Marrow-Gnawer / Orochi Eggwatcher / Kiku, Night's Flower

Fix
ShisatoWhisperingHunter - using now sacrificeControllerEffect instead of sacrificeEffect

Framework
BeginningOfUpkeepTriggeredAbility - reverted change to set targetPointer if targetController == YOU (this caused unwanted side effects)
SacrificeControllerEffect - new effect that the controller of an ability has to sacrifice something
GainAbilityAllEffect - improved text generation
some minor comment and include fixes
2012-01-24 23:33:27 +01:00
magenoxx
20402f1cad Initial sqlite support. 2012-01-25 02:07:23 +04:00
magenoxx
e901343aad Changed version exception message. Added logging about version difference on registering (for stats). 2012-01-24 12:17:50 +04:00
North
9ce828f491 Fixed name for two sample decks 2012-01-22 13:55:34 +02:00
North
f36664ab03 updated .gitignore 2012-01-22 13:50:53 +02:00
North
d0a934f2dc [GathererCrawler] updated to support flip cards, split cards and double sided cards. 2012-01-22 13:48:34 +02:00
LevelX
5be4f1c291 8 new cards
[SOK] Kashi-Tribe Elite / Matsu-Tribe Birdstalker	
[CHK] Kashi-Tribe Reaver / Kashi-Tribe Warriors / Matsu-Tribe Decoy / Orochi Ranger / Shisato Whispering Hunter / Sosuke, Son of Seshiro

Framework
SkipNextPlayerUntapStepEffect - new effect
CardsInHandCondition - new condition
DealsCombatDamageToACreatureTriggeredAbility - new ability
BecomesCreatureSourceEffect - Fix to solve problems with creatures that unintended kept their subtypes (e.g. Skinshifter))
BeginningOfUpkeepTriggeredAbility - set also target pointer if targetController == YOU
BoostTargetEffect - added lockedIn parameter to fix error for various cards (DragDown / ElderOfLaurels / MightOfAlara / MightOfTheMasses  / StrengthOfCedars / BloodthirstyOgre)
GainAbilityControlledEffect - imporoved text generation
SkipNextUntapTargetEffect / TapTargetEffect - addded fixed target text support

Minor changes
AkkiLavarunner / CreakwoodGhoul / DearlyDeparted - includes
ClockworkBeetle - fixed use of effect of other card
KondasBanner - fixed potential null pointer exception and wrong name spelling
YoseiTheMorningStar - uses now the new SkipNextPlayerUntapStepEffect
2012-01-22 11:12:49 +01:00
LevelX
e05024351f Merge branch 'master' of ssh://109.200.159.85/var/lib/git/mage.git 2012-01-20 00:32:05 +01:00
LevelX
d441020f5f Font of Mythos - Fixed bug giving only opponent the draw efffect 2012-01-20 00:26:30 +01:00
magenoxx
0e3a368d66 test commit 2012-01-20 01:13:50 +04:00
magenoxx
ffd6deeabe test commit 2012-01-20 01:12:36 +04:00
magenoxx
df44d5b666 test commit 2012-01-20 00:22:54 +04:00
magenoxx
ea48255f48 Merge branch 'master' of ssh://109.200.159.85/var/lib/git/mage 2012-01-20 00:21:29 +04:00
Loki
53d70ffbe3 [MRD] Auriok Bladewarden 2012-01-19 12:35:03 +04:00
magenoxx
0a8de07828 [config] updated init.txt.example 2012-01-19 02:53:17 +04:00
Loki
3e28957657 rename hgignore to gitignore 2012-01-17 14:11:23 +04:00
BetaSteward
377dd54fca single-threaded monte carlo + some fixes 2012-01-16 18:55:35 -05:00
BetaSteward
2e21b7197b fixes and optimizations for monte carlo ai 2012-01-16 18:49:11 -05:00
BetaSteward
a13bb9acf5 moved CopyPermanentEffect and fixed some cards with copy 2012-01-16 18:45:11 -05:00
LevelX
c1a02e9418 2 new cards
[CHK] Hisoka, Minamo Sensei / Hisoka's Guard

Fixes
Hankyu - fixed possible null pointer exception
HamletCaptain - fixed issue 446
RakishHeir - fixed issue 445
Levitation - minor text change
2012-01-15 01:54:12 +01:00
LevelX
6b0f04d03f 13 new cards
[BOK] Akki Blizzard Herder / Crack the Earth
[CHK] Commune with Nature / Otherworldly Journey / Peer Through Depths / Rag Dealer / Reciprocate
[CON] Faerie Mechanist / Giltspire Avenger
[PLC] DuneriderOutlaw
[ROE] Ancient Stirrings
[SOK] Freed from the Real]
[TSB] WhirlingDervish

Some small fixes or refactoring
Aura of Dominion / Hikari Twilight Guardian / Wicked Akuba / Claustrophobia / Crab Umbra / Descendant of Soramaro

Framework changes
PlayerDamagedByWatcher - replaced by the new PlayerDamagedBySourceWatcher
PlayerDamagedBySource - new watcher which tracks what sources damged a player
DealtDamageToAnOpponent - new condition
LookLibraryControllerEffect - reworked to be usable with LookLibraryAndPickControllerEffect
LookLibraryAndPickControllerEffect - new effect to handle draw and pick effects
TapEnchantedEffect - new
UntapEnchantedEffect - new
ReturnFromExileEffect - added constructor rule text support
SacrificeAllEffect - fixed missing rule text creation
GameImpl - added the creation of the new PlayerDamagedBySource watcher for each player
2012-01-12 08:11:32 +01:00
BetaSteward
dfffdfcf8c latest monte carlo ai - has a memory leak 2012-01-10 21:29:53 -05:00
BetaSteward
a06f27ec89 minor fixes 2012-01-10 21:17:13 -05:00
BetaSteward
7df6bb8db6 add step name to message 2012-01-10 21:09:11 -05:00
LevelX
f073ee299d 13 new cards
[SOK] Descendant of Soramaro
[BOK] Kami of theHonoredDead
[CHK] Heartbeat of Spring / Jugan, the Rising Star / Kitsune Riftwalker / Mystic Restraints / Nezumi Bone Reader / Nine Ringed Bo / Samurai of the Pale Curtain / Sensei Golden-Tail / Tenza Godo's Maul / Wicked Akuba / Yosei the Morning Star

Fixed cards
Kumano Master Yamabushi - renamed file to correct name
Myojin of Infinite Rage - fixed toughness value
UnearthlyBlizzard - reworked text

Framework changes
EquippedMatchesFilterCondition - new, To grant equipment boosts conditional
PlayerDamagedByWatcher - new, Watcher to track damaged players
CardsInControllerHandCount - fixed potential null pointer exception
LookLibraryControllerEffect - improved to handle DynamicValues
2012-01-08 00:04:52 +01:00
LevelX
7207bc0be6 Bloodthirsty Ogre - refactored counter handling for negative values
CountersCount - removed negative parameter
2012-01-02 23:25:46 +01:00
LevelX
e88a2a199f New cards
[CHK] BloodthirstyOgre / HorobiDeathsWail / KumanosPupil / MyojinOfInfiniteRage / MyojinOfLifesWeb / MyojinOfNightsReach / MyojinOfSeeingWinds / OniPossession / PainwrackerOni

Framework
PutOntoBattlefieldTargetEffect - new effect
SetCardSubtypeAttachedEffect - added constuctor with list of types
TargetControlledCreaturePermanent - added constructor with "required" and "filter"
DrawCardControllerEffect / SacrificeTargetEffect - improved text generation
CountersCount - added flag to return the number of counters as negative value
2012-01-02 22:30:22 +01:00
North
182d636078 minor refactoring 2012-01-01 22:54:18 +02:00
North
97b1b7fde4 [M10] Capricious Efreet; Coat of Arms; Guardian Seraph; Panic Attack
[SOK] Michiko Konda, Truth Seeker
[ARB] Retaliator Griffin
[MRD] Farsight Mask
2012-01-01 22:50:11 +02:00
LevelX
9aeacd5cde New Cards
[APO] Index
[CHK] Cranial Extraction / Eight-And-A-Half-Tale / Ethereal Haze / Hankyu / He Who Hungers / Sensei's Divining Top
[GPC] CrystalSeer
[LRW] InkfathomDivers
[SHM] AphoticWisps / CeruleanWisps / CrimsonWisps / CrimsonWisps / ViridescentWisps
[10E] Discombobulate
Fixes
Glissa The Traitor - Changed flying to firststrike (solves issue 431)
HiddenHorror - minor text fix

Framework
PreventAllDamageEffect - replaces PreventAllCombatDamageEffect and supports now also preventing damage outside comnbat, refactored some cards with previous individual effect
SetCardColorTargetEffect - refactored some cards with previous individual effect
LookLibraryControllerEffect - supports now variable number of cards and may shuffle after look at cards
SacrificeSourceUnlessPaysEffect - refactored getText()
2011-12-31 13:53:19 +01:00
magenoxx
569d2c240a Fixed Issue 424.
Number of poison counters not updated when winning the game with an attack.
2011-12-30 17:27:40 +04:00
magenoxx
259fce0182 Fixed phyrexian mana can't be paid when player has 2 life. 2011-12-30 17:04:23 +04:00
Loki
4be5ae4fd0 fix Pendelhaven 2011-12-29 15:08:00 +04:00
Loki
3d54a8c1b4 5 timeshifted, [TSP] Ursa's Factory 2011-12-29 14:44:45 +04:00
LevelX
9e13ac418b New cards
[CHK] Befoul / Bushi Tenderfoot / Crushing Pain / Feast of Worms / Field of Reality / Forbidden Orchad / Initiate of Blood / Teller of Tales
[FUT] Witch's Mist
[TMP] Opportunist

Fixed cards
Akki Lavarunner - Rarity, removed land untap effect
LaternLit Graveyard - changed blue to black mana
Sphere of the Suns - fixed enters the battlefield tapped effect
Skinrender - changed outcome

Framework changes
TriggeredAbility - enhanced getRule() method
CreateTokenTargetEffect - enhanced getText() method
FilterCreaturePermanent - added DamageDealt filter

Some minor text/comment changes
2011-12-29 08:11:20 +01:00
North
842d2b0d42 [CHK] Hinder
[CON] Lapse of Certainty
[5DN] Fold into AEther
[LOR] Faerie Trickery
[MRD] Assert Authority
2011-12-28 18:08:31 +02:00
North
4b8507a941 minor refactoring 2011-12-27 15:25:36 +02:00
North
3704283aa0 [CON] Court Homunculus, Dark Temper, Drag Down, Filigree Fracture, Ignite Disorder, Kaleidostone, Manaforce Mace, Obelisk of Alara, Scattershot Archer, Spore Burst, Sylvan Bounty, Toxic Iguanar, View From Above, Worldly Counsel, Wretched Banquet 2011-12-27 15:24:32 +02:00