Mark Vejvoda
3a6544a257
attempt for big cleanup of out of synch issues, please test!
2013-09-23 17:16:34 +00:00
Mark Vejvoda
d4a6645a4d
- more code cleanup and game lobby force refresh bugfix when data changes
2013-09-19 01:19:36 +00:00
Mark Vejvoda
3a5c99bca5
small code cleanup to see if this corrects any memory issues
2013-09-18 22:44:04 +00:00
Mark Vejvoda
b716cea3e7
update server crc log count
2013-09-17 16:36:05 +00:00
Mark Vejvoda
1d16d57c74
lowered the log max size limit for crc logging
2013-09-17 03:06:01 +00:00
Mark Vejvoda
fefb9b6148
- hide the removing crc log print to console
2013-09-17 03:03:16 +00:00
Mark Vejvoda
d22c10ccda
- added crc logging when crc mismatch detected
2013-09-17 00:43:14 +00:00
Mark Vejvoda
b5e26070b1
- updated to beta2 and added primitive CRC checking for network games, requies the Host user to set the following ini to enable CRC's:
...
EnableNetworkGameSynchChecks=true
2013-09-12 03:33:43 +00:00
Mark Vejvoda
4684779186
removed commented code
2013-06-22 18:09:29 +00:00
Mark Vejvoda
1b3ee1503b
code cleanup from cppcheck
2013-06-15 01:43:44 +00:00
Mark Vejvoda
0ead6a36dc
full support for translated techtrees
2013-06-13 08:55:48 +00:00
Mark Vejvoda
a8662c8b31
updated menus to display translated tech name
2013-06-13 01:37:15 +00:00
Mark Vejvoda
56774bc087
make server slots continuously read data on sockets during game
2013-06-04 00:31:41 +00:00
Mark Vejvoda
50ade6b471
bugfix for both progress and animation smoothness
2013-06-03 14:50:50 +00:00
Mark Vejvoda
ee271467d0
attempt to fix join game out of synch (and added more logging to track further if needed)
2013-06-02 05:57:51 +00:00
Mark Vejvoda
93caf14362
attempt to fix out of synch of join in progress game
2013-05-27 08:26:01 +00:00
Mark Vejvoda
de68fc759d
comment out some world synch logging
2013-05-25 18:22:36 +00:00
Mark Vejvoda
85ab3c76cc
attempt to improve threaded logging and see if we fix targetVec
2013-05-25 05:31:32 +00:00
Mark Vejvoda
4d0917e13b
switch to integer for unit progress and some related items to fix out of synch on cross platform
2013-05-25 02:42:57 +00:00
Mark Vejvoda
e456096ffc
added more important logging for out of synch
2013-05-25 00:02:49 +00:00
Mark Vejvoda
29155d31c1
attempt to see if this fixes out of synch
2013-05-24 04:06:30 +00:00
Mark Vejvoda
a0b87ba7eb
attempt to see if this fixes out of synch
2013-05-23 23:55:28 +00:00
Mark Vejvoda
a94787654d
attempt to see if this fixes out of synch
2013-05-23 23:52:46 +00:00
Mark Vejvoda
cd2177fc1e
attempt to see if this fixes long standing out of synch bugs
2013-05-23 00:33:30 +00:00
Mark Vejvoda
5b664fb1a2
- bugfix for transifex tutorial download files now loaded into UI
...
- updated each thread to provide its name
2013-05-21 20:28:42 +00:00
Mark Vejvoda
f98d9fdddc
attempt to see if this corrects out of synch, i COULD NOT reproduce the out of synch with my winxp and linux 64 systems, perhaps titi had different ini values between linux and windows?
2013-05-21 00:38:35 +00:00
Mark Vejvoda
54c026bb3e
- bugfixes for in game joining
2013-02-17 07:15:01 +00:00
Mark Vejvoda
9d19ff2b57
- added the first draft of joining games in progress
2013-02-15 18:25:10 +00:00
Mark Vejvoda
f87b8b6ee2
- updated code to protect against null pointers and uninitialized values and threading issues
2013-02-04 08:30:43 +00:00
Mark Vejvoda
7ecc7325ac
- trying to trace nig's crash (more debug info and safer code)
2013-01-23 14:51:28 +00:00
Mark Vejvoda
5d2066fdbb
- added a new thread manager to try to see if it takes less CPU cycles while the thread controller waits for slaves to do their work. To enable the experimental thread manager set: EnableNewThreadManager=true
2013-01-10 21:16:28 +00:00
Mark Vejvoda
1f49886755
- re-enabled fog of war cache to improve performance
...
- improve xml file loading speed
2013-01-03 17:30:59 +00:00
Mark Vejvoda
ff58a868b3
- attempt to bugfix windows using proper printf syntax for data types
2012-11-10 06:37:23 +00:00
Mark Vejvoda
28d65e8d55
- cleanup from last checkin (corrections)
2012-10-26 03:08:40 +00:00
Mark Vejvoda
011e0263b0
- lots more code cleanup, using safe buffer size code to avoid buffer overflows
2012-10-19 01:31:20 +00:00
Mark Vejvoda
5e42c6dc03
- loads of code cleanup based on verbose output from the latest git version of cppcheck
2012-10-06 07:06:40 +00:00
Mark Vejvoda
c39da4cd69
- code cleanup from cppcheck
2012-10-06 02:10:23 +00:00
Mark Vejvoda
345b2e670b
- added local mg version label to custom game menu
2012-05-12 02:21:21 +00:00
Mark Vejvoda
2d6cda1f6f
- more pathfinder tweaks to try improve performance
2012-05-09 23:56:14 +00:00
Mark Vejvoda
b8fb60b325
- speed up the pathfinder a bit
2012-04-21 03:42:25 +00:00
Mark Vejvoda
c8fdc9269f
- fix win32 build
...
- cleanup a lot of win32 compiler warnings
2012-04-16 20:15:57 +00:00
Mark Vejvoda
3b8dd289ac
- updated cmake to check for support of backtraces in gcc compiler
...
- fixed numerous bugs / warnings from cppcheck
2012-04-16 19:29:37 +00:00
Mark Vejvoda
8c0bf75bf5
- got built in memory leak working. Just edit leak_dumper.h and uncomment:
...
//#define SL_LEAK_DUMP
- got better / more accurate stack dumps when we detect errors in game.
- Both of these need to be worked on in windows next, win32 may not compile for now until i fix it on that platform.
- BE VERY CAREFUL when working in leak_dumper.* it may cause GCC and your system to crash if you don't know what you are doing!
2012-04-14 21:21:09 +00:00
Mark Vejvoda
2f885406e0
- added logic to delay AI player from path finding more than 10 units per frame (we make him think he is blocked and he will retry another frame)
2012-03-31 19:50:45 +00:00
Mark Vejvoda
030582c1ef
- added a new EnumParser class to convert enum to string and vice versa
...
- factions can now customize some more of the AI behavior
2012-03-31 05:54:24 +00:00
Titus Tscharntke
d8ba2443cf
new switches "count-unit-death-in-stats", "count-unit-production-in-stats" and "count-unit-kill-in-stats" for unit.xml ( allows better "resource" production for example )
2012-03-30 23:38:05 +00:00
Mark Vejvoda
45b92f4316
- allow for a scenario based faction to be 'neutral' by specifying a team # of 9
...
- added some new lua methods:
networkShowMessageForFaction(text,header,int factionIndex)
networkShowMessageForTeam(text,header,teamIndex)
2012-03-30 05:53:33 +00:00
Mark Vejvoda
c0f3658faa
- bugfix for network scenarios to NOT close unconnected network slots before loading, they will turn into AI players (this is required because the scenario code may require those factions)
...
- added ability to morph and indicate the morph command should ignore resource costs, add this to the command type:
<ignore-resource-requirements value="true" />
2012-03-27 03:23:03 +00:00
Mark Vejvoda
4481151c5b
- check if unit is dead when loading game and do NOT set cell map for dead unit
2012-03-13 23:51:39 +00:00
Mark Vejvoda
0ea22572dd
- fix ally list when loading games
2012-03-13 23:10:48 +00:00