Online High Scores?

BlitzMax Forums/BlitzMax Programming/Online High Scores?

MGE(Posted 2007) [#1]
I would like to add online high scores to my project. Is there any mods available to help this process? What about a managed solution, free or commerical? Thanks for any help or insight. ;)


Brucey(Posted 2007) [#2]
I don't know if there are any specific Online High Score mods, but there are mods that make it very easy to do internet related work (even securely). One option

There is also something in the tutorials section about connecting to PHP scripts.


Dreamora(Posted 2007) [#3]
Yes, there is a module to that, check out blitzforum.de BlitzMax - Module board.


MGE(Posted 2007) [#4]
Excellent, thanks for the links. Looks like I have everything I need since I already know PHP and have my own server. So....

I'll use this for MD5 Encyption on the score string:
http://blitzmax.com/codearcs/codearcs.php?code=1449

Then I'll use this to send/receive scores from the server:
http://www.blitzbasic.com/Community/posts.php?topic=50153

Not quite sure how to handle a time out, I guess I could use millisecs() and wait for 30 seconds and if it's not there, assume it's not available?


xlsior(Posted 2007) [#5]
"Etna": http://blitzmax.com/Community/posts.php?topic=65184


RepeatUntil(Posted 2007) [#6]
Yes, Etna is doing this for you as well, and you get an encypted connection with it.


Brucey(Posted 2007) [#7]
A shame it is Windows only...


Dreamora(Posted 2007) [#8]
thats why I mentioned the german boards so here is the full link:
http://www.blitzforum.de/forum/viewtopic.php?t=25062

German knowledge most likely isn't needed, its pretty self explaining.
Comes with mysql, php and bmx code for online highscore and prebuilt module for windows and linux

Was not created by me but Firstdeathmaker


MGE(Posted 2007) [#9]
Dremora, I tried to find that on the German board, but had no luck. Thanks for the link! Looks like it's complete and ready to use. Exellent. :)


bruZard(Posted 2007) [#10]
i've written the module "highscore.mod", but my english is too bad to write a english version.
if anyone help me, i can publish an english version.

in the german blitz-board my nick is "Farbfinsternis".

i can read english very well, but to speak or to write is very hard. If you need support for this version, i try my best to answer any question.


MGE(Posted 2007) [#11]
bruZard - Where's the mod? I'll have a peek at it and convert to english using a translator to start and then fine tune the English. ;) Thanks.


bruZard(Posted 2007) [#12]
You can download the archive from http://www.colorflow.de/pub/highscore/highscore.0.2.zip

Note: This module is using skn3[ac] TSendHTTP Code from the code-archives. But this Code doesn't work with all servers. I've a look on this problem.


MGE(Posted 2007) [#13]
Ahh.. ok.. then unfortunately I can't take a look at it now. Thanks anyway! :)


bruZard(Posted 2007) [#14]
i've solved the problem: i wrote a new module

you can download it under http://www.colorflow.de/pub/download/bmax_modules/postdata.mod.0.1.zip
PostData.mod needs BNetEx (http://vertex.dreamfall.at/bnet/bnetex170beta2.zip).
note: this is the post-module, not the highscore module. i will include this new module in the next version of the highscore module.


bruZard(Posted 2007) [#15]
New highscore module version is available under http://www.colorflow.de/pub/download/bmax_modules/highscore.mod.0.3.zip

Now it works fine with all ISPs