Commit Graph

3897 Commits

Author SHA1 Message Date
Mark Vejvoda 2c452d3587 attempt to use per faction mutexes for safer pathfinding 2013-11-08 22:41:17 +00:00
Mark Vejvoda e8a94eacfc tracking for nig's issue 2013-11-08 19:00:47 +00:00
Mark Vejvoda 0f5f4c0792 bugfix for nig's issue 2013-11-08 17:01:32 +00:00
Mark Vejvoda 22b230a5b3 bugfix for nig's issue 2013-11-08 16:26:36 +00:00
Mark Vejvoda 96d2723646 tracking down nigs bug 2013-11-08 15:30:53 +00:00
Tom Reynolds ddbb69b6fb Masterserver:
· Add LICENSE file
· Add copyright header where missing
· Improve README file
2013-11-08 12:41:11 +00:00
Mark Vejvoda e75a88b42c updated status textures and alinged the texture position in menus as they were off by 2 pixels 2013-11-08 02:50:59 +00:00
Mark Vejvoda 342aba5caa - set curl connection timeout to 60 minutes
- set curl ftp response timeout to 2 minutes
2013-11-08 02:32:11 +00:00
Mark Vejvoda 2baab89bab more cpp check fixes 2013-11-08 01:03:24 +00:00
Mark Vejvoda 382cb120ee bugfix to init all variables for client connection 2013-11-08 00:48:05 +00:00
Mark Vejvoda 3796b035cd remove font macro since it always made cppcheck report bad things about the code 2013-11-07 20:41:05 +00:00
Mark Vejvoda 6fe733468d some cpp check cleanup 2013-11-07 20:07:03 +00:00
Mark Vejvoda 95b7172260 vc++ warnings fixes 2013-11-07 19:00:47 +00:00
Mark Vejvoda 9b097fd911 decouple masterserver from network host game settings into two seperate threads 2013-11-07 18:39:08 +00:00
Mark Vejvoda b7a7d3bc4a ensure load saved games checks if new attribute exists 2013-11-07 05:20:02 +00:00
Mark Vejvoda 4a70fd09e2 added lua method to be able to allow or disallow speed change toggle
void disableSpeedChange();
	void enableSpeedChange();
	bool getSpeedChangeEnabled();
