[(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

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 » 29 Apr 2008 09:55

Xymph wrote:
f*ckfish wrote:Anyways, I uploaded the fixed version so be sure to redownload, didn't give it a new version number since those embarassing bugs were just not worth it :oops:
It's always worth it, just to be able to tell whether you've got the latest release. :wink: I'm calling this v0.51. :P
Nah, I'll just pretend those bugs never existed, repression is the key^^
UKFC»ACE wrote:
oliverde8 wrote:tmtp://#join=oliver-server :my server
I am not even sure if you can acess it you should be able. I don't use karma widget
Yup tried it and it works great. It's actually better than I was expecting.
Thanks a lot =)
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 » 29 Apr 2008 10:49

Okay, I'm just not able to figure out that mysql error. If someone could help me here I'd really appreciate it =)

I tried everything, the unfixed Aseco 2, the fixed one, the public database, the newest mysql and php versions and my Aseco log is still bug free. What is it you guys do different than me ;-)

I also got a message to all of you who wanted a public database widget. I'm sorry, that's most likely not gonna happen for one simple reason, there's no way for me to determine what record is local and what public since Aseco merges them together internally (which I just found out). So if you activate the public database and run the Local Records widget, you already see both types (local and public) in there.
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 » 29 Apr 2008 17:25

Thank for this program !!! i love it !

Do you know when you releas new widgets ? :)

User avatar
dirtye
cyclist
cyclist
Posts: 45
Joined: 26 Jan 2007 02:45
Owned TM-games: TMU, TMO, TMS,TMN
Manialink(s): Team TMRS
Location: Germany
Contact:

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

Post by dirtye » 29 Apr 2008 17:31

MySql messages based on

function showKarmaWidget

do the guys use KARMA[Rasp] or Vote(Aseco)?

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

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

The thing is, I added a dependency to "RaspKarma" and "LocalDB" so Aseco shouldn't even start if those were not in the plugin list if the KarmaWidget wasn't enabled.

