Mistral ASECO

This Aseco flavor by Mistral contains a comprehensive rank system that orders stats by environment, track and author name. It also contains a built-in lottery system.

Moderators: Mistral, TM-Patrol

User avatar
Mistral
Pit Crew
Pit Crew
Posts: 1304
Joined: 02 May 2006 15:13
Owned TM-games: tmuf
Contact:

Re: Mistral ASECO

Post by Mistral » 05 May 2008 05:33

Goglu2 wrote:Xymph Xaseco does have one, he uses the same version of Aseco as you Mistral, I'm trying to make it work with your version, not much succes yet.
I'll have a look into it this week.

User avatar
Ferril
road tourist
road tourist
Posts: 81
Joined: 19 Mar 2006 15:05
Owned TM-games: TMU, TMN, TM-F
Contact:

Re: Mistral ASECO

Post by Ferril » 05 May 2008 11:12

Goglu2 wrote:Xymph Xaseco does have one, he uses the same version of Aseco as you Mistral, I'm trying to make it work with your version, not much succes yet.
I'm working on it too. I found out that to get the plugin to work you have to copy a few files from Xaseco to Mistral:

plugin.dedimania.php --> plugin folder (also update plugin.xml)
GbxRemote.response.php --> includes folder
urlsafebase64.php --> includes folder
web_access.inc.php --> includes folder
xmlrpc:db.inc.php --> includes folder
dedimania.xml --> aseco root folder

The plugin now seems to be loading correctly but I am getting an error message I believe has to do with connecting to the dedimania system itself:

Code: Select all

[05/05,02:57:23] Webaccess (dedimania.net:80): send: deflate, receive: gzip
  !!!
  !!! Connection Error !!! 
Warning in rpc.php(170): AuthWarning:
Warning in method_handler.php(48): Invalid Version value: XASECO_VERSION
Error in method_handler.php(191): Not Authenticated
  !!!
[05/05,02:57:23] ------------- (Dedimania) -------------
I hope this helps. Xymph probably knows more about what's happening here.
Proud ex-clan leder of Original Wheels of Norway (OWN)
http://www.own.no/

User avatar
Goglu2
cyclist
cyclist
Posts: 31
Joined: 29 Sep 2006 19:43
Owned TM-games: TMUF
Location: Saint-jean sur Richelieu
Contact:

Re: Mistral ASECO

Post by Goglu2 » 05 May 2008 11:23

This one is easy to fix, Xymph told me to look in aseco.php for what's needed, you need to add this to aseco.php

Code: Select all

// Current project version.
define('ASECO_VERSION', '1.1b TMU');
define('CRLF', "\r\n");

User avatar
Ferril
road tourist
road tourist
Posts: 81
Joined: 19 Mar 2006 15:05
Owned TM-games: TMU, TMN, TM-F
Contact:

Re: Mistral ASECO

Post by Ferril » 05 May 2008 11:36

Yes, I've checked that and it's there. Still, it could be that the version number in Mistral's aseco isn't updated.
Proud ex-clan leder of Original Wheels of Norway (OWN)
http://www.own.no/

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

Re: Mistral ASECO

Post by Xymph » 05 May 2008 11:37

Goglu2 wrote:This one is easy to fix, Xymph told me to look in aseco.php for what's needed, you need to add this to aseco.php

Code: Select all

// Current project version.
define('ASECO_VERSION', '1.1b TMU');
define('CRLF', "\r\n");
Actually, the constant you need is XASECO_VERSION, or alternatively you need to modify plugin.dedimania.php to use ASECO_VERSION instead.
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

User avatar
Ferril
road tourist
road tourist
Posts: 81
Joined: 19 Mar 2006 15:05
Owned TM-games: TMU, TMN, TM-F
Contact:

Re: Mistral ASECO

Post by Ferril » 05 May 2008 11:47

Thanks, Xymph. Found it and changed the plugin.dedimania.php.

Same error, though, but new value ;)

Code: Select all

[05/05,13:50:07] Webaccess (dedimania.net:80): send: deflate, receive: gzip
  !!!
  !!! Connection Error !!! 
Warning in rpc.php(170): AuthWarning:
Warning in method_handler.php(48): Invalid Version value: 1.1b TMU
Error in method_handler.php(191): Not Authenticated
  !!!
[05/05,13:50:07] ------------- (Dedimania) -------------
###############################################################################
  Aseco v1.1b TMU running on xxx.x.x.x:xxxx
  Game  : TmForever - TimeAttack
  Author: Florian Schnell
Value 1.1b TMU should be the correct one :ftw:
Proud ex-clan leder of Original Wheels of Norway (OWN)
http://www.own.no/

User avatar
Goglu2
cyclist
cyclist
Posts: 31
Joined: 29 Sep 2006 19:43
Owned TM-games: TMUF
Location: Saint-jean sur Richelieu
Contact:

Re: Mistral ASECO

