Page Index Toggle Pages: 1
Topic Tools
Normal Topic Finding dupplicated items within action $10 (Read 2324 times)
wulfskin
Peon
*
Offline


I love YaBB 1G - SP1!

Posts: 30
Location: Germany
Joined: Jan 4th, 2003
Finding dupplicated items within action $10
May 6th, 2005 at 12:37pm
Post Tools
Hello,

as Julas did in his great Replay Parser, I also want to list the buildings/heros/units/items build/used.
Like him I only analyse action $10 for it. Unfortunately there are often duplicated actions within the same second of which I can't find out if they're real or just a cause of lag.
To find out duplicated abilities, Julas used this:
Code
Select All
if (($this->time - $this->players[$player_id]['heroes'][$hero]['ability_time'] > $this->action_delay || !$this->players[$player_id]['heroes'][$hero]['ability_time']) && $this->players[$player_id]['heroes'][$hero]['abilities'][$ability] < 3) { 

But the problem is that there not only duplicated abilities but also duplicated units and so on.

So has anyone an idea how to find out if a unit/building was really built or not?

Regards,
Hape
  
Back to top
ICQ  
IP Logged
 
Julas.wtfwrongpass
Grunt
**
Offline



Posts: 84
Joined: May 11th, 2004
Re: Finding dupplicated items within action $10
Reply #1 - May 6th, 2005 at 1:01pm
Post Tools
In the upcoming version I've improved the algorithm a bit. But generally we don't know how to distinguish lag actions from real actions.
  
Back to top
WWWICQ  
IP Logged
 
Page Index Toggle Pages: 1
Topic Tools