Aseco fatal error

This forum is dedicated to the Aseco/Rasp 2 server records and control script by Flo and Assembler Maniac. Announcements and issues can be discussed in this forum.

Moderators: Flo, f*ckfish, Assembler Maniac, TM-Patrol

Post Reply
swazzo
pedestrian
pedestrian
Posts: 7
Joined: 10 Jun 2008 21:17
Owned TM-games: TMNF

Aseco fatal error

Post by swazzo » 10 Jun 2008 21:24

Hello,
help me!!!!!!

My problem is

default plugin active
[ASECO Error] Connection could not estabilished on line 518 in file c:\xxxx\aseco.php

dblocal active
PHP fatal error: Cannot use string offset as array in c:\xxx\xmlparser.inc.php on line 105

i have installed mysql mysql-essential-5.0.51b
extract in c:\php php-5.2.6

thanks

Assembler Maniac
Pit Crew
Pit Crew
Posts: 1493
Joined: 03 Jun 2006 13:24
Owned TM-games: TMU
Contact:

Re: Aseco fatal error

Post by Assembler Maniac » 10 Jun 2008 21:31

swazzo wrote:Hello,
help me!!!!!!

My problem is

default plugin active
[ASECO Error] Connection could not estabilished on line 518 in file c:\xxxx\aseco.php

dblocal active
PHP fatal error: Cannot use string offset as array in c:\xxx\xmlparser.inc.php on line 105

i have installed mysql mysql-essential-5.0.51b
extract in c:\php php-5.2.6

thanks
Sounds like an error in your config.xml file or localdb.xml file. Make sure all of the tags are properly matched.

swazzo
pedestrian
pedestrian
Posts: 7
Joined: 10 Jun 2008 21:17
Owned TM-games: TMNF

Re: Aseco fatal error

Post by swazzo » 10 Jun 2008 22:48

Assembler Maniac wrote: Sounds like an error in your config.xml file or localdb.xml file. Make sure all of the tags are properly matched.
was my first thought but appears to be quite correct
config .xml

<admins>
<!-- ip and port only needed when joining server over LAN -->
<tmlogin>xxxx</tmlogin> xxxxx= my personal user tmnf

<tmserver>
<login>xxx</login> xxx=user dedicated server
<password>xxx</password> xxx= pass user dedicated server
<ip>127.0.0.1</ip>
<port>3306</port> is correct
</tmserver>
</settings>


localdb.xml
the parameters mysql are correct

swazzo
pedestrian
pedestrian
Posts: 7
Joined: 10 Jun 2008 21:17
Owned TM-games: TMNF

Re: Aseco fatal error

Post by swazzo » 10 Jun 2008 22:53

I tried to install it on 3 different PC, the result is always the same

Assembler Maniac
Pit Crew
Pit Crew
Posts: 1493
Joined: 03 Jun 2006 13:24
Owned TM-games: TMU
Contact:

Re: Aseco fatal error

Post by Assembler Maniac » 10 Jun 2008 23:39

swazzo wrote:
Assembler Maniac wrote: Sounds like an error in your config.xml file or localdb.xml file. Make sure all of the tags are properly matched.
was my first thought but appears to be quite correct
config .xml

<admins>
<!-- ip and port only needed when joining server over LAN -->
<tmlogin>xxxx</tmlogin> xxxxx= my personal user tmnf

<tmserver>
<login>xxx</login> xxx=user dedicated server
<password>xxx</password> xxx= pass user dedicated server
<ip>127.0.0.1</ip>
<port>3306</port> is correct
</tmserver>
</settings>


localdb.xml
the parameters mysql are correct
Where exactly is the </admins> closing tag?

swazzo
pedestrian
pedestrian
Posts: 7
Joined: 10 Jun 2008 21:17
Owned TM-games: TMNF

Re: Aseco fatal error

Post by swazzo » 11 Jun 2008 15:35

Assembler Maniac wrote:
Where exactly is the </admins> closing tag?

yes admin closed


I realized that I have the same problem even if launch aseco without the server open ....

Assembler Maniac
Pit Crew
Pit Crew
Posts: 1493
Joined: 03 Jun 2006 13:24
Owned TM-games: TMU
Contact:

Re: Aseco fatal error

Post by Assembler Maniac » 11 Jun 2008 15:47

Is port 3306 what the server says it's listening on when you start it?

Clip/paste your entire tmdedicated server startup (remove passwords). And the config files you're using for both the dedicated server AND aseco.

Something's not complete, or there's a wrong assignment someplace.

swazzo
pedestrian
pedestrian
Posts: 7
Joined: 10 Jun 2008 21:17
Owned TM-games: TMNF

Re: Aseco fatal error

Post by swazzo » 11 Jun 2008 18:16

port 3306 is correct

I did not understand what files have to post ...

thanks for your patience

User avatar
lvlao
road tourist
road tourist
Posts: 82
Joined: 16 Oct 2006 12:47
Owned TM-games: TMO TMN TMNF TMUF
Contact:

Re: Aseco fatal error

Post by lvlao » 12 Jun 2008 11:40

3306 is not the MySQL port? :?

