1440 Commits

Author SHA1 Message Date
rexx
7e92150eae Merge branch 'indev' of https://github.com/Mauler125/r5sdk into indev 2022-09-18 20:42:18 +01:00
rexx
7d8d515190 add global text chat
use sv_forceChatToTeamOnly 0 to enable global chat
2022-09-18 20:42:16 +01:00
kralrindo
e22a45795f Custom trainer 2022-09-18 21:58:43 +03:00
kralrindo
25937055d3
Merge branch 'Mauler125:master' into master 2022-09-18 21:47:44 +03:00
kralrindo
d66e2a8da8 Add trainer to playlist 2022-09-18 21:47:20 +03:00
Kawe Mazidjatari
e90d2572b1 Implement 'ThreadInServerFrameThread()'
Tier0 export in r2, inline in r5.
2022-09-18 19:01:37 +02:00
Marvin D
514a407e4c RPakHeader_t/RPakLoadedInfo_t additions 2022-09-18 13:55:44 +02:00
Kawe Mazidjatari
6f7e275b9a Merge branch 'indev' 2022-09-18 01:26:08 +02:00
Kawe Mazidjatari
0b6eee20d3 Fix client.dll compile error 2022-09-18 00:48:00 +02:00
Kawe Mazidjatari
4ec7239b57 Add 'CNetChan::ProcessMessages(..)' hook body
Compat from S0 to S7.
2022-09-17 23:34:36 +02:00
Kawe Mazidjatari
8f2fb9b3a2 Light help strings cleanup
Everything marked '( !slower! )' could potentially slow the process down through usage or abuse (script prints could be abused as conhost is slow and bottlenecks the thread, they are by default only logged using SpdLog, which is very fast and won't cause a hitch even when you dump 2 live netchannels).
2022-09-17 20:48:41 +02:00
Kawe Mazidjatari
c523d13864 Remove FCVAR_CHEAT flag from 'net_tracePayload'
Flag is useless; allow dumping traffic at all times for static analysis (if launched as dev).
2022-09-17 20:43:16 +02:00
Kawe Mazidjatari
34b779735e Don't allow server to execute 'disconnect' on client
Removed extraneous 'FCVAR_SERVER_CAN_EXECUTE' flag. We disconnect clients using 'CClient::Disconnect(..)', relying on the client is useless without an anti-cheat and anti-tamper. Client can still use this to disconnect on its own though.

'migrateme' seemed useless as well, removed 'FCVAR_SERVER_CAN_EXECUTE'.

This makes all 'FCVAR_SERVER_CAN_EXECUTE' require 'FCVAR_DEVELOPMENTONLY' to be stripped, in order to execute without the '-devsdk' parameter (development launch arg),
2022-09-17 20:43:16 +02:00
kralrindo
94bea82358
Merge branch 'Mauler125:master' into master 2022-09-17 14:38:10 +03:00
kralrindo
3b66322b31 Add Mirage Voyage to playlists 2022-09-17 14:37:40 +03:00
I-Am-Zee
2a2be063fc update name vars foreach playlist 2022-09-16 16:06:38 -05:00
Kawe Mazidjatari
f6c37f5aad
Merge pull request #78 from kralrindo/master
Mirage Voyage Localization
2022-09-16 20:55:36 +02:00
kralrindo
a2cc62539c Mirage Voyage Localization 2022-09-16 18:29:23 +03:00
Amos
96b192075e Fix help string 2022-09-16 15:03:05 +02:00
Kawe Mazidjatari
3cbd98b900 Expose kick/ban/unban to UI SQVM 2022-09-16 01:40:17 +02:00
Kawe Mazidjatari
a68f55dac0 Move unban logic to CBanSystem and expose to Squirrel
New unban function in SERVER context 'UnbanPlayer(string criteria)'.
2022-09-16 00:51:35 +02:00
Kawe Mazidjatari
9c9843a0fc Centralize kick/ban wrappers to CBanSystem and add new server functions for kicking/banning players 2022-09-15 23:13:37 +02:00
Kawe Mazidjatari
d9ddb575e2 Add ConVar to auto-reload the server after x seconds.
This should allow users to host dedicated servers without looking back, as you should reload/restart a server every 3 hours (a full process restart is the most recommended option, but a 'soft' reload works like a charm most of the time).
2022-09-15 01:37:45 +02:00
Kawe Mazidjatari
9dd49af1dc Reset idle name on shutdown 2022-09-14 21:59:32 +02:00
Kawe Mazidjatari
d32a4f2df0 Fix bug where restart commands don't work
We reset the idle name in HS_GAME_SHUTDOWN, but the restart command callback uses the name field to 'map' into the same map (restarting), which causes issues when we reset it to 'server_idle'.
Changed behavior to only reset name (non recursive) if we are running but do not have an active game.
2022-09-14 21:51:15 +02:00
Amos
4d2c5513f2 Fix misspelled WSA error 2022-09-14 13:24:26 +02:00
Kawe Mazidjatari
84b4772006 Refresh server list when the browser is activated 2022-09-14 02:39:55 +02:00
Kawe Mazidjatari
242320e735 Also check CPU for SSE 3, SSSE 3 and POPCNT.
Check for SSE 3, SSSE 3 and POPCNT in CheckCPU(), and SSE, SSE2 in MathLib_Init().
This should fix all crash cases caused by launching the game on unsupported CPU's.
2022-09-14 02:23:06 +02:00
Kawe Mazidjatari
e0504d2828 Perform CPU check as early as possible
Check CPU as early as possible (first routine during init). This is required because SpdLog compiles down to SSE instructions.
2022-09-14 01:35:05 +02:00
Kawe Mazidjatari
729475c74c Light cleanup
Use NO_ERROR instead of NULL for error code parameter passed to Error(..).
2022-09-14 01:14:51 +02:00
Kawe Mazidjatari
3d6d6644bd Logging bug fix and error handling improvements
* Replaced the boolean 'fatal' parameter with a error code parameter, anything non-null will prompt a message (fatal) and terminate the process with given error code.
* Fixed bug where the global ostreamsink for spdlog did NOT get cleared in 'SQVM_PrintFunc' when cvar 'sq_showvmoutput' was < 3. Moved to global scope.
* Added error message for when detouring the process has failed, with the error code.
* Only call 'Plat_GetProcessUpTime()' once per log, (improves performance and fixes bug where the error message box would show a different time stamp than what is logged into the console or file).
* All TIER0 loggers only log to notify and console when the SDK engine has fully initialized and detoured all functions.
2022-09-14 00:39:38 +02:00
Kawe Mazidjatari
d65bee5ffe
Merge pull request #77 from kralrindo/master
correct aim assist value for console, shadowfall dev playlist
2022-09-13 18:22:09 +02:00
Kawe Mazidjatari
2a2e27fbb7
Merge pull request #75 from KyeOnDiscord/patch-1
Cleaned up uMsg switch statement
2022-09-13 18:21:53 +02:00
kralrindo
7b181ca758 correct aim assist value for console, shadowfall dev playlist 2022-09-13 19:15:47 +03:00
D3-3109
309ae2a656
Change the custom_tdm default playlist settings
Change the custom_tdm default playlist settings and remove a duplicate configuration.
i mean maximum 3 teams and 3 players seems to be too less.
2022-09-13 12:52:49 +08:00
D3-3109
03f32fabb1
Change the custom_tdm default playlist settings
Change the custom_tdm default playlist settings and remove a duplicate configuration
2022-09-13 12:46:23 +08:00
Kye
a976d2868e
Cleaned up uMsg switch statement 2022-09-13 12:29:36 +10:00
Kawe Mazidjatari
88fcec1e69 Hook 'ConVar_PrintDescription' 2022-09-12 23:59:32 +02:00
Kawe Mazidjatari
577a8760cd CConsole: add more color coded flags
* Added more color coded flags to the console autocomplete window.
* Removed 'hidden' as FCVAR_HIDDEN is now enforced on the autocomplete window.
* force real-time CommandBase flags (previously compile-time).
2022-09-12 01:49:51 +02:00
Kawe Mazidjatari
23a95f84a8 ConVar names cleanup 2022-09-12 00:44:03 +02:00
Kawe Mazidjatari
1b754fd0b9 'con_notify' improvements
* Fade notify text by a fixed amount regardless of the frame times.
* Implement Valve's 'lerping' animation for text when entries fade away and expire.
* Don't run/push/remove anything if 'con_drawnotify' is disabled.
2022-09-11 23:48:11 +02:00
Kawe Mazidjatari
83b3feb9db Print net debug as SERVER for dedicated 2022-09-11 23:45:06 +02:00
Kawe Mazidjatari
4fb39f13dd Increase 'Playlists file' text rect 2022-09-11 16:37:14 +02:00
Kawe Mazidjatari
7a7396580d Remove extraneous 'sv_cheats' value assignment from autoexec.cfg 2022-09-11 01:30:30 +02:00
Kawe Mazidjatari
030e74f8d8 Update playlists watermark string 2022-09-11 01:28:48 +02:00
Kawe Mazidjatari
5bcdc6863b Update playlists_r5_patch.txt 2022-09-11 00:59:55 +02:00
Kawe Mazidjatari
c936683cea Update sqinit.cpp 2022-09-11 00:39:39 +02:00
Kawe Mazidjatari
5f56e5abd3 Update SDK interface version to 003
Version gate next release
2022-09-11 00:20:42 +02:00
Kawe Mazidjatari
fb7ab18a0b Minor spelling fixes 2022-09-11 00:19:31 +02:00
Kawe Mazidjatari
705b81a9e3 Set VPK compression level through ConVar 2022-09-11 00:16:31 +02:00