Solved How to get unlimited hp/God mode

Status
Not open for further replies.

DieckyAwsm

Platinian
Original poster
Feb 23, 2022
22
3
3
27
Indonesia
How to making unlimited health player?

I don't know but I getting this fields:
• private bool <isChangeHP>k__BackingField; // 0x28
• private int _maxHP; // 0x2C
• private int _curHP; // 0x30
• private int _regHP; // 0x34
 

·҉ dollaz·҉. .

Approved iModder
Approved iModder
Mar 26, 2021
159
1,824
193
Somewhere
Im not gonna give code because then you don't learn anything but you need to hook an update function in the class or a class that has access to these fields. Then set a pointer to it. I would also look for an isMine function in case the two players are linked
 
  • Like
Reactions: NullCoder

DieckyAwsm

Platinian
Original poster
Feb 23, 2022
22
3
3
27
Indonesia
Im not gonna give code because then you don't learn anything but you need to hook an update function in the class or a class that has access to these fields. Then set a pointer to it. I would also look for an isMine function in case the two players are linked
So how to making unlimited health player? This is methods related fields

// RVA: 0xFEFEE8 Offset: 0xFEFEE8 VA: 0xFEFEE8
public void set_isChangeHP(bool value) { }
// RVA: 0xFEFEF4 Offset: 0xFEFEF4 VA: 0xFEFEF4
public int get_maxHP() { }
// RVA: 0xFEFEFC Offset: 0xFEFEFC VA: 0xFEFEFC
public void set_maxHP(int value) { }
[CompilerGeneratedAttribute] // RVA: 0xD37EAC Offset: 0xD37EAC VA: 0xD37EAC
// RVA: 0xFEFF0C Offset: 0xFEFF0C VA: 0xFEFF0C
public int get_oldHp() { }
[CompilerGeneratedAttribute] // RVA: 0xD37EBC Offset: 0xD37EBC VA: 0xD37EBC
// RVA: 0xFEFF14 Offset: 0xFEFF14 VA: 0xFEFF14
private void set_oldHp(int value) { }
// RVA: 0xFEFF1C Offset: 0xFEFF1C VA: 0xFEFF1C
public int get_curHP() { }
// RVA: 0xFEFF24 Offset: 0xFEFF24 VA: 0xFEFF24
public void set_curHP(int value) { }
// RVA: 0xFEFF3C Offset: 0xFEFF3C VA: 0xFEFF3C
public int get_regHP() { }
// RVA: 0xFEFF44 Offset: 0xFEFF44 VA: 0xFEFF44
public void set_regHP(int value) { }
 

Raebydett

Awesome Active Platinian
Jan 20, 2020
176
62
28
G

Yaskashije

PMT Elite Modder
Staff member
Modding-Team
Sep 9, 2018
4,384
850,432
1,213
Minkowski Space
So how to making unlimited health player? This is methods related fields

// RVA: 0xFEFEE8 Offset: 0xFEFEE8 VA: 0xFEFEE8
public void set_isChangeHP(bool value) { }
// RVA: 0xFEFEF4 Offset: 0xFEFEF4 VA: 0xFEFEF4
public int get_maxHP() { }
// RVA: 0xFEFEFC Offset: 0xFEFEFC VA: 0xFEFEFC
public void set_maxHP(int value) { }
[CompilerGeneratedAttribute] // RVA: 0xD37EAC Offset: 0xD37EAC VA: 0xD37EAC
// RVA: 0xFEFF0C Offset: 0xFEFF0C VA: 0xFEFF0C
public int get_oldHp() { }
[CompilerGeneratedAttribute] // RVA: 0xD37EBC Offset: 0xD37EBC VA: 0xD37EBC
// RVA: 0xFEFF14 Offset: 0xFEFF14 VA: 0xFEFF14
private void set_oldHp(int value) { }
// RVA: 0xFEFF1C Offset: 0xFEFF1C VA: 0xFEFF1C
public int get_curHP() { }
// RVA: 0xFEFF24 Offset: 0xFEFF24 VA: 0xFEFF24
public void set_curHP(int value) { }
// RVA: 0xFEFF3C Offset: 0xFEFF3C VA: 0xFEFF3C
public int get_regHP() { }
// RVA: 0xFEFF44 Offset: 0xFEFF44 VA: 0xFEFF44
public void set_regHP(int value) { }

Modding libil2cpp.so games tutorial for beginners with Video Tutorial - Platinmods.com - Android & iOS MODs, Mobile Games & Apps
 
Status
Not open for further replies.