Commit Graph

2853 Commits

Author SHA1 Message Date
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