View Single Post
Old 06-18-2015, 05:19 PM   #5
justin_ator
🥓<strong><span style="col
Resident Overseer
FFR Veteran
 
justin_ator's Avatar
 
Join Date: Mar 2007
Location: Kingsport, TN
Posts: 7,648
Default Re: Full Combo Stat?

upon song completion

Code:
if(combo == total notes){
  if(get_fc_flag(song) != 0){
    set_fc_flag(song); //sets song's fc flag to true
  }
}
it's a simple bit of code really, but Trumpet is right -- it would require a new database column because currently I'm fairly certain the scores are checked through level ranks to give the # of FC's.

With Raw Scoring taking over, there is no way for the level ranks to know if you *at some point* FC'd a song, unless it was a flag set upon song completion if true. If your raw score is better than your FC score, it doesn't get saved and thus can't be checked by the server from the saved top scores.

Alternatively completely, there could be a Raw DB and a Combo DB that keeps your best score from both Raw and Combo and that FC count could still be drawn from levelranks, but then you're talking FAR more server load. The lesser evil is definitely creating another flag to be set, and putting the necessary code in the engines to flag it if you accomplish an FC on something.

//I could be missing some other better way to do it, but that's what I see.
__________________

Last edited by justin_ator; 06-18-2015 at 05:21 PM..
justin_ator is offline   Reply With Quote