XAseco and Records Eyepiece Not Working

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

Moderators: Xymph, TM-Patrol

Ideas_xo
pedestrian
pedestrian
Posts: 11
Joined: 09 Jan 2020 04:30
Owned TM-games: TMUF

XAseco and Records Eyepiece Not Working

Post by Ideas_xo » 09 Jan 2020 04:58

Hello,

I have a dedicated server that I bought(from hosting company DigitalOcean) and have downloaded the normal trackmania server configuration that works perfectly without any plugins. I then decided to try and add XAseco and 'records eyepiece' onto my server since I like to see the dedimania records and other useful widgets. My sql server is fully working and I followed multiple guides and youtube videos. My logs for aseco come up with the default 'successful' message

" XASECO v1.16 running on 127.0.0.1:5000
Name : Becca's Test Server - ideas_server
Game : TmForever United - Stadium - TimeAttack
Version: 2.11.26 / 2011-02-21
Authors: Florian Schnell & Assembler Maniac
Re-Authored: Xymph
"

All previous entries saying it was a successful connection to dedimania and all plugins loaded successfully. When I login to the server, even though XAseco says it should be fully running it still looks like a normal server with no additional widgets.

Youtube link I followed:

Text guide I followed: https://medium.com/@Jonese1234/how-to-s ... a44dbf528e

I am using XAseco 1.16 with Records Eyepiece 1.1.1. The plugins line of code for Records Eyepiece is in the proper location in the 'plugins.xml' folder. 'records_eyepiece.xml' is inside of my 'xesaco' folder. 'plugin.records_eyepiece.php' is inside of my 'plugins' folder. I was wondering if there is anything else I am missing, any help would be appreciated. I can post any logs or lines of code that would further help me.

Thank you.

User avatar
L3cKy
smooth traffic navigator
smooth traffic navigator
Posts: 216
Joined: 05 Sep 2007 13:55
Owned TM-games: TMUF
Location: Berlin
Contact:

Re: XAseco and Records Eyepiece Not Working

Post by L3cKy » 09 Jan 2020 05:27

aseco.log or logfile.txt (take care when u post that file cause of password etc) would be nice ;)

Ideas_xo
pedestrian
pedestrian
Posts: 11
Joined: 09 Jan 2020 04:30
Owned TM-games: TMUF

Re: XAseco and Records Eyepiece Not Working

Post by Ideas_xo » 09 Jan 2020 18:45

L3cKy wrote:
09 Jan 2020 05:27
aseco.log or logfile.txt (take care when u post that file cause of password etc) would be nice ;)
Hi! Thanks for the reply. Here are the logfiles for both 'aseco.log' and 'logfile.txt'

aseco.log

Code: Select all

