XASECO2 (TM²C) v0.95

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

Moderators: Xymph, TM-Patrol

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

Re: XASECO2 (TM²C) v0.95

Post by Xymph » 26 Sep 2011 17:07

«从々.»«ॐ²³» wrote:I upgradet from 0.93 and the upgrade notes have false folderspec.
Nope, but the directories are mentioned only once, with the directory each file should be in after the upgrade is completed.
«从々.»«ॐ²³» wrote:the add for mx is deactivated by default?
Yes. And you found it.
«从々.»«ॐ²³» wrote:in the command doc it is /add!
/add id "don´t work"
/admin add id "don´t work"
The commands are in the doc, and take the parameter(s) indicated in their descriptions. So:

/add ###
/admin add ###

where ### is a MX map ID. /admin add can take more than one of them. No quotes, no brackets, as simple as possible. :wink:
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

bass
pedestrian
pedestrian
Posts: 9
Joined: 26 Sep 2011 13:51
Owned TM-games: TMU,TM2

Re: XASECO2 (TM²C) v0.95

Post by bass » 26 Sep 2011 17:35

Xymph wrote:
bass wrote:Begin Map
PHP Fatal error: Call to undefined function json_decode() in /home/TM2/xaseco2/includes/mxinfofetcher.inc.php on line 128
What's your OS and PHP version?
json_decode should be built in from v5.2.0 onwards.
centos 64 bit 5.6

php 5.1.6 latest for 64 bit?

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

Re: XASECO2 (TM²C) v0.95

Post by Xymph » 26 Sep 2011 18:17

bass wrote:
Xymph wrote:What's your OS and PHP version?
json_decode should be built in from v5.2.0 onwards.
centos 64 bit 5.6

php 5.1.6 latest for 64 bit?
Don't know, check the CentOS site, or build/install from .tgz.

Btw, please don't double post - edit your previous post when you want to add something within, say, an hour.
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

djarrett
smooth traffic navigator
smooth traffic navigator
Posts: 235
Joined: 04 Jul 2006 15:01
Owned TM-games: TMO,TMS,TMN,TMU,TMUF
Location: Fayetteville,GA
Contact:

Re: XASECO2 (TM²C) v0.95

Post by djarrett » 26 Sep 2011 18:35

Nice work Xymph, Thank You for all your contributions to the TM community. :thumbsup:

User avatar
Jackel
speedy pilot
speedy pilot
Posts: 316
Joined: 06 Oct 2006 09:57
Owned TM-games: TMN,TMU,&TMS
Location: Florida, USA
Contact:

Re: XASECO2 (TM²C) v0.95

Post by Jackel » 26 Sep 2011 21:46

I upgraded from .93 to .95 and made sure everything was activated for adding tracks, and it works just like it always have. /xlist, /add /admin add no issues. even /xlist auth: worked fine.
Server is on a Win 2003 machine with latest versions of php, and MySQL. from xampp.
Founder and Admin of Cobra Gaming Systems.

Image
Image
Image

smz
wheelbarrow operator
wheelbarrow operator
Posts: 19
Joined: 25 Aug 2008 16:00
Owned TM-games: United forever

Re: XASECO2 (TM²C) v0.95

Post by smz » 29 Sep 2011 20:45

Ok, here is a noob with some very silly errors when I try to start aseco ^^

First, I have a dedi server, it's working, ppl can join in yadda yadda, all that. Mistral set up a database and accounts and everything, so theoreticaly I have all I need.

Now, I downloaded xaseco2 from here : http://www.gamers.org/tm2/#links and I followed the instructions here : http://www.gamers.org/tm2/quickstart.html

When I get to the point where I want to ./XAseco2.sh, it tells me this :
cd: 2: can't cd to /home/tm2/aseco2 ( it didnt even create a log file this time )

After checking it seems obvious, your folder is named xaseco2, not aseco2. So far, so good, i rename the folder to xaseco2 and run your .sh again.

