Page 1 of 2

why is it not working ?

Posted: 18 Nov 2019, 12:18
by Arifeek
hi i would like to know why some commands do not work ?? e.g./xlist map name and /stats

Re: why is it not working ?

Posted: 18 Nov 2019, 12:27
by Miss
Check the logs when you type the commands. It should probably tell you why.

Re: why is it not working ?

Posted: 18 Nov 2019, 12:46
by Arifeek
when I type the command / xlist map name

this information appears in the chat: no maps found, or MX is down

and when I type the command / stats, nothing appears, nothing happens

Re: why is it not working ?

Posted: 18 Nov 2019, 13:51
by Miss
I mainly mean your server log (logs from Uaseco), not the chat window.

Re: why is it not working ?

Posted: 18 Nov 2019, 14:09
by Arifeek

Code: Select all

[2019-11-17 16:08:18] [Chat] Player [cut3] used command "/xlist"
[2019-11-17 16:08:27] [Chat] Player [cut3] used command "/mxlist"
[PHP Warning] fopen(https://api.mania-exchange.com/tm/tracks/list/latest): failed to open stream: HTTP request failed! HTTP/1.1 500 Internal Server Error
 on line 223 in file /home/arif/tm2/serwer/UAseco/includes/maniaexchange/mxinfosearcher.inc.php
[PHP 4096] Object of class Message could not be converted to string on line 769 in file /home/arif/tm2/serwer/UAseco/includes/core/helper.class.php
[PHP Notice] Undefined variable: player on line 181 in file /home/arif/tm2/serwer/UAseco/plugins/plugin.mania_exchange.php

Re: why is it not working ?

Posted: 18 Nov 2019, 14:26
by undef.de
This looks like an error in the API from ManiaExchange (returned HTTP 500 Server Error). You should report that at ManiaExchange (because I'm not sure that they listen here).

EDIT (added screenshot of ManiaExchange API):
ImageFull resolution

Re: why is it not working ?

Posted: 18 Nov 2019, 14:54
by Arifeek
when I type / stats nothing pops up :( as it is in tm1 :( nothing in this topic in uaseco logs

Re: why is it not working ?

Posted: 18 Nov 2019, 15:21
by undef.de
Arifeek wrote: 18 Nov 2019, 14:54 when I type /stats nothing pops up :( as it is in tm1 :( nothing in this topic in uaseco logs
For the chat command /stats you have to enable the chat.stats.php in your config/plugins.xml, chat.stats.php is not enabled by default in UASECO.

Re: why is it not working ?

Posted: 18 Nov 2019, 15:37
by Arifeek
undef.de wrote: 18 Nov 2019, 15:21
Arifeek wrote: 18 Nov 2019, 14:54 when I type /stats nothing pops up :( as it is in tm1 :( nothing in this topic in uaseco logs
For the chat command /stats you have to enable the chat.stats.php in your config/plugins.xml, chat.stats.php is not enabled by default in UASECO.
work ;) thank you ;)

Re: why is it not working ?

Posted: 18 Nov 2019, 15:49
by Arifeek
how can mass maps be added via the server?