WinkOutdatedUnturned Assembly Instructions List

Posts 115 of 153 · Page 1 of 11
Unturned Assembly Instructions List
Unturned Assembly Instructions List
Last updated for Unturned v215
Note: All of the instructions listed should work for futher updates.


Misc. Info

MSIL means "Microsoft Intermediate Language". Its also known as one of the lowest-level human-readable programming language.
An instruction is.. well.. an instruction. It tells the computer what to do.
An OpCode is what the instruction refers to. It means "Operation Code", and is quite self-explanatory. It can also return a value, but doesn't need to. The opcode "ldc.i4" return an integer, therefor it needs a value. The opcode "ret" simply returns something specified in other instructions above, the opcode itself doesn't have a value.


Requirements

A MSIL editor (.NET Reflector + ReflexIL or DotNet Resolver)
A brain (Very important)



How to use

1. Fire up your MSIL editor
2. Go to said class
3. Go to said instruction
4. Modify said instruction
5. Save & Close



Instruction list

Bag capacity - BagSize.getCapacity
Delete all.
Add - OpCode ldc.i4, Operand type int32, value 20000
Add - OpCode ret
Change 20000 to whatever capacity you want.

Bag size - BagSize.getHeight
Delete all.
Add - OpCode ldc.i4, Operand type int32, value 5
Add - OpCode ret
Change 5 to whatever capacity you want.

Bag size - BagSize.getWidth
Delete all.
Add - OpCode ldc.i4, Operand type int32, value 5
Add - OpCode ret
Change 5 to whatever capacity you want.

Bag size (Multiplayer) - Inventory.syncSize
Change instruction 1 to - OpCode ldc.i4, Operand type int32, value 5 - This is the width, change 5 to whatever you want
Change instruction 2 to - OpCode ldc.i4, Operand type int32, value 5 - This is the height, change 5 to whatever you want
Change instruction 3 to - OpCode ldc.i4, Operand type int32, value 20000 - This is the weight, change 20000 to whatever you want

Inf water - Life.get_water
Delete all.
Add - OpCode ldc.i4, Operand type int32, value 100
Add - OpCode ret

Inf rads - Life.get_sickness
Delete all.
Add - OpCode ldc.i4, Operand type int32, value 100
Add - OpCode ret

Inf stamina - Life.get_stamina
Delete all.
Add - OpCode ldc.i4, Operand type int32, value 100
Add - OpCode ret

Inf food - Life.get_food
Delete all.
Add - OpCode ldc.i4, Operand type int32, value 100
Add - OpCode ret

Inf hp - Life.get_health
Delete all.
Add - OpCode ldc.i4, Operand type int32, value 100
Add - OpCode ret

Inf hp - Life.set_health
Change instruction 1 to - OpCode ldc.i4, Operand type int32, value 100

No bleed - Life.tellBleeding
Change instruction 1 to - OpCode ldc.i4.0

No broken bones - Life.tellBones
Change instruction 1 to - OpCode ldc.i4.0

Inf exp - Skills.get_experience
Delete all.
Add - OpCode ldc.i4, Operand type int32, value 9001 - This is the exp value, change 9001 to whatever you want
Add - OpCode ret

Inf exp - Skills.set_experience
Change instruction 1 to - OpCode ldc.i4, Operand type int32, value 9001 - This is the exp value, change 9001 to whatever you want

No recoil - GunStats.getRecoil_Y
Delete all.
Add - OpCode ldc.r4, Operand type single, value 0
Add - OpCode ret

No recoil - GunStats.getRecoil_X
Delete all.
Add - OpCode ldc.r4, Operand type single, value 0
Add - OpCode ret

No spread - GunStats.getSpread
Delete all.
Add - OpCode ldc.r4, Operand type single, value 0
Add - OpCode ret

Fast ROF - GunStats.getROF
Delete all.
Add - OpCode ldc.r4, Operand type single, value 0,1 - This is the rate of fire, change 0,1 to whatever you want.
Add - OpCode ret

Infinite electricity - Electricity.checkPower
Delete all.
Add - OpCode ldc.i4.1
Add - OpCode ret

Speedhack when crouched - Movement.cctor (Static constructor)
Change instruction 4 to - OpCode ldc.r4, Operand type single, value 5 - This is the crouchspeed, change 5 to whatever you want.

Group ESP - HUDGame.? (The void called in HUDGame.OnGUI)
Change instruction 58 to - OpCode brtrue, DO NOT EDIT THE TYPE OR VALUE
Change instruction 69 to - OpCode ldc.r4, Operand type single, value 1000 - This is the esp range, change 1000 to whatever you want.

Gold hack - Database.? (The only void)
Change instruction 37 to - OpCode ldc.i4, Operand type int32, value 304930

If you use this, and release a hack, please reference this thread in the credits

Nice list. This will make the end of Assembly-CSharp hacking a hell =p
Quote Originally Posted by xCyberxx View Post
Nice list. This will make the end of Assembly-CSharp hacking a hell =p
It was already going down-hill. I did this so people would stop bugging me & everyone else to update their hack. And so (hopefully) people would learn something
Quote Originally Posted by Kunii View Post
It was already going down-hill. I did this so people would stop bugging me & everyone else to update their hack. And so (hopefully) people would learn something
You basicly just added all other hack to my tutorial. Nice one dude! Assembly will prob be dead in a week.
ummmmm awesome
give please screenshot's.
Some instructions how to make item spawner?
THANKS <3 this is the thread that should end all noobs. But you still get fucktards that can't read and/or write.
I dont exactly know how to edit an Instruction, but I clearly understood it all. If you can help me some. (I have a brain)
All beautifully but I can not find get_experience
Editing the group ESP in doesn't work since when I open the Void OnGUI all I see are 3 lines and not like 70 lines. I tried both programms but boh yield same results, do I have to do anything else ?
Just barely started learning about edits, this helped me a LOT.
Thanks dude.


Quote Originally Posted by Blacktoblue View Post
Editing the group ESP in doesn't work since when I open the Void OnGUI all I see are 3 lines and not like 70 lines. I tried both programms but boh yield same results, do I have to do anything else ?
EDIT 2: Nevermind, found it.
http://puu.sh/ahl77/4446e06f12.png
How would one make a semi auto gun like the swiss full auto?
Posts 115 of 153 · Page 1 of 11
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Need help?