Error in FAST folder

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
xis101
happy cruiser
happy cruiser
Posts: 154
Joined: 14 Aug 2006 01:22
Owned TM-games: TMUF
Manialink(s): gn
Contact:

Error in FAST folder

Post by xis101 » 21 Mar 2009 17:39

Lately I have from time to time some files with name like "BadCallCB.157.phpser" in my FAST directory (I´m using 3.2.2c+plugin.locale-recs)

Here is what is written in those files:

Code: Select all

a:4:{s:3:"Url";s:35:"http://dedimania.net:8008/Dedimania";s:8:"Requests";a:3:{i:0;a:2:{s:10:"methodName";s:22:"dedimania.Authenticate";s:6:"params";a:1:{i:0;a:7:{s:4:"Game";s:3:"TMU";s:5:"Login";s:12:"gamesnirvana";s:8:"Password";s:4:"****";s:4:"Tool";s:7:"FastUdl";s:7:"Version";s:6:"3.2.2c";s:6:"Nation";s:31:"World|Germany|Bavaria|Nürnberg";s:8:"Packmask";s:6:"United";}}}i:1;a:2:{s:10:"methodName";s:29:"dedimania.UpdateServerPlayers";s:6:"params";a:4:{i:0;s:3:"TMU";i:1;i:1;i:2;a:12:{s:7:"SrvName";s:22:"$999GSN-$0FCUL5$999-R3";s:7:"Comment";s:22:"$lwww.gamesnirvana.com";s:7:"Private";b:1;s:5:"SrvIP";s:9:"127.0.0.1";s:7:"SrvPort";s:4:"5351";s:10:"XmlrpcPort";s:4:"5361";s:10:"NumPlayers";i:0;s:10:"MaxPlayers";i:24;s:8:"NumSpecs";i:0;s:8:"MaxSpecs";i:24;s:10:"LadderMode";i:1;s:11:"NextFiveUID";s:83:"_j3K72tWIbm6RBgMwpLUEYwI0Ag/6p3_uXfLpeFxjjqH9NxeKw2mCBb/wbEURLMUADXZjx9XLH1Q7V5odwf";}i:3;a:0:{}}}i:2;a:2:{s:10:"methodName";s:24:"dedimania.WarningsAndTTR";s:6:"params";a:0:{}}}s:9:"Callbacks";a:3:{i:0;a:1:{i:0;s:14:"xmlrpc_auth_cb";}i:1;a:2:{i:0;s:23:"database_AnnonceToDB_DB";i:1;i:0;}i:2;N;}s:8:"Response";a:1:{s:5:"Error";s:48:"Webaccess(dedimania.net:8008): Read timeout (20)";}}
and sometimes the recs aren´t saved.

here is also the dedicated.log (don´t know if it has to do with this thing above)

Code: Select all

*******************

Loading current scores for next track...
Done !!
[03/21,18:03:41] DB NumberOfCheck = 13
[03/21,18:03:41] Webaccess(dedimania.net:8009): [OPENED,DONE]: -1.000 / 0.000 / 0.067 (0.000) / 167 [27890,3228]
[03/21,18:03:41] ml_records.Event[StartRace]
[03/21,18:04:09] players.Event[BeginRound] (Status=3)
[03/21,18:04:09] Delay playersSpecialRoundRestart while StatusCode<=3 ...
[03/21,18:04:09] players.Event[PlayerFinish]('jakethecake',0) (mindelay=)
[03/21,18:04:09] players.Event[PlayerFinish]('xis101',0) (mindelay=)
[03/21,18:04:09] playersSpecialRoundRestart:: restarting round (temporary spectators: paul13)
[03/21,18:04:09] playersSpecialRoundRestart:: using endround
Error-cMCBF[-1000,Not in Rounds or Laps mode.] ForceEndRound(): Not in Rounds or Laps mode. (-1000)
[03/21,18:05:50] localdbfPlayerMenuAction.Event[PlayerMenuAction]('xis101',menu.mmenu,1)
[03/21,18:05:51] localdbfPlayerMenuAction.Event[PlayerMenuAction]('xis101',menu.mmenu,)
[03/21,18:05:52] localdbfPlayerMenuAction.Event[PlayerMenuAction]('xis101',menu.players,1)
[03/21,18:05:53] localdbfPlayerMenuAction.Event[PlayerMenuAction]('xis101',menu.players,1)
[03/21,18:05:54] localdbfPlayerMenuAction.Event[PlayerMenuAction]('xis101',menu.hud,1)
[03/21,18:05:55] localdbfPlayerMenuAction.Event[PlayerMenuAction]('xis101',menu.hud,)
[03/21,18:14:43] *Webaccess(dedimania.net:8009): Read timeout (20)

