• Check out the results of the Techtree Contest #19!
  • Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

TasCheatBox

Introduction


TasCheatBox is a custom UI for Warcraft 3 V1.31 or higher, In Lua. It gives the user various powers over the game, units and spells.
Good to have fun or test your map.
Works out of the box, for singleplayer only.

Details


The custom UI is shown by checking a checkbox.

There are Pages only one page is shown at a time. Click the Page Buttons to change current Cheat Page.
Unit
Player/Game
Place Units
Place Items
Skills
Evoke Lua code
SkillData

Unit does something to the selected units
Player/Game does something for you as player or the whole game
Skills adds skills to the selected Unit (only 1 unit). Or remove a skill when you hold LEFT_ALT when clicking a button in the Skill list
SkillData can set ability data fields of the skills of selected Unit like stormbolt dmg, mana cost, range .... When you select the unit it loads all the current skills the unit got. Reselect to update it.

The Lists can include default Units/Items and you can include custom ones. For Custom Units you can setup RawCode sections to include.
For custom Items TasCheatBox expects that you use World Editor ItemCodes I000 and higher. One can change the max value might be a good idea to reduce loading time.
CheckOut the top of TasCheatBox.
Lua:
,IncludeDefaultItems = true --add default Items to the List?
,IncludeDefaultUnits = true
,IncludeCustomItems = false  --Try to find Custom Items and add them to the List?
,IncludeCustomUnits = false
,CheckCustomObject = true -- slows the process but excludes objects without name
,CustomItemEnd = FourCC'I09Z' -- LastItem Custom Id


,IncludeDefaultSkills = true
,IncludeDefaultSkillsItem = true -- have the default item skills in the list
,IncludeCustomSkills = false
,CustomSkills ={
    {FourCC'A000',FourCC'A09Z'} -- startIndex , endIndex
    ,{FourCC'S000',FourCC'S09Z'}
  --,{FourCC'T000',FourCC'T03Z'}
}

,CustomUnitCodes = {
   {FourCC'h000',FourCC'h0A0'} -- startIndex , endIndex
   ,{FourCC'H000',FourCC'H09Z'}
   ,{FourCC'o000',FourCC'o09Z'}
   ,{FourCC'O000',FourCC'O09Z'}
   ,{FourCC'u000',FourCC'u09Z'}
   ,{FourCC'U000',FourCC'U09Z'}
   ,{FourCC'e000',FourCC'e09Z'}
   ,{FourCC'E000',FourCC'E09Z'}
   ,{FourCC'n000',FourCC'n09Z'}
   ,{FourCC'N000',FourCC'N09Z'}
}


How to install


Requiers Warcraft 3 1.31+ or higher
  • Copy TasCheatBox code
  • Copy TasCheatBox Reqs
  • Installed
or copy paste all from the raw Lua file


ChangeLog


V1.2cde) Improved loading time, Place Unit/Items/Skills load when open the page
V1.2b) Custom Objects Fix, TasUnitBonusPage
V1.2) SkillData
V1.1) more unit cheats, Skills
V1.0) No fdf, more cheats, uses TasButtonList
V0.8)

Added Food, Defeat, UnPauseAll
Page/Color Buttons Focus Fix​
Previews
Contents

TasCheatBox (Map)

TasCheatBoxAllInOne (Binary)

Reviews
Wrda
Looks like there should be a UnpauseAll units command, defeat x player, and probably "pointbreak" cheat. Indention looks sometimes a bit messed up, as in the blocks indention mismatch. It appears to be 3 spaces instead of 4. Please consult the link if...
I think this is great. I know HIVE usually doesn't like stuff when it's about cheating, but usually that involves hacking maps, injecting maps or other form of cheating in multiplayer. This is just a faster way to execute cheats during single player testing instead of writing Whosyourdaddy Warpten etc, etc over and over while doing 50 repetitive tests, and all you gotta do is CTRL V a trigger into your map, 10 seconds, done. So I really think this is very useful and cheating in good spirit
 
Looks like there should be a UnpauseAll units command, defeat x player, and probably "pointbreak" cheat.
Indention looks sometimes a bit messed up, as in the blocks indention mismatch. It appears to be 3 spaces instead of 4. Please consult the link if you have any of these doubts: Lua Submission Rules

It seems a bit weird to me personally that the pages are 5 4 3 2 1, in reading other, the same could be said about the player colour frames.

Lua:
this.UnitList = CreateTasButtonListEx("TasButtonGrid", this.ListCols, this.LisRows, this.UnitListFrame, function(data, buttonListObject, dataIndex)
The function's parameters buttonListObject and dataIndex seem unused.

Very minor typos such as Inser Lua code into the EditBox & press,
Telport.

Sounds quite useful to test a variety of maps, debugging and a lot more. There are no major flaws.

Approved
 
Updated to v0.8)
Added Cheats Food, Defeat, UnPauseAll
Renamed Fog to Vision
Fixed some typos
Color & Page Buttons do not keep focus when clicked anymore.

It seems a bit weird to me personally that the pages are 5 4 3 2 1, in reading other, the same could be said about the player colour frames.
Easier to do in the default setup.
 
Hey Taysen! I want to thank you so much for your hard work and time. Great map, I've been looking for something like this for the last 10 years.
Tell me how to install this cheat menu in a custom map? I don't have much experience with this, but I've already spent a day fiddling with MPQEditor, without much success so far. ( google transleter)
 
Beaware that this is for singleplayer.
The map needs to be in Lua mode. When you can open it in world editor, then copy paste the code inside the hidden Luacode box in a new scriptfile.
inside mpqeditor you open the file war3map.lua and insert the code from the hidden Luacode box somewhere outside of functions & outside of tabels. When there is no war3map.lua but a war3map.j file then you can not use it, because the map is in jass mode.
 
Beaware that this is for singleplayer.
The map needs to be in Lua mode. When you can open it in world editor, then copy paste the code inside the hidden Luacode box in a new scriptfile.
inside mpqeditor you open the file war3map.lua and insert the code from the hidden Luacode box somewhere outside of functions & outside of tabels. When there is no war3map.lua but a war3map.j file then you can not use it, because the map is in jass mode.
If most of my maps contain war3map.j instead of war3map.lua, can I insert your LUA code into war3map.j using JassCraft?
 
Updated to V1.1)
fixed a display bug with TasButtonList
added more unit cheats
a new page "Skills", it adds skills to the current selected unit (only 1 unit) or removes skills when you hold left alt when clicking the button.
Shows FourCC for items, units & skills, improved search for them

Updated to V1.2)
new Page SkillData, allows to display & change some ability fields like storm bolt dmg, chain lightning dmg, mana cost, water elemental summon amount and such number fields.

Edit: Updated to V1.2a)
i mixed something up the show repating numbers in skilldata was not included.
changed the way custom ObjectIds are iterated, works now more reliable for A000 to AZZZ. although it only works now from X000
can have multiple custom skillStarts like unitCodes

Edit: Updated to V1.2b)
Fixed an error with custom objects
new page UnitBonus when your map has TasUnitBonus
 
Last edited:
updated to V1.2c)
improved default loading time. Fills the lists of Place Unit/Item/Skills now when you open such a page the first time. previous it filled all of them when creating the ui which could lead to some big game freeze.

Edit: updated to V1.2d)
improved Filling the lists the first time even more for Place Unit/Item/Skills, previous it filled it 24 times, for all players. unneeded as single player only.
 
Last edited:
Back
Top