[tmf@trackmaniaserver xaseco]$ cat aseco.log
# initialize XASECO ###########################################################
[XAseco] PHP Version is 5.4.16 on Linux
[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.lastwin.php]
[XAseco] Load plugin [chat.stats.php]
[XAseco] Load plugin [chat.server.php]
[XAseco] Load plugin [chat.songmod.php]
[XAseco] Load plugin [chat.me.php]
[XAseco] Load plugin [plugin.tmxinfo.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.uptodate.php]
[XAseco] Load plugin [jfreu.plugin.php]
[XAseco] Load plugin [mistral.idlekick.php]
[XAseco] Load plugin [plugin.records_eyepiece.php]
[01/09,18:33:44] Try to connect to TM dedicated server on 127.0.0.1:5000 timeout 180s
[01/09,18:33:44] Try to authenticate with login 'SuperAdmin' and password 'password'
[01/09,18:33:44] Connection established successfully !
[01/09,18:33:44] [LocalDB] Load config file [localdatabase.xml]
[01/09,18:33:44] [LocalDB] Try to connect to MySQL server on 'localhost' with database 'aseco'
[PHP Warning] mysql_connect(): Headers and client library minor version mismatch. Headers:50564 Library:50645 on line 73 in file /home/tmf/xaseco/plugins/plugin.localdatabase.php
[01/09,18:33:44] [LocalDB] MySQL Server Version is 5.7.28
[01/09,18:33:44] [LocalDB] Checking database structure...
[01/09,18:33:44] [LocalDB] ...Structure OK!
[01/09,18:33:44] [RASP] Loading config file [rasp.xml]
[01/09,18:33:44] [RASP] Checking database structure...
[01/09,18:33:44] [RASP] ...Structure OK!
[01/09,18:33:44] [RASP] Cleaning up unused data
[01/09,18:33:44] Load default style [styles/DarkBlur.xml]
[01/09,18:33:44] Load default admin panel [panels/AdminBelowChat.xml]
[01/09,18:33:44] Load default donate panel [panels/DonateBelowCPList.xml]
[01/09,18:33:44] Load default records panel [panels/RecordsRightBottom.xml]
[01/09,18:33:44] Load default vote panel [panels/VoteBelowChat.xml]
[01/09,18:33:44] ************* (Dedimania) *************
[01/09,18:33:44] * Dataserver connection on Dedimania ...
[01/09,18:33:44] * Try connection on http://dedimania.net:8002/Dedimania ...
[01/09,18:33:45] Webaccess (dedimania.net:8002/Dedimania.8021): send: deflate, receive: deflate
[01/09,18:33:45] * Connection and status ok! (Dedimania.8021)
[01/09,18:33:45] * NEWS (Dedimania, 08/05): news
[01/09,18:33:45] ------------- (Dedimania) -------------
[01/09,18:33:45] **********[plugin.records_eyepiece.php/1.1.1-TMF]**********
[01/09,18:33:45] >> Checking Database for required extensions...
[01/09,18:33:45]    + Found column `timezone` at table `players_extra`.
[01/09,18:33:45]    + Found column `displaywidgets` at table `players_extra`.
[01/09,18:33:45]    + Found column `mostfinished` at table `players_extra`.
[01/09,18:33:45]    + Found column `mostrecords` at table `players_extra`.
[01/09,18:33:45]    + Found column `roundpoints` at table `players_extra`.
[01/09,18:33:45]    + Found column `visits` at table `players_extra`.
[01/09,18:33:45]    + Found column `winningpayout` at table `players_extra`.
[01/09,18:33:45]    + Found index `Nation` at table `players`.
[01/09,18:33:45]    + Found index `Wins` at table `players`.
[01/09,18:33:45]    + Found index `UpdatedAt` at table `players`.
[01/09,18:33:45]    + Found index `Score` at table `records`.
[01/09,18:33:45]    + Found index `Score` at table `rs_karma`.
[01/09,18:33:45]    + Found index `Score` at table `rs_times`.
[01/09,18:33:45] >> Updating `mostfinished` counts for all Players...
[01/09,18:33:45] >> Updating `mostrecords` counts for all Players...
[01/09,18:33:45] >> Finished.
[01/09,18:33:45] ***********************************************************
###############################################################################
  XASECO v1.16 running on 127.0.0.1:5000
  Name   : Becca's Test Server - ideas_server
  Game   : TmForever United - Stadium - TimeAttack
  Version: 2.11.26 / 2011-02-21
  Authors: Florian Schnell & Assembler Maniac
  Re-Authored: Xymph
###############################################################################
Begin Challenge
[01/09,18:33:46] [plugin.records_eyepiece.php] Register event "onCheckpoint" to enabled wanted Widgets.
[01/09,18:33:46] track changed [undefined] >> [C14-Endurance]
[01/09,18:33:46] currently no record on C14-Endurance
End Round
End Challenge
[01/09,18:34:58] [RASP] Calculating ranks...
[01/09,18:34:58] [RASP] ...Done!
Begin Challenge
[01/09,18:35:00] track changed [C14-Endurance] >> [C15-Speed]
[01/09,18:35:00] currently no record on C15-Speed
Begin Round
End Round
End Challenge
[01/09,18:34:58] [RASP] Calculating ranks...
[01/09,18:34:58] [RASP] ...Done!
Begin Challenge
[01/09,18:35:00] track changed [C14-Endurance] >> [C15-Speed]
[01/09,18:35:00] currently no record on C15-Speed
Begin Round
End Round
End Challenge
[01/09,18:34:58] [RASP] Calculating ranks...
[01/09,18:34:58] [RASP] ...Done!
Begin Challenge
[01/09,18:35:00] track changed [C14-Endurance] >> [C15-Speed]
[01/09,18:35:00] currently no record on C15-Speed
Begin Round
----

