uploadScores script - upload your scores to world chart

FOF discussion only. Do NOT post help questions here!
This topic is 17 years and 3 months old. Instead of replying, please begin a new topic, or search for another related topic that may be more suitable.
piccia
Member
Posts: 62
Joined: August 2nd, 2007
Location: Italy
Reputation: 0

Postby piccia » Sun Sep 09, 2007 5:13 pm

[not really a mod, but couldn't find a better forum]

Well, today I did a nice hish score, but it didn't get uploaded to the world chart because of an ADSL problem, so I wrote a small script that takes the high scores from the song.ini file and uploads them to the world chart. If you need it too, here it is the link:

http://www.mediafire.com/?2edzqxpmctj

The usage is very simple, here it is an example:

Code: Select all

uploadScores.exe "d:\fretsonfire\data\songs\Motorhead - Aces of Spades" http://fretsonfire.sourceforge.net/play


It should work recursively too (processing all the songs contained in the given folder) but I haven't tested this feature.
If you use it, remember that it's a small hack written very quickly and without knowing python :D so don't blame me if it screws up your chart... it worked for me, don't know if it will work for you.

Credits: the script is heavily based on the original uploadScores by Sneftrup (thanks!) and you can find it on sourceforge. I simply compiled it (not everyone has python installed) and made few changes in order to
-be able to upload a single song and not all the songs in a given folder
-avoid an annoying problem when two songs with the same hash but different names are in the world chart database (because of this, I now have two "ace of spades" in my chart :/ )
Last edited by nwru on Sun Sep 09, 2007 5:37 pm, edited 1 time in total.
Get the latest FOF Contest Server:
http://sourceforge.net/projects/fofcs/
Emperor naru
User avatar
nwru
Administrator
Posts: 3529
Joined: October 14th, 2006
Location: /dev/null
Reputation: 64
Contact:

Postby nwru » Sun Sep 09, 2007 5:38 pm

Moved to General discussion.
Use the Search feature first to find answers to your questions. Chances are that they have been asked before!

Forum FAQ / Frets On Fire Wiki
User avatar
HeruLuingul
Member
Posts: 1536
Joined: November 10th, 2006
Location: Clarkson University
Reputation: 0
Contact:

Postby HeruLuingul » Sun Sep 09, 2007 11:29 pm

Cool update to the classic tool. I give you a preemptive "good work" because I have no reason to test it right now.
LOL
User avatar
KenshinHimuraRK
Member
Posts: 936
Joined: June 16th, 2007
Location: Brazil
Reputation: 4

Postby KenshinHimuraRK » Thu Oct 25, 2007 6:38 pm

Can you upload it again?
LOL
User avatar
KenshinHimuraRK
Member
Posts: 936
Joined: June 16th, 2007
Location: Brazil
Reputation: 4

Postby KenshinHimuraRK » Sun Oct 28, 2007 6:24 pm

Nobody has it? :(
A bit sleepy
User avatar
Kotti
Member
Posts: 2860
Joined: March 23rd, 2007
Location: Finland
Reputation: 2
Contact:

Postby Kotti » Mon Nov 12, 2007 11:02 am

KenshinHimuraRK wrote:Can you upload it again?

Old topic, but I second that. And I'm sure many others will need it too since the charts are down now.
Image
Image
User avatar
Maartah
Member
Posts: 2801
Joined: August 4th, 2007
Location: Netherlands
Reputation: 0

Postby Maartah » Mon Nov 12, 2007 1:35 pm

Seeing how noobish I am, I don't really get it. Will this let me upload all my scores to Divra's chart (when it's back up) at once?
Image
My Youtube Page!
KenshinHimuraRK wrote:beards are f*cking awesome.

vedicardi wrote:what did you do after you literally sh1t your pants
User avatar
Ozonek
Member
Posts: 282
Joined: July 22nd, 2007
Location: Polandia
Reputation: 1

Postby Ozonek » Mon Nov 12, 2007 5:00 pm

gameking66
Member
Posts: 173
Joined: November 11th, 2007
Reputation: 0

Postby gameking66 » Mon Nov 12, 2007 5:06 pm

Eh... Can someone tell me how to use the .py file inside? I'm a n00b at Python and it's usage -.-;
We are building a fretsonfire.org User Dictionary. Help us make it.
Whatakevin (Wut-uh-Kevin)
noun : 1. A user of the fretsonfire.org forum that uses 'LOL' and 'LMAO' too much for no reason and annoys other users, specifically mmsven.
adj. : 2. Someone who is annoying and spams 'lol' too much.
noun : 3. Anyone who's IQ is, or appears to be, under 50.
ex. : 4. "You are such a whatakevin!"
Definition courtesy of gameking66 © , yogsothoth ©, Scutch-Nuken ©
User avatar
Ozonek
Member
Posts: 282
Joined: July 22nd, 2007
Location: Polandia
Reputation: 1

Postby Ozonek » Mon Nov 12, 2007 5:23 pm

1. Instal Python (google!)
2. Start -> run -> cmd.exe
3. Write \'directory where you put the script'\uploadScores.py "Your FoF dir" chart adress/tmpupload.php

That one works fine with Divra's charts.
gameking66
Member
Posts: 173
Joined: November 11th, 2007
Reputation: 0

Postby gameking66 » Tue Nov 13, 2007 9:32 pm

Alright thanks a lot. You ******* rock Ozo!
We are building a fretsonfire.org User Dictionary. Help us make it.

Whatakevin (Wut-uh-Kevin)

noun : 1. A user of the fretsonfire.org forum that uses 'LOL' and 'LMAO' too much for no reason and annoys other users, specifically mmsven.

adj. : 2. Someone who is annoying and spams 'lol' too much.

noun : 3. Anyone who's IQ is, or appears to be, under 50.

ex. : 4. "You are such a whatakevin!"

Definition courtesy of gameking66 © , yogsothoth ©, Scutch-Nuken ©
User avatar
Qris
Member
Posts: 38
Joined: October 18th, 2007
Location: Warsaw, Poland
Reputation: 0

Postby Qris » Wed Dec 19, 2007 10:58 am

It works! Thanks a lot!
I'll add this example:

C:\uploadScores.py "d:\gry\Frets on Fire\data\songs" http://divra.hostinggratisargentina.com/tmpupload.php

To shed some light on some users on what they need to write in the console.
Ladies and gentlemen, take my advice - pull down your pants and slide on the ice
Rogue_F
Member
Posts: 1504
Joined: November 2nd, 2006
Reputation: 1

Postby Rogue_F » Wed Dec 19, 2007 12:10 pm

Use of this tool recursively is likely to get you a temporary ban from the charts from uploading too much too quickly.

-Alex
User avatar
xXxshmittyxXx
Member
Posts: 67
Joined: December 13th, 2007
Location: Erlanger, KY
Reputation: 0

Postby xXxshmittyxXx » Wed Dec 19, 2007 3:35 pm

wtf is world chat for FoF?
Image
User avatar
skaniol
Member
Posts: 166
Joined: May 11th, 2007
Location: Bulgaria
Reputation: 0

Postby skaniol » Wed Dec 19, 2007 3:51 pm

Rogue_F wrote:Use of this tool recursively is likely to get you a temporary ban from the charts from uploading too much too quickly.

-Alex

Unless you make it to upload scores only by pressing a key on the keyboard if you add such line for example:

print "Finished uploading scores for %s" % path
raw_input('Press ENTER to continue...
')

else:
Image - Divra's Charts not working right now Raph's Charts

Return to “General FOF Discussion”

Who is online

Users browsing this forum: No registered users and 14 guests