Commit Graph

1200 Commits

Author SHA1 Message Date
Mark Vejvoda
48ab8b7b32 - added more socket threaded protection and output curl version if ftp transfers fail 2011-01-01 10:16:25 +00:00
Mark Vejvoda
340c80d4c3 - added new commandline parameter: curl-info 2011-01-01 03:32:41 +00:00
Mark Vejvoda
8eeb0b550c - more ftp tileset bugfixes 2011-01-01 03:12:28 +00:00
Mark Vejvoda
7088f60425 - more ftp tileset bugfixes 2011-01-01 02:01:10 +00:00
Mark Vejvoda
79d2329559 - more ftp tileset bugfixes 2011-01-01 01:54:12 +00:00
Mark Vejvoda
093077810f - bugfix to add tileset requests into ftp client thread 2011-01-01 01:49:01 +00:00
Mark Vejvoda
2cdb8dd354 - initial work for tileset ftp transfers, needs some testing 2011-01-01 00:50:10 +00:00
Mark Vejvoda
798c88e991 - removed unreferenced variables to cleanup warnings 2010-12-31 21:11:58 +00:00
Mark Vejvoda
7e55a545c4 - added code for ftp client to handle failures and menu exit more gracefully 2010-12-31 21:02:06 +00:00
Mark Vejvoda
1f29685803 - bugfixes for ftp server to work on windows, silly M$ compiler has issues with mixing C / C++ code so I had to make these changes 2010-12-31 21:00:25 +00:00
Titus Tscharntke
9b3e921888 scrollbars and other things ....; scrollbars always visible at the moment ; had some trouble with threads hopefully fixed now. 2010-12-31 17:16:49 +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
bd12b10e29 - bugfixes for debuglog filelist which crashes on windows platform on program exit 2010-12-31 01:53:16 +00:00
Mark Vejvoda
3e5f4ee7ab - started some code cleanup of main startup code 2010-12-30 23:18:43 +00:00
Mark Vejvoda
0987536af8 - changed order of map searching, now we look in this order:
mydata/maps mgm file type
mydata/maps gbm file type
maps / mgm file type
maps/ gbm file type
2010-12-30 21:19:08 +00:00
Mark Vejvoda
c59807c4cf - fixed local chat echo in clientinterface so that messages intended to be shown locally are properly displayed in the console
- added a success / failure message for downloaded map attempts
2010-12-30 20:48:39 +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
2ca50ee9f9 - attempt to avoid IRC client crashes on Internet menu if user does not have an Internet connection 2010-12-29 21:03:57 +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
be9d8859d4 - messagebox prompt for downloading maps 2010-12-29 19:31:51 +00:00
Titus Tscharntke
41899507a9 better performance for attack warnings ( old code is just commented, will be removed after testing in multiplayer ) 2010-12-29 18:23:54 +00:00
Mark Vejvoda
89a6ae3fe4 - updated win32 vc++ files to compile with new ftp server / client 2010-12-29 16:28:46 +00:00
Mark Vejvoda
d7520dc40b - added a system message when players successfully download a missing map 2010-12-29 08:16:26 +00:00
Mark Vejvoda
d067be26d9 - more ftp bugfixes 2010-12-29 08:10:22 +00:00
Mark Vejvoda
0c3ceb7c99 - more ftp bugfixes 2010-12-29 08:04:31 +00:00
Mark Vejvoda
a82f238d48 - more ftp bugfixes 2010-12-29 07:52:40 +00:00
Mark Vejvoda
99132eb23c - more ftp bugfixes 2010-12-29 07:35:31 +00:00
Mark Vejvoda
5e705d31c8 - more ftp bugfixes 2010-12-29 07:14:15 +00:00
Mark Vejvoda
385dd8733a - more ftp bugfixes 2010-12-29 07:02:14 +00:00
Mark Vejvoda
c8c77f75e3 - more ftp bugfixes 2010-12-29 06:55:47 +00:00
Mark Vejvoda
b84bede3df - ftp file xfer bugfixes 2010-12-29 06:11:06 +00:00
Mark Vejvoda
9afcbe97b8 - forgot to default ftp code to a default value (off) until ready 2010-12-29 06:03:07 +00:00
Mark Vejvoda
e79147796f - more ftp updates 2010-12-29 01:32:55 +00:00
Mark Vejvoda
9442c22dc3 - fixed cmake build file to no longer look for libircclient 2010-12-29 01:15:27 +00:00
Mark Vejvoda
6e88e4be4c - got my plumbers suit on and added the plumbing for FTP file xfers 2010-12-29 01:10:53 +00:00
Mark Vejvoda
ba995d1131 - show more friendly message when out of synch detected. 2010-12-28 02:57:36 +00:00
Mark Vejvoda
33aa51b5b5 - if we cannot put the unit in a cell because it is already occupied do not cancel the existing command 2010-12-28 02:24:54 +00:00
Mark Vejvoda
335749a15e - updated hp regeneration method to look for negative hp regen values and if health ticks below 0 the unit dies 2010-12-28 02:17:44 +00:00
Mark Vejvoda
8d8afe78b5 - build fix for poor distros who have a hard time with libircclient (now we just include this small lib in the source tree) so no longer required as an external lib 2010-12-27 09:01:40 +00:00
Titus Tscharntke
36c4b4c5fa internet menu updated ( work in progress ) ; checkboxes ; lines 2010-12-27 00:59:57 +00:00
Mark Vejvoda
81783e3f1b - bugfix for multi-build, now units look for best cell to build but ALSO that the cell is not occupied by another unit 2010-12-26 04:38:03 +00:00
Mark Vejvoda
f7d95a6f6a - trying to tweak threaded logger performance when log entries are in the hundreds of thousands 2010-12-26 03:01:59 +00:00
Mark Vejvoda
8688ea955e - trying to tweak threaded logger performance when log entries are in the hundreds of thousands 2010-12-26 02:15:56 +00:00
Mark Vejvoda
40796f2d90 - attempt to bugfix threaded logger 2010-12-26 01:45:39 +00:00
Mark Vejvoda
e4e7a456f5 - attempt to bugfix threaded logger 2010-12-26 01:27:49 +00:00
Mark Vejvoda
409c15d3f0 - more tweaking of threaded logging as well as removal of world synch logging items that are not needed 2010-12-26 01:13:04 +00:00
Mark Vejvoda
36f62ea084 - changes to threaded logging so when things get very busy the thread dumps log entries more quickly 2010-12-26 00:27:38 +00:00
Mark Vejvoda
2234928a35 - changes to threaded logging so when things get very busy the thread dumps log entries more quickly 2010-12-25 23:49:24 +00:00
Mark Vejvoda
b006e72b53 - mutex cleanup in network classes to try to avoid game freeze( hangs) 2010-12-25 22:38:00 +00:00
Mark Vejvoda
bf8be83ccc - bugfix for fog of war enabling at game end.. now works properly for Winning teams, not just losing teams. 2010-12-25 21:30:54 +00:00
Mark Vejvoda
d997e2af5d - bugfix, threaded logging was NOT ever enabled because of a timing bug. Now threaded logging is enabled by default.
- Updated debug UI view to show threaded debug buffer count
2010-12-25 09:15:49 +00:00
Mark Vejvoda
da1adab808 - bugfixes for fog of war enable at game end
- Added more safety guards in threaded sockets in case this causes problems when things get very busy in the game during monster battles
2010-12-25 08:14:35 +00:00
Titus Tscharntke
a3e0ae890b removed unnecessary alarm checks 2010-12-24 10:03:17 +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
nosogo
2a4c9a99cd help and bugfix editor and start of keyboard 2010-12-24 03:36:34 +00:00
Mark Vejvoda
97ee61165a updates to irc use in mastermenu:
- shows local username
- bugfixes for detecting new/dropped users in the irc channel
- lots of cleanup to remove use of so many static variables
2010-12-24 02:10:31 +00:00
Mark Vejvoda
b954d399df - updated vc++ build script to always get the correct SVN revision (must have svnvversion command in the path for the current svn revision to work otherwise it defaults to rev in cpp file) 2010-12-23 23:17:15 +00:00
Mark Vejvoda
554a03279e - commented out assert is it should be handled by the map logic 2010-12-23 20:22:40 +00:00
Mark Vejvoda
809d56e86c - added option to log debug info using a worker thread, by default logging is NOT threaded. To enable:
ThreadedLogging=true
2010-12-23 19:47:40 +00:00
Mark Vejvoda
c0c70217dc updated to support manual install of libircclient 2010-12-23 16:44:05 +00:00
Titus Tscharntke
cfba817280 dansk language; fix for fog of war off; command queuing works a bit better ( especially when attacking ); 2010-12-23 10:44:11 +00:00
Mark Vejvoda
8b0b6300ed - some cleanup for the new IRC client in the Masterserver menu, and changed default channel for in game IRC chat to megaglest-lobby 2010-12-23 07:42:15 +00:00
Mark Vejvoda
1d4de5e423 - updates to cmake for libircclient 2010-12-23 06:56:19 +00:00
Mark Vejvoda
bafc574143 - added custom path for titi's old Ubuntu 2010-12-23 02:24:46 +00:00
Mark Vejvoda
7e6a7a85f7 - big fight to get libircclient compiled in VC++ but we won the battle (requires new win32 deps.. NOT ming deps) 2010-12-23 02:17:29 +00:00
Mark Vejvoda
313081f143 - bugfixes found when compiling on win32 2010-12-23 01:23:42 +00:00
Mark Vejvoda
ea4f8e0bcd - added IRC client to the Internet game menu (still need to update VC++ projects) 2010-12-23 00:00:30 +00:00
Mark Vejvoda
69e0130296 - added new --verbose commandline option 2010-12-22 00:31:30 +00:00
Mark Vejvoda
8534fa59a9 - added more stable way of setting thread run state 2010-12-22 00:15:32 +00:00
Titus Tscharntke
df583854c3 only attack warnigs for local players teammates, not for every fight out there! ;-) 2010-12-21 23:15:29 +00:00
Titus Tscharntke
43eb95f1b4 italien translation; Multiattack warnings ( with setting AttackWarnRange ) 2010-12-21 15:55:37 +00:00
Mark Vejvoda
443096d0db - updated win32 files / project to properly compile UPNP 2010-12-21 06:03:38 +00:00
Mark Vejvoda
628be74fb8 - added UPNP router auto-configure for Internet games (hurray) 2010-12-21 05:38:12 +00:00
Mark Vejvoda
3dd35c147b - updated codeblocks projects with new UPNP files 2010-12-21 05:24:22 +00:00
Mark Vejvoda
bc90aa7ce4 - added UPNP router auto-configure for Internet games (hurray) 2010-12-21 05:07:10 +00:00
mnaumann
d1c1d27584 * change HTTP user agent to conform with new software title (no dash)
* configure HTTP client to follow redirections ("Location:" header/3xx status)
* glest.ini: update master server, announcement and version check URLs; reorder MasterServerExternalPortList; add introduction text
2010-12-21 00:32:54 +00:00
Titus Tscharntke
4037153df9 combined FogOfWar and ShowMapResources in Menus ( on client ist visible too now ) 2010-12-20 21:59:46 +00:00
Titus Tscharntke
6376728241 masterserver urls changed; VersionURL instead of versionURL; 2010-12-20 20:49:25 +00:00
Titus Tscharntke
45a3601286 you can attack teammates again; fix for attack queuing, units don't walk to dead bodies if next attack command is in queue ; 2010-12-20 20:01:14 +00:00
Mark Vejvoda
54f739c15d - added guards around masterserver property access so if missing we handle it more gracefully 2010-12-20 16:45:31 +00:00
Titus Tscharntke
591acdded4 No red 3d arrow pointer is painted when commanding via minimap 2010-12-20 03:12:00 +00:00
Titus Tscharntke
fa952efaf9 next try 2010-12-19 23:58:16 +00:00
Titus Tscharntke
39eefa1e67 trying to fix problems with false attack alarms ... 2010-12-19 23:31:11 +00:00
Titus Tscharntke
5ea9cd092a visual attack alert 2010-12-19 22:33:08 +00:00
Mark Vejvoda
e9c8928b49 - added new option to UI to Show Resources for custom games 2010-12-19 08:36:59 +00:00
Mark Vejvoda
f204d4445c - added a new bit style gamesetting flag for future new game settings.
- added ability to see map resources but still keep fog of war (GAE's shroud of darkness), but not activated by UI yet, tested and works
2010-12-19 08:04:25 +00:00
Mark Vejvoda
1c51b6c21d - code cleanup 2010-12-19 03:30:17 +00:00
Mark Vejvoda
3e83cb54f7 - used wrong enum value 2010-12-19 02:06:24 +00:00
Mark Vejvoda
5c0ebc04b1 - attempt to fix the following assertion failure:
glest.bin: /home/softcoder/Code/megaglest/trunk/source/glest_game/world/map.cpp:833: void Glest::Game::Map::putUnitCells(Glest::Game::Unit*, const Shared::Graphics::Vec2i&): Assertion `getCell(currPos)->getUnit(unit->getCurrField()) == __null' failed.
2010-12-19 02:04:16 +00:00
Mark Vejvoda
1f52a65679 - attempt to fix the following assertion failure:
glest.bin: /home/softcoder/Code/megaglest/trunk/source/glest_game/world/map.cpp:833: void Glest::Game::Map::putUnitCells(Glest::Game::Unit*, const Shared::Graphics::Vec2i&): Assertion `getCell(currPos)->getUnit(unit->getCurrField()) == __null' failed.
2010-12-19 01:24:37 +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
eb17a1c052 - disable join button when auto searching for servers 2010-12-18 21:38:27 +00:00
Mark Vejvoda
dc87b9b452 - disable join button when auto searching for servers 2010-12-18 21:35:05 +00:00
Mark Vejvoda
3e20d3ffe8 - more menu freeze bugfixes 2010-12-18 21:32:54 +00:00
Titus Tscharntke
886bd3b37e alarmsound when enemy units are seen ( will be improved soon ) 2010-12-18 20:17:41 +00:00
Mark Vejvoda
6a99e2db8e - another attempt to guard socket thread access so avoid menu hang problems 2010-12-18 19:52:47 +00:00
Titus Tscharntke
7305391b6d Unit commanding via minimap 2010-12-18 17:18:36 +00:00