Commit graph

1241 commits

Author SHA1 Message Date
James R
bc0fc9b05a Readd version and subversion to serverinfo
Add commit field after those two so packet is identical up
to that point and DEVELOP builds mismatch version online.

blame d176aefd8
2022-09-30 05:51:43 -07:00
James R
d176aefd88 Compare git commit when joining netgames in DEVELOP builds 2022-09-29 12:55:07 -07:00
Sally Coolatta
80d9637dda devmode cheat online 2022-09-29 12:19:45 -04:00
toaster
52f0217bac Completely rewrite how joined IPs are saved and written... again
- Use strlcpy instead of strcpy to prevent footguns
- Use fprintf instead of raw fputs
- Enforce consistent MAX_LOGIP (255) length for each component instead of a combination of magic number 255 and MAXSTRINGLENGTH (32!?) depending on where you look
- Fix fun memory leak in waiting
- Avoid pointless strlens
2022-09-26 21:28:33 +01:00
toaster
dfce863449 Dummy out connectedservername usage for now, as it's only ever written to when YOU host 2022-09-26 20:52:08 +01:00
toaster
e58a109a2b Merge branch 'master' of https://git.do.srb2.org/KartKrew/Kart into joinedip-fixes 2022-09-26 20:16:34 +01:00
toaster
ff629a4c78 Merge branch 'kill-nonet' into 'master'
Kill last of NONET, DJGPP (DOS), WATTCP (also DOS?), _WINDOWS (DirectDraw)

See merge request KartKrew/Kart!704
2022-09-26 17:02:55 +00:00
Sally Coolatta
139d6f4a49 Merge branch 'master' into rng-states-2 2022-09-25 14:04:19 -04:00
James R
f6a5ed9c6c Remove NONET 2022-09-24 19:22:04 -07:00
SteelT
b5e9de2e69 Grab server name from connectedservername, instead of netbuffer->u.serverinfo.servername (fixes garbage server name)
Yeah it will be blank, but preparation for whenever the server's name is stored in that variable
2022-09-24 18:20:58 -04:00
Sally Coolatta
d582cf0a3f Merge branch 'master' into rng-states-2 2022-09-23 11:23:49 -04:00
toaster
e1c8f8095b Clean up recent IP handling a bunch. 2022-09-23 04:06:37 -04:00
toaster
abb567ab81 Merge branch 'master' of https://git.do.srb2.org/KartKrew/Kart into big-large-map-markers 2022-09-21 23:06:24 +01:00
toaster
5a813cd94d Remove mapname buffer from serverinfo_pak 2022-09-21 22:19:51 +01:00
AJ Martinez
aaf18fb1cf Offline Input Delay -> Minimum Input Delay, default 0 -> 2 2022-09-20 21:29:17 -07:00
AJ Martinez
8525dfb502 Allow netgame clients to display and be affected by mindelay 2022-09-20 21:21:51 -07:00
AJ Martinez
bd83a9f3b1 Mindelay: Probably don't calculate ping outside of games period 2022-09-20 20:33:30 -07:00
AJ Martinez
e1f72898f5 Mindelay: Update ping display even in local play 2022-09-20 20:15:02 -07:00
AJ Martinez
e242207d10 Mindelay: Oni suggestions rollup 2022-09-20 19:01:54 -07:00
AJ Martinez
db25599647 Offline input delay cvar 2022-09-20 02:34:53 -07:00
Sally Coolatta
a60d4a13a1 RNG classes, take 2
Redone version of my old branch
2022-09-19 00:04:57 -04:00
toaster
1a284ec7c6 Merge branch 'master' of https://git.do.srb2.org/KartKrew/Kart into big-large-map-markers
# Conflicts:
#	src/d_netcmd.c
2022-09-17 13:57:26 +01:00
James R
6a6a0accee Merge remote-tracking branch 'origin/cvar-default-ports' 2022-09-17 00:18:10 -07:00
James R
1cf1643233 Merge branch 'stability-fix-ports' into 'master'
Stability fix ports