Adding new widgets will probably happen when the existing widgets work reliably^^ But the next thing to do with the widgets is to port them to XASECO (I hope it'll work ;-) )
inactive, sorry

FlyveHest
cyclist
cyclist
Posts: 39
Joined: 27 Apr 2008 20:40
Owned TM-games: TMU

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

Post by FlyveHest » 29 Apr 2008 21:23

Fishy, just wanted to say, added your widgets to my server, and they are schuuuuu-weeeeeeet. Thanks for the effort :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 » 29 Apr 2008 21:52

FlyveHest wrote:Fishy, just wanted to say, added your widgets to my server, and they are schuuuuu-weeeeeeet. Thanks for the effort :3
It's my pleasure =) Thank you.
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 » 29 Apr 2008 23:17

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

# initialize ASECO ############################################################
[Aseco] PHP Version is 5.2.4
[Aseco] Load settings [config.xml]
[Aseco] Load plugin [plugin.localdb.php] [Name:LocalDb] [Version:1]
[Aseco] Load plugin [plugin.tmxlinker.php] [Name:TmxLinker] [Version:1]
[Aseco] Load plugin [plugin.about.php] [Name:About] [Version:1]
[Aseco] Load plugin [plugin.statusbar.php] [Name:Statusbar] [Version:1]
[Aseco] Load plugin [plugin.stats.php] [Name:Stats] [Version:1]
[Aseco] Load plugin [plugin.records.php] [Name:Records] [Version:1]
[Aseco] Load plugin [plugin.vote.php] [Name:Vote] [Version:1]
[Aseco] Load plugin [plugin.score.php] [Name:Score] [Version:1]
[Aseco] Load plugin [plugin.example.php] [Name:Example] [Version:1]
[Aseco] Load plugin [plugin.help.php] [Name:Help] [Version:1]
[Aseco] Load plugin [plugin.emotics.php] [Name:Emotics] [Version:1]
[Aseco] Load plugin [plugin.admin.php] [Name:Admin] [Version:1]
[Aseco] Load plugin [plugin.plugins.php] [Name:Plugins] [Version:1]
[Aseco] Load plugin [rasp/plugin.rasp.php] [Name:Rasp] [Version:2.3]
[Aseco] Load plugin [rasp/plugin.rasp_jukebox.php] [Name:JukeBox] [Version:1.4]
[Aseco] Load plugin [rasp/plugin.rasp_karma.php] [Name:RaspKarma] [Version:1]
[Aseco] Load plugin [rasp/plugin.rasp_chat.php] [Name:ChatCommands] [Version:1]
[Aseco] Load plugin [rasp/plugin.rasp_players.php] [Name:RaspPlayerAdmin] [Versi
on:1]
[Aseco] Load plugin [rasp/plugin.rasp_cptimes.php] [Name:RaspCPTimes] [Version:1
]
[Aseco] Load plugin [rasp/plugin.rasp_adminmsg.php] [Name:AdminMsgs] [Version:1]

[Aseco] Load plugin [rasp/plugin.rasp_shownext.php] [Name:RaspShowNext] [Version
:1]
[Aseco] Load plugin [plugin.fufi.widgets.php] [Name:FufiWidgets] [Version:0.5]
[Aseco] Try to connect to server on 127.0.0.1:5072
[Aseco] Authenticated with username 'SuperAdmin' and password 'usbTMN2'
[Aseco] Connection established successfully!
[LocalDb] Load settings file ...
[LocalDb] Try to connect to MySQL server
[LocalDb] MySQL Server Version is 5.0.24a-community-nt
[rasp] Cleaning up unused data
*-*-*-*-*-* RASP TMU 2.3.0 is running! *-*-*-*-*-*
|...Loading Settings
|...Loaded!
|...Checking database structure
|...Structure OK!
|...Calculating ranks
|...Done!
[RASP Karma] Re-calculating good karma
[RASP Karma] Re-calculating bad karma
[RASP Karma] Zeroing out null good karma
[RASP Karma] Zeroing out bad karma
[Aseco] Synchronizing with dedicated server ...
###############################################################################
# Aseco v2.0b running on 127.0.0.1:5072
# Game : TMU - TimeAttack
# Authors: Florian Schnell and Brad Mettee (RASP)
###############################################################################
[04/29,18:58:23] map changed [none] >> [Leap Froggin']
[04/29,18:58:23] current record on Leap Froggin' is 00:53.12 and held by Freddie

[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

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 » 29 Apr 2008 23:47

Why is your aseco 2.0 inside a folder named xaseco? ^^ Nevermind. Does this issue only happen when the fufi widgets plugin is enabled?
inactive, sorry

User avatar
daemon
sunday driver
sunday driver
Posts: 68
Joined: 09 Mar 2006 17:28
Location: México

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

Post by daemon » 29 Apr 2008 23:52

Well this is beyond me hehe, I did a quick test on one of the querys in question:


Query in plugin.rasp_karma.php and plugin.fufi.widgets.php

Code: Select all

$query = 'Select goodkarma from challenges WHERE Id=' . $challenge->data['DB_ID'];
print $query;

Query printout in plugin.rasp_karma.php

Code: Select all

Select goodkarma from challenges WHERE Id=49
Query printout in plugin.fufi.widgets.php

Code: Select all

Select goodkarma from challenges WHERE Id=
For some reason the value in $challenge->data['DB_ID'] is not being passed to the query, I also tried $this->Aseco->server->challenge->data['DB_ID']; but didn't work either.

Don't know if this helps, but I post just in case. :D
Image
It's the decisions you make, when you have no time to make them, that define who you are.

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 00:01

Actually that one helps a lot =) Unfortunately I probably wont have the time to look into this in the next days because I'm not at home for a week from tomorrow on, I'll see if I can manage to fix some stuff. Another thing: does the karma widget NEVER work for you, or just sometimes?
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 00:28

Ah f*ck it... I just coded a fix to the problem without actually having the problem or knowing where it came from, thanks to daemon for the very useful information. I don't know if it works now, but it should ;-) Please try it out and let me know.

Download link as always in the first post.
Btw. there's one error source I could imagine. If plugin.fufi.widgets.php would stand before plugin.rasp.php inside the plugins.xml, that error could show up, but anyways, it should work now with version 0.51.

Gotta sleep now,
Fish
inactive, sorry

User avatar
daemon
sunday driver
sunday driver
Posts: 68
Joined: 09 Mar 2006 17:28
Location: México

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

Post by daemon » 30 Apr 2008 00:45

Ok this is gonna be hard lol, I've seen this with more detail.

There are 3 times when the warnings show(that I've seen); when a track loads, when a player joins, and when someone presses the karma buttons, or uses the commands /++ /--. With /karma command all is ok.

Now...

- When a track loads: behavior described in previous post, value doesn't show when printing queries. (Select goodkarma from challenges WHERE Id=)

- When a player joins, or presses buttons: Same behavior, but I "fixed" it by changing $challenge->data['DB_ID'] to $this->Aseco->server->challenge->data['DB_ID'] in the queries. Now for some reason the value is printed in the queries (Select goodkarma from challenges WHERE Id=49), but only for these 2 cases.

With this change, players join and press buttons, and warnings don't show anymore, but still do show when changing tracks.


EDIT

Gonna try new version and report, thanks =)
Image
It's the decisions you make, when you have no time to make them, that define who you are.

User avatar
daemon
sunday driver
sunday driver
Posts: 68
Joined: 09 Mar 2006 17:28
Location: México

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

Post by daemon » 30 Apr 2008 01:12

Oh how dumb I am hehe, when I read the install instructions and it said, place the plugin at the very end, I placed it at the very end of the standard plugins, but before the rasp plugins :lol: . Now I placed it at the very bottom, with v0.5 and it resolved the issue.

Then I tested with v0.51, and also solved the problem, but now when someone clicks on the karma buttons, the cups don't update like before.

Also I have a weird thing, I had +3 -1 votes, and when I changed my vote to "+", the votes changed to +2 0
Image

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

:ftw:
Image
It's the decisions you make, when you have no time to make them, that define who you are.

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 01:35

f*ckfish wrote:Why is your aseco 2.0 inside a folder named xaseco?
it was easier to change what was inside the folder than all paths to said folder :thumbsup:
f*ckfish wrote: Does this issue only happen when the fufi widgets plugin is enabled?
yes only with the widgets enabled

But I will download the latest release and give it a go again..

thanks

Post Reply