Frets on Fire Score Chart - Personal Frets on Fire Score Chart

Discuss mods and get help with mods ONLY
This topic is 17 years and 10 months old. Instead of replying, please begin a new topic, or search for another related topic that may be more suitable.
sneftrup
Member
Posts: 34
Joined: February 23rd, 2007
Reputation: 0

Postby sneftrup » Fri Feb 23, 2007 5:59 pm

Hi Guys!

I'm not really sure if this classifies as a mod, but I've created a bunch of python scripts that allows you to run your frets on fire score chart on your website.
If you want to check it out, see Frets on Fire Score Chart.

This is the initial version, so its still not clean, but its working.
Feedback is more than welcome!
User avatar
dsk
Member
Posts: 255
Joined: January 14th, 2007
Reputation: 0

Postby dsk » Fri Feb 23, 2007 6:12 pm

Hasn't this been posted already?
if you don't put a screen up, people won't waste 2 mins to download it, extract it into mods folder, start the game, mess with the settings, choose a song to play it in. Because internet folk are a lazy breed. Without a screen, we can't be guaranteed it's worth our while, so we won't download it.
mmsven
Member
Posts: 2705
Joined: September 24th, 2006
Location: Canada
Reputation: 1

Postby mmsven » Fri Feb 23, 2007 6:23 pm

dsk wrote:Hasn't this been posted already?

No, a working chart hasn't been posted before.
User avatar
dsk
Member
Posts: 255
Joined: January 14th, 2007
Reputation: 0

Postby dsk » Fri Feb 23, 2007 10:29 pm

This one WORKS?
if you don't put a screen up, people won't waste 2 mins to download it, extract it into mods folder, start the game, mess with the settings, choose a song to play it in. Because internet folk are a lazy breed. Without a screen, we can't be guaranteed it's worth our while, so we won't download it.
mmsven
Member
Posts: 2705
Joined: September 24th, 2006
Location: Canada
Reputation: 1

Postby mmsven » Fri Feb 23, 2007 10:31 pm

dsk wrote:This one WORKS?

I dunno
User avatar
dsk
Member
Posts: 255
Joined: January 14th, 2007
Reputation: 0

Postby dsk » Fri Feb 23, 2007 10:54 pm

I believe it's the same posted earlier... it was at sourceforge too...

I don't feel kinda dl'ing it...

if anyone tells me it's clean I'l give it a test
if you don't put a screen up, people won't waste 2 mins to download it, extract it into mods folder, start the game, mess with the settings, choose a song to play it in. Because internet folk are a lazy breed. Without a screen, we can't be guaranteed it's worth our while, so we won't download it.
mmsven
Member
Posts: 2705
Joined: September 24th, 2006
Location: Canada
Reputation: 1

Postby mmsven » Fri Feb 23, 2007 10:57 pm

dsk wrote:I believe it's the same posted earlier... it was at sourceforge too...

I don't feel kinda dl'ing it...

if anyone tells me it's clean I'l give it a test

The only other chart posted was the one by thesilent, and I can confirm that they arn't the same. Also you need your own hosted database to test it.
Divra
Member
Posts: 486
Joined: September 22nd, 2006
Location: Uppsala, Sweden
Reputation: 0
Contact:

Postby Divra » Sat Feb 24, 2007 5:14 am

I'm downloading to test it now.
Charts (Down as of November 25th)
Divra
Member
Posts: 486
Joined: September 22nd, 2006
Location: Uppsala, Sweden
Reputation: 0
Contact:

Postby Divra » Sat Feb 24, 2007 7:00 am

I had to edit it a little, but then I got it to build the database of songs, but nothing is added to the scores table... I see in access.log that upload.py has been accessed. Anyone?
Charts (Down as of November 25th)
sneftrup
Member
Posts: 34
Joined: February 23rd, 2007
Reputation: 0

Postby sneftrup » Sat Feb 24, 2007 8:00 am

This one works, the scores for a song are uploaded after you play it.. Thats how Frets on Fire does it, I'm working on a script that parses all your scores, but so far, you have to play the get the scores uploaded... what did you have to edit to make it work ? I'll fix it in the release
Last edited by sneftrup on Sat Feb 24, 2007 8:01 am, edited 1 time in total.
Divra
Member
Posts: 486
Joined: September 22nd, 2006
Location: Uppsala, Sweden
Reputation: 0
Contact:

Postby Divra » Sat Feb 24, 2007 8:07 am

Haha, I forgot to restart apache after installing mod_python, but now it wont start...
In httpd.conf:
LoadModule python_module modules/mod_python.so

Cannot load Pathtoserver/modules/mod_python.so into server: The specified procedure could not be found.


What I had to edit:
In the beginning of fretscoredisplay.php it said that $tdsize was not initialized, so I put "$tdsize=100/4;" in the else part of displayScore.
Charts (Down as of November 25th)
sneftrup
Member
Posts: 34
Joined: February 23rd, 2007
Reputation: 0

Postby sneftrup » Sat Feb 24, 2007 9:12 am

Are you sure that mod_python is working?
Divra
Member
Posts: 486
Joined: September 22nd, 2006
Location: Uppsala, Sweden
Reputation: 0
Contact:

Postby Divra » Sat Feb 24, 2007 9:18 am

It installed alright, but the server wont start with "LoadModule python_module modules/mod_python.so" in httpd.conf. Now I'm installing Apache 2.2 to see if it makes any difference...
Charts (Down as of November 25th)
Divra
Member
Posts: 486
Joined: September 22nd, 2006
Location: Uppsala, Sweden
Reputation: 0
Contact:

Postby Divra » Sat Feb 24, 2007 9:31 am

Progress, the server starts with the "loadmodule"command, I copied python24.dll to the Apache bin directory, but when I go to http://localhost/fofchart/upload.py I get a 500 Internal Server Error. From error.log:

Code: Select all

[Sat Feb 24 15:28:29 2007] [error] make_obcallback: could not import mod_python.apache.\n
[Sat Feb 24 15:28:29 2007] [error] make_obcallback: Python path being used "['D:\\\\Server\\\\Apache2.2\\\\bin\\\\python24.zip', '.\\\\DLLs', '.\\\\lib', '.\\\\lib\\\\plat-win', '.\\\\lib\\\\lib-tk', 'D:\\\\Server\\\\Apache2.2\\\\bin']".
[Sat Feb 24 15:28:29 2007] [error] get_interpreter: no interpreter callback found.
[Sat Feb 24 15:28:29 2007] [error] [client 127.0.0.1] python_handler: Can't get/create interpreter.


I also added

Code: Select all

<Directory D:/Server/Apache2.2/htdocs/fofchart>
        AddHandler mod_python .py
        PythonHandler upload
        PythonDebug On
</Directory>

to httpd.conf.
Last edited by Divra on Sat Feb 24, 2007 9:32 am, edited 1 time in total.
Charts (Down as of November 25th)
User avatar
dsk
Member
Posts: 255
Joined: January 14th, 2007
Reputation: 0

Postby dsk » Sat Feb 24, 2007 9:45 am

too difficult to me.
if you don't put a screen up, people won't waste 2 mins to download it, extract it into mods folder, start the game, mess with the settings, choose a song to play it in. Because internet folk are a lazy breed. Without a screen, we can't be guaranteed it's worth our while, so we won't download it.

Return to “FOF Mod Discussion and Support”

Who is online

Users browsing this forum: No registered users and 6 guests