smallmodel
cd89d2c0b4
Don't execute reloadmap if the server is not running
2024-11-10 22:10:24 +01:00
smallmodel
1ef1bad9ae
Add network profiling tool from Spearhead and Breakthrough
...
Profiling can be enabled with `cl_netprofile` and `sv_netprofile`, the overlay can be shown using `cl_netprofileoverlay` and `sv_netprofileoverlay` and the server can dump network profile using the `netprofiledump` command
2024-11-09 21:38:16 +01:00
smallmodel
2b06cc690e
Add reloadmap server command from Breakthrough
2024-11-09 16:03:08 +01:00
smallmodel
f646151ce2
Set medium difficulty by default
2024-11-09 13:27:24 +01:00
smallmodel
c2291e92c4
Add Anim_AngularDelta
2024-11-08 19:32:53 +01:00
smallmodel
b8cc3313b1
Check for valid tiki in PF functions
2024-11-08 19:26:37 +01:00
smallmodel
6970e2d00c
Properly check entity sight against passOwnerNum
2024-11-05 21:48:43 +01:00
smallmodel
6991c9f9f7
Fix save comment not having the proper string
2024-11-02 21:22:24 +01:00
smallmodel
6e6dac0b74
Proper formatting
2024-11-02 20:56:32 +01:00
smallmodel
6fc7199719
Register server sounds in multiplayer
2024-10-28 23:28:05 +01:00
smallmodel
ed22a51a72
Only allow breakthrough clients when targeting mohaab
2024-10-23 22:22:09 +02:00
smallmodel
6d0b4f8cb7
Fix PVS sound overflow
2024-10-18 23:50:52 +02:00
smallmodel
ef09f136d4
Fix sound indexes not erased correctly
2024-10-18 23:15:59 +02:00
smallmodel
6136bbd019
Set g_netoptimize to 1 when spawning server
2024-10-18 23:05:53 +02:00
smallmodel
5136aa4886
Properly handle and delete unused non visible entity sounds to free up sound indexes
2024-10-18 23:01:27 +02:00
smallmodel
23d7db814c
Use an unsigned integer for the column size
...
This fixes compile warnings
2024-10-18 22:03:41 +02:00
smallmodel
6a107419e3
Only change the maxclients when the map is different
...
It fixes an issue where on restart, only the number of snapshot entities was changed without the memory being reallocated for it
2024-10-18 20:26:27 +02:00
smallmodel
6d69a8033f
Initialize the radar
2024-10-18 20:12:47 +02:00
smallmodel
8667d11c52
Prevent SV_DropClient() from being called recursively if the client is dropped by a kick or timeout and has too many reliable commands
2024-10-11 22:55:24 +02:00
smallmodel
224c1df553
Test against entities with BSP solidity when testing client visibility
2024-10-10 21:38:51 +02:00
smallmodel
bcea5af30f
Remove unused sound index that were used for non visible players
2024-10-10 21:22:59 +02:00
smallmodel
f5558d106e
Don't set the last radar time if the entity number is above the max number of clients
2024-10-06 19:19:44 +02:00
smallmodel
13d855c2e7
Use Cmd_Argv() to check for dmmessage
2024-10-02 13:07:04 +02:00
smallmodel
3a7e249edf
Refactored svflags and use the correct entity server flags
2024-09-30 19:58:41 +02:00
smallmodel
db6ff8901b
Set the render effect of skyportal and skyentity when adding them to the snapshot
...
This fixes the issue where some entities like effects would be visible through the sky
2024-09-29 15:27:54 +02:00
smallmodel
290e45062d
Set the server time before calling ge->RunFrame() in SV_SpawnServer()
...
This fixes an issue where some scripts wouldn't be initialized in time, like those that set AI animations. For example this caused an issue with the plane passenger in e2l1, where the animation would get reset due to a very specific chain of events
2024-09-26 01:18:11 +02:00
smallmodel
1fb8327ca9
Don't let the frame msec go below 0
2024-09-25 22:14:27 +02:00
smallmodel
8f355fe188
Add Voip code from ioq3
2024-09-22 16:50:44 +02:00
smallmodel
f9d264058b
Use safe version of sprintf and strcpy
2024-09-20 23:08:53 +02:00
smallmodel
61b4a817f3
Move alloca include directive to q_platform.h due to difference between platforms
2024-09-20 20:52:41 +02:00
smallmodel
a1a89cba34
Allow dynamic adjustment for the size of status columns in SVC_Status
2024-09-13 19:50:29 +02:00
smallmodel
725561b655
Fix the usage of memory, strings, constant and parameters
2024-09-08 23:54:47 +02:00
smallmodel
e2e1ab0275
Fix status
command column length breaking some programs
2024-09-08 18:09:54 +02:00
smallmodel
11f5870a8b
Add ioq3 server fixes and improvement
...
- Add a rate limit to protect against DoS attacks
- Better IPv6 support
2024-08-31 21:04:10 +02:00
smallmodel
b7288ba3f4
Don't affect the frameMsec with timescale as it causes issues with physics (like vehicles)
2024-08-31 16:50:10 +02:00
smallmodel
be655e2b9c
Fix the height of huddraw elements not being archived properly
...
A wrong variable was specified
2024-08-31 16:38:58 +02:00
smallmodel
6071b5303c
Remove useless NET_Sleep and make sure frameMsec doesn't go below 1
2024-08-31 16:18:28 +02:00
smallmodel
99fcec9f26
Initialize bStartedGame
2024-08-30 18:56:01 +02:00
smallmodel
e70cdfb898
Improve code readability
2024-08-25 22:01:03 +02:00
smallmodel
53d5dd1e40
Differentiate saves from mohaa, mohta and mohtt
...
Fixes #339 where Spearhead and Breakthrough would also display saves from mohaa
2024-08-23 22:25:43 +02:00
smallmodel
b2ef0fd6e3
Swap the save game struct on big endian architectures
2024-08-23 21:09:12 +02:00
Trung Lê
1f4b7718e8
Refactoring gameExport_s::ReadLevel() and gameExport_s::WriteLevel()
2024-08-20 23:41:43 +10:00
smallmodel
757b4849f8
Add a fix to load the music from save
...
This commit implements code to get/set sample offset in an OpenAL channel and saves the music filename/offset into the file. This only works by using the experimental sound system, so it partially fixes #327
2024-07-22 20:13:03 +02:00
smallmodel
d1e94f3934
Fix saveshot not executed when saving
...
This fixes #273 where the loadsave menu wouldn't show the screenshot
2024-07-20 16:07:02 +02:00
smallmodel
422bf647a7
Save the client-game state into the archive file (feature from moh spearhead 2.0)
...
This saves cgame data such as emitters and vss sources
2024-07-15 23:45:32 +02:00
smallmodel
0d394a7e67
Fixes strings printing on the same line
2024-07-01 14:15:58 +02:00
smallmodel
01d938b5ba
Fixes some variables being uninitialized
2024-06-22 19:03:04 +02:00
smallmodel
186d7a12e5
typo
2024-06-22 16:51:20 +02:00
smallmodel
dfb6c37c9e
Don't copy the server name if it's from the same string address
2024-06-22 16:42:39 +02:00
smallmodel
cb208b9ad2
Initialize the message buffer to avoid leaking private data
2024-06-22 16:39:26 +02:00