Hmm, Would Really Love Online Leader boards Right Now

JoshKahaneJoshKahane Member Posts: 470
edited November -1 in Working with GS (Mac)
I would really love online leader boards right now, hehe. I just got this feedback from a TouchArcade user.

"This game would need leaderboards for me to consider it and preferably openfeint. Without leaderboards I would get bored in 5 minutes so matter how good it is."

Would be helpful. :) What are your thoughts?

Comments

  • JoshKahaneJoshKahane Member Posts: 470
    Haha, yep I know. That and another million other features. I know we can't have everything at once, I just thought it would be interesting to show you all some real; feedback from real customers.

    It just goes to show, we really do need it! :)
  • VmlwebVmlweb Member Posts: 427
    What might happen is it might get put into the pro package instead of people paying for it.
    This would give pro package a bit more point.
  • JoshKahaneJoshKahane Member Posts: 470
    Yeh haha tshirtbooth. I think thats might be the case at this rate. :)

    As for what you said VML that makes more sense to have and would certainly make me more inclined to get a pro membership but would love it in the express as well. :)
  • JamesZeppelinJamesZeppelin Member Posts: 1,927
    Yeah since i just upgraded im all for it!!
    However (and i think i said this in another post)

    Safe to assume Devs would rather perfect the engine before connecting it to servers.

    That would put it a ways down the road.

    I have been brainstorming and i think if someone really wanted to spend the time you could do it via open URL... i know it doesnt write but.....

    If you make a separate Url for each score on a server of your own then, next constrained it so that each score triggered a diff URL you could figure out the rest server side
  • JamesZeppelinJamesZeppelin Member Posts: 1,927
    FOr my last post, you could actually have it link each score to specific line on a google DOc and then you could use the CSV value for something im sure.

    That would save the trouble of e seperate html page for each score

    Just Ideas
  • VmlwebVmlweb Member Posts: 427
    I have a idea now to really get online highscores
    Give me a day or so and I'll just test it out then get back to you.
  • VmlwebVmlweb Member Posts: 427
    Oh hang on,
    I just realised.

    Is it possible to put attributes into the URL?

    eg:
    www.mysite.com/attributevalue.php

    Ahh I see my idea has been discussed before
    http://gamesalad.com/forums/topic.php?id=3207
  • JamesZeppelinJamesZeppelin Member Posts: 1,927
    Anything is possible with enough work.
    There are plenty of options if you can get the info to a server.

    And you can.
    Like i said each score would just have trigger a unique "open url" as a workaround to the inability to write data.

    If you registered on a web site your IP would be associated with your name and a "visits from" system would collect the data.

    HOwever in the time it would take to build it server side I would rather build games lol
  • JoshKahaneJoshKahane Member Posts: 470
    Sorry guys but I have to agree with tshirtbooth here, as much as I want it to work. We are going to have to wait till the GameSalad team whip something up.
  • JamesZeppelinJamesZeppelin Member Posts: 1,927
    yes you are right

    couldn't get into the game..

    would only post to web
  • StormyStudioStormyStudio United KingdomMember Posts: 3,989
    would love to have the option....

    He says...not having even finished his first game...but it would make a game so much more appealing to users, and add an obvious challenge...

    Be great to do like with 'paper toss' make the app free, get your best high score, but then pay for the full version to be able to add your score to the world score and see how you compare..
  • PhoticsPhotics Member Posts: 4,172
    >> Yes but even if you could do this.
    >> How would you pull the info from
    >> the server into the game.
    >> -tshirtbooth

    Why does this even need to be done? Just click the link to the high score page?

    With pro, you can create hyperlinks, yes?
    If you can add information to the link, such as a query string, you can use PHP/MySQL to create a high score list. Of course, it would be hard to protect such a system from cheating, but if the links could be created, why couldn't a high score list be created?
  • VmlwebVmlweb Member Posts: 427
    The best way I see at the moment is to have 2 PHP files on your server.

    GetHighscore.php
    SetHighscore.php

    If the score was 1 you would open
    server.com/sethighscore.php?score=1
    If the score was 2 you would open
    server.com/sethighscore.php?score=2
    and so on...

    It would have some code that would look like this in it

    $score=$_GET['score'];

    // Make a MySQL Connection
    mysql_connect("localhost", "user", "password") or die(mysql_error());
    mysql_select_db("database") or die(mysql_error());

    //Insert Info Into Table
    mysql_query("INSERT INTO Highscores
    (score) VALUES($score) ")
    or die(mysql_error());

    For anyone who doesn't understand it puts the last number of the URL into a MySQL database.

    When this script is done it would redirection you to server.com/gethighscore.php where it will grab the info back from the MySQL database and display it in a table or however you want.

    The problem with this theory is that anyone can just submit a score that they want without even playing.
    There aren't any strong ways to protect it at the moment except doing lots of multiplying dividing, adding and subtracting to the score before you put it in the URL and then decode it in the PHP file.

    Well,
    If GameSalad don't bring it out soon I might try it on one of my games.

    Thanks,
    Vmlweb
  • PhoticsPhotics Member Posts: 4,172
    You could add some protection by adding browser detection. If your game is only on the iPhone, then accepting posts from Windows computers should be denied.
  • VmlwebVmlweb Member Posts: 427
    Yeh that could prevent some people but not all.

    Is there any way of finding out where you were refferred to a page from?
  • rebumprebump Member Posts: 1,058
    Almost everything you do to protect data submissions of the non-cheating app users is fairly easily reverse engineered by those really wanting to get on top of the leaderboard and it just takes that one dedicated geek to ruin it for the rest.
  • jon2sjon2s Member Posts: 40
    Ok, so with pro you can have URL links. You can also populate these links with values from internal game variables, correct?

    If so, then the way I would do it is something along these lines...

    Generate the URL to include a large amount of garbage data intermixed with the score value. If possible even switch thing out a bit. i.e. make every other character a digit of the score. So in the URL http://blah.com/scores.php?score=b1l0a0h0 the high score is 100. Obivously you would want more than just everyother letter, but you get the point. Now I dont' even know of this is possible but ideally in addition so intermixing the values also adding a little capt'n crunch decoder ring action into it so 1=a, 2=b, 3=c, etc. then have that intermixed so it is even less obvious in the URL what is the score, what is the name, etc. On the server side of things it would be much more simple once you determine how the URL string has been formed. You will probably want to get people off that page as quickly as possible so they have less time with the URL. Maybe with redirects, javascript, or the like. I'd have to mess with it.

    The long and short of it is that there should be a much more graceful method but if there isn't and you can use internal variables then this would work. Not fool proof either.
  • JamesZeppelinJamesZeppelin Member Posts: 1,927
    Keep forgetting the same thing I was overlooking.
    It defeats the purpose if someone has to go to a website.

    People have short attn spans and will likely not even check a site for their single most favorite game in the worldlet alone a game they just downloaded.

    The novelty is the in game leaderboard. I'd be willing to bet that if someone sold 100 games pee day you could run google analytics on the page and see two or three hits per day.

    Now I don't mean to spoil the fun but arethose couple o hits worth all that time?

    Unless of course you happen to have an app that really is thousands of peoples favorite.

    Don't get me wrong there are a couple here that could be (and I know not mine) but it would take that app to make a non in game leader board worth while.

    Just my two cents
  • JoshKahaneJoshKahane Member Posts: 470
    I think if they could just implement something like OpenFeint it would be brilliant the answer to our prayers. :) Does all the social networking side.

    If you think about it and look to see how easy it is for a normal dev to integrate OpenFeint then for professionals like the GS team Im sure with some work they could tie it in with the GS interface without huge issues (I dreaming pleased don't wake me). We just need a behaviour which lets us enter all the product keys and achievement codes OpenFeint give you when you set up on their website and then that actor of which holds the behaviour displays OpenFeint. Hmmm. Haha. Maybe, one day.
  • quantumsheepquantumsheep Member Posts: 8,188
    Hey Josh!

    Would love to have online leaderboards, of course!

    However, personally, I'd prefer Facebook/Twitter integration.

    I think I've mentioned this before, but I'd much rather know that I'm beating my mate Jake on a particular game than see that I'm no. 30043 in the world sandwiched between l3374life and MasterChef4441.

    Also, this original quote worried me:

    "This game would need leaderboards for me to consider it and preferably openfeint. Without leaderboards I would get bored in 5 minutes so matter how good it is."

    I find this remark incredible. Especially the ''I would get bored in 5 minutes so (sic) matter how good it is."

    I'm not going to say that leaderboards aren't important, especially on iPhone. I'm not *that* stupid. But whoever this guy is, and I know there are lots just like him, I kinda feel sorry for him.

    How many brilliant games is he missing out on because leaderboards aren't implemented?? Some awesome games I have on my iPhone only have Facebook/Twitter functionality. If you use neither of these, the games essentially have no meaningful online score system!
    Some games have no online functionality whatsoever (Backgammon NJ - my most played game - is a case in point).

    Indeed, most of my game time is on my commute - which takes place mainly underground on the tube! No internet at all down there :(

    I'm not sure exactly what I'm trying to say here. Probably 'Don't worry about online leaderboards' because we just can't implement them right now. Just make a great game! I still play games regardless of online functionality, and so do many others I'm sure.

    Again, let me re-eiterate. Online scoreboards would be ace! Facebook/Twitter would be ace! But till we can put them in, don't worry too much - there's not a lot you can do right now! :)

    Cheers,

    QS :)

    Dr. Sam Beckett never returned home...
    Twitter: https://twitter.com/Quantum_Sheep
    Web: https://quantumsheep.itch.io

  • JoshKahaneJoshKahane Member Posts: 470
    Yep, more wise words QuantumSheep! :) I agree about the quote though, and perhaps I should have said rather than leaderboards but more like Facebook and Twitter integration and those features as a whole. As they are all an incentive for people buy games as they can compare with friends.
  • VmlwebVmlweb Member Posts: 427
    It would be nice if there was a simple behaviour that could query a online php file and be able to add attributes on the end. Invisibly so the user doesn't notice.
    Then return what that website had on it back into a attribute
  • JamesZeppelinJamesZeppelin Member Posts: 1,927
    I play alot of games and i have never posted a score to facebook or twitter.
    There have got to be a ton of people like me who just play a game still, right. Lol

    I really like beating my own score and I love how doodle jump puts your score on the game field

    something lime that might be fun to add for now somce that is in our hands

    and yes open feint would be great.
    The work is already done. You could pretty much just have it as an attribute you could just drag in. That would be handy
  • jonmulcahyjonmulcahy Member, Sous Chef Posts: 10,408
    Just so everyone is clear, it is impossible to have an online leader board in GS's current iteration.

    Yes, the pro account has a URL field, but it is not able to pull variables / expressions / attributes at all. What you type in is where it goes.

    It just can't be done. If they turned the URL field into an expression editor instead of just a text field, then I think it would work. Until then, you just gotta wait.
  • synthesissynthesis Member Posts: 1,693
    Leaderboards...schmederboards.
    Just do a damn good game that works...looks clean...is enjoyable...and FUN...and the rest will fall into place!
  • guru-at-zidwareguru-at-zidware Member Posts: 369
    Cocos Live has a setup for Cocos2d games.....integrates well in games and is a great feature. Perhaps someone on this forum could just write a "testing" server to get this started.

    Not rocket science. Biggest issue I think is "jailbroken" iphones...where you can basically upload any score you want outside of the game. So there should be a command top delete scores or individual scores from the db.

    see....http://www.cocoslive.net/
  • ktfrightktfright Member Posts: 964
    im not really tripping about leaderboards as much as i used to, but facebook and twitter posting would be great.

    Crazy thought...maybe GS can make an openfeint-like interface leaderbord thing,but it is exclusive to only GS apps (cross promotion?), i just don't know how much it would cost to run something like that.
  • JamesZeppelinJamesZeppelin Member Posts: 1,927
    I would have a hard time believing they arent discussing it for the future however,
    like i said before, if you were GS and your engine wasn't even 100% yet, of course you gonna finnish whats under the hood first.

    Would seem like putting the cart before the ox to work on external servers before finalizing the actual game engine first.
Sign In or Register to comment.