WinkOutdatedUnturned Assembly Instructions List

Posts 3145 of 153 · Page 3 of 11
I cant find all the classes with an "_" in the name... just white boxes in the names, so i cant do godmode, no thirst,....
All the sickness water etc is in LIFE then open the "int32" folders (or what youd like to call it)
yo how u change the operand type D;
It wont let me change it to brtrue for the group esp bcuz it Says you don't have coherance check the opcode and operand
Or something like that
Please give a video tutorial because it would make this so much easier. Thanks
How to put infinite server slots
Kunii and the Server limit players thingy how to edit that?
I NEED HELP
Quote Originally Posted by Kunii View Post
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



I Need help on DotNet Resolver Where do i find classes and Instructions ? I'm not so good with These type of things, so i'd appreciate help
Quote Originally Posted by bicumanu View Post
I Need help on DotNet Resolver Where do i find classes and Instructions ? I'm not so good with These type of things, so i'd appreciate help
This was never intented as a tutorial. Go check out xCyberxx's thread if you want a proper tutorial.
some download this please
How does one edit the Operand Type?

Edit: Use .NET reflector.

Much better.
Quote Originally Posted by mm#%^%Yhaerghaer View Post
Here's where it's actually located.

Does anyone know how to edit the text "Welcome back to Unturned"?

Greatly appreciate any responses.
Go to the same void as gold & search for "Welcome" there
Can you find out how to make it so when you are low health your screen doesnt shake while holding a gun, it makes it hard to snipe.
Posts 3145 of 153 · Page 3 of 11
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Need help?