2013-11-07 05:18:21 +00:00
Mark Vejvoda f7002a36ef attempt to fix menu disconnect timeout issues 2013-11-07 03:33:04 +00:00
Mark Vejvoda 73bf27d76e attempt to fix menu disconnect timeout issues 2013-11-07 02:30:23 +00:00
Mark Vejvoda f0546df518 added more debug tracking info if win64 crashes 2013-11-07 01:55:02 +00:00
Tom Reynolds 712e1129a7 · Make search engine robots not index the masterserver 2013-11-07 01:29:06 +00:00
Mark Vejvoda 3f611a1d17 refactor core data code to move features into smaller chunks 2013-11-06 07:52:05 +00:00
Mark Vejvoda 493981e8b3 - reverted win64 to sse2
- added some debug info for win64 testing
2013-11-06 02:14:49 +00:00
Mark Vejvoda eb6466889f do not crash and exit game when core data textures are not found 2013-11-06 02:02:00 +00:00
Mark Vejvoda 70421d1b3d added a check for data and user data paths being the same 2013-11-06 00:31:36 +00:00
Titus Tscharntke e689ac8bff "Observer" and "Random" moved to main lang file instead of techtree based translation 2013-11-05 23:35:11 +00:00
Titus Tscharntke 7224f134c7 hotkey support for scenario list boxes 2013-11-05 21:25:51 +00:00
Mark Vejvoda dbb2409d76 remove usless output from error message 2013-11-05 21:13:26 +00:00
Mark Vejvoda 5ab99d2469 cppcheck cleanup 2013-11-05 20:59:28 +00:00
Mark Vejvoda 282feba074 bugfix for holding control to set all slots to same control type 2013-11-05 19:40:27 +00:00
Mark Vejvoda 345907fc18 attempt to make win64 faster by using avx (as opposed to sse2) 2013-11-05 06:31:48 +00:00
Mark Vejvoda f4cbced3f4 more vc++ warning fixes as well as disable an unused font renderer in windows 2013-11-04 20:16:52 +00:00
Mark Vejvoda b190968e6b - bugfix for save / restore game (spelling mistake)
- vc++ warning fixes
2013-11-04 19:16:28 +00:00
Mark Vejvoda c6b42e4bf6 bugfixes in win64 for exception handling 2013-11-04 17:42:48 +00:00
Mark Vejvoda 1134ad399d - added a more graceful way to handle more serious errors during data validation commands in order to offer more detailed error analysis 2013-11-04 07:21:04 +00:00
Titus Tscharntke 7c4c7a142b code cleanup ( too many formatStrings() ...) 2013-11-03 21:55:50 +00:00
Titus Tscharntke d3d8623a2d default values for faction names and techtrees should be "formatted" to avoid confusion in menus 2013-11-03 21:38:39 +00:00
Mark Vejvoda 9a3463330c *Stupid* vc++ compiler never ceases to amaze me how pathetic it is. 2013-11-03 07:55:20 +00:00
Mark Vejvoda 8d4f5a9f40 i know its crazy, but attempt performance gains by avoiding use of int64 as much as possible. 2013-11-03 07:18:27 +00:00
Mark Vejvoda f461504541 some cleanup related to bugs filed on sourceforge from the Debian games team. 2013-11-03 04:10:20 +00:00
Mark Vejvoda 8b5e681ae5 updated for vc++ 2012 x64 compile 2013-11-03 01:51:20 +00:00
Mark Vejvoda b20d0cc0e4 - fixed bug where we used wrong var name to save quit time to db 2013-11-02 23:38:19 +00:00
Mark Vejvoda 3fb957a13e more vc++ compiler warning cleanup 2013-11-02 22:58:00 +00:00
Mark Vejvoda f74198129b cleanup the resource multiplier code to be consistent in the menus 2013-11-02 22:30:16 +00:00
Mark Vejvoda 122c945c67 cleanup game statscolumns a bit 2013-11-02 21:53:08 +00:00
Mark Vejvoda 6f5d641476 comment out http request output 2013-11-02 19:07:00 +00:00
Mark Vejvoda 9798668789 - added player platform to game stats 2013-11-02 19:05:59 +00:00
Mark Vejvoda eb085907d0 fixed the build 2013-11-02 11:22:32 +00:00
Mark Vejvoda 1d3859ff32 - windows x64 updates to get things compiling on vc2012 x64 2013-11-02 11:04:52 +00:00
Mark Vejvoda a061289c1c added null check in case typedef foudn a bug 2013-11-01 21:47:14 +00:00
Mark Vejvoda e3a8ee6d2f add playerid to game stats so we canprovide historical stats for unique players 2013-11-01 21:31:55 +00:00
Mark Vejvoda a716e692c7 bugfixes for resource multiplier 2013-11-01 19:48:04 +00:00
Mark Vejvoda 123b034854 updated to delete completed games less than 5 minutes duration 2013-11-01 17:53:26 +00:00
Mark Vejvoda 4fb06abb4d - added game stats purge function 2013-11-01 17:25:37 +00:00
Mark Vejvoda ef6d2da2f2 - added game stats purge function 2013-11-01 17:23:17 +00:00
Mark Vejvoda ff17d04a6a added game duration to main server page 2013-11-01 15:42:19 +00:00
Mark Vejvoda d24da2f7b5 updated masterserver stats so we DO NOT update slot counts after game is won 2013-11-01 14:38:28 +00:00
Mark Vejvoda 2612774078 a few small performance improvements based on perf tool 2013-11-01 06:42:57 +00:00
Mark Vejvoda e7fb242716 small code cleanup from cppcheck 2013-11-01 05:43:01 +00:00
Mark Vejvoda 9ef8076429 bugfix to ensure we set headless mode at game start so it can be saved on masterserver 2013-11-01 05:31:15 +00:00
Mark Vejvoda b05c6c1136 - handle it more gracefully when user has no techtrees 2013-11-01 05:25:55 +00:00
Mark Vejvoda 9128efcfbb bugfix for wrong resource mutliplier in menu 2013-11-01 00:23:43 +00:00
Mark Vejvoda 1fd4f6540a changed default from last 8 hours toi last 48 hours of games 2013-11-01 00:04:27 +00:00
Mark Vejvoda ed4444a6da check if this fixes techtree name bug 2013-10-31 20:12:49 +00:00
Mark Vejvoda 5c71ebcf0e check if this fixes techtree name bug 2013-10-31 19:45:03 +00:00
Mark Vejvoda e008754581 check if this fixes techtree name bug 2013-10-31 18:32:26 +00:00
Mark Vejvoda 5d5c2855b6 fixed json desktop notifications 2013-10-31 15:43:43 +00:00
Mark Vejvoda b71ec8447e see if this helps titi with tech names 2013-10-31 14:09:27 +00:00
Mark Vejvoda a88d84fd6d added aynch fetch for game stats 2013-10-31 09:49:23 +00:00
Mark Vejvoda 53f0334d61 - added some coloring for game stats and order latest games to the top 2013-10-31 05:11:16 +00:00
Mark Vejvoda 77b9cbfb1d updated to set game stats before exit game check 2013-10-31 04:43:25 +00:00
Mark Vejvoda 152bbd9bb0 bugfixes for game stats 2013-10-31 04:25:08 +00:00
Mark Vejvoda 2f197aa8aa bugfixes for game stats 2013-10-31 04:00:26 +00:00
Mark Vejvoda 42bd6b6bd3 updated game stats 2013-10-31 03:46:08 +00:00
Mark Vejvoda afa2cc520a - added game statistics for completed games 2013-10-31 03:34:28 +00:00
Mark Vejvoda dfb11de241 - Web and JSon scripts now show finsihed games that are no older than 8 hours 2013-10-31 01:35:47 +00:00
Mark Vejvoda 7ad30f92bf - added game statistics gathering and saving on masterserver.
see Table glestserver now has the field: gameUUID
Table glestgamestats has game header stats
Table glestgameplayerstats has game player stats
2013-10-31 00:57:36 +00:00
Titus Tscharntke c0a2265f7e ensure that upcase/downcase does not cause unneeded translation beeing displayed in faction listboxes 2013-10-29 21:41:45 +00:00
Mark Vejvoda af135e6ad5 code cleanup 2013-10-29 21:35:04 +00:00
Mark Vejvoda 7011d49868 popup language menu now shows native and english version of language name 2013-10-29 21:32:19 +00:00
Mark Vejvoda c04a73017c allow language toggle to switch faction names in menus 2013-10-29 21:13:44 +00:00
Mark Vejvoda 958872cacf bugfix for translations for techtree 2013-10-29 20:24:23 +00:00
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 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