Jump to content

7 posts in this topic

Recommended Posts

Posted

Hi all,

 

Anyway to mod in game upgrade chances? What I'm trying to achieve is for every upgrade it either adds, doesn't take away points or is free.

 

STMFD           SP!, {R4,R10,R11,LR}
ADD             R11, SP, #8
LDR             R4, [R0,#0x18]
CMP             R4, #0
BEQ             loc_50A670
MOV             R0, R4
MOV             R1, #0
BL              sub_BCFD80
SUB             R1, R0, #1 <---------------------------------
MOV             R0, R4
MOV             R2, #0
LDMFD           SP!, {R4,R10,R11,LR}
B               sub_BCFD88

 

What I tried was replacing SUB with ADD R1, R0, #1. That did the trick visually at least, however when I go to update again it says not enough points. Does that generally mean its server side or should I go about it a different way?

 

Thanks

Posted

@TheArmQueen

 

Just tried it with SUB R1,R0,#0  still the same result.  :(

 

I wonder if this could be achieved another way by modifying the Upgrade Chance to always 100%? With public float GetUpgradeChance(int level) 

 

GNntbJ1.png

 

I'm thinking the unk offset deals with the %. The way the game works if its never been upgraded you have a 100% chance to upgrade and goes down from there to .05%. I have no idea how or if this could be modded though, just know from what tutorials I read on here, other sites and Youtube.

 

GNntKif.png

Posted
  On 10/4/2017 at 2:00 PM, CA3LE said:

@TheArmQueen

 

Just tried it with SUB R1,R0,#0  still the same result.  :(

 

I wonder if this could be achieved another way by modifying the Upgrade Chance to always 100%? With public float GetUpgradeChance(int level) 

 

GNntbJ1.png

 

I'm thinking the unk offset deals with the %. The way the game works if its never been upgraded you have a 100% chance to upgrade and goes down from there to .05%. I have no idea how or if this could be modded though, just know from what tutorials I read on here, other sites and Youtube.

 

GNntKif.png

Expand  

MOV RX,#100 ?

X being 0 , 1 , 2 , 3 or whatever 

  • Thanks 1
Posted

@TheArmQueen

 

I tried replacing MOV R1, #1 with your suggested, had no effect but not ready to give up yet. At this point I'm throwing darts blindly, will tinker with the LDR & STR instructions to see what comes about. Thank you for your suggestions :)

Posted
  On 10/4/2017 at 2:57 PM, CA3LE said:

@TheArmQueen

 

I tried replacing MOV R1, #1 with your suggested, had no effect but not ready to give up yet. At this point I'm throwing darts blindly, will tinker with the LDR & STR instructions to see what comes about. Thank you for your suggestions :)

Expand  

:) 

Posted
  On 10/4/2017 at 2:00 PM, CA3LE said:

I wonder if this could be achieved another way by modifying the Upgrade Chance to always 100%? With public float GetUpgradeChance(int level) 

 

GNntbJ1.png

 

I'm thinking the unk offset deals with the %. The way the game works if its never been upgraded you have a 100% chance to upgrade and goes down from there to .05%. I have no idea how or if this could be modded though, just know from what tutorials I read on here, other sites and Youtube.

 

GNntKif.png

Expand  

 

 

@ ZahirSher 

Does anything stand out to you that could be modded to set upgrade chance to always 100%? The few things I tried causes a crash.

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...

Important Information

We would like to place cookies on your device to help make this website better. The website cannot give you the best user experience without cookies. You can accept or decline our cookies. You may also adjust your cookie settings. Privacy Policy - Guidelines