wookieejedi
8420e00ee1
Allow Mods to specific default multi update speeds ( #4531 )
...
Previosuly, the default object update speed setting for new players was `High`. Many mods, such as Fate of the Galaxy, do multiplayer tests where we have to ensure players are using the highest object update speed, which is LAN. This extra step is cumbersome and prone to players' forgetfulness.
This PR allows mods to set the default multiplayer object update speed for new pilots to mitigate this issue. Tested and works as expected.
2022-08-13 08:57:18 -04:00
Taylor Richards
b4f95c3b0c
Merge pull request #4266 from notimaginative/fix_multi_timestamps
...
address multiple timestamp issues with multi
2022-05-17 20:07:09 -04:00
Taylor Richards
df6cf572ac
convert multi timestamp()'s to ui_timestamp() where appropriate
...
A bit overkill for some of this but just covering the bases.
* fix issues with in-game join
* fix multi messaging and multi pause screen
* make sure maintenance stuff (pings, voice, file xfer, etc.) isn't
affected by pausing or time compression
2022-05-17 07:50:50 -04:00
Taylor Richards
a8618a569c
add improvements to aid in multi troubleshooting:
...
- report when multi.cfg is missing
- add game version, multi version, cmdline, and PXO status
to multi.log
- use non-interactive mode by default on standalone and
enable it as soon as possible
2022-05-16 15:47:30 -04:00
JohnAFernandez
9d7acbcc9d
Update Function Name and comment to describe what it actually is ( #3451 )
...
Change find_player_id to find_player_index, since that is what it does
2021-05-29 19:21:36 -04:00
Taylor Richards
5fb1bbbb43
fix issues with multi options packets
...
- don't send structs
- big endian compatible
2020-12-24 09:38:23 -05:00
Taylor Richards
4220a426d6
fix gtrack updates to work more reliably
2020-07-12 12:12:59 -04:00
Taylor Richards
f518e277f1
sanitize parsed multi.cfg settings for PXO
2019-11-30 15:32:13 -05:00
Taylor Richards
bd9880bc9b
replace FS2NetD with PXO
2019-11-08 02:07:14 -05:00
FSCyborg
601fa75d50
Change while(0) to while(false)
...
Travis is complaining about while(0), so we're getting it off of our back by switching to while(false).
2019-11-03 16:27:23 -05:00
asarium
c8619ddd0d
Fix uninitialized variable error detected by valgrind
2018-09-17 19:23:05 +02:00
asarium
e28ebc2a6c
Enable and fix misc-suspicious-string-compare check
2018-04-25 11:13:19 +02:00
asarium
0b4ca71eba
Enable modernize-deprecated-headers
2018-04-25 11:12:41 +02:00
asarium
1bcd5400d3
Move build system to CMake
2016-07-22 12:07:19 +02:00
asarium
280ceabb45
Fix format warning in multi_options.cpp
2015-08-19 11:26:28 +02:00
asarium
40c81134ac
Fix "format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’" warning
2015-08-19 11:26:26 +02:00
asarium
fe49ef63aa
Fix for Coverity 1093515: Negative array index read
...
A memory location at a negative offset from the beginning of the array will be read, resulting in incorrect values.
In multi_options_process_packet(unsigned char *, header *): Negative value used to index an array in a read operation
2015-05-03 14:44:26 +02:00
Echelon9
c837a21f0d
Now that standalone server is support on more than Windows, ensure its features are applied as consistently as possible
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@10839 387891d4-d844-0410-90c0-e4c51a9137d3
2014-06-26 16:54:17 +10:00
chief1983
975f94f207
USHRT_MAX is in limits.h on Linux.
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@10239 387891d4-d844-0410-90c0-e4c51a9137d3
2013-12-22 19:05:15 +10:00
chief1983
a45af2f019
Found the constant USHRT_MAX I was looking for just a little too late.
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@10235 387891d4-d844-0410-90c0-e4c51a9137d3
2013-12-22 19:05:15 +10:00
chief1983
da4b191160
Saner parsing all around for webapi port number.
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@10233 387891d4-d844-0410-90c0-e4c51a9137d3
2013-12-22 19:05:15 +10:00
chief1983
459e2bd469
Fix a warning when copying the webapi port token int into its destination ushort.
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@10232 387891d4-d844-0410-90c0-e4c51a9137d3
2013-12-22 19:05:15 +10:00
chief1983
5ebd06bb29
Fix WebUI server name changes updating in clients and FS2NetD.
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@10120 387891d4-d844-0410-90c0-e4c51a9137d3
2013-11-25 19:29:36 +10:00
Echelon9
cc8310a491
Webui: Clarify the use of branching if statements, to be consistent with existing code
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@10046 387891d4-d844-0410-90c0-e4c51a9137d3
2013-11-10 18:28:59 +10:00
Echelon9
0e34a25207
Webui: Support setting an alternative port than 8080 to host the webui on
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@10045 387891d4-d844-0410-90c0-e4c51a9137d3
2013-11-10 18:28:59 +10:00
chief1983
8d371f9e94
From Eli2: WebUI-based standalone/dedicated server code for all supported non-Windows platforms. See WIP documentation at http://www.hard-light.net/wiki/index.php/FS2_WebUI_Standalone .
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@9957 387891d4-d844-0410-90c0-e4c51a9137d3
2013-10-27 13:51:48 +10:00
niffiwan
5f0351c72b
Coverity: buffer not null terminated issues
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@9873 387891d4-d844-0410-90c0-e4c51a9137d3
2013-10-07 20:02:29 +10:00
niffiwan
62d06cfcd9
Coverity multiple CID: fix potential not null terminated strings
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@9842 387891d4-d844-0410-90c0-e4c51a9137d3
2013-09-29 22:12:22 +10:00
Echelon9
b4a578314c
PVS-Studio fix: V601 The 'true' value is implicitly casted to the integer type.
2012-11-25 02:45:16 +00:00
Valathil
374b5afafd
Fix for Mantis 2731: Add a +use_pxo flag in multi.cfg
2012-11-19 17:43:40 +00:00
chief1983
4e5d3e2e57
Fix all the 'no newline at end of file' warnings I saw thrown by gcc on FreeBSD.
2012-11-02 17:30:17 +00:00
The_E
0525e871d0
PVS Studio related: Mark false alarms as such.
2011-08-30 17:46:49 +00:00
Echelon9
71255d6ba5
PVS-Studio: A call of the 'memset' function will lead to underflow of various buffers in multi code.
2011-08-11 14:53:11 +00:00
Zacam
9254dae233
Resolves LNK4221 under MSVC. multi_oo and psnet are not actually linked/used, so references pointing to them now go to multi_obj and psnet2 respectively. (Same as Antipodes 6881)
...
http://www.hard-light.net/forums/index.php?topic=73147.0
2011-01-30 05:59:36 +00:00
portej05
7e65e47acc
Fix for issues caused by memset and _HAS_ITERATOR_DEBUGGING.
...
Some ugliness involved (placement new - yuck!), however given that a lot of our structures are allocated with vm_malloc, I haven't got a better way around this at present.
2009-11-13 18:06:27 +00:00
portej05
98f337f701
safe_strings - from Antipodes build #1
2009-07-27 16:06:24 +00:00
portej05
719825f80d
The big CVS comment removal. This chops approx. 3.5mb off a full checkout.
...
I've tested this through compiling and through hand checking.
Normalises line endings in ALL files to \n.
2009-06-20 08:08:20 +00:00
phreak
be97108d6c
Fix a bad memset
2008-12-14 21:33:53 +00:00
taylor
3abccfa76c
sync up to current FS2NetD code (fixes so many little problems/issues that it's not even funny)
2008-11-09 05:08:19 +00:00
taylor
18b2922455
a fix/workaround for Mantis #1692
...
bunch of standalone fixage for error reporting and various little signon issues
fix heartbeats for standalone servers
make proper use of +pxo in multi.cfg for standalone so that games can show up in the lobby
client-side fix for getting pilot stats in lobby (Mantis #1652 )
2008-10-05 13:31:35 +00:00
taylor
de28613166
add separate standalone options for setting FS2NetD login/password (gets around FS2NetD server game listing issue)
2008-10-05 13:24:06 +00:00
taylor
c5235c6428
FS2NetD v.2 (still a work in progress, but is ~98% complete)
2007-10-15 06:43:23 +00:00
karajorma
73baf41622
Add the -cap_object_update command line to force multiplayer clients to a more server friendly object update setting.
2007-04-06 12:55:57 +00:00
Goober5000
7e41877b7b
proper capitalization according to Volition
2006-04-20 06:32:30 +00:00
taylor
d3481714d0
remove NO_NETWORK
2005-10-10 17:21:11 +00:00
Goober5000
2394e9801b
remove PreProcDefine #includes in FS2
...
--Goober5000
2005-07-13 03:35:36 +00:00
taylor
3f9ffbc393
better support for Inferno builds (in PreProcDefines.h now, no networking support)
...
make sure NO_NETWORK builds are as friendly on Windows as it is on Linux/OSX
revert a timeout in Client.h back to the original value before Linux merge
2005-03-02 21:18:20 +00:00
taylor
a2232be0c7
merge with Linux/OSX tree - p0204
2005-02-04 10:12:33 +00:00
Kazan
864e1b5922
remove MCD complete
2004-07-26 20:47:56 +00:00
Kazan
428b3dcbc9
MCD - define _MCD_CHECK to use memory tracking
2004-07-12 16:33:09 +00:00