logfile.txt

Code: Select all

[XAseco] PHP Version is 5.4.16 on Linux
[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.lastwin.php]
[XAseco] Load plugin [chat.stats.php]
[XAseco] Load plugin [chat.server.php]
[XAseco] Load plugin [chat.songmod.php]
[XAseco] Load plugin [chat.me.php]
[XAseco] Load plugin [plugin.tmxinfo.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.uptodate.php]
[XAseco] Load plugin [jfreu.plugin.php]
[XAseco] Load plugin [mistral.idlekick.php]
[XAseco] Load plugin [plugin.records_eyepiece.php]
[01/09,18:33:44] Try to connect to TM dedicated server on 127.0.0.1:5000 timeout 180s
[01/09,18:33:44] Try to authenticate with login 'SuperAdmin' and password 'password'
[01/09,18:33:44] Connection established successfully !
[01/09,18:33:44] [LocalDB] Load config file [localdatabase.xml]
[01/09,18:33:44] [LocalDB] Try to connect to MySQL server on 'localhost' with database 'aseco'
[PHP Warning] mysql_connect(): Headers and client library minor version mismatch. Headers:50564 Library:50645 on line 73 in                    file /home/tmf/xaseco/plugins/plugin.localdatabase.php
[01/09,18:33:44] [LocalDB] MySQL Server Version is 5.7.28
[01/09,18:33:44] [LocalDB] Checking database structure...
[01/09,18:33:44] [LocalDB] ...Structure OK!
[01/09,18:33:44] [RASP] Loading config file [rasp.xml]
[01/09,18:33:44] [RASP] Checking database structure...
[01/09,18:33:44] [RASP] ...Structure OK!
[01/09,18:33:44] [RASP] Cleaning up unused data
[01/09,18:33:44] Load default style [styles/DarkBlur.xml]
[01/09,18:33:44] Load default admin panel [panels/AdminBelowChat.xml]
[01/09,18:33:44] Load default donate panel [panels/DonateBelowCPList.xml]
[01/09,18:33:44] Load default records panel [panels/RecordsRightBottom.xml]
[01/09,18:33:44] Load default vote panel [panels/VoteBelowChat.xml]
[01/09,18:33:44] ************* (Dedimania) *************
[01/09,18:33:44] * Dataserver connection on Dedimania ...
[01/09,18:33:44] * Try connection on http://dedimania.net:8002/Dedimania ...
[01/09,18:33:45] Webaccess (dedimania.net:8002/Dedimania.8021): send: deflate, receive: deflate
[01/09,18:33:45] * Connection and status ok! (Dedimania.8021)
[01/09,18:33:45] * NEWS (Dedimania, 08/05): news
[01/09,18:33:45] ------------- (Dedimania) -------------
[01/09,18:33:45] **********[plugin.records_eyepiece.php/1.1.1-TMF]**********
[01/09,18:33:45] >> Checking Database for required extensions...
[01/09,18:33:45]    + Found column `timezone` at table `players_extra`.
[01/09,18:33:45]    + Found column `displaywidgets` at table `players_extra`.
[01/09,18:33:45]    + Found column `mostfinished` at table `players_extra`.
[01/09,18:33:45]    + Found column `mostrecords` at table `players_extra`.
[01/09,18:33:45]    + Found column `roundpoints` at table `players_extra`.
[01/09,18:33:45]    + Found column `visits` at table `players_extra`.
[01/09,18:33:45]    + Found column `winningpayout` at table `players_extra`.
[01/09,18:33:45]    + Found index `Nation` at table `players`.
[01/09,18:33:45]    + Found index `Wins` at table `players`.
[01/09,18:33:45]    + Found index `UpdatedAt` at table `players`.
[01/09,18:33:45]    + Found index `Score` at table `records`.
[01/09,18:33:45]    + Found index `Score` at table `rs_karma`.
[01/09,18:33:45]    + Found index `Score` at table `rs_times`.
[01/09,18:33:45] >> Updating `mostfinished` counts for all Players...
[01/09,18:33:45] >> Updating `mostrecords` counts for all Players...
[01/09,18:33:45] >> Finished.
[01/09,18:33:45] ***********************************************************
###############################################################################
  XASECO v1.16 running on 127.0.0.1:5000
  Name   : Becca's Test Server - ideas_server
  Game   : TmForever United - Stadium - TimeAttack
  Version: 2.11.26 / 2011-02-21
  Authors: Florian Schnell & Assembler Maniac
  Re-Authored: Xymph
