Announcement

Collapse

Forum Rules

  • No flaming or derogatory remarks, directly or through insinuation.
  • No discussion, sharing or referencing illegal software such as hacks, keygen, cracks and pirated software.
  • No offensive contents, including but not limited to, racism, gore or pornography.
  • No excessive spam/meme, i.e. copious one liners in a short period of time, typing with all caps or posting meme responses (text/image).
  • No trolling, including but not limited to, flame incitation, user provocation or false information distribution.
  • No link spamming or signature advertisements for content not specific to Dota 2.
  • No Dota 2 key requests, sell, trade etc.
  • You may not create multiple accounts for any purpose, including ban evasion, unless expressly permitted by a moderator.

  • Please search before posting. One thread per issue. Do not create another thread if there is an existing one already.
  • Before posting anything, make sure you check out all sticky threads (e.g., this). Do not create new threads about closed ones.
  • It is extremely important that you post in correct forum section.

  • Balance discussion only in Misc.
  • All art related (such as hero model) feedbacks go to Art Feedback Forum.
  • All matchmaking feedback should go here: Matchmaking Feedback
  • All report/low priority issues should go here: Commend/Report/Ban Feedback
  • No specific workshop item feedback. These should go to workshop page of that item.
  • When posting in non-bugs section (such as this), use [Bugs], [Discussion] or [Suggestion] prefix in your thread name.



In case you object some action by a moderator, please contact him directly through PM and explain your concerns politely. If you are still unable to resolve the issue, contact an administrator. Do not drag these issues in public.



All rules are meant to augment common sense, please use them when not conflicted with aforementioned policies.
See more
See less

Test/Cheat Commands

