Page 1 of 1

Random FAST record problem (double finishes)

Posted: 08 Aug 2011 04:20
by *Garfield
Hey everyone, this is a minor error, but I was wondering if someone might be able to help. For some reason, after someone finishes a lap and you check the full record list of the map, it says they finish 2 times instead of just 1. Then the number of finishes keeps adding by 2. This occurs on every single map too. Anyone know what may be wrong?

Re: Random FAST record problem (double finishes)

Posted: 08 Aug 2011 10:24
by Slig
What Fast version ? dedicated version ? and perhaps a more explicit report with a screenshot showing it, here i not really sure about what you mean in all parts.

Re: Random FAST record problem (double finishes)

Posted: 09 Aug 2011 16:38
by *Garfield
Fast3.2.2c-winphp5 is the exact file version I'm using. and it just looks like this.

Image

Image

All the finished numbers are (2x) it's not just a coincidence, all finishes are doubled.

Re: Random FAST record problem (double finishes)

Posted: 13 Aug 2011 15:50
by *Garfield
anyone have any idea.. ? ^^

Re: Random FAST record problem (double finishes)

Posted: 14 Aug 2011 00:18
by Slig
It's an external plugin (mcm or GPP one i suppose) bug.

Re: Random FAST record problem (double finishes)

Posted: 14 Aug 2011 04:00
by *Garfield
I have the GPP external pluggin. I checked but nothing. Any idea to what the problem may be? Everything seemed to be fine.

Re: Random FAST record problem (double finishes)

Posted: 14 Aug 2011 13:19
by Slig
I checked quickly the code : it's mcm plugin, not gpp.

I don't see why it would increment by 2 and not 1, it is done only in localdbf_update_local_records() function.
You can try to add logs in the code to try to understand the problem. for example :

Code: Select all

line 491 (ie after '$date = date("d.m.Y-H:i:s");'), insert line :
  console("localdbf_update_local_records({$login},{$tracktime}) : store PlayerFinish=1");

line 534 (ie after '$playerfinish = $tmp_playerfinish + 1;'), insert line :
  console("localdbf_update_local_records({$login},{$tracktime}) : store PlayerFinish={$playerfinish}");
It won't fix it, but after you should be able by searching in log to check that the shown value is the same as the value which was stored by the plugin.