[(X)Aseco] Fufi Widgets (v0.80b)

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

Post Reply
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:

[(X)Aseco] Fufi Widgets (v0.80b)

Post by f*ckfish » 18 Apr 2008 11:03

Fufi Widgets (ASECO 2.2.0c and XASECO 1.04 tested)
by oorf I f*ckfish aka Alexander P.
http://fish.stabb.de


This plugin displays multiple graphical widgets on your server.
There are the Local Records widget, a Live Rankings widget, a Dedimania widget, a Karma widget, a Challenge widget, a Clock widget, a NextTrack widget and an Advertisement widget (most of them inspired by SATO).
The Scoreboard Lists widget is not really anything new, it was done before by Basti504 for Aseco/RASP and kevlarsoft for XASECO, but I wanted to build in stuff like that since I thought of the widgets. So thanks to those two =)

Thanks a lot to Phil and Trabtown who gave the ideas and were the first to use those new styles.
Visit them at SpeeedAddicts.com


Download

Fufi Widgets All Versions

Update v0.80b
  • One image link replaced, please update
Update v0.8
  • Added the Scoreboard Lists widget which enables you to display various lists containing player and record statistics in the scoreboard state, see "./plugins/fufi/fufi_widgets_(x)aseco.xml" for usage examples (the corresponding XML tag is scoreboardlists)
  • Finally fixed the FufiMenu handling, so no editing is required anymore ;-)
  • changed the image and web URLs since fish.oorf.de is history, the images are now on Imageshack, if that doesn't work out, I'll think of another place but I can't really host them on my new server since my provider went haywire before because of the massive number of requests^^
  • Probably fixed and changed some other stuff, too that I forgot to mention
Update v0.71a
  • Hopefully fixed that LiveRankingError hangups, if the resetError-method does what it's supposed to do ;-)
Update v0.7c
  • Added some debugging for the LiveRankings freeze bug, so if you have this issue, please download this version so I can find the cause for the error
  • Added ASECO dedimania support (the dedimania widget has to be enabled manually inside "./plugins/fufi/fufi_widgets_aseco.xml", I only tested it with the WIP DediMania plugin by calsmurf2904/w1lla/oliverde8 but there's no reason it should not work when they officially release it
Update v0.7b
  • fixed a bug that caused the karma widget to not update properly
Update v0.7
  • Okay, so here it is, I built some kind of fix (hopefully) for the XML-RPC transport error, it is called "High Performance Mode" (hpm) and can be understood as a switch that toggles, when the playercount reaches a specified level, some facts about this mode:
    • It can be configured inside "fufi_widgets_config.xml"
    • in hpm you can override your default settings and use multiple ways to reduce the number of manialink calls: you can either disable some of the record widgets or put them into "static mode" or both
    • "static mode" is a state where the widgets are not customized to each player anymore, every player gets exactly the same widget (resulting in plain "Top 10" lists), which also results in only one manialink call per update and not 50 (if there are 50 players on the server), one of the downsides is, that the hiding of the widgets won't work anymore
    • you can define the lowerlimit and the upperlimit (for a more detailed explanation about that, have a look into the comments in the xml file), I implemented a range so that the modes are not always "flickering" if players constantly leave and join
    • The hpm will enable itself when the playercount is too high and disable itself when the playercount falls below the limit
    • Most importantly: I could not really test it deeply, since my server is not that well populated, so I hope to get a lot of feedback from you!
  • fixed a nasty bug (combined with some evil and ugly copy-and-paste-mistakes), Xymph and soehest found, it caused some nicknames to not show properly in the widgets and (X)Aseco
  • added the possibility to display the counts of positive and negative votes inside the karma widget (this is configurable for every game mode, like always ;-), have a look at the xml-tag "displayvotecounts"
  • added a "NextTrack Widget" which can be displayed when the scoreboard shows (per default enabled in XASECO and disabled in Aseco)
  • added the possibility to show the karma widget in "scoreboard mode", to configure that one, have a look at the "./plugins/fufi/fufi_widgets_(x)aseco.xml", I added a state with the number 6, which corresponds to the "scoreboard mode"
  • with this scoreboard-karma stuff, I also added two little ads via AdWidget to display something like "Please vote...", both, the scoreboard-karma stuff and the ads are per default enabled in XASECO and disabled in Aseco
  • added a chatcommand "/togglewidgets" which does the same as the "F7"-key, shouldn't be to important for you, but I'll need it for another plugin
  • I probably forgot a lot of other things, I built in, sorry for that, maybe I can remember later
Update v0.62b
  • Remember when I said "don't overload the HUD"? Forget that and just display everything ;-)
    What I want to say with this is, that the "new" version contains a default config that displays the Dedimania widget in all possible GameModes in a place where I think it's good ;-)
    When I did this I also completely changed the whole positioning configuration for nearly all record widgets to use the given space better. I highly recommend upgrading!
  • Attention!
    To achieve the above mentioned I had to externalize the widget display config and more than that I split it up into 2 different files. They can be found in "./plugins/fufi" and are named "fufi_widgets_aseco.xml" and "fufi_widgets_xaseco.xml".
    As you can see, there is a separate configuration for both Aseco versions, so if you want to customize, choose wisely ;-)
    The widgets will automatically use the right config file for your system.
  • I added a green icon on the right side of the race widgets to indicate your position, so it is now possible to move the widgets further to the left
  • Added another useless feature: inside the config XML you can now specify "use_aseco_style" to override your style settings and use the styles for your widgets that (X)Aseco uses for it's windows.
    This feature is in "experimental" mode and will probably never leave it^^
  • Oh, new screenshot in this post... woohooo!
