Commit Graph

2799 Commits

Author SHA1 Message Date
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
Mark Vejvoda
0c9679b8b2 some code cleanup 2013-05-17 02:14:43 +00:00
Mark Vejvoda
bca6b5a8fb better logging of unit movement header and footer info 2013-05-17 01:32:29 +00:00
Mark Vejvoda
a17fcdb5b4 bugfixes for thread shutdown 2013-05-17 00:40:54 +00:00
Mark Vejvoda
910bb8bc56 - attempt to have more clean shutdown of threads on game exit 2013-05-17 00:08:26 +00:00
Tom Reynolds
280a00dc35 * Proper localization for Titi's "newbie" warning
* Fix typo in Linux build script
2013-05-05 12:06:31 +00:00
Mark Vejvoda
2771069c16 added extra null check on main application close to hopefully fix windows crash 2013-05-05 06:14:22 +00:00
Mark Vejvoda
c34169d19d bugfix, do not reset selected factions if there is only 1 techtree 2013-05-05 05:35:12 +00:00
Mark Vejvoda
0f7f2ae287 lineup ui for pause for lag 2013-05-04 06:09:00 +00:00
Mark Vejvoda
5370729ce1 bugfix to close irc client down quickly when exiting application. 2013-05-03 23:11:57 +00:00
Mark Vejvoda
348993853f bugfix for crc checking when data is toggled and user downloads somethign different 2013-05-03 06:25:38 +00:00
Mark Vejvoda
dc27d02972 bugfix to not crash when loading corrupt scenarios 2013-05-03 06:03:54 +00:00
Titus Tscharntke
775b351bc2 more space in options menues ( gfx menu will follow later ) 2013-05-02 22:35:54 +00:00
Titus Tscharntke
325f33a155 Selection via cellmap turned out not to be good -> revert 2013-05-02 20:52:23 +00:00
Mark Vejvoda
c30d78ff74 saved games for rejoining in progress games saves to .zip and sends that to clients. 2013-05-01 20:56:19 +00:00
Mark Vejvoda
480c77949c bugfix for crc checking after download of missing content and server changes to different data then the data downloaded 2013-05-01 04:57:41 +00:00
Mark Vejvoda
ec8d98f3c9 bugfix, restore human playername when reloading last game settings 2013-05-01 00:44:29 +00:00
Mark Vejvoda
c19065ebd0 bugfix for rain particles when loading keyboard setup in game (and memory cleanup) 2013-04-30 06:17:30 +00:00
Titus Tscharntke
db921c3fb7 attack enemy units even if you missed them and only hit the map cell. 2013-04-29 23:05:56 +00:00
Mark Vejvoda
45a1fcdf4e bugfix for purgeunused to not delete language files for techtrees 2013-04-29 05:51:41 +00:00
Titus Tscharntke
d303170b3f colorpicking: first we render buildings then we render units. By this we can select units in or behind buildings with colorpicking. 2013-04-28 10:26:25 +00:00
Titus Tscharntke
6849d432bf colorpicking improved again and hopefully fixed false clicks on attacks ... ( works with low display resolutions too now) 2013-04-27 17:38:35 +00:00
Titus Tscharntke
9d3c99d6d0 Speed for colorpicking :-D. Its nearly as fast as selectbuf now . ( and tree selection for colorpicking is fixed ) 2013-04-25 23:12:34 +00:00
Titus Tscharntke
c8b6a9f410 fixed colorpicking selection for units in front of trees ( flying units above forests for example ) 2013-04-24 23:06:11 +00:00
Titus Tscharntke
b5aeb02d22 return button returned to wrong menu 2013-04-21 23:41:06 +00:00
Titus Tscharntke
1884fc5653 new options menu(s) 2013-04-21 17:04:36 +00:00
Titus Tscharntke
883cfbbd27 Default for twoFrameAnimation smoothing is false. 2013-04-17 00:56:04 +00:00
Titus Tscharntke
88e2756ac2 new switch for animated tileset objects with only two animation frames: smoothTwoFrameAnim="true".
( std::sin was used with intention, no need for streflops in this case )
2013-04-17 00:12:54 +00:00
Titus Tscharntke
a7b1f95ee4 g3d exporter sets fully transparent objects to opacity=1 2013-04-10 00:15:53 +00:00
Titus Tscharntke
59f6688dad uuh , I had some == = problems ... 2013-04-09 23:15:48 +00:00
Titus Tscharntke
1d8644bff5 making network things work... 2013-04-07 20:32:00 +00:00
Titus Tscharntke
bd5aa2e112 making network things work... 2013-04-07 19:25:02 +00:00
Titus Tscharntke
1071358140 making network things work... 2013-04-07 17:44:07 +00:00
Titus Tscharntke
571775fb30 making network things work.. 2013-04-07 17:11:29 +00:00
Titus Tscharntke
4a436066e7 slowdown and speedup clients based on recorded stats 2013-04-07 15:27:55 +00:00
Mark Vejvoda
8983592400 - attempt to make mutex usage more stable and find memory issues 2013-04-05 05:39:30 +00:00
Titus Tscharntke
7a39fae6d0 message box shows up if player name is set to "newbie" 2013-04-03 16:17:14 +00:00
Titus Tscharntke
c72cd2ac4c lets try it with a smoother catchup of clients 2013-03-25 22:25:57 +00:00
Titus Tscharntke
dba93e2bf4 I think the frames stored in messages are no network frames but world frames 2013-03-25 20:55:28 +00:00
Titus Tscharntke
30cb3926d5 maybe we are in pause mode 2013-03-25 19:57:17 +00:00
Mark Vejvoda
079dbf808a - try to improve network performance 2013-03-24 05:16:56 +00:00