Modding Unity & Its Dll's: Starter Pack + Tutorial

Single = ldc.r4 >>> double = ldc.r8
int32 = ldc.i4 >>> int64 = ldc.i8
try to return one of those values
and for Void + boolean i've explained some of it here read this thread
https://androidrepublic.org/forum/threads/how-to-edit-void-boolean-entries-on-net-reflector.21173/
for cash you may want to look in SpendCash then look for a SUB OpCode assuming it's there .. and change it to Add OpCode so instead of decreasing on spending cash it will increase .. good luck
thanxs brah i think im understanding so if it calls to lets say get_cash ill delete everything leavint the call an ret funtion and create icr.4 int32 9999999999.???
 
thanxs brah i think im understanding so if it calls to lets say get_cash ill delete everything leavint the call an ret funtion and create icr.4 int32 9999999999.???
ya
ldc.i4 999999
ret
so that will return the value for ldc.i4 ... but u must make sure the function you editing is using same OpCode if it's single then u use ldc.r4 if int32 u use ldc.i4 ...etc
 
ya
ldc.i4 999999
ret
so that will return the value for ldc.i4 ... but u must make sure the function you editing is using same OpCode if it's single then u use ldc.r4 if int32 u use ldc.i4 ...etc
Okay got it thanks bro...its been so long since i have done any coding the last bit of coding i did was cod MW2 and 3 with lobbies and i was the first to mod borderlands 2 on the 360 360Haven thank you tho new to this apk stuff have to do a lot of studying
 
ya
ldc.i4 999999
ret
so that will return the value for ldc.i4 ... but u must make sure the function you editing is using same OpCode if it's single then u use ldc.r4 if int32 u use ldc.i4 ...etc
Ok how do i fix this error
Capture4.webp
 
Ok how do i fix this error [Attachment removed from Quotes]
Have you loaded all Assemblies inside .net reflector this may happened because Assembly-Csharp has a reference to other assemblies and can't be saved because it can't find them .. if that still happen after loading all assemblies try to save it with different name
 
Have you loaded all Assemblies inside .net reflector this may happened because Assembly-Csharp has a reference to other assemblies and can't be saved because it can't find them .. if that still happen after loading all assemblies try to save it with different name
OK so i'm having trouble with installing after i signed it here are the pics of how i sign it
Capture12.webp
Capture11.webp
Capture13.webp
i choose sign and i get this
Capture6.webp
on install to bluestacks am i suppose to pick Recompile, Sign And Then Zipalign instead thanks again for all the help..
 
doesn't matter really if your apk is signed .. try zipsigner for android to sign apk and try to install it
Hey bro i got it to work thanks a million after searching the codes and everything i found one file that had all calls which are the main to the game so instead of searching get_cash and all i did a simple search in string, the game starts out giving you money which is a plus cause it makes it easy to find a large number per-say. So 25000 is what i searched found it changed it to 99999999 and it worked in the same script theirs gold and more just need to pay attention to the calls so i edit the rite one. Now with that said still have to search xp but for now that works just trying to figure out how to match the script with the lines is there a easy way to set up reflector to show the line as highlighted
gamestats1.webp
gamestats2.webp
gamestats3.webp
gamestats4.webp
 
doesn't matter really if your apk is signed .. try zipsigner for android to sign apk and try to install it
Dude i figured it out never mind fucking awesome lol......now how do i put my name in the game as the person who modded it
 
signature does not match after Signing the APK File, can someone help me with this? I tried getting the working signature string that is in the config dot xml file and replacing the wrong signature string, but again , I'm receiving the same error
 
Last edited:
plss help... cannot edit my assamblyScrap.dll ... got a massage =
file is not a portable executable. DOS header does not contain 'MZ' signature.
 
Only been modding Unity for a couple of weeks so this is as indepth as I can manage at the mo but it will allow someone to get to grips with very basic modding :)

If someone knows how to Mod the unlimited Fury posting that would be great as I wouldnt mind knowing myself, I understand some of the code but not enough just yet..
Why is it that even though i follow all the instruction i always got that null token notice at the end after i replaced the CS.dll and when i'm finished signed it and installed, it only give me blank space after i enter?
 
null token notice, during signing? make sure you rebuild assembly correctly (ex have all dependant dlls loaded in reflector or w/e you use) and rebuild/resign. if its not the null token from signing/building need more detail, also research NET strong name signature, that might pertain to your issue
 
null token notice, during signing? make sure you rebuild assembly correctly (ex have all dependant dlls loaded in reflector or w/e you use) and rebuild/resign. if its not the null token from signing/building need more detail, also research NET strong name signature, that might pertain to your issue
i already pm u for this^^
 
Back
Top Bottom