Adding Cheats to DOTD 5.3

For fulfilled maps that most likely don't work on the latest patch (1.24 or later).

Moderator: Cheaters

AweDio87
Junior Member
Posts: 27
Joined: August 13th, 2008, 4:36 am

Adding Cheats to DOTD 5.3

Post by AweDio87 »

Yo, sup. I need a little bit of help on adding a cheat pack to 5.3b. I tried using the one here
http://www.d3scene.com/forum/editing/28 ... s-map.html

but everytime I do so the map won't start. I think it has something to do with the start locations on the script cause I've tried adding that same cheat pack to other maps and it works fine. And here's the code for the map w/ the cheatpack in it. The map won't even start when I import the edited war3map.j into the map. Just open war3map.txt with jasscraft.
You do not have the required permissions to view the files attached to this post.
User avatar
Bartimaeus
Tyrannical Drama Queen
Posts: 4430
Joined: November 19th, 2007, 5:05 am
Been thanked: 2 times

Re: Adding Cheats to DOTD 5.3

Post by Bartimaeus »

umm, pretty sure that tutorial is outdated.

try one of our tutorials, you should be able to do it.

P.S. Moved to requests.
AweDio87
Junior Member
Posts: 27
Joined: August 13th, 2008, 4:36 am

Re: Adding Cheats to DOTD 5.3

Post by AweDio87 »

Bartimaeus wrote:umm, pretty sure that tutorial is outdated.

try one of our tutorials, you should be able to do it.

P.S. Moved to requests.
Ehh.. outdated or not most of the scripts for cheats on this forum are pretty much the same as on that site. You add stuff under globals, endglobals and function main. So its more or less the same as most of the cheats here minus a few other cheat commands. I'm pretty sure its not working cause of the start locations. The guy who made the map didn't put any start locations on the map he just wrote custom start locations in jass.
User avatar
Cagik
Old Wrinkly Member
Posts: 270
Joined: May 28th, 2008, 10:18 am
Location: Ukraine

Re: Adding Cheats to DOTD 5.3

Post by Cagik »

