308 Commits

Author SHA1 Message Date
Amos
3411c41eac ConVar optimizations 2022-02-06 19:15:34 +01:00
Amos
7fff22ccec Slight cleanup 2022-02-06 17:27:47 +01:00
Amos
bba0120e88 Fix small bug in netconsole
Changed member params but forgot to change thread invocation params
2022-02-06 17:07:27 +01:00
Amos
d555c39434 Rename to 'cmd' 2022-02-06 17:06:22 +01:00
Amos
c187bed4c5 RCON implementation (see description)
* Fully rewritten protocol agnostic CNetAdr class
* Fully rebuilded legacy CNetAdr class
* Fully rebuilded dual-stack CSocketCreator class
* New project "netconsole" added (lightweight netconsole for RCON)

RCON is still work in progress
2022-02-06 16:48:52 +01:00
Amos
d3d1e673ae Fix IConsole assertions 2022-02-06 16:33:11 +01:00
Amos
f51bd431f4 Add comment regarding exception 2022-02-06 16:30:05 +01:00
Amos
ee82a58133 Create RCON ConCommand 2022-02-06 15:59:46 +01:00
Amos
70a5f77121 Create RCON ConVar's 2022-02-06 15:54:52 +01:00
Amos
174db2fd95 Initialize Winsock 2022-02-06 15:44:39 +01:00
Amos
3a852b63d2 Fix Engine Error bug 2022-02-06 15:43:05 +01:00
IcePixelx
03b5f18435 load imgui config from disk only when creating dx instance. 2022-01-31 18:47:21 +01:00
IcePixelx
2037ffa1f2 convar creation suggestion. 2022-01-29 18:00:29 +01:00
Amos
2e8cc3e7b1 Update ImGui default theme 2022-01-28 12:56:51 +01:00
Amos
7704559869 Revert "Also load files from main directory"
This reverts commit ac566d73aaafd18c686579f7eba34430e54b44c7.
2022-01-28 01:32:55 +01:00
Amos
65299affa1 Fix issue where connected clients could kick/ban players
This was caused by a bad mistake I made when setting flags for ConVars and ConCommands.

Set 'IsFlagSet()' query debug ConVars as Replicated.
2022-01-28 01:32:27 +01:00
Amos
ac566d73aa Also load files from main directory
Still compatible with previous commit
2022-01-27 04:12:41 +01:00
Amos
3eec52e79b Fix dedicated server crash for Linux (Lutris and Wine)
The issue was caused by checking if a file with '//*/' in its path exist on the disk. This causes crashes on Lutris and Wine.
2022-01-27 03:55:47 +01:00
Amos
edac787bf7 Fix compiler error caused by merge from separate branch 2022-01-26 23:48:52 +01:00
Amos
f488b7e75e Load 'server' VPK's instead if the dedicated server is a standalone dedicated server
* Load server VPK's instead of client VPK's on standalone servers
* Dynamically search for 'g_bDedicated' global boolean instead of hardcoded address
* Add 'PatchString' to memory class
2022-01-26 23:45:58 +01:00
Amos
591559f8dc Add pseudodefs to precompiled header file 2022-01-26 23:45:08 +01:00
IcePixelx
9b814d545d Comment position adjusted. 2022-01-23 18:34:22 +01:00
IcePixelx
2f82801261 Moved CEngine class functions to sys_engine.cpp. 2022-01-23 18:33:01 +01:00
IcePixelx
f43c5da8ae Huge engine/host commit.
* Rebuild CModGroupApp::Main, did not include the dedicated routine with the empty class global.
* Using a template function now for virtual function calls
* Implemented most of the CEngine class and grabbing its global var now.
* Using local CEngine now in FrameUpdate
* Implemented EngineParms_t fully and grabbing its global var.
* Added macro for adding class member variables at offsets.

A lot of comments added regarding what needs to be done for this commit.

* Check other season compability, wasn't able to do that due to not having access to said binaries at the moment.
* Fix sdklauncher to use widestrings to fix the bug with other languages in path
2022-01-23 18:26:48 +01:00
Amos
a1f96797c0 Console and Browser UX improvements
* Log warnings
* Improve style
* Vector size is now controlled by ConVar instead
* Keep current item in view when console is cleaning up the vector. This doesn't work ideally as its hard to keep track of the current item, and the scroll is a float. In the future it might be better to grab the first vertex of the center line on the console and track that perhaps.
2022-01-22 15:51:09 +01:00
Amos
3f50736e48 Light cleanup 2022-01-22 15:42:35 +01:00
Amos
087a1487ec Fix SQVM warning 2022-01-22 15:41:30 +01:00
Amos
fed1d06287 Update icon to show better for low res 2022-01-20 17:58:31 +01:00
IcePixelx
88534a4c7f fixed release dedi setting debug settings. 2022-01-20 17:25:35 +01:00
IcePixelx
946148bf6e changed checksum cast till we switch to pylonv2, its currently signed on pylon 2022-01-20 16:33:56 +01:00
IcePixelx
c3171b6ad4 Gotta use server remote checksum in hoststate. 2022-01-20 16:09:58 +01:00
Amos
3be02f949b Add remote function calls checksum for server 2022-01-20 16:04:10 +01:00
Amos
a156459419 Merge branch 'indev' of https://github.com/Mauler125/r5apexsdk into indev 2022-01-20 15:43:32 +01:00
IcePixelx
140a3476f9 fixed empty control statement. 2022-01-20 14:18:19 +01:00
Amos
7b968c8595 Update r5reloaded logo 2022-01-20 13:53:15 +01:00
Amos
7558ed1b5f Fix dedicated only launching in debug 2022-01-20 03:10:25 +01:00
Amos
24dd364ebf Execute 'autoexec' and 'autoexec_dev' after server and client to override any ConVar's more easily 2022-01-20 03:10:01 +01:00
Amos
a73b05d4b0 Fix compiler error 2022-01-20 03:08:14 +01:00
Amos
7419720f78 Rename ConVar to make more sense + cleanup 2022-01-20 00:59:31 +01:00
Amos
3017454dba Increase all rotating logger's size to 10MB 2022-01-20 00:41:00 +01:00
Amos
963c189f35 Reset scroll position when AutoSuggest has updated 2022-01-20 00:24:41 +01:00
Amos
df3bfafce6 Register ConCommands as early as possible 2022-01-19 23:46:14 +01:00
Amos
f418d36e1b Add flags to registered ConCommands 2022-01-19 23:46:03 +01:00
Amos
03e700bac1 Move 'PrintLastError()' to utility.cpp 2022-01-19 23:14:50 +01:00
Amos
b1d3a01a71 Reset AutoComplete vars when "Submit" button is clicked 2022-01-19 23:12:43 +01:00
Amos
6c002049a9 Update win64_rrthreads.h 2022-01-19 19:07:45 +01:00
Amos
dd50004c61 Fix typo in sdklauncher.cpp
Thanks Julefox!
2022-01-19 19:03:59 +01:00
Amos
998de21d73 Implement new FileSystem hooks
The hooks will check if the file in question exist on the disk first before falling back to VPK or obtaining it from the cache.
2022-01-19 19:03:11 +01:00
Amos
540e219c22 Clamp Autocomplete window properly
* Fixed cases where the horizontal scrollbar would conceal the only item in the autocomplete window

* Add new ConVar to show help text next to ConVar in autocomplete. disabled by default to prevent it from being cluttered.
2022-01-19 19:03:04 +01:00
Amos
40204c6b84 Fix typo 2022-01-18 13:21:42 +01:00