45 Commits

Author SHA1 Message Date
r-ex
7f86722116
changed paint hook for logsystem and fixed some issue (#58)
* changed paint hook

* Update gameclasses.cpp

* fixed vector issue with logsystem (i think)
2021-10-20 18:04:21 +02:00
rexx
ea336277bd base logsystem 2021-10-05 20:56:31 +01:00
IcePixelx
17d45a02aa Read description for changes.
* Completely re-wrote the DirectX creation and hooks.
* Using spdlog mostly everywhere now.
* Added prints for when compiled in debug.
* Using LockCursor now to prevent input to the game while in the gui.
* Patched the game to call CMatSystemSurface::LockCursor instead of it calling the inlined version.
* Added rebuild CHostState::FrameUpdate (Not finished yet)
* Added option to print to command prompt again.
* Added log Auto-Clear.
* Added scan for NetChan Encryption Key Pointer.
* Added more error handling when loading gui config.
2021-10-05 00:25:58 +02:00
Александр Герман
d08387d9ba
static link debug (#53) 2021-09-16 12:42:05 +02:00
r-ex
25c5a5c9af
custom native ui & client script functions (#52)
* custom native ui & client script functions

* spacing is hard

* sq_pushbool, sq_pushstring, sq_getstring, sq_getinteger

* sq_pushinteger, sq_newarray, sq_arrayappend, sq_newtable, sq_newslot

* Re-factored code.

Co-authored-by: IcePixelx <41352111+PixieCore@users.noreply.github.com>
2021-09-14 17:25:22 +02:00
IcePixelx
2da6d71fb3 Alot of changes read description
* Ban list added
* Playlist parser added
* Kick functions added
* Connect uses encryption keys now
* Fixed restricted server commands
2021-09-08 00:32:03 +02:00
IcePixelx
8496ccc417 Read description for changes!
* Parsing playlist from keyvalues now.
* When hosting a server it will ask for a playlist to be chosen.
* Load playlist on demand into memory.
* Load playlist from disk.
* Added LoadPlaylist hook to clear the MapVPKCache that causes crashes with launchplaylist concommand
* KeyValues class is useable now.
2021-08-20 23:40:44 +02:00
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
3c641687f1 Fix post-build for r5dev debug compilation. 2021-08-17 22:17:58 +02:00
IcePixelx
01d3be4c66 Prebuild event for debug dll. 2021-08-16 16:32:28 +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
4e261f788a Went over pr and added GetExportedFunction to address.h 2021-08-14 01:56:05 +02:00
Alex
d77878d638 Merge commit 2021-08-13 23:00:54 +03:00
Alex
5e3e8d5a5f Fixed prev commit (mostly) 2021-08-13 22:57:47 +03:00
Alex
ed36428cbb Separated web requests to comp-sv into r5net (new project); commit is not functional 2021-08-12 14:51:20 +03:00
IcePixelx
443d3fcc15 added filesystemwarning hook, commented and not doing anything yet 2021-08-08 22:32:30 +02:00
Amos
540ce8d2b0 Split CCompanion and CGameConsole into separate implementations 2021-08-06 18:12:07 -07:00
IcePixelx
5d9699efe3 Added minhook compile project. 2021-08-06 16:30:57 +02:00
IcePixelx
ea2e07a0f1 Merge branch 'master' into pr/19 2021-07-31 16:12:27 +02:00
IcePixelx
d47996821c Switched hooking lib for r5-dev and r5-dedicated. Refactored code base. 2021-07-27 23:08:20 +02:00
alexsandulescu
fc197e727e Merge remote-tracking branch 'upstream/master' 2021-07-26 23:40:36 +03:00
Amos
f02bc8a5fd Fixed small oversight 2021-07-26 05:58:49 -07:00
Amos
d45e6446df Initial project setup for dedicated server
* Move shared utils to shared directory
* Partial cleanup of existing codebase
* Add precompiled header for debug configurations
2021-07-26 03:32:37 -07:00
alexsandulescu
a6e88f62d5 Initial UI design for private servers connect 2021-07-24 20:37:26 +03:00
alexsandulescu
b473d23f7d Refactored companion to use same serverlisting class used for external servers to keep its internal hosting state 2021-07-24 19:55:23 +03:00
IcePixelx
b3d5b5c2ad Switched to precompiled headers, compile time is very fast now. 2021-07-19 15:45:42 +02:00
IcePixelx
5191a24d37 Added GameGlobals, Re-factored overlay.cpp. 2021-07-18 17:34:15 +02:00
alexsandulescu
5f85c0510d Merge remote-tracking branch 'upstream/master' 2021-07-16 23:12:20 +03:00
IcePixelx
33ba9ed11f Added CInputSystem Interface and use a different method of disabling game input. 2021-07-13 18:38:48 +02:00
alexsandulescu
55ec44b584 Merge remote-tracking branch 'upstream/master' 2021-07-13 00:40:30 +03:00
Amos
13f7c1e673 Update lib paths 2021-07-10 12:27:10 -07:00
alexsandulescu
0e2eab438e Fixed my shit 2021-07-09 22:27:32 +03:00
Amos
468fa73dfc Refactor hexdump utility 2021-07-08 11:45:03 -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
869e60af66 Initialize input hooks 2021-06-19 11:21:31 -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
d424c75081 Refactor D3DX11 hook + implement ResizeBuffer handler
Destroy/release objects and recreate render view target on resolution change of the application
2021-06-16 16:12:53 -07:00
Amos
341d8fc638 Implement DirectX hook + ImGui console
/* PROTOTYPE */
2021-06-14 17:58:48 -07:00
Amos
003454d659 Implement Imgui files 2021-06-14 17:42:11 -07:00
Amos
584b64f0f3 Restructure R5Dev codebase 2021-06-14 17:41:20 -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
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
f6b1e8afac Initial Commit. 2021-04-13 04:45:22 -07:00