[XASECO] Plugin: Personal Best Medals 1.0.3 (UPDATE)

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
undef.de
Pit Crew
Pit Crew
Posts: 1305
Joined: 31 Aug 2009 18:38
Owned TM-games: TMF, TM2C/S/V, SM
Manialink(s): undef, tmkarma
Location: Germany
Contact:

[XASECO] Plugin: Personal Best Medals 1.0.3 (UPDATE)

Post by undef.de » 18 Jan 2012 21:38

Personal Best Medals

This Plugin display a small Widget where the Player see which Medal he has reached with his local record, or with one of the global databases (if enabled). This MedalWidget is clickable and display all current connected Player Medals, sorted by the driven time/score.

If a Player drive reach a new Medal, then this is notified to all other Players with the NewMedalWidget.

Based upon the idea and request from Olymptor, thanks!

For more Information, Screenshots, Documentation and Downloads, please visit the related Site at my Labs:
http://www.undef.name/XAseco1/Personal-Best-Medals.php
Last edited by undef.de on 21 Jul 2016 19:43, edited 9 times in total.
Developer of various plugins for XAseco/XAseco2 and MPAseco,
like Records-Eyepiece, TM-Karma, Alternate Scoretable...
Visit my Lab: www.undef.name

Get it now:
» TM2 Valley
» TM2 Canyon
» TM2 Stadium
» SM Storm

User avatar
undef.de
Pit Crew
Pit Crew
Posts: 1305
Joined: 31 Aug 2009 18:38
Owned TM-games: TMF, TM2C/S/V, SM
Manialink(s): undef, tmkarma
Location: Germany
Contact:

Re: [XASECO] Plugin: Personal Best Medals 0.9.6 (UPDATE)

Post by undef.de » 21 Jan 2012 15:02

Just wanna say: There is an update out there... see the related Site at my Labs.
Last edited by undef.de on 08 Dec 2013 14:22, edited 1 time in total.
Developer of various plugins for XAseco/XAseco2 and MPAseco,
like Records-Eyepiece, TM-Karma, Alternate Scoretable...
Visit my Lab: www.undef.name

Get it now:
» TM2 Valley
» TM2 Canyon
» TM2 Stadium
» SM Storm

User avatar
undef.de
Pit Crew
Pit Crew
Posts: 1305
Joined: 31 Aug 2009 18:38
Owned TM-games: TMF, TM2C/S/V, SM
Manialink(s): undef, tmkarma
Location: Germany
Contact:

Re: [XASECO] Plugin: Personal Best Medals 0.9.7 (UPDATE)

Post by undef.de » 24 Jan 2012 16:52

Just wanna say: There is an update out there... see the related Site at my Labs.
Last edited by undef.de on 08 Dec 2013 14:21, edited 1 time in total.
Developer of various plugins for XAseco/XAseco2 and MPAseco,
like Records-Eyepiece, TM-Karma, Alternate Scoretable...
Visit my Lab: www.undef.name

Get it now:
» TM2 Valley
» TM2 Canyon
» TM2 Stadium
» SM Storm

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

Re: [XASECO] Plugin: Personal Best Medals 0.9.7 (UPDATE)

Post by weasel » 24 Jan 2012 18:40

each time I login I must drive the medals again ?

User avatar
undef.de
Pit Crew
Pit Crew
Posts: 1305
Joined: 31 Aug 2009 18:38
Owned TM-games: TMF, TM2C/S/V, SM
Manialink(s): undef, tmkarma
Location: Germany
Contact:

Re: [XASECO] Plugin: Personal Best Medals 0.9.7 (UPDATE)

Post by undef.de » 24 Jan 2012 19:58

weasel wrote:each time I login I must drive the medals again ?
Nope, the Widget display your current Medal related on your Record.
Developer of various plugins for XAseco/XAseco2 and MPAseco,
like Records-Eyepiece, TM-Karma, Alternate Scoretable...
Visit my Lab: www.undef.name

Get it now:
» TM2 Valley
» TM2 Canyon
» TM2 Stadium
» SM Storm

Olymptor
sunday driver
sunday driver
Posts: 59
Joined: 16 May 2009 00:15
Owned TM-games: TMUF, TMO, TMS

