Archived copy of war3source.com, the War3Source forum (2009–2020), rebuilt from the Internet Archive by wc3mods.net. This page was captured on 2012-10-25 (original capture). Forum · All archived topics · Wiki · Bug tracker · Blog

War3:Source

General Discussion => War3: Source - Requests => Topic started by: -El Diablo on April 05, 2012, 08:05:42 PM



Title: WARDs... Can there be some way to identiy who is whos?
Post by: -El Diablo on April 05, 2012, 08:05:42 PM
Is there anyway possible to identify who's ward is who's?

In the next update, can there be a "name of the player / client" attached to the ward?


Title: Re: WARDs... Can there be some way to identiy who is whos?
Post by: Necavi on April 05, 2012, 08:07:30 PM
Well, if everyone used the Ward system it would be easy to write a plugin to do so, but with everyone implementing their own, it is nearly impossible to do so.


Title: Re: WARDs... Can there be some way to identiy who is whos?
Post by: -El Diablo on April 07, 2012, 10:52:16 AM
Could someone update the out of the box races that have those 2 wards, heal and hurt wards.. with names that will be attached to the wards?



Title: Re: WARDs... Can there be some way to identiy who is whos?
Post by: Revan on April 07, 2012, 01:43:04 PM
Even thoose aren't using the ward engine..

EDIT:
But where to display the name? hudhint? seems legit! but I know a better way(to avoid hudhint spamming lol)..
some of you will probably know (if debug mode is active)that entities will display their classname directly at their origin
we could take use of it. there are 2 ways.
1. create an entity with preds awesome CEntity framework and set classname to players name
2. try using a existing entity like trigger_multiple and change classname
then try sigscanning CBaseEntity::EntityText() or other stuff (I'm not completly sure if it would works - but it's worth a try)
by using one of thoose methods we also won't need to loop trough every player and check distance and other stuff, just hooking CBaseEntity::Touch() should do the trick :)


Title: Re: WARDs... Can there be some way to identiy who is whos?
Post by: Glider⠠⠵ on April 07, 2012, 04:54:36 PM
some of you will probably know (if debug mode is active)that entities will display their classname directly at their origin

I just jizzed in my pants. That would be a fucking awesome way.


Title: Re: WARDs... Can there be some way to identiy who is whos?
Post by: Ownz on April 09, 2012, 06:33:35 PM
wut?


Title: Re: WARDs... Can there be some way to identiy who is whos?
Post by: Glider⠠⠵ on April 09, 2012, 07:24:38 PM
wut?

looky here (https://developer.valvesoftware.com/wiki/Ent_text)


Title: Re: WARDs... Can there be some way to identiy who is whos?
Post by: Revan on April 10, 2012, 07:34:18 AM
I've sigscanned CBaseEntity::EntityText (http://hlssmod.net/he_code/game/server/baseentity.h) and NDebugOverlay::EntityTextAtPosition (http://hlssmod.net/he_code/game/shared/debugoverlay_shared.cpp) but both didn't worked :/ ..seems like there is some debugging mode only check inside them. If we know the function we could detour it