[REQUEST] Code for dota

General talk about editing, cheating, and deprotecting maps.

Moderator: Cheaters

mark013
Newcomer
Posts: 10
Joined: March 20th, 2012, 6:54 pm

[REQUEST] Code for dota

Post by mark013 »

functions:

Increase damage (not attack) like Quelling Blade
Increase attack speed
Increase physical and magical resistance
Increase dodge like Talisman of evasion
Increase critical like Buriza
Increase block chance like Vanguard
Increase bonus damage like Javelin and MKB
Increase bash chance like Basher
Increase chain lightning chance like Maelstorm and Mjollnir
Increase the duration of active items like BKB and Satanic

Can anyone please teach me the functions/codes like SetUnitMoveSpeed().
So far that is the only one i figured out after 24 hours of coding and research

Thanks in advance. Im going tong sleep now. Good night!
Kyoshiro
Forum Staff
Posts: 762
Joined: October 27th, 2009, 12:18 pm
Location: Australia, GMT+8

Re: [REQUEST] Code for dota

Post by Kyoshiro »

half the things you asked for arent functions but direct edits of items.
If you have any questions drop in by chat sometime, chances are there'll be someone who can help you that's afking there, so the next best thing is to click the link on UndeadxAssassin's Sig and ask your question there.
mark013
Newcomer
Posts: 10
Joined: March 20th, 2012, 6:54 pm

Re: [REQUEST] Code for dota

Post by mark013 »

how about the 1st 3?
Kyoshiro
Forum Staff
Posts: 762
Joined: October 27th, 2009, 12:18 pm
Location: Australia, GMT+8

Re: [REQUEST] Code for dota

Post by Kyoshiro »

All of them are based off of abilities
If you have any questions drop in by chat sometime, chances are there'll be someone who can help you that's afking there, so the next best thing is to click the link on UndeadxAssassin's Sig and ask your question there.
mark013
Newcomer
Posts: 10
Joined: March 20th, 2012, 6:54 pm

Re: [REQUEST] Code for dota

Post by mark013 »

so i cannot modify that just like i did on the movement speed?

i also bumped into this function which looks good
UnitAddAbility(unit,1095328816)

the 2nd argument adds 10 armor to the unit. i dont know where to get the data. i only have four which is

1095332984
1095332722
1095332728

which i got from fai's codes
Kyoshiro
Forum Staff
Posts: 762
Joined: October 27th, 2009, 12:18 pm
Location: Australia, GMT+8

Re: [REQUEST] Code for dota

Post by Kyoshiro »

those numbers are numberized rawcodes.
I'm going to move this to triggering and editing.
If you have any questions drop in by chat sometime, chances are there'll be someone who can help you that's afking there, so the next best thing is to click the link on UndeadxAssassin's Sig and ask your question there.
mark013
Newcomer
Posts: 10
Joined: March 20th, 2012, 6:54 pm

Re: [REQUEST] Code for dota

Post by mark013 »

where can i get the other numberized rawcodes?

i found out that you can also use strings there by adding single quotes ' '

i was able to use the abilities in the ItemAbilityStrings.txt which is inside the DotA map but i cannot find the numberized raw codes yet.

i tried converting those ability strings into ability id using the AbilityId() function but the function just returned a null value.

im doing this because im looking for a code that can increase my damage (final damage not attack so that it wont appear on the status screen) just like the one that it does on a quelling blade. so far, i only found the values that increase my attack.
Kyoshiro
Forum Staff
Posts: 762
Joined: October 27th, 2009, 12:18 pm
Location: Australia, GMT+8

Re: [REQUEST] Code for dota

Post by Kyoshiro »

quelling blade is based off of demolish
If you have any questions drop in by chat sometime, chances are there'll be someone who can help you that's afking there, so the next best thing is to click the link on UndeadxAssassin's Sig and ask your question there.
User avatar
haxorico
Super Moderator
Posts: 3190
Joined: February 24th, 2009, 1:31 pm
Location: JEW LAND

Re: [REQUEST] Code for dota

Post by haxorico »

IIRC weirdone CP had a command to add damage. Its a basic trigger actually

event:
A unit owned by player X is attacking a unit

action:
GetAttackedUnit HP = GetAttackedUnit HP - Y

X = Cheating Player
Y = Amound of damage added...
Image
Spoiler:
(02:24:09)

Code: Select all

ChatBot: FatherSpace logs into the Chat.
(02:24:28) Lanaya: Gtfo ken.
(02:24:33) ChatBot: FatherSpace logs out of the Chat.
(02:24:40) Lanaya: Thought so. bitch.
(02:24:44) ChatBot: FatherSpace logs into the Chat.
(02:24:48) FatherSpace: Can I come back yet?
(02:24:51) Lanaya: What'd i say earlier.
(02:24:51) Lanaya: No.
(02:24:58) FatherSpace: Let's try this...
(02:25:01) ChatBot: Lanaya has been logged out (Kicked).

Code: Select all


(14:33:51) 2Pac: Do you know what'S so funny?
(14:34:01) Lanaya: No, please show me.
(14:34:07) 2Pac: This.
(14:34:09) ChatBot: Lanaya has been logged out (Kicked).
(14:34:10) 2Pac:


Code: Select all

(14:35:59) haxorico: No one will belive me if I say "I got this song from 2pac on MSN" lolz ^^
(14:36:02) Lanaya: lolz.
(14:36:16) 2Pac: I AIN'T DEAD FFS.
(14:36:26) 2Pac: I'm a living legend, y'now.
(14:37:17) haxorico: why is 2Pac a legend?
(14:37:28) Lanaya: He's the worse rapper evar.

Code: Select all

(15:42:51) Lanaya: can i suck , . . .

Code: Select all

(13:55:21) ChatBot: 2Pac rolls 1d100 and gets 1.
(13:55:21) ChatBot: haxorico rolls 1d2 and gets 2.
(13:55:27) haxorico: owned?

Code: Select all

GeorgeMots: xplain what happens in SP. Why cant you save?
dast.-:i need play with 2 players

Code: Select all

(21:53:08) (673237): plzplzplz, im sorry about before.
(21:53:26) FatherSpace: I'm sorry you were born.
(21:53:31) ChatBot: (673237) has been logged out (Kicked).


Code: Select all

(10:08:02) Bartimaeus: you do know run I youtube channel for my favorite music, right?
owner123
Super Moderator
Posts: 1943
Joined: February 3rd, 2009, 11:28 pm

Re: [REQUEST] Code for dota

Post by owner123 »

haxorico wrote:IIRC weirdone CP had a command to add damage. Its a basic trigger actually

event:
A unit owned by player X is attacking a unit

action:
GetAttackedUnit HP = GetAttackedUnit HP - Y

X = Cheating Player
Y = Amound of damage added...

That would be susceptible to Stop-Spamming. That's when you repeatedly press stop before the attack finishes. No attack cooldown and the trigger still happens.

That said, it's still a pretty awesome system.