Hi
i was wondering about the best way to produce an online high-score list.
Basically i want (in an offline game) the option to submit highscores to my website. The problem is that i can''t have any programs running on my webspace, so i was wondering how other people go about this?
I guess it should be possible to write some winsock code that emulates a webbrowser and connects directly to a cgi/php script to submit the scores, but this seems a bit too much of a hassle for such a simple thing...so is there perhaps any place with ready-to use code for such a thing?
I''d be glad for any hints
Runicsoft -- home of my open source Function Parser and more
Online highscore lists?
I''m sure there are libraries out there that will emulate a browser submission in C++. Just look around and find something you like. That''s probably your best bet without any kind of executable running on the server.
Something else you could do is run the executable on your machine and use something like dnsart.com to give your machine a dns name. The drawback there is you have to run it all the time. It would work if you don''t want to pay the money.
Looking for an honest video game publisher? Visit www.gamethoughts.com
Something else you could do is run the executable on your machine and use something like dnsart.com to give your machine a dns name. The drawback there is you have to run it all the time. It would work if you don''t want to pay the money.
Looking for an honest video game publisher? Visit www.gamethoughts.com
Shameless plug: Game Thoughts
You can use the WinHTTP5.0 SDK from Microsoft or you can use Winsock.
You will have to POST the data to your php or cgi app on your web server...
WinHTTP has all the functionality to do so. In Winsock it is not that heard either to build an HTTP header...
You will have to POST the data to your php or cgi app on your web server...
WinHTTP has all the functionality to do so. In Winsock it is not that heard either to build an HTTP header...
quote:
Original post by Burning_Ice
The problem is that i can''t have any programs running on my webspace, so i was wondering how other people go about this?
I''m afraid that may not be the worst of your problems. It only takes one person hacking your game to totally screw-up your online high scores.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement