BMagnu
68f3fa6d8c
Actually compile with proper optimizations in a release build. ( #6336 )
...
* Change optimization to O3 and enable LTO
* Remove ODR violations
# Conflicts:
# code/menuui/playermenu.cpp
# code/osapi/osregistry.cpp
* Fix uninitialized structs
* Remove negative alloc warning
* O3 for mac
* Remove GCC13 warnings
* Fix warning
* Properly fix weapon alloc size
* Try to placate GCC9's Psnet_socket estimation
* remove warnin
* Fix safe fd set check
2024-11-25 20:10:38 +01:00
Taylor Richards
1b855044c7
fix data length bug in PXO hole punch packet ( #6195 )
...
The header length from the tracker is 1 byte larger than the size calculated
by the client due to psnet removing that byte internally. The header length
is adjusted to compensate for this, but only *after* the deserialization
process, so we have to use the received packet size instead.
2024-06-18 20:39:43 +00:00
Taylor Richards
3f9ec121ae
add support for PXO's UDP hole punch feature
...
Should allow for most games, even those behind CG-NAT, to work without having
to set up port forwarding. This set of changes is only needed for game servers
to work with the new feature. No special handling is required for clients, so
any build from the last few years should work for them.
2024-06-16 01:58:47 -04:00
Taylor Richards
d5afd8d79b
bump tracker packet sizes to match server
...
- allow for size of IPv6 game list packet (fixes #3543 )
These larger packet sizes aren't required for
FS2/FS2_Open, but just keeps the code in sync.
2021-06-27 13:43:19 -04:00
Taylor Richards
11f2920b4f
add variant of game update packet to tell PXO we want firewall status
2021-04-17 17:47:15 -04:00
Taylor Richards
51addab005
add notification for PXO firewall test
2021-04-16 18:34:48 -04:00
Taylor Richards
e401f96cc3
add option to prefer IPv4 DNS addresses
2020-08-30 00:03:14 -04:00
Taylor Richards
3e1b90b8c2
support IPv6 servers from game tracker
2020-08-30 00:03:14 -04:00
Taylor Richards
db0d0efd55
port PXO tracker client code to IPv6
2020-08-30 00:01:00 -04:00
Taylor Richards
92be33ad9c
first pass at IPv6 support
2020-08-30 00:01:00 -04:00
Taylor Richards
a03cd49d0c
fix loop to use reference
2020-07-16 03:20:15 -04:00
Taylor Richards
4220a426d6
fix gtrack updates to work more reliably
2020-07-12 12:12:59 -04:00
pkubaj
0b33a44004
Change to SCP_BSD
2020-02-10 15:46:30 +01:00
pkubaj
1cce2d70a3
Fix build on FreeBSD
...
sys/socket.h is necessary for AF_INET.
2020-01-28 16:30:23 +01:00
Taylor Richards
bd9880bc9b
replace FS2NetD with PXO
2019-11-08 02:07:14 -05:00