See merge request KartKrew/Kart!670
2022-09-17 07:08:26 +00:00
Sally Coolatta
81a4cb17c0 Only do it in netgames 2022-09-14 05:14:54 -04:00
Sally Coolatta
ed61140504 Funny mode fixes 2022-09-14 05:13:26 -04:00
Sally Coolatta
ec29a978ae Funny 2022-09-13 21:23:04 -04:00
toaster
b08ae2a716 Fix confirm connect
Still shows the message when you open the pause menu. Needs more attention I can't give it right now
2022-09-13 22:59:02 +01:00
VelocitOni
8a5707ad83 Merge branch 'master' into hostcode 2022-09-13 17:08:15 -04:00
toaster
aa1fc0c7ba Merge branch 'master' of https://git.do.srb2.org/KartKrew/Kart into connection-doinglus 2022-09-13 20:53:34 +01:00
toaster
7f2d28ea33 Refactor handling of escape input a little
- Includes port of KartKrew/Kart-Public!250
2022-09-13 20:17:33 +01:00
toaster
921b667c3e Modify render delta tics in the server connection ticker
Necessary so Egga Channel visual behaves properly
2022-09-13 14:24:38 +01:00
toaster
bff9b59b54 Move gamekeydown/deviceResponding memset to D_StartTitle
Fixes an issue where, if the last button used on the menu was ESC going back to the title screen, the connection would be aborted immediately.
2022-09-13 13:47:39 +01:00
toaster
d5e6d349a5 Egga Channel background for connecting 2022-09-13 13:21:03 +01:00
toaster
2d253e0105 Clear menus in one location.
Fixes a number of weird extra fade and gamestate set events.
2022-09-13 13:09:03 +01:00
toaster
033d87fbe1 Adjust profile "guessing"
- Remove block from using connect with uninitialised profile. Instead, CL_ConnectToServer handles the guess entirely.
- Add splitscreen player initialisation in circumstances previously missing it
2022-09-13 12:46:27 +01:00
toaster
c493ee9ee3 Connection screen adjustments
- Request a press of (A) or (B) instead of ACCEL, BRAKE or ESC.
- Support pressing (X) and ESC (hardcoded) as well, to cohere more with the menus.
2022-09-13 12:19:56 +01:00
toaster
8ba32064a8 Clean up recent IP handling a bunch. 2022-09-12 22:24:40 +01:00
X.organic
902fcfa569 Miscellaneous memory bug fixes to make AddressSanitizer happy
# Conflicts:
#	src/d_clisrv.c
#	src/dehacked.c
#	src/hardware/hw_cache.c
#	src/hardware/hw_md2.c
#	src/http-mserv.c
#	src/lua_hudlib_drawlist.c
2022-09-12 16:49:18 +01:00
Sal
a7716b966a Merge branch '14plus-votechanges' into 'master'
1.4+ Voting Changes

See merge request KartKrew/Kart!655
2022-09-11 06:30:39 +00:00
Sal
94d7c497b0 Merge branch 'hooklib-port' into 'master'
Hooklib refactor ported and (mostly) squashed

See merge request KartKrew/Kart!662
2022-09-11 06:30:07 +00:00
Sally Coolatta
2fddc9f343 Merge branch 'master' into big-large-map-markers 2022-09-10 16:01:02 -04:00
toaster
975ed1f136 Merge branch 'master' of https://git.do.srb2.org/KartKrew/Kart into new-menus
# Conflicts:
#	src/d_main.c
2022-09-07 21:39:34 +01:00
toaster
54e03194ea Ignore client joins while loading a level, to prevent a myriad of join bugs.
Slightly rewritten from Jugador's, to prevent spurious DEBFILE prints of unknown packet type
2022-09-07 13:50:26 +01:00
LJ Sonic
8880285222 Remove downloadspeed cruft
# Conflicts:
#	src/d_clisrv.c
2022-09-07 12:33:56 +01:00
toaster
3dc2e3230d Manual zip-together of Ashnal's cvar suggestions and LJSonic's download speed cap raise
- Lowered resynchattempts
- Increased maxsend and downloadspeed
- Increased max downloadspeed
- Doubled nettimeout and jointimeout
2022-09-07 12:33:04 +01:00
James R
37c3a55dda Fix conflicts 522467a88 2022-09-05 11:56:30 -07:00
toaster
06e9bd5b0a Merge branch '14plus-mergeladder' of https://git.do.srb2.org/KartKrew/Kart into 14plus-votechanges 2022-09-05 15:41:05 +01:00
toaster
1f3ac199ae Merge branch 'master' of https://git.do.srb2.org/KartKrew/Kart into 14plus-mergeladder 2022-09-05 15:32:02 +01:00
toaster
1abfb2745a Merge branch 'master' of https://git.do.srb2.org/KartKrew/Kart into new-menus 2022-09-03 22:26:28 +01:00