[(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, Assembler Maniac, f*ckfish, TM-Patrol

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

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

Post by Assembler Maniac » 30 Apr 2008 04:53

daemon wrote:But this also happens with the commands /++ /--, so this is my issue or rasp_karma issue hehe.


Another example:

+1 0, vote -
+1 1, vote +
+2 -2
This is fixed, and will be in the next version. There's lots of good stuff in it too.

User avatar
Vetinari
happy cruiser
happy cruiser
Posts: 149
Joined: 03 Mar 2006 14:32
Owned TM-games: TMUF
Location: North Carolina, USA
Contact:

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

Post by Vetinari » 30 Apr 2008 07:22

I've just installed this plugin set on The Older Gamers Server #1 and it seems to work alright so far. I'm using the entire set except for the karma plugin. I don't know what to think of the award icons (which never seem to change), and I've noticed the karma votes don't always work right (I've seen AM's post on this above). The only real issue I have is with the challenge widget. Some longer names appear truncated. Is it possible to get the challenge widget widened so that the names aren't truncated as often? I've noticed that player names in the records windows get truncated a bit as well, but that's not as important really.

If this truncation isn't the norm, I'd be glad to supply a screenshot so it can be figured out.

ming
smooth traffic navigator
smooth traffic navigator
Posts: 260
Joined: 04 Dec 2006 11:10
Owned TM-games: all
Manialink(s): redlion, ming

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

Post by ming » 30 Apr 2008 07:41

same here. the karma widget seems to be broken in 0.51. only the hollow cups are shown, as if no votes have been tracked yet. voting doesnt change anything
Manialink: mingcolor>

Luxembourg's TM-community website: www.trackmania.lu

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 TMU] Fufi Widgets (SATO like)

Post by f*ckfish » 30 Apr 2008 08:04

Vetinari wrote:I've just installed this plugin set on The Older Gamers Server #1 and it seems to work alright so far. I'm using the entire set except for the karma plugin. I don't know what to think of the award icons (which never seem to change), and I've noticed the karma votes don't always work right (I've seen AM's post on this above). The only real issue I have is with the challenge widget. Some longer names appear truncated. Is it possible to get the challenge widget widened so that the names aren't truncated as often? I've noticed that player names in the records windows get truncated a bit as well, but that's not as important really.

If this truncation isn't the norm, I'd be glad to supply a screenshot so it can be figured out.
If the plugin is last in plugins.xml, the awards should show the average approval for the track in realtime (50% Plus votes and 50% Minus votes result in 4 out of 8 awards, 100% plus votes result in 8 out of 8 cups and 100% Minus votes result in 0 out of 8 cups). You'll see that a few cups are colored and the rest are greyed out, this is just like a percentage bar from left to right. The buttons below allow you to karma vote with a mouseclick. And you'll see what you voted with a green highlight ring around the plus or the minus button.

The truncation in the records widgets are not really intended but somehow unavoidable. I wanted the widgets to be totally customizable in width and height. This results in an autosized label which contains the nickname and the length of the nickname will fit inside that label (TM will make the nicknames fit, so if the labels are too small, the nicknames will be nearly unreadable). If you want you can try editing the <width>-value inside the fufi_widgets_config.xml for the Records widgets. If you make them smaller, the nicknames will be truncated less but there could occur some narrowed nicknames that are just unreadable.

For the challenge widget:
open "./plugins/fufi/fufi_challengeWidget.xml"
find the textblock saying

Code: Select all

<label sizen="30 2" posn="4 6.9 0.1" text="%trackname%"/>
<label sizen="30 2" posn="4 4.9 0.1" text="%authortime%"/>
<label sizen="30 2" posn="4 2.9 0.1" text="%author%"/>
and change it to

Code: Select all

<label sizen="14.5 2" posn="4 6.9 0.1" text="%trackname%"/>
<label sizen="14.5 2" posn="4 4.9 0.1" text="%authortime%"/>
<label sizen="14.5 2" posn="4 2.9 0.1" text="%author%"/>
This block occurs three times inside the XML, be sure to correct all three blocks. (Yeah I know, redundancy, I'll probably fix it in the future^^)

That should fix all truncating issues inside the challenge widget (will be fixed in the next release).
inactive, sorry

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 TMU] Fufi Widgets (SATO like)

Post by f*ckfish » 30 Apr 2008 08:05

GRML, Karma is indeed broken...

/edit... And it works again, download v0.52, stupid bug ;-)
inactive, sorry

Ouwe
happy cruiser
happy cruiser
Posts: 152
Joined: 07 Sep 2007 15:01
Owned TM-games: TMUF, Canyon
Location: The Netherlands

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

Post by Ouwe » 30 Apr 2008 10:11

Karma works great now, nomore errors
Thanks man.

djarrett
smooth traffic navigator
smooth traffic navigator
Posts: 235
Joined: 04 Jul 2006 15:01
Owned TM-games: TMO,TMS,TMN,TMU,TMUF
Location: Fayetteville,GA
Contact:

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

Post by djarrett » 30 Apr 2008 11:39

djarrett wrote:Nice work :thumbsup: and many thanks, :1 too cool indeed,
I do have a question reguarding this issue:

