Author Topic: Image Based Signature scoreboard  (Read 17406 times)

Rainman5419

  • Newbie
  • *
  • Posts: 9
    • View Profile
    • Email
Re: Image Based Signature scoreboard
« Reply #30 on: March 03, 2008, 11:35:49 pm »
Thanks for making these, it's a great idea. I actually got top on a song globally so I wanted to add it, but it seems to be bugging out on me, any ideas here? I don't think I did it wrong, but could it have something to do with the artist having "ë" in the name ?

« Last Edit: March 04, 2008, 12:13:18 am by Rainman5419 »

Tezzanator

  • Guest
Re: Image Based Signature scoreboard
« Reply #31 on: March 04, 2008, 06:11:36 am »
Very possible, Some special characters have issues :(

Nicsthomp

  • Sr. Member
  • ****
  • Posts: 302
    • View Profile
    • Email
Re: Image Based Signature scoreboard
« Reply #32 on: March 04, 2008, 07:07:45 am »
How quickly do these update? Awesome job by the way.
Pointman Elite <3

Tezzanator

  • Guest
Re: Image Based Signature scoreboard
« Reply #33 on: March 04, 2008, 07:10:41 am »
Each one is on it's own timer set at 30 mins at the moment.

BigYeti

  • Hero Member
  • *****
  • Posts: 757
    • View Profile
Re: Image Based Signature scoreboard
« Reply #34 on: March 04, 2008, 09:58:13 am »
Mine aren't stacked vertically are they?   My monitor resolution is pretty big so I don't notice this stuff usually, it looks horizontally grouped to me.
Quote from: Dick Masterson
The Apollo 11 mission was mankind walking to the edge of the Earth and telling the universe to go fuck itself. We go where we please, when we please.

Nicsthomp

  • Sr. Member
  • ****
  • Posts: 302
    • View Profile
    • Email
Re: Image Based Signature scoreboard
« Reply #35 on: March 04, 2008, 10:24:53 am »
Thy're stacked vertically for most people I would have thought :/
Pointman Elite <3

Tezzanator

  • Guest
Re: Image Based Signature scoreboard
« Reply #36 on: March 04, 2008, 10:41:29 am »
Mine aren't stacked vertically are they?   My monitor resolution is pretty big so I don't notice this stuff usually, it looks horizontally grouped to me.

Widescreen laptop, 1280x800, Vertical
PC, 1680x1050, Horizontal D:

BigYeti

  • Hero Member
  • *****
  • Posts: 757
    • View Profile
Re: Image Based Signature scoreboard
« Reply #37 on: March 04, 2008, 11:00:11 am »
Shit, my bad.  My work PC is only 1280x1024 and it shows as horizontal. Thanks Tezz.
Quote from: Dick Masterson
The Apollo 11 mission was mankind walking to the edge of the Earth and telling the universe to go fuck itself. We go where we please, when we please.

dub

  • Newbie
  • *
  • Posts: 7
    • View Profile
Re: Image Based Signature scoreboard
« Reply #38 on: March 04, 2008, 12:18:15 pm »
Very nice work.

I wish the sigs were more based on the player than on the song, so to speak.

If I could make this kind of thing, I would attempt to make a sig that displayed either my last 5 songs played, or to make it tougher, display the 5 songs which I am ranked highest in. So less about a single track played and more about your music tracks overall.

Here is a little mock-up I made :P

With a sig based more on the player than individual tracks, you wouldn't have to keep going to the site to change your information if you started to do well on a new track.
Anyways, just some ideas to throw out there :)

Tezzanator

  • Guest
Re: Image Based Signature scoreboard
« Reply #39 on: March 04, 2008, 12:27:11 pm »
Very nice work.

I wish the sigs were more based on the player than on the song, so to speak.

If I could make this kind of thing, I would attempt to make a sig that displayed either my last 5 songs played, or to make it tougher, display the 5 songs which I am ranked highest in. So less about a single track played and more about your music tracks overall.

Here is a little mock-up I made :P