Post by Goglu2 » 05 May 2008 16:32

Sry, I quoted the wrong part, I was in a hurry. :oops:

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

Re: Mistral ASECO

Post by Xymph » 05 May 2008 17:24

Ferril wrote:Thanks, Xymph. Found it and changed the plugin.dedimania.php.

Same error, though, but new value ;)

Code: Select all

[05/05,13:50:07] Webaccess (dedimania.net:80): send: deflate, receive: gzip
  !!!
  !!! Connection Error !!! 
Warning in rpc.php(170): AuthWarning:
Warning in method_handler.php(48): Invalid Version value: 1.1b TMU
Error in method_handler.php(191): Not Authenticated
  !!!
[05/05,13:50:07] ------------- (Dedimania) -------------
###############################################################################
  Aseco v1.1b TMU running on xxx.x.x.x:xxxx
  Game  : TmForever - TimeAttack
  Author: Florian Schnell
Value 1.1b TMU should be the correct one :ftw:
ISTR the Dedimania system doesn't accept spaces in that version string. Remove the " TMU" part.
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

BRT BigBurns
wheelbarrow operator
wheelbarrow operator
Posts: 24
Joined: 23 Aug 2006 20:09
Location: Germany
Contact:

Re: Mistral ASECO

Post by BRT BigBurns » 05 May 2008 17:50

I have one Problem:

When i start Aseco i have this error:
: command not found
/aseco.log: Datei oder Verzeichnis nicht gefunden
: command not found

I had nothing change in the Aseco.sh

Can Somebaody tell me what´s wrong?
ImageImageImageImageImage

User avatar
Mistral
Pit Crew
Pit Crew
Posts: 1304
Joined: 02 May 2006 15:13
Owned TM-games: tmuf
Contact:

Re: Mistral ASECO

Post by Mistral » 05 May 2008 17:58

BigBurns...

command not found ... please ... we cannot teach you here how your operations system is executing commands.

you need some basic knowledge about your OS.

User avatar
Ferril
road tourist
road tourist
Posts: 81
Joined: 19 Mar 2006 15:05
Owned TM-games: TMU, TMN, TM-F
Contact:

Re: Mistral ASECO

Post by Ferril » 05 May 2008 22:00

Xymph wrote:ISTR the Dedimania system doesn't accept spaces in that version string. Remove the " TMU" part.
Fixed the connection problems and I got it up and running. But when I joined the server I got a fatal error:

Code: Select all

Fatal error: Call to undefined function mapCountry() in /root/own/TA_OWNs1/Mistralaseco/aseco/plugins/plugin.dedimania.php on line 771
So mapCountry() needs to be defined somewhere. I guess plugin.dedimania.php is too tightly interwoven with Xaseco to be easily transfered to Mistral. I wish I had the skill to do it, but I don't :(
Proud ex-clan leder of Original Wheels of Norway (OWN)
http://www.own.no/

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

Re: Mistral ASECO

Post by Xymph » 05 May 2008 22:06

Ferril wrote:Fixed the connection problems and I got it up and running. But when I joined the server I got a fatal error:

Code: Select all

Fatal error: Call to undefined function mapCountry() in /root/own/TA_OWNs1/Mistralaseco/aseco/plugins/plugin.dedimania.php on line 771
So mapCountry() needs to be defined somewhere. I guess plugin.dedimania.php is too tightly interwoven with Xaseco to be easily transfered to Mistral. I wish I had the skill to do it, but I don't :(
It's of course somewhat interwoven, partially due to the requirements of the whole Dedimania communication itself (you need a new onEverySecond event in aseco.php, for instance), but support functions like mapCountry are grouped together in basic.inc.php, and easy to include in your port.
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

User avatar
Markus
speedy pilot
speedy pilot
Posts: 422
Joined: 09 Nov 2006 17:15
Owned TM-games: TMO/TMN/TMU
Manialink(s): XTZone (not finished)
Location: Germany
Contact:

Re: Mistral ASECO

Post by Markus » 06 May 2008 04:21

so its possible to run MISTRAL Aseco with DEDIMANIA?
if yes, could you please explain how i can get it work?
would be great :1
XTZone Server (30slots, only TMS evirs., various authors)
Xtreme Trackers Homepage

User avatar
Mistral
Pit Crew
Pit Crew
Posts: 1304
Joined: 02 May 2006 15:13
Owned TM-games: tmuf
Contact:

Re: Mistral ASECO

Post by Mistral » 06 May 2008 05:15

How about he is just supporting me a little bit, ill do a plugin for all of us, and not all of us get on his nerves ;)

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

Re: Mistral ASECO

Post by Xymph » 06 May 2008 08:57

Mistral wrote:How about he is just supporting me a little bit, ill do a plugin for all of us, and not all of us get on his nerves ;)
Thank you very much. Real life is getting a little crazy for me this week already, it's welcome if online life doesn't too. :lol:
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

Post Reply