Commit Graph

3915 Commits

Author SHA1 Message Date
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
c66db8ce49 fix windows build 2013-10-28 21:08:49 +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
4bc1e1b5bc fixed crc file loading on windows 2013-10-19 07:48:03 +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
5f3568ddd1 - add cache key and filename to cache files for info purposes 2013-10-18 03:49:45 +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
Tom Reynolds
769c1ced91 Master server:
· modified svn properties for *.js
· Add ABOUT text to README file
2013-10-13 02:27:56 +00:00
Tom Reynolds
95caf75847 Master server:
* more white labeling
* installation instructions added
* updated database scheme
* javascript refresh on HTML server list (thanks Omega!)
* desktop notifications on HTML server list (thanks Omega!)
2013-10-13 01:44:27 +00:00
Tom Reynolds
c12f5ded3f minimal bugfix for masterserver code 2013-10-12 23:55:32 +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
f45987d59a fix windows build 2013-10-03 14:04:15 +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
312c2db483 fixed windows build 2013-10-03 00:45:51 +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
0eeb526e27 it should show the y coordinates too ;-) 2013-10-02 23:48:16 +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
d2f0591bfa patch from titi_son showing the map coordinates in the map editor 2013-10-02 22:26:06 +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
4a8f88e864 - attempt to fix additional oos issues 2013-09-27 16:15:36 +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
792ab1b7bc attempt to fix oos related to random number generation 2013-09-21 19:18:06 +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
Titus Tscharntke
3de7740120 copy visible from current particle instead of setting it hard to true.
fixes: https://forum.megaglest.org/index.php?topic=9216.0
2013-09-19 22:04:18 +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
bbe7042b2d fixed loading scenario to read lua number as a float 2013-09-19 07:12:48 +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
aa66e4b5e9 - updates to cmake script to detect inclusion of libvlc (and spelling mistake fix) 2013-09-18 19:03:12 +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
5ea417b2bd added a fallback to use glib API if we cannot find the users home folder 2013-08-09 18:03:29 +00:00
Mark Vejvoda
cd0a8933cd attempt some speed improvements for logging 2013-08-09 04:55:35 +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
c60c96a22f enable fontconfig in cmake build 2013-08-01 22:24:00 +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
4764da0e50 check everything when it comes to joining meshes 2013-06-23 03:09:59 +00:00
Mark Vejvoda
9549b7f87a bugfix for join meshes, add opacity check also 2013-06-22 22:41:37 +00:00
Mark Vejvoda
b418d46254 bugfix for joining meshes, need to also check noselect flag 2013-06-22 21:47:50 +00:00
Mark Vejvoda
1520cdcea0 add check for invalid model missing texture 2013-06-22 21:41:30 +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
bb14d4cc1e bugfix for shutdown of threads and garbage collection. 2013-06-22 03:36:18 +00:00
Mark Vejvoda
76ee030e93 bugfix for shutdown of threads and garbage collection. 2013-06-21 22:59:22 +00:00
Mark Vejvoda
0e184d609c updated cmake message 2013-06-21 19:24:59 +00:00
Mark Vejvoda
7b4a724764 bugfix for libminiupnpc cmake script 2013-06-21 19:19:38 +00:00
Mark Vejvoda
0c56e13e7a bugfix for libminiupnpc cmake script 2013-06-21 19:04:57 +00:00
Mark Vejvoda
bd4e2c8724 applied heightmap addition to map editor -> thanks muwum 2013-06-21 18:21:07 +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
441390e5c5 - fixed vc++ 2012 build
- some fixes found from vc++ 2012 code analyser
2013-06-21 00:12:19 +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
dde601e416 attempt to implement will's mesh merging for better render performance 2013-06-20 07:24:09 +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
Mark Vejvoda
b31df9e94c attempt to further stabilize thread garbage collector 2013-06-18 22:41:18 +00:00
Mark Vejvoda
eec6d4f59c bugfix for pure virtual error on garbage collector thread 2013-06-18 22:26:12 +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
Mark Vejvoda
b9bb1623a6 make sure unpnpc patch is applied as given on sourceforge 2013-06-14 03:32:10 +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
1d7b138ac3 load bmp's a little faster 2013-06-12 15:22:16 +00:00
Mark Vejvoda
cc4d650fad tga file load speed improvement 2013-06-12 07:21:16 +00:00
Mark Vejvoda
80f25e8fff bugfix for windows copmpiler 2013-06-12 06:51:59 +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
267dc7534f bugfix for float rounding segfault 2013-06-11 01:23:04 +00:00
Mark Vejvoda
473e79c356 add lag pause when client lag reaches warning level 2013-06-11 00:07:28 +00:00
Mark Vejvoda
d067b52799 fixed windows build and added new test to vc++ project 2013-06-10 23:08:03 +00:00
Mark Vejvoda
16f4e08395 attempt to speed up float truncation and add some unit tests 2013-06-10 22:38:33 +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
6387d1b1b1 add default value of allowed keys in english of none 2013-06-08 21:57:11 +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
a313b26d74 bugfix map editor toolbar on windows 2013-06-04 07:21:01 +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
e4e7a7dc00 bugfix g3d viewer glewinit was not working 2013-06-03 06:10:16 +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
8c725df8a2 tracking down bug on i386 platform 2013-06-01 17:02:10 +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
9ef098ba02 add more unit tests to cover all of the xml parser code 2013-05-28 20:56:01 +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