[04/29,18:59:50] << player 34 joined the game [djarrett]
[ASECO Warning] [LocalDb] could not insert player into database!
[04/29,18:59:50]
PHP Warning] mysql_num_rows(): supplied argument is not a valid MySQL result re
source on line 345 in file C:\usbTMFserver_v2.0\Tmn2\xaseco096_2\plugins\rasp\pl
ugin.rasp.php
[PHP Warning] mysql_free_result(): supplied argument is not a valid MySQL result
resource on line 359 in file C:\usbTMFserver_v2.0\Tmn2\xaseco096_2\plugins\rasp
\plugin.rasp.php
Thanks in advance... If this needs to be posted in a differant thread...sry

I Fixed this issuse ...thanks
cya on the tracks

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

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

Post by Assembler Maniac » 30 Apr 2008 12:33

Telling us how will help the next person that has this problem too.
djarrett wrote:
djarrett wrote:Nice work :thumbsup: and many thanks, :1 too cool indeed,
I do have a question reguarding this issue:

[04/29,18:59:50] << player 34 joined the game [djarrett]
[ASECO Warning] [LocalDb] could not insert player into database!
[04/29,18:59:50]
PHP Warning] mysql_num_rows(): supplied argument is not a valid MySQL result re
source on line 345 in file C:\usbTMFserver_v2.0\Tmn2\xaseco096_2\plugins\rasp\pl
ugin.rasp.php
[PHP Warning] mysql_free_result(): supplied argument is not a valid MySQL result
resource on line 359 in file C:\usbTMFserver_v2.0\Tmn2\xaseco096_2\plugins\rasp
\plugin.rasp.php
Thanks in advance... If this needs to be posted in a differant thread...sry

I Fixed this issuse ...thanks
cya on the tracks

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 TMU] Fufi Widgets (SATO like)

Post by f*ckfish » 30 Apr 2008 23:20

I'm glad the version seems to work for you guys ;-) But I'm also interested in djarrets solution. What produced the warnings?
inactive, sorry

djarrett
smooth traffic navigator
smooth traffic navigator
Posts: 235
Joined: 04 Jul 2006 15:01
Owned TM-games: TMO,TMS,TMN,TMU,TMUF
Location: Fayetteville,GA
Contact:

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

Post by djarrett » 01 May 2008 03:01

Assembler Maniac wrote:Telling us how will help the next person that has this problem too.
djarrett wrote:
djarrett wrote:Nice work :thumbsup: and many thanks, :1 too cool indeed,
I do have a question reguarding this issue:

[04/29,18:59:50] << player 34 joined the game [djarrett]
[ASECO Warning] [LocalDb] could not insert player into database!
[04/29,18:59:50]
PHP Warning] mysql_num_rows(): supplied argument is not a valid MySQL result re
source on line 345 in file C:\usbTMFserver_v2.0\Tmn2\xaseco096_2\plugins\rasp\pl
ugin.rasp.php
[PHP Warning] mysql_free_result(): supplied argument is not a valid MySQL result
resource on line 359 in file C:\usbTMFserver_v2.0\Tmn2\xaseco096_2\plugins\rasp
\plugin.rasp.php
Thanks in advance... If this needs to be posted in a different thread...sry

I Fixed this issues ...thanks
cya on the tracks


I had old file in mysql (the one you import from local db file)
I dropped MySql data base aseco 121 and created a new one ...imported new config file from
local db file...problem solved :3

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 TMU] Fufi Widgets (SATO like)

Post by f*ckfish » 01 May 2008 10:37

Thx for the info =)
inactive, sorry

cdrw700
happy cruiser
happy cruiser
Posts: 129
Joined: 03 Dec 2006 09:15

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

Post by cdrw700 » 01 May 2008 10:41

Hey f*ckfish, do you know when new plugins are released ?

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 TMU] Fufi Widgets (SATO like)

Post by f*ckfish » 01 May 2008 14:37

What widgets do you have in mind?

Seriously now, next thing I'll do is trying to port the existing widgets to XASECO, but you can still post your request here and I'll think about coding them.
inactive, sorry

cdrw700
happy cruiser
happy cruiser
Posts: 129
Joined: 03 Dec 2006 09:15

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

Post by cdrw700 » 01 May 2008 15:01

Tested with aseco 2.10 and:

Code: Select all

[PHP Warning] mysql_num_rows(): supplied argument is not a valid MySQL result re
source on line 334 in file C:\chti\plugins\plugin.fufi.widgets.php
[PHP Warning] mysql_free_result(): supplied argument is not a valid MySQL result
 resource on line 344 in file C:\chti\plugins\plugin.fufi.widgets.php
[PHP Warning] mysql_num_rows(): supplied argument is not a valid MySQL result re
source on line 348 in file C:\chti\plugins\plugin.fufi.widgets.php
[PHP Warning] mysql_free_result(): supplied argument is not a valid MySQL result
 resource on line 359 in file C:\chti\plugins\plugin.fufi.widgets.php
[PHP Warning] mysql_num_rows(): supplied argument is not a valid MySQL result re
source on line 436 in file C:\chti\plugins\plugin.fufi.widgets.php

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 TMU] Fufi Widgets (SATO like)

Post by f*ckfish » 01 May 2008 15:30

Can't test it right now, cause I'm not on a PC that runs TM for the next week. Well maybe I'll find one in the next days.

Which version of the widgets are you using? Cause the error sounds very familiar and happened in earlier releases.
inactive, sorry

Post Reply