###############################################################################
Begin Challenge
[01/09,18:33:46] [plugin.records_eyepiece.php] Register event "onCheckpoint" to enabled wanted Widgets.
[01/09,18:33:46] track changed [undefined] >> [C14-Endurance]
[01/09,18:33:46] currently no record on C14-Endurance
[tmf@trackmaniaserver xaseco]$
The problem for me is that it says that XASECO is running on my server, but when you join it, it still looks like a normal trackmania server. I hope these logs help!

Thank you.

User avatar
L3cKy
smooth traffic navigator
smooth traffic navigator
Posts: 216
Joined: 05 Sep 2007 13:55
Owned TM-games: TMUF
Location: Berlin
Contact:

Re: XAseco and Records Eyepiece Not Working

Post by L3cKy » 09 Jan 2020 19:09

The first thing i see i a missmatch between php and mysql versions ... you should update php with following command as root ...

NOTE: Make a backup of everything before you do that. ;)

Your Error:
[PHP Warning] mysql_connect(): Headers and client library minor version mismatch. Headers:50564 Library:50645

Solution:
https://github.com/Dolibarr/dolibarr/issues/4143
https://www.skyminds.net/mysql-resoudre ... -mismatch/

Commands as root:

apt-get install php5-mysqlnd
service mysql restart
service apache2 restart

Extra: If you want you can also check with apt-get update and apt-get upgrade for updates etc

If you solved this start again the game server and post also the logfiles.

Greetings

User avatar
L3cKy
smooth traffic navigator
smooth traffic navigator
Posts: 216
Joined: 05 Sep 2007 13:55
Owned TM-games: TMUF
Location: Berlin
Contact:

Re: XAseco and Records Eyepiece Not Working

Post by L3cKy » 09 Jan 2020 19:30

Ah and if you get this error message again:

Code: Select all

[plugin.records_eyepiece.php] Register event "onCheckpoint" to enabled wanted Widgets.
Just open plugin.records_eyepiece.php and add after line 236 following line:

Code: Select all

Aseco::registerEvent('onCheckpoint', 're_onCheckpoint');
Greetings
Last edited by L3cKy on 09 Jan 2020 21:16, edited 1 time in total.

Ideas_xo
pedestrian
pedestrian
Posts: 11
Joined: 09 Jan 2020 04:30
Owned TM-games: TMUF

Re: XAseco and Records Eyepiece Not Working

Post by Ideas_xo » 09 Jan 2020 20:29

L3cKy wrote:
09 Jan 2020 19:09
The first thing i see i a missmatch between php and mysql versions ... you should update php with following command as root ...

NOTE: Make a backup of everything before you do that. ;)

Your Error:
[PHP Warning] mysql_connect(): Headers and client library minor version mismatch. Headers:50564 Library:50645

Solution:
https://github.com/Dolibarr/dolibarr/issues/4143
https://www.skyminds.net/mysql-resoudre ... -mismatch/

Commands as root:

apt-get install php5-mysqlnd
service mysql restart
service apache2 restart

Extra: If you want you can also check with apt-get update and apt-get upgrade for updates etc

If you solved this start again the game server and post also the logfiles.

Greetings

Let me start with by no means I am sufficient with command line or linux lol. I have made a backup of my server and when I tried to install 'php5-mysqlnd' I get this output

Code: Select all

[root@trackmaniaserver ~]# yum install php5-mysqlnd
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirror.trouble-free.net
 * extras: mirror.trouble-free.net
 * updates: mirror.trouble-free.net
digitalocean-agent                                                                              | 3.3 kB  00:00:00
No package php5-mysqlnd available.
Error: Nothing to do
Doing a quick search would I be able to run this command?

