Author Topic: Game/Stat Cards?  (Read 1416 times)

Urthgirl

  • Newbie
  • *
  • Posts: 1
  • I don't wanna be a slave to the sons of privilege
    • View Profile
Game/Stat Cards?
« on: June 05, 2010, 01:29:07 am »
I've looked high and low and I'm of the impression they don't exist,
but before I give up I thought I'd ask.

I'm looking for Audiosurf gamecards that display things such as last song played and points, most played song, thrones held, song I'm surfing now, anything like that really.
Anybody know of any at all?

This is a gamecard that display my steam stats just in case someone doesn't know what a gamecard is >.>


EDIT: Apologies if the was posted in the wrong section.

blue_h3x

  • Hero Member
  • *****
  • Posts: 4732
    • View Profile
    • AS Tournament
Re: Game/Stat Cards?
« Reply #1 on: June 05, 2010, 03:17:31 am »
Currently no such thing exists. There have been a few before, though only community driven things. There's code out there should you have a server want want to host it your self.
Austria is just like Yorkshire, but they have bigger hills.... oh and they have real snow too

Mincus

  • Hero Member
  • *****
  • Posts: 2433
    • View Profile
Re: Game/Stat Cards?
« Reply #2 on: June 05, 2010, 06:36:58 am »
As h3x said, there's code around that can do this, but it's not implemented by the game itself.
The closest you can get wthout messing about too much is a last.fm list. If you create a separate account at last.fm just for Audiosurf then you can use their chart images (http://www.last.fm/tools/charts) to show the last few songs played (although not character or score, unfortunately).

Passerby

  • Hero Member
  • *****
  • Posts: 1534
    • View Profile
Re: Game/Stat Cards?
« Reply #3 on: June 05, 2010, 07:34:38 am »
ya it's very easy to query for the information to make this since it is all there on the audiosurf website but you would need to build and host the code yourself or get a hold of the code that was already made for this purpose

lavacano201014

  • Hero Member
  • *****
  • Posts: 1762
  • We're an underground revolution working overtime.
    • ICQ Messenger - 431938899
    • MSN Messenger - thatotherguy370@msn.com
    • AOL Instant Messenger - lavacano201014
    • Yahoo Instant Messenger - lavacano201014
    • View Profile
    • Email
Re: Game/Stat Cards?
« Reply #4 on: June 05, 2010, 09:46:24 am »
I could make a PHP/Python doohickey that does what you ask. I think.

I'd need to know how to get XML versions of a user's page though.

Green = listening, red = surfing

lavacano201014

  • Hero Member
  • *****
  • Posts: 1762
  • We're an underground revolution working overtime.
    • ICQ Messenger - 431938899
    • MSN Messenger - thatotherguy370@msn.com
    • AOL Instant Messenger - lavacano201014
    • Yahoo Instant Messenger - lavacano201014
    • View Profile
    • Email
Re: Game/Stat Cards?
« Reply #5 on: June 06, 2010, 10:21:47 am »
http://audiosurfstats.appspot.com/?u=lavacano201014

Because Python tracebacks can be easily parsed. I de-HTMLsafe'd it for you (because it didn't need it)

Code: [Select]
Traceback (most recent call last):
  File "/base/python_runtime/python_lib/versions/1/google/appengine/ext/webapp/__init__.py", line 511, in __call__
    handler.get(*groups)
  File "/base/data/home/apps/audiosurfstats/1.342461706982555504/SendPage.py", line 13, in get
    self.response.out.write(ParsedUserPage.getPageJSON(username))
  File "/base/data/home/apps/audiosurfstats/1.342461706982555504/ParsedUserPage.py", line 14, in getPageJSON
    userinfo = getPage(username)
  File "/base/data/home/apps/audiosurfstats/1.342461706982555504/ParsedUserPage.py", line 8, in getPage
    userinfo = GetAudiosurfData.getUserPage(username)
  File "/base/data/home/apps/audiosurfstats/1.342461706982555504/GetAudiosurfData.py", line 132, in getUserPage
    result = UrlFetch.getText('http://audio-surf.com/mypage.php?u=' + urllib.quote_plus(username))
  File "/base/data/home/apps/audiosurfstats/1.342461706982555504/UrlFetch.py", line 6, in getText
    f = urllib2.urlopen(url)
  File "/base/python_runtime/python_dist/lib/python2.5/urllib2.py", line 124, in urlopen
    return _opener.open(url, data)
  File "/base/python_runtime/python_dist/lib/python2.5/urllib2.py", line 381, in open
    response = self._open(req, data)
  File "/base/python_runtime/python_dist/lib/python2.5/urllib2.py", line 399, in _open
    '_open', req)
  File "/base/python_runtime/python_dist/lib/python2.5/urllib2.py", line 360, in _call_chain
    result = func(*args)
  File "/base/python_runtime/python_dist/lib/python2.5/urllib2.py", line 1107, in http_open
    return self.do_open(httplib.HTTPConnection, req)
  File "/base/python_runtime/python_dist/lib/python2.5/urllib2.py", line 1080, in do_open
    r = h.getresponse()
  File "/base/python_runtime/python_dist/lib/python2.5/httplib.py", line 197, in getresponse
    self._allow_truncated, self._follow_redirects)
  File "/base/python_runtime/python_lib/versions/1/google/appengine/api/urlfetch.py", line 241, in fetch
    return rpc.get_result()
  File "/base/python_runtime/python_lib/versions/1/google/appengine/api/apiproxy_stub_map.py", line 501, in get_result
    return self.__get_result_hook(self)
  File "/base/python_runtime/python_lib/versions/1/google/appengine/api/urlfetch.py", line 331, in _get_fetch_result
    raise DownloadError(str(err))
DownloadError: ApplicationError: 5

Green = listening, red = surfing

fergtm

  • Full Member
  • ***
  • Posts: 170
    • View Profile
    • Steam ID
Re: Game/Stat Cards?
« Reply #6 on: August 11, 2010, 12:36:32 am »
Well I already posted this in the other thread, just leaving a note here since it is more relevant to this thread. The site http://zero.nil.com.mx/audiosurfstats/ is back, there you can create a game card with the thrones held.

You can also create forum embeddable scoreboards.
« Last Edit: October 04, 2010, 01:47:26 pm by fergtm »