2387 Commits

Author SHA1 Message Date
IcePixelx
c89c7c9c6b Removed native console logging, logging to file and imgui console now. 2021-08-30 17:52:10 +02:00
IcePixelx
9adbbcdae6 Reverted till i find a proper fix. 2021-08-23 23:07:03 +02:00
IcePixelx
dc635415aa Fixed crash when starting server. 2021-08-23 22:49:47 +02:00
IcePixelx
880adbf800 Fixed bug with custom maps. 2021-08-21 00:24:34 +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
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
b3ea6c9c94 Check if script checksum is valid. 2021-08-15 01:00:39 +02:00
IcePixelx
755fa46ea4 You shall not clear the string. 2021-08-14 23:53:18 +02:00
IcePixelx
ef69bbb947 Update CCompanion.cpp 2021-08-14 23:02:59 +02:00
IcePixelx
4b905325e6 added remote_checksum to postreq. 2021-08-14 23:02:50 +02:00
Alex
7d0383c3f1
Merge branch 'Mauler125:master' into master 2021-08-14 23:37:34 +03:00
Alex
0b516d3dc3 Readded possibility to change comp-server connstring 2021-08-14 23:37:22 +03: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
4ebc191a6a Fixed missing brace lol 2021-08-14 02:30:41 +03: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
IcePixelx
8d11dd6495 Removed padding, compiler takes care of those. 2021-08-13 16:24:23 +02:00
IcePixelx
028ef8b5ab Fixed RUI resizing. 2021-08-13 16:24:09 +02:00
IcePixelx
2ec2ace1b6 Forgot to add unhook comment. 2021-08-13 15:39:16 +02:00
IcePixelx
ef4a2f806f Fixed fullscreen issue with dx hook. Fixed tables crash. 2021-08-13 15:37:43 +02: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
9f55f22b58 Added ConVar/Command dumper to log. 2021-08-12 01:42:10 +02:00
PixieCore
cc8ef88e03
Merge pull request #25 from r-ex/master, add newline for NET_PrintFunc on wconsole 2021-08-09 18:16:18 +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
rexx
ebc10a9769 add newline for NET_PrintFunc on wconsole 2021-08-09 11:16:30 +01:00
IcePixelx
443d3fcc15 added filesystemwarning hook, commented and not doing anything yet 2021-08-08 22:32:30 +02:00
IcePixelx
983172006b code clean up 2021-08-08 22:13:54 +02:00
Amos
540ce8d2b0 Split CCompanion and CGameConsole into separate implementations 2021-08-06 18:12:07 -07:00
Amos
c329405ae8 Extra logger optimizations 2021-08-06 17:22:45 -07:00
Amos
92673caebd Optimize sqvm and net logger 2021-08-06 14:43:52 -07:00
IcePixelx
81b90a28ab fixed debug compilation fully now. 2021-08-06 22:52:14 +02:00
IcePixelx
5d9699efe3 Added minhook compile project. 2021-08-06 16:30:57 +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
Amos
8cd970b6bd
Merge pull request #20 from r-ex/master
script print VM prefixes (external console only)
2021-08-03 10:31:28 -07:00
IcePixelx
50a37735b1 Added interface struct, Enabled DevMode by default. 2021-08-03 17:32:40 +02:00
rexx
ab55d08649 script print VM prefixes (external console only) 2021-08-03 14:28:50 +01:00
IcePixelx
2b7d4f45fb Switched button position. 2021-07-31 16:58:45 +02:00
IcePixelx
8004ee4db3 Added more Server Host Utils. 2021-07-31 16:51:06 +02:00
IcePixelx
ea2e07a0f1 Merge branch 'master' into pr/19 2021-07-31 16:12:27 +02:00
IcePixelx
19737af4d0 Cleaned up the token implementation, fixed crash vectors. 2021-07-31 16:09:48 +02:00
IcePixelx
a9e8557af6 fix input disabling. 2021-07-28 13:06:18 +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
1f2578a6a8 Remove stb image dependency 2021-07-26 23:40:50 +03:00
alexsandulescu
fc197e727e Merge remote-tracking branch 'upstream/master' 2021-07-26 23:40:36 +03:00
alexsandulescu
550277334c TEMPORARY STORING PRIVATE SERVERS ICON IN CHAR ARRAY I KNOW IT LOOKS LIKE SHIT BUT IMMA DO RESOURCES AT SOME POINT OKAY? 2021-07-26 22:55:57 +03:00
Amos
f02bc8a5fd Fixed small oversight 2021-07-26 05:58:49 -07:00