[Xaseco]Best Runs widget

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

Moderators: Xymph, TM-Patrol

User avatar
szkodnik
cyclist
cyclist
Posts: 30
Joined: 17 Aug 2009 16:27
Owned TM-games: TMU, TMS, TMO
Manialink(s): tmtp://#join=szkodziu
Location: Poland, Szczecin

Re: [Xaseco]Best Runs widget

Post by szkodnik » 28 Aug 2009 14:56

I want best runs in vertical position. I'm changing

Code: Select all

<orientation>0</orientation>
for
1

Code: Select all

[PHP Warning] Invalid argument supplied for foreach() on line 273 in file /root/xaseco/plugins/plugin.bestruns.php
2

Code: Select all

[PHP Warning] Invalid argument supplied for foreach() on line 321 in file /root/xaseco/plugins/plugin.bestruns.php
3

Code: Select all

[PHP Warning] Invalid argument supplied for foreach() on line 368 in file /root/xaseco/plugins/plugin.bestruns.php
Something in your script is wrong but I don't know what is argument in PHP :D I looked for that plugin. Please fix this.
I don't know english, PHP and MySQL but I scratch along ; )
TM accs: 20szn, szkodziu, szkodnisia

Ranzou
highway camper
highway camper
Posts: 4
Joined: 18 Apr 2008 21:59
Owned TM-games: TMUF

Re: [Xaseco]Best Runs widget

Post by Ranzou » 07 Sep 2009 16:41

I have a question:

When a track is restarted in rounds mode all the best run times are resetted. This does not happen in the FAST one. Is this a bug or is this done on purpose?

Also long nicknames looks a bit cropped down, can this be changed or?

afisse
cyclist
cyclist
Posts: 48
Joined: 13 Jun 2009 11:54
Owned TM-games: TMUF

Re: [Xaseco]Best Runs widget

Post by afisse » 09 Sep 2009 19:45

floccus wrote:hello afisse, thx for your good work. i have a little suggestion, maybe you and other people will like it.

wouldn't it better to split CPs column into 2 or 3 when you want to have more than 5CPs? some maps have big number of CPs and it looks ugly when you want eg. 10 CPs to be shown. At least for default position and orientation.

Image
Image
Hi Floccus, i'm very happy to see you here
I understand what you want for this plugin, i think i will change my code for that, with a new parameter in .xml file, be patient caus' i'm a student too but i will do it 8)

PS : You can reveal me the secret of A12 :mrgreen: if you want my pb .85, noob time
Galaad, le chevalier au coeur pur

afisse
cyclist
cyclist
Posts: 48
Joined: 13 Jun 2009 11:54
Owned TM-games: TMUF

Re: [Xaseco]Best Runs widget

Post by afisse » 09 Sep 2009 19:58

Ranzou wrote:I have a question:

When a track is restarted in rounds mode all the best run times are resetted. This does not happen in the FAST one. Is this a bug or is this done on purpose?

