Making wc3ft more compatible with ATAC 3.0.1

Want to talk about war3ft or make suggestions? Post them here

Moderator: Forum Moderator

Post Reply
[Swe]Gizmo
Peon
Posts: 16
Joined: Sun Aug 20, 2006 3:54 pm

Re: Making wc3ft more compatible with ATAC 3.0.1

Post by [Swe]Gizmo » Sun Jan 10, 2010 3:56 am

Not the best explantion from him, i dont understand if he mean that you should replace pev_dmg_inflictor with the attackers id if you know it and i guess this should only be added were there is damage done to someone and not for example were human get hp added by skill...
Is there anyway to fix this problem?
There are 2 options:
1) Getting down and dirty with your 3rd party mod source-code and finding any calls to set_user_health or
set_pev( id, pev_health, then placing before it set_pev( id, pev_dmg_inflictor, 0 ) or the attackers index if you know it.

whosyourdaddy
Spell Breaker
Posts: 398
Joined: Sun Apr 27, 2008 10:11 pm

Re: Making wc3ft more compatible with ATAC 3.0.1

Post by whosyourdaddy » Sun Jan 10, 2010 8:03 am

does some1 still need this?
Image

whosyourdaddy
Spell Breaker
Posts: 398
Joined: Sun Apr 27, 2008 10:11 pm

Re: Making wc3ft more compatible with ATAC 3.0.1

Post by whosyourdaddy » Sun Jan 10, 2010 5:50 pm

here try this
Attachments
war3ft.amxx
(263.34 KiB) Downloaded 691 times
Image

User avatar
YamiKaitou
Forum Moderator
Forum Moderator
Posts: 1925
Joined: Wed Feb 01, 2006 4:33 pm
Contact:

Re: Making wc3ft more compatible with ATAC 3.0.1

Post by YamiKaitou » Mon Jan 11, 2010 10:06 am

@ whosyourdaddy
Did you just add the pev_dmg_inflictor stuff in the code or did you do something else?

FYI, bug report filed so I can remember to implement it http://wc3mods.net/bugs/?do=details&task_id=145
Image

No support via PM or Email

whosyourdaddy
Spell Breaker
Posts: 398
Joined: Sun Apr 27, 2008 10:11 pm

Re: Making wc3ft more compatible with ATAC 3.0.1

Post by whosyourdaddy » Mon Jan 11, 2010 11:54 am

YamiKaitou wrote:@ whosyourdaddy
Did you just add the pev_dmg_inflictor stuff in the code or did you do something else?

FYI, bug report filed so I can remember to implement it http://wc3mods.net/bugs/?do=details&task_id=145
ya i put the pev dmg inflictor to whom ever was getting an hp change
Image

User avatar
YamiKaitou
Forum Moderator
Forum Moderator
Posts: 1925
Joined: Wed Feb 01, 2006 4:33 pm
Contact:

Re: Making wc3ft more compatible with ATAC 3.0.1

Post by YamiKaitou » Wed Feb 24, 2010 9:02 am

Thought I'd mention that the changes were committed to the SVN last night
Image

No support via PM or Email

Post Reply