[ Suggestion ] - Leaderboard, Int, String, BoolValues and connection to get values .. - Printable Version +- 2DWorlds Forums (http://2dworlds.buildism.net/forum) +-- Forum: 2DWorlds (http://2dworlds.buildism.net/forum/forumdisplay.php?fid=4) +--- Forum: 2DWorlds Discussion (http://2dworlds.buildism.net/forum/forumdisplay.php?fid=10) +--- Thread: [ Suggestion ] - Leaderboard, Int, String, BoolValues and connection to get values .. (/showthread.php?tid=1074) |
[ Suggestion ] - Leaderboard, Int, String, BoolValues and connection to get values .. - ptown2 - 10-14-2010 to get the values in a different mysql database the game just needs more objects that can contain variables and stuff to see how many a player has and stuff... and also a way to connect the mysql server to the game so it can read the saved values example: i got 210 waffle points in the game, i leave then come back and still have 210 waffle points RE: [ Suggestion ] - Leaderboard, Int, String, BoolValues and connection to get values .. - Jacob__mybb_import1 - 10-15-2010 I don't want to let people access the MySQL database, for security reasons. But what about adding a httpGet function and letting you host the script yourself? Most web hosts have PHP and MySQL. Code: local points = game:httpGet("http://yourhost.com/getPoints.php?name="..player.Name) Code: game:httpGet("http://yourhost.com/setPoints.php?name="..player.Name.."&points="..points) RE: [ Suggestion ] - Leaderboard, Int, String, BoolValues and connection to get values .. - ptown2 - 10-16-2010 yeah, gethttp will help RE: [ Suggestion ] - Leaderboard, Int, String, BoolValues and connection to get values .. - zeyan12 - 12-30-2010 [spam removed] |