Mark Vejvoda
8ec58868dc
- attempt to improve network performance (use separate mutexes for read / write operations)
2011-02-15 07:49:40 +00:00
Mark Vejvoda
31e722287f
- bugfixes for when players disconnect, do not switch observers to AI and only show message once.
...
- Attempts to debug/improve network performance
2011-02-15 03:32:14 +00:00
Mark Vejvoda
4488a4d388
- make pathfinder caching an ini setting tso its easy to test (disabled by default)
...
- some code cleanup related to threads and sockets
2011-02-13 03:06:12 +00:00
Mark Vejvoda
17e2a87890
- fixed one type of freeze in the custom menu
...
- some small opengl changes
2011-02-08 18:23:41 +00:00
Mark Vejvoda
c58e893047
- attempt to improve issues in the custom menu related to freezing
...
- modified debug UI display to support multi levels of UI debug info
- added more validations to mutexes
- improved client sockets to properly be setup as non blocking
2011-02-06 07:01:54 +00:00
Mark Vejvoda
0b4eef10c5
- added a very useful way to track mutex usage and performance timings of mutex locking to discover thread lock issues
2011-01-31 23:01:39 +00:00
Mark Vejvoda
66261ad662
- updated line endings to unix style characters to fix Bug #3085838
2011-01-20 15:56:30 +00:00
Mark Vejvoda
9ba8668751
- win32 winsock bugfixes causing havok and grief for win32 users (corrupt winsock stack due to extra call to wsacleanup)
2011-01-17 23:45:09 +00:00
Mark Vejvoda
d8e28fbf90
- attempt to fix WSAStartup error message on win32
2011-01-17 21:31:59 +00:00
Mark Vejvoda
8c4cdd037c
- updated for compiling on BSD
...
- also bugfix for socket broadcast segfault (partial fix)
2011-01-13 01:46:32 +00:00
Mark Vejvoda
d9e7dcc69a
- another attempt to fix socket send freeze
2011-01-11 03:56:38 +00:00
Mark Vejvoda
1c78fca0fb
- Added tileset and map CRC check in the network lobby
...
- numerous bugfixes
2011-01-09 04:49:21 +00:00
Mark Vejvoda
e12692293a
- cleanup a compiler warning
2011-01-07 06:28:42 +00:00
Mark Vejvoda
a5a744fcad
- updated FTP code to use specific ports for MG and not random FTP ports
2011-01-06 00:52:00 +00:00
Mark Vejvoda
3370fdd39f
- attempt to fix socket freeze issue
2011-01-02 16:24:44 +00:00
Mark Vejvoda
5f4d3e9088
- numerous thread bugfixes related to menu stability and ftp server socket usage
2011-01-02 09:33:37 +00:00
Mark Vejvoda
2b1732e27e
- overhaul of thread processing, especially in the menus, things now freeze much less and should be more reliable
2011-01-02 06:46:48 +00:00
Mark Vejvoda
d176053da9
- plenty of code cleanup (some refactoring of socket / UPNP code)
...
- FTP console output now only shows when --verbose used
2010-12-31 08:21:26 +00:00
Mark Vejvoda
973b546b04
- more bugfixes related to ftp and firewall handling
2010-12-30 20:02:30 +00:00
Mark Vejvoda
64446194e7
- more bugfixes related to ftp and firewall handling
2010-12-30 18:51:25 +00:00
Mark Vejvoda
1480d7c68d
- bugfix for compiling in VC++
2010-12-30 16:05:47 +00:00
Mark Vejvoda
3f0ee7a6cb
- some initial changes to try to get ftp working over the Internet with firewalls etc
2010-12-30 15:56:02 +00:00
Mark Vejvoda
4fb1b1092f
- added ftp port # as an ini setting and added to UPNP for router auto-config
...
- added new language string for message box to prompt map file downloads
2010-12-29 20:28:25 +00:00
Mark Vejvoda
03eaa2c033
numerous important bugfixes:
...
- observers and end game fog of war enable would most likely cause out of synch, I think its fixed now
- better handling of threaded logging
- cleanup of socket thread processing to ensure all network packets get processed properly and in order
2010-12-24 08:43:09 +00:00
Mark Vejvoda
bc90aa7ce4
- added UPNP router auto-configure for Internet games (hurray)
2010-12-21 05:07:10 +00:00
Mark Vejvoda
a844b79d3e
- fixed an evil socket bug! Sockets in Linux were NOT properly set as non blocking and vice versa as expected. PErhaps this helps with the menu bug
2010-12-18 23:03:53 +00:00
Mark Vejvoda
b605c65aa9
- updates to support both Windows and Linux targets from CodeBlocks Workspace
2010-12-07 07:00:11 +00:00
Mark Vejvoda
7872e980e1
- updated thread handling slightly in menus to make things more stable
2010-12-05 01:52:38 +00:00
Mark Vejvoda
d2de4eb22a
- change to properly toggle socket blocking mode in Linux
2010-11-09 16:51:03 +00:00
Mark Vejvoda
fd3a8e4705
- minor bugfix when broadcasting on UDP (only one socket per unique subnet)
2010-10-23 05:12:28 +00:00
Mark Vejvoda
06b9d7eef7
- cleaned up a whole pile of compiler warnings
2010-10-21 15:21:46 +00:00
Mark Vejvoda
d5117ed7fa
- cleaned up a whole pile of compiler warnings
2010-10-21 07:20:17 +00:00
Mark Vejvoda
0d050f62d4
- added code to now output all eerors to console (with option to save in log file)
...
- added more LUA debug info
2010-10-06 20:22:06 +00:00
Mark Vejvoda
0c99a516c5
- First mac patch from GeoVah (thanks)
2010-09-11 05:14:42 +00:00
Mark Vejvoda
1a9ec91eeb
- attempt to fix a possible mutex deadlock based on Nebososo's logs
2010-09-08 06:18:34 +00:00
Mark Vejvoda
9817e8a860
- memory leak fixes
2010-09-07 17:30:13 +00:00
Mark Vejvoda
58ab55a6aa
- cleaned up some compiler warnings
2010-09-06 06:22:08 +00:00
Mark Vejvoda
ada90b4e27
- attempt to improve network performance and log more info regarding menu and network performance
2010-09-02 22:34:25 +00:00
Mark Vejvoda
169234b80f
- added more safety checks in broadcast socket thread
2010-08-26 19:50:18 +00:00
Mark Vejvoda
a64fa69d02
- bugfixes for experimental game data synch check in lobby
...
- added a fix for socket sending when the send buffer is full and we have more data to send
2010-08-26 03:15:36 +00:00
Mark Vejvoda
e5678be10c
- bugfixes for experimental game data synch check in lobby
...
- added a fix for socket sending when the send buffer is full and we have more data to send
2010-08-26 02:36:17 +00:00
Mark Vejvoda
19892ff11d
- small network optimization to help stabilize frequently called network code
2010-08-23 15:17:36 +00:00
Mark Vejvoda
07cbcc0bec
- added a bunch of null terminations to all char buffers in network protocol
2010-08-20 23:53:10 +00:00
Mark Vejvoda
d69fbc6925
- more NULL checking for safer execution
...
- added safer mutex guards in custom game menu
2010-08-20 22:42:26 +00:00
Mark Vejvoda
0e82836e01
- more NULL checking for safer execution
2010-08-20 22:17:30 +00:00
Mark Vejvoda
2dcbe1473b
- stupid win32 compile fix for sockets
2010-08-07 06:28:00 +00:00
Mark Vejvoda
a5bf684493
- more network fixes to make lag and disconnects more stable
...
- changed the way the game end logic happens to try to make it more stable
2010-08-07 04:49:06 +00:00
Mark Vejvoda
fe8d3b3130
- numerous bugfixes mostly centered around network lag, but also added more logging and protective code (like buffer overflow checks)
...
*NOTE: This version is NOT backwards compatible with other builds
2010-08-07 03:26:38 +00:00
Mark Vejvoda
a0831666b5
- added a check for linux NIC's to only return those that are both UP and Running
2010-07-16 20:02:44 +00:00
Mark Vejvoda
e3ad4b7b60
- bugfix to ignore 0.* ip addresses
2010-07-16 17:11:38 +00:00