Also long nicknames looks a bit cropped down, can this be changed or?
Hi ranzou,( like double dragon 3, isn't it?)
It's right best runs are resetted when a track begin even it's restarted
Galaad, le chevalier au coeur pur

User avatar
szkodnik
cyclist
cyclist
Posts: 30
Joined: 17 Aug 2009 16:27
Owned TM-games: TMU, TMS, TMO
Manialink(s): tmtp://#join=szkodziu
Location: Poland, Szczecin

Re: [Xaseco]Best Runs widget

Post by szkodnik » 10 Sep 2009 09:35

What about vertical position? Will you fix this?
I don't know english, PHP and MySQL but I scratch along ; )
TM accs: 20szn, szkodziu, szkodnisia

afisse
cyclist
cyclist
Posts: 48
Joined: 13 Jun 2009 11:54
Owned TM-games: TMUF

Re: [Xaseco]Best Runs widget

Post by afisse » 11 Sep 2009 12:01

orientation 1 is working now : V1.2.1
http://www.sendspace.com/file/wecrlk
Galaad, le chevalier au coeur pur

User avatar
szkodnik
cyclist
cyclist
Posts: 30
Joined: 17 Aug 2009 16:27
Owned TM-games: TMU, TMS, TMO
Manialink(s): tmtp://#join=szkodziu
Location: Poland, Szczecin

Re: [Xaseco]Best Runs widget

Post by szkodnik » 14 Sep 2009 17:58

Orientation 1 and 2 are working with xasexo 1.09. Thanks :*
I don't know english, PHP and MySQL but I scratch along ; )
TM accs: 20szn, szkodziu, szkodnisia

dago
sunday driver
sunday driver
Posts: 61
Joined: 20 Feb 2009 18:43
Owned TM-games: tmuf

Re: [Xaseco]Best Runs widget

Post by dago » 26 Sep 2009 13:33

Hi,

since i installed Xaseco 1.10 i have this error

Code: Select all

[PHP Notice] Trying to get property of non-object on line 32 in file C:\xaseco\plugins\plugin.bestruns.php
[PHP Notice] Undefined variable: z on line 210 in file C:\xaseco\plugins\plugin.bestruns.php
[PHP Notice] Undefined variable: z on line 230 in file C:\xaseco\plugins\plugin.bestruns.php
[PHP Notice] Undefined variable: fff on line 230 in file C:\xaseco\plugins\plugin.bestruns.php
Dan
join VITAMINEC
Servermania V 0.98
xaseco 1.10

afisse
cyclist
cyclist
Posts: 48
Joined: 13 Jun 2009 11:54
Owned TM-games: TMUF

Re: [Xaseco]Best Runs widget

Post by afisse » 28 Sep 2009 19:58

dago wrote:Hi,

since i installed Xaseco 1.10 i have this error

Code: Select all

[PHP Notice] Trying to get property of non-object on line 32 in file C:\xaseco\plugins\plugin.bestruns.php
[PHP Notice] Undefined variable: z on line 210 in file C:\xaseco\plugins\plugin.bestruns.php
[PHP Notice] Undefined variable: z on line 230 in file C:\xaseco\plugins\plugin.bestruns.php
[PHP Notice] Undefined variable: fff on line 230 in file C:\xaseco\plugins\plugin.bestruns.php
Dan
oO i will try to fix this
Galaad, le chevalier au coeur pur

dago
sunday driver
sunday driver
Posts: 61
Joined: 20 Feb 2009 18:43
Owned TM-games: tmuf

Re: [Xaseco]Best Runs widget

Post by dago » 28 Sep 2009 21:04

Thanks,

This is such a nice plugin

dan
join VITAMINEC
Servermania V 0.98
xaseco 1.10

afisse
cyclist
cyclist
Posts: 48
Joined: 13 Jun 2009 11:54
Owned TM-games: TMUF

Re: [Xaseco]Best Runs widget

Post by afisse » 21 Feb 2010 18:34

Galaad, le chevalier au coeur pur

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

Re: [Xaseco]Best Runs widget

Post by Xymph » 22 Feb 2010 08:54

afisse wrote:Last Revision :
V1.4 :
http://www.sendspace.com/file/c8x8o2
You seem to have forgotten to include the Readme file that was in the previous version of the zip.
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
jimos94
happy cruiser
happy cruiser
Posts: 122
Joined: 06 Jan 2007 22:52
Owned TM-games: TMUF
Manialink(s): fun
Contact:

Re: [Xaseco]Best Runs widget

Post by jimos94 » 27 Feb 2010 13:45

I have just installed this plugin in my local tmf server but i saw a php warning in the logfile:
[PHP Warning] Missing argument 2 for clear(), called in C:\tmfxaseco\plugins\plugin.bestruns.php on line 137 and defined on line 363 in file C:\tmfxaseco\plugins\plugin.bestruns.php
I'm using XAseco v1.10. Is there any way to hide this warning?
Thank you in advance
http://www.tm-planet.net/ Server hosting, Interviews, Events and more :)

jouko100
speedy pilot
speedy pilot
Posts: 375
Joined: 10 Mar 2007 09:33
Location: finland

Re: [Xaseco]Best Runs widget

Post by jouko100 » 27 Feb 2010 16:34

maybe last funktion should be

function clear($aseco,){//efface le widget entre 2 challenges
$xml = '<manialink id="342312"></manialink>';
$aseco->client->query("SendDisplayManialinkPage", $xml, 1, false);
}

afisse
cyclist
cyclist
Posts: 48
Joined: 13 Jun 2009 11:54
Owned TM-games: TMUF

Re: [Xaseco]Best Runs widget

Post by afisse » 01 Mar 2010 09:08

you're right thx :thumbsup:

function clear($aseco){//efface le widget entre 2 challenges
$xml = '<manialink id="342312"></manialink>';
$aseco->client->query("SendDisplayManialinkPage", $xml, 1, false);
}
Galaad, le chevalier au coeur pur

Post Reply