Commit Graph

513 Commits

Author SHA1 Message Date
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
Mark Vejvoda
96ff1425d3 - added some debug code for network protocol 2012-11-03 03:18:13 +00:00
Mark Vejvoda
bf22297b65 - added some debug code for network protocol 2012-11-03 02:44:39 +00:00
Mark Vejvoda
b6a25c8212 - added some debug code for network protocol 2012-11-03 01:23:48 +00:00
Mark Vejvoda
63ad898c72 - attempt to get new network protocol working on arm 2012-11-03 00:19:13 +00:00
Mark Vejvoda
b4ecc82fba - added code for new network protocol (disabled by default as i need to test this on arm) 2012-11-02 20:37:48 +00:00
Mark Vejvoda
61c86c15d1 - added code for new network protocol (disabled by default as i need to test this on arm) 2012-11-02 19:08:55 +00:00
Mark Vejvoda
00e075df97 - more byte order logic
- added new network packet debug
2012-11-01 22:00:55 +00:00
Mark Vejvoda
8c2ed1187f - working on arm support 2012-11-01 19:17:29 +00:00
Mark Vejvoda
caa37c3244 - working on arm support 2012-11-01 19:01:03 +00:00
Mark Vejvoda
56bcd62d88 - more updates to support big endian 2012-11-01 16:25:15 +00:00
Mark Vejvoda
7010ddd153 - initial attempt at making network messages endian friendly 2012-11-01 00:06:23 +00:00
Mark Vejvoda
be8564acc6 - get better error details on bad slot switch data 2012-10-31 20:50:42 +00:00
Mark Vejvoda
6266d1831d - stub out admin port for mac osx 2012-10-30 18:03:03 +00:00
Mark Vejvoda
5c15a0e9f4 - cast to unsigned int for all calls to srand 2012-10-30 17:12:04 +00:00
Mark Vejvoda
64058b17e7 - code cleanup from cppcheck
- added more checks when loading models, maps and textures
2012-10-20 07:15:13 +00:00
Mark Vejvoda
011e0263b0 - lots more code cleanup, using safe buffer size code to avoid buffer overflows 2012-10-19 01:31:20 +00:00
Mark Vejvoda
829a72db35 - added new intro video by Tiger
- bugfix for video display
- cleaned more code wanrings from cppcheck
2012-10-18 07:49:50 +00:00
Mark Vejvoda
45c62dee1b - allow querying a headless even when no clients connected 2012-10-16 22:34:18 +00:00
Mark Vejvoda
c5ac0cc8e3 - fix min player for headless game message 2012-10-06 17:50:27 +00:00
Titus Tscharntke
9a57dc095f PortExternal is only used when set. Normal case is PortServer now 2012-10-06 13:45:42 +00:00
Titus Tscharntke
685b15c91e renamed ServerPort->PortServer MasterServerExternalPort->PortExternal 2012-10-06 12:56:53 +00:00
Mark Vejvoda
5e42c6dc03 - loads of code cleanup based on verbose output from the latest git version of cppcheck 2012-10-06 07:06:40 +00:00
Mark Vejvoda
ae5018c4dc - do not continuously throw errors in game 2012-10-02 06:20:39 +00:00
Mark Vejvoda
4e195e10af - updated random seed generation to be more random 2012-09-27 06:42:57 +00:00