[REQ] Elderborn

Ask about cheats/tables for single player games here
User avatar
cfemen
RCE Fanatics
RCE Fanatics
Posts: 907
Joined: Fri Feb 15, 2019 5:45 pm
Reputation: 1853

Re: [REQ] Elderborn

Post by cfemen »

FlipFloppy wrote:
Sat Feb 08, 2020 1:09 pm
XP is float. Also it's signed 32 bit so max is ~2 billion. I set it to 999 billion, it went negative, but then I could level up forever, so I did. Went right up to lvl 500 on damage and HP. Speed is just ridiculous when you go above lvl 25 or something.

The only thing I'd want is the click-and-hold crap to add points into skills. It gets tedious to add 500 points. I want to use my mouse repeat macros. I think I could do it with dnspy, but I'd need to know what to modify in there. Anyways, that's all I'd want.
use the console and you can set any value for power/speed/resilience :D

Image

HowTo:

-open the table
-now start the game
-tab out of the game
-open game process
-activate Mono Init
-wait some secs
-activate Unlock Debug
-tab back to the game and let it load to the main menu

now look at my table and if the Status value is Success then it worked -> load a save and press BackQuote to open the console.
help = list of all commands.
Attachments
Elderborn.CT
(8.88 KiB) Downloaded 70 times

gideon25
Table Makers
Table Makers
Posts: 1391
Joined: Mon Mar 20, 2017 1:42 am
Reputation: 2355

Re: [REQ] Elderborn

Post by gideon25 »

cfemen wrote:
Sat Feb 08, 2020 1:37 pm
FlipFloppy wrote:
Sat Feb 08, 2020 1:09 pm
XP is float. Also it's signed 32 bit so max is ~2 billion. I set it to 999 billion, it went negative, but then I could level up forever, so I did. Went right up to lvl 500 on damage and HP. Speed is just ridiculous when you go above lvl 25 or something.

The only thing I'd want is the click-and-hold crap to add points into skills. It gets tedious to add 500 points. I want to use my mouse repeat macros. I think I could do it with dnspy, but I'd need to know what to modify in there. Anyways, that's all I'd want.
use the console and you can set any value for power/speed/resilience :D

HowTo:

-open the table
-now start the game
-tab out of the game
-open game process
-activate Mono Init
-wait some secs
-activate Unlock Debug
-tab back to the game and let it load to the main menu

now look at my table and if the Status value is Success then it worked -> load a save and press BackQuote to open the console.
help = list of all commands.
How did you find out it was a back quote key that enabled the menu? I've seen several debug menus in mono games but was unsure where to look for the key(s) that actually open the menu once I try to figure out where to enable it. Thanks!

User avatar
cfemen
RCE Fanatics
RCE Fanatics
Posts: 907
Joined: Fri Feb 15, 2019 5:45 pm
Reputation: 1853

Re: [REQ] Elderborn

Post by cfemen »

gideon25 wrote:
Sun Feb 09, 2020 5:26 pm

How did you find out it was a back quote key that enabled the menu? I've seen several debug menus in mono games but was unsure where to look for the key(s) that actually open the menu once I try to figure out where to enable it. Thanks!

InputManager:PlayerInput checks the console key with a instance of InputAction.KeyDown and executes the delegate to toggle the console.
you can either check it with cheat engine or other mono dissassembler:
Image

value = ctrl_console
keyCode 96 = 0x60 = default BackQuote

//

note : every game is different, Elderborn is very easy in 2 steps:
-find the debug check
-find the debug key (look for the inputs)

sometimes you cant find any keys like in Vampire Fall Origins they use UI Buttons which are disabled at default.
then you need to search for the UI Button or write something to call the Debug-UI functions.

and games like Hades completly removes the code to call the function, so you also need to rewrite it.
as example:
viewtopic.php?f=2&t=8378&p=121562#p121562

//

edit:
btw just few tips for you (i looked at your Elderborn table)

mono_initialize()
LaunchMonoDataCollector()

you dont need both, LaunchMonoDataCollector() is enough.

and you dont need to call it for every script:
a mono-main script to initialize is enough :)

Unlimited Phials (open character screen before activating):

you dont need 2 injects at the same function
set_CurrentNumberOfUses(int _currentNumberOfUses):
RCX = Instance _PlayerPhialController
RDX = int _currentNumberOfUses

inject at the prologue and manipulate EDX = 1 inject same effect

if you are also inject at PlayerPhialDrawState:OnPlayerStateEnter to manipulate the test eax,eax you can do a "Ignore Phials"

complete script:

Code: Select all

define(address,Hyperstrange:PlayerPhialController:set_CurrentNumberOfUses)
define(bytes,55 48 8B EC 57)

[ENABLE]

aobscanregion(aobPhio,Hyperstrange:PlayerPhialDrawState:OnPlayerStateEnter,Hyperstrange:PlayerPhialDrawState:OnPlayerStateEnter+500,7F ** 49) // should be unique

aobPhio-2:
  db 39 D8

registersymbol(aobPhio)

assert(address,bytes)
alloc(newmem,$1000,Hyperstrange:PlayerPhialController:set_CurrentNumberOfUses)

label(code)
label(return)

newmem:

code:
  push rbp
  mov rbp,rsp
  push rdi
  cmp edx,0
  jg @f
  xor edx,edx
  @@:
  jmp return

address:
  jmp newmem
return:

[DISABLE]

aobPhio-2:
  db 85 C0
if activ you can heal always regarless of the amount.

gideon25
Table Makers
Table Makers
Posts: 1391
Joined: Mon Mar 20, 2017 1:42 am
Reputation: 2355

Re: [REQ] Elderborn

Post by gideon25 »

Nice, appreciate the info! Its difficult to find specific info like this.

Post Reply

Who is online

Users browsing this forum: Alwon, DeathxShinigami, Netron