Re: [XASECO] Plugin: Personal Best Medals 0.9.7 (UPDATE)

Post by Olymptor » 24 Jan 2012 22:53

Thanks. ^^

I would like add a new function i think as you know well your plugin you can do easier than me lol :

I just would to display in a new manialink "Nickname (old medal quad) is now (new medal quad ) in ($newpb) (display on screen for all players during few seconds)
... and if possible his new top on local records and new dedimania if got it ...

Code: Select all

function pbme_onPlayerFinish1 ($aseco, $finish_item) {
...
if ($newpb == true) {


//check old_pb, new pb and compare with current map author+gold+silver+bronze
if $newmedal  {
pbme_buildNewMedalManialink
}


		pbme_buildMedalWidget($finish_item->player->login, true);
	}
Thanks.
Olymptor

User avatar
undef.de
Pit Crew
Pit Crew
Posts: 1305
Joined: 31 Aug 2009 18:38
Owned TM-games: TMF, TM2C/S/V, SM
Manialink(s): undef, tmkarma
Location: Germany
Contact:

Re: [XASECO] Plugin: Personal Best Medals 0.9.7 (UPDATE)

Post by undef.de » 25 Jan 2012 21:01

Olymptor wrote: I would like add a new function i think as you know well your plugin you can do easier than me lol :

I just would to display in a new manialink "Nickname (old medal quad) is now (new medal quad ) in ($newpb) (display on screen for all players during few seconds)
... and if possible his new top on local records and new dedimania if got it ...
I did it, but a little bit different... like in the Alternate-Scoretable (see "PlayerPlaceWidget" at http://www.undef.name/XAseco1/Alternate ... creenshots), thanks!

Not yet released, because if have to make screenshots first... and this i wanna do tomorrow. ;)
Last edited by undef.de on 23 Sep 2013 22:05, edited 1 time in total.
Developer of various plugins for XAseco/XAseco2 and MPAseco,
like Records-Eyepiece, TM-Karma, Alternate Scoretable...
Visit my Lab: www.undef.name

Get it now:
» TM2 Valley
» TM2 Canyon
» TM2 Stadium
» SM Storm

User avatar
undef.de
Pit Crew
Pit Crew
Posts: 1305
Joined: 31 Aug 2009 18:38
Owned TM-games: TMF, TM2C/S/V, SM
Manialink(s): undef, tmkarma
Location: Germany
Contact:

Re: [XASECO] Plugin: Personal Best Medals 0.9.8 (UPDATE)

Post by undef.de » 26 Jan 2012 19:44

Just wanna say: There is an update out there... see the related Site at my Labs.
Last edited by undef.de on 08 Dec 2013 14:21, edited 1 time in total.
Developer of various plugins for XAseco/XAseco2 and MPAseco,
like Records-Eyepiece, TM-Karma, Alternate Scoretable...
Visit my Lab: www.undef.name

Get it now:
» TM2 Valley
» TM2 Canyon
» TM2 Stadium
» SM Storm

Sprinter
highway camper
highway camper
Posts: 1
Joined: 07 Dec 2011 21:44
Owned TM-games: TM, TMN, TMU, TM2

Re: [XASECO] Plugin: Personal Best Medals 0.9.8 (UPDATE)

Post by Sprinter » 28 Jan 2012 13:42

Nice...

Would be good if the medal system was exteneded with 'super' medals or something that would go against dedimania times etc...

Also maybe have an option to send message to player rather than whole server, maybe send it to the chat window instead too, but only when the player first gets that medal, not everytime they improve their time.

Keep it up!

Sprinter.

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

Re: [XASECO] Plugin: Personal Best Medals 0.9.8 (UPDATE)

Post by weasel » 29 Jan 2012 23:47

the text about medal ( above chat ) is overlapped by the text from alternate scoretable.

User avatar
undef.de
Pit Crew
Pit Crew
Posts: 1305
Joined: 31 Aug 2009 18:38
Owned TM-games: TMF, TM2C/S/V, SM
Manialink(s): undef, tmkarma
Location: Germany
Contact:

Re: [XASECO] Plugin: Personal Best Medals 0.9.8 (UPDATE)

Post by undef.de » 30 Jan 2012 18:59

weasel wrote:the text about medal ( above chat ) is overlapped by the text from alternate scoretable.
Just adjust

Code: Select all

<new_medal_widget>
	<pos_x>-43</pos_x>
	<pos_y>-28</pos_y>
</new_medal_widget>
to your needs. :wink:
Developer of various plugins for XAseco/XAseco2 and MPAseco,
like Records-Eyepiece, TM-Karma, Alternate Scoretable...
Visit my Lab: www.undef.name

Get it now:
» TM2 Valley
» TM2 Canyon
» TM2 Stadium
» SM Storm

User avatar
undef.de
Pit Crew
Pit Crew
Posts: 1305
Joined: 31 Aug 2009 18:38
Owned TM-games: TMF, TM2C/S/V, SM
Manialink(s): undef, tmkarma
Location: Germany
Contact:

Re: [XASECO] Plugin: Personal Best Medals 0.9.8 (UPDATE)

Post by undef.de » 30 Jan 2012 19:03

Sprinter wrote: Would be good if the medal system was exteneded with 'super' medals or something that would go against dedimania times etc...
Hmmm.. i think this isn´t very useful. I think the current Medal-System is good enough.
Sprinter wrote: Also maybe have an option to send message to player rather than whole server, maybe send it to the chat window instead too, but only when the player first gets that medal, not everytime they improve their time.
I think the current handling is good enough.... thanks anyway.
Developer of various plugins for XAseco/XAseco2 and MPAseco,
like Records-Eyepiece, TM-Karma, Alternate Scoretable...
Visit my Lab: www.undef.name

Get it now:
» TM2 Valley
» TM2 Canyon
» TM2 Stadium
» SM Storm

Olymptor
sunday driver
sunday driver
Posts: 59
Joined: 16 May 2009 00:15
Owned TM-games: TMUF, TMO, TMS

Re: [XASECO] Plugin: Personal Best Medals 0.9.8 (UPDATE)

Post by Olymptor » 31 Jan 2012 21:52

Hey Undef !

There is a little mistake in code :

When Player Time is equal AuthorTime for example, player win AuthorMedal.
But in your plugin that display only gold medal.

So just change " < " to "<=" in lines of function pbme_findPlayerMedal

I did it and it works fine :thumbsup:

Cya :pil

User avatar
undef.de
Pit Crew
Pit Crew
Posts: 1305
Joined: 31 Aug 2009 18:38
Owned TM-games: TMF, TM2C/S/V, SM
Manialink(s): undef, tmkarma
Location: Germany
Contact:

Re: [XASECO] Plugin: Personal Best Medals 0.9.8 (UPDATE)

Post by undef.de » 01 Feb 2012 17:11

Olymptor wrote: There is a little mistake in code :

When Player Time is equal AuthorTime for example, player win AuthorMedal.
But in your plugin that display only gold medal.

So just change " < " to "<=" in lines of function pbme_findPlayerMedal

I did it and it works fine :thumbsup:
When you equal the AuthorTime, then you didn´t beat them. You need to be faster then the AuthorTime. ;)
Developer of various plugins for XAseco/XAseco2 and MPAseco,
like Records-Eyepiece, TM-Karma, Alternate Scoretable...
Visit my Lab: www.undef.name

Get it now:
» TM2 Valley
» TM2 Canyon
» TM2 Stadium
» SM Storm

User avatar
undef.de
Pit Crew
Pit Crew
Posts: 1305
Joined: 31 Aug 2009 18:38
Owned TM-games: TMF, TM2C/S/V, SM
Manialink(s): undef, tmkarma
Location: Germany
Contact:

Re: [XASECO] Plugin: Personal Best Medals 0.9.9 (UPDATE)

Post by undef.de » 17 Feb 2012 19:45

Just wanna say: There is an update out there... see the related Site at my Labs.
Last edited by undef.de on 08 Dec 2013 14:21, edited 1 time in total.
Developer of various plugins for XAseco/XAseco2 and MPAseco,
like Records-Eyepiece, TM-Karma, Alternate Scoretable...
Visit my Lab: www.undef.name

Get it now:
» TM2 Valley
» TM2 Canyon
» TM2 Stadium
» SM Storm

Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests