getting a CRT parameter error

Discuss everything about Xymph's Aseco flavoured server control scripts for TM Forever / classic TMN and for TM² Canyon.

Moderators: Xymph, TM-Patrol

Post Reply
ferenyl
cyclist
cyclist
Posts: 37
Joined: 26 Jul 2008 13:37
Owned TM-games: tmuf

getting a CRT parameter error

Post by ferenyl » 02 Jun 2009 00:05

im keep getting a CRT parameter error on line 718 in gbxremote.inc.php.

xaseco works fine but it messes up my log file.

PHP Version 5.2.9

how can i fix this? or can i just disable logging? (the file becomes quite large)

UPDATE: i found a way to disable the logfile ( i think) i removed the logfile path in basic.inc.php (it gave me onother error in xaseco beccause it cannot be empty) i hope that it doesnt write it to another file. but xaseco is runing :P

Xymph
Pit Crew
Pit Crew
Posts: 5726
Joined: 19 Aug 2007 12:58
Owned TM-games: TMN, TMU, TMF, TM²
Contact:

Re: getting a CRT parameter error

Post by Xymph » 02 Jun 2009 08:00

Sure, that's a fine way to solve an error... disable the logging. :roll:
ferenyl wrote:im keep getting a CRT parameter error on line 718 in gbxremote.inc.php.
What does that mean, "CRT parameter"? Why don't you include the relevant excerpt when the error first shows up in the log after a XAseco restart?
Developer of XASECO for TMF/TMN ESWC & XASECO2 for TM²: see XAseco.org
Find your way around the Mania community from the TMN ESWC hub, TMF hub, TM² hub, and SM hub

ferenyl
cyclist
cyclist
Posts: 37
Joined: 26 Jul 2008 13:37
Owned TM-games: tmuf

Re: getting a CRT parameter error

Post by ferenyl » 02 Jun 2009 17:40

the thing is that xaseco starts normaly but then this error starts to run. line after line. with no more info that i gave you. the logfile keeps filling upp with just this error.

but xaseco runs as normal and its a non destructive error. i cant find any sulotions on google either.

but thanks anyway :D im just glad that xaseco runs :P

Xymph
Pit Crew
Pit Crew
Posts: 5726
Joined: 19 Aug 2007 12:58
Owned TM-games: TMN, TMU, TMF, TM²
Contact:

Re: getting a CRT parameter error

Post by Xymph » 02 Jun 2009 17:56

Sheesh you're dense. I'm trying to determine whether this is a problem in XAseco that I need to look into further, or a configuration mistake on your end that you should fix. Disabling logging is always the wrong way to address it. Why is it so hard to post the relevant excerpt (and not just the one line) from the log when the error starts to occur??
Developer of XASECO for TMF/TMN ESWC & XASECO2 for TM²: see XAseco.org
Find your way around the Mania community from the TMN ESWC hub, TMF hub, TM² hub, and SM hub

ferenyl
cyclist
cyclist
Posts: 37
Joined: 26 Jul 2008 13:37
Owned TM-games: tmuf

Re: getting a CRT parameter error

Post by ferenyl » 03 Jun 2009 00:45

this is the error code that i got.

Code: Select all

[XAseco] PHP Version is 5.2.9 on WINNT
[XAseco] Load settings [config.xml]
[XAseco] Load admin/ops lists [adminops.xml]
[XAseco] Load banned IPs list [bannedips.xml]
[XAseco] Load plugins list [plugins.xml]
[XAseco] Load plugin [plugin.localdatabase.php]
[XAseco] Load plugin [plugin.rounds.php]
[XAseco] Load plugin [chat.admin.php]
[XAseco] Load plugin [chat.help.php]
[XAseco] Load plugin [chat.records.php]
[XAseco] Load plugin [chat.records2.php]
[XAseco] Load plugin [chat.recrels.php]
[XAseco] Load plugin [chat.dedimania.php]
[XAseco] Load plugin [chat.players.php]
[XAseco] Load plugin [chat.players2.php]
[XAseco] Load plugin [chat.wins.php]
[XAseco] Load plugin [chat.laston.php]
[XAseco] Load plugin [chat.stats.php]
[XAseco] Load plugin [chat.server.php]
[XAseco] Load plugin [chat.song.php]
[XAseco] Load plugin [chat.me.php]
[XAseco] Load plugin [plugin.tmxinfo.php]
[XAseco] Load plugin [plugin.sminfo.php]
[XAseco] Load plugin [plugin.track.php]
[XAseco] Load plugin [plugin.checkpoints.php]
[XAseco] Load plugin [plugin.dedimania.php]
[XAseco] Load plugin [plugin.rasp.php]
[XAseco] Load plugin [plugin.rasp_jukebox.php]
[XAseco] Load plugin [plugin.rasp_chat.php]
[XAseco] Load plugin [plugin.rasp_karma.php]
[XAseco] Load plugin [plugin.rasp_nextmap.php]
[XAseco] Load plugin [plugin.rasp_nextrank.php]
[XAseco] Load plugin [plugin.rasp_votes.php]
[XAseco] Load plugin [plugin.chatlog.php]
[XAseco] Load plugin [plugin.style.php]
[XAseco] Load plugin [plugin.panels.php]
[XAseco] Load plugin [plugin.donate.php]
[XAseco] Load plugin [plugin.musicserver.php]
[XAseco] Load plugin [plugin.uptodate.php]
[XAseco] Load plugin [plugin.autotime.php]
[XAseco] Load plugin [jfreu.plugin.php]
[XAseco] Load plugin [mistral.idlekick.php]
[XAseco] Load plugin [plugin.fufi.widgets.php]
[XAseco] Load plugin [plugin.fufi.autoqueue.php]
[XAseco] Try to connect to TM dedicated server on 127.0.0.1:5002
[XAseco] Try to authenticate with login 'SuperAdmin' and password '******'
[XAseco] Connection established successfully !
[Local DB] Load settings file
[Local DB] Try to connect to MySQL server on '127.0.0.1' with database 'xaseco'
[Local DB] MySQL Server Version is 5.1.34-community
[RASP] Cleaning up unused data
*-*-*-*-*-* RASP is running! *-*-*-*-*-*
|...Loading Settings
|...Loaded!
|...Checking database structure
|...Structure OK!
|...Calculating ranks
|...Done!
[06/02,02:09:40] Load default style [styles/DarkBlur.xml]
[06/02,02:09:40] Load default admin panel [panels/AdminBelowChat.xml]
[06/02,02:09:40] Load default donate panel [panels/DonateBelowCPList.xml]
[06/02,02:09:40] Load default records panel [panels/RecordsRightBottom.xml]
[06/02,02:09:40] Load default vote panel [panels/VoteBelowChat.xml]
[06/02,02:09:41] ************* (Dedimania) *************
[06/02,02:09:41] * Dataserver connection on Dedimania ...
[06/02,02:09:41] * Try connection on http://dedimania.net:8013/Dedimania ...
[06/02,02:09:41] Webaccess (dedimania.net:80): send: deflate, receive: gzip
[06/02,02:09:41] * Connection and status ok! :)
[06/02,02:09:41] * NEWS (Dedimania, 08/05): news
[06/02,02:09:41] ------------- (Dedimania) -------------
###############################################################################
  XASECO v1.08 running on 127.0.0.1:5002
  Name   : Мεгсς ״Fun Server! - kopingmercs
  Game   : TmForever United - Stadium - TimeAttack
  Version: 2.11.21 / 2009-05-04
  Authors: Florian Schnell & Assembler Maniac
  Re-Authored: Xymph
###############################################################################
[PHP Warning] Invalid CRT parameters detected on line 718 in file C:\Users\Administrator\Desktop\mercs server\xaseco\includes\GbxRemote.inc.php
Begin Challenge
[XAseco] PHP Version is 5.2.9 on WINNT
[XAseco] Load settings [config.xml]
[XAseco] Load admin/ops lists [adminops.xml]
[XAseco] Load banned IPs list [bannedips.xml]
[XAseco] Load plugins list [plugins.xml]
[XAseco] Load plugin [plugin.localdatabase.php]
[XAseco] Load plugin [plugin.rounds.php]
[XAseco] Load plugin [chat.admin.php]
[XAseco] Load plugin [chat.help.php]
[XAseco] Load plugin [chat.records.php]
[XAseco] Load plugin [chat.records2.php]
[XAseco] Load plugin [chat.recrels.php]
[XAseco] Load plugin [chat.dedimania.php]
[XAseco] Load plugin [chat.players.php]
[XAseco] Load plugin [chat.players2.php]
[XAseco] Load plugin [chat.wins.php]
[XAseco] Load plugin [chat.laston.php]
[XAseco] Load plugin [chat.stats.php]
[XAseco] Load plugin [chat.server.php]
[XAseco] Load plugin [chat.song.php]
[XAseco] Load plugin [chat.me.php]
[XAseco] Load plugin [plugin.tmxinfo.php]
[XAseco] Load plugin [plugin.sminfo.php]
[XAseco] Load plugin [plugin.track.php]
[XAseco] Load plugin [plugin.checkpoints.php]
[XAseco] Load plugin [plugin.dedimania.php]
[XAseco] Load plugin [plugin.rasp.php]
[XAseco] Load plugin [plugin.rasp_jukebox.php]
[XAseco] Load plugin [plugin.rasp_chat.php]
[XAseco] Load plugin [plugin.rasp_karma.php]
[XAseco] Load plugin [plugin.rasp_nextmap.php]
[XAseco] Load plugin [plugin.rasp_nextrank.php]
[XAseco] Load plugin [plugin.rasp_votes.php]
[XAseco] Load plugin [plugin.chatlog.php]
[XAseco] Load plugin [plugin.style.php]
[XAseco] Load plugin [plugin.panels.php]
[XAseco] Load plugin [plugin.donate.php]
[XAseco] Load plugin [plugin.musicserver.php]
[XAseco] Load plugin [plugin.uptodate.php]
[XAseco] Load plugin [plugin.autotime.php]
[XAseco] Load plugin [jfreu.plugin.php]
[XAseco] Load plugin [mistral.idlekick.php]
[XAseco] Load plugin [plugin.fufi.widgets.php]
[XAseco] Load plugin [plugin.fufi.autoqueue.php]
[XAseco] Try to connect to TM dedicated server on 127.0.0.1:5002
[XAseco] Try to authenticate with login 'SuperAdmin' and password '********'
[XAseco] Connection established successfully !
[Local DB] Load settings file
[Local DB] Try to connect to MySQL server on '127.0.0.1' with database 'xaseco'
[Local DB] MySQL Server Version is 5.1.34-community
[RASP] Cleaning up unused data
*-*-*-*-*-* RASP is running! *-*-*-*-*-*
|...Loading Settings
|...Loaded!
|...Checking database structure
|...Structure OK!
|...Calculating ranks
|...Done!
[06/03,02:32:59] Load default style [styles/DarkBlur.xml]
[06/03,02:32:59] Load default admin panel [panels/AdminBelowChat.xml]
[06/03,02:32:59] Load default donate panel [panels/DonateBelowCPList.xml]
[06/03,02:32:59] Load default records panel [panels/RecordsRightBottom.xml]
[06/03,02:32:59] Load default vote panel [panels/VoteBelowChat.xml]
[06/03,02:33:00] ************* (Dedimania) *************
[06/03,02:33:00] * Dataserver connection on Dedimania ...
[06/03,02:33:00] * Try connection on http://dedimania.net:8012/Dedimania ...
[06/03,02:33:00] Webaccess (dedimania.net:80): send: deflate, receive: gzip
[06/03,02:33:00] * Connection and status ok! :)
[06/03,02:33:00] * NEWS (Dedimania, 08/05): news
[06/03,02:33:00] ------------- (Dedimania) -------------
###############################################################################
  XASECO v1.08 running on 127.0.0.1:5002
  Name   : Мεгсς ״Fun Server! - kopingmercs
  Game   : TmForever United - Stadium - TimeAttack
  Version: 2.11.21 / 2009-05-04
  Authors: Florian Schnell & Assembler Maniac
  Re-Authored: Xymph
