24 Commits

Author SHA1 Message Date
PixieCore
7bb4fd6313
Merge indev into master. (#44)
* Added separate function to resolve relative addresses in address.h

* Added new patterns to the print function.

* Updated IsFlagSet hooks.

* Cleaned up code to properly mask off Dev and Cheat flags.
* Added separate define from _DEBUG so you can define it in release builds for people without C++ Debug Restributeables.

* Removed un-used define in hooks.h

* Fixed potential crashes in r5net and added debug prints.

* Potential crashes were when in certain post functions the returned status wasn't 200.

* Changed map-select drop down menu, now it displays 'Map Name + Season' instead of file-name. (#41)

* Host Server shows normal map names

* Changed a few stuff...

* redid some stuff that isn't crucial

* Update CCompanion.cpp

* Update CCompanion.cpp

* Updated mapname displaying.

* Moved "ServerMap" as a static object into CCompanion::HostServerSection().

Co-authored-by: IcePixelx <41352111+PixieCore@users.noreply.github.com>

* prevent squirrel compiler errors from killing game process (#43)

* Read description for all changes.

* Added ability to register custom ConVar.
* Added 2 custom ConVars to open the CGameConsole and CCompanion Windows.
* Changed ResolveRelativeAddress.
* Added Config System for the Gui.
* Added ImGui::Hotkey.
* Added the ability to change 2 hotkeys for opening the window for CGameConsole and CCompanion.
* Changed pattern for Squirrel_CompilerError to use a String.
* Added IMemAlloc::AllocWrapper to patterns.h

* Changes in description.

* Added icon to launcher.exe
* Launcher.exe gets remnamed to Run R5 Reloaded.exe in launcher release compilation configuration.
* Extended argument buffer for starting the game in launcher.exe.
* Added exception printing if in the custom ConVars an invalid value gets passed.

* Wrong return.

* Added shortcut with launch params.

* Fixed prints.

Co-authored-by: Marcii0 <58266292+Marcii0@users.noreply.github.com>
Co-authored-by: BobTheBob <32057864+BobTheBob9@users.noreply.github.com>
2021-08-19 15:26:44 +02:00
IcePixelx
a78484b5c5 Read description for changes.
* Updated r5net. Checking for version number now.
* Added SQVM_Warning hook.
* Adjusted IsFlagSet, will only mask off DEV_FLAGS in Release compile now.
* Empty hostname cvars.
2021-08-15 19:57:33 +02:00
IcePixelx
b1bf7ee7c4 Re-Load playlists from disk after disconnecting or getting dropped of server. 2021-08-14 12:46:52 +02:00
IcePixelx
53724bc9af Changes to address.h
* Cleaned address.h up
* Added function to search for string in .rdata section
* Added function to search for string usage in .text section
2021-08-09 18:12:27 +02:00
IcePixelx
443d3fcc15 added filesystemwarning hook, commented and not doing anything yet 2021-08-08 22:32:30 +02:00
Amos
d0e77c42f2 Push SQVM output to in-game console
* Upgrade to spdlog for SQVM_PrintFunc
* Improve in-game console window
* Add print hook for signonstate debug on the client
2021-08-05 03:28:03 -07:00
IcePixelx
d47996821c Switched hooking lib for r5-dev and r5-dedicated. Refactored code base. 2021-07-27 23:08:20 +02:00
IcePixelx
6b7200f459 shorter sig for MSG_EngineError 2021-07-21 19:34:19 +02:00
IcePixelx
42df81cbb3 Added new functions to address.h, Shortened SQVM_Print Pattern. 2021-07-21 16:15:32 +02:00
IcePixelx
8e46b6f379 Added memory helper class. 2021-07-20 23:28:54 +02:00
IcePixelx
b3d5b5c2ad Switched to precompiled headers, compile time is very fast now. 2021-07-19 15:45:42 +02:00
IcePixelx
2d7300f5b3 Renamed hook and memory addresses, FIxed calling original in isPersistenceDataAvailable 2021-07-19 13:36:36 +02:00
Amos
3fa766f730 Set persistent var for all players on connect
And separate serverbrowser from gameconsole
2021-07-19 04:05:54 -07:00
IcePixelx
b98f1c94a3 re-named console variables. 2021-07-18 17:38:59 +02:00
IcePixelx
5191a24d37 Added GameGlobals, Re-factored overlay.cpp. 2021-07-18 17:34:15 +02:00
IcePixelx
51f5a29541 Added FrameStageNotify hook, Added CHostState class, Added CHLClient Class 2021-07-18 02:16:16 +02:00
IcePixelx
8aee8712a2 Updated PatternScan and added more gameclasses. 2021-07-15 16:33:13 +02:00
Amos
ae865cafae Hook EngineError(..) 2021-07-12 08:47:54 -07:00
Amos
4f80dbba19 Fixed several issues
* Fixed clientcommand codecallback
* Fixed engine crash on connect command execution
* Disabled automated connect command execution when starting listen server
*Rson files now load from the disk if they are present on the disk
2021-07-09 06:18:07 -07:00
Amos
02c02f53b0 Update detours to S3 N1094
Update project to build R5pc_r5launch_N1094_CL456479_2019_10_30_05_20_PM
2021-07-03 08:18:57 -07:00
Amos
6700343e2e Light cleanup + Improvements
* Cleanup unused stuff
* Make codeblock segmentation bigger
* Overlay improvements
2021-06-19 07:18:39 -07:00
Amos
62a0b5cebb Improvements to GameConsole class
* Improvements to GameConsole quality

* Add post-build events for renaming release executables to allow debugging "Debug" and "Release" from the same install

* Segmentate codeblocks for easier reading and scrolling
2021-06-17 17:07:26 -07:00
Amos
cb0e72fc0a Forward console output to in-game console
Light cleanup. Hook RSON loading for debugging and improvements for console overlay.

TODO: fix thread lock on concomand execute from Present(..)
2021-06-16 16:43:03 -07:00
Amos
584b64f0f3 Restructure R5Dev codebase 2021-06-14 17:41:20 -07:00