Random FAST record problem (double finishes)

Discover FAST, a records keeping server control script with a public records system called Dedimania, which will show records from the server on tm-exchange.com

Moderators: Slig, TM-Patrol

Post Reply
*Garfield
pedestrian
pedestrian
Posts: 14
Joined: 08 Aug 2011 04:15
Owned TM-games: TMO, TMUF

Random FAST record problem (double finishes)

Post by *Garfield » 08 Aug 2011 04:20

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?

User avatar
Slig
Pit Crew
Pit Crew
Posts: 2124
Joined: 05 Sep 2005 17:51
Owned TM-games: ALL
Location: TraxicoLand (Fr)
Contact:

Re: Random FAST record problem (double finishes)

Post by Slig » 08 Aug 2011 10:24

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.

*Garfield
pedestrian
pedestrian
Posts: 14
Joined: 08 Aug 2011 04:15
Owned TM-games: TMO, TMUF

Re: Random FAST record problem (double finishes)

Post by *Garfield » 09 Aug 2011 16:38

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.

*Garfield
pedestrian
pedestrian
Posts: 14
Joined: 08 Aug 2011 04:15
Owned TM-games: TMO, TMUF

Re: Random FAST record problem (double finishes)

Post by *Garfield » 13 Aug 2011 15:50

anyone have any idea.. ? ^^

User avatar
Slig
Pit Crew
Pit Crew
Posts: 2124
Joined: 05 Sep 2005 17:51
Owned TM-games: ALL
Location: TraxicoLand (Fr)
Contact:

Re: Random FAST record problem (double finishes)

Post by Slig » 14 Aug 2011 00:18

It's an external plugin (mcm or GPP one i suppose) bug.

*Garfield
pedestrian
pedestrian
Posts: 14
Joined: 08 Aug 2011 04:15
Owned TM-games: TMO, TMUF

Re: Random FAST record problem (double finishes)

Post by *Garfield » 14 Aug 2011 04:00

I have the GPP external pluggin. I checked but nothing. Any idea to what the problem may be? Everything seemed to be fine.

User avatar
Slig
Pit Crew
Pit Crew
Posts: 2124
Joined: 05 Sep 2005 17:51
Owned TM-games: ALL
Location: TraxicoLand (Fr)
Contact:

Re: Random FAST record problem (double finishes)

Post by Slig » 14 Aug 2011 13:19

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.

Post Reply