With a sig based more on the player than individual tracks, you wouldn't have to keep going to the site to change your information if you started to do well on a new track.
Anyways, just some ideas to throw out there :)

Highly possible, But you would need to specify the songs, Mainly because I can only retrieve data on a song by song basis.

However, If I can Get CURL Working on my Web box, I could do POSTS to the php files the game uses, However It's a bit more work than I'm willing to put in at current. ;)

Thanks for the suggestion though, Appreciated!

FalconFour

  • Sr. Member
  • ****
  • Posts: 353
  • $ego++;
    • MSN Messenger - falcon@falconfour.com
    • View Profile
    • FalconFour.com
    • Email
Re: Image Based Signature scoreboard
« Reply #40 on: March 04, 2008, 07:00:43 pm »
Okay, now that I found the appropriate thread (how'd I miss it before? *shrug*)...

Problem. Look at my sig. It's a blank scoreboard. Problem is, I don't know where the heck to go to actually generate a proper scoreboard.

Without a link shown in the image (like where to get your own), people would have no idea where to go. I stripped off the rest of someone else's URL and went to http://audiosurf-tools.tezzanator.net/pages/sigscor/ and got a jacked-up page. I didn't think to strip the rest off. You think maybe you could change it to catch an error, and send people back to your main site if it's not filled out?

Meanwhile, yeah, look at my sig. luls. In case it changes, here's the code I'm using:


edit: Ah, it's because I used capitalized words in the input. I think you should force a strtolower() on the inputs so as to avoid things like this where people just write-in their own inputs ;)
edit edit: er, no? Strange, when I use the creator-tool, it actually adds space characters to the URL (bad bad! use urlencode() on that!), but somehow still works without lowercasing the input. Wuh? What happened there? Maybe you can take a look at that code I used above and check it out. Meanwhile, I fixed my sig. ;)
« Last Edit: March 04, 2008, 07:06:56 pm by FalconFour »


Core 2 Duo E4500, 2.9GHz · 3gb RAM · 256mb 8400GS · XP Pro SP2 + nLite
In case of emergency, my ego may be used as a flotation device. Vista PCs converted to XP so far: 2

Tezzanator

  • Guest
Re: Image Based Signature scoreboard
« Reply #41 on: March 04, 2008, 07:56:54 pm »
Okay, now that I found the appropriate thread (how'd I miss it before? *shrug*)...

Problem. Look at my sig. It's a blank scoreboard. Problem is, I don't know where the heck to go to actually generate a proper scoreboard.

Without a link shown in the image (like where to get your own), people would have no idea where to go. I stripped off the rest of someone else's URL and went to http://audiosurf-tools.tezzanator.net/pages/sigscor/ and got a jacked-up page. I didn't think to strip the rest off. You think maybe you could change it to catch an error, and send people back to your main site if it's not filled out?

Meanwhile, yeah, look at my sig. luls. In case it changes, here's the code I'm using:


edit: Ah, it's because I used capitalized words in the input. I think you should force a strtolower() on the inputs so as to avoid things like this where people just write-in their own inputs ;)
edit edit: er, no? Strange, when I use the creator-tool, it actually adds space characters to the URL (bad bad! use urlencode() on that!), but somehow still works without lowercasing the input. Wuh? What happened there? Maybe you can take a look at that code I used above and check it out. Meanwhile, I fixed my sig. ;)

If I even knew Javascript had a URLencode, I would of used it, Alas, That was my first ever piece of javascript :v

FalconFour

  • Sr. Member
  • ****
  • Posts: 353
  • $ego++;
    • MSN Messenger - falcon@falconfour.com
    • View Profile
    • FalconFour.com
    • Email
Re: Image Based Signature scoreboard
« Reply #42 on: March 04, 2008, 08:01:49 pm »
Er, poo. I have the dumb. Hold on, I'll browse some of my code and see if I used something like that somewhere. I am horrible at Javascript, but I patched together some code and used my PHP knowledge to cough some essential stuff up for my site...

I don't know what I was thinking with urlencode(). I thought you were using PHP, but I can't imagine how I thought that...  :-\