yum swap php-mysql php-mysqlnd

I am hesitant to try as I really don't know what that would entail. I have also added the code,

Code: Select all

$aseco->registerEvent('onCheckpoint', 're_onCheckpoint');
after line 236 as you stated.

Sorry for my ignorance with this, and thank you again!

User avatar
L3cKy
smooth traffic navigator
smooth traffic navigator
Posts: 216
Joined: 05 Sep 2007 13:55
Owned TM-games: TMUF
Location: Berlin
Contact:

Re: XAseco and Records Eyepiece Not Working

Post by L3cKy » 09 Jan 2020 20:53

better to run "yum check-update" maybe it gets updated by itself ;)

Ideas_xo
pedestrian
pedestrian
Posts: 11
Joined: 09 Jan 2020 04:30
Owned TM-games: TMUF

Re: XAseco and Records Eyepiece Not Working

Post by Ideas_xo » 09 Jan 2020 20:57

L3cKy wrote:
09 Jan 2020 20:53
better to run "yum check-update" maybe it gets updated by itself ;)
I ran that command and got this output

Code: Select all

[root@trackmaniaserver ~]# yum list php-mysqlnd
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirror.trouble-free.net
 * extras: mirror.trouble-free.net
 * updates: mirror.trouble-free.net
Available Packages
php-mysqlnd.x86_64                                 5.4.16-46.1.el7_7                                 updates
[root@trackmaniaserver ~]# yum check update
Loaded plugins: fastestmirror
check ['update']
[root@trackmaniaserver ~]# yum check-update
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirror.trouble-free.net
 * extras: mirror.trouble-free.net
 * updates: mirror.trouble-free.net
digitalocean-agent                                                                   | 3.3 kB  00:00:00
[root@trackmaniaserver ~]#
I also tried listing all of the 'php-mysqlnd' and found I have one but I think that is the older version?

User avatar
L3cKy
smooth traffic navigator
smooth traffic navigator
Posts: 216
Joined: 05 Sep 2007 13:55
Owned TM-games: TMUF
Location: Berlin
Contact:

Re: XAseco and Records Eyepiece Not Working

Post by L3cKy » 09 Jan 2020 21:02

yum check-update
yum update
You can also try :
yum install php-mysqlnd.x86_64

After this try to start the server with xaseco again.

Ideas_xo
pedestrian
pedestrian
Posts: 11
Joined: 09 Jan 2020 04:30
Owned TM-games: TMUF

Re: XAseco and Records Eyepiece Not Working

Post by Ideas_xo » 09 Jan 2020 21:11

L3cKy wrote:
09 Jan 2020 21:02
yum check-update
yum update

After this try to start the server with xaseco again.
Ran the commands,

Code: Select all

[root@trackmaniaserver ~]# yum check-update
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirror.trouble-free.net
 * extras: mirror.trouble-free.net
 * updates: mirror.trouble-free.net
digitalocean-agent                                                     | 3.3 kB  00:00:00
[root@trackmaniaserver ~]# yum update
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirror.trouble-free.net
 * extras: mirror.trouble-free.net
 * updates: mirror.trouble-free.net
No packages marked for update

Code: Select all

[tmf@trackmaniaserver xaseco]$ cat aseco.log
# initialize XASECO ###########################################################
[XAseco] PHP Version is 5.4.16 on Linux
[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.lastwin.php]
[XAseco] Load plugin [chat.stats.php]
[XAseco] Load plugin [chat.server.php]
[XAseco] Load plugin [chat.songmod.php]
[XAseco] Load plugin [chat.me.php]
[XAseco] Load plugin [plugin.tmxinfo.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.uptodate.php]
[XAseco] Load plugin [jfreu.plugin.php]
[XAseco] Load plugin [mistral.idlekick.php]
[XAseco] Load plugin [plugin.records_eyepiece.php]
PHP Fatal error:  Call to a member function registerEvent() on a non-object in /home/tmf/xaseco/plugins/plugin.records_eyepiece.php on line 237
I might have put

$aseco->registerEvent('onCheckpoint', 're_onCheckpoint');

in the wrong place. It is in 'plugin.records_eyepiece.php'
https://i.imgur.com/q4mqCNs.png

