Project

General

Profile

« Previous | Next » 

Revision e6842803

Added by Leszek Koltunski about 2 years ago

Report number of stars to the server.

View differences:

src/main/java/org/distorted/external/RubikNetwork.java
467 467
    String version  = DistortedLibrary.getDriverVersion();
468 468
    int objectAPI   = JsonWriter.VERSION_OBJECT_MAJOR;
469 469
    int tutorialAPI = JsonWriter.VERSION_EXTRAS_MAJOR;
470
    int numStars    = scores.getNumStars();
470 471

  
471 472
    renderer = URLencode(renderer);
472 473
    version  = URLencode(version);
473 474

  
474 475
    String url=SERVER+"debugs.cgi";
475 476
    url += "?n="+name+"&r="+numRuns+"&p="+numPlay+"&c="+country+"&e="+mVersion+"d";
476
    url += "&d="+renderer+"&v="+version+"&a="+objectAPI+"&b="+tutorialAPI;
477
    url += "&d="+renderer+"&v="+version+"&a="+objectAPI+"&b="+tutorialAPI+"&s="+numStars;
477 478

  
478 479
    return url;
479 480
    }

Also available in: Unified diff