Spoiler:
-ca (activates cheats)
-gold #
-lumber #
-int #
-agi #
-str #
-lvl #
-xp #
-hp #
-mp #
-ms #
-charges# ### (First # slot 2nd charges)
-additem # (max is about 90)
-invul
-vul
-kill
-mana (Mana stays at 100%)
-invis (makes unit invisible)
-vis (visible)
-pathoff (walkthrough walls)
-pathon (normal)
-setcolor (red/blue/teal/purple/yellow/orange/green/pink/gray/lb/dg/brown)
-owner (red/blue/teal/purple/yellow/orange/green/pink/gray/lb/dg/brown)
-nocd (no cooldown)
-cdon (cooldown on)
-bindup/down/left/right (IE: -bindup -kill would make it so that when you hit up it kills whatever is selected)
-mh (Dispalys map, no server splits, hopefully)
-setname
-size #
-food #
-heal
-copy #
-fast
-bfast
-ufast (builds/researches/train unit instantly, when hitting esc, must have typed all 3)
-shareall
-share ##
-unshare ##
-ally ##
-unally ##
-soff (share off)
-spawn #### (List)
-ground ####
-add ####
-remove #### (removes the ability)
-g ## #### (gold)
-l ## #### (lumber)
-f ## #### (food)
-spa ## #### (Spawn unit)
-sn ## <name> (setname)
-sc ## (red/blue/teal/purple/yellow/orange/green/pink/gray/lb/dg/brown)
-dead (Sets units animation to dead)
-birth (Sets building to being built)
-attack (Sets unit to attack)
-stand (Sets unit to stand)
-hear (You can see what everyone is saying)
-nohear (back to normal)
-noreplay
-kick ## <message>
-tele (sets patrol to teleport)
-note (sets it back to normal)
-reg <kill/explode/red/blue/teal/purple/yellow/orange/green/pink/gray/lb/dg/brown> (Click for minimum then for maximum)
-time ## (Sets time to that hour)
-float ### ### (first #'s is height 2nd are speed)
-stop (Disable unit commands)
-resume (Enables them)
-area #### #### (First #'s are size 2nd Rawcode, then click where you want it)
-loc (Shows X and Y location of selected Unit) (use with reg)
-autoh ### (Autoheals by percentage)(A little buggy)
-disable (Disable -reg)
-list# (1-8)
-cheaton ## (Turns cheats on for player specified)
-cheatoff ## (Turns cheats off for player specified)
-unit #### (Spawns specified unit at issued location)
-nounit (Disables -unit)
-act <activator> (Changes activator to whatever specified, needs a - at the beginning)
-unitid (Shows the unit's rawcode)
-itemid (Shows the unit's item rawcode in first slot)
-destid (Shows rawcode of destructible in Reg)
-destroy (Removes selected units)
-revive (Revives dead hero and spawns at selected unit)
-addhp (Adds hp to any unit, needs to be divisible by 50)
P.S. In the beginning study on TD
You do not have the required permissions to view the files attached to this post.
AweDio87
Junior Member
Posts: 27
Joined: August 13th, 2008, 4:36 am

Re: Adding Cheats to DOTD 5.3

Post by AweDio87 »

Cagik wrote:
Spoiler:
-ca (activates cheats)
-gold #
-lumber #
-int #
-agi #
-str #
-lvl #
-xp #
-hp #
-mp #
-ms #
-charges# ### (First # slot 2nd charges)
-additem # (max is about 90)
-invul
-vul
-kill
-mana (Mana stays at 100%)
-invis (makes unit invisible)
-vis (visible)
-pathoff (walkthrough walls)
-pathon (normal)
-setcolor (red/blue/teal/purple/yellow/orange/green/pink/gray/lb/dg/brown)
-owner (red/blue/teal/purple/yellow/orange/green/pink/gray/lb/dg/brown)
-nocd (no cooldown)
-cdon (cooldown on)
-bindup/down/left/right (IE: -bindup -kill would make it so that when you hit up it kills whatever is selected)
-mh (Dispalys map, no server splits, hopefully)
-setname
-size #
-food #
-heal
-copy #
-fast
-bfast
-ufast (builds/researches/train unit instantly, when hitting esc, must have typed all 3)
-shareall
-share ##
-unshare ##
-ally ##
-unally ##
-soff (share off)
-spawn #### (List)
-ground ####
-add ####
-remove #### (removes the ability)
-g ## #### (gold)
-l ## #### (lumber)
-f ## #### (food)
-spa ## #### (Spawn unit)
-sn ## <name> (setname)
-sc ## (red/blue/teal/purple/yellow/orange/green/pink/gray/lb/dg/brown)
-dead (Sets units animation to dead)
-birth (Sets building to being built)
-attack (Sets unit to attack)
-stand (Sets unit to stand)
-hear (You can see what everyone is saying)
-nohear (back to normal)
-noreplay
-kick ## <message>
-tele (sets patrol to teleport)
-note (sets it back to normal)
-reg <kill/explode/red/blue/teal/purple/yellow/orange/green/pink/gray/lb/dg/brown> (Click for minimum then for maximum)
-time ## (Sets time to that hour)
-float ### ### (first #'s is height 2nd are speed)
-stop (Disable unit commands)
-resume (Enables them)
-area #### #### (First #'s are size 2nd Rawcode, then click where you want it)
-loc (Shows X and Y location of selected Unit) (use with reg)
-autoh ### (Autoheals by percentage)(A little buggy)
-disable (Disable -reg)
-list# (1-8)
-cheaton ## (Turns cheats on for player specified)
-cheatoff ## (Turns cheats off for player specified)
-unit #### (Spawns specified unit at issued location)
-nounit (Disables -unit)
-act <activator> (Changes activator to whatever specified, needs a - at the beginning)
-unitid (Shows the unit's rawcode)
-itemid (Shows the unit's item rawcode in first slot)
-destid (Shows rawcode of destructible in Reg)
-destroy (Removes selected units)
-revive (Revives dead hero and spawns at selected unit)
-addhp (Adds hp to any unit, needs to be divisible by 50)
P.S. In the beginning study on TD
Thank you, what do you mean by study on TD? And can you please tell me why the cheats I implimented wouldn't work?
User avatar
Senethior459
Forum Staff
Posts: 2618
Joined: June 2nd, 2007, 6:53 pm
Title: I Just Lost the Game

Re: Adding Cheats to DOTD 5.3

Post by Senethior459 »

Because, as Bart kept saying, those cheats are outdated. "Their" cheats are outdated. That guide is actually a guide to adding an old version of Aero's cheatpack. The more recent version of his pack can be found HERE. Most of the scripts are the same on this site? I really wonder why. No, I'm going to stop right now, I'm not going to discuss this. I'm just going to say that the cheats on that guide are Aero's, and they weren't posted on there by him, and there wasn't much credit at all to him (actually, I think none at first, until some people from this forum noticed).
I don't know why Cagik said what he did, but I know why you screwed up. You didn't follow the guide. Unfortunately, one of the most common errors that there is besides not deleting the (attributes) file, isn't bolded, isn't made obvious. Here's what you did wrong, in a quote from JJ's guide:
JJ2197 wrote:Make sure to put the last part under the locals in function main.
If there is no locals, just put it right under function main takes nothing returns nothing.
Yours looked like:
function main takes nothing returns nothing
local integer qaz=0
loop
exitwhen qaz>11
call TriggerRegisterPlayerChatEvent(ICHEAT,Player(qaz),"-cheat",false)
set qaz=qaz+1
endloop
call TriggerAddAction(ICHEAT,function CheatUse)
call TriggerAddAction(CHEATS,function Cheatz)
local weathereffect we
local integer itemID
blah blah blah...
So, if you had used Jasscraft and just hit F9, the syntax checker (it only takes a FEW seconds!) would have showed you twelve errors, for a local declaration under the first statement. Basically, add the cheats at the BOTTOM OF THE LOCALS!!!
My Warcraft III Tool Collection
If you want to chat/game with me:
Blizzard: Senethior459#1962
Discord: Kyle#7409
Steam: Spacekidkyle
AweDio87
Junior Member
Posts: 27
Joined: August 13th, 2008, 4:36 am

Re: Adding Cheats to DOTD 5.3

Post by AweDio87 »

Senethior459 wrote:Because, as Bart kept saying, those cheats are outdated. "Their" cheats are outdated. That guide is actually a guide to adding an old version of Aero's cheatpack. The more recent version of his pack can be found HERE. Most of the scripts are the same on this site? I really wonder why. No, I'm going to stop right now, I'm not going to discuss this. I'm just going to say that the cheats on that guide are Aero's, and they weren't posted on there by him, and there wasn't much credit at all to him (actually, I think none at first, until some people from this forum noticed).
I don't know why Cagik said what he did, but I know why you screwed up. You didn't follow the guide. Unfortunately, one of the most common errors that there is besides not deleting the (attributes) file, isn't bolded, isn't made obvious. Here's what you did wrong, in a quote from JJ's guide:
JJ2197 wrote:Make sure to put the last part under the locals in function main.
If there is no locals, just put it right under function main takes nothing returns nothing.
Yours looked like:
function main takes nothing returns nothing
local integer qaz=0
loop
exitwhen qaz>11
call TriggerRegisterPlayerChatEvent(ICHEAT,Player(qaz),"-cheat",false)
set qaz=qaz+1
endloop
call TriggerAddAction(ICHEAT,function CheatUse)
call TriggerAddAction(CHEATS,function Cheatz)
local weathereffect we
local integer itemID
blah blah blah...
So, if you had used Jasscraft and just hit F9, the syntax checker (it only takes a FEW seconds!) would have showed you twelve errors, for a local declaration under the first statement. Basically, add the cheats at the BOTTOM OF THE LOCALS!!!
Oh alright, thanks. I didn't know you could compile and have Jasscraft check things. I'm pretty new to this stuff.