[Aseco/RASP Forever]TMX info plugin. with image

This forum is dedicated to the Aseco/Rasp 2 server records and control script by Flo and Assembler Maniac. Announcements and issues can be discussed in this forum.

Moderators: Flo, f*ckfish, Assembler Maniac, TM-Patrol

User avatar
oliverde8
solid chaser
solid chaser
Posts: 1135
Joined: 07 Oct 2006 07:03
Owned TM-games: TMU
Manialink(s): oliverde8
Location: Turkey
Contact:

[Aseco/RASP Forever]TMX info plugin. with image

Post by oliverde8 » 24 Apr 2008 13:12

will found tracks TMX info.
Download: http://oliverde8.free.fr/oliverde8/inde ... oads;cat=3

searches TMNF - TMU - TMN - TMS - TMO depending to tracks environment. it won't search a bay track in TMNF :D

will olso replace the existing tmxlinler plugin. it will always put a correct link. you need to desactivate that plugin.

Image

will add a button to my menu bar and olso a info message. viewtopic.php?f=28&t=14737

İnstallation: the plugin.tmxinfo.php in plugins folder and tmxinfofetcher.inc.php into includes folder


___________________________________________________________________
Change log:
http://oliverde8.free.fr/oliverde8/inde ... c&topic=20

___________________________________________________________________
Thanks a Lot wrote: -Phhere for his help with TMX images, without forgeting TrabTowN
-Xymph for the TMX image link
-Olso to Assembler Maniac ho was always ready to help ancontibuted so much to Aseco
-and Flo for Have developed Aseco
Last edited by oliverde8 on 10 Jun 2009 19:45, edited 15 times in total.
ImageImage
Manialink : oliverde8color>
Servers : STATS <> United | VeryShort | Made In Turkey

User avatar
HoTTe
wheelbarrow operator
wheelbarrow operator
Posts: 22
Joined: 10 Feb 2006 09:27
Location: Vienna

Re: [Aseco/RASP Forever]TMX info plugin

Post by HoTTe » 24 Apr 2008 13:37

Nice, but I think you forgot to post the link to this plug-in
-= One god, many faces! =-

User avatar
oliverde8
solid chaser
solid chaser
Posts: 1135
Joined: 07 Oct 2006 07:03
Owned TM-games: TMU
Manialink(s): oliverde8
Location: Turkey
Contact:

Re: [Aseco/RASP Forever]TMX info plugin

Post by oliverde8 » 24 Apr 2008 13:43

HoTTe wrote:Nice, but I think you forgot to post the link to this plug-in
:roll: :oops: fogoth to post

added now www.fileden.com/files/2006/11/1/338501/TMX-info.rar
ImageImage
Manialink : oliverde8color>
Servers : STATS <> United | VeryShort | Made In Turkey

User avatar
oliverde8
solid chaser
solid chaser
Posts: 1135
Joined: 07 Oct 2006 07:03
Owned TM-games: TMU
Manialink(s): oliverde8
Location: Turkey
Contact:

Re: [Aseco/RASP Forever]TMX info plugin

Post by oliverde8 » 25 Apr 2008 08:33

TMX image here it comes :D

Image

