@tino4ka
I am currently working on the addon, adding some config stuff in order to enable/disable and changing the settings for the UpdateRadar() function. When Hans gives his ok I will release it for public use.
@tino4ka
I am currently working on the addon, adding some config stuff in order to enable/disable and changing the settings for the UpdateRadar() function. When Hans gives his ok I will release it for public use.
Cap0n3, know that there are alot of interes in your project, i hope you end up with something nice, we all really appreciate your enfort.
HansW, you are still my eroe, i know this dll is going to becone the nicer plugin for war. (i'm a old macroquest user and worshipper).
Good work to you guys, wish i could help but sadly i spend most of my time trying to stay alive.
Alcor75
Due to insufficient credits I can't drop you a PM, but could you please upload the lib again because rapidshare has some problems with the download-servers.
Furthermore, can anyone confirm, that the latest dll won't load? I don't mean injecting, even LoadLibrary fails on my laptop. Perhaps its just me...
Nah, I didn't use a selfmade injector or something like this. wInjects errorcode points to a failed LoadLibrary. But I'm not certain, that this is your libs fault. Later today I can test it on my home PC, I just wanted to know whether someone else had problems.
It seems that RapidShare solved their problems, but if you like, I would offer you a ftp-account on on of my servers to host the lib as mirror for RS or I mirror it myself so that the users have a alternative download option.
Edit: Feature requests:
- function to check whether a (hostile) target is in combat
- function to get a (hostile) targets target
- function to get distance between two entities
Last edited by cap0n3; 04-26-2009 at 03:37 AM. Reason: added feature requests
You can do me a favor and build a small addon to help identify the flags. Some of them are easily identified in the clients code, others not. What would great is an addon that does the following:
- For the hostile Target Entity go through flags 0..32 and print them as a table (either in the debug windows, or in a own log window).
- every frame check if any of the flags changed, if so print them again.
This way its easier to identify flags , like isinCombat, if there is one, by just selecting a target and attacking it.
The Distance function is easy and i will put it in the next release (also this could be done in LUA i think its better done in c++).
The Target of the Target is something i will have to look for.
As to the dll download, just download the latest dll as soon as i post it and put i wherever you like. i can also upload it to a place you pm me. i will add the mirror to the post then.
Here you are. The addon scans hostile target flags from 0 to MAXFLAGS - 1 (const defined at line 4) every second (if you want to check every frame set const THROTTLE at line 5 to false).
when a flag changes the addon prints a message like:
[04] true -> false
where 04 is the FLAG_ID
Download: Click me
New DLL Version uploaded.
Mirror added ( thanx to cap0n3 for providing the webspace )
I fixed the bugged LOS check, should now work fine.
I changed the was the Entity Lists are iterated. This might pick up more Enties, but also might give you invalid Entites. This should make WARadar pick up more Entites.
Not in the release is the new Entity List function and some other improvements i had planed and partly announced. They will be in the next release, i hope.
Updated the dll again.
Added:
- Target field in the Entity table ( contains the GUID of the Entities Target )
If the Target is 0 the Entiy is most likly not in Combat. It takes a view frames for the Target field to be updated by the client.
New Release:
Added:
- EntityList : Pass a string with a combination of the following options:
minlevel
maxlevel
maxdistance
los
friendly
hostile
lootable
scavageable
butcherable
healer
auctioneer
vaultkeeper
dead
mailbox
trainer
merchant
questavailable
questcomplete
player
npc
statics
nearest
tier
some options need a value like this : maxdistance=110
Call Example: EntityList("hostile,npc,nearest") , EntityList("nearest,healer") , EntityList("hostile,player,maxdistance=110")
Not all option combinations produce usefull results. Try yourself.
The result will be a lua table containing the matching entities.
HansW tnx for your time, tnx tnx alot, i don't know how to use lua (even if i'm trying to slowly learn) but surelly i undestand what power gave us all the upgrade you put in the dll. hoe someone more expert than me want to share some scripting power.
Alcor75