[JASS/LUA] NZCP [EXCLUSIVE FEATURE!]

Cheatpacks and learning how to use them, as well as other guides for manipulating maps.

Moderator: Cheaters

User avatar
nuzamacuxe
Also Not an Admin, but closer than devoltz
Posts: 1660
Joined: February 14th, 2018, 5:35 am
Title: Just Another S.Mod
Been thanked: 16 times

[JASS/LUA] NZCP [EXCLUSIVE FEATURE!]

Post by nuzamacuxe »

Image

Now with more commands, and in JASS or Lua.

Image
 
Image

Item search (-sitem)
Image
The first 15 matches show up on screen, and the full list is saved to your CustomMapData folder.
Use -sitem! to check every item ID in the map, including the game's own items.
 
Extra spell damage (-dmgs)
Image
 
Teleport (-tp)
Image
 
Copy (-copy)
Image
 
Image
  • Type -easymode in the chat, or
  • Press the arrow keys Up Up Down Down Left Right.
Then type -cmds to see every command, or -cmds gold to see the syntax of the matching ones. If you forget an argument, the command tells you how to use it.

The activator word, the arrow combo and the command prefix can all be changed at the top (lua) / bottom (jass) of the script. In game, -act <word> changes the activator and -prefix <symbol> changes your command prefix (useful when the map already uses - for its own commands).
 
Image
Create anything by ID
-create accepts the ID in three formats. These three lines all create a Footman:

Code: Select all

-create hfoo         (4 characters)
-create 0x68666F6F   (hex, 8 digits; the 0x is optional)
-create #1751543663  (whole number, with #)
Hex and numbers are useful for maps whose IDs have characters you can't type. -unitid and -itemid show the hex for you in that case. The same formats work in every command that takes an ID (-learn, -islot, -tech...).
Spoiler:
<required> [optional]. Commands for selected units apply to every selected unit. Commands marked with * only work on units of players with the same or a lower cheater level.

Hero / unit stats (selected units)
  • -lvl <level> * - sets the hero level
  • -str / -agi / -int <value> * - sets strength / agility / intelligence
  • -xp <value> * - sets the experience
  • -sp <points> * - adds skill points
  • -hp / -mp <value> * - sets current life / mana
  • -ms <speed> * - sets movement speed
  • -rg <value|off> - adds this much life and mana every 0.25s
  • -nc [off] - no cooldown
  • -invul / -vul * - makes the unit invulnerable / vulnerable
  • -pause [off] - pauses the unit
  • -ptl [off] - pauses the expiration timer of a summoned unit
  • -owner <player> * - gives the unit to a player
  • -kill * - kills the unit
  • -removeu * - removes the unit from the game
Abilities, items, copies
  • -learn <ability ID> - adds the ability (or levels it up if the unit already has it)
  • -unlearn <ability ID> - removes the ability
  • -islot <slot 1-6> <item ID> - puts an item in that slot
  • -charge <slot 1-6> <charges> * - sets the item's charges
  • -copy <amount> [full] - copies the unit: level, stats, items, life/mana and its NZCP cheats. full also copies the abilities (the game freezes for a moment while it scans)
  • -create <object ID> - creates an item or unit at the selected unit (hfoo, 0x68666F6F or #1751543663)
  • -ritem <1-99> - creates random items at the selected unit
  • -unitid / -itemid <slot> - shows the unit / item ID
  • -sitem <text|off> - searches items by name: first 15 on screen, full list saved to CustomMapData
  • -sitem! <text|off> - same, but also finds items with unusual IDs (slower, 2-3 minutes)
Damage system (selected units, all *, use 0 to turn off)
  • -dmgc <chance%> [multiplier] - critical strike chance and damage multiplier
  • -dmghp <%> - attacks deal % of the target's max HP (can't be combined with -dmgc)
  • -dmgs <%> - extra spell damage
  • -dmgls <%> / -dmgms <%> - life steal / mana steal
  • -dmgb <%> - blocks % of the damage taken
  • -dmgr <%> - returns % of the damage taken to the attacker
  • -status - shows the damage cheats of the selected unit
Resources
  • -gold / -lumber <amount> - gives you gold / lumber
  • -giveg / -givel <player> <amount> - gives gold / lumber to a player
  • -givef <player> <amount> - sets a player's food cap
  • -food <value|use|nouse> - sets your food cap, or makes the selected unit use / not use food
  • -grate / -lrate <%> - extra % on every gold / lumber income (0 turns it off)
  • -expr <%> - adds % to your experience rate
  • -tech <upgrade ID> [level] - researches an upgrade (one level up if no level is given)
  • -fast [off] - instant building, upgrading, training and research (press ESC)
  • -nowaste [off] - usable items don't lose charges
  • -revive - revives all your dead heroes where they died
