Code:
_______________________________________________________________________________________________
WHERE TO LOOK AND WHAT TO CHANGE 7DTD ASSEMBLY CHEAT SHEET
_______________________________________________________________________________________________
Creative and Debug Menu
GameManager.GL.MoveNext()
Lines 144 and 147: ldc.i4.0 >>changeto>> ldc.i4.1
Enable Entity Spawner :)
XUiC_SpawnMenu.JYH(Int32) : Void
Line 094 brfalse.s >>changeto>> brtrue.s //this likely makes you unable to use entity spawner on your own server.. but that shouldn't matter in our case :D
Still Get Achievements
AchievementUtils.IsCreativeModeActive()
"Right-Click > Delete all" and then insert OpCode ldc.i4.0 and underneath that insert OpCode ret
Map Icon Color
EntityPlayerLocal.GetMapIconColor() //I personally enjoy get_black()
Build Anywhere
World.CanPlaceBlockAt(Vector3i, PersistentPlayerData)
^.CanPlaceLandProtectionBlockAt(Vector3i, PersistentPlayerData) : Boolean
"Right-Click > Delete all" and then insert OpCode ldc.i4.1 and underneath that insert OpCode ret
DigAndBuildDistance
GameManager.KP.MoveNext()
Lines 73, 77 simply change values to 1500
Line 75 simply change value to 0.2
Compass Hack
MapObject.IsOnCompass() //Players
MapObjectSleepingBag.IsOnCompass() //SleepingBag durr
MapObjectVehicle.IsOnCompass() //OMG Vehurcle
"Right-Click > Delete all" and then insert OpCode ldc.i4.1 and underneath that insert OpCode ret
Map Hack - Show All Players
EntityPlayer.IsDrawMapIcon()
Delete all OpCodes and replace with ldc.i4.1 and ret (same as above)
SkillPoint Cost Only 1pt Per Level
Skill.GetSkillPointCost()
^.GetSkillPointCost(Int32)
//!!!MUST change both entries!!!
Delete All >> Replace with ldc.i4.1 and ret (same as above)
//NOTE: Do NOT use ldc.i4.0 (zero) as a value, it will not work! =>1 ONLY
//idk yet Able To Spend Skill Points Even When Requirements Not Met
// Skill.RequirementsMet() : Boolean
// ldc.i4.1
// ret
Set Amount of SkillPoints Per Level Up
EntityPlayer.AddExp(Int32) : Void
Line 51, insert after selection:
ldc.i4.1 //ldc.i4.1 adds +1 to default skillpoints. you can use ldc.i4.1 thru .8 or ldc.i4 with value of Int32 and a number of your choice
add //mul also available for multiply the number above by the default amount given per level
No In-Game Event Notification On Death ie. "Player1000 Killed Player2000"
EntityAlive.isGameMessageOnDeath()
Line 001 ldc.i4.1 >>changeto>> ldc.i4.0
No Death Score Added For When Player Kills You
EntityAlive.OnEntityDeath()
Line 1 (001, not 000): ldc.i4.1 >>changeto>> ldc.i4.0 //or ldc.i4.m1 if you like to stand out
No Radiation Damage
EntityAlive.isRadiationSensitive
ldc.i4.1 >>changeto>> ldc.i4.0
Instant Crafting
XUiM_Recipes.GetRecipeCraftTime(XUi, Recipe) : Single
Delete All OpCodes and replace with ldc.r4 value of Single 0 and ret //I hope you're starting to understand what you're doing
Instant Loot Container Open
TileEntityLootContainer.GetOpenTime()
Delete All, replace with ldc.r4 value of Single 0 and ret
No Drop Items
EntityPlayerLocal.dropBackpack()
Delete All, replace with ldc.i4.0 and ret
//OR INSTEAD OF THAT YOU CAN:
^.dropItemOnDeath()
Line 1 ldc.i4.1 >>changeto>> ldc.i4.0
//Or go overkill and use both of them. Your choice!
//But I personally don't use either!; Quick Way To Recognize A Hacker!
Never Drown
EntityPlayerLocal.isHeadUnderwater(Single)
Delete All, replace with ldc.i4.0 and ret
No More Forced Teleport Out Of Trader Towns
TraderArea.IsWithinTeleportArea(Vector3i)
^.IsWithin(Vector3i) : Boolean
Delete All, replace with ldc.i4.0 and ret //SEEMS CLIENT SIDE.. DOESN'T AFFECT ANYTHING
Owner of All Things
EntityVehicle
TileEntityPoweredRangedTrap
TileEntityPoweredTrigger
TileEntityPowerSource
TileEntitySecure
TileEntitySecureLootContainer
TileEntitySign
TileEntityVendingMachine
^.IsOwner(String)
Delete All, replace with ldc.i4.1 and ret
EntityVehicle
TileEntitySecure
TileEntitySecureLootContainer
TileEntitySign
TileEntityVendingMachine
^.IsUserAllowed(String)
Delete All, replace with ldc.i4.1 and ret
//AND FOR ADDED FUN:
EntityVehicle
TileEntitySecure
TileEntitySecureLootContainer
TileEntitySign
TileEntityVendingMachine
^.CheckPassword(String, String, Boolean) //Change anyone's password on their stuff! Mainly affects the person's friends not the person themselves.
Delete All, replace with ldc.i4.1 and ret //EASY AMIRIGHT?
//
// OTHER USER SUBMISSIONS
//
/* submitted by: @Sqeegie
Ignore land protection:
Location: -/World/GetLandProtectionHardnessModifier(Vector3i, EntityAlive, PersistentPlayerData): Single
Delete everything and add:
ldc.r4 // Set operand type to Single, operand to 1.
ret
// This is useful as you can choose only to damage blocks or entities.
// I haven't personally checked if this works in A16 yet...
Extreme damage (method 1):
Location: -/EntityPlayerLocal/GetStaminaMultiplier(): Single
Delete everything and add:
ldc.r4 // Set operand type to Single, operand to 99999.
ret
// This is the method I usually use.
Extreme damage (method 2):
Location (part 1): -/ItemActionAttack/GetDamageBlock(ItemValue, EntityPlayer, ItemValue): Single
Delete everything and add:
ldc.r4 // Set operand type to Single, operand to 99999.
ret
Location (part 2): -/ItemActionAttack/GetDamageEntity(ItemValue, EntityPlayer, ItemValue): Single
Delete everything and add:
ldc.r4 // Set operand type to Single, operand to 99999.
ret
Destroy supply crates in radiation:
Location: -/EntitySupplyCrate/IsRadiationSensitive(): Boolean
Change ldc.i4.0 to ldc.i4.1.
// I'm not sure this matters anymore, but I'll include it anyway.
end user submissions
*/