Update v0.62
  • Added a Dedimania widget (currently it's limited to XASECO), it can be customized just like the other record widgets (you'll have to activate "plugin.dedimania.php" of course)
    Attention: Since I think the HUD should not be too overloaded, this widget is deactivated by default, just activate it, if you need it, I also gave it the same position values like the live rankings widget, so if you use both, you should do some positioning work inside the config XML
  • Some nicknames ran out of the screen with the widgets being on the right side - FIXED
  • I hardcoded the F7 key for toggling the display of the record widgets to remove interferences with (X)Aseco
  • Fixed a bug which could freeze (X)Aseco - Thanks to Xymph
  • You can now disable the titlebar for every record widget and every gamemode inside the config XML with the help of the tag "displaytitle"
Update v0.61:
  • Maintenance and Bugfix Release
  • If you use XASECO, you'll have to use at least v0.99b, otherwise it won't work
  • heavily reduced the number of Manialink calls which should help to minimize the risk of server crashes
  • Added a complete debug mode which tracks the manialink calls (enable Aseco's debug mode to if you experience problems)
  • Added some conversions to nick- and tracknames to ensure the widgets will be shown
  • F7 bugged in Rounds mode - fixed
  • The widgets and XASECO interfered in some ways causing the original challenge info to pop up in some configurations - fixed
Update v0.60:
  • Biggest Update: The plugin now works for both XASECO and ASECO (Forever only)
  • New Widget: the ad widget, which enables you to display custom advertisements in the hud (see the "Ad Widget" section below
  • There's a key binding to toggle the display of th record widgets ingame, so now everyone can choose for himself whether to show or to hide them (default key is "F7" but can be changed in the config XML)
  • I reworked the Challenge widget to display information for the next track (if it was clicked and then is in the expanded state) (there's a functionality missing in the current ASECO 2.1.4, but the plugin won't crash but remind you to upgrade to the next ASECO, when it's out)
  • Most of the used styles and substyles for the manialinks are now configurable via "fufi_widgets_config.xml"
  • Most of the used colors and strings are now configurable in the config XML
  • The Local Records widget and the Live Rankings widget now got an additional parameter in the config called "topcount" which determines how many entries at the top of the widget are reserved for the best players, example: if "topcount" is set to three, you'll get a widget that shows the top 3 on top and fills the rest of the widget with the "old" Close2You™(All Rights Reserved by SATO™) style
Update v0.53b:
  • Fixed a bug that disabled all the widgets when the clockwidget was disabled
Update v0.53:
  • Changed some stuff according to the new Aseco release
  • now uses the "OnKarmaChange" event and therefore there are no duplicate chat commands and sql queries anymore
  • no fiddeling around in the Aseco.php necessary (for Aseco versions 2.1.0 and newer)
  • added an additional field in the fufi_widgets_config.xml (updateinterval) which forces the widgets to wait a given amount of seconds to cache events, this can save a lot of redundant manialink calls, if the server is highly populated
  • some code enhancements (at least I think they are^^)
Update v0.52:
  • Fixed the Karma widget, for real this time
Update v0.51:
  • Hopefully fixed an issue about a MySQL warning that came up because of the Karma widget
Installation

Important!

If you don't follow the steps carefully, the plugin will not be working properly.
  1. Unrar the archive into the ASECO folder
  2. Insert the following line into "plugins.xml" (after all other plugins)

    Code: Select all

    <plugin>plugin.fufi.widgets.php</plugin>
  3. Configure some stuff if you like to (see configuration section below)
  4. Done! Have fun!

Configuration

You can adjust the configuration in the pretty self explaining "fufi_widgets_config.xml".

Some more specific settings on when to show which widget on which place with which size you can find in the files "./plugins/fufi/fufi_widgets_aseco.xml" and "./plugins/fufi/fufi_widgets_aseco.xml" (be sure to edit the one which matches your system).

You can also take a shot in pimping the graphical output by editing the XML files in the "./plugins/fufi" folder.


The Challenge Widget

This one replaces the original challenge info in the upper right of the screen with something more fancy =) It adds the display of a logo, the author time and if you click it it will also show gold, silver and bronze time and a TMX link (if you use XASECO, it always works, or alternatively in ASECO with oliverde8's TMX-Info plugin installed(Get it here!))


The Local Records Widget

This one just displays the local records on your server in a defined area customized for every player individually.


The Dedimania Widget

This widget displays the current dedimania records for this challenge (requires a running "plugin.dedimania.php" with valid configuration).

The Live Rankings Widget

This widget displays the current scoreboard in the same style like the local records widget.

The Karma Widget

This one displays the track karma graphically and provides buttons to karma vote via mouse click.


The Clock Widget

It's just a clock ;-)


The Ad Widget

The new Ad widget enables you to display multiple advertisements in your HUD. You can configure them inside "fufi_widgets_config.xml" where you will also find useful commented sample adverts.

Basically you can display text, bik-videos, images, react on mouseover and use them to link to the external browser or the ingame manialink browser.

You can specify adverts that show up the whole time or limit them to be displayed only when racing or when the scoreboard shows up.


The NextTrack Widget

Enables you to display some information about the next track, when the scoreboard is showing.

The Scoreboard Lists Widget

Enables you to display some statistics about records and players, when the scoreboard is showing.


Some Screenshots (probably outdated)

Image
Ma ride 'n ma widgets!

Image

Image Image

Image

Image Image
Last edited by f*ckfish on 12 Dec 2008 16:09, edited 27 times in total.

User avatar
soehest
happy cruiser
happy cruiser
Posts: 161
Joined: 07 Jun 2007 13:52
Owned TM-games: TMU
Contact:

Re: [WIP][Aseco/RASP Forever] Fufi Widgets (SATO like)

Post by soehest » 18 Apr 2008 11:49

This really looks great in all ways. No need to bang tab to see who is close to you, easy look at a tracks author time, karma and even download link for tmx. I will try to see if i can come up with others uses, but can't wait to try this out. Go go fishy :D

Regards

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: [WIP][Aseco/RASP Forever] Fufi Widgets (SATO like)

Post by f*ckfish » 18 Apr 2008 12:29

The local records widget only displays the database records but I'm currently writing a "Live Rankings" widget which would replace the "tab hacking" =)

I'm also thinking about a menu which encapsulates the most common chat commands, maybe an advanced admin menu but on the other hand I don't want to do stuff that Assembler Maniac might be doing now^^ I don't know in which way he wants to alter his/Flo's ASECO|RASP release.
inactive, sorry

User avatar
utal
speedy pilot
speedy pilot
Posts: 408
Joined: 30 Apr 2006 01:25
Owned TM-games: TMN, TMU, TMO, TMS
Location: Massamá, Portugal
Contact:

Re: [WIP][Aseco/RASP Forever] Fufi Widgets (SATO like)

Post by utal » 18 Apr 2008 14:41

n1 stuff! :thumbsup:

Assembler Maniac
Pit Crew
Pit Crew
Posts: 1493
Joined: 03 Jun 2006 13:24
Owned TM-games: TMU
Contact:

Re: [WIP][Aseco/RASP Forever] Fufi Widgets (SATO like)

Post by Assembler Maniac » 18 Apr 2008 15:04

f*ckfish wrote:The local records widget only displays the database records but I'm currently writing a "Live Rankings" widget which would replace the "tab hacking" =)

I'm also thinking about a menu which encapsulates the most common chat commands, maybe an advanced admin menu but on the other hand I don't want to do stuff that Assembler Maniac might be doing now^^ I don't know in which way he wants to alter his/Flo's ASECO|RASP release.
At this point just getting Aseco to be stable is a big thing.

There's going to be some visual changes, and opening windows will change a bit, Flo had to make some changes to account for the new styles that will be used.

We'll be making a full post when it's ready to go.

User avatar
XXX.MAX
smooth traffic navigator
smooth traffic navigator
Posts: 191
Joined: 26 Jun 2006 12:23
Owned TM-games: TMS, TMN, TMU, TMH
Manialink(s): xxx
Location: WALES
Contact:

Re: [WIP][Aseco/RASP Forever] Fufi Widgets (SATO like)

Post by XXX.MAX » 18 Apr 2008 15:09

Looks nice Fishy

A rather obvious widget request from me:

match widget?

Seeing as all my previous tmn server stuff is now reduntant for tmf, something like this may rekindle my interest in building up a server again :thumbsup:
Image
XXX Team Site: http://WALESXXX.awardspace.com
Stats site only on when I remember to fire it up

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: [WIP][Aseco/RASP Forever] Fufi Widgets (SATO like)

Post by f*ckfish » 18 Apr 2008 15:41

I'll probably rework the matchsave plugin since I think it could be done in a much nicer way now. But I got some other things on my list first ;-)
inactive, sorry

Assembler Maniac
Pit Crew
Pit Crew
Posts: 1493
Joined: 03 Jun 2006 13:24
Owned TM-games: TMU
Contact:

Re: [WIP][Aseco/RASP Forever] Fufi Widgets (SATO like)

Post by Assembler Maniac » 18 Apr 2008 16:09

f*ckfish wrote:I'll probably rework the matchsave plugin since I think it could be done in a much nicer way now. But I got some other things on my list first ;-)
Make sure you work from matchsave2.php, it's a conversion from the one Xymph had in his .95 release. Not sure who original author is.

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: [WIP][Aseco/RASP Forever] Fufi Widgets (SATO like)

Post by f*ckfish » 18 Apr 2008 17:10

Assembler Maniac wrote:
f*ckfish wrote:I'll probably rework the matchsave plugin since I think it could be done in a much nicer way now. But I got some other things on my list first ;-)
Make sure you work from matchsave2.php, it's a conversion from the one Xymph had in his .95 release. Not sure who original author is.
That would be me =)
inactive, sorry

User avatar
utal
speedy pilot
speedy pilot
Posts: 408
Joined: 30 Apr 2006 01:25
Owned TM-games: TMN, TMU, TMO, TMS
Location: Massamá, Portugal
Contact:

Re: [WIP][Aseco/RASP Forever] Fufi Widgets (SATO like)

Post by utal » 18 Apr 2008 17:19

hi!

a publicdb widget will be fine also, or a click to show/hide them :)

ty
utal

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: [WIP][Aseco/RASP Forever] Fufi Widgets (SATO like)

Post by TrabTowN » 18 Apr 2008 19:24

:oops: thx FUFI for the credits :D
100²% addicted
Image
Image

Assembler Maniac
Pit Crew
Pit Crew
Posts: 1493
Joined: 03 Jun 2006 13:24
Owned TM-games: TMU
Contact:

Re: [WIP][Aseco/RASP Forever] Fufi Widgets (SATO like)

Post by Assembler Maniac » 18 Apr 2008 19:25

f*ckfish wrote:
Assembler Maniac wrote:
f*ckfish wrote:I'll probably rework the matchsave plugin since I think it could be done in a much nicer way now. But I got some other things on my list first ;-)
Make sure you work from matchsave2.php, it's a conversion from the one Xymph had in his .95 release. Not sure who original author is.
That would be me =)
In that case you're good to go.