İt needs the server to save every image :( . I know not nice at all.

The plugin bugs when connection slow downs a lot :ftw:

I wasn't able to do a complete test.

I want to thank a lot Phhere. I wouldn't be able to add images without his help
ImageImage
Manialink : oliverde8color>
Servers : STATS <> United | VeryShort | Made In Turkey

User avatar
TrabTowN
Pit Crew
Pit Crew
Posts: 789
Joined: 03 Nov 2005 14:30
Owned TM-games: TMS,tmn,TMU
Location: Ireland/orginal SACHSE^^
Contact:

Re: [Aseco/RASP Forever]TMX info plugin

Post by TrabTowN » 26 Apr 2008 09:01

oliverde8 wrote: I want to thank a lot Phhere. I wouldn't be able to add images without his help

... mmhh.... should we start to call the new aseco "pimped by sato" ?? :roflol: :gobananas: :sweet:
100²% addicted
Image
Image

User avatar
f*ckfish
Pit Crew
Pit Crew
Posts: 1302
Joined: 15 Jun 2007 07:59
Owned TM-games: TMNF, TMUF
Location: Dresden, Germany
Contact:

Re: [Aseco/RASP Forever]TMX info plugin

Post by f*ckfish » 26 Apr 2008 11:17

TrabTowN wrote:
oliverde8 wrote: I want to thank a lot Phhere. I wouldn't be able to add images without his help

... mmhh.... should we start to call the new aseco "pimped by sato" ?? :roflol: :gobananas: :sweet:
I know I said it before but not in public ;-) In my eyes SATO is the MacOS of the server controllers :thumbsup:
inactive, sorry

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

Re: [Aseco/RASP Forever]TMX info plugin. with image

Post by Xymph » 27 Apr 2008 16:34

oliverde8 wrote:will found tracks TMX info.
Download: http://www.fileden.com/files/2006/11/1/ ... X-info.rar
This appears to be v1.0.
oliverde8 wrote:
Installation: wrote: -plugin.tmxinfo.php file goes in Aseco/plugins folder.

-now tmx-pic.php needs to be available from internet place it in such a place

-open plugin.tmxinfo.php and enter the URL of tmx-pic.php as it is wright now

-!!This plugin will save each of the images.

-!!To desactivate images just leave The URL empty

___________________________________________________________________
Change log
Version 1.0->1.1 wrote:-TMX image added
There's no tmx-pic.php included and the v1.0 release doesn't display a thumbnail. When are you going to offer v1.1 for actual download? :wink:
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
oliverde8
solid chaser
solid chaser
Posts: 1135
Joined: 07 Oct 2006 07:03
Owned TM-games: TMU
Manialink(s): oliverde8
Location: Turkey
Contact:

Re: [Aseco/RASP Forever]TMX info plugin. with image

Post by oliverde8 » 27 Apr 2008 16:41

Xymph wrote: There's no tmx-pic.php included and the v1.0 release doesn't display a thumbnail. When are you going to offer v1.1 for actual download? :wink:
Just redownload it from an other PC it is v1.1 if you have downloaded v1.0 as it is the same link the comp just shows you old version. I can't acess to my host at the moment so I keep same link for every version.
if realy touble I could reupload it with different link
ImageImage
Manialink : oliverde8color>
Servers : STATS <> United | VeryShort | Made In Turkey

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

Re: [Aseco/RASP Forever]TMX info plugin. with image

Post by Xymph » 27 Apr 2008 16:44

Oh, bizarre. But okay, I got v1.1 now. Thanks.
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

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

Re: [Aseco/RASP Forever]TMX info plugin

Post by Xymph » 27 Apr 2008 22:25

oliverde8 wrote:İt needs the server to save every image :( . I know not nice at all.
Nope, and it's not necessary either, nor is the external script. I figured out how to include TMX screen links directly into the <icon> tag. 8)

Let's take the screen for TMN track reRun as an example:
http://nations.tm-exchange.com/get.aspx ... en&id=3330

To make the ManiaLink load it, the link needs to end in .jpg, which can be done with a bogus parameter that TMX ignores:
http://nations.tm-exchange.com/get.aspx ... =3330&.jpg

But also, the special HTML character & needs to be translated into & (in PHP you can use htmlspecialchars() for that):
http://nations.tm-exchange.com/get.aspx ... =3330&.jpg

Put this inside the icon tag, and the ManiaLink will display the image:
<icon width="0.4" height="0.3" halign="center">http://nations.tm-exchange.com/get.aspx ... .jpg</icon>
No more external script, and it should load faster too. :)

I have this working in XASECO, and it will be included in the next release:

Image
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
TrabTowN
Pit Crew
Pit Crew
Posts: 789
Joined: 03 Nov 2005 14:30
Owned TM-games: TMS,tmn,TMU
Location: Ireland/orginal SACHSE^^
Contact:

