Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > .NET Languages
You last visited: Today at 17:58

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



MSIL Unity C# runtime edit

Discussion on MSIL Unity C# runtime edit within the .NET Languages forum part of the Coders Den category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Dec 2009
Posts: 101
Received Thanks: 167
Question MSIL Unity C# runtime edit

in .NET Reflector i have this:
C#
Code:
  
array.Push("Loot1");
IL
Code:
ldloc.s array
ldc.i4 0x3f4a
call string Assembly-UnityScript.EmulatorDictionary::BatchBuildPartition(int32)
callvirt instance int32 [UnityScript.Lang]UnityScript.Lang.Array::Push(object)
How can I change the memory at runtime to Push "Loot2"?
I can do it with ldstr if i have the address but how do I inject the string that I need in memory?

ps: I can't edit files (browser-game) .. I use CheatEgine and worked great until now :/
3t3r4n is offline  
Old 07/03/2015, 22:55   #2

 
snow's Avatar
 
elite*gold: 724
Join Date: Mar 2011
Posts: 10,480
Received Thanks: 3,319
Arrow General Coding -> .NET Languages

#moved…
snow is offline  
Reply


Similar Threads Similar Threads
[.Net/MSIL] XOR encryption
01/28/2014 - Coding Snippets - 2 Replies
Sollte selbsterklärend sein, zwei byte arrays rein, eins raus .method public static uint8 xorit (uint8 input, uint8 key) cil managed { .locals init( int32 i, int32 a, int32 b )
[.Net/MSIL] uint8/byte - bit rotate
01/21/2014 - Coding Snippets - 0 Replies
Weil .Net mich weder in VB noch C# code kompilieren lässt mit welchem ich Bits in nem Byte Rotieren kann, einfach in msil gebaut und passt. .assembly BitShifter {} .module BitShifter.dll .namespace Converter { .class public auto ansi BitShifter extends System.Object { .method public static uint8 RotateLeft(uint8 'value', uint32 count) cil managed
[Problem]Microsoft Visual C++ Runtime Library Runtime Error!
08/08/2013 - Metin2 Private Server - 2 Replies
Hi All I'have problem with my client when i'm warp to map or login or logout or play in game game close and say Microsoft Visual C++ Runtime Library Runtime Error! img:
Inline MSIL in C# and Generic Pointers
08/12/2012 - CO2 Programming - 2 Replies
I thought I'd share this here :) Inline MSIL in C# and Generic Pointers - CodeProject More finished content from the UG, yolo.
Edit during runtime.
12/19/2010 - Dekaron - 0 Replies
I've been having issues editing the original Dekaron.exe during runtime. I can't figure out what causes the .exe to crash when edited. I've tried using memcpy, and WPM both have caused the .exe to crash instantly. I've noticed editing the unpacked exe during runtime causes no crashes though. If anyone knows the reason for this, please let me know :).



All times are GMT +2. The time now is 17:58.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.