Kawe Mazidjatari
0734d56fe2
Add reversed 'CNetKey' class
...
Confirmed size, mostly unknown still. But some of this seems to be data related to OpenSSL.
2023-02-12 02:15:58 +01:00
Kawe Mazidjatari
5f7bf4414e
Add additional miles debug info
...
Log the amount of time it took to initialize miles. Also log the language it gets initialized with, as this has been a common problem in the past. This should make it easier to see the problem regarding audio initialization failures.
2023-02-12 00:05:27 +01:00
Amos
a445e0fc9b
Fix compile error for sdklauncher and netconsole
...
Thirdparty directory has to be set as include directory as well.
2023-02-11 17:44:56 +01:00
Amos
100b538548
Light format change
2023-02-11 17:44:16 +01:00
Amos
8f4a5f45e7
Fixup L3 cache case 0x49
...
If EAX descriptor is 0x49, a check must be performed to determine whether or not to set the L3 cache.
2023-02-11 17:15:43 +01:00
Amos
c0fe74a321
Set cache desc to whole descriptor for Intel CPU's
2023-02-11 16:31:53 +01:00
Kawe Mazidjatari
cd8b5d3111
Improve CPU info log format
...
Pack level cache and descriptors on the same line.
2023-02-11 16:25:26 +01:00
Kawe Mazidjatari
4690f6f2e0
Add note in 'CPUInformation'
2023-02-11 16:23:09 +01:00
Amos
9145030b77
Cleanup InterpretIntelCacheDescriptors
...
Pass 'CPUInformation' by reference instead of using the static directly.
2023-02-11 15:19:29 +01:00
Amos
78288796e2
Fix bug in 'FindIntelCacheDesc'
...
It never iterates over the static arrays.
2023-02-11 15:15:52 +01:00
Amos
2e7786a4cf
Add cache descriptor for Intel CPU using function code 4
2023-02-11 15:15:06 +01:00
Amos
b92d442596
Fix missing cache information on Intel processors
...
'cpuidex' should return true.
2023-02-10 00:05:58 +01:00
Kawe Mazidjatari
dcf6d12ae1
Fix memory leak in Curl util code
...
'curl_slist' pointer should be passed in as reference, as its destroyed elsewhere.
2023-02-09 22:56:13 +01:00
Kawe Mazidjatari
1051b3a427
Also compile for client.dll
...
Mask it off for client.dll as well.
2023-02-08 22:57:14 +01:00
Kawe Mazidjatari
f6df34d68d
Fix bug caused by recent addition of completion funcs
...
'map' and 'map_background' were removed from the array, and thus 'FCVAR_DEVELOPMENTONLY' wasn't masked off. As of this commit, its getting masked off along with 'FCVAR_SERVER_CAN_EXECUTE'.
2023-02-08 22:54:35 +01:00
Kawe Mazidjatari
55ec60e1ae
Upgrade nlohmann json to '3.11.2'
2023-02-07 00:19:56 +01:00
Kawe Mazidjatari
ff597ae6ad
Add thirdparty folder to project includes
2023-02-07 00:10:48 +01:00
Kawe Mazidjatari
45ae9add6c
Add missing includes to project filters
2023-02-06 23:58:42 +01:00
Kawe Mazidjatari
7928ac3b4c
Fix SDK Launcher compiler error
...
Path has to be changed due to project include changes. The r5dev directory is no longer a system include, however, the compiler expects includes from system when compiling resources.
2023-02-06 23:53:32 +01:00
Kawe Mazidjatari
a67967134d
Split x64 and x86 binaries
...
Don't overwrite each other.
2023-02-06 23:52:09 +01:00
Kawe Mazidjatari
d2a57eca8a
Fix incorrect configuration mappings
2023-02-06 23:31:49 +01:00
Kawe Mazidjatari
feb1c7712f
Remove 32bit project configuration for cppkore
...
CppKore doesn't support 32bit entirely.
2023-02-06 23:14:07 +01:00
Kawe Mazidjatari
b61870421f
Remove 32bit project configuration for pluginsdk
...
Plugin cannot be 32bit as the game and SDK is 64bit.
2023-02-06 23:11:11 +01:00
Kawe Mazidjatari
354e25633c
Don't compile for client.dll
...
Don't compile 'CC_CreateFakePlayer_f' for the client.dll.
2023-02-06 23:01:53 +01:00
Kawe Mazidjatari
f2fd9102d0
Properly configure project includes
...
Moved project includes from VC/System includes to project includes. This fixes the problem where the autocomplete feature doesn't work in Visual Studio when trying to include headers from the project itself.
2023-02-06 23:01:18 +01:00
Kawe Mazidjatari
f9245a4070
Fix bug in RPak auto completion
...
RPaks that have a name larger than 123 chars will have their extension delimiter removed due to the way 'CAutoCompleteFileList::AutoCompletionFunc' works. Ideally this functions receives a full rewrite in the SDK to support dynamic extension lengths.
2023-02-06 21:46:03 +01:00
Kawe Mazidjatari
99b057438f
More fixes for console
...
* Fix 'ClearAutoComplete' getting called recursively for some single operations.
* Fix unnecessary mutex lock.
2023-02-06 21:43:43 +01:00
Kawe Mazidjatari
e4df03c4f2
Add RPak completion callbacks
...
Add completion for 'pak_requestload' and 'pak_requestunload'.
2023-02-06 02:16:02 +01:00
Kawe Mazidjatari
a8c5ed45fd
Fix IAppSystem VFTable
...
Destruvtor is prepended on every class in-engine. Reflected in SDK. Also removed extraneous method from ICvar causing other methods below it to misalign after the IAppSystem change.
2023-02-06 02:15:01 +01:00
Kawe Mazidjatari
308a700e25
Fix console bug
...
Fix bug causing autocomplete to not work correctly when command is picked from the suggestion list.
2023-02-06 02:12:53 +01:00
Kawe Mazidjatari
9e9614f908
Only reclaim focus where necessary
...
Only reclaim it when its actually needed to be reclaimed, else other UI components will not work properly.
2023-02-06 00:04:08 +01:00
Kawe Mazidjatari
836839e6a5
Add completion logic for 'give' command
...
* Implemented class 'CAutoCompleteFileList' (features engine's implementation for 'AutoCompletionFunc').
* Added completion callback for 'give' command.
2023-02-05 23:01:01 +01:00
Kawe Mazidjatari
d93e5f9d97
Fix a few console bugs
...
* Fix console always reclaiming focus when input field is empty.
* Always clear auto complete vector once item has been selected.
2023-02-05 22:50:11 +01:00
Kawe Mazidjatari
ddba8cf9b8
Install more robust 'map' completion callback
...
This one will list all maps, as maps should have a vpk file to be loaded correctly due to the way rpak files are formatted internally to be loaded/parsed.
2023-02-05 21:13:03 +01:00
Kawe Mazidjatari
116d2acae8
Don't update every frame
...
Don't update completion callback every frame, only when the input has changed.
2023-02-05 21:10:39 +01:00
Kawe Mazidjatari
a8ef2b74cd
Implement ConCommand completion logic
...
Implementation of the ConCommand completion logic for the Dear ImGui console panel.
2023-02-05 19:21:39 +01:00
Kawe Mazidjatari
dc10b2305a
Remove 'cdll_engine_int' from dedicated
...
No longer required.
2023-02-05 19:19:03 +01:00
Kawe Mazidjatari
87ff71675b
Implement ICvar interface class
...
Reversed ICvar interface class. Has been tested and verified on assembly level.
2023-02-05 11:01:27 +01:00
Kawe Mazidjatari
4116edfe4c
Server browser UX improvement
...
Auto focus token input field when private server modal is invoked or a token is submitted without success.
2023-02-04 20:04:23 +01:00
Kawe Mazidjatari
66f31916d1
Pylon logic imporvements
...
* Removed duplicate json parsing that was part of a PR that required a small refactor.
* Only check if response buffer is empty when we are going to parse the error message (this helps finding bugs in master server, since failure to parse has an exception handler).
* Log private server token and error messages to dedicated server console.
2023-02-04 19:18:18 +01:00
Kawe Mazidjatari
654e4e4271
Fix color mismatch
...
Fix mismatching marker color.
2023-02-04 19:15:08 +01:00
Kawe Mazidjatari
df7e80077f
Make sure winsock errors always gets logged
...
Make sure it always gets logged to the disk.
2023-02-04 19:14:45 +01:00
Kawe Mazidjatari
22d2cc5a7a
Change 'FileFindHandle_t' type
...
Make 64 bits for target.
2023-02-04 16:00:14 +01:00
Kawe Mazidjatari
60ab35b5c4
Light optimizations for string utils
...
* Changed 'CreateDirectories' to only copy sanitized path if pointer to string is passed.
* Changed 'IsValidBase64' to only tokenize base64 value if pointer to string is passed.
2023-02-04 15:59:45 +01:00
Kawe Mazidjatari
588cb146bf
Cleanup ebisusdk init
2023-02-04 15:55:32 +01:00
Kawe Mazidjatari
0dace8eea3
Fix crash during init
...
If an error occurs during init, and 'Error' is called, the program will segfault. Fixed by only running the 'send' code from RCON after it has been initialized.
2023-02-04 01:34:08 +01:00
Kawe Mazidjatari
14aff2d7b7
CCrashHandler: improve readability
...
Use macro instead of the code directly.
2023-02-04 01:04:06 +01:00
Kawe Mazidjatari
b160f39379
Improve server browser styling
...
Set minimum window size based on theme, so that if there are more servers than displayable, the last listing wouldn't clip under the panel frame.
2023-02-04 01:03:18 +01:00
Kawe Mazidjatari
649e6cb63c
CBaseAnimating: move trailing padding
...
Move trailing padding from 'CBaseAnimating' to start of 'CBaseAnimatingOverlay' (VFTable).
2023-02-04 01:01:32 +01:00
Kawe Mazidjatari
c9fa7f7767
Rename origin globals
2023-02-04 00:39:34 +01:00