Map and players
  • -tp [m|p|a|off] - teleport: order Patrol (default), Move or Attack to teleport the selected units there
  • -mh [off] - map hack
  • -pzoom <distance|off> - camera zoom
  • -ploc <x> <y> - pings a location on the minimap
  • -enemychat [off] - shows what enemies type
  • -share / -unshare <player> <player> - first player shares / stops sharing vision and control with the second
  • -kick <player> - kicks a player
  • -pname <name> - changes your name
Key bindings and utilities
  • -bindup / -binddown / -bindleft / -bindright <command|off> - binds a command to an arrow key (example: -bindup gold 1000)
  • -showbinds / -clearbinds - shows / clears your binds
  • -cmds [text] - lists the commands
  • -prefix <symbol> - changes your command prefix
  • -act <word> - changes the activator
  • -clear - clears the messages on your screen
  • -noreplay - the game won't save a replay
  • -disable - deactivates NZCP for you
Players are numbers: 1 = Red, 2 = Blue, 3 = Teal, and so on.
 
Image
JASS (any map)
  1. Extract war3map.j from the map (MPQ Editor, Ladik's, etc.).
  2. Paste hashtable nzHash = InitHashtable( ) inside the globals block.
  3. Paste all the NZCP functions right before function main.
  4. Add call nzInit( ) at the end of function main.
  5. Put war3map.j back into the map.
Lua (1.31+ maps that use Lua)
  1. Extract war3map.lua.
  2. Paste the whole NZCP Lua file at the end of it. It hooks into main by itself.
  3. Put it back into the map.
 
Image
You do not have the required permissions to view the files attached to this post.
User avatar
Vegas
Shopping Maul USA Creator
Posts: 1864
Joined: January 18th, 2007, 11:07 am
Title: No Comment
Location: Calgary Canada
Has thanked: 249 times
Been thanked: 17 times

Re: [JASS] NUZAMACUXE's CHEATPACK [EXCLUSIVE FEATURE!]

Post by Vegas »

Great work Nuz!
User avatar
nuzamacuxe
Also Not an Admin, but closer than devoltz
Posts: 1660
Joined: February 14th, 2018, 5:35 am
Title: Just Another S.Mod
Been thanked: 16 times

Re: [JASS] NUZAMACUXE's CHEATPACK [EXCLUSIVE FEATURE!]

Post by nuzamacuxe »

Thanks, boss!

Just a further explanation about "inefficient methods" for users understand:
The old cheatpacks use inefficient methods for their purposes (I could even show some examples...), even though they have tons of commands (that's in my opinion unnecessary) they are still too much inefficient.
User avatar
[NtP]NtP
Member
Posts: 71
Joined: February 22nd, 2016, 1:56 am
Been thanked: 2 times

Re: [JASS] NUZAMACUXE's CHEATPACK [EXCLUSIVE FEATURE!]

Post by [NtP]NtP »

Unryze? I see because it has a very complex system that avoids using the trap of the map-hack

Returning to the theme Go this package is great A masterpiece of !!!Nuzamacuxe's-sempai!!!
User avatar
nuzamacuxe
Also Not an Admin, but closer than devoltz
Posts: 1660
Joined: February 14th, 2018, 5:35 am
Title: Just Another S.Mod
Been thanked: 16 times

Re: [JASS] NZCP [EXCLUSIVE FEATURE!]

Post by nuzamacuxe »

Thanks, NtP! Hope you enjoy it.
User avatar
null
V.I.P.
Posts: 128
Joined: August 5th, 2017, 2:26 am
Title: Moon#6000
Location: Discord:
Been thanked: 1 time

Re: [JASS] NZCP [EXCLUSIVE FEATURE!]

Post by null »

Awesome. However, there is no spawn command?

edit: -cunit

10/10
User avatar
devoltz
Co-Admin
Posts: 3248
Joined: March 23rd, 2016, 8:06 pm
Has thanked: 20 times
Been thanked: 130 times

Re: [JASS] NZCP [EXCLUSIVE FEATURE!]

Post by devoltz »

Hoyl
Nuza with free time is scary
User avatar
nuzamacuxe
Also Not an Admin, but closer than devoltz
Posts: 1660
Joined: February 14th, 2018, 5:35 am
Title: Just Another S.Mod
Been thanked: 16 times

Re: [JASS] NZCP [EXCLUSIVE FEATURE!]

Post by nuzamacuxe »

Thank you guys.
compaq1520
Newcomer
Posts: 9
Joined: March 20th, 2018, 2:11 am

Re: [JASS] NZCP [EXCLUSIVE FEATURE!]

Post by compaq1520 »

Can't work, I typed easymode, but it didn't work, what is wrong?
User avatar
nuzamacuxe
Also Not an Admin, but closer than devoltz
Posts: 1660
Joined: February 14th, 2018, 5:35 am
Title: Just Another S.Mod
Been thanked: 16 times

Re: [JASS] NZCP [EXCLUSIVE FEATURE!]

Post by nuzamacuxe »

Take a look at operator: -

It's -easymode not easymode.