Mark Vejvoda
4975882ea2
- cleanup some useless warnings (thanks johndh)
2011-02-28 23:33:11 +00:00
Mark Vejvoda
1136f056ce
- added performance logging for new ai unblock rule when perf logging enabled
2011-02-28 16:47:01 +00:00
Mark Vejvoda
45a646ffef
- carved back max nodes in pathfinder to 600
2011-02-28 16:45:15 +00:00
Mark Vejvoda
c679c4bfe0
- set pathfinder max to 800 (From 1200)
2011-02-26 00:47:41 +00:00
Mark Vejvoda
823fd842d4
- added NULL guard for units without a move command to avoid segfault
2011-02-26 00:41:00 +00:00
Mark Vejvoda
bced200dd1
- bugfix when bad values are in map file, game would freeze at game start due to endless loop
2011-02-25 22:13:11 +00:00
Mark Vejvoda
9de151d975
- added more things to try to improve pathfinding (especially for the AI)
...
AI players should now detect when units are blocked (surrounded by other units from same faction) and tell the other units to move out of the way
2011-02-25 16:32:27 +00:00
Mark Vejvoda
16c7316887
- initial attempt to enable pathfinder caching (think it might work now). Please test
2011-02-23 07:03:38 +00:00
Mark Vejvoda
69a7f8f1d6
- hopefully stabilized pathfinder for network play so we won't get out of synch
2011-02-16 19:44:12 +00:00
Mark Vejvoda
7a5de218b7
- chasing down out of synch
2011-02-16 04:43:27 +00:00
Mark Vejvoda
14c5b87da4
- debugging out of synch (make bailout logic optional)
2011-02-16 03:48:13 +00:00
Mark Vejvoda
31e722287f
- bugfixes for when players disconnect, do not switch observers to AI and only show message once.
...
- Attempts to debug/improve network performance
2011-02-15 03:32:14 +00:00
Mark Vejvoda
737f95e5dd
- for testing made max pathfinder nodecount configurable
2011-02-13 03:31:05 +00:00
Mark Vejvoda
4488a4d388
- make pathfinder caching an ini setting tso its easy to test (disabled by default)
...
- some code cleanup related to threads and sockets
2011-02-13 03:06:12 +00:00
Mark Vejvoda
d056486ec4
- disable a cache that i think causes out of synch
2011-02-12 01:13:52 +00:00
Mark Vejvoda
0533ce2c63
- a simple attempt to improve pathfinder performance (this needs to be tested well and can easily be disabled by setting: const bool tryLastPathCache = false;)
2011-02-11 23:32:24 +00:00
Mark Vejvoda
cab252c220
- more expansion of the maximum distance the pathfinder will calculate, this is required for proper play with cliffs
2011-02-11 16:43:57 +00:00
Mark Vejvoda
41907b7728
- increase pathfinders range for better results with cliffs
2011-02-11 07:51:29 +00:00
Mark Vejvoda
6ec92f2127
- attempt to add more randomness to pathfinding and faster AI decsions
2011-02-04 06:34:32 +00:00
Mark Vejvoda
2498d44cd3
- updated AI code for special empty cellmap units, so AI does not look for them (since they already cannot attack them)
2011-02-03 19:19:27 +00:00
Mark Vejvoda
041289770e
- cleaned up more compiler warnings in VC++
2011-01-29 17:42:34 +00:00
Mark Vejvoda
bbab778738
- attempt for improved harvesting when congested
2011-01-28 08:58:16 +00:00
Mark Vejvoda
177531c376
- commented out some debug statements and corrected stuck harvesting a bit
2011-01-28 08:37:48 +00:00
Mark Vejvoda
23135b5bab
- when units get congested now we try to randomly pick different approaches to find resources
2011-01-28 07:17:32 +00:00
Mark Vejvoda
66261ad662
- updated line endings to unix style characters to fix Bug #3085838
2011-01-20 15:56:30 +00:00
Mark Vejvoda
ccbd707ae1
- numerous bugfixes including fixing a slowdown introduced in a previous recent checkin.
...
- Added Network Text Message queue as this is required in some tricky cases
- added more logging of memory cleanup events
- added memory safe snprintf calls
2011-01-11 22:09:46 +00:00
Mark Vejvoda
896b1c308c
- added a backtrace for gcc compiled binary when we get a runtime error.
...
- added more out of synch checks and better error handling
2011-01-02 00:39:13 +00:00
Titus Tscharntke
75541aec3b
Contact email changed; lots of strings replaced to MegaGlest
2010-12-13 00:32:59 +00:00
Mark Vejvoda
15aab7a581
- some intial changes to support cross-compilation under mingw
2010-12-04 23:19:43 +00:00
Mark Vejvoda
8deec8d518
- changed debug world synch formatting so on xplatform we don't have issues with filename and other header tag items
2010-12-01 23:38:03 +00:00
Mark Vejvoda
b02da7d1e0
- finally found and fixed out of synch related to AI.
...
- added ability to log all unit activity to world synch logfiles so we can diff game info from different network clients
2010-11-30 23:32:39 +00:00
Mark Vejvoda
e62f3ca64c
- reverted AI's repair rule logic to hunt down an AI out of synch
2010-11-28 07:38:03 +00:00
Mark Vejvoda
ca2408073e
- disabled more caching to determine if any of these caches cause out of synch
2010-11-28 03:35:44 +00:00
Mark Vejvoda
edbc14a176
- disabled another cache in pathfinder trying to hunt down xplatform out of synch
2010-11-28 02:36:06 +00:00
Mark Vejvoda
664b2b1b7d
- disabled another cache in pathfinder trying to hunt down xplatform out of synch
2010-11-28 00:07:08 +00:00
Mark Vejvoda
cc4f268988
- some additional AI caching for improved performance
2010-11-11 08:02:50 +00:00
Mark Vejvoda
d89953ee96
- improved performance and bug fixes.
2010-11-09 09:06:52 +00:00
Mark Vejvoda
9d9fa0deeb
- improved performance for when the AI decides which resource is closest.
2010-11-07 03:27:06 +00:00
Mark Vejvoda
9e55d8e46b
- added a small cache to improve pathfinding a bit
...
- added logic to IGNORE the following characters when doing CRC checks in XML files
(space,tab,CR,LF)
2010-11-07 01:06:14 +00:00
Mark Vejvoda
cb52b4895d
- performance fix in both pathfinder and debug output when pressing the debug key
2010-11-02 19:52:20 +00:00
Mark Vejvoda
9978cbeff5
- added some initial work to support FBO (frame buffer objects)
...
- added many NULL check guards throughout the code
- added a safe mutex around ptr access of background thread on custom menu
2010-11-01 16:44:05 +00:00
Mark Vejvoda
1e104f0496
- attempt to further improve pathfinder performance when MANY units are on the map
2010-10-26 06:53:04 +00:00
Mark Vejvoda
c47b6c676c
- attempt to further improve pathfinder performance when MANY units are on the map
2010-10-26 06:43:42 +00:00
Mark Vejvoda
8bbbe403ad
- more performance improvements for resource cache logic (try to avoid repetitive caching logic when it was already done once)
2010-10-25 22:02:36 +00:00
Mark Vejvoda
117521a8d4
- disabled the recently introduced pathfinding cache as its too slow and not sure that it really does any good. This should help performance to be better.
2010-10-24 06:53:30 +00:00
Mark Vejvoda
bbc8f96327
- better masterserver thread management during game play (do not start the thread for non published games)
2010-10-24 05:52:21 +00:00
Mark Vejvoda
79318735ab
- cleanup of last compiler warnings in Linux (hurray!)
2010-10-21 18:24:54 +00:00
Mark Vejvoda
bc7ba297fd
- more tweaking for units harvesting, this hopefully cleans up segfaults and makes things more stable.
2010-10-20 20:40:29 +00:00
Mark Vejvoda
913df7ec3b
- added more cached information to help deal with units getting stuck while harvesting. Trying to keep them busy instead of standing around.
2010-10-19 22:26:49 +00:00
Mark Vejvoda
dda594cf33
- a slight change in dealing with units getting stuck while harvesting. Trying to keep them busy instead of standing around.
2010-10-19 16:54:48 +00:00