AlexRaid Posted October 9, 2018 Share Posted October 9, 2018 Hello ! Many of players of my game asked for a Leaderboard, (per levels and/or Money ...) It is possible ? (Thanks for this engine, even my teachers are playing my game !) Link to comment Share on other sites More sharing options...
1 jcsnider Posted October 9, 2018 Share Posted October 9, 2018 (edited) It won’t be long. It won’t be long  (tm) Edited October 9, 2018 by Kibbelz Added trademark :^) Link to comment Share on other sites More sharing options...
0 Khaikaa Posted October 9, 2018 Share Posted October 9, 2018 10 minutes ago, AlexRaid said: Hello ! Many of players of my game asked for a Leaderboard, (per levels and/or Money ...) It is possible ? (Thanks for this engine, even my teachers are playing my game !) Â Hi Alex, Â The short answer is no, there are no leaderboards at the momment, you should wait until newer versions or even source release for doing something like that. Â The long answer is maybe, it depends on how much effort do you want to spend on that, and also depends on your programming skills. But, even if you are a great programmer, the way intersect works with data won't make it easy for you to have a leaderboard that updates itself "live". So... your best option is wait until source. Link to comment Share on other sites More sharing options...
0 Beefy Kasplant Posted October 9, 2018 Share Posted October 9, 2018 Isn't that what the API in B5 is going to be for? To make leaderboards and such? Although, those will probably be displayed on your website then. Link to comment Share on other sites More sharing options...
0 Khaikaa Posted October 9, 2018 Share Posted October 9, 2018 29 minutes ago, Dashplant said: Isn't that what the API in B5 is going to be for? To make leaderboards and such? Although, those will probably be displayed on your website then. Â yup, that's why I said that he should wait until newer versions. I'm not sure if API will be working on b5, maybe on b5.0.x or even b5.1, but yup, API system will make leaderboards possible with no much effort. Beefy Kasplant 1 Link to comment Share on other sites More sharing options...
0 Kibbelz Posted October 9, 2018 Share Posted October 9, 2018 The api will be included in B5 however it will be an early version of it so very limited, it will be improved on at each subsequent release. Link to comment Share on other sites More sharing options...
0 AlexRaid Posted October 9, 2018 Author Share Posted October 9, 2018 Thanks for your answers guys What is the date for 0.5.0 ? Link to comment Share on other sites More sharing options...
0 MiniGrief Posted October 9, 2018 Share Posted October 9, 2018 It is possible to do this now, but will take some work. You can use PHP to read the database inside the server's resources folder. Though, the database will be changing soon so it is not a good idea to make thing which work based on the current database. Â And as for B5. It's out when it's out. There is no set date (That I know of). Link to comment Share on other sites More sharing options...
0 OniSensei Posted October 10, 2018 Share Posted October 10, 2018 13 hours ago, MiniGrief said: It is possible to do this now, but will take some work. You can use PHP to read the database inside the server's resources folder. Though, the database will be changing soon so it is not a good idea to make thing which work based on the current database.  And as for B5. It's out when it's out. There is no set date (That I know of).  Example: http://doelmmo.com/index.php?op=ranking  <?PHP $DBConnect = new PDO('sqlite:resources/intersect.db'); $sql = $DBConnect->query("SELECT * from characters WHERE deleted='0' ORDER BY level DESC LIMIT 10"); while ($row = $sql->fetch(PDO::FETCH_ASSOC)) { echo "<tr align=center >"; echo "<td class='letterpresssmall'>"; echo $row['level']; echo "</td><td class='letterpresssmall'>"; echo $row['name']; echo "</td><td class='letterpresssmall'>"; echo include ('functions/class.php'); echo "</td></tr>"; } ?>  Kyrise, Stx, Kibbelz and 1 other 4 Link to comment Share on other sites More sharing options...
Question
AlexRaid
Hello !
Many of players of my game asked for a Leaderboard, (per levels and/or Money ...)
It is possible ?
(Thanks for this engine, even my teachers are playing my game !)
Link to comment
Share on other sites
8 answers to this question
Recommended Posts