Commit Graph

1332 Commits

Author SHA1 Message Date
Mark Vejvoda
d16f6a93bc - sound system is now threaded by default (hopefully this fixes buffer underruns errors from openal)
- background music now plays when game is loading
2011-01-18 01:24:45 +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
c51eb0a3c4 - attempt to cleanup some debug logging to see if it helps restore normal performance 2011-01-17 16:31:25 +00:00
Mark Vejvoda
e967ac48fd - some bugfixes for ftp transfer (i think multiple concurrent users now works properly) 2011-01-17 07:19:32 +00:00
Mark Vejvoda
281f489678 - attempt to make FTP transfers more efficient by turning off epsv since feathery doesn't support it 2011-01-16 08:08:44 +00:00
Mark Vejvoda
0c138f61a6 - some updates to handling of failed ftp transfers 2011-01-16 06:54:33 +00:00
Mark Vejvoda
6d08797a14 - commented out another ftp console output 2011-01-16 06:41:48 +00:00
Mark Vejvoda
43f2677bad - disabled more console output for ftp 2011-01-16 04:15:18 +00:00
Mark Vejvoda
1dee0a134c - vc++ compile fix 2011-01-16 03:56:10 +00:00
Mark Vejvoda
1cc5f8c70e - commented console output for FTP progress 2011-01-16 03:44:55 +00:00
Mark Vejvoda
b54faa93f9 - vc++ compile fix 2011-01-16 03:11:55 +00:00
Mark Vejvoda
3814702b18 - more ftp bugfixes 2011-01-16 03:05:11 +00:00
Mark Vejvoda
6e7bcd2ece - attempt for ftp bigfixes 2011-01-16 01:16:02 +00:00
Mark Vejvoda
61bc3902bb - fix the win32 build for vc++ 2011-01-15 23:36:58 +00:00
Mark Vejvoda
681db699a1 - a bit more libcurl code cleanup 2011-01-15 23:02:19 +00:00
Mark Vejvoda
4649f761f6 - some libcurl usage bugfixes for multi-thread use 2011-01-15 22:42:33 +00:00
Mark Vejvoda
385fb0b3f0 - bunch of bugfixes for FTP file transfer:
- failed attempts should now properly cleanup partial downloaded files
  - better logging and resource usage to track down problems
2011-01-15 21:53:00 +00:00
Mark Vejvoda
67e0c27b60 - ftp connect change in master menu 2011-01-15 19:22:59 +00:00
Mark Vejvoda
934b430f93 - added more logging to see what client FTP port # will be 2011-01-15 19:16:00 +00:00
Mark Vejvoda
e6f69a3839 - added code for server to tell clients which port to use for FTP 2011-01-15 18:56:03 +00:00
Mark Vejvoda
c6e809ec97 - removed deprecated code from renderer since we have good success with the visible quad cache 2011-01-15 08:45:17 +00:00
Mark Vejvoda
a7ca23d18e - speed improvement for anti-hack checking 2011-01-15 04:13:15 +00:00
Mark Vejvoda
3dac5df814 - wacky vc++ compile bugfix, code was changed in other header files and now std::max fails! 2011-01-15 00:29:25 +00:00
Mark Vejvoda
654de490c2 - set max time for FTP transfers to 10 minutes 2011-01-15 00:10:51 +00:00
Mark Vejvoda
2ab82c9271 - added some basic protection against memory hacking tools 2011-01-14 23:51:15 +00:00
Mark Vejvoda
ccaaf5ab35 - simple attempt to avoid one small type of cheating related to resource values (please test this tomreyn) 2011-01-14 21:16:43 +00:00
Mark Vejvoda
f6b0bd3fd7 - some ftp file transfer bugfixes and moved many strings into language file 2011-01-14 17:57:37 +00:00
Mark Vejvoda
ada4140d84 - added glexemel to svn and CMake builds
- updated the G3D import script to properly bring in animations into Blender!
2011-01-14 06:56:19 +00:00
Mark Vejvoda
a8f982ad2b - rollback last change since now we know what the problem is 2011-01-14 01:50:54 +00:00
Titus Tscharntke
0cb64ca1fa Selection bugfix? Lets see if this one line fix really fixes it... 2011-01-14 01:14:38 +00:00
Mark Vejvoda
26010071e7 - bugfixes for g3d viewer animation speed when going too high or low
- added current display anim-speed in the status bar
2011-01-13 19:27:26 +00:00
Mark Vejvoda
469cf14b92 - FINALLY fixed freeze with tomreyn's fuzzer and helped further stabilize mutexes and network messages in threads. 2011-01-13 08:17:18 +00:00
Mark Vejvoda
6f601777ef - another bsd compiler fix
- added new command param for testing disable of backtrace
2011-01-13 01:52:34 +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
Titus Tscharntke
fec68c872a Some changed external ports for ftp; switch ftp ports according to external port; Menu looks a bit more friendly(less fog) 2011-01-12 19:42:25 +00:00
Mark Vejvoda
0a01f98c4e - a few tweaks to lag limit / handling values 2011-01-12 07:03:29 +00:00
Mark Vejvoda
6bfc4d7c2e - attempt to better handler tomreyn's fuzzer. 2011-01-12 06:52:03 +00:00
Mark Vejvoda
26a382bd64 - added queued broadcast message ability and tried to fix tomreyn's fuzzer program issue 2011-01-12 00:16:50 +00:00
Mark Vejvoda
d622c7bf7f - try to discover what texture is corrupt in tomreyn's fuzzer 2011-01-11 22:34:01 +00:00
Mark Vejvoda
f5ef3157e2 - compiler fix for win32 build 2011-01-11 22:16:47 +00:00
Mark Vejvoda
ccbd707ae1 - numerous bugfixes including fixing a slowdown introduced in a previous recent checkin.
- Added Network Text Message queue as this is required in some tricky cases
- added more logging of memory cleanup events
- added memory safe snprintf calls
2011-01-11 22:09:46 +00:00
Mark Vejvoda
227f39ccf9 - bugfixes for connection slot disconnect handling 2011-01-11 20:02:07 +00:00
Mark Vejvoda
1a7716dbdd - bugfix for disconnected clients 2011-01-11 19:16:48 +00:00
Mark Vejvoda
9acbfb9d19 - patch from Nebososo for 2 byte characters and font widths 2011-01-11 19:03:41 +00:00
Mark Vejvoda
a7f6a592ff - try to better handle socket disconnects 2011-01-11 18:39:18 +00:00
Mark Vejvoda
e319c2cf62 - attempt to fix game freeze when lag causes game pauses 2011-01-11 08:45:58 +00:00
Mark Vejvoda
b778098d13 - bugfix for multi-build discovered during testing (left a break statement when shouldn't have) 2011-01-11 05:18:53 +00:00
Mark Vejvoda
d9e7dcc69a - another attempt to fix socket send freeze 2011-01-11 03:56:38 +00:00
Mark Vejvoda
1225eecdf0 - attempt to fix the socket send freeze bug 2011-01-11 00:59:08 +00:00
Mark Vejvoda
5fa01b0b8c - attempt to throw exception (instead of assert) on bad texture detection 2011-01-11 00:49:06 +00:00
Mark Vejvoda
8bf83c03a8 - a little bit of code hardening (looking for invalid data conditions and NULL's) 2011-01-10 21:23:52 +00:00
Mark Vejvoda
a9534e727e - attempt to look for corrupt XML data 2011-01-10 21:19:54 +00:00
Mark Vejvoda
35925a98a6 - attempt to fix tomreyns socket fuzzer 2011-01-10 21:00:55 +00:00
Mark Vejvoda
fb91c2b624 - added a new check for duplicate data (maps, tilesets and techtree names) 2011-01-10 20:27:25 +00:00
mnaumann
ed0c118fb7 * add listing of recent servers - thanks to cygal 2011-01-10 20:09:19 +00:00
mnaumann
6f964d0330 minor cleanup of master server code 2011-01-10 18:04:14 +00:00
Mark Vejvoda
52fd9bfb6f - added another check to socket mutex processing to try avoid potential deadlocks 2011-01-10 15:50:16 +00:00
Mark Vejvoda
d301f5873d - bugfix for multi-build bug found by tomreyn (looks like an infinite loop) 2011-01-10 15:31:40 +00:00
Mark Vejvoda
1e2da898b7 - bugfix for ftp client using wrong ftp username in some cases 2011-01-10 07:43:52 +00:00
Mark Vejvoda
fb42c50efd - added guards around CRC checking in client connected menu 2011-01-10 07:32:12 +00:00
Mark Vejvoda
9b275a5077 - added guard against NULL commandtype clicking in icon panel (discovered during testing) 2011-01-10 06:43:47 +00:00
Mark Vejvoda
b201cebf3b - added a new validation for faction validation report AND game load for attack-var since a negative value will segfault the game 2011-01-10 05:44:45 +00:00
Mark Vejvoda
18a0a93a8e - move return button placement on video info menu 2011-01-10 05:06:00 +00:00
Mark Vejvoda
3dd6f244e6 - bugfix for CRC handling in connected menu 2011-01-10 00:33:40 +00:00
Mark Vejvoda
7bc6b603b9 - lua bugfix for fog of war toggling
- ftp client bugfix for reported segfault
2011-01-10 00:05:31 +00:00
Titus Tscharntke
38da21ae18 fix in german languagefile, buildings can set meeting points when under construction 2011-01-09 20:52:00 +00:00
Titus Tscharntke
033c56d7f0 cleaned up options menu 2011-01-09 18:05:10 +00:00
Titus Tscharntke
6d94548b4f loading progress a bit more detailed 2011-01-09 12:41:08 +00:00
Mark Vejvoda
b5a139033a - added game loading progress bar 2011-01-09 10:03:33 +00:00
Mark Vejvoda
6c5163d1e9 - attempt to improve openal's buffer underruns 2011-01-09 09:46:10 +00:00
Mark Vejvoda
2d6203bd21 - ftp progressbar calculation error fix 2011-01-09 09:32:32 +00:00
Mark Vejvoda
26cdb8ccad - more bugfixes for ftp painting 2011-01-09 09:05:34 +00:00
Mark Vejvoda
5a8f05e8af - better messagebox painting
- bugfix for progress bar painting
2011-01-09 08:43:25 +00:00
Mark Vejvoda
34c089b9ad - protect against socket signal in ftp server 2011-01-09 08:01:14 +00:00
Mark Vejvoda
74824fe753 - added some ftp logging to network debug log 2011-01-09 07:37:59 +00:00
Mark Vejvoda
94862e2671 - attempt to make ftp messagebox appear on top 2011-01-09 05:59:35 +00:00
Mark Vejvoda
912188679c - some ftp bugfixes and cleanup on ftp client that have failed transfers 2011-01-09 05:49:59 +00:00
Mark Vejvoda
31be2df752 - ftp bugfix for a segfault discovered 2011-01-09 05:12:48 +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
Titus Tscharntke
2e60d3e0a8 no more error when no upgrade is defined in a faction 2011-01-09 01:02:50 +00:00
Mark Vejvoda
7347dc9545 - bugfix for multi-build queued commands 2011-01-08 21:53:05 +00:00
Mark Vejvoda
e477fe647f - updates to codeblocks so win32 debug builds ok and cleanup of cmake that was using settings that compiler did not use 2011-01-08 00:42:12 +00:00
Mark Vejvoda
e12692293a - cleanup a compiler warning 2011-01-07 06:28:42 +00:00
Mark Vejvoda
528b9cfb58 - compile fix for win32 VC++ 2011-01-07 06:26:23 +00:00
Mark Vejvoda
b30fe62528 - to appease the security freaks, ONLY clients that are ALREADY connected in the lobby are able to connect to the built in FTP server now 2011-01-07 06:21:23 +00:00
Mark Vejvoda
02b7787b35 - added an option to disable FTP server but keep ftp client 2011-01-07 05:32:47 +00:00
Mark Vejvoda
ec467b6ac4 - bugfix, when a unit morphs we now add to stored resource count if the unit is of that type (used to only work when building, now works during a morph) 2011-01-07 05:15:39 +00:00
Mark Vejvoda
6b89e38512 - forgot to apply a bugfix to feathery's win32 code, now more menu freeze for windows users who had FTP enabled 2011-01-07 04:57:54 +00:00
Mark Vejvoda
a6cd69d9ed - a few bugfixes pointed out by tomreyn.. thanks 2011-01-07 04:32:41 +00:00
Mark Vejvoda
3e809c8c8e - added warnings for gcc for functions that are defined to return a value but they do not
- fixed a few defines that do the above
2011-01-06 23:31:07 +00:00
Mark Vejvoda
055293d027 - bugfix for code compiled in VC++ 2011-01-06 23:13:36 +00:00
Mark Vejvoda
180611c3e8 - bugfix for code compiled in VC++ 2011-01-06 23:05:58 +00:00
Mark Vejvoda
2956d2c782 - set FTP file transfers to be enabled by default 2011-01-06 07:17:02 +00:00
Mark Vejvoda
9698e6cc95 - added FTP settings to options menu 2011-01-06 07:15:43 +00:00
Mark Vejvoda
8ec51051c4 - fixed win32 build 2011-01-06 06:39:58 +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
b5dd9591da - bugfix clinet connected menu and FTP transfer thread mutex 2011-01-04 22:14:42 +00:00
Mark Vejvoda
a029b92b2c - bugfix clinet connected menu and FTP transfer thread mutex 2011-01-04 22:13:49 +00:00
Mark Vejvoda
02e591c41d - some code cleanup 2011-01-04 20:55:10 +00:00