Posted By: DLively
online scoreboard help - 04/30/14 19:54
Hi, I think this is more for people who have used fogman's online scoreboard - but maybe not so please keep reading
I have successfully implemented fogman's online scoreboard into my game, and it works fine -> If I don't use an important feature.
What you see here ^^ is what I would like to send (score and stage)
When returning values
Both Score and Stage return as stage.
If However, I set only one or the other
This returns the score.
and if I swap "" with stage_count it gives the proper stage.
Never both
Both gives me 2 stage counts
I have successfully implemented fogman's online scoreboard into my game, and it works fine -> If I don't use an important feature.
Code:
webscore_send(name_1_str,"textfile",str_for_num(NULL,score_count),str_for_num(NULL,stage_count));
What you see here ^^ is what I would like to send (score and stage)
When returning values
Code:
return_code=webscore_get("temp.txt","textfile");
Both Score and Stage return as stage.
If However, I set only one or the other
Code:
webscore_send(name_1_str,"textfile",str_for_num(NULL,score_count),"");
This returns the score.
and if I swap "" with stage_count it gives the proper stage.
Never both
Both gives me 2 stage counts