edit: Ah! escape(). Just escape() the input. And toLowerCase it as well.

That is:
title = escape(userinput);
output = title.toLowerCase();

However that fits into your code. Hmm, since it is client-side, I guess I could look myself! =P

edit edit: Ahh. Here we go. Modified version.
Code: [Select]
function scoreboard_doit()
{
var sname;
var aname;
var league;
var highlight;
var theme;

sname = document.wizform.snametx.value.toLowerCase;
aname = document.wizform.anametx.value.toLowerCase;
league = document.wizform.league.selectedIndex;
theme = document.wizform.theme.selectedIndex;
highlight = document.wizform.hightex.value;


document['preview'].src = "http://audiosurf-tools.tezzanator.net/pages/sigscor/?aname=" + escape(aname) + "&sname=" + escape(sname) + "&league=" + league + "&highlight=" + escape(highlight) + "&theme=" + theme;
document.wizform.urltex.value = document['preview'].src;

}
(Cleaned up the duplicate URL-creation as well, you can just re-read the newly written value :) )

I haven't tested that, but it should work... I don't have all the supporting pages and whatnot, so it's hard to know. :(
« Last Edit: March 04, 2008, 08:20:46 pm by FalconFour »


Core 2 Duo E4500, 2.9GHz · 3gb RAM · 256mb 8400GS · XP Pro SP2 + nLite
In case of emergency, my ego may be used as a flotation device. Vista PCs converted to XP so far: 2

Tezzanator

  • Guest
Re: Image Based Signature scoreboard
« Reply #43 on: March 04, 2008, 09:29:35 pm »
Er, poo. I have the dumb. Hold on, I'll browse some of my code and see if I used something like that somewhere. I am horrible at Javascript, but I patched together some code and used my PHP knowledge to cough some essential stuff up for my site...

I don't know what I was thinking with urlencode(). I thought you were using PHP, but I can't imagine how I thought that...  :-\

edit: Ah! escape(). Just escape() the input. And toLowerCase it as well.

That is:
title = escape(userinput);
output = title.toLowerCase();

However that fits into your code. Hmm, since it is client-side, I guess I could look myself! =P

edit edit: Ahh. Here we go. Modified version.
Code: [Select]
function scoreboard_doit()
{
var sname;
var aname;
var league;
var highlight;
var theme;

sname = document.wizform.snametx.value.toLowerCase;
aname = document.wizform.anametx.value.toLowerCase;
league = document.wizform.league.selectedIndex;
theme = document.wizform.theme.selectedIndex;
highlight = document.wizform.hightex.value;


document['preview'].src = "http://audiosurf-tools.tezzanator.net/pages/sigscor/?aname=" + escape(aname) + "&sname=" + escape(sname) + "&league=" + league + "&highlight=" + escape(highlight) + "&theme=" + theme;
document.wizform.urltex.value = document['preview'].src;

}
(Cleaned up the duplicate URL-creation as well, you can just re-read the newly written value :) )

I haven't tested that, but it should work... I don't have all the supporting pages and whatnot, so it's hard to know. :(

I'll give it a shot ;)

Tezzanator

  • Guest
Re: Image Based Signature scoreboard
« Reply #44 on: March 04, 2008, 09:36:13 pm »
Was close, Just needed An argument list on the tolowers :)

Code: [Select]
function scoreboard_doit()
{
var sname;
var aname;
var league;
var highlight;
var theme;

sname = document.wizform.snametx.value.toLowerCase();
aname = document.wizform.anametx.value.toLowerCase();
league = document.wizform.league.selectedIndex;
theme = document.wizform.theme.selectedIndex;
highlight = document.wizform.hightex.value;


document['preview'].src = "http://audiosurf-tools.tezzanator.net/pages/sigscor/?aname=" + escape(aname) + "&sname=" + escape(sname) + "&league=" + league + "&highlight=" + escape(highlight) + "&theme=" + theme;
document.wizform.urltex.value = document['preview'].src;

}