1
0
mirror of https://github.com/vcmi/vcmi.git synced 2026-05-02 20:42:24 +02:00
Commit Graph

648 Commits

Author SHA1 Message Date
mateuszb 2f74224a34 [programming challenge, SSN] today's changes 2012-05-12 17:59:32 +00:00
Michał W. Urbańczyk f5bb1f3ba3 [programming challenge] An experiment. 2011-12-28 18:00:43 +00:00
Michał W. Urbańczyk b41dd8d88c [programming challenge] Unique names for recording files 2011-12-28 02:55:02 +00:00
Michał W. Urbańczyk 2691fd62f4 [programming challenge] Don't dramatically crash upon illegal tatics movement. 2011-12-28 01:37:29 +00:00
Michał W. Urbańczyk 67571d5823 [programming challenge] More fixes for paths. Logging AI name with PID in server logs. 2011-12-09 23:09:21 +00:00
Michał W. Urbańczyk c0637f333d [programming challenge] Paths with spaces work (win). 2011-12-09 21:37:32 +00:00
Michał W. Urbańczyk 85588b6bda [programming challenge]
* stupid AI will print more info
* proper handling of too long processing of battle end calls
* doxygenized some comments
2011-12-03 23:40:56 +00:00
Michał W. Urbańczyk 3fbaaac6d9 [programming challenge] Logs go to logs fodler. 2011-11-14 17:52:09 +00:00
Michał W. Urbańczyk 8b6f0f699d [programming challenge] More. 2011-11-10 13:03:45 +00:00
Michał W. Urbańczyk 5be8c31d97 [programming challenge] Minor fixes. 2011-11-10 12:15:27 +00:00
Michał W. Urbańczyk 3fd579a433 Further changes for programming challenge environment. 2011-11-10 09:21:27 +00:00
mateuszb 696f85a2ed * partially done checking memory limit for AIs 2011-10-23 17:13:14 +00:00
mateuszb b18cbcbda7 * Linux build fixes 2011-10-23 13:53:37 +00:00
Michał W. Urbańczyk 8de4a4aef2 Clients report their PIDs so the memory usage can be monitored. 2011-10-23 00:50:00 +00:00
Michał W. Urbańczyk 92e508fe1f Further changes for programming challenge.
* setting obstacles and creature params in duel config file
* handling arguments for Odpalarka
* handling runner + runner + runner + client scenario (memory measura AND visualziation)
2011-10-20 23:29:32 +00:00
Michał W. Urbańczyk c8115d41a8 Imposed time limits on AIs.
Simple action validation.
2011-10-11 13:16:28 +00:00
Michał W. Urbańczyk 94e7fa5b3c Logging battle activites. Replaying battles with client.
Added an AI for answer validation (it returns junk action packets).
Minor fixes.
2011-10-06 20:55:19 +00:00
mateuszb 499a401095 * moved CThreadHelper and CConsoleHandler to lib
* corrections in linux build files
* initial version of vcmi installation script and package for programming challenge
2011-10-01 17:00:12 +00:00
mateuszb 441ddcbcfe * Linux compilation fixes 2011-10-01 15:07:07 +00:00
Michał W. Urbańczyk 6d69acdf47 DETERMINISTIC_BATTLES switch.
It disables following effects:
* random dmg range. Now dmg dealt = (min_dmg + max_dmg) / 2
* REBIRTH - no random premy for tha last stack (only "fully reborn" stacks will be resurrected)
* obstacles placement
* MAGIC_RESISTANCE
* luck & morale (both positive and negative)
* DOUBLE_DAMAGE_CHANCE
* BALLISTA_DOUBLE_DMG chance
* catapult % chance for hitting wall (it will always hit)
* catapult and first aid tent random default targets (when hero has no appropriate sec skill)
* MAGIC_MIRROR
* SPELL_BEFORE_ATTACK
* SPELL_AFTER_ATTACK
* DEATH_STARE
* ACID_BREATH
2011-10-01 14:55:43 +00:00
Michał W. Urbańczyk 13eb9a2c16 Improved launcher, release build settings. 2011-09-29 21:53:39 +00:00
Michał W. Urbańczyk 2b18e0b821 Various fixes and refactorings. Restored client project to solution. 2011-09-29 21:29:54 +00:00
Michał W. Urbańczyk 1282ad4573 Gracefully ending. 2011-09-29 13:42:07 +00:00
Michał W. Urbańczyk 131b9d6e1a Battle is run and result is stored. 2011-09-29 11:24:15 +00:00
mateuszb 96a5bdaa5b Programming challenge - further preparations. 2011-09-28 17:58:06 +00:00
Michał W. Urbańczyk bdd66b6537 Zmiany do Programming challenge. 2011-09-27 21:54:40 +00:00
Frank Zago c4b8039c1e Added a missing rturn in CGameHandler::isAllowedExchangeForQuery. Fixed several typos. 2011-09-24 01:15:36 +00:00
Frank Zago c481177515 Fixed #815. 2011-09-24 00:32:55 +00:00
Ivan Savenko d113517db4 - fixed #108, #798, #810
- fixed several gcc warnings
- some work on JSON (const char* as input, no crash on missing value)
2011-09-23 15:58:18 +00:00
Michał W. Urbańczyk 6ef44bde5a Work on pathfinder: torn the code out from CGameState into a separate class. It can use Subterranean Gates and Boats. Removed code for handling Fly spell effect. It didn't work as supposed anyway. 2011-09-19 20:50:25 +00:00
ori.bar 74fafbedbf Fix #807 2011-09-17 18:15:10 +00:00
Michał W. Urbańczyk 9621cbcaa7 * fixed crash on calculating dmg dealt by stack under Curse
* fixed crash on sea battles (obstacles data got corrupted during conversion)
* fixed crash when StupidAI had a catapult
* minor fixes and refactorings (typename for bonus list under shared ptr)
2011-09-06 13:59:26 +00:00
Michał W. Urbańczyk bb1bdcb0a7 * fixed crash on visiting Sirens
* fixed race condition on the new turn,  #729 should be gone
* fixed crashes in AI-only game mode
2011-09-06 09:59:06 +00:00
Michał W. Urbańczyk 8b7a2f179c * Server will strictly require answering the queries before taking any actions. Let me know, if this causes any freezes.
* Fixed crash on new week after we lost battle with neutral monster but killed the top stack (merging failed then).
* minor changes
2011-09-06 06:00:32 +00:00
DjWarmonger e3a8a41063 Fixed #804.
Phoenix won't upgrade to Centaur Captain ;)

