16 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
5d9699efe3 Added minhook compile project. 2021-08-06 16:30:57 +02:00
Amos
20e74f6718 Add launch params for launcher 2021-08-01 02:25:29 -07:00
Amos
ae865cafae Hook EngineError(..) 2021-07-12 08:47:54 -07:00
Amos
13f7c1e673 Update lib paths 2021-07-10 12:27:10 -07:00
Amos
54de5fed0e Add spdlog library 2021-07-08 07:07:27 -07:00
Amos
cb0bbd6c42 Move external libraries to dedicated directory 2021-07-08 07:01:02 -07:00
Amos
435c48695f Fix code errors and comments 2021-06-28 15:51:32 -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
6ad6a230ea Move to fread(...) instead for launch parameters 2021-06-16 17:03:02 -07:00
Amos
850bbc19ef Code refactor + improvents
* Move all utilities to single implementation file
* Remove unnecessary code in .cpp and .h
* Patch opcodes in runtime instead of patching raw PE file
* Move launch parameters to cfg folder instead
* Move back to pattern scan instead of hardcoded offsets
* Change langauge to new ISO C++17 standard
2021-06-08 10:54:49 -07:00
Amos
c8a682ddaa New hook for ConCommandBase::IsFlagSet(...)
Updated signatures
Code cleanup and improvements
Fixd some bugs and crashes
2021-04-25 14:36:55 -07:00
Kawe Mazidjatari
aa79120a72 Light cleanup 2021-04-16 11:06:20 -07:00
Kawe Mazidjatari
4439f513d0 Implement signature based hooking and small code cleanup
Better signatures have to be created in the future to support roughly all retail r5apex modules. Maybe also load a file from the disk containing offsets for instant hooking before falling back to sigscan
2021-04-16 14:12:39 +02:00
Kawe Mazidjatari
0550d053ec Load command line arguments from a .txt file residing next to the GameEXE 2021-04-13 05:05:29 -07:00
Kawe Mazidjatari
f6b1e8afac Initial Commit. 2021-04-13 04:45:22 -07:00