[XAseco/XAseco2] matchOverlay v0.5 (Last update: 2014/02/11)

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:

[XAseco/XAseco2] matchOverlay v0.5 (Last update: 2014/02/11)

Post by Chris92 » 30 Mar 2013 01:07

Hello guys!
Together with a good friend of mine, TheM, I created my first ever XAseco plugin - matchOverlay!
I tested it thoroughly and didn't find any bugs but should you encounter any, please tell me in this thread.

Introduction

Livestreaming and broadcasting is a more and more important part of eSports. Every major
eSports event is broadcasted and broadcasting is also up and coming in the Trackmania scene.

The only real thing that the spectator mode of Trackmania lacks is a nice overlay that displays
the current standings in Team mode. matchOverlay helps here!
Inspired by the plugin "tSplash" which was developed for ESL TV by svenstucki, matchOverlay is
meant to bring you a visually appealing overlay and even more useful features for broadcasters
in the future.

Changelog

v0.5:

- Added Automatic Team Name Detection based on common strings in nicknames.

Command: /moverlay team auto (1/2) // 1 = Blue, 2 = Red

!!MAKE SURE TO UPDATE mOverlay.xml AS THE DEFAULT LOCATION OF THE SCOREBOARD IMAGE HAS CHANGED!!

v0.4:

- Fixed a bug where the Team Score would be displayed incorrectly when Team Red was leading. (Thanks undef and nemrod87!)

v0.3:

- Re-written / cleaned up code
- Added support for TM²
- Added config file (moverlay.xml) for customization
- Bugfix: Fixed a bug where overall score could be set to something non-numerical

v0.2:

- Added support for undef.de's Third Party Plugins UpToDate
- Made mOverlay disappear at the scoreboard (you'll be able to change this behaviour next release in the config file)
- mOverlay now automatically gets disabled if you switch to a gamemode other than TEAM (!!requires XAseco 1.15b!!)
- mOverlay now can only be activated in TEAM mode, you'll get an error message in any other mode.

v0.1a:

- Initial release


Download

Download on GitHub

Screenshot
Image

Please don't hesitate to give me feedback, be it positive or negative!

Kind regards,
Chris92

PS: matchOverlay is now on GitHub, check it out here
Last edited by Chris92 on 12 Feb 2014 13:02, edited 11 times in total.

User avatar
w1lla
TM-Patrol
TM-Patrol
Posts: 1466
Joined: 23 May 2007 07:20
Owned TM-games: TMU, TMN, TMF
Manialink(s): intr
Location: Venray

Re: [XAseco] matchOverlay v0.1a

Post by w1lla » 30 Mar 2013 09:01

Real nice Did the same for ManiaLive in TM2:

https://github.com/w1lla/ManiaLive/blob ... 2-1-0_.jpg

As you can see its based on the Shootmania Version which in the case is quite unusual :P

Hope it gets extended in the future ;) :lovetm

Code: Select all

tmnforever is nations and united makes it special. tmnforever has united. I need united!

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] matchOverlay v0.1a

Post by Chris92 » 30 Mar 2013 17:26