Joining the server still looks like a normal server.

User avatar
L3cKy
smooth traffic navigator
smooth traffic navigator
Posts: 216
Joined: 05 Sep 2007 13:55
Owned TM-games: TMUF
Location: Berlin
Contact:

Re: XAseco and Records Eyepiece Not Working

Post by L3cKy » 09 Jan 2020 21:15

Ups sry should be

Aseco::registerEvent('onCheckpoint', 're_onCheckpoint');

Ideas_xo
pedestrian
pedestrian
Posts: 11
Joined: 09 Jan 2020 04:30
Owned TM-games: TMUF

Re: XAseco and Records Eyepiece Not Working

Post by Ideas_xo » 09 Jan 2020 21:20

L3cKy wrote:
09 Jan 2020 21:15
Ups sry should be

Aseco::registerEvent('onCheckpoint', 're_onCheckpoint');
Fixed that :D but it is still showing the php warning,

Code: Select all

[XAseco] PHP Version is 5.4.16 on Linux
[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.lastwin.php]
[XAseco] Load plugin [chat.stats.php]
[XAseco] Load plugin [chat.server.php]
[XAseco] Load plugin [chat.songmod.php]
[XAseco] Load plugin [chat.me.php]
[XAseco] Load plugin [plugin.tmxinfo.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.uptodate.php]
[XAseco] Load plugin [jfreu.plugin.php]
[XAseco] Load plugin [mistral.idlekick.php]
[XAseco] Load plugin [plugin.records_eyepiece.php]
[01/09,21:17:46] Try to connect to TM dedicated server on 127.0.0.1:5000 timeout 180s
[01/09,21:17:46] Try to authenticate with login 'SuperAdmin' and password 'password'
[01/09,21:17:46] Connection established successfully !
[01/09,21:17:46] [LocalDB] Load config file [localdatabase.xml]
[01/09,21:17:46] [LocalDB] Try to connect to MySQL server on 'localhost' with database 'aseco'
[PHP Warning] mysql_connect(): Headers and client library minor version mismatch. Headers:50564 Library:50645 on line 73 in file /home/tmf/xaseco/plugins/plugin.localdatabase.php
[01/09,21:17:46] [LocalDB] MySQL Server Version is 5.7.28
[01/09,21:17:46] [LocalDB] Checking database structure...
[01/09,21:17:46] [LocalDB] ...Structure OK!
[01/09,21:17:46] [RASP] Loading config file [rasp.xml]
[01/09,21:17:46] [RASP] Checking database structure...
[01/09,21:17:46] [RASP] ...Structure OK!
[01/09,21:17:46] [RASP] Cleaning up unused data
[01/09,21:17:46] Load default style [styles/DarkBlur.xml]
[01/09,21:17:46] Load default admin panel [panels/AdminBelowChat.xml]
[01/09,21:17:46] Load default donate panel [panels/DonateBelowCPList.xml]
[01/09,21:17:46] Load default records panel [panels/RecordsRightBottom.xml]
[01/09,21:17:46] Load default vote panel [panels/VoteBelowChat.xml]
[01/09,21:17:47] ************* (Dedimania) *************
[01/09,21:17:47] * Dataserver connection on Dedimania ...
[01/09,21:17:47] * Try connection on http://dedimania.net:8002/Dedimania ...
[01/09,21:17:47] Webaccess (dedimania.net:8002/Dedimania.8016): send: deflate, receive: deflate
[01/09,21:17:47] * Connection and status ok! (Dedimania.8016)
[01/09,21:17:47] * NEWS (Dedimania, 08/05): news
[01/09,21:17:47] ------------- (Dedimania) -------------
[01/09,21:17:47] **********[plugin.records_eyepiece.php/1.1.1-TMF]**********
[01/09,21:17:47] >> Checking Database for required extensions...
[01/09,21:17:47]    + Found column `timezone` at table `players_extra`.
[01/09,21:17:47]    + Found column `displaywidgets` at table `players_extra`.
[01/09,21:17:47]    + Found column `mostfinished` at table `players_extra`.
[01/09,21:17:47]    + Found column `mostrecords` at table `players_extra`.
[01/09,21:17:47]    + Found column `roundpoints` at table `players_extra`.
[01/09,21:17:47]    + Found column `visits` at table `players_extra`.
[01/09,21:17:47]    + Found column `winningpayout` at table `players_extra`.
[01/09,21:17:47]    + Found index `Nation` at table `players`.
[01/09,21:17:47]    + Found index `Wins` at table `players`.
[01/09,21:17:47]    + Found index `UpdatedAt` at table `players`.
[01/09,21:17:47]    + Found index `Score` at table `records`.
[01/09,21:17:47]    + Found index `Score` at table `rs_karma`.
[01/09,21:17:47]    + Found index `Score` at table `rs_times`.
[01/09,21:17:47] >> Updating `mostfinished` counts for all Players...
[01/09,21:17:47] >> Updating `mostrecords` counts for all Players...
[01/09,21:17:47] >> Finished.
[01/09,21:17:47] ***********************************************************
###############################################################################
  XASECO v1.16 running on 127.0.0.1:5000
  Name   : Becca's Test Server - ideas_server
  Game   : TmForever United - Stadium - TimeAttack
  Version: 2.11.26 / 2011-02-21
  Authors: Florian Schnell & Assembler Maniac
  Re-Authored: Xymph
