Commit Graph

3139 Commits

Author SHA1 Message Date
Titus Tscharntke
dea351095c no more crashes for hotkey based selections in listboxes without translation. 2013-10-29 19:11:36 +00:00
Mark Vejvoda
0c00b49995 more lang class code cleanup and better caching of techtree strings 2013-10-29 17:28:29 +00:00
Mark Vejvoda
d2ba7b163b a little refactoring of function names in language class 2013-10-29 06:13:38 +00:00
Mark Vejvoda
dda2f99e01 changed network CRC settings to FALSE by default and do NO network CRC checking unless explicity enabled:
For Verbose logging: EnableNetworkGameSynchChecks
For Default Logging: EnableNetworkGameSynchMonitor
2013-10-29 01:56:57 +00:00
Mark Vejvoda
957fe2d09b cleanup of show message code for headless mode 2013-10-28 18:58:15 +00:00
Mark Vejvoda
8bbcdfbdb3 attempt to have mg shutdown cleanly when opengl version is too low 2013-10-28 18:27:51 +00:00
Mark Vejvoda
cc4f4aaa37 - attempt to improve performance when crc logging is disabled 2013-10-28 04:57:55 +00:00
Titus Tscharntke
35b8251bef changed version number to avoid beta1 people joining svn test games 2013-10-27 16:17:20 +00:00
Titus Tscharntke
0b2d58f03b new icons for network player state
labels can have a texture now
no more player coloring accroding to network state
2013-10-27 16:13:27 +00:00
Mark Vejvoda
539df3a854 -- attempt to fix another oos issue detected 2013-10-26 07:02:32 +00:00
Titus Tscharntke
7f97d94983 connect menu should work too now. Lets hope all works ;-) 2013-10-25 22:09:19 +00:00
Titus Tscharntke
cc480e6bbd more menu changes ( still work in progress ) 2013-10-25 19:35:10 +00:00
Mark Vejvoda
ad0fb1d6f7 cleaned up code based on feedback from cppcheck 2013-10-25 05:45:54 +00:00
Titus Tscharntke
524c0ef2d9 new arranged custom menu to get space for translated and untranslated faction names.
( this is work in progress and will be continued the next days.
2013-10-24 00:02:08 +00:00
Titus Tscharntke
c4b6bee52b new scenario menu layout
displays folder and translated names of scenarios.
2013-10-23 23:20:13 +00:00
Titus Tscharntke
49451e1184 listboxes are rendered with dark background.
listboxes can be "leftControlled"
2013-10-23 23:11:18 +00:00
Titus Tscharntke
ea92fce58d little bugfix for last checkin 2013-10-23 20:33:00 +00:00
Titus Tscharntke
5c419a2713 Extended console is rendered with dark background 2013-10-23 20:23:21 +00:00
Mark Vejvoda
d2f2b26739 bugfix for slow crc issue detected, was not clearing a buffer, but network crc should play fine now. 2013-10-21 06:30:25 +00:00
Mark Vejvoda
a17068165f try to see if this makes disabled network crc checking more performance freindly 2013-10-20 20:06:19 +00:00
Mark Vejvoda
a4a32fc4fe - added more crc checking info to track oos 2013-10-19 21:12:08 +00:00
Mark Vejvoda
5f97f0cb57 - updated arm based network protocol to include new network crc in game values 2013-10-19 03:11:25 +00:00
Mark Vejvoda
5f8ccd5115 tracking down oos 2013-10-18 18:16:09 +00:00
Mark Vejvoda
9224a7e242 - attempt to fix crc file bug 2013-10-18 15:47:17 +00:00
Mark Vejvoda
23552eb1a7 - bugfix for particles CRC calculation for oos 2013-10-18 04:55:29 +00:00
Mark Vejvoda
83055456d2 - added more crc capture data to track down oos 2013-10-17 06:36:28 +00:00
Mark Vejvoda
23963e537d - do not print out crc log info if disabled 2013-10-17 03:30:18 +00:00
Mark Vejvoda
a830fa168a - bugfix for cliffs 2013-10-17 03:11:39 +00:00
Mark Vejvoda
fb276d1dd7 - added more crc logging to detect oos location 2013-10-17 02:49:25 +00:00
Mark Vejvoda
37a53c114a - attempt to detect oos by adding more crc and log info 2013-10-14 02:35:42 +00:00
Mark Vejvoda
e31192db9f - added support for morph command type to use:
<replace-storage value="true" />
2013-10-11 02:15:49 +00:00
Mark Vejvoda
8e2da49b84 - added another item to crc check to try to track out of synch 2013-10-10 04:06:49 +00:00
Mark Vejvoda
42912e0b74 - applied patch to allow tilesets to not force random object placement 2013-10-08 04:36:21 +00:00
Mark Vejvoda
c1305bdd1b - add more crc log info for oos 2013-10-06 06:59:15 +00:00
Mark Vejvoda
ebcbaafc0d re-enable some hitpoint tracking for crc checks 2013-10-03 20:04:55 +00:00
Mark Vejvoda
ada8810666 added support for properly named attack-strength tag (and keep support for old name) 2013-10-03 14:51:26 +00:00
Mark Vejvoda
53a557d8d1 - fixed mod center image previews in cases where userdata folder was non default
- removed commented out old code
2013-10-03 05:44:50 +00:00
Mark Vejvoda
9e60723296 revert most doubles back to float and truncate at 6 decimals 2013-10-03 00:17:51 +00:00
Titus Tscharntke
b38e7cb054 and one more "int" which should be "float" ( at the moment ) 2013-10-02 22:31:04 +00:00
Titus Tscharntke
a83eb9baba size and sizeNoEnergy were int instead of float. Thats why there were no more particles anymore in some cases. 2013-10-02 22:19:17 +00:00
Mark Vejvoda
dc503d6340 - attempt to see if this makes stability better 2013-10-02 20:22:10 +00:00
Mark Vejvoda
ee6eadb0d8 print warning if techtree is missing factions 2013-09-30 22:12:35 +00:00
Mark Vejvoda
de8b083329 - attempt to fix additional oos issues 2013-09-30 17:38:26 +00:00
Mark Vejvoda
dc944b2a79 - attempt to fix additional oos issues 2013-09-28 16:54:32 +00:00
Mark Vejvoda
8b8267400a - attempt to fix additional oos issues 2013-09-28 16:53:20 +00:00
Mark Vejvoda
939e88ce38 - attempt to fix additional oos issues 2013-09-28 07:10:25 +00:00
Mark Vejvoda
111523f60b - corrected game shutdown to do quit logic only once 2013-09-28 06:40:26 +00:00
Mark Vejvoda
9967df316c - attempt to fix additional oos issues 2013-09-28 05:06:04 +00:00
Mark Vejvoda
91b7803270 - attempt to fix additional oos issues 2013-09-28 03:10:37 +00:00
Mark Vejvoda
6b59cb0bcc - attempt to fix additional oos issues 2013-09-27 04:45:53 +00:00
Mark Vejvoda
63ed244de2 - attempt to fix additional oos issues 2013-09-27 00:14:54 +00:00
Mark Vejvoda
a73cf8470b attempt to fix attack particle calculation for oos issue 2013-09-26 19:36:24 +00:00
Mark Vejvoda
37c2ace11a - rollback last commit 2013-09-26 16:37:32 +00:00
Mark Vejvoda
7349a1f126 - attempt to convert use of more floats to double 2013-09-25 15:40:19 +00:00
Mark Vejvoda
525e0da652 - change a bunch of floats to double and remove path from particle texture 2013-09-25 00:17:11 +00:00
Mark Vejvoda
11471243ea - implement ability to toggle off verbose and normal network crc mode via ini entries:
EnableNetworkGameSynchChecks
EnableNetworkGameSynchMonitor
2013-09-24 19:35:35 +00:00
Mark Vejvoda
c9b3284aeb bugfix for particle cleanup 2013-09-24 04:29:53 +00:00
Mark Vejvoda
875eb95790 bugfix for particle cleanup 2013-09-24 03:44:15 +00:00
Mark Vejvoda
f66a0834c9 try to cleanup possible memory issue 2013-09-23 22:25:38 +00:00
Mark Vejvoda
3a6544a257 attempt for big cleanup of out of synch issues, please test! 2013-09-23 17:16:34 +00:00
Titus Tscharntke
440ec7dd7e shadow intensity with better performance 2013-09-22 13:55:20 +00:00
Titus Tscharntke
416ccaae4b Shadow intensity can be set in video options.
Tilesets can set their own default shadow intensity with <shadow-intensity value="0.3"/>.
ShadowAlpha is beeing removed form ini files
2013-09-22 00:51:47 +00:00
Mark Vejvoda
836e61d5d6 loggging fixes for language specific info (use english always) 2013-09-21 20:50:58 +00:00
Mark Vejvoda
1633a80b69 - additional cleanup of crc logging (remove highlight value)
- add a bit more info to crc related to upgrades
2013-09-21 06:06:48 +00:00
Mark Vejvoda
fd1e5f893a try to use double instead of float for timed unit particles 2013-09-21 00:32:17 +00:00
Mark Vejvoda
123a329baf separate problematic code to see where the segfault happens 2013-09-21 00:11:34 +00:00
Mark Vejvoda
30913d9ae1 - see if this regular game crc checking every 20th frame is ok for performance 2013-09-21 00:02:36 +00:00
Mark Vejvoda
3126a10966 - added code to be able to properly render attack particles when unit is not visible (turned off for now due to questions) 2013-09-19 20:03:36 +00:00
Mark Vejvoda
b83e7dae90 added null checks 2013-09-19 17:32:36 +00:00
Mark Vejvoda
f344aac3f8 - load-scenarios now alsways takes physical folder name of the scenario 2013-09-19 06:56:50 +00:00
Mark Vejvoda
ab413f1d0c small code cleanup from cppcheck 2013-09-19 06:32:47 +00:00
Mark Vejvoda
970de758e4 - bugfix for network CRC comparison so we don't lose frames 2013-09-19 01:35:08 +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
8a50dbd671 - on reload game check ini setting for crc network checks 2013-09-18 21:43:25 +00:00
Mark Vejvoda
60028086e2 see if this fixes crc bug 2013-09-18 18:49:57 +00:00
Mark Vejvoda
538a676006 - attempt bugfix for floating point issue causing oos 2013-09-18 00:46:30 +00:00
Mark Vejvoda
013ed35c8b added more debug info to unit crc logs 2013-09-17 23:52:27 +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
d7abf70920 - updated crc log for units to exclude floating point rotation info 2013-09-17 01:32:25 +00:00
Mark Vejvoda
d22c10ccda - added crc logging when crc mismatch detected 2013-09-17 00:43:14 +00:00
Titus Tscharntke
3f7d608955 version set to dev again ( data does not fit anymore ) 2013-09-15 21:39:22 +00:00
Titus Tscharntke
a5834ddf57 I hope it solves a timing problem with rendering and resetting the gui. https://forum.megaglest.org/index.php?topic=9163.0 2013-09-14 23:56:26 +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
Titus Tscharntke
6f85a6aa4a old air behaviour for resource production. new one is reachable via ini switch NewResourceBehaviour=true 2013-08-29 22:30:09 +00:00
Mark Vejvoda
f617866237 - attempt to see if this handles resource associated units better 2013-08-10 06:53:16 +00:00
Mark Vejvoda
97b8979a6c added AI logging for resource unit type logic 2013-08-02 21:46:55 +00:00
Mark Vejvoda
1247f1e965 a little refactoring and try to fix some of the AI logic for food producers 2013-08-02 00:08:16 +00:00
Mark Vejvoda
f9c991edda add a guard for null texture and warning on console 2013-08-01 22:22:21 +00:00
Tom Reynolds
65b93aa8c2 Support build dependencies on Linux Mint 15: https://forum.megaglest.org/index.php?topic=9149.0
Resize "Next hint" button on loading screen: https://forum.megaglest.org/index.php?topic=9141.0
Localization updates from Transifex
2013-07-12 10:28:59 +00:00
Mark Vejvoda
0c26460f34 - updated version to 3.8.0.-beta1 in preparation for beta1 2013-06-26 04:57:17 +00:00
Titus Tscharntke
5747a36394 smaller button with clicksound for "next hint" 2013-06-25 22:44:57 +00:00
Titus Tscharntke
5a25c094db unblock button always visible ( if a network game ) 2013-06-25 20:39:15 +00:00
Mark Vejvoda
a689dd58a4 force crc refresh for both client and server when mismatched 2013-06-24 23:36:03 +00:00
Mark Vejvoda
88ed55ca8e remove uuid from debug view 2013-06-24 00:29:32 +00:00
Mark Vejvoda
15582c046f allow headless admin to change techtree translation setting 2013-06-23 05:37:47 +00:00
Mark Vejvoda
c88c631010 bugfix to force server to refresh CRC if client has different CRC 2013-06-23 05:23:02 +00:00
Mark Vejvoda
d46479df95 - bugfix to allow headless server to load a texture for new tilesets where they must read it to determine parts.
- converted asserts to exceptions
2013-06-23 04:17:25 +00:00
Mark Vejvoda
4684779186 removed commented code 2013-06-22 18:09:29 +00:00
Mark Vejvoda
17da18978a init variables 2013-06-22 07:39:12 +00:00
Mark Vejvoda
67bf5ebc1b bugfix for vc++ compiling 2013-06-22 04:32:22 +00:00
Mark Vejvoda
af91eb8b4e update to proper data type 2013-06-22 03:49:51 +00:00
Mark Vejvoda
76ee030e93 bugfix for shutdown of threads and garbage collection. 2013-06-21 22:59:22 +00:00
Mark Vejvoda
5524cd6a0e - updated exit game menu text vs leaving the application as requested.
- updates from transifex
2013-06-21 06:01:43 +00:00
Mark Vejvoda
4848e957e7 code cleanup from cppcheck 2013-06-20 22:51:28 +00:00
Titus Tscharntke
511ba5134f default selection is colorpicking now 2013-06-20 21:42:01 +00:00
Mark Vejvoda
8d36c07a61 make AI smarter when needing more resources, prefer units that 'give back' resources over producers 2013-06-20 20:04:19 +00:00
Mark Vejvoda
3696c3b9d4 bugfix for error when changing resource multiplier lower than 0.5 2013-06-20 19:18:29 +00:00
Mark Vejvoda
d7eaeaead5 updated next hint to a button and added english label 2013-06-19 16:12:00 +00:00
Mark Vejvoda
06c3186466 client can now see if techtree translated setting shows 2013-06-19 01:03:51 +00:00
Mark Vejvoda
aceb9aec0a re-fix titi's morph when no space available 2013-06-19 00:19:29 +00:00
Mark Vejvoda
c9c5d9aa8f more frequent checking for client lag 2013-06-19 00:01:29 +00:00
Mark Vejvoda
ceb17ce56d bugfix - proper client shutdown on sudden disconnect during game play 2013-06-18 23:41:14 +00:00
Titus Tscharntke
d13242287c client slowdown/wait/speedup messages in verbose mode only 2013-06-16 18:21:33 +00:00
Mark Vejvoda
075293de09 fixed names showing in lobby menu to be properly formatted 2013-06-16 01:14:04 +00:00
Mark Vejvoda
54a28b6fb5 see if this makes the AI produce more food quickly when needed 2013-06-15 07:29:59 +00:00
Mark Vejvoda
1b3ee1503b code cleanup from cppcheck 2013-06-15 01:43:44 +00:00
Mark Vejvoda
c646d0371c updated to throw exception (not assert) when item missing from listbox 2013-06-15 00:31:51 +00:00
Titus Tscharntke
ee20fbd37b VCC does not like float constants ... 2013-06-13 21:29:03 +00:00
Mark Vejvoda
7a6b59ddb1 added translatable factions to custom menu 2013-06-13 21:20:55 +00:00
Mark Vejvoda
ba1852aa63 a few missed areas of translated techtrees 2013-06-13 20:22:04 +00:00
Titus Tscharntke
dc716702c4 In loading screen you can click to show the next hint ( patch made by titi_son ) 2013-06-13 20:08:50 +00:00
Mark Vejvoda
c9aab227e5 allow pausing network games when not joining an in progress game 2013-06-13 19:57:19 +00:00
Mark Vejvoda
0ead6a36dc full support for translated techtrees 2013-06-13 08:55:48 +00:00
Titus Tscharntke
1f96dae8c7 tilesets can set default air unit heights 2013-06-13 07:34:32 +00:00
Mark Vejvoda
a8662c8b31 updated menus to display translated tech name 2013-06-13 01:37:15 +00:00
Mark Vejvoda
1eb17e3bb2 - added support for translated techtrees. To produce a default techtree lng file in the proper techtree folder run:
megaglest --translate-techtrees=megapack

where megapack is the name of the techtree
2013-06-12 22:49:47 +00:00
Mark Vejvoda
adce76d68f more mad attempts to squeeze better performance 2013-06-12 17:49:12 +00:00
Mark Vejvoda
1e1676a34a more render improvements 2013-06-12 06:14:55 +00:00
Mark Vejvoda
836172f87c more render improvements 2013-06-12 01:24:10 +00:00
Mark Vejvoda
a516b0eb0d more render improvements 2013-06-12 01:07:53 +00:00
Mark Vejvoda
929381e3ee see if this fixes the black flicker we sometimes see 2013-06-12 00:53:52 +00:00
Mark Vejvoda
55653c10b5 try to see if this affects performance? 2013-06-12 00:25:43 +00:00
Mark Vejvoda
668b34db8e more mad attempts to squeeze better performance 2013-06-11 06:44:26 +00:00
Mark Vejvoda
473e79c356 add lag pause when client lag reaches warning level 2013-06-11 00:07:28 +00:00
Mark Vejvoda
aa63d07497 disable joining in progress games for release (controlled by optional setting EnableJoinInProgressGame=true) 2013-06-10 20:08:03 +00:00
Mark Vejvoda
ab437c2590 better formatting for upgrade type data 2013-06-08 17:53:25 +00:00
Mark Vejvoda
8066502f9b fix a few areas that vc++ 2012 pointed to as potential bugs 2013-06-08 03:40:04 +00:00
Mark Vejvoda
8d2e812dc8 remove unused reference to image and image-cancel for upgrade types 2013-06-07 23:33:35 +00:00
Mark Vejvoda
4499308888 fix a few areas that vc++ 2012 pointed to as potential bugs 2013-06-07 23:17:27 +00:00
Mark Vejvoda
9a7fba2842 bugfix for custom about screen texture 2013-06-07 22:27:09 +00:00
Mark Vejvoda
58ebee280d added custom credits ability for Ishmaru 2013-06-07 20:36:07 +00:00
Mark Vejvoda
7aca6c73c7 bugfix to allow changing of texture compression 2013-06-07 18:34:55 +00:00
Mark Vejvoda
e44420f9c9 joining player can only click play now once 2013-06-07 00:29:29 +00:00
Mark Vejvoda
7a40e78b6a allow player status message in game lobby 2013-06-07 00:23:30 +00:00
Mark Vejvoda
462524bcae attempt to fix titi's segfault when reloading and exiting custom menu 2013-06-06 23:57:21 +00:00
Mark Vejvoda
ed00d9ad8b hide player status when joining in progress game 2013-06-06 14:38:55 +00:00
Mark Vejvoda
6e38d9b187 do not require lng file to have a new key 2013-06-06 05:51:32 +00:00
Mark Vejvoda
4533da71bd bugfixes for attack boost did not properly rollback boost value sometimes for multiplier style boosts 2013-06-06 04:10:49 +00:00
Mark Vejvoda
4da10fc7fa save player uuid in last game settings 2013-06-05 20:31:54 +00:00
Mark Vejvoda
09b6c1c1b1 bugfix to change title when joining in progress game 2013-06-05 20:25:14 +00:00
Mark Vejvoda
8a3cf2f956 when clients connect to a lobby or game see if the player was previously in a slot and if so give them this slot 2013-06-05 20:04:03 +00:00
Mark Vejvoda
6d349b839c avoid mutex use for client slot thread on server to improve performance 2013-06-05 18:05:21 +00:00
Mark Vejvoda
4ca6c232cf allow game to be paused before player joins game and retain pause state 2013-06-05 17:17:03 +00:00
Mark Vejvoda
173075d962 allow each language to specify special keys allowed for that language (bugfix for polish) 2013-06-05 05:53:59 +00:00
Mark Vejvoda
c54251c12c try to improve performance 2013-06-04 22:32:47 +00:00
Mark Vejvoda
5fd46478c6 try to improve performance 2013-06-04 21:55:16 +00:00
Mark Vejvoda
ac24630573 bugfix to properly shutdown masterserver thread 2013-06-04 18:40:37 +00:00
Mark Vejvoda
0af3e349d8 bugfixes to allow joining in progress game and also ensure disconnect list is correct. 2013-06-04 08:01:33 +00:00
Mark Vejvoda
b6780d2af7 code cleanup 2013-06-04 04:36:00 +00:00
Mark Vejvoda
aab72b863c enforce that no network commands are sent when game is paused for player who is joining except pause / unpause and disconnect 2013-06-04 04:26:37 +00:00
Mark Vejvoda
03862948e2 bugfix to cleanup closing client connections quickly 2013-06-04 03:47:04 +00:00
Mark Vejvoda
8cd2383a78 bugfix for minimap for joining in progress games 2013-06-04 02:21:56 +00:00
Mark Vejvoda
56774bc087 make server slots continuously read data on sockets during game 2013-06-04 00:31:41 +00:00
Titus Tscharntke
819622f40e I hope this fixes the black flickering when selecting units you sometimes see (this was very obvious with selectbuffer , but visible in colorpicking too ) 2013-06-03 23:09:02 +00:00
Mark Vejvoda
2e2f16e3bc bugfix for missing data to not show console error on server 2013-06-03 19:55:34 +00:00
Mark Vejvoda
50ade6b471 bugfix for both progress and animation smoothness 2013-06-03 14:50:50 +00:00
Mark Vejvoda
25450ebb85 bugfix for both progress and animation smoothness 2013-06-03 14:30:52 +00:00
Mark Vejvoda
1097938c2e bugfix for loading saved games which do not have playeruuid 2013-06-03 05:33:07 +00:00
Mark Vejvoda
8d8c9ab20c bugfix for join in progress game (clear path for each unit) 2013-06-03 05:29:01 +00:00
Mark Vejvoda
335eb3ac4a bugfix for smoother animation sequences and fix progress bound animations 2013-06-03 04:28:53 +00:00
Titus Tscharntke
01e7c28992 screenshots for savegames without annoying menu in screenshot. ( I render the scene again before taking a screenshot ). 2013-06-02 21:41:09 +00:00
Titus Tscharntke
27e46dd10a selected units are sorted by type(id) now. this gives less jumping selection with colorpicking and a sorted selection display in the GUI. 2013-06-02 20:30:22 +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
9c4b469d09 bugfix for segfault on client disconnect (regression introduced a few checkins ago) 2013-06-02 05:08:40 +00:00
Mark Vejvoda
6e6a70aab0 fix progress bar for downloading saved games 2013-06-02 05:01:28 +00:00
Mark Vejvoda
a7269de8f6 fix the filename shown when downloading saved game for join in progress 2013-06-01 23:55:21 +00:00
Mark Vejvoda
2cd6325806 attempt to fix message which used servers version of the text always 2013-06-01 23:45:19 +00:00
Mark Vejvoda
ae458f9b4b cleanup compile warnings 2013-06-01 23:31:17 +00:00
Mark Vejvoda
78d9a01638 bugfix for attackboost where it sometimes did not properly remove the boost 2013-06-01 22:21:04 +00:00
Mark Vejvoda
d4568f1bdd fixed connection segfault on i386 platform 2013-06-01 18:07:06 +00:00
Mark Vejvoda
68456111b4 tracking down bug on i386 platform 2013-06-01 17:56:38 +00:00
Mark Vejvoda
92bc5c6e12 tracking down bug on i386 platform 2013-06-01 17:51:42 +00:00
Mark Vejvoda
0df2e19e10 tracking down bug on i386 platform 2013-06-01 17:40:34 +00:00
Mark Vejvoda
e809080d0f tracking down bug on i386 platform
- comment titi's model debug output
2013-06-01 17:23:51 +00:00
Mark Vejvoda
22eb5cc4d4 attempt to fix a thread bug when starting a game 2013-06-01 06:28:03 +00:00
Mark Vejvoda
7f88d866c1 attempt to fix a thread bug when starting a game 2013-06-01 06:07:14 +00:00
Mark Vejvoda
4daef05777 bugfix for animation progress 2013-06-01 03:24:06 +00:00
Mark Vejvoda
4af65d1e19 added unique playerid for every client 2013-06-01 02:31:12 +00:00
Mark Vejvoda
27c0141b34 fixed headless admin button for player status changes 2013-05-31 19:32:20 +00:00
Mark Vejvoda
761fc44f14 reprompt to download missing data after 7 seconds if the user is still misisng game data 2013-05-31 19:05:34 +00:00
Mark Vejvoda
4efc2f9cea try to make world synch logging not use translated unit names 2013-05-31 15:33:01 +00:00
Mark Vejvoda
6cc8f6ac75 attempt to fix the model render not properly timed 2013-05-31 07:09:25 +00:00
Mark Vejvoda
a0506e3486 bugfix for join game segfault posted by atze 2013-05-30 06:28:09 +00:00
Mark Vejvoda
79c3c1eed5 bugfix player # in disconnect message 2013-05-29 06:13:21 +00:00
Mark Vejvoda
7191fe092d safer and faster shutdown of disconnected client socket 2013-05-29 06:06:43 +00:00
Mark Vejvoda
831bbda6c9 better error handling for game / scenario loading problems (like bad xml) 2013-05-28 15:42:54 +00:00
Mark Vejvoda
995617e91e bugfix to allow admin to kick player in same slot multiple times 2013-05-28 07:10:13 +00:00
Mark Vejvoda
7acd500c08 bugfix for a number of legacy divide by 0 conditions discovered by Tiger. 2013-05-28 06:07:35 +00:00
Mark Vejvoda
43d533aec3 added ability to reference sound and videos in lua using variables: {TECHTREEPATH}, {SCENARIOPATH}, {TUTORIALPATH} example:
playStreamingSound('{SCENARIOPATH}/music/myambient.ogg')
2013-05-28 03:08:51 +00:00
Mark Vejvoda
72480bc576 added ability to reference sound and videos in lua using variables: {TECHTREEPATH}, {SCENARIOPATH}, {TUTORIALPATH} example:
playStreamingSound('{SCENARIOPATH}/music/myambient.ogg')
2013-05-28 02:54:23 +00:00
Mark Vejvoda
7ee5d2b300 added a bunch of new lua methods for Tigers new scenario to montior changes to a unit 2013-05-28 00:59:44 +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
f4a29d98b8 bugfix to correct out of synch, titi tried to fix this a while ago but the code was not complete, we hit this when testing today 2013-05-27 04:56:07 +00:00
Mark Vejvoda
f79dd4be83 admin can now kick player joining in progress game while he is in the lobby 2013-05-26 06:45:56 +00:00
Mark Vejvoda
2c1b181bc7 a bunch more code cleanup from cppcheck 2013-05-26 06:03:32 +00:00
Mark Vejvoda
c1ca53f50d allow admin to kick player multiple times 2013-05-26 04:01:01 +00:00
Mark Vejvoda
f84cf5c216 attempt to fix resume game 2013-05-26 03:35:31 +00:00
Mark Vejvoda
c932965d9e correct click sound for a bunch of menu buttons 2013-05-26 02:44:36 +00:00
Mark Vejvoda
d901670c15 attempt to fix weird morph bug found by Elimnator 2013-05-26 00:27:50 +00:00
Mark Vejvoda
cef0ce9978 attempt to fix weird morph bug found by Elimnator 2013-05-26 00:11:07 +00:00
Mark Vejvoda
7c98c35d67 init new variable to null 2013-05-25 22:46:01 +00:00
Mark Vejvoda
fd9ce54063 attempt to fix morph out of synch 2013-05-25 22:44:39 +00:00
Titus Tscharntke
60a7ea172d client slowdown/catchup reenabled again 2013-05-25 22:30:31 +00:00
Mark Vejvoda
aa69a5818b added some new lua methods to determine day or night and new event 2013-05-25 20:46:36 +00:00
Mark Vejvoda
de68fc759d comment out some world synch logging 2013-05-25 18:22:36 +00:00
Mark Vejvoda
7cd6dfbdca bugfixes for loading saved games with bad data or wrong game version 2013-05-25 08:02:07 +00:00
Mark Vejvoda
fe151abcc5 ensure dead units clean up 2013-05-25 07:36:21 +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
3746bf4f11 bugfix to properly close socket when connected client leaves game lobby 2013-05-23 07:12:29 +00:00
Mark Vejvoda
497dac4189 move cancel and download and progrress bars to right align in UI 2013-05-23 06:11: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
Titus Tscharntke
a6920049e8 lets see if things work without client speedup/slowdown 2013-05-22 22:15:52 +00:00
Mark Vejvoda
a98234c14e THIS IS NOT BACKWARD COMPATIBLE WITHY OTHER DEV VERSIONS! buffix the attack target issue mentioned in the forums 2013-05-21 21:19:59 +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
5cfc4d07a0 added logging of threaded unit actions 2013-05-21 05:43:57 +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
418d4bed0b more logs to track out of synch 2013-05-20 22:54:07 +00:00
Mark Vejvoda
2f3433688f more logs to track out of synch 2013-05-20 21:52:36 +00:00
Mark Vejvoda
625628fc63 put change back to what it was before 2013-05-20 21:40:25 +00:00
Mark Vejvoda
6a34864c5d see if this corrects the current out of synch issues 2013-05-20 20:06:25 +00:00
Mark Vejvoda
538314eb48 add more world synch logging 2013-05-20 19:00:08 +00:00
Mark Vejvoda
08e0b0baca add more world synch logging and added more mutex thread protection in pathfinder 2013-05-20 02:51:26 +00:00
Titus Tscharntke
218c540bea In graphics option new screenmodes are "tested" now.
Animate only a given number of objects in tilesets.
2013-05-19 12:30:10 +00:00
Mark Vejvoda
8fd82a4f7d add more world synch logging and disabled potentially dangerous ini properties that were still referenced in the pathfinder to see if this was the cause of out of synchs (due to old settings that affected the pathfinder) 2013-05-19 05:16:21 +00:00
Mark Vejvoda
7966422582 attempt to fix segfaults discovered during testing 2013-05-18 05:57:22 +00:00
Mark Vejvoda
24f3a1d6de add more synch logging to pathfinder 2013-05-18 03:11:26 +00:00
Mark Vejvoda
3c05195436 add more synch logging to pathfinder 2013-05-17 22:51:40 +00:00
Mark Vejvoda
d8c7ccec9d fixed main menu center of images 2013-05-17 09:31:47 +00:00
Mark Vejvoda
748763f0f1 code cleanup based on cppcheck results 2013-05-17 05:21:14 +00:00
Mark Vejvoda
c55b9c3ffe code cleanup based on cppcheck results 2013-05-17 05:01:23 +00:00
Mark Vejvoda
2fd5c2241e code cleanup based on cppcheck results 2013-05-17 04:06:39 +00:00
Mark Vejvoda
8408526b12 code cleanup based on cppcheck results 2013-05-17 03:59:34 +00:00