Re: [Aseco/RASP Forever]TMX info plugin. with image

Post by TrabTowN » 27 Apr 2008 23:09

nice Xymph :sweet:

just one though, i think the caching of the images is still not a bad idea, two reasons, if its in cache there is no need to bother tmx with traffic (with 40 players a 50 kb per image is 2000 kb to get from tmx all the time), second i can set the cached images to a certain size to load it faster... but as the germans say, "many ways lead to rom" :wink:
100²% addicted
Image
Image

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

Re: [Aseco/RASP Forever]TMX info plugin. with image

Post by Xymph » 27 Apr 2008 23:24

TrabTowN wrote:just one though, i think the caching of the images is still not a bad idea, two reasons, if its in cache there is no need to bother tmx with traffic (with 40 players a 50 kb per image is 2000 kb to get from tmx all the time), second i can set the cached images to a certain size to load it faster... but as the germans say, "many ways lead to rom" :wink:
True, caching by the external script helps. But the game client already caches these images too: if you request the info for the same TMX track after having quit TM in the mean time, the image appears right away. So that helps a little bit.

Even then, the hassle of an external script (not every admin has a PHP-enabled webserver at his disposal) doesn't really weigh up against the additional central caching, IMHO.
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
TrabTowN
Pit Crew
Pit Crew
Posts: 789
Joined: 03 Nov 2005 14:30
Owned TM-games: TMS,tmn,TMU
Location: Ireland/orginal SACHSE^^
Contact:

Re: [Aseco/RASP Forever]TMX info plugin. with image

Post by TrabTowN » 27 Apr 2008 23:32

... it might be an idea to do it your way as standard and give the optional caching(even with a resize option) as an additional way, which could be set in the config of the server tool, for those who have a web server on the same machine... but yes a external central script would not help...

edit: btw i was not talking about the client caching, is my though was more in direction to bother tmx all the time with getting the image... when many servers run a tool that gets the image every time it loads a track, i am sure the tmx crew would be very happy if we could keep the traffic as low as possible to them...
100²% addicted
Image
Image

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

Re: [Aseco/RASP Forever]TMX info plugin. with image

Post by Xymph » 28 Apr 2008 00:06

TrabTowN wrote:... it might be an idea to do it your way as standard and give the optional caching(even with a resize option) as an additional way, which could be set in the config of the server tool, for those who have a web server on the same machine... but yes a external central script would not help...

edit: btw i was not talking about the client caching, is my though was more in direction to bother tmx all the time with getting the image... when many servers run a tool that gets the image every time it loads a track, i am sure the tmx crew would be very happy if we could keep the traffic as low as possible to them...
Yes, if users really often requested the info on a track. But in practice that doesn't seem to happen. I've been running a fairly popular TMN server since May 2007, and I keep all its logs, as one can learn interesting things about all sorts of usage patterns from them.

For instance, in nearly a year, my users typed the /list and /jukebox commands about 34000 times each, but /tmxrecs (which doesn't display an image even in my current XASECO) only 272 times, and /tmxinfo (which now does include the image) a measly 42 times. Continuing at the same rate, that's 3.5 extra image requests per month. :lol:

Even if the request pattern grew 10 or 20 times that high, because more servers have the feature and more users try it since it looks cooler now, I really doubt TMX will break a sweat. :mrgreen:
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
HakkiSk
cyclist
cyclist
Posts: 36
Joined: 16 Sep 2006 17:35
Owned TM-games: TMo,TMs,TMn,TMu :D
Location: Slovakia
Contact:

Re: [Aseco/RASP Forever]TMX info plugin. with image

Post by HakkiSk » 28 Apr 2008 05:57

Xymph wrote:
TrabTowN wrote:... it might be an idea to do it your way as standard and give the optional caching(even with a resize option) as an additional ..... :mrgreen:
Hm, when add new challenge to server, download TMX screen to local folder ...
Image

Post Reply