Next error : ( this time in the log file it created )

./XAseco2.sh: 3: /usr/local/bin/php: not found

So what next ?

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

Re: XASECO2 (TM²C) v0.95

Post by Xymph » 29 Sep 2011 21:07

smz wrote: ./XAseco2.sh: 3: /usr/local/bin/php: not found

So what next ?
Type: which php
Change path in .sh to what it outputs (usually /usr/bin/php).
Learning some more Linux would help you through such basic things. :wink:

And thanks for catching the typo in the cd path.
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

smz
wheelbarrow operator
wheelbarrow operator
Posts: 19
Joined: 25 Aug 2008 16:00
Owned TM-games: United forever

Re: XASECO2 (TM²C) v0.95

Post by smz » 29 Sep 2011 22:38

I have no idea whatsoever about Linux, sorry for that -.- And no time to learn it right now, either ^^ All I know are the few commands listed in a old guide on server setup I found here : http://forum.deepsilver.com/forum/showt ... oTzJVm5J4F

Thanks for the quick help, I'll be back with more questions :P ( pretty sure I will, but let's hope not. )

Edit : It is actualy user/bin/php.

Edit2 : ( btw sorry if this is the wrong place to post this. )

[XAseco2] PHP Version is 5.3.3-7+squeeze1 on Linux
[XAseco2] Load settings [config.xml]
[XASECO2 Warning] [XML Error 76] Mismatched tag on line 206
[XASECO2 Fatal Error] Could not read/parse config file config.xml ! on line 491 in file /home/tm2/xaseco2/xaseco2.php

I found line 206 in config.xml and it's : </xaseco2>
I found line 491 in xaseco2.php and it's : trigger_error('Could not read/parse config file ' . $config_file . ' !', E_USER_ERROR);

( if that helps anything ) ( To be sure : I changed the path in XAseco2.sh and left the folder name the same as it was in the .zip )

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

Re: XASECO2 (TM²C) v0.95

Post by Xymph » 30 Sep 2011 05:59

smz wrote:[XAseco2] PHP Version is 5.3.3-7+squeeze1 on Linux
[XAseco2] Load settings [config.xml]
[XASECO2 Warning] [XML Error 76] Mismatched tag on line 206
[XASECO2 Fatal Error] Could not read/parse config file config.xml ! on line 491 in file /home/tm2/xaseco2/xaseco2.php
You made a typo in config.xml so its structure isn't correct anymore. Find/fix the typo, or start over from a clean copy and make sure you change only values and no <tags>.
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

djarrett
smooth traffic navigator
smooth traffic navigator
Posts: 235
Joined: 04 Jul 2006 15:01
Owned TM-games: TMO,TMS,TMN,TMU,TMUF
Location: Fayetteville,GA
Contact:

Re: XASECO2 (TM²C) v0.95

Post by djarrett » 01 Oct 2011 00:20

Ever since newest upgrade from version 93 to 95 my game will crash back to my desk top only,
this never happened while using version 93. I wanted to re download version 93 and try it again to ensure ( or rule out) that it is or is not xaseco2 causing my problem. how ever the download link is not found @ http://www.gamers.org/tm2/
is it possible to have version 93 again?
Is anyone else having this issue ?
I have seen no errors in logs ( if I am indeed looking at the proper logs)
I just have no real idea of why it is happening.
So again if I may have another copy of version 93, it would be greatly appreciated.
Thats Xymph in advance.

scg-flighthigh
smooth traffic navigator
smooth traffic navigator
Posts: 199
Joined: 05 May 2009 15:52
Owned TM-games: TM2

Re: XASECO2 (TM²C) v0.95

Post by scg-flighthigh » 01 Oct 2011 05:26

@ djarrett

i dont know why the 0.95 wont to work for you. Its run pretty good. You dont need the 0.93 and a update too 0.95. You can take only the 0.95

