[Xaseco] Best Checkpoints Widget

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

Moderators: Xymph, TM-Patrol

Chris92
cyclist
cyclist
Posts: 36
Joined: 28 Feb 2009 23:05
Owned TM-games: TMO, TMN, TMNF, TMUF
Location: Germany->Bavaria->Passau
Contact:

Re: [Xaseco] Best Checkpoints Widget

Post by Chris92 » 17 Mar 2011 02:48

Works fine, thx!

User avatar
Ant
TM-Patrol
TM-Patrol
Posts: 1845
Joined: 01 Dec 2007 17:04
Owned TM-games: TMN, TMUF, TM Wii
Location: London, England
Contact:

Re: [Xaseco] Best Checkpoints Widget

Post by Ant » 17 Mar 2011 17:24

happy to help :thumbsup:

kamicus
highway camper
highway camper
Posts: 3
Joined: 04 Mar 2009 06:48
Owned TM-games: TMU

Re: [Xaseco] Best Checkpoints Widget

Post by kamicus » 25 Apr 2011 20:47

Hi all,
sorry but i found no answer for my question, maybe my english is not so good (iam german).
I have installed the latest widget and the problem for me is that the button (grey button .. toggles best cps) it is to enabled and disabled the plugin is on that place (in the middle on screen above) how my 3. bestrun is displayed. so my question is how can i move this button more right. Where can i change coordinates to move this? thx for help
maybe it shows only to me as an masteradmin it that right? but i will it change.
speedracer

kamicus
highway camper
highway camper
Posts: 3
Joined: 04 Mar 2009 06:48
Owned TM-games: TMU

Re: [Xaseco] Best Checkpoints Widget

Post by kamicus » 26 Apr 2011 12:45

in bestcps.php in line 374 $xml.='<frame posn="-25 45.7">'; make - away and the button jump to right side before tmx info. thats ok for me. so i can show 5 times bestrun.

zahgurim_4
pedestrian
pedestrian
Posts: 13
Joined: 18 Sep 2011 11:19
Owned TM-games: TMU, TM2
Location: Lerum, Sweden
Contact:

Re: [Xaseco] Best Checkpoints Widget

Post by zahgurim_4 » 20 Sep 2011 17:04

I want this working in Xaseco2! :(
ad'ubbe! / ad'Racing! TM2 Canyon
http://adracing.net

ncaa_mac
wheelbarrow operator
wheelbarrow operator
Posts: 21
Joined: 31 Oct 2006 10:27
Contact:

Re: [Xaseco] Best Checkpoints Widget

Post by ncaa_mac » 22 Sep 2011 08:33

hi, is it possible to do for xaseco 2 and tm2?

thx

mac

User avatar
Ant
TM-Patrol
TM-Patrol
Posts: 1845
Joined: 01 Dec 2007 17:04
Owned TM-games: TMN, TMUF, TM Wii
Location: London, England
Contact:

Re: [Xaseco] Best Checkpoints Widget

Post by Ant » 12 Apr 2012 14:49

On request, I've modified this plugin (I've only used v1.0 so far to test it out but it looks good I think) to make all the text bigger and easier to read - please let me know if this is any good :thumbsup:

http://ant.letsrock-tm.com/downloads/pl ... psV1.0.rar

The bestcps will display at the top of the screen running from left to right for 6 cps then begin a new line after each 6th cp so the config shouldn't need to be touched really (unless you want em somewhere else I guess) - This mod also includes ©H®IS's mod from earlier

Edit: This is the readme that i've included in the download:
This is Version 1.0 with the modifications by ©H®IS - viewtopic.php?f=127&t=22232&start=15#p164592
This also has modifications by Ant to make all text bigger so its easier to read - viewtopic.php?f=127&t=22232&p=202517#p202517

Ant's Mods:
I've put comments next to the code at the following line numbers to make it easier for anyone else to mod this if they so wish.
70
84
89 - 95

weasel
speedy pilot
speedy pilot
Posts: 335
Joined: 11 Mar 2011 23:44
Owned TM-games: TMN, TMU, TMF,TM2all

Re: [Xaseco] Best Checkpoints Widget

Post by weasel » 12 Apr 2012 15:55

O ,nice :)

Gonna test it right away.

Thanks Ant

weasel
speedy pilot
speedy pilot
Posts: 335
Joined: 11 Mar 2011 23:44
Owned TM-games: TMN, TMU, TMF,TM2all

Re: [Xaseco] Best Checkpoints Widget

Post by weasel » 12 Apr 2012 16:31

First I want to thank you Ant for youre time , but :


I made a screenie :

Image

As you can see it's a bit messed up , but the cp ( widgets ) look perfect.
Just what I meant. Very nice.

If you have time , can you fix it ?

Or how can it be fixed ? maybe can I edit it myself.

Thanks again Ant

User avatar
Ant
TM-Patrol
TM-Patrol
Posts: 1845
Joined: 01 Dec 2007 17:04
Owned TM-games: TMN, TMUF, TM Wii
Location: London, England
Contact:

Re: [Xaseco] Best Checkpoints Widget

Post by Ant » 12 Apr 2012 16:33

Yeah I see the problem, my nickname is short so it fitted perfectly, can you link me to your server and i'll come and test some changes with you.

Or you can make the changes yourself if you like by following my comments in the plugin - or maybe try these changes and see how that goes:

line 84:

Code: Select all

$posx = $i * 20;
line 89:

Code: Select all

$posx = $i * 20;
Line 91:

Code: Select all

$xml.='<quad  posn="'.$posx.' '.$posy.'" sizen="20 3.2" halign="center" valign="center" style="Bgs1InRace" substyle="NavButtonBlink" />';
line 92:

Code: Select all

$posx = $posx - 8.25;
If the text is to far from the left of each label, increase the number in line 92 until it looks ok.

weasel
speedy pilot
speedy pilot
Posts: 335
Joined: 11 Mar 2011 23:44
Owned TM-games: TMN, TMU, TMF,TM2all

Re: [Xaseco] Best Checkpoints Widget

Post by weasel » 12 Apr 2012 21:30

ok , thanks again . works great !!!

I tried some nr's till it looks nice ( and fits on screen, lol ) I think thats why they made it so small.
Can hold now 6 cp's on one line.
Well I have a short server so mostly less then 6 cp's.

btw , do you own a server ?
maybe I can visit you some time . got some saved coppers. ( for youre work ).


Thanks again Ant , :)

User avatar
Ant
TM-Patrol
TM-Patrol
Posts: 1845
Joined: 01 Dec 2007 17:04
Owned TM-games: TMN, TMUF, TM Wii
Location: London, England
Contact:

Re: [Xaseco] Best Checkpoints Widget

Post by Ant » 13 Apr 2012 14:14

Well, glad its working - hopefully anyone will be able to use this now with the comments i've included :)

I do have a server by the way if you wanna check it out - not many people visit it anymore though, but thats just a casualty of the freezone I think. Anyway, the links in my signature - or you can just click here :thumbsup:

Post Reply