I'm hoping you can make it work better than I did, I never was able to fully test it and I'm pretty sure it's a bit buggy.

nocturne
solid chaser
solid chaser
Posts: 1390
Joined: 08 Jun 2007 18:48
Owned TM-games: all
Contact:

Re: [WIP][Aseco/RASP Forever] Fufi Widgets (SATO like)

Post by nocturne » 18 Apr 2008 20:34

That looks great, fish.. :thumbsup:

I don't like the karma icons much though... perhaps an option between text and iconical?

User avatar
kama
happy cruiser
happy cruiser
Posts: 135
Joined: 27 Mar 2008 22:13
Owned TM-games: TMO, TMS, TMU, TMN

Re: [WIP][Aseco/RASP Forever] Fufi Widgets (SATO like)

Post by kama » 19 Apr 2008 13:31

Veri nice llok to it fish
Maybe a clock widget... sometimes it seems we dont see the light..... :)
Co Leader of Spanish/German TMN Fanatics! Team (http://fanatics.sytes.net)
Spain:
F MiniKarting Rounds 42 pts.
F Rec Attack TA
Germany:
F HCR Rounds 36 pts
F Dirty Hamburg Rounds 36 points

User avatar
SmashingDeluXe
sunday driver
sunday driver
Posts: 58
Joined: 04 Dec 2007 20:38
Owned TM-games: All
Manialink(s): NO
Location: Germany
Contact:

Re: [WIP][Aseco/RASP Forever] Fufi Widgets (SATO like)

Post by SmashingDeluXe » 20 Apr 2008 08:48

Nice Work Fish!

by the way... You can also test this aseco on the German Server
TMN Forever (from team OLD~S and OoRF)

nice stuff! no crashing!
Intel Core Duo Quad Q6600 4x 2.4 Ghz / Gainward NVidia GeForce 8800 GT 1024MB / 4GigRAM DDR2 1066Mhz
Gigabyte P35-DS3P / Win7 Ultimate

JOIN OUR SERVER!
Tech&Mini.ne
http://www.tm-creative.org

Post Reply