Here the 0.93 for you.

djarrett
smooth traffic navigator
smooth traffic navigator
Posts: 235
Joined: 04 Jul 2006 15:01
Owned TM-games: TMO,TMS,TMN,TMU,TMUF
Location: Fayetteville,GA
Contact:

Re: XASECO2 (TM²C) v0.95

Post by djarrett » 01 Oct 2011 10:04

scg-flighthigh wrote:@ djarrett

i dont know why the 0.95 wont to work for you. Its run pretty good. You dont need the 0.93 and a update too 0.95. You can take only the 0.95

Here the 0.93 for you.
Ty for 93
I just wanted to go back to 93 to make sure it is my comp not xaseco causing my problem,
Last edited by djarrett on 06 Oct 2011 02:21, edited 6 times in total.

smz
wheelbarrow operator
wheelbarrow operator
Posts: 19
Joined: 25 Aug 2008 16:00
Owned TM-games: United forever

Re: XASECO2 (TM²C) v0.95

Post by smz » 01 Oct 2011 11:35

Xymph wrote: You made a typo in config.xml so its structure isn't correct anymore. Find/fix the typo, or start over from a clean copy and make sure you change only values and no <tags>.
From what I noticed when scanning trough the file, it seems that there is a tag missing. The closing </masteradmins> tag right at the start.

Must have been a editing mistake as you said :/ Will continue testing, maybe I get it to work one day :)


Ooook, new problem...

# initialize XASECO2 ###########################################################
[XAseco2] PHP Version is 5.3.3-7+squeeze1 on Linux
[XAseco2] Load settings [config.xml]
[XAseco2] Load default window style [styles/Card.xml]
[XAseco2] Load default panel background [panels/PanelBGCard.xml]
[XAseco2] Load admin/ops lists [adminops.xml]
[XAseco2] Load banned IPs list [bannedips.xml]
[XAseco2] Load plugins list [plugins.xml]

*snip* more plugins loading *snip*

[XAseco2] Load plugin [mistral.idlekick.php]
[10/01,13:56:29] Try to connect to MP dedicated server on 127.0.0.1:5000 timeout 180s
[10/01,13:56:29] Try to authenticate with login 'SuperAdmin' and password 'XXXXXX Zensoring XXXXX'
[10/01,13:56:29] Connection established successfully !
[10/01,13:56:29] [LocalDB] Load config file [localdatabase.xml]
[10/01,13:56:29] [LocalDB] Try to connect to MySQL server on 'localhost' with database 'xaseco2'
[PHP Warning] mysql_connect(): Access denied for user 'Mistral'@'localhost' (using password: YES) on line 72 in file /home/tm2/xaseco2/plugins/plugin.localdatabase.php
[XASECO2 Fatal Error] [LocalDB] Could not authenticate at MySQL server! on line 73 in file /home/tm2/xaseco2/plugins/plugin.localdatabase.php

I checked localdatabase.xml and there is no mistake there i think :)I even re-downloaded, only edidet values and re-uploaded. Still gave me the same error message.

scg-flighthigh
smooth traffic navigator
smooth traffic navigator
Posts: 199
Joined: 05 May 2009 15:52
Owned TM-games: TM2

Re: XASECO2 (TM²C) v0.95

Post by scg-flighthigh » 01 Oct 2011 12:17

@djarrett
Your welcome Lets us no if 0.93 work and 0.94 not.

@ smz
Take a look into your localdatabase.xml there you must be write into the User and the Password of the sql. Its look like that you have there no or the wrong Password.

smz
wheelbarrow operator
wheelbarrow operator
Posts: 19
Joined: 25 Aug 2008 16:00
Owned TM-games: United forever

Re: XASECO2 (TM²C) v0.95

Post by smz » 02 Oct 2011 10:22

As it turns out, Mistral gave me the wrong password...

Everything working now.

( Now I only need to set the stuff up properly... )

Post Reply