programming a share-it keygen

Blitz3D Forums/Blitz3D Programming/programming a share-it keygen

MadJack(Posted 2008) [#1]
I'm groping my way towards writing a key generator that will be hosted on Share-it's server and called whenever somebody buys a copy of Tank Universal.

I've got a blitz prog that currently spits out the required files.

However, the programme needs to be able to return an error code should something fail. I'm fairly certain Blitz can't do this - so it's returning 0 each time (although luckily this is taken as successful textual keygeneration).

Can blitz progs return values on execution stop?


Kev(Posted 2008) [#2]
does share-it not enable you to use generated key-lists? ive not tryed but you might be-able to use the api PostQuitMessage()

kev


MadJack(Posted 2008) [#3]
Kev

Thanks for that tip

Share-it does have key-lists, but I'll try submitting what I've programmed and if they spew, I'll go to a keylist.