TM-FORUM

The TrackMania universal forum ^_^
It is currently Tue Jul 22, 2014 4:26 pm

All times are UTC + 2 hours [ DST ]




Post new topic Reply to topic  [ 68 posts ]  Go to page Previous  1, 2, 3, 4, 5  Next
Author Message
 Post subject: Re: [Xaseco]Best Runs widget
PostPosted: Thu Oct 21, 2010 9:23 pm 
Offline
highway camper
highway camper

Joined: Mon May 31, 2010 5:46 pm
Posts: 3
Owned TM-games: kaschniz
Manialink(s): gc
Hey afisse !!
I think this plugin is one of the best and important plugins!!

*good work*

But,... I have a large optical problem and would be glad if you could fix it...

I want to place the plugin at the top but after playing the track (in score) it is placed exactly above the widgets..

screen:
Image

The red color shows the location of the plugin.


**************************************************
my Question is: can you make update that the plugin is hidden in score ?
**************************************************

that would be very nice!!!

greetz kau7z


Top
 Profile  
 
 Post subject: Re: [Xaseco]Best Runs widget
PostPosted: Tue Nov 09, 2010 10:04 pm 
Offline
highway camper
highway camper

Joined: Mon May 31, 2010 5:46 pm
Posts: 3
Owned TM-games: kaschniz
Manialink(s): gc
no solutions ? :/


Top
 Profile  
 
 Post subject: Re: [Xaseco]Best Runs widget
PostPosted: Tue Nov 09, 2010 10:33 pm 
Offline
TM-Patrol
TM-Patrol
User avatar

Joined: Sat Dec 01, 2007 8:04 pm
Posts: 1845
Location: London, England
Owned TM-games: TMN, TMUF, TM Wii
Try adding this after line 16 in plugin.bestruns.php (v1.4)
Code:
Aseco::registerEvent('onEndRace', 'clear');


that will call this function from lines 363 - 366
Code:
function clear($aseco, $challenge){//efface le widget entre 2 challenges
   $xml = '<manialink id="342312"></manialink>';
    $aseco->client->query("SendDisplayManialinkPage", $xml, 1, false);
}

_________________
My TMF Hub --- Server


Top
 Profile  
 
 Post subject: Re: [Xaseco]Best Runs widget
PostPosted: Mon Nov 29, 2010 9:14 pm 
Offline
highway camper
highway camper

Joined: Mon May 31, 2010 5:46 pm
Posts: 3
Owned TM-games: kaschniz
Manialink(s): gc
thanks :)
works well =)


Top
 Profile  
 
 Post subject: Re: [Xaseco]Best Runs widget
PostPosted: Sun Jan 09, 2011 10:23 pm 
Offline
cyclist
cyclist

Joined: Sat Jun 13, 2009 2:54 pm
Posts: 48
Owned TM-games: TMUF
Image

V1.5 (09/01/2011) :http://www.sendspace.com/file/9iu912

WHAT IS NEW ?
- scale factor : now you can choose the size of the widget
- admin command "bestruns" : just use it to reload bestruns.xml. No need to reload Xaseco !!!
- checkpoints are now on 3 columns, then you can see more checkpoints on same place as before

_________________
Galaad, le chevalier au coeur pur


Top
 Profile  
 
 Post subject: Re: [Xaseco]Best Runs widget
PostPosted: Mon Feb 21, 2011 4:26 pm 
Offline
sunday driver
sunday driver

Joined: Tue Apr 27, 2010 8:30 pm
Posts: 58
Owned TM-games: TMU
Hi there I have installed this plugin and it looks great ... but how do you increase the size of the widget ?
I chose this over the 'Best Checkpoints' widget as it says that it's possible to increase the size of it.

Also would there be any reason why all of my checkpoint times are coming up with 0.00 ?
It is showing the correct amount of checkpoints but no times.

Thanks in advance. David.


Top
 Profile  
 
 Post subject: Re: [Xaseco]Best Runs widget
PostPosted: Mon Feb 21, 2011 6:38 pm 
Offline
TM-Patrol
TM-Patrol
User avatar

Joined: Sat Dec 01, 2007 8:04 pm
Posts: 1845
Location: London, England
Owned TM-games: TMN, TMUF, TM Wii
In the xml, there is this line
Code:
<scale>1</scale>


I would say, try increasing that number.

_________________
My TMF Hub --- Server


Top
 Profile  
 
 Post subject: Re: [Xaseco]Best Runs widget
PostPosted: Mon Feb 21, 2011 8:13 pm 
Offline
sunday driver
sunday driver

Joined: Tue Apr 27, 2010 8:30 pm
Posts: 58
Owned TM-games: TMU
That does work but by changing it from number 1 to 2 it was far too big.
I've gone for 1.5 which gives me enough space for about 4 or 5 top player times ... which is nice. :3

I still am puzzled by the fact that the number 0.00 appears in every check point box.
I've restarted Xaseco to try and make that work, but it still fails for me.

Thanks. :sweet:


Top
 Profile  
 
 Post subject: Re: [Xaseco]Best Runs widget
PostPosted: Mon Feb 21, 2011 11:54 pm 
Offline
TM-Patrol
TM-Patrol
User avatar

