Hi, riq!
I said everything in the title.
Would you reply back soon? thank you!
To test ranking, should ranking be enabled? Then please enable it!
(22 posts) (4 voices)-
Posted 2 years ago #
-
the name of my game is GOO!
Posted 2 years ago # -
Hello, riq. I'm sorry for being here and there, but I think I don't need to enable ranking system since I can test ranking system without it.(if not, please reply and enable it..) But, when I posted my score through my game, I see my game having 8 scores posted on the Internet, but can't see any data of them. Only the number of score is eight(GOO(8) like this), and actual data table is empty. So, when I request score, I don't get any score back! Do you have any solution..? Thank you! ^^
Posted 2 years ago # -
is this your game ?
http://www.cocoslive.net/game-scores?gamename=GOOwhat are the min and max possible values of the scores ?
Posted 2 years ago # -
Yes, that's my game! 1 to 10000000 will be that. I have a question; when I post a score to server, I keep getting 0 ranking in postScoreOk function.
Posted 2 years ago # -
Oops, for some reason I can't post more scores than one score for the first time. I have no idea why this is happening?.....Trying to fix it but can't find any clue since I didn't make(90% sure) changes to codes. Is there a problem in server? I see server is now extremely slow..
Posted 2 years ago # -
between score and for in the middle of the first sentence of the upper post, there should be "except", so what I wanted to say was I can't post more scores than one score except for the first time. Which means I post one score after deleting all scores, then it's fine, it is posted on the server, but if I try more, it says my score was posted, but never in the web and when I requested data. Please help..
Posted 2 years ago # -
Problem solved. I got the answer from my mac developer community. If you use updateScore only updates score only when the new score is better when the name is the same. Thanks though. This whole thread was written by me; wow X D
Posted 2 years ago # -
Well - The threads here will answer your questions as they have done for me.
Posted 2 years ago # -
before I can enable rankings, you need to delete all your game scores. currently, there is 1 score.
Posted 2 years ago # -
Okay! I'm curious what is the benefit of ranking being enabled? if I didn't publish my game yet, is there any benefit?
Posted 2 years ago # -
Rankings lets you know the absolute position of the scores.
the cocoslive demo that comes with cocos2d has rankings enabled.
try it requesting world scores / country scores and device scores.
Probably the "country scores" don't start with position 1, but with the absolute position in the world.
Play with the cocoslive demo 1 or 2 minutes., you will understand the meaning immediately.Posted 2 years ago # -
btw, should I enable rankings in your game ?
Posted 2 years ago # -
Uhm, so far, I think I'm good. Actually the answer would be up to this question: Is it possible to delete scores after ranking enabled? Can you do everything that you could do before ranking enabled? If then, please it be enabled. But if not, it's not the time yet.
I already tried cocoslive demo, but now after your explanation I got what ranking enabling does. Thanks for exp. Always. I wonder if you know the Korean phrase "Fighting!" means; it means cheer up! thanks for all the works you do, riq! :) Fighting!Posted 2 years ago # -
Hi riq; how are you doing?
I have one problem in my postScoreOk function;
This is the whole code in my postScoreOk.if( [sender ranking] != kServerPostInvalidRanking && [sender scoreDidUpdate]) {
NSLog(@"Posted score Okay");NSString *message = [NSString stringWithFormat:@"World ranking: %d", [sender ranking]];
UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"Post Ok." message:message delegate:nil cancelButtonTitle:nil otherButtonTitles:@"OK", nil];
alert.tag = 2;
[alert show];
[alert release];}
problem is, debugger never gets into the if statement; in other words, if statement is always false. So i printed out the code in the condition of if, and I got both for 0 and NO, which are making if statement false twice! I tried to figure out why, but couldn't. For some reason, every score gets ranking 0, even though they are positioned properly on actual ranking, and scoreDidUpdate_is always false. Please be a help to me!
Posted 2 years ago # -
Please reply back, riq, if you are there. I'll really appreciate it!
Posted 2 years ago # -
your game does not have Rankings enabled.
see "rankings" here:
http://www.cocoslive.net/user/edit-game?gamename=GOOPosted 2 years ago # -
My rankings appear to be enabled...but I still get scoreDidUpdate always false...any suggestions?
Posted 2 years ago # -
what's the name of your game ?
Posted 2 years ago # -
balldrop
Posted 2 years ago # -
it worked once
ie. if went into the if statement:
if( [sender ranking] != kServerPostInvalidRanking && [sender scoreDidUpdate])...but never again...not sure why at all..
Posted 2 years ago # -
ok...seems to be going now...maybe connecting was just slow beforeand I quit the simulator before it posted..thanks!
Posted 2 years ago #
Reply
You must log in to post.