Where to host leaderboard?

John Sturt

Active Member
Licensed User
Longtime 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
 

sorex

Expert
Licensed User
Longtime 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.
 

Eme Fibonacci

Well-Known Member
Licensed User
Longtime 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).

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

udg

Expert
Licensed User
Longtime User
There plans for 1.87 USD month.
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..
 

Eme Fibonacci

Well-Known Member
Licensed User
Longtime 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..
Hi, what link? Thank you.
 

udg

Expert
Licensed User
Longtime User

John Sturt

Active Member
Licensed User
Longtime 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
 

DonManfred

Expert
Licensed User
Longtime User
What is so complicated?
Based on the docs you just do a job.download(...)
 

John Sturt

Active Member
Licensed User
Longtime 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.
 

DonManfred

Expert
Licensed User
Longtime User
B4X:
http://dreamlo.com/lb/MYPRIVATEKEY/add/DonManfred/0815
doing a download for this url i get a "OK"

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

<dreamlo><leaderboard><entry><name>DonManfred</name><score>815</score><seconds>0</seconds><text></text><date>8/16/2019 1:01:01 PM</date></entry></leaderboard></dreamlo>
 

John Sturt

Active Member
Licensed User
Longtime 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
 

EnriqueGonzalez

Well-Known Member
Licensed User
Longtime 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.
 
Top