GLBasic forum

Main forum => GLBasic - en => Topic started by: François Vanzeveren on 2008-Apr-27

Title: How to get the serial number of a GP2X
Post by: François Vanzeveren on 2008-Apr-27
Hello,

How can I get the serial number of the gp2x on which the game is running? I would like to develop an "on line" score system. Of course, the GP2X does not support network gaming (as far as I know), but the idea is to generate a code base on the serial number and the score. The player then enters the code on the web site. The code is interpreted and the 'on line" scores are updated!

BTW: Anyone knows how I could develop the appropriate algorithms?

Thanks a lot!

François
Title: How to get the serial number of a GP2X
Post by: Kitty Hello on 2008-Apr-28
GETDEVICEINFO$("ID")

No idea about the score-encrypting.
Title: How to get the serial number of a GP2X
Post by: PeeJay on 2008-Apr-28
Simple encryption is easiest performed using XOR, but, to be honest, by the time you have the serial number of the GP2X, the score, and some check digits to ensure nothing has been tampered with, I can't see anyone going to the hassle of typing it in on a website. Just my two cents ....