Notice: Undefined index:  Callback in /home/gsnclan/tmuf/fast/includes/web_access.php on line 875

Notice: Undefined index:  Times in /home/gsnclan/tmuf/fast/includes/web_access.php on line 797

Notice: Undefined index:  receive in /home/gsnclan/tmuf/fast/includes/web_access.php on line 797

Notice: Undefined offset:  2 in /home/gsnclan/tmuf/fast/includes/web_access.php on line 797
Image

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

Re: Error in FAST folder

Post by Slig » 21 Mar 2009 18:53

xis101 wrote:Lately I have from time to time some files with name like "BadCallCB.157.phpser" in my FAST directory (I´m using 3.2.2c+plugin.locale-recs)
BadCallCB.xxx.phpser are mainly to have the contents of the dialog with dedimania when there is an error. It is unusefull in case of timeout (where the contents of data is not the problem) and is not created anymore in my current.
xis101 wrote:and sometimes the recs aren´t saved.
probably when there is a connection problem with dedimania server :?

Code: Select all

[03/21,18:04:09] playersSpecialRoundRestart:: using endround
Error-cMCBF[-1000,Not in Rounds or Laps mode.] ForceEndRound(): Not in Rounds or Laps mode. (-1000)

[03/21,18:14:43] *Webaccess(dedimania.net:8009): Read timeout (20)
Notice: Undefined index:  Callback in /home/gsnclan/tmuf/fast/includes/web_access.php on line 875
Notice: Undefined index:  Times in /home/gsnclan/tmuf/fast/includes/web_access.php on line 797
Notice: Undefined index:  receive in /home/gsnclan/tmuf/fast/includes/web_access.php on line 797
Notice: Undefined offset:  2 in /home/gsnclan/tmuf/fast/includes/web_access.php on line 797
i have to look at these ones :shock: thx for your report :)

DangerousThoughts
sunday driver
sunday driver
Posts: 50
Joined: 29 Apr 2008 17:00
Owned TM-games: TMUF
Contact:

Re: Error in FAST folder

Post by DangerousThoughts » 23 Mar 2009 12:24

I also had this problem and it seemed to be something to do with fast as when i moved the same plugins it worked fine. I know use 3.2.1b as thats the last version ive found that works.

User avatar
sergent burn
cyclist
cyclist
Posts: 36
Joined: 02 Dec 2006 10:19
Owned TM-games: TMU,TMN,TMO
Manialink(s): sergentburn
Location: bordeaux (france)

Re: Error in FAST folder

Post by sergent burn » 23 Mar 2009 20:24

same pb with my both serv 1 in Ta and one in Round

it occurs at the end of the map and the same map start once more :ftw:
Manialink ==> SERGENT BURNcolor>
Image
Image

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

Re: Error in FAST folder

Post by Slig » 24 Mar 2009 01:15

Code: Select all

[03/21,18:04:09] playersSpecialRoundRestart:: using endround
Error-cMCBF[-1000,Not in Rounds or Laps mode.] ForceEndRound(): Not in Rounds or Laps mode. (-1000)
Ok, i think that i found the problem : when this happened but failed to restart round then the map result were probably skipped (in fact SpecialRoundRestart should never happen in TA). Should be fixed, i'll try to make a release soon.
Strange that nobody reported is earlier. :?

I fixed the other things, btw they are harmless.

Mort
smooth traffic navigator
smooth traffic navigator
Posts: 275
Joined: 16 Jan 2009 10:57
Owned TM-games: TMUF, TMNF
Location: Australia
Contact:

Re: Error in FAST folder

Post by Mort » 31 Mar 2009 10:41

I've started getting a lot of these as well lately, I just assumed it was due to issues with dedimania getting overloaded.

If it's fixable that's fantastic, too many people keep asking me why their records don't match in local and dedi records. :roll:

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

Re: Error in FAST folder

Post by Slig » 31 Mar 2009 14:54

Mort wrote:If it's fixable that's fantastic, too many people keep asking me why their records don't match in local and dedi records. :roll:
Until next release, you can try to make a quick fix : on line 1526 of plugins/plugin.01.players.php , replace the || with && , so you should get :

Code: Select all

