You can edit the .lua file to make it 3 seconds. I do notice a very small increase in lag, but not enough to affect game play.
You can edit the .lua file to make it 3 seconds. I do notice a very small increase in lag, but not enough to affect game play.
all the lua files does is update the entitys that are displayed. if you put an entity on the map once, it stays there and is dynamicaly updated by the client itself. So updating every 3 seconds will not do you any good. What really needs to be done is updating on certain events. e.g. when you die in pvp , it should update as soon as you respawn. If new players join a scenario ( also a lua event) it should pick those up and display them on the map.
For the PVE part, updating more then every 15 seconds won't make much of a difference.
The update does NOT update the map, it only iterates through the entity list and adds every entity to the map. Once added the rest is handled by the WAR client (removing also).
BTW: editing the lua file is something you can do yourself. its 10 lines. if you can't, learn it. i won't do it.
HansW,
Are you going to increase radar area and is it possible to separate NPC from the players?
new warextdll is available, but you need to adjust the UpdateRadar call in the lua script. see the warextdll release thread for options.
Last edited by HansW; 04-06-2009 at 05:05 AM.
You are awesome m8, thanks alot. +Rep
P.S. Why I can not add a rep to you? It says I had to give some over ppl before, I did it ans still can not...
Last edited by tino4ka; 04-06-2009 at 05:05 AM.
Is this detected?
Just tested, it works!
This is an amazing release, Only question would be if I could remove it being on the map, and only make it visible on the Minimap.
Dear HansW ,
this is by far the best hack/addon I have ever seen , if you could increase the radius of the radar and filter it ( so only real players are shown) I would happily donate a fee of 5 euro for the hard work.
His botpoc (proof of concept) is better (which he is focusing right now).
No, i can't.. but you can. Open the WARader.lua file and make it look like this:
please read the warextdll thread on how to call UpdateRadar and it's parmameters.Code:WARadar = {} local TIME_DELAY = 10 local timeLeft = TIME_DELAY function WARadar.Update(elapsed) timeLeft = timeLeft - elapsed if timeLeft > 0 then return end timeLeft = TIME_DELAY UpdateRadar(0,3) end