Update! v0.2 is out and adds some checks I simply forgot to add.
Also it now support Third Party Plugins UpToDate by undef.de

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/XAseco2] matchOverlay v0.2 (Last update: 2013/04

Post by Chris92 » 13 Apr 2013 14:18

v0.3 is out.
Added support for TM2 and some bugfixes. Config file for customization now added

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

Re: [XAseco/XAseco2] matchOverlay v0.2 (Last update: 2013/04

Post by Xymph » 13 Apr 2013 16:20

Chris92 wrote:v0.3 is out.
No, the 5986 bytes zip cannot be unpacked.
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
undef.de
Pit Crew
Pit Crew
Posts: 1309
Joined: 31 Aug 2009 18:38
Owned TM-games: TMF, TM2C/S/V, SM
Manialink(s): undef, tmkarma
Location: Germany
Contact:

Re: [XAseco/XAseco2] matchOverlay v0.2 (Last update: 2013/04

Post by undef.de » 13 Apr 2013 17:14

Xymph wrote:
Chris92 wrote:v0.3 is out.
No, the 5986 bytes zip cannot be unpacked.
FYI: It is a RAR archive... so it's the wrong extension, please fix this Chris92.
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

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/XAseco2] matchOverlay v0.2 (Last update: 2013/04

Post by Chris92 » 13 Apr 2013 19:29

undef.de wrote:
Xymph wrote:
Chris92 wrote:v0.3 is out.
No, the 5986 bytes zip cannot be unpacked.
FYI: It is a RAR archive... so it's the wrong extension, please fix this Chris92.
My bad, should be fixed now! Sorry for the inconveniences

tm-alonso
wheelbarrow operator
wheelbarrow operator
Posts: 24
Joined: 21 Oct 2012 15:05
Owned TM-games: TMU, TM2

Re: [XAseco/XAseco2] matchOverlay v0.3 (Last update: 2013/04

Post by tm-alonso » 20 May 2013 14:50

hi chris92

the plugins that also launches in surround mode, how to launch it this team only mode automatically disables the surround mode please?
thank you
Image
Image

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/XAseco2] matchOverlay v0.3 (Last update: 2013/04

Post by Chris92 » 23 Sep 2013 23:58

Sorry, haven't been active in a while.
I have no idea what the Surround mode is, but I'll look if I can find more information about it and make it work in that one.
Is it a custom mode for TM2?

EDIT: matchOverlay is now on GitHub! Feel free to send me pull requests if you want to add features =)

nemrod87
highway camper
highway camper
Posts: 4
Joined: 28 Sep 2013 19:33
Owned TM-games: TMU TMO

Re: [XAseco/XAseco2] matchOverlay v0.3 (Last update: 2013/04

Post by nemrod87 » 28 Sep 2013 19:45

Hello, congratulations for your plugin, it works fine, but sometimes it reverses the scores as you can see in the picture.

Image

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/XAseco2] matchOverlay v0.3 (Last update: 2013/04

Post by Chris92 » 29 Sep 2013 09:36

Hello Nemrod, this seems to be a TM² specific problem.
I'll look into it and will probably send you a debug version in a few days, so I can see what causes the issues =)
For the moment, can you please post me the content of your plugins.xml?

EDIT: And the content of moverlay.xml while you're at it

nemrod87
highway camper
highway camper
Posts: 4
Joined: 28 Sep 2013 19:33
Owned TM-games: TMU TMO

Re: [XAseco/XAseco2] matchOverlay v0.3 (Last update: 2013/04

Post by nemrod87 » 29 Sep 2013 10:06

Hello Chris92 :D

This is what I have in my plugin.xml file.

****************************************************

Code: Select all

<?xml version="1.0" encoding="UTF-8"?>
<xaseco2_plugins>
<plugin>plugin.localdatabase.php</plugin><plugin>plugin.rounds.php</plugin><plugin>chat.admin.php</plugin><plugin>chat.help.php</plugin><plugin>chat.records.php</plugin><plugin>chat.records2.php</plugin><plugin>chat.recrels.php</plugin><plugin>chat.dedimania.php</plugin><plugin>chat.players.php</plugin><plugin>chat.players2.php</plugin><plugin>chat.wins.php</plugin><plugin>chat.laston.php</plugin><plugin>chat.lastwin.php</plugin><plugin>chat.stats.php</plugin><plugin>chat.server.php</plugin><plugin>chat.songmod.php</plugin><plugin>chat.me.php</plugin>
<!--	<plugin>plugin.muting.php</plugin> -->
<plugin>plugin.mxinfo.php</plugin><plugin>plugin.map.php</plugin><plugin>plugin.checkpoints.php</plugin><plugin>plugin.dedimania.php</plugin><plugin>plugin.rasp.php</plugin><plugin>plugin.rasp_jukebox.php</plugin><plugin>plugin.rasp_chat.php</plugin>
<!-- <plugin>plugin.rasp_karma.php</plugin> -->
<plugin>plugin.rasp_nextmap.php</plugin><plugin>plugin.rasp_nextrank.php</plugin><plugin>plugin.rasp_votes.php</plugin><plugin>plugin.chatlog.php</plugin>
<!--	<plugin>plugin.msglog.php</plugin> -->
<plugin>plugin.style.php</plugin><plugin>plugin.panels.php</plugin><plugin>plugin.donate.php</plugin>
<plugin>plugin.tm-karma-dot-com.php</plugin>
<!--	<plugin>plugin.replaycharge.php</plugin> -->
<plugin>plugin.musicserver.php</plugin><plugin>plugin.uptodate.php</plugin><plugin>plugin.nouse.betting.php</plugin><plugin>plugin.nouse.link.php</plugin><plugin>plugin.loadscreen.php</plugin>
<!-- <plugin>plugin.cprecords.php</plugin> -->

<!--	<plugin>plugin.best_checkpoint_times.php</plugin> -->

<!--	<plugin>plugin.rpoints.php</plugin> -->

<!--	<plugin>plugin.spyke_allcps.php</plugin> -->

<!--	<plugin>plugin.autotime.php</plugin> -->

<!--	<plugin>plugin.access.php</plugin> -->
<plugin>plugin.records_eyepiece.php</plugin>
<!--	<plugin>jfreu.plugin.php</plugin> -->
<plugin>mistral.idlekick.php</plugin>   <plugin>plugin.mOverlay.php</plugin>
</xaseco2_plugins>
****************************************************
Bye bye

Nemrod87
Last edited by Xymph on 29 Sep 2013 10:40, edited 2 times in total.
Reason: Use code tags for code/configs/logs...

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/XAseco2] matchOverlay v0.3 (Last update: 2013/04

Post by Chris92 » 29 Sep 2013 10:09

Hello Nemrod, the plugins.xml file looks fine, no plugins that would be incompatible to mine
Can you please post the content of the "moverlay.xml" as well?
But please use the CODE tag in the full editor for the .xml content next time ;)

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

Re: [XAseco/XAseco2] matchOverlay v0.3 (Last update: 2013/04

Post by Xymph » 29 Sep 2013 10:43

nemrod87 wrote:This is what I have in my plugin.xml file.
Impossible, unless you really botched its formatting while editing it in the past. The original file isn't this unreadable.

More likely it was botched while copying it into the forum. Next time, use a proper copy/paste inside Code tags to preserve its formatting and thus its readability.
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
undef.de
Pit Crew
Pit Crew
Posts: 1309
Joined: 31 Aug 2009 18:38
Owned TM-games: TMF, TM2C/S/V, SM
Manialink(s): undef, tmkarma
Location: Germany
Contact:

Re: [XAseco/XAseco2] matchOverlay v0.3 (Last update: 2013/04

Post by undef.de » 29 Sep 2013 15:19

nemrod87 wrote:Hello, congratulations for your plugin, it works fine, but sometimes it reverses the scores as you can see in the picture.
Same problem at the first time as TM2 starts in my Records-Eyepiece. The reason for this is, that TM2 changes the order of the Team at the won points by default.

So, if team blue has 4 points and team red has 3, then the order is:

4 pts. blue
2 pts. red

If team red next time win 3 points and team blue 0 points, then the order is:

5 pts. red
4 pts. blue

In TMF the score was never sorted in Team-Mode.

@Chris92: You just have to take a look into what "GetCurrentRanking" returns and which team is currently first ("*team0*" = blue, "*team1*" = red).
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