AM ask you the file dedicated_cfg.xml that you can find in "Directory_of_dedicated_server"/GameData/Config and the file config.xml in the main directory of aseco.

I suspect that you put in aseco config file the username, password and port of MySQL.... you have to put the xmlrpc_port SuperAdmin and SuperAdmin_Password that you write in the dedicated_cfg.xml instead....

PS: What Dedicated Server you are using? ;)

Getter
TrackMania Nations Forever (Free Game): Mecha:Getter
Team --> Mecha:Team (Forum)
Server TM1 Stadium --> Mecha:Base tmtp://#join=lvlao_server
Server TM2 Stadium --> Mecha:Base² maniaplanet://#join=mecha@TMStadium

swazzo
pedestrian
pedestrian
Posts: 7
Joined: 10 Jun 2008 21:17
Owned TM-games: TMNF

Re: Aseco fatal error

Post by swazzo » 12 Jun 2008 20:31

then

Port 3306 is correct mysql i install sql yog for testing
ftp 21/tcp # File Transfer [Control] (XAMPP: FTP Default Port)
smtp 25/tcp mail # Simple Mail Transfer (XAMPP: SMTP Default Port)
http 80/tcp # World Wide Web HTTP (XAMPP: Apache Default Port)
pop3 110/tcp # Post Office Protocol - Version 3 (XAMPP: POP3 Default Port)
imap 143/tcp # Internet Message Access Protocol (XAMPP: IMAP Default Port)
https 443/tcp # http protocol over TLS/SSL (XAMPP: Apache SSL Port)
mysql 3306/tcp # MySQL (XAMPP: MySQL Default Port)
AJP/1.3 8009 # AJP/1.3 (XAMPP: Tomcat AJP/1.3 Port)
http-alt 8080/tcp # HTTP Alternate (see port 80) (XAMPP: Tomcat Default Port)
dedicated_cfg.xml -> TrackmaniaServer_2008-05-19 whith server mania V0.97
<?xml version="1.0" encoding="utf-8"?>
<dedicated>
<authorization_levels>
<level>
<name>SuperAdmin</name>
<password>SuperAdmin</password>
</level>
<level>
<name>Admin</name>
<password>Admin</password>
</level>
<level>
<name>User</name>
<password>user</password>
</level>
</authorization_levels>
<masterserver_account>
<login>bassano</login>
<password>bassano</password>
<validation_key>ITA</validation_key>
</masterserver_account>
<server_options>
<name>Server BRT swazzo</name>
<comment>
</comment>
<hide_server>0</hide_server>
<!-- value is 0 (always shown), 1 (always hidden), 2 (hidden from nations) -->
<max_players>32</max_players>
<password>
</password>
<max_spectators>32</max_spectators>
<password_spectator>
</password_spectator>
<ladder_mode>1</ladder_mode>
<!-- value between 'inactive', 'forced' (or '0', '1') -->
<enable_p2p_upload>True</enable_p2p_upload>
<enable_p2p_download>True</enable_p2p_download>
<callvote_timeout>60000</callvote_timeout>
<callvote_ratio>0.5</callvote_ratio>
<!-- default ratio. value in [0..1], or -1 to forbid. -->
<callvote_ratios>
<voteratio command="Ban" ratio="0.65" />
<!-- commands can be "Ban", "Kick", "ChallengeRestart", "NextChallenge", ... -->
</callvote_ratios>
<allow_challenge_download>True</allow_challenge_download>
<autosave_replays>False</autosave_replays>
<autosave_validation_replays>False</autosave_validation_replays>
<referee_password>
</referee_password>
<referee_validation_mode>0</referee_validation_mode>
<!-- value is 0 (only validate top3 players), 1 (validate all players) -->
<use_changing_validation_seed>False</use_changing_validation_seed>
</server_options>
<system_config>
<connection_uploadrate>512</connection_uploadrate>
<!-- KBps -->
<connection_donwloadrate>8192</connection_donwloadrate>
<!-- KBps -->
<force_ip_address>
</force_ip_address>
<server_port>2350</server_port>
<server_p2p_port>3450</server_p2p_port>
<client_port>
</client_port>
<bind_ip_address>
</bind_ip_address>
<use_nat_upnp>False</use_nat_upnp>
<p2p_cache_size>600</p2p_cache_size>
<xmlrpc_port>5002</xmlrpc_port>
<xmlrpc_allowremote>True</xmlrpc_allowremote>
<!-- If you specify an ip adress here, it'll be the only accepted adress. this will improve security. -->
<blacklist_url>
</blacklist_url>
<guestlist_filename>
</guestlist_filename>
<blacklist_filename>
</blacklist_filename>
<packmask>nations</packmask>
<use_proxy>False</use_proxy>
<proxy_login>
</proxy_login>
<proxy_password>
</proxy_password>
</system_config>
</dedicated>
config.xml aseco
<?xml version="1.0" encoding="utf-8" ?>
<settings>
<aseco>
<admins>
<!-- ip and port only needed when joining server over LAN -->
<tmlogin>bassano</tmlogin>
</admins>
<colors>
<error>$f00$i</error>
<emotic>$z$fa0$i</emotic>
<record>$0f3</record>
<message>$39f</message>
<server>$ff0</server>
<highlite>$fff</highlite>
<welcome>$000</welcome>
<interact>$ff0$i</interact>
<donate>$f0f</donate> <!-- new to 2.1.5 -->
</colors>
<messages>
<startup>{#server}*** Aseco {#highlite}v{1}{#server} running on {#highlite}{2}{#server}:{#highlite}{3}{#server} ***</startup>
<welcome>{#welcome}Hello {1},{br}This server uses Aseco v{2} to manage your records.{br}The TMU version of Aseco includes a Manialink Framework.{br}It manages all windows that appear on your screen.{br}The bar you see at the top of the screen will contain all windows you hide.{br}Click on the text of the symbols to recover them.{br}For more details visit the $f00$l[http://www.sourceforge.net/projects/aseco]Project's Website$l{#welcome}!</welcome>
<record_new>{#server}>> {#record}You secured your {#highlite}{1}{#record}. record place with a time of {#highlite}{2}{#record}!</record_new>
<record_new_rank>{#server}>> {#highlite}{1}{#record} claimed the {#highlite}{3}{#record}. Record rank ({#highlite}{2}{#record})!</record_new_rank>
<record_first>{#server}>> {#highlite}{1}{#record} took the {#highlite}{3}{#record}. Record with a time of {#highlite}{2}{#record}!</record_first>
<record_current>{#server}>> {#message}Current Record on {#highlite}{1}{#message} is {#highlite}{2}{#message} and held by {#highlite}{3}</record_current>
<record_none>{#server}>> {#message}Currently no Record on {#highlite}{1}{#message} ...</record_none>
<ranking>{#server}>> {#message}Overall Record Ranking after this round:</ranking>
<ranking_record>{#highlite}{1}{#message}.{#highlite}{2}{#message}[{#highlite}{3}{#message}],</ranking_record>
<ranking_none>{#server}>> {#message}Overall Record Ranking after this round: No records!</ranking_none>
<vote_in_progress>{#server}{#message}There is already a vote in progress. Wait until it's over, then try again.</vote_in_progress>

<!-- donate messages - new to 2.1.5 -->
<donation>{#donate} Donated {#highlite}{1}{#donate} coppers to {#highlite}{2}$z</donation>
<thanks_all>{#server}>> {#highlite}{1}$z$s{#donate} made a donation of {#highlite}{2}{#donate} coppers. Thank You!</thanks_all>
<thank_you>{#server}> {#donate}You made a donation of {#highlite}{1}{#donate} coppers. Thank You!</thank_you>
<donate_minimum>{#server}> {#error}Minimum donation amount is {#highlite}$i {1}{#error} coppers!</donate_minimum>
<donate_help>{#server}> {#error}Use {#highlite}$i /donate <number>{#error} to donate coppers to the server</donate_help>
</messages>
<welcome_msg_window>True</welcome_msg_window>
<welcome_msg_enabled>True</welcome_msg_enabled>
<script_timeout>60</script_timeout>
<endrace_chatrecs>False</endrace_chatrecs>
<recs_count>5</recs_count>
<debug>False</debug>
<style>standard</style>
</aseco>
<tmserver>
<login>root</login>
<password>root</password>
<ip>127.0.0.1</ip>
<port>3306</port>
</tmserver>
</settings>
Last edited by swazzo on 12 Jun 2008 21:12, edited 1 time in total.

Assembler Maniac
Pit Crew
Pit Crew
Posts: 1493
Joined: 03 Jun 2006 13:24
Owned TM-games: TMU
Contact:

Re: Aseco fatal error

Post by Assembler Maniac » 12 Jun 2008 20:36

The config.xml file needs to have the XMLRPC port for TM Dedicated server, not MySQL.

swazzo
pedestrian
pedestrian
Posts: 7
Joined: 10 Jun 2008 21:17
Owned TM-games: TMNF

Re: Aseco fatal error

Post by swazzo » 13 Jun 2008 17:22

excuse the stupid question ... I see where that leads use the dedicated server tm?

Assembler Maniac
Pit Crew
Pit Crew
Posts: 1493
Joined: 03 Jun 2006 13:24
Owned TM-games: TMU
Contact:

Re: Aseco fatal error

Post by Assembler Maniac » 13 Jun 2008 21:19

swazzo wrote:excuse the stupid question ... I see where that leads use the dedicated server tm?
Umm, what exactly are you trying to do?

ASECO connects to a TM Dedicated server and uses a MySQL database to store records and info. It also allows players to see the track list and request tracks to play, send messages, etc.

What were you thinking ASECO was used for?

nocturne
solid chaser
solid chaser
Posts: 1390
Joined: 08 Jun 2007 18:48
Owned TM-games: all
Contact:

Re: Aseco fatal error

Post by nocturne » 13 Jun 2008 21:46

Long story short... you put the ip/port for mysql in the localdb.xml (127.0.0.1:3306), and you have to use the XMLRPC port for the aseco config.xml (in your case, should be '127.0.0.1:5002').

Post Reply