if($_GameInfos['GameMode']!=1 && $_GameInfos['GameMode']!=4 && $_players_round_current<=1){

DangerousThoughts
sunday driver
sunday driver
Posts: 50
Joined: 29 Apr 2008 17:00
Owned TM-games: TMUF
Contact:

Re: Error in FAST folder

Post by DangerousThoughts » 19 May 2009 02:25

Slig wrote:

Code: Select all

[03/21,18:04:09] 
Strange that nobody reported is earlier.  :? 
[/quote]


I had mentioned this awhile back here http://www.tm-forum.com/viewtopic.php?f=126&t=20336  8) 

guess you overlooked it or something, never mind tho as ill try changing that bit of code.  :1

Mort
smooth traffic navigator
smooth traffic navigator
Posts: 275
Joined: 16 Jan 2009 10:57
Owned TM-games: TMUF, TMNF
Location: Australia
Contact:

Re: Error in FAST folder

Post by Mort » 20 May 2009 12:37

I'm still getting this problem even after making that change. Is ther some other conditions I should be checking for that might help work out why this happens?

That change did fix the problem with tracks repeating mentioned in the other thread.

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

Re: Error in FAST folder

Post by Slig » 20 May 2009 15:53

Mort wrote:I'm still getting this problem even after making that change. Is ther some other conditions I should be checking for that might help work out why this happens?
if it is another problem, and if you can describe precisely what happens and in what conditions, you are welcome ;)

Mort
smooth traffic navigator
smooth traffic navigator
Posts: 275
Joined: 16 Jan 2009 10:57
Owned TM-games: TMUF, TMNF
Location: Australia
Contact:

Re: Error in FAST folder

Post by Mort » 21 May 2009 03:04

There doesn't seem to be any specific thing on my side that causes them to be created. They happen for different servers at different time with no common cause I can see.

Looking at the files themselves they all seem to have one of these messages at the end

Code: Select all

...
:"methodName";s:29:"dedimania.UpdateServerPlayers";s:6:"params";a:4:{i:0;s:3:"TMU";i:1;i:0;i:2;a:12:{s:7:"SrvName";s:36:"$o$f30BAG $0f0RACING $33FHigh Octane";s:7:"Comment";s:142:"Welcome to BAG RACING
Visit $lhttp://bagracing.forums-free.com$z  for rules and info.
We welcome track comments and suggestions on our forums.";s:7:"Private";b:0;s:5:"SrvIP";s:7:"0.0.0.0";s:7:"SrvPort";s:4:"2352";s:10:"XmlrpcPort";s:4:"5004";s:10:"NumPlayers";i:0;s:10:"MaxPlayers";i:20;s:8:"NumSpecs";i:0;s:8:"MaxSpecs";i:2;s:10:"LadderMode";i:1;s:11:"NextFiveUID";s:139:"vd2clqpqWkTXrGNkrl63QV2AoAg/BuaDnekoFeRmomjCqIqU0ecf1Ba/fco6Kxj9hihQ9FkzmejFNKvzIug/olvo2tzXFpDhqspDiOhsliPHeC7/ictSI142S4HdWIoz5m_dgL25Rmc";}i:3;a:0:{}}}i:2;a:2:{s:10:"methodName";s:24:"dedimania.WarningsAndTTR";s:6:"params";a:0:{}}}s:9:"Callbacks";a:3:{i:0;a:1:{i:0;s:14:"xmlrpc_auth_cb";}i:1;a:2:{i:0;s:23:"database_AnnonceToDB_DB";i:1;i:0;}i:2;N;}s:8:"Response";a:1:{s:5:"Error";s:48:"Webaccess(dedimania.net:8008): Read timeout (20)";}}
or

Code: Select all

...
"methodName";s:21:"dedimania.PlayerLeave";s:6:"params";a:2:{i:0;s:3:"TMU";i:1;s:7:"bodybag";}}i:2;a:2:{s:10:"methodName";s:24:"dedimania.WarningsAndTTR";s:6:"params";a:0:{}}}s:9:"Callbacks";a:3:{i:0;a:1:{i:0;s:14:"xmlrpc_auth_cb";}i:1;N;i:2;N;}s:8:"Response";a:1:{s:5:"Error";s:248:"Webaccess(dedimania.net:8009): Error(10060)A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
, connection failed!";}}
It looks like they might just be happening when the dedimania server is busy ("ReadTimeout" and "Host failed to Respond")? I sometimes check my server and see there are over 100 of these files sitting in the root of the TM server directory. Could they be put in a different directory like fastlogs instead?

Just another thought. I turned off the FAST logging as you suggested in another of my posts, so would that also stop these files being created?

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

Re: Error in FAST folder

Post by Slig » 27 May 2009 14:47

Mort wrote:Just another thought. I turned off the FAST logging as you suggested in another of my posts, so would that also stop these files being created?
No.
Btw in next release .phpser error files are not created anymore in such cases (at least the 'Read timeout' case). Eventually i will avoid to create them in case of debug 0.

Mort
smooth traffic navigator
smooth traffic navigator
Posts: 275
Joined: 16 Jan 2009 10:57
Owned TM-games: TMUF, TMNF
Location: Australia
Contact:

Re: Error in FAST folder

Post by Mort » 28 May 2009 09:50

No problem, I'll just sit here and hold my breath until you release the update :)

Post Reply