wc3edit.net

United Warcraft 3 map hacking!
It is currently April 25th, 2024, 1:13 am

All times are UTC




Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 9 posts ] 
Author Message
 Post subject: Help with dota map
PostPosted: May 9th, 2011, 10:33 am 
Offline
Member

Joined: October 1st, 2010, 2:36 pm
Posts: 61
Image

Is it possible to show the move speed and attack speed just by pointing to the armor and attack as shown in the picture above? If it is possible, can anyone teach me how? Thanks in advance to those who would help.


Top
 Profile  
 
 Post subject: Re: Help with dota map
PostPosted: May 9th, 2011, 10:42 am 
Offline
Forum Staff

Joined: October 27th, 2009, 12:18 pm
Posts: 1108
Location: Australia, GMT+8
no its not

_________________
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  
 
 Post subject: Re: Help with dota map
PostPosted: May 9th, 2011, 10:45 am 
Offline
Member

Joined: October 1st, 2010, 2:36 pm
Posts: 61
Kyoshiro wrote:
no its not

Are you sure? How did you know its not possible? Why answer with three words when you can elaborate with more?


Top
 Profile  
 
 Post subject: Re: Help with dota map
PostPosted: May 9th, 2011, 6:27 pm 
Offline
Crusader

Joined: January 27th, 2007, 4:46 pm
Posts: 5093
Location: Greece, Veria
GM_reggie wrote:
Kyoshiro wrote:
no its not

Are you sure? How did you know its not possible? Why answer with three words when you can elaborate with more?


Should you be familiar with jass you should know. There is nothing to elaborate on.

_________________
http://slowbro.org/
`·.,¸,.·*¯`·.,¸,.·*¯[;::;(。◕‿‿­­​­­­­­◕。)
Image
Image
Image

Spoiler:
(03:36:55) xkiska: im too much of a dumbass to understand this


Top
 Profile  
 
 Post subject: Re: Help with dota map
PostPosted: May 9th, 2011, 8:30 pm 
Offline
Forum Spammer

Joined: March 30th, 2009, 9:02 pm
Posts: 682
well o.o if dota did it....it SHOULD be possible?
mebe not specifically in the .j file but still should be do-able
unless....those arent screenies and he edited it someway >.>


Top
 Profile  
 
 Post subject: Re: Help with dota map
PostPosted: May 9th, 2011, 9:37 pm 
Offline
Super Moderator

Joined: February 3rd, 2009, 11:28 pm
Posts: 2394
There's no function in WE to get attack speed.
You can make a -ms command to display movespeed.
And I'm pretty sure they are edited, and he was asking how to make the interface look like what he posted.


Top
 Profile  
 
 Post subject: Re: Help with dota map
PostPosted: May 10th, 2011, 12:31 am 
Offline
Super Moderator
User avatar

Joined: February 24th, 2009, 1:31 pm
Posts: 3815
Location: JEW LAND
I think its just an old picture.
A maphack by ShadowFrench had that function. Showing you the attack speed (times between attacks) and movement speed.
I haven't seen any other map-hack doing so, and I was also intersted in doing that.
I have no idea how he did it. Yet he did. But it wasn't built in the map. And as far as I know. You cannot do so using jass (yet I said that before and was proven wrong) As a way to get attack speed (in theory) is do-able.
Spoiler:
Code:
globals
trigger textTrigger=CreateTrigger()
trigger attackSpeedCalculator=CreateTrigger()
real attacksNum=0
boolean array playerChecker
timer attackTime=CreateTimer()
endglobals
function textCommand takes nothing returns nothing
if SubString(GetEventPlayerChatString(),0,4)=="-asc" then
if playerChecker[GetPlayerId(GetTriggerPlayer())]==false then
call DisplayTextToPlayer(GetTriggerPlayer(),0,0,"Attack-Speed Check will start after you attack a unit")
set playerChecker[GetPlayerId(GetTriggerPlayer())]=true
else
call DisplayTextToPlayer(GetTriggerPlayer(),0,0,"Check in-progress - Attack a unit to start check")
endif
endif
endfunction
function calculate takes nothing returns nothing
if playerChecker[GetPlayerId(GetOwningPlayer(GetAttacker()))] and attacksNum==0 then
call TimerStart(attackTime,0,false,null)
set attacksNum=1
elseif playerChecker[GetPlayerId(GetOwningPlayer(GetAttacker()))] and attacksNum==1 then
set attacksNum=TimerGetElapsed(attackTime)
set playerChecker[GetPlayerId(GetOwningPlayer(GetAttacker()))]=false
call DisplayTextToPlayer(Player(GetPlayerId(GetOwningPlayer(GetAttacker()))),0,0,GetUnitName(GetAttacker())+" attack time is: " + R2S(attacksNum))
set attacksNum=0
endif
endfunction
function startHere takes nothing returns nothing
local integer looper=0
loop
exitwhen looper>11
call TriggerRegisterPlayerChatEvent(textTrigger,Player(looper),"-",false)
call TriggerRegisterPlayerUnitEvent(attackSpeedCalculator,Player(looper),EVENT_PLAYER_UNIT_ATTACKED,null)
set looper=looper+1
endloop
call TriggerAddAction(textTrigger,function textCommand)
call TriggerAddAction(attackSpeedCalculator,function calculate)
endfunction
function main takes nothing returns nothing
call startHere()
endfunction

I just made it while writing this post. It may not work, Ill be surprised it it would. Yet its the prototype....
Still it won't make it on-screen like in the pic.

_________________
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  
 
 Post subject: Re: Help with dota map
PostPosted: August 23rd, 2011, 1:18 pm 
Offline
Newcomer

Joined: August 21st, 2011, 3:57 pm
Posts: 2
Maybe he just took the highest speed as 1.0 and this is the result of calculating


Top
 Profile  
 
 Post subject: Re: Help with dota map
PostPosted: August 23rd, 2011, 11:28 pm 
Offline
Forum Spammer

Joined: March 30th, 2009, 9:02 pm
Posts: 682
necro much? o.o
and....theres an injecter that can do that now....i forgot where i got it but i know i got it from this site...
its called dream something
it shows both ms and atk spd


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 9 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 20 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:  
cron
Powered by phpBB® Forum Software © phpBB Group

phpBB SEO


Privacy Policy Statement
Impressum (German)