Commit Graph

537 Commits

Author SHA1 Message Date
Mark Vejvoda
1b3ee1503b code cleanup from cppcheck 2013-06-15 01:43:44 +00:00
Mark Vejvoda
a8662c8b31 updated menus to display translated tech name 2013-06-13 01:37:15 +00:00
Mark Vejvoda
473e79c356 add lag pause when client lag reaches warning level 2013-06-11 00:07:28 +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
7a40e78b6a allow player status message in game lobby 2013-06-07 00:23:30 +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
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
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
03862948e2 bugfix to cleanup closing client connections quickly 2013-06-04 03:47:04 +00:00
Mark Vejvoda
56774bc087 make server slots continuously read data on sockets during game 2013-06-04 00:31:41 +00:00
Mark Vejvoda
4af65d1e19 added unique playerid for every client 2013-06-01 02:31:12 +00:00
Mark Vejvoda
7191fe092d safer and faster shutdown of disconnected client socket 2013-05-29 06:06:43 +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
93caf14362 attempt to fix out of synch of join in progress game 2013-05-27 08:26:01 +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
3746bf4f11 bugfix to properly close socket when connected client leaves game lobby 2013-05-23 07:12:29 +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
7966422582 attempt to fix segfaults discovered during testing 2013-05-18 05:57:22 +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
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
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
Mark Vejvoda
079dbf808a - try to improve network performance 2013-03-24 05:16:56 +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
159cdc40d0 - attempt to see if this helps network performance 2013-03-23 22:32:51 +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
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
Mark Vejvoda
16d25210e4 - make client use less CPU for network games 2013-03-13 21:32:48 +00:00
Mark Vejvoda
3661d62c03 - attempt to fix client crash on disconnect 2013-03-12 22:50:26 +00:00
Mark Vejvoda
88b31797e7 - make client use less CPU for network games 2013-03-11 03:46:40 +00:00
Mark Vejvoda
21d38b6231 - make client use less CPU for network games 2013-03-10 16:19:04 +00:00
Mark Vejvoda
ac992b431d - attempt to fix threaded client stability and fixed some server side network bugs to also improve its stability 2013-03-09 20:57:06 +00:00
Mark Vejvoda
760ba99fd7 - attempt to fix double free bug 2013-03-08 21:53:11 +00:00
Mark Vejvoda
11d4c4a1dc - attempt to fix double free bug 2013-03-08 21:00:37 +00:00
Mark Vejvoda
e74f747fbd - attempt to make connection status more reliable and have less hangs when disconnects occur 2013-03-08 08:42:08 +00:00
Mark Vejvoda
704935c534 - attempt to fix double free bug reported by tomreyn 2013-03-08 05:24:37 +00:00
Mark Vejvoda
198fa1d05d - bug fix to send packets every 4 seconds if nothing has been sent (especially when the game is paused) 2013-03-08 04:41:57 +00:00
Mark Vejvoda
560ed46cc0 - more bugfixes for slot switching and joining in progress games
- disallow server to toggle pause state when client is joining
- fix dmp extension on linux
2013-03-06 14:29:49 +00:00
Mark Vejvoda
47aa0050b8 - this seems to be stable now and handles lag quite well i think 2013-03-02 07:33:01 +00:00
Mark Vejvoda
951cd33ef4 - try to get threaded client working without lag 2013-03-02 02:35:53 +00:00
Mark Vejvoda
019c7edcc7 - try to get threaded client working without lag 2013-03-02 02:19:34 +00:00
Mark Vejvoda
6603e08c96 - try to get threaded client working without lag 2013-03-02 00:53:55 +00:00
Mark Vejvoda
c49962c644 - try to get threaded client working without lag 2013-03-02 00:30:26 +00:00
Mark Vejvoda
2fc2e51842 - attempt to fix lagging clients 2013-03-01 23:31:53 +00:00
Mark Vejvoda
2d2ec9afac - allow the game to be published if it allow in game joining 2013-03-01 17:21:58 +00:00
Mark Vejvoda
b6cefa3388 - attempt to fix lag issue when resuming paused network game (also for resume joining in progress game) 2013-03-01 06:52:33 +00:00
Mark Vejvoda
e4235cc551 - attempt to further stabilize joining in progress games 2013-02-27 06:46:42 +00:00
Mark Vejvoda
b0a370900f - attempt to make joining in progress games a bit more reliable and stable 2013-02-26 23:31:59 +00:00
Mark Vejvoda
13665d58f1 - attempt to fix light sources handling as reported by tomreyn
- allow speed up / slow down for network game as long as no-one is connected
2013-02-26 20:48:20 +00:00
Mark Vejvoda
45b8cf21a4 - attempt to fix disconnect and thread lock for in game connect games 2013-02-26 07:05:46 +00:00
Mark Vejvoda
e0bda20f5e - bugfix for slot not re-opening after disconnect when required 2013-02-24 00:28:45 +00:00
Mark Vejvoda
c8cdca22fd - some code cleanup and try to improve joining in progress game performance 2013-02-19 22:00:15 +00:00
Mark Vejvoda
54c026bb3e - bugfixes for in game joining 2013-02-17 07:15:01 +00:00
Mark Vejvoda
cfe0f6bb55 - bugfix for in game joining 2013-02-16 19:26:17 +00:00
Mark Vejvoda
45dc4c0e5d - updates to join in progress game, and now allow for switching slots 2013-02-16 19:11:36 +00:00
Mark Vejvoda
b38f6b20a1 - updates to join in progress game, and now allow for switching slots 2013-02-16 10:07:36 +00:00
Mark Vejvoda
9d19ff2b57 - added the first draft of joining games in progress 2013-02-15 18:25:10 +00:00
Mark Vejvoda
bff9b1b3bc - cleanup a bunch of vc++ compile / link warnings 2013-02-01 08:12:20 +00:00
Mark Vejvoda
8cd7aa0e43 - code cleanup from cppcheck 2013-01-25 02:55:28 +00:00
Mark Vejvoda
a15bdecbf3 - a few safety changes for network communication
- small tweaks for unit selection
2013-01-24 21:09:40 +00:00
Mark Vejvoda
7ecc7325ac - trying to trace nig's crash (more debug info and safer code) 2013-01-23 14:51:28 +00:00
Mark Vejvoda
90ad8581d7 - bug fixes for new thread manager when in game lobby 2013-01-12 04:40:44 +00:00
Mark Vejvoda
0f34a886c6 - headless admin cannot start unless min authenticated players are connected 2013-01-11 23:48:57 +00:00
Mark Vejvoda
563bd8ac57 - client disconnect handling improvement 2013-01-11 04:32:52 +00:00
Mark Vejvoda
4401bcbd3f - client disconnect handling improvement 2013-01-10 21:30:38 +00:00
Mark Vejvoda
5d2066fdbb - added a new thread manager to try to see if it takes less CPU cycles while the thread controller waits for slaves to do their work. To enable the experimental thread manager set: EnableNewThreadManager=true 2013-01-10 21:16:28 +00:00
Mark Vejvoda
66bc98c106 - bugfix for nig's client disconnect error 2013-01-09 23:34:37 +00:00
Mark Vejvoda
779ab1348f - attempt to fix crash on windows when server exits game 2013-01-09 01:53:00 +00:00
Mark Vejvoda
ee2ad95164 - attempt to improve ai decision performance by having each ai player updates done in a thread 2013-01-01 18:55:26 +00:00
Mark Vejvoda
c14c9ebc2d - attempt to fix the segfault reported by tomreyn when headless admin disconnects from the server 2012-12-19 19:55:49 +00:00
Mark Vejvoda
07c2af4b99 - no need to crash if admin port already in use, just output error to console 2012-11-15 15:08:30 +00:00
Mark Vejvoda
3773736212 - bugfix for headless admin to get message in his own language (if possible) 2012-11-15 14:45:22 +00:00
Mark Vejvoda
35f6a6665b - attempt to keep irc connection and just join / leave the irc channel as required to speed up irc in the lobby 2012-11-10 09:22:28 +00:00
Mark Vejvoda
8a0390db35 - cleanup compiler warnings 2012-11-10 07:31:21 +00:00
Mark Vejvoda
2e14844a24 - attempt to bugfix windows using proper printf syntax for data types 2012-11-10 07:03:47 +00:00
Mark Vejvoda
e01ccca6a3 - try to fix build on mac 2012-11-09 19:26:44 +00:00
Mark Vejvoda
8c182b9712 - some minor cppcheck code cleanup 2012-11-05 05:40:47 +00:00
Mark Vejvoda
f0da05fd6b - added protocol to more messages 2012-11-03 08:33:10 +00:00
Mark Vejvoda
7b95922ce5 - cleanup from debugging 2012-11-03 07:49:09 +00:00
Mark Vejvoda
61cebc07fe - added some debug code for network protocol 2012-11-03 07:33:39 +00:00
Mark Vejvoda
8bd29bf39b - added some debug code for network protocol 2012-11-03 06:48:11 +00:00
Mark Vejvoda
72d6c693e1 - added some debug code for network protocol 2012-11-03 06:25:26 +00:00
Mark Vejvoda
4fcfb4de57 - added some debug code for network protocol 2012-11-03 05:26:24 +00:00
Mark Vejvoda
6307f80c12 - added some debug code for network protocol 2012-11-03 05:03:17 +00:00
Mark Vejvoda
3708f333fa - added some debug code for network protocol 2012-11-03 04:30:13 +00:00
Mark Vejvoda
79037e9381 - added some debug code for network protocol 2012-11-03 04:00:06 +00:00
Mark Vejvoda
d0b2f14513 - added some debug code for network protocol 2012-11-03 03:55:34 +00:00