###############################################################################
[PHP Warning] Invalid CRT parameters detected on line 718 in file C:\Users\Administrator\Desktop\mercs server\xaseco\includes\GbxRemote.inc.php
Begin Challenge
[06/03,02:33:01] track changed [none] >> [Night_City]
[06/03,02:33:01] current record on Night_City is 0:20.84 and held by VGMLelle
[PHP Warning] Invalid CRT parameters detected on line 718 in file C:\Users\Administrator\Desktop\mercs server\xaseco\includes\GbxRemote.inc.php
[PHP Warning] Invalid CRT parameters detected on line 718 in file C:\Users\Administrator\Desktop\mercs server\xaseco\includes\GbxRemote.inc.php
[PHP Warning] Invalid CRT parameters detected on line 718 in file C:\Users\Administrator\Desktop\mercs server\xaseco\includes\GbxRemote.inc.php
[PHP Warning] Invalid CRT parameters detected on line 718 in file C:\Users\Administrator\Desktop\mercs server\xaseco\includes\GbxRemote.inc.php
[PHP Warning] Invalid CRT parameters detected on line 718 in file C:\Users\Administrator\Desktop\mercs server\xaseco\includes\GbxRemote.inc.php
[PHP Warning] Invalid CRT parameters detected on line 718 in file C:\Users\Administrator\Desktop\mercs server\xaseco\includes\GbxRemote.inc.php
[PHP Warning] Invalid CRT parameters detected on line 718 in file C:\Users\Administrator\Desktop\mercs server\xaseco\includes\GbxRemote.inc.php
[PHP Warning] Invalid CRT parameters detected on line 718 in file C:\Users\Administrator\Desktop\mercs server\xaseco\includes\GbxRemote.inc.php
[PHP Warning] Invalid CRT parameters detected on line 718 in file C:\Users\Administrator\Desktop\mercs server\xaseco\includes\GbxRemote.inc.php
[PHP Warning] Invalid CRT parameters detected on line 718 in file C:\Users\Administrator\Desktop\mercs server\xaseco\includes\GbxRemote.inc.php
[PHP Warning] Invalid CRT parameters detected on line 718 in file C:\Users\Administrator\Desktop\mercs server\xaseco\includes\GbxRemote.inc.php
[PHP Warning] Invalid CRT parameters detected on line 718 in file C:\Users\Administrator\Desktop\mercs server\xaseco\includes\GbxRemote.inc.php
and its keep on writing that line on and on forever

Xymph
Pit Crew
Pit Crew
Posts: 5726
Joined: 19 Aug 2007 12:58
Owned TM-games: TMN, TMU, TMF, TM²
Contact:

Re: getting a CRT parameter error

Post by Xymph » 03 Jun 2009 07:56

Ok, that helped, thanks for the log. This is a harmless warning from the underlying CRT (C language Run-Time) library on your server, and the proper fix is to suppress it at the place where it occurs, in the GbxRemote files. So please download these replacements, put them in the includes/ directory, re-enable logging, restart XAseco, and let me know if the warning is gone.
Developer of XASECO for TMF/TMN ESWC & XASECO2 for TM²: see XAseco.org
Find your way around the Mania community from the TMN ESWC hub, TMF hub, TM² hub, and SM hub

ferenyl
cyclist
cyclist
Posts: 37
Joined: 26 Jul 2008 13:37
Owned TM-games: tmuf

Re: getting a CRT parameter error

Post by ferenyl » 03 Jun 2009 10:47

the warning is gone. thank you so much

Post Reply