Joined: Sat Dec 01, 2007 8:04 pm
Posts: 1845
Location: London, England
Owned TM-games: TMN, TMUF, TM Wii
ok, there is this, "function Display_bestruns" that seems to get called in "function OnPlayerFinish_bestruns" and that is registered like this
Code:
Aseco::registerEvent('onPlayerFinish',     'OnPlayerFinish_bestruns');


I'm not too sure really, but try adding this after line 9 in the plugin
Code:
Aseco::registerEvent('onCheckpoint', 'Display_bestruns');

_________________
My TMF Hub --- Server


Top
 Profile  
 
 Post subject: Re: [Xaseco]Best Runs widget
PostPosted: Fri May 06, 2011 6:40 pm 
Offline
sunday driver
sunday driver
User avatar

Joined: Wed Jul 16, 2008 4:56 pm
Posts: 54
Owned TM-games: TMS-TMN-TMNF-TMUF
Ant wrote:
Try adding this after line 16 in plugin.bestruns.php (v1.4)
Code:
Aseco::registerEvent('onEndRace', 'clear');


that will call this function from lines 363 - 366
Code:
function clear($aseco, $challenge){//efface le widget entre 2 challenges
   $xml = '<manialink id="342312"></manialink>';
    $aseco->client->query("SendDisplayManialinkPage", $xml, 1, false);
}


Doesn't seem to work for me :( I'm not sure if I placed it on the correct line

What is on line 16? (So I can make sure I'm adding the command on the right line)

Sorry for my noobness :roflol:

_________________
Image


Top
 Profile  
 
 Post subject: Re: [Xaseco]Best Runs widget
PostPosted: Fri May 06, 2011 7:10 pm 
Offline
cyclist
cyclist
User avatar

Joined: Mon Aug 17, 2009 7:27 pm
Posts: 30
Location: Poland, Szczecin
Owned TM-games: TMU, TMS, TMO
Manialink(s): tmtp://#join=szkodziu
Orientation is removed :( You can add this again for people who want have only runs. And add simple option to config to disable best cps. Then in php… you know what ; )

_________________
I don't know english, PHP and MySQL but I scratch along ; )
TM accs: 20szn, szkodziu, szkodnisia


Top
 Profile  
 
 Post subject: Re: [Xaseco]Best Runs widget
PostPosted: Mon May 09, 2011 4:45 am 
Offline
TM-Patrol
TM-Patrol
User avatar

Joined: Sat Dec 01, 2007 8:04 pm
Posts: 1845
Location: London, England
Owned TM-games: TMN, TMUF, TM Wii
movielord wrote:
Doesn't seem to work for me :( I'm not sure if I placed it on the correct line

What is on line 16? (So I can make sure I'm adding the command on the right line)


In the plugin, the section that looks like this, just add that line into it
Code:
Aseco::registerEvent('onStartup', 'startup_serveur_bestruns');
Aseco::registerEvent('onPlayerConnect', 'player_connect_bestruns');
Aseco::registerEvent('onPlayerDisconnect', 'player_disconnect_bestruns');
Aseco::registerEvent('onCheckpoint', 'checkpoint_bestruns');
Aseco::registerEvent('onEndRace', 'clear');
Aseco::registerEvent('onNewChallenge', 'new_challenge_bestruns');
Aseco::registerEvent('onNewChallenge', 'clear');
Aseco::registerEvent('onNewChallenge', 'loadXmlFileRuns');
Aseco::registerEvent('onPlayerFinish', 'player_finish_bestruns');

_________________
My TMF Hub --- Server


Top
 Profile  
 
 Post subject: Re: [Xaseco]Best Runs widget
PostPosted: Mon May 09, 2011 6:00 pm 
Offline
sunday driver
sunday driver
User avatar

Joined: Wed Jul 16, 2008 4:56 pm
Posts: 54
Owned TM-games: TMS-TMN-TMNF-TMUF
Got it solved, thanks again for the help

_________________
Image


Top
 Profile  
 
 Post subject: Re: [Xaseco]Best Runs widget
PostPosted: Wed Feb 01, 2012 5:58 pm 
Offline
smooth traffic navigator
smooth traffic navigator

Joined: Wed May 21, 2008 11:39 am
Posts: 192
Owned TM-games: TMUF
Hi,

Can anyone upload a copy of this somewhere and let me know? The download links no longer work.

TIA,

Yorkshire.


Top
 Profile  
 
 Post subject: Re: [Xaseco]Best Runs widget
PostPosted: Wed Feb 01, 2012 6:28 pm 
Offline
happy cruiser
happy cruiser
User avatar

Joined: Sat Mar 26, 2011 4:04 am
Posts: 135
Owned TM-games: TMUF, TMNF, TM²
Manialink(s): None
Xymph usually keeps a repository for just such occasions at xaseco.org. I think the plugin you want is this one: http://plugins.xaseco.org/info.php?id=7

_________________
"Never surrender, sometimes retreat"

Image

Scottish Flat Trax servers


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 68 posts ]  Go to page Previous  1, 2, 3, 4, 5  Next

All times are UTC + 2 hours [ DST ]


Who is online

Users browsing this forum: Bing [Bot] and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group