Collapse
This is a sticky topic.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Test/Cheat Commands

    Test/Cheat Commands
    When hosting practice match, you'll need to "enable cheats" for these to work.
    When in game, press enter and type.

    Command Example Equivalent Console Command Description/Notes
    -lvlup n -lvlup 9000 dota_hero_level n Levels up your hero.
    -levelbots n -levelbots 5 dota_bot_give_level n Levels up all bots.
    -gold n -gold 15000 dota_give_gold Gives you gold.
    -refresh -refresh dota_hero_refresh Resets cooldowns and gives full hp/mana.
    -respawn -respawn dota_hero_respawn Respawns your hero.
    -spawncreeps -spawncreeps dota_spawn_creeps Spawns creeps instantly.
    -spawnneutrals -spawnneutrals dota_spawn_neutrals Spawns neutrals instantly.
    -disablecreepspawn
    -enablecreepspawn
    -disablecreepspawn
    -enablecreepspawn
    dota_creeps_no_spawning_enable
    dota_creeps_no_spawning_disable
    Disables lane creep spawning. Use -enablecreepspawn to undo this change.
    -startgame -startgame dota_start_game Sets timer to 0:00, creeps spawns... game starts.
    -allvision
    -normalvision
    -allvision
    -normalvision
    dota_all_vision_enable
    dota_all_vision_disable
    Gives vision for both teams. Use -normalvision to undo this change.
    -clearwards -clearwards dota_clear_wards Destroys all wards.
    -wtf
    -unwtf
    -wtf
    -unwtf
    dota_ability_debug_enable
    dota_ability_debug_disable
    Removes cooldown, Mana cost etc. Use -unwtf to undo this change.
    -dumpbots -dumpbots dota_bot_dump_state Displays AI status.
    -timescale n host_timescale
    -createhero <unit_name> [enemy] -createhero npc_dota_hero_antimage
    -createhero npc_dota_hero_antimage enemy
    -createhero antimage
    -createhero anti
    -createhero npc_dota_goodguys_siege
    -createhero goodguys_siege enemy
    dota_create_unit <unit_name> Creates the specified unit [as an enemy].

    List 1: npc_heroes 26.01.2013.txt | npc_heroes (recommended version) 26.01.2013.txt
    List 2: npc_units.txt (numbers can be changed into higher values, if available)

    You can create up to 5 Dire heroes with this command, and up to 22 heroes in total.
    The prefixes behind the defining hero/unit names can be left out like in the given examples.
    The hero names can also be truncated.
    -item <item_name> -item item_blink dota_create_item <item_name> Gives the specified item.

    List: items 05.11.2012.txt | items (organized) 26.01.2013.txt

    Warning: Do not use uppercase. Give it a try to see what happens.
    -givebots <item_name> -givebots item_blink dota_bot_give_item <item_name> Give all bots the specified item.

    List: See above.
    -ping -ping dota_ping Displays ping time with server along with the packet loss information.
    This command can be used in a non-cheat game, too.
    -spawnrune -spawnrune dota_spawn_rune Spawns an intermediate rune.
    Spawn spot and/or the rune type cannot be manipulated.

    An alphabetical item list provided by bridger.
    Code:
    ## These are the items that you are most probably looking for,
     ## since they are named very different from how they are named in-game:
    
     item_ancient_janggo
     item_basher
     item_bfury
     item_boots_of_elves
     item_branches
     item_courier
     item_cyclone
     item_flask
     item_greater_crit
     item_invis_sword
     item_lesser_crit
     item_ogre_axe
     item_rapier
     item_recipe_ancient_janggo
     item_recipe_basher
     item_recipe_cyclone
     item_recipe_greater_crit
     item_recipe_lesser_crit
     item_recipe_sphere
     item_recipe_travel_boots
     item_relic
     item_sheepstick
     item_skadi
     item_sobi_mask
     item_sphere
     item_tpscroll
     item_travel_boots
     item_ultimate_scepter
     item_ward_observer
     item_ward_sentry
    
    
     ## These might be the items that you are looking for, although they
     ## have been only truncated from the end, or just miss the apostrophe:
    
     item_aegis
     item_armlet
     item_assault
     item_blink
     item_boots
     item_dust
     item_eagle
     item_gauntlets
     item_gem
     item_ghost
     item_gloves
     item_heart
     item_heavens_halberd
     item_manta
     item_mantle
     item_orchid
     item_pers
     item_pipe
     item_poor_mans_shield
     item_recipe_armlet
     item_recipe_assault
     item_recipe_heart
     item_recipe_manta
     item_recipe_orchid
     item_recipe_pipe
     item_recipe_refresher
     item_recipe_shivas_guard
     item_recipe_vladmir
     item_refresher
     item_robe
     item_shivas_guard
     item_slippers
     item_vladmir
    
    
     ## These items have the exact same name with what they have in-game:
    
     item_abyssal_blade
     item_arcane_boots
     item_belt_of_strength
     item_black_king_bar
     item_blade_mail
     item_blade_of_alacrity
     item_blades_of_attack
     item_bloodstone
     item_bottle
     item_bracer
     item_broadsword
     item_buckler
     item_butterfly
     item_chainmail
     item_cheese
     item_circlet
     item_clarity
     item_claymore
     item_cloak
     item_dagon
     item_demon_edge
     item_desolator
     item_diffusal_blade
     item_energy_booster
     item_ethereal_blade
     item_flying_courier
     item_force_staff
     item_hand_of_midas
     item_headdress
     item_helm_of_iron_will
     item_helm_of_the_dominator
     item_hood_of_defiance
     item_hyperstone
     item_javelin
     item_maelstrom
     item_magic_stick
     item_magic_wand
     item_mask_of_madness
     item_medallion_of_courage
     item_mekansm
     item_mithril_hammer
     item_mjollnir
     item_monkey_king_bar
     item_mystic_staff
     item_necronomicon
     item_null_talisman
     item_oblivion_staff
     item_orb_of_venom
     item_phase_boots
     item_platemail
     item_point_booster
     item_power_treads
     item_quarterstaff
     item_quelling_blade
     item_radiance
     item_reaver
     item_recipe_black_king_bar
     item_recipe_bracer
     item_recipe_buckler
     item_recipe_dagon
     item_recipe_desolator
     item_recipe_diffusal_blade
     item_recipe_force_staff
     item_recipe_hand_of_midas
     item_recipe_headdress
     item_recipe_maelstrom
     item_recipe_magic_wand
     item_recipe_mask_of_madness
     item_recipe_medallion_of_courage
     item_recipe_mekansm
     item_recipe_mjollnir
     item_recipe_necronomicon
     item_recipe_null_talisman
     item_recipe_radiance
     item_recipe_sange
     item_recipe_satanic
     item_recipe_soul_ring
     item_recipe_urn_of_shadows
     item_recipe_veil_of_discord
     item_recipe_wraith_band
     item_recipe_yasha
     item_ring_of_aquila
     item_ring_of_basilius
     item_ring_of_health
     item_ring_of_protection
     item_ring_of_regen
     item_rod_of_atos
     item_sange
     item_sange_and_yasha
     item_satanic
     item_shadow_amulet
     item_smoke_of_deceit
     item_soul_booster
     item_soul_ring
     item_staff_of_wizardry
     item_stout_shield
     item_talisman_of_evasion
     item_tango
     item_tranquil_boots
     item_ultimate_orb
     item_urn_of_shadows
     item_vanguard
     item_veil_of_discord
     item_vitality_booster
     item_void_stone
     item_wraith_band
     item_yasha
    
    
     ## These are the recipes that are not required while assembling their
     ## respective combined item, but exist anyway:
    
     item_recipe_abyssal_blade
     item_recipe_arcane_boots
     item_recipe_bfury
     item_recipe_blade_mail
     item_recipe_bloodstone
     item_recipe_butterfly
     item_recipe_ethereal_blade
     item_recipe_heavens_halberd
     item_recipe_helm_of_the_dominator
     item_recipe_hood_of_defiance
     item_recipe_invis_sword
     item_recipe_monkey_king_bar
     item_recipe_oblivion_staff
     item_recipe_pers
     item_recipe_phase_boots
     item_recipe_poor_mans_shield
     item_recipe_power_treads
     item_recipe_rapier
     item_recipe_ring_of_aquila
     item_recipe_ring_of_basilius
     item_recipe_rod_of_atos
     item_recipe_sange_and_yasha
     item_recipe_sheepstick
     item_recipe_skadi
     item_recipe_soul_booster
     item_recipe_tranquil_boots
     item_recipe_ultimate_scepter
     item_recipe_vanguard



    If you know more commands/console commands, please let me know. I will add them in here.

    Special thanks to ThoAppelsin and budwing for providing some updates to the list.
    Attached Files
    Last edited by CvP; 02-15-2014, 10:46 PM.

  • #2
    -createhero name enemy -> creates enemy hero
    -givebots itemname -> give all bots the item
    -levelbots number -> levelup bots number times

    Also, what about Typhox' thread?

    Comment


    • #3
      Originally posted by mr.ioes View Post
      -createhero name enemy -> creates enemy hero
      -givebots itemname -> give all bots the item
      -levelbots number -> levelup bots number times

      Also, what about Typhox' thread?
      Thanks. Added.

      I do not want to sticky someone's "copyrighted" data/works.

      Comment


      • #4
        ah,just what i was looking for.nice job dude
        "Knowledge is knowing that a tomato is a fruit, but Wisdom is knowing not to put it in a fruit salad."

        Comment


        • #5
          -wtf

          Comment


          • #6
            -wtf and -unwtf

            Comment


            • #7
              -allvision -> Gives vision of both teams
              -disablecreepspawn
              -enablecreepspawn
              -killwards
              -startgame -> timer to 0:00, creepspawn. game starts.

              On a sidenote, -wtf can cause some spells to bug out, so it's a bad way of testing bugs with spells. Malefice for instance won't stun multiple times. Just saying
              Also, if we had spoiler tags, we could easily fit the item/hero lists in a post. Given that naming conventions for items are very very random, this list is quite important when using the -item or -givebots command.

              Badly named are for instance:
              -item item_travel_boots
              -item item_assault
              -item item_blink
              -item item_pers
              -item item_greater_crit
              and many more.
              Last edited by mr.ioes; 02-18-2012, 02:48 AM.

              Comment


              • #8
                Originally posted by mr.ioes View Post
                Also, if we had spoiler tags, we could easily fit the item/hero lists in a post. Given that naming conventions for items are very very random, this list is quite important when using the -item or -givebots command.
                Well, I mustn't link to the file I made here, but thanks to the character limit of a post, we have to put such lists into seperate files/links.

                Comment


                • #9
                  Originally posted by mr.ioes View Post
                  -allvision -> Gives vision of both teams
                  -disablecreepspawn
                  -enablecreepspawn
                  -killwards
                  -startgame -> timer to 0:00, creepspawn. game starts.

                  On a sidenote, -wtf can cause some spells to bug out, so it's a bad way of testing bugs with spells. Malefice for instance won't stun multiple times. Just saying
                  Also, if we had spoiler tags, we could easily fit the item/hero lists in a post. Given that naming conventions for items are very very random, this list is quite important when using the -item or -givebots command.

                  Badly named are for instance:
                  -item item_travel_boots
                  -item item_assault
                  -item item_blink
                  -item item_pers
                  -item item_greater_crit
                  and many more.
                  Thanks. I will add them later (when I get time) and will see if I can get ourselves a spoiler tag

                  Comment


                  • #10
                    What about runes? Is there a command to spawn them?
                    Last edited by Pardal_MK; 02-18-2012, 11:39 AM.

                    Comment


                    • #11
                      Originally posted by Pardal_MK View Post
                      What about runes? Is there a command to spawn them?
                      -spawnrune or -spawnrunes might work. Please test and let me know.

                      Comment


                      • #12
                        Can you repost the console commands please?

                        Comment


                        • #13
                          Originally posted by Mayheim View Post
                          Can you repost the console commands please?
                          Are you thinking of these?

                          Code:
                          dota_ping			ping
                          dota_bot_dump_state		dumpbots
                          dota_clear_wards		clearwards
                          dota_all_vision_disable		normalvision
                          dota_all_vision_enable		allvision
                          dota_kill_creeps		killcreeps
                          dota_creeps_no_spawning_disable enablecreepspawn
                          dota_creeps_no_spawning_enable  disablecreepspawn
                          dota_spawn_creeps   		spawncreeps
                          dota_spawn_neutrals 		spawnneutrals
                          host_timescale  		timescale
                          dota_ability_debug_disable  	unwtf
                          dota_ability_debug_enable   	wtf
                          dota_bot_give_item  		givebots
                          dota_bot_give_level 		levelbots
                          dota_create_unit		createhero
                          dota_killwards		killwards   
                          dota_start_game		startgame   
                          dota_create_item	item    
                          dota_give_gold		gold
                          dota_hero_refresh	refresh 
                          dota_hero_respawn	respawn 
                          dota_hero_level		lvlup
                          Last edited by pramo; 02-20-2012, 07:21 AM. Reason: Updated console commands

                          Comment


                          • #14
                            Originally posted by CvP View Post
                            -spawnrune or -spawnrunes might work. Please test and let me know.
                            I know ALL commands, and there is no -spawnrune. At least not in the client.

                            Comment


                            • #15
                              Originally posted by pramo View Post
                              Are you thinking of these?

                              Code:
                              dota_ping			ping
                              dota_bot_dump_state		dumpbots
                              dota_clear_wards		clearwards
                              dota_all_vision_disable		normalvision
                              dota_all_vision_enable		allvision
                              dota_kill_creeps		killcreeps
                              dota_creeps_no_spawning_disable enablecreepspawn
                              dota_creeps_no_spawning_enable  disablecreepspawn
                              dota_spawn_creeps   		spawncreeps
                              dota_spawn_neutrals 		spawnneutrals
                              host_timescale  		timescale
                              dota_ability_debug_disable  	unwtf
                              dota_ability_debug_enable   	wtf
                              dota_bot_give_item  		givebots
                              dota_bot_give_level 		levelbots
                              dota_create_unit		createhero
                              dota_dev killwards		killwards
                              dota_dev forcegamestart		startgame
                              dota_create_item		item
                              dota_dev player_givegold	gold
                              dota_dev hero_refresh		refresh
                              dota_dev hero_respawn		respawn
                              dota_dev hero_level		lvlup
                              Thanks. Will add them up later.

                              Comment

                              Working...
                              X