Commit Graph

3503 Commits

Author SHA1 Message Date
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
Mark Vejvoda
febbf5012c attempt to fix delay of irc client 2013-05-15 04:49:57 +00:00
Tom Reynolds
a6e6ab8f53 Use 'nproc' command instead of /proc/cpuinfo (doesn't work on armv5tel) to determine # of cores (lscpu can be another option) 2013-05-15 04:00:36 +00:00
Mark Vejvoda
dbd26de28f attempt to fix crash of irc client on exit 2013-05-15 00:45:34 +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
1b344808ff added more unit tests and did some refactoring of xml parser code 2013-05-03 20:18:01 +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
7534feb971 forgot to add an include 2013-05-01 21:01:57 +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
3163b3887a fix the unit tests that didn't work on some compilers handling static cast of enums in a weird way 2013-05-01 01:20:29 +00:00
Mark Vejvoda
3f15947448 fix the unit tests that didn't work on some compilers handling static cast of enums in a weird way 2013-05-01 01:13:17 +00:00
Mark Vejvoda
587377c03f fix the unit tests that didn't work on some compilers handling static cast of enums in a weird way 2013-05-01 01:01:50 +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
Mark Vejvoda
65266ca41e - added cppunit into build system and started writing some unit tests (requires new dependency cppunit) 2013-04-30 01:27:14 +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
8ba869c4b7 fixed double click selection for colorpicking 2013-04-26 15:25:15 +00:00
Titus Tscharntke
77ca62240e and colorpicking is faster again 2013-04-25 23:46:55 +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
519ad0fbeb Bug in models or bug in g3dviewer ? Newer models have set opacity of Material set to 0 ( needed to see transparency in blender ) but this full transparency is ( correctly) exported, resulting in not beeing shown in G3d Viewer or when used as unit. Used as tileset Models all was ok. So fixed for the Moment, but not entirely happy with this now. Maybe the blender exporter should set opacity to 1 if its set to 0 instead. 2013-04-08 22:01:38 +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
Tom Reynolds
e8e7b96865 * master server: server list: search engines should not follow/weigh parameterized self references
* master server: allow / require product URL and and add link on public HTML server list
2013-04-06 17:50:49 +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
d2928459a0 better line wrapping respecting \n too now 2013-04-03 16:16:39 +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
Mark Vejvoda
b2853b760e - fix bug reported on sf: Glest::Game::Selection::select crash with NULL pointer - ID: 3608835 2013-03-24 04:43:50 +00:00
Mark Vejvoda
15987d83d7 - try to improve network performance 2013-03-23 23:34:51 +00:00
Mark Vejvoda
9dc863e5e3 - try to improve network performance 2013-03-23 23:24:39 +00:00
Mark Vejvoda
d703f7605b - try to improve network performance 2013-03-23 23:18:50 +00:00
Mark Vejvoda
01b757a743 - try to improve network performance 2013-03-23 23:13:33 +00:00
Mark Vejvoda
97aadb6a44 - try to improve network performance 2013-03-23 23:00:11 +00:00
Mark Vejvoda
c36e8297fa - try to improve network performance 2013-03-23 22:56:08 +00:00
Mark Vejvoda
bc06b4799a - try to improve network performance 2013-03-23 22:44:55 +00:00
Mark Vejvoda
159cdc40d0 - attempt to see if this helps network performance 2013-03-23 22:32:51 +00:00
Tom Reynolds
ef58a2285d Changes to olaus' techtree HTML docs script:
* rename mg.ini to megapack.ini
* add Opensuse support (thanks atze)
2013-03-17 18:55:59 +00:00
Titus Tscharntke
b6b0e989da lets try (again) if this makes things less choppy 2013-03-16 23:05:11 +00:00
Mark Vejvoda
44a498958c - battle end screen render fix for tomreyn 2013-03-16 06:57:16 +00:00
Mark Vejvoda
203ad150ef - battle end screen render fix for tomreyn
- more thread safety for threaded client sockets
2013-03-16 06:55:16 +00:00
Mark Vejvoda
bad8f62f94 - bugfixes for detecting client disconnection 2013-03-15 06:51:57 +00:00
Mark Vejvoda
b805308a42 - bugfixes for detecting client disconnection 2013-03-15 00:31:51 +00:00
Mark Vejvoda
cb96232256 - should fix the strange pause / unpause behaviour for joining in progress games 2013-03-14 21:41:15 +00:00