Minor tweaks.
2011-09-05 06:37:24 +00:00
ori.bar 4f2bc1cc35 Fix bug 803 2011-09-04 01:44:50 +00:00
Michał W. Urbańczyk 102593aabe Fixed #789 and #795, 2011-09-01 02:48:29 +00:00
Michał W. Urbańczyk 20a53b04fd Removed object recycling that was causing #796. Fixed text nr typo.
Corrected json include in client/Client.cpp.
2011-09-01 01:40:46 +00:00
Michał W. Urbańczyk 18444fc72f Rewritten code handling growth to eliminate duplication and make it conformant to OH3 mechanics. Proper support for Statue of Legion.
Displaying shield over minimap during AI turn.
2011-08-26 20:32:05 +00:00
Michał W. Urbańczyk 4f20c5a376 Fixed #731. 2011-08-25 21:08:53 +00:00
Michał W. Urbańczyk 4c3ed24fe1 Fixed #768. More logging for #774.
Fixed crash on town time event (-1 and -2 "structures" present on buildings list).
2011-08-25 20:02:38 +00:00
Michał W. Urbańczyk 77be397bf6 Fixed #782. 2011-08-25 15:49:11 +00:00
Michał W. Urbańczyk 26a83d7680 http://forum.vcmi.eu/viewtopic.php?p=5956#5956
Significant changes in project files:
* new library package required! URL: http://download.vcmi.eu/msvc-pack.7z
* created VCMI_global.props property sheet for settings common to all VCMI projects
* added configuration for x64 builds
2011-08-15 21:53:03 +00:00
DjWarmonger 287761a93d Fixed #229 & #332 2011-08-12 19:38:30 +00:00
Frank Zago 56bf3dc8ab Replaced io_service()) with get_io_service(). Fixes bug #780. 2011-08-04 23:49:32 +00:00
beegee1 f609c4ad9a * Fixed #33 -> Creatures tend to stop at every hex during movement 2011-08-01 17:36:18 +00:00
DjWarmonger 2272b4a316 Reverted changes from r2270. These strange callbacks were introduced for purpose (bugs 574 & 615).
Described crash after a battle is not reproductible now. Refer to these bug reports for more details.
2011-07-30 18:02:31 +00:00
beegee1 a5c39ca84b * Fixed a crash which occurred when a battle was won against a enemy hero but not gaining a lvl-up.
* Code improvements, fixed warnings.
2011-07-30 15:04:34 +00:00
Frank Zago 5eab8339d0 Someone likes to put semicolons in the wrong places. Fixed. 2011-07-28 00:38:19 +00:00
DjWarmonger 8789968d67 Fixed #777. 2011-07-27 10:41:27 +00:00