wc3edit.net

United Warcraft 3 map hacking!
It is currently April 26th, 2024, 10:09 pm

All times are UTC




Post new topic Reply to topic  [ 26 posts ]  Go to page 1, 2, 3  Next
Author Message
 Post subject: [REQUEST] Code for dota
PostPosted: March 21st, 2012, 9:51 pm 
Offline
Newcomer

Joined: March 20th, 2012, 6:54 pm
Posts: 10
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!


Top
 Profile  
 
PostPosted: March 22nd, 2012, 4:47 am 
Offline
Forum Staff

Joined: October 27th, 2009, 12:18 pm
Posts: 1108
Location: Australia, GMT+8
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.


Top
 Profile  
 
PostPosted: March 22nd, 2012, 4:55 am 
Offline
Newcomer

Joined: March 20th, 2012, 6:54 pm
Posts: 10
how about the 1st 3?


Top
 Profile  
 
PostPosted: March 22nd, 2012, 6:52 am 
Offline
Forum Staff

Joined: October 27th, 2009, 12:18 pm
Posts: 1108
Location: Australia, GMT+8
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.


Top
 Profile  
 
PostPosted: March 22nd, 2012, 6:26 pm 
Offline
Newcomer

Joined: March 20th, 2012, 6:54 pm
Posts: 10
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


Top
 Profile  
 
PostPosted: March 23rd, 2012, 4:07 am 
Offline
Forum Staff

Joined: October 27th, 2009, 12:18 pm
Posts: 1108
Location: Australia, GMT+8
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.


Top
 Profile  
 
PostPosted: March 23rd, 2012, 5:57 am 
Offline
Newcomer

Joined: March 20th, 2012, 6:54 pm
Posts: 10
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.


Top
 Profile  
 
PostPosted: March 23rd, 2012, 6:21 am 
Offline
Forum Staff

Joined: October 27th, 2009, 12:18 pm
Posts: 1108
Location: Australia, GMT+8
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.


Top
 Profile  
 
PostPosted: March 24th, 2012, 12:54 am 
Offline
Super Moderator
User avatar

Joined: February 24th, 2009, 1:31 pm
Posts: 3815
Location: JEW LAND
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:
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:

(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:
(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:
(15:42:51) Lanaya: can i suck , . . .

Code:
(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:
GeorgeMots: xplain what happens in SP. Why cant you save?
dast.-:i need play with 2 players

Code:
(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:
(10:08:02) Bartimaeus: you do know run I youtube channel for my favorite music, right?


Top
 Profile  
 
PostPosted: March 24th, 2012, 2:07 am 
Offline
Super Moderator

Joined: February 3rd, 2009, 11:28 pm
Posts: 2394
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.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 26 posts ]  Go to page 1, 2, 3  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 35 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group

phpBB SEO


Privacy Policy Statement
Impressum (German)