Commit Graph

902 Commits

Author SHA1 Message Date
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
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 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 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
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 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 bc90aa7ce4 - added UPNP router auto-configure for Internet games (hurray) 2010-12-21 05:07:10 +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
Titus Tscharntke 24a0eb31d8 about screen names fixed again ... 2010-12-18 00:37:59 +00:00