Where to host leaderboard?

Discussion in 'Chit Chat' started by John Sturt, Aug 12, 2019.

  1. John Sturt

    John Sturt Active Member Licensed User

    Hello
    I really do not want to use game centre as an option to do this can anyone suggest a web service
    that allows leader board functionality on it for a reasonable cost?

    Many thanks
     
  2. Erel

    Erel Administrator Staff Member Licensed User

    If you plan to use B4J to develop the back end then you need a VPS. There are low cost options available (~$10 per month).
     
  3. John Sturt

    John Sturt Active Member Licensed User

  4. Peter Simpson

    Peter Simpson Expert Licensed User

    Last edited: Aug 15, 2019
  5. sorex

    sorex Expert Licensed User

    if you want to use PHP+MySQL then there are free alternatives altho you better go for your own domain name + hosting which costs €40/year or so to be completely independent as you never know what happends to these free services.
     
  6. Enrique Gonzalez R

    Enrique Gonzalez R Well-Known Member Licensed User

    I use this for side projects. https://pebblehost.com/vps

    There plans for 1.87 USD month. Of course you may have more space in a raspberry but still a valid option.
     
  7. Erel

    Erel Administrator Staff Member Licensed User

    Very low prices. Are you running B4J servers on this VPS?
     
  8. Eme Fibonacci

    Eme Fibonacci Well-Known Member Licensed User

    I couldn't resist. Please, can you make a video tutorial about B4J and VPS? Maybe azure VPS.
     
  9. Enrique Gonzalez R

    Enrique Gonzalez R Well-Known Member Licensed User

    Yes! No many connections and sometimes feels a bit slow even in a ssh connection, but it is workable.
     
    DonManfred and Erel like this.
  10. udg

    udg Expert Licensed User

    Quite expensive :)
    My Aruba's VPS fee is 1€/month (even less if you don't turn it on H24). Obviously no backups nor any other "farm" service included in that price.
    I use it as a test/experiment laboratory. Successfully run MQTT mosquitto broker, Let'sEncrypt certificate, MySQL, a few B4J back-end server apps. Not bad for a toy..
     
    Erel likes this.
  11. Eme Fibonacci

    Eme Fibonacci Well-Known Member Licensed User

    Hi, what link? Thank you.
     
  12. udg

    udg Expert Licensed User

  13. John Sturt

    John Sturt Active Member Licensed User

    Thank you all for the suggestions it seems that my brain switches off
    whenever the word server is mentioned.
    I have found this but for the life of me can not get it to work
    www.dreamlo.com
    Anyone bored enough to have a go and post the code if successful?

    Many thanks
     
  14. DonManfred

    DonManfred Expert Licensed User

    What is so complicated?
    Based on the docs you just do a job.download(...)
     
    Peter Simpson likes this.
  15. John Sturt

    John Sturt Active Member Licensed User

    I have done all variations of job.download
    and cannot get it to give anything back from the job request.

    I am hitting a wall and i do not know where the wall is or what it is.
     
  16. DonManfred

    DonManfred Expert Licensed User

    Code:
    http://dreamlo.com/lb/MYPRIVATEKEY/add/DonManfred/0815
    doing a download for this url i get a "OK"

    Code:
    http://dreamlo.com/lb/5d56a8aae6a81b07f0b552c2/xml
    ' 5d56a8aae6a81b07f0b552c2 is my public code
    it results in this xml

     
    Peter Simpson likes this.
  17. DonManfred

    DonManfred Expert Licensed User

    try this for a start. replace the IDs with yours
     

    Attached Files:

    Peter Simpson likes this.
  18. John Sturt

    John Sturt Active Member Licensed User

    Thank you i have now got it working
    it was a case of getting the keys mixed up and being a bit thick on a Friday.
    *smile
     
  19. Eme Fibonacci

    Eme Fibonacci Well-Known Member Licensed User

  20. Enrique Gonzalez R

    Enrique Gonzalez R Well-Known Member Licensed User

    i do not fully understand why the fuss with the leaderboard, it should be trivial with B4J + Jserver to create such application

    of course that is not something Anywhere Software would do, game developers are just a fraction of the developers here.
     
    Peter Simpson likes this.
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice