Commit Graph

3467 Commits

Author SHA1 Message Date
Mark Vejvoda
9dc863e5e3 - try to improve network performance 2013-03-23 23:24:39 +00:00
Mark Vejvoda
d703f7605b - try to improve network performance 2013-03-23 23:18:50 +00:00
Mark Vejvoda
01b757a743 - try to improve network performance 2013-03-23 23:13:33 +00:00
Mark Vejvoda
97aadb6a44 - try to improve network performance 2013-03-23 23:00:11 +00:00
Mark Vejvoda
c36e8297fa - try to improve network performance 2013-03-23 22:56:08 +00:00
Mark Vejvoda
bc06b4799a - try to improve network performance 2013-03-23 22:44:55 +00:00
Mark Vejvoda
159cdc40d0 - attempt to see if this helps network performance 2013-03-23 22:32:51 +00:00
Tom Reynolds
ef58a2285d Changes to olaus' techtree HTML docs script:
* rename mg.ini to megapack.ini
* add Opensuse support (thanks atze)
2013-03-17 18:55:59 +00:00
Titus Tscharntke
b6b0e989da lets try (again) if this makes things less choppy 2013-03-16 23:05:11 +00:00
Mark Vejvoda
44a498958c - battle end screen render fix for tomreyn 2013-03-16 06:57:16 +00:00
Mark Vejvoda
203ad150ef - battle end screen render fix for tomreyn
- more thread safety for threaded client sockets
2013-03-16 06:55:16 +00:00
Mark Vejvoda
bad8f62f94 - bugfixes for detecting client disconnection 2013-03-15 06:51:57 +00:00
Mark Vejvoda
b805308a42 - bugfixes for detecting client disconnection 2013-03-15 00:31:51 +00:00
Mark Vejvoda
cb96232256 - should fix the strange pause / unpause behaviour for joining in progress games 2013-03-14 21:41:15 +00:00
Titus Tscharntke
e7907394de lighting of rotated tileset objects was wrong. 2013-03-14 21:16:16 +00:00
Mark Vejvoda
9ceaf6cec1 - attempt to further protect threaded socket access 2013-03-14 19:46:31 +00:00
Mark Vejvoda
16d25210e4 - make client use less CPU for network games 2013-03-13 21:32:48 +00:00
Mark Vejvoda
3661d62c03 - attempt to fix client crash on disconnect 2013-03-12 22:50:26 +00:00
Mark Vejvoda
1e07d023ce - additional socket thread protection to fix latest crash reported by titi 2013-03-11 03:52:35 +00:00
Mark Vejvoda
88b31797e7 - make client use less CPU for network games 2013-03-11 03:46:40 +00:00
Mark Vejvoda
6152b6b7bb - additional socket thread protection to fix latest crash reported by titi 2013-03-11 03:27:20 +00:00
Mark Vejvoda
21d38b6231 - make client use less CPU for network games 2013-03-10 16:19:04 +00:00
Titus Tscharntke
d041f1eea6 commented my last changes ( beside "+1" )as itmade clients freeze on exiting games 2013-03-10 01:32:00 +00:00
Titus Tscharntke
c2e94985b2 "\n" was missing ( please look at my last changes it softcoder ) 2013-03-10 01:02:41 +00:00
Mark Vejvoda
2210d48c49 - added a temp ini setting: DebugGameSynchUI=true
to show all units in minimap to compare on two screens if the game is going out of synch.
2013-03-10 00:40:38 +00:00
Titus Tscharntke
9db9d12891 next try 2013-03-10 00:16:02 +00:00
Titus Tscharntke
7263274d51 trying to fix clients with high load. 2013-03-10 00:09:09 +00:00
Titus Tscharntke
c8458237e0 trying to fix slowdowns of clients ( maybe they are ahead ) 2013-03-09 23:36:25 +00:00
Mark Vejvoda
ac992b431d - attempt to fix threaded client stability and fixed some server side network bugs to also improve its stability 2013-03-09 20:57:06 +00:00
Mark Vejvoda
760ba99fd7 - attempt to fix double free bug 2013-03-08 21:53:11 +00:00
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
aec3ff1f63 - bugfix for restoring explorations on loading a saved game 2013-03-06 15:02:17 +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
b8357b8696 - updated cmake to output more info regarding finding libircclient and better support for ircclcient
- cleanup too many exclamations in finding ftgl libs
2013-03-06 00:47:21 +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
503627f02b - try to get threaded client working without lag 2013-03-02 01:05:39 +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
74119d0b93 - bugfix for in game joins pause / resume 2013-03-01 23:05:38 +00:00
Mark Vejvoda
c3feec02ee - increase resume speedup to improve performance 2013-03-01 19:54:27 +00:00
Mark Vejvoda
2d2ec9afac - allow the game to be published if it allow in game joining 2013-03-01 17:21:58 +00:00
Mark Vejvoda
5dd73bdec8 - update masterserver so it inserts in progress games properly if they are missing 2013-03-01 17:17:51 +00:00
Mark Vejvoda
c6e3fd1156 - avoid double joining a game in progress 2013-03-01 15:56:00 +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
5aaa023476 - bugfix for in game joins pause / resume 2013-02-28 01:31:02 +00:00
Mark Vejvoda
e4235cc551 - attempt to further stabilize joining in progress games 2013-02-27 06:46:42 +00:00
Mark Vejvoda
b0a370900f - attempt to make joining in progress games a bit more reliable and stable 2013-02-26 23:31:59 +00:00
Mark Vejvoda
13665d58f1 - attempt to fix light sources handling as reported by tomreyn
- allow speed up / slow down for network game as long as no-one is connected
2013-02-26 20:48:20 +00:00
Mark Vejvoda
45b8cf21a4 - attempt to fix disconnect and thread lock for in game connect games 2013-02-26 07:05:46 +00:00
Tom Reynolds
ea458a7cf1 fix system report utility for linux 2013-02-25 21:20:09 +00:00
Titus Tscharntke
61e75417a5 Respecting requirements for attack commands . ( Bug fix for attack hot-key cycling through attacks. ) 2013-02-24 23:56:49 +00:00
Mark Vejvoda
e0bda20f5e - bugfix for slot not re-opening after disconnect when required 2013-02-24 00:28:45 +00:00
Titus Tscharntke
2bc2555c22 Attack key ("a") cycles through attack types if you have a uniform selection of units 2013-02-22 23:31:55 +00:00
Mark Vejvoda
af89f4c5ed - fixed the build on windows 2013-02-22 22:40:31 +00:00
Mark Vejvoda
759997916e - only output changed file paths for load games if verbose enabled 2013-02-22 15:59:18 +00:00
Mark Vejvoda
c63da54bbd - attempt to improve performance when units are blocked badly (this is not backwards compatible with other builds, will create out of synch) 2013-02-22 06:52:51 +00:00
Mark Vejvoda
b8f594fcf2 - comment out debug statement from last commit 2013-02-21 23:34:26 +00:00
Mark Vejvoda
98e8aff4c3 - check when loading xml's that they are not a folder
- change dump world key to \
2013-02-21 23:30:26 +00:00
Mark Vejvoda
39f81afe5c - allow threaded calculation of unit movement for attacking units (was disabled for nig's bug but this was not the cause so re-enable) 2013-02-20 19:21:55 +00:00
Titus Tscharntke
01b6986581 First steps for new terrain texturing. In tileset xml do:
<surface partsize="64">
			<texture path="textures/512.png"/>
                </surface>
2013-02-20 17:42:47 +00:00
Mark Vejvoda
c8cdca22fd - some code cleanup and try to improve joining in progress game performance 2013-02-19 22:00:15 +00:00
Mark Vejvoda
286dc58aa6 - bugfix for unit sight on game load 2013-02-19 07:13:49 +00:00
Mark Vejvoda
8916a86b8c - bugfixes for load / save game for in progress joining 2013-02-19 06:41:56 +00:00
Mark Vejvoda
69925fb887 - bugfixes for joining network games 2013-02-19 04:53:24 +00:00
Mark Vejvoda
54c026bb3e - bugfixes for in game joining 2013-02-17 07:15:01 +00:00
Titus Tscharntke
e771b53f1c trying to get rid of double entrys in the master server ( I can't explain why they still happened before from time to time. ) 2013-02-17 01:19:35 +00:00
Mark Vejvoda
87a4eb49e4 - fixed lua 5.2 code for save / load games
- cmake now prefers lua 5.2 over 5.1
2013-02-16 21:20:09 +00:00
Mark Vejvoda
85b1365e7e - bugfix for in game joining, loading saved game needs to change this to properly indicate which faction is the joining players 2013-02-16 20:02:22 +00:00
Mark Vejvoda
cfe0f6bb55 - bugfix for in game joining 2013-02-16 19:26:17 +00:00
Mark Vejvoda
45dc4c0e5d - updates to join in progress game, and now allow for switching slots 2013-02-16 19:11:36 +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
fb6cff0ed1 - bugfix for latest harvest updates 2013-02-12 22:37:14 +00:00
Mark Vejvoda
646d11f143 - if unit harvests a resource, stops and harvest the same type again they do not need to return to the store house 2013-02-12 21:51:25 +00:00
Titus Tscharntke
4e6e96b125 AI scouting switched back to something we had before "THE BUG" 2013-02-12 21:17:21 +00:00
Mark Vejvoda
aca17684a7 - attempt to see if this fixes drawing of starting points for some bad video drivers 2013-02-12 20:47:46 +00:00
Mark Vejvoda
589962868b - added ability for units to return harvested resources in an emergency by clicking a store house when a unit has a load 2013-02-12 08:44:12 +00:00
Mark Vejvoda
a71c3d239f - added unit auto repair a buidling if the meeting point is on that building 2013-02-12 03:41:59 +00:00
Mark Vejvoda
c0fe242504 - allow for translated names to be shown for tutorials and scenarios in selection menu 2013-02-12 02:10:00 +00:00
Mark Vejvoda
93773839fd - allow for multiple preview / loading / hud textures for different resolutions 2013-02-11 23:52:44 +00:00
Mark Vejvoda
5fd8b121a9 - allow for multiple preview / loading / hud textures for different resolutions 2013-02-11 23:43:30 +00:00
Titus Tscharntke
41671ac997 frustRum ->frustum 2013-02-11 22:51:36 +00:00
Titus Tscharntke
a3635376cf no more trouble with middle mouse button camera view 2013-02-09 23:20:40 +00:00
Mark Vejvoda
7dae926cf2 - do not show errors on console for scenarios without a description 2013-02-09 17:18:34 +00:00
Mark Vejvoda
af100408ed - correct vc++ build so that we properly parse the version info for automated builds 2013-02-09 08:01:06 +00:00
Mark Vejvoda
50e64e9564 - scenario description patch applied from Muwuum 2013-02-09 07:17:10 +00:00
Mark Vejvoda
9bc6d33f1d - bug fixes to stabilize the windows build 2013-02-09 06:57:05 +00:00
Titus Tscharntke
f06f86904c recall group select again 2013-02-08 23:54:50 +00:00
Mark Vejvoda
8e97a7598d - update cmake so some game tools respect output folder setting 2013-02-08 18:21:49 +00:00
Mark Vejvoda
86a7ca2b6f - bugfix for older upnpc versions 2013-02-08 17:51:53 +00:00
Titus Tscharntke
06a1fad2fc fix for more picky gcc 4.7.2 compiler 2013-02-08 17:42:44 +00:00
Mark Vejvoda
da611f8a1f - add a few more safety's in the code to avoid memory issues 2013-02-08 07:56:46 +00:00
Mark Vejvoda
74d7841c4d - add a few more safety's in the code to avoid memory issues 2013-02-08 07:54:12 +00:00
Mark Vejvoda
941b00b9bb - remove 8 bit color as a selectable options in UI 2013-02-07 01:41:52 +00:00
Mark Vejvoda
cfb9b61168 - rollback AI so nig can test anarchy bug 2013-02-06 23:58:49 +00:00
Mark Vejvoda
25f2b92892 - update version to 3.8-dev as svn seems to be no longer compatible with 3.7.x 2013-02-06 23:00:25 +00:00
Titus Tscharntke
3ea6a02d95 no return in void methods 2013-02-05 22:00:50 +00:00
Mark Vejvoda
b2be14ca33 - updated the AI's scouting logic
- updated from transifex
2013-02-05 06:56:59 +00:00
Mark Vejvoda
bf468a39e1 -bugfix for vc++ 2010 (last commit was done from vc++ 2012) 2013-02-05 02:35:09 +00:00
Mark Vejvoda
adc62b7df8 - updated code to protect against null pointers and uninitialized values and threading issues 2013-02-05 00:01:40 +00:00
Mark Vejvoda
196d1240f1 - attempt to fix the crash in game originally reported by nig 2013-02-04 23:47:54 +00:00
Mark Vejvoda
f4b026b41f - bugfix on linux 2013-02-04 08:36:03 +00:00
Mark Vejvoda
f87b8b6ee2 - updated code to protect against null pointers and uninitialized values and threading issues 2013-02-04 08:30:43 +00:00
Mark Vejvoda
d02f91d2e0 - bugfix for AI not using correct build spacing 2013-02-03 23:29:16 +00:00
Mark Vejvoda
c913825650 - trying to fix bug in sound player 2013-02-02 06:29:26 +00:00
Mark Vejvoda
8dc637527a - tighten up code.. ensure pointers set to null after delete, etc 2013-02-01 17:25:49 +00:00
Mark Vejvoda
bff9b1b3bc - cleanup a bunch of vc++ compile / link warnings 2013-02-01 08:12:20 +00:00
Mark Vejvoda
d808b4ecc4 - added Unit selection type label
- updated unhandled exception logic in linux
2013-02-01 05:52:00 +00:00
Mark Vejvoda
3ccdd1a0c7 - updated windows exception handler to catch all error types 2013-02-01 05:26:07 +00:00
Mark Vejvoda
71d5f24828 - added support for google-breakpad in linux 2013-02-01 02:27:01 +00:00
Mark Vejvoda
bf71461d78 - see if this fixes loading issue on windows 2013-02-01 00:30:32 +00:00
Mark Vejvoda
864ef8acec - see if this fixes loading issue on windows 2013-01-31 23:59:05 +00:00
Mark Vejvoda
ea03747ace - updated to add initial support for google-breakpad exception handling 2013-01-31 20:17:52 +00:00
Titus Tscharntke
11cd3b4a17 now you can increase the speed step by step up to "FastSpeedLoops" 2013-01-31 12:36:51 +00:00
Titus Tscharntke
d0a4d40526 no comment ... 2013-01-31 11:33:49 +00:00
Mark Vejvoda
fe942809e6 - fixed a few issues found by JeffM (debian games team irc channel) while testing on Windows 7 64 bit 2013-01-30 06:08:14 +00:00
Mark Vejvoda
6acf5e9e67 - attempt to fix ftpclient error on shutdown shown by nig 2013-01-29 00:10:27 +00:00
Titus Tscharntke
d6c5c2ac0e non transparent faction preview 2013-01-27 22:10:59 +00:00
Titus Tscharntke
c5dd29f4ff new way to define the selectionType. No more use of EnableColorPicking and so on!
allowed values are: selectbuf color frustrum

Default is selectbuf again as Colorpicking still makes trouble.
2013-01-27 22:10:24 +00:00
Titus Tscharntke
3f175b8a6a render loading screen with shadowed text 2013-01-27 20:18:14 +00:00
Mark Vejvoda
d9fac85d21 - added more debug logging 2013-01-27 07:26:35 +00:00
Mark Vejvoda
bd2bb98e3f - bugfix g3d viewer to render textures 2013-01-25 15:23:45 +00:00
Mark Vejvoda
8cd7aa0e43 - code cleanup from cppcheck 2013-01-25 02:55:28 +00:00
Mark Vejvoda
743efc0822 - fixed null pointer discovered by titi 2013-01-24 23:10:25 +00:00
Titus Tscharntke
8399ed2c6a bugfix for selectType in options 2013-01-24 22:52:34 +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
Titus Tscharntke
d2ee2cfdc8 FrustumPicking in ingame options 2013-01-24 20:02:14 +00:00
Mark Vejvoda
87b39a3cb5 - fix unit selection 2013-01-24 15:52:11 +00:00
Mark Vejvoda
bf7445903d - cleanup some color pick code 2013-01-24 00:42:06 +00:00
Titus Tscharntke
4cc9240996 selection type in options 2013-01-24 00:29:20 +00:00
Mark Vejvoda
cc89b6ba65 - add selection type to debug view ingame 2013-01-24 00:14:29 +00:00
Mark Vejvoda
d7d83f7c5e - attempt to speed up color picking 2013-01-23 23:20:54 +00:00
Mark Vejvoda
86eac7451b - attempt to speed up color picking 2013-01-23 22:34:22 +00:00
Mark Vejvoda
69568f5b1a - attempt to speed up color picking 2013-01-23 21:53:02 +00:00
Mark Vejvoda
93438d42f4 - attempt to see if this fixes units that do not attack when right clicking enemy
- see if this fixes crashes when using color picking
2013-01-23 21:03:00 +00:00
Mark Vejvoda
8134da2f12 - attempt to see if this fixes units that do not attack when right clicking enemy 2013-01-23 19:53:12 +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
141f7eaa48 - cleanup some warnings in VC++
- more consistent project settings in vc++
2013-01-23 06:53:55 +00:00
Mark Vejvoda
e7e5ac8987 - only render live units when picking selected units 2013-01-23 06:26:26 +00:00
Mark Vejvoda
7146a20976 - attempt to fix / improve performance of color picking 2013-01-22 04:30:06 +00:00
Mark Vejvoda
7eaf0dcffc - rollback last change 2013-01-18 04:01:43 +00:00
Mark Vejvoda
790400938d - test to see if we get better info on windows for unknown errors 2013-01-18 01:12:32 +00:00
Mark Vejvoda
51a0b50bc2 - applied changes from Muwuum for full translatable game experience 2013-01-16 21:16:59 +00:00
Mark Vejvoda
11392c69c9 - see if this speeds up color picking 2013-01-16 18:23:29 +00:00