###############################################################################
Begin Challenge
[01/09,21:17:50] track changed [undefined] >> [C06-Speed]
[01/09,21:17:50] currently no record on C06-Speed
[tmf@trackmaniaserver xaseco]$
[PHP Warning] mysql_connect(): Headers and client library minor version mismatch. Headers:50564 Library:50645 on line 73 in file /home/tmf/xaseco/plugins/plugin.localdatabase.php

:(

Anything else I can try?

User avatar
L3cKy
smooth traffic navigator
smooth traffic navigator
Posts: 216
Joined: 05 Sep 2007 13:55
Owned TM-games: TMUF
Location: Berlin
Contact:

Re: XAseco and Records Eyepiece Not Working

Post by L3cKy » 09 Jan 2020 21:22


Ideas_xo
pedestrian
pedestrian
Posts: 11
Joined: 09 Jan 2020 04:30
Owned TM-games: TMUF

Re: XAseco and Records Eyepiece Not Working

Post by Ideas_xo » 09 Jan 2020 21:27

L3cKy wrote:
09 Jan 2020 21:22
viewtopic.php?p=268120#p268117
Oops sorry didn't see that, but running the command gives this output

Code: Select all

[root@trackmaniaserver ~]# yum install php-mysqlnd.x86_64
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirror.trouble-free.net
 * extras: mirror.trouble-free.net
 * updates: mirror.trouble-free.net
digitalocean-agent                                                                 | 3.3 kB  00:00:00
Resolving Dependencies
--> Running transaction check
---> Package php-mysqlnd.x86_64 0:5.4.16-46.1.el7_7 will be installed
--> Processing Conflict: php-mysql-5.4.16-46.1.el7_7.x86_64 conflicts php-mysqlnd
--> Finished Dependency Resolution
Error: php-mysql conflicts with php-mysqlnd-5.4.16-46.1.el7_7.x86_64
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest
I think this is good? Do I have to uninstall 'php-mysql'? Thank you again for all the help

Ideas_xo
pedestrian
pedestrian
Posts: 11
Joined: 09 Jan 2020 04:30
Owned TM-games: TMUF

Re: XAseco and Records Eyepiece Not Working

Post by Ideas_xo » 09 Jan 2020 21:57

After updating to php5.5 and starting the server here is the logfile output

Code: Select all

[XAseco] PHP Version is 5.5.38 on Linux
[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.lastwin.php]
[XAseco] Load plugin [chat.stats.php]
[XAseco] Load plugin [chat.server.php]
[XAseco] Load plugin [chat.songmod.php]
[XAseco] Load plugin [chat.me.php]
[XAseco] Load plugin [plugin.tmxinfo.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.uptodate.php]
[XAseco] Load plugin [jfreu.plugin.php]
[XAseco] Load plugin [mistral.idlekick.php]
[XAseco] Load plugin [plugin.records_eyepiece.php]
[01/09,21:55:27] Try to connect to TM dedicated server on 127.0.0.1:5000 timeout           180s
[01/09,21:55:27] Try to authenticate with login 'SuperAdmin' and password 'password'
[01/09,21:55:28] Connection established successfully !
[01/09,21:55:28] [LocalDB] Load config file [localdatabase.xml]
[01/09,21:55:28] [LocalDB] Try to connect to MySQL server on 'localhost' with da          tabase 'aseco'
[PHP Warning] mysql_connect(): Headers and client library minor version mismatch          . Headers:50547 Library:50645 on line 73 in file /home/tmf/xaseco/plugins/plugin          .localdatabase.php
[01/09,21:55:28] [LocalDB] MySQL Server Version is 5.7.28
[01/09,21:55:28] [LocalDB] Checking database structure...
[01/09,21:55:28] [LocalDB] ...Structure OK!
[01/09,21:55:28] [RASP] Loading config file [rasp.xml]
[01/09,21:55:28] [RASP] Checking database structure...
[01/09,21:55:28] [RASP] ...Structure OK!
[01/09,21:55:28] [RASP] Cleaning up unused data
[01/09,21:55:28] Load default style [styles/DarkBlur.xml]
[01/09,21:55:28] Load default admin panel [panels/AdminBelowChat.xml]
[01/09,21:55:28] Load default donate panel [panels/DonateBelowCPList.xml]
[01/09,21:55:28] Load default records panel [panels/RecordsRightBottom.xml]
[01/09,21:55:28] Load default vote panel [panels/VoteBelowChat.xml]
[01/09,21:55:28] ************* (Dedimania) *************
[01/09,21:55:28] * Dataserver connection on Dedimania ...
[01/09,21:55:28] * Try connection on http://dedimania.net:8002/Dedimania ...
[01/09,21:55:28] Webaccess (dedimania.net:8002/Dedimania.8014): send: deflate, r          eceive: deflate
[01/09,21:55:28] * Connection and status ok! (Dedimania.8014)
[01/09,21:55:28] * NEWS (Dedimania, 08/05): news
[01/09,21:55:28] ------------- (Dedimania) -------------
[01/09,21:55:28] **********[plugin.records_eyepiece.php/1.1.1-TMF]**********
[01/09,21:55:28] >> Checking Database for required extensions...
[01/09,21:55:28]    + Found column `timezone` at table `players_extra`.
[01/09,21:55:28]    + Found column `displaywidgets` at table `players_extra`.
[01/09,21:55:28]    + Found column `mostfinished` at table `players_extra`.
[01/09,21:55:28]    + Found column `mostrecords` at table `players_extra`.
[01/09,21:55:28]    + Found column `roundpoints` at table `players_extra`.
[01/09,21:55:28]    + Found column `visits` at table `players_extra`.
[01/09,21:55:28]    + Found column `winningpayout` at table `players_extra`.
[01/09,21:55:28]    + Found index `Nation` at table `players`.
[01/09,21:55:28]    + Found index `Wins` at table `players`.
[01/09,21:55:28]    + Found index `UpdatedAt` at table `players`.
[01/09,21:55:28]    + Found index `Score` at table `records`.
[01/09,21:55:28]    + Found index `Score` at table `rs_karma`.
[01/09,21:55:28]    + Found index `Score` at table `rs_times`.
[01/09,21:55:28] >> Updating `mostfinished` counts for all Players...
[01/09,21:55:28] >> Updating `mostrecords` counts for all Players...
[01/09,21:55:28] >> Finished.
[01/09,21:55:28] ***********************************************************
###############################################################################
  XASECO v1.16 running on 127.0.0.1:5000
  Name   : Becca's Test Server - ideas_server
  Game   : TmForever United - Stadium - TimeAttack
  Version: 2.11.26 / 2011-02-21
  Authors: Florian Schnell & Assembler Maniac
  Re-Authored: Xymph
###############################################################################
Begin Challenge
[01/09,21:55:30] track changed [undefined] >> [C03-Acrobatic]
[01/09,21:55:30] currently no record on C03-Acrobatic
[tmf@trackmaniaserver xaseco]$ ^C
[tmf@trackmaniaserver xaseco]$

Post Reply