Kawe Mazidjatari
64abf323ec
Update baseclient.h
2022-05-17 02:38:17 +02:00
Kawe Mazidjatari
bc94820b29
CBaseClient backwards compatibility
2022-05-17 02:37:48 +02:00
Kawe Mazidjatari
291ca3700d
Update CBaseClient struct
2022-05-17 02:28:16 +02:00
Kawe Mazidjatari
2ef4f087c5
RPakLoadedInfo_t backwards compatibility
...
Padded struct with 48 bytes (extra FF padding in memory) to match the size with earlier builds (<S3)
2022-05-17 01:33:45 +02:00
Kawe Mazidjatari
325b3d15dc
Cleanup
2022-05-17 01:31:49 +02:00
Kawe Mazidjatari
637041d5e7
Use 'fs' instead of 'std::filesystem'
2022-05-16 21:54:46 +02:00
Kawe Mazidjatari
2e38f2e0dd
Forgot to unlock mutex in early return condition
2022-05-16 21:48:32 +02:00
Kawe Mazidjatari
3bdae1a05f
Use mutex instead
2022-05-16 21:41:15 +02:00
Kawe Mazidjatari
e4c26736e5
Use DevMsg instead of Warning
2022-05-16 21:40:52 +02:00
Kawe Mazidjatari
6dff43bc75
Move and rename ConCommand callbacks appropriately
2022-05-16 21:15:25 +02:00
Kawe Mazidjatari
d1402a7465
General cleanup and improvements
...
Hook CPakFile::Unload() and track when mp_lobby is unloaded.
Removed duplicate pointers for MOD_ProcessPakQueue().
Use DWORD for thread id comparison in MOD_ProcessPakQueue().
Use RPakHandle_t for all RPak handles.
2022-05-16 20:44:19 +02:00
Kawe Mazidjatari
ea3caa1a0b
Fix crash case on invalid pointer
2022-05-16 02:41:35 +02:00
Kawe Mazidjatari
15e01fe309
Fix crash on older windows versions
2022-05-16 02:00:46 +02:00
Kawe Mazidjatari
596682c483
More robust RPak loading/unloading system
...
This is currently the most robust way to perform this.
However it might fail still as the locks don't seem valid for the second loads (we currently load more paks from the same queue..).
We need to push the strings to the queue list and let the engine load these too so a new lock is acquired for that job.
2022-05-15 12:20:21 +02:00
Kawe Mazidjatari
107a516f9e
Implement CBaseClientState structure
2022-05-15 00:29:25 +02:00
Kawe Mazidjatari
9546f7a2ff
Update netpacket_t struct
2022-05-14 18:22:46 +02:00
Kawe Mazidjatari
d7d9f27f71
Update startup_default.cfg
2022-05-14 00:20:44 +02:00
Kawe Mazidjatari
77303e44b5
Optimize RCON
...
Don't run CheckForBan each iteration if no failed attempts are made
2022-05-13 21:41:03 +02:00
Kawe Mazidjatari
ffa6eb55e8
Improve NetAdr2 regex
2022-05-13 20:59:41 +02:00
Kawe Mazidjatari
70503bd975
Update cmd.cpp
2022-05-13 20:59:30 +02:00
Kawe Mazidjatari
d9021e99e9
Update cmd.cpp
2022-05-13 17:54:13 +02:00
Kawe Mazidjatari
81dcfa60a0
Cleanup
2022-05-13 17:51:01 +02:00
Kawe Mazidjatari
3f14198695
Enable more optimization options for all projects
2022-05-13 17:37:23 +02:00
Kawe Mazidjatari
3144227ec8
Update GetAdr implementations to feature spdlog
...
Fixed all alignments and reduced code verbosity
2022-05-13 14:53:25 +02:00
Kawe Mazidjatari
3cc7ea9365
Update net.cpp
2022-05-13 11:26:44 +02:00
PixieCore
30788de692
Fixed clientsdk compilation.
2022-05-12 19:39:55 +02:00
Kawe Mazidjatari
2424545c52
Update unknown parameter names
2022-05-12 01:20:19 +02:00
Kawe Mazidjatari
3e48e746db
Cleanup some strings
2022-05-12 01:07:48 +02:00
Amos
187174cda5
Merge branch 'indev' of https://github.com/Mauler125/r5sdk into indev
2022-05-11 10:30:34 +02:00
Amos
e12469bcbe
Update launcher.cpp
2022-05-11 10:30:08 +02:00
Kawe Mazidjatari
27c3ed0365
Add print functions for printing '__m128i' datatypes
2022-05-10 23:36:01 +02:00
Kawe Mazidjatari
452c8afcf3
Display '%' symbol properly in console
2022-05-10 23:32:44 +02:00
Kawe Mazidjatari
9ceffb2491
Fix forgotten color parameter
2022-05-10 18:09:49 +02:00
Kawe Mazidjatari
868d6ea14a
Extraneous string array
2022-05-10 18:09:31 +02:00
Amos
473db0e320
Finish game console optimizations
...
The console no longer should cause huge frame drops when the vector size increases around its max size
2022-05-10 13:26:03 +02:00
Amos
80d99744db
Add const qualifiers
2022-05-10 13:24:22 +02:00
Kawe Mazidjatari
1c13c9807b
Update cmd.cpp
2022-05-10 01:38:13 +02:00
Kawe Mazidjatari
804123bd84
Fix dedicated crash when sqstd_aux_printerror is engaged
...
'uiscript_reset' is hardcoded to be executed in the engine, and needs to be unregistered from the server to prevent it from doing anything
2022-05-09 21:52:02 +02:00
Kawe Mazidjatari
46134434a9
Show script error callstacks and context in colors in the external console
...
Show colors on console and use color constant to determine color instead of comparing strings in the console render loop. removed 5 string compares which should once again bump the performance quite a bit. The last string compares will be removed soon
2022-05-09 21:21:05 +02:00
Kawe Mazidjatari
e22ec87db7
Align log
v2.0.6_rc3
v2.0.6_rc5
v2.0.6_rc4
2022-05-09 02:35:41 +02:00
Kawe Mazidjatari
611ea6447a
Console performance improvements and bug fixes
...
* Heavily reduced string compares for coloring logs (the left overs require a dedicated hook, this is for the future)
The new method uses a ImVec 4 constant containing the color obtained via a switch case by context, this is then out into the new CConLog structure where the loop in the console will now gather the colors directly from.
Error/Warning use a single constant.
* Fixed bugs in several log locations where the ostringstream was cleared before the emission causing double logs.
* Added global log mutex to log wrappers that lacked those.
2022-05-09 02:20:07 +02:00
Kawe Mazidjatari
c1da90db33
Update ai_networkmanager.cpp
2022-05-08 19:09:31 +02:00
Kawe Mazidjatari
636c9b595e
Update IBrowser.cpp
2022-05-08 16:28:20 +02:00
Kawe Mazidjatari
5898ba14e0
Cleanup server browser
2022-05-08 16:20:48 +02:00
PixieCore
fb77744d53
Fixed dedi compilation.
2022-05-07 22:00:59 +02:00
PixieCore
8acc208e61
Getting games CBaseClientState now.
2022-05-07 17:52:41 +02:00
Kawe Mazidjatari
116d66f241
Fix Dear ImGui shutdown assert
2022-05-07 17:13:37 +02:00
Kawe Mazidjatari
45de72ea78
Prevent multiple threads logging at the same time (logging over each other)
2022-05-07 12:57:14 +02:00
Kawe Mazidjatari
6b13c4454a
Add const qualifiers
2022-05-07 12:28:58 +02:00
Kawe Mazidjatari
3e2a9db168
Disable 'r5net_show_debug' by default
2022-05-07 12:25:23 +02:00