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
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
54c026bb3e
- bugfixes for in game joining
2013-02-17 07:15:01 +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
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
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
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
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
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
c5ac0cc8e3
- fix min player for headless game message
2012-10-06 17:50:27 +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
1c211e4ce6
- lots of code cleanup from the cppcheck
2012-09-22 20:13:57 +00:00
Mark Vejvoda
9fc64f4878
- limit players to 5 cell markers max at any given time
2012-09-20 22:18:10 +00:00
Mark Vejvoda
9f0546c008
- set correct exit codes (for tomreyn)
...
- fix loading when too many units on map (do not segfault)
- deprecate ThreadedNetworkClient setting
2012-07-17 23:04:30 +00:00
Titus Tscharntke
73919c860d
New quick highlight pointer for minimap ( we need another key for this, at the moment its "shift" )
2012-07-13 21:50:34 +00:00
Mark Vejvoda
4202989014
- attempt to switch CRC to use unsigned int everywhere
2012-07-07 02:46:57 +00:00
Mark Vejvoda
330070a632
- more logging to track down cold's issue
2012-07-06 23:18:30 +00:00
Mark Vejvoda
81cc68305c
- added the ability to remove cell markers
2012-06-13 16:19:44 +00:00
Mark Vejvoda
943dcef9fe
- first pass of VERY ROUGH crude implementation of 'cell markers'. Need to properly find icons, apply alpha to icon on the map and add support for notes when user hovers over the marker.
2012-06-12 20:37:00 +00:00
Mark Vejvoda
8c0bf75bf5
- got built in memory leak working. Just edit leak_dumper.h and uncomment:
...
//#define SL_LEAK_DUMP
- got better / more accurate stack dumps when we detect errors in game.
- Both of these need to be worked on in windows next, win32 may not compile for now until i fix it on that platform.
- BE VERY CAREFUL when working in leak_dumper.* it may cause GCC and your system to crash if you don't know what you are doing!
2012-04-14 21:21:09 +00:00
Mark Vejvoda
9286130138
- bugfixes and code cleanup found using cppcheck
2012-03-28 06:25:57 +00:00
Mark Vejvoda
a7e45eb354
- added the ability to record all game command to a replay file. To test saving / loading games from a replay file, add this to glestuser.ini:
...
SaveCommandsForReplay=true
2012-03-20 04:53:26 +00:00
Mark Vejvoda
246f4b326f
- attempt to see if threaded client network receive improves performance (ThreadedNetworkClient=true to enable on a client)
2012-03-03 23:59:44 +00:00
Mark Vejvoda
3eba87727c
- bugfixes for headless mode, map selection logic was broken for admin user
...
- during in game, if admin user disconnects, server re-assigns a new admin user so paused game can be unpaused by a new administrator
2012-03-03 04:33:39 +00:00
Mark Vejvoda
8e4ed05159
- bugfixes to g3dviewer when loading a unit with particles from commandline (fixes recursive call crash), and added verbose commandline switch for g3dviewer
2012-01-06 18:04:01 +00:00
Mark Vejvoda
9852325da6
- fixed Martiño Figueroa's name in all copyrights in source code
...
- added copyrights to files that were missing it
2011-12-14 07:40:48 +00:00
Mark Vejvoda
03a7a72ef5
revert network code back to beta1 code
2011-11-27 05:27:50 +00:00
Mark Vejvoda
058548c208
- adjust game start delay to 200 milis
2011-11-27 00:36:21 +00:00
Mark Vejvoda
2f53b3018d
- add a delay for clients at game start so server is always ahead
2011-11-27 00:30:54 +00:00
Mark Vejvoda
ff2252bf41
- rollback network changes
2011-11-25 21:56:36 +00:00
Mark Vejvoda
09241222ca
- try to fix network stuterring
2011-11-25 21:30:32 +00:00
Mark Vejvoda
82c9002d0a
- attempt to further stabilize cpu usage and network reliability
2011-11-25 20:03:07 +00:00
Mark Vejvoda
2a8c712b1a
- more socket performance changes
...
- auto complete now works also in IRC chat, and tabbing loops through all matched names.
2011-11-25 09:12:53 +00:00
Mark Vejvoda
9c59bc7273
- change game load defaults for less stress on CPU
2011-11-15 22:10:32 +00:00
Mark Vejvoda
ccb86ef373
fixed windows build
2011-11-15 18:09:57 +00:00
Mark Vejvoda
33e1af022a
lowered numbers for sleeping when game is loading in network mode and allow ini override of values
2011-11-15 16:41:10 +00:00
Mark Vejvoda
8050e25538
- attempt to fix masterserver losing publish setting and/or open network slot
...
- attempt to fix high cpu usage on masterserver (and clients) when waiting for others during the start of a network game
2011-11-14 05:18:09 +00:00
Mark Vejvoda
1293771964
removed limit of network commands count (2496) and just use dynamically sized vectors (this may make game play more stable when there are lots of commands issued)
2011-10-28 01:58:15 +00:00
Mark Vejvoda
f7a4730fff
when client is waiting only for the server at game start we now display this
2011-10-26 20:30:41 +00:00
Mark Vejvoda
bd2206f51b
bugfixes for headless mode (when admin picks things that server doesn't have).. added a 2 second delay timer for sending out changes
2011-10-22 00:19:38 +00:00
Mark Vejvoda
4df997d0ca
- initial work for a headless server. Currently this code allows you to launch a server with the commandline option: --masterserver-mode
...
The first client that connects to the server is the administrator and is able to change most settings and launch the game. Still lots of work to do but this is a start.
2011-09-24 07:46:56 +00:00
Mark Vejvoda
57afc2d715
- phase 2 of cppcheck verbose fixes
2011-09-01 01:11:23 +00:00
Mark Vejvoda
93767d8ed8
- bugfix for trying socket connect when nic is down
...
- removed platform mismatch console printf
2011-05-17 00:21:51 +00:00
Mark Vejvoda
3f1a0be155
- bugfix for network disconnect detection in game for clients (thanks tomreyn we finally found the bug)
2011-05-16 00:38:43 +00:00
Mark Vejvoda
753ac061b8
- set client socket to be blocking after initial connection to host
2011-05-14 18:06:41 +00:00
Mark Vejvoda
bda831861a
Stuff from pabs (debian games) round #1
...
- remove +x bit on many files that should not have it
- added gplv3 svg logo for completeness in svn
2011-05-03 07:58:59 +00:00
Mark Vejvoda
af1928f98e
- some cleanup of networking code
2011-04-30 06:13:23 +00:00
Mark Vejvoda
5d743f38db
- changed Internet and Game lobby to display svn rev# instead of compile date/time
2011-04-30 01:05:53 +00:00
Mark Vejvoda
ac83b1a898
- attempt to fix socket bug where we incorrectly polled for data using ioctl / ioctlsocket. While we stilkl do some peeks, the bulk of the socket work is now done properly by simply doing recv and thus should prove more stable and reliable as well as perform better.
2011-04-24 04:22:19 +00:00
Mark Vejvoda
4a27e75891
- initial work to support multi-language text messages
2011-04-05 18:39:47 +00:00
Mark Vejvoda
e3584c26ef
- cancel button only shows is manually enabled in ini
...
- bugfix for playernames in network status loading screen
2011-03-31 18:30:53 +00:00
Mark Vejvoda
085cb7d543
- added a cancel button when loading a game for the server user only
...
- updated client side loading screen to show who the server is waiting for
- moved some more strings into the english language file
2011-03-31 18:13:02 +00:00
Mark Vejvoda
3b56aa4475
- performance changes... (problem found by titi) most debug calls line are skipped when the debug flag is disabled even BEFORE getting into the handledebug method.
...
This improves performance VERY MUCH.
2011-03-28 03:54:23 +00:00
Mark Vejvoda
39bf1b986e
- added new commandline option to convert folders of g3d models to use specified texture format
...
- added new utility methods and changed code to use them (like adding trailing slash on paths)
2011-03-13 08:23:43 +00:00
Mark Vejvoda
e070cf2cbb
- added player status for network based games so players can indicate if they are ready to play or not
2011-03-11 11:11:46 +00:00
Mark Vejvoda
bd29260fef
- Does this fix choppy network play? Please test and let me know
2011-02-21 01:34:31 +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
9adf8bcc62
- a few more logging entries for future debugging needs
2011-01-28 02:32:55 +00:00
Mark Vejvoda
fdaf9438d8
- added code so Alt-Enter etc. works during game loading phase
2011-01-20 08:19:14 +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
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
5f4d3e9088
- numerous thread bugfixes related to menu stability and ftp server socket usage
2011-01-02 09:33:37 +00:00
Mark Vejvoda
896b1c308c
- added a backtrace for gcc compiled binary when we get a runtime error.
...
- added more out of synch checks and better error handling
2011-01-02 00:39:13 +00:00
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
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
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
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
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
e2610df502
- fixed chatting logic to now retain more info about the user that sent the text in the console manager. Colors now apply to the playername and changing playernames is ok in the lobby andf rendering accounts for this (as well as switching slots)
2010-10-23 04:00:39 +00:00
Mark Vejvoda
8ab3366c66
- added player color coding in lobbies as well as chat console
2010-10-22 07:28:55 +00:00
Mark Vejvoda
79318735ab
- cleanup of last compiler warnings in Linux (hurray!)
2010-10-21 18:24:54 +00:00
Mark Vejvoda
59c5fd2581
- moved version checking into one common method in the util file. Now all network related checks use this common method to determine version compatibility
2010-10-15 17:27:00 +00:00
Mark Vejvoda
86b11a7f05
- bugfix (again) for playername index bug
2010-10-08 22:32:23 +00:00
Mark Vejvoda
ae010f85ab
- bugfix for playername index offset on client
2010-10-08 17:17:22 +00:00
Mark Vejvoda
f345835fc4
- final bugfix for 3.3.7, playernames got mixed up when first slot was closed. Also fixed editing when typing playername
2010-10-08 01:41:53 +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
0e8ed05c2e
- bugfixes for handling missing maps on client
2010-09-17 08:26:22 +00:00
Mark Vejvoda
20a02c28ed
- bigfix for windows compile
2010-08-27 23:04:59 +00:00
Mark Vejvoda
a2f013c51a
- cleaned up lobby message processing
2010-08-27 20:09:55 +00:00
Mark Vejvoda
4ebd156828
- added new commandline parameter to display the version of SDL used by the program
2010-08-26 16:03:54 +00:00
Mark Vejvoda
db173d0fdd
- bugfixes for network playername inline editing in the lobby during a slot switch
2010-08-26 05:30:17 +00:00
Mark Vejvoda
c01b43f635
- added another layer of authentication to validate the client is REALLY a mega-glest client
2010-08-23 15:40:43 +00:00
Mark Vejvoda
0509b5d643
- bugfixes for playername change in lobby screen
2010-08-23 04:33:21 +00:00