IcePixelx 6af81622b7 Squashed commit of the following:
commit 906dff5aa4
Author: IcePixelx <41352111+PixieCore@users.noreply.github.com>
Date:   Fri Aug 20 12:37:09 2021 +0200

    Update r5net.cpp

commit 4f463eb446
Author: IcePixelx <41352111+PixieCore@users.noreply.github.com>
Date:   Fri Aug 20 12:26:32 2021 +0200

    Fixed error message parsing in r5net.

commit 64aa6e7f97
Author: IcePixelx <41352111+PixieCore@users.noreply.github.com>
Date:   Thu Aug 19 14:48:31 2021 +0200

    Fixed prints.

commit bb4b4d7636
Author: IcePixelx <41352111+PixieCore@users.noreply.github.com>
Date:   Thu Aug 19 14:46:22 2021 +0200

    Added shortcut with launch params.

commit 962afa215e
Author: IcePixelx <41352111+PixieCore@users.noreply.github.com>
Date:   Thu Aug 19 14:35:30 2021 +0200

    Wrong return.

commit 0e171fca6a
Author: IcePixelx <41352111+PixieCore@users.noreply.github.com>
Date:   Thu Aug 19 14:32:52 2021 +0200

    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.

commit 70b4c02a9a
Author: IcePixelx <41352111+PixieCore@users.noreply.github.com>
Date:   Thu Aug 19 01:27:44 2021 +0200

    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

commit 06127dee1d
Author: BobTheBob <32057864+BobTheBob9@users.noreply.github.com>
Date:   Wed Aug 18 23:17:51 2021 +0100

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

commit a3025e76de
Author: Marcii0 <58266292+Marcii0@users.noreply.github.com>
Date:   Thu Aug 19 00:17:18 2021 +0200

    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>

commit bbd58bba75
Author: IcePixelx <41352111+PixieCore@users.noreply.github.com>
Date:   Tue Aug 17 23:18:35 2021 +0200

    Fixed potential crashes in r5net and added debug prints.

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

commit 3558eb9c48
Author: IcePixelx <41352111+PixieCore@users.noreply.github.com>
Date:   Tue Aug 17 23:11:29 2021 +0200

    Removed un-used define in hooks.h

commit 54cdb2fb61
Author: IcePixelx <41352111+PixieCore@users.noreply.github.com>
Date:   Tue Aug 17 23:04:53 2021 +0200

    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.

commit 7e7717ff68
Author: IcePixelx <41352111+PixieCore@users.noreply.github.com>
Date:   Tue Aug 17 23:03:21 2021 +0200

    Added new patterns to the print function.

commit 768f2341f1
Author: IcePixelx <41352111+PixieCore@users.noreply.github.com>
Date:   Tue Aug 17 23:02:14 2021 +0200

    Added separate function to resolve relative addresses in address.h
2021-08-20 12:38:22 +02:00
2021-08-19 15:26:44 +02:00
2021-08-19 15:26:44 +02:00
2021-08-19 15:26:44 +02:00
2021-08-20 12:38:22 +02:00
2021-08-19 15:26:44 +02:00

Note [Important]

This is not a cheat or hack. Do not attempt to use this on the latest version of the game

Apex

APEX Legends / R5 Server Engine research

  • Detours-based Visual Studio project for hooking the game engine

R5Dev

Instructions are kinda outdated. Will be updated soon.

To use the vs project / engine hooking, here are some basic instructions:

  1. Build the solution
    • or get the binaries from the releases page of this repo
  2. Copy r5detours.dll and launcher.exe to the apex game folder
  3. Copy the unpacked version of r5apex.exe over the original in your game folder
  4. Run launcher.exe

The game will pop a debug terminal, that will forward your commands directly to the in-game source console backend. SQVM prints are also enabled, and the hooks will attempt to load game vscripts out of platform\ relative from the game executable before falling back to the SearchPath's defined in GameInfo.txt or the in-memory VPK structures.

R5Net DISCLAIMER

When hosting to the Server Browser (R5Net) you will stream your IP to that database which will be stored there till you stop hosting the server.

This is NEEDED so you can even connect to other players servers.

There is a Checkbox that is by default disabled that allows you to stream to the server browser.

If you tick that and don't assign a password your server will be visible in the server browser.

But if you assign a password you will get a token as a response and a password and it won't be visible in the server browser.

People can join with that over the "Private Servers" button.

If you do that your IP will still be stored on the database till you stop hosting the server to ensure people can connect.

Alternative way is just to host the server without ticking the server browser checkbox and just give the people you want to connect the IP including the port.

TL;DR If you tick the server browser box in "Host Server" your IP will be stored till you close the server.

Description
No description provided
Readme 65 MiB
Languages
C++ 84.8%
C 13.8%
CMake 1.1%
Batchfile 0.2%