|
Jackson Shatner
Registered User
Join date: 5 Oct 2005
Posts: 8
|
03-11-2006 08:34
i'm wondering how one might go about implementing a system whereby if a person owns/is holding an item, they can get an upgraded version of that item for free.
|
|
Keknehv Psaltery
Hacker
Join date: 11 Apr 2005
Posts: 1,185
|
03-11-2006 12:26
Hardcode an update server's key into the object, or use ObjDNS in order to have the emails automatically redirected. Then, have the original object send an update request to the server every so often, with the subject being a "Update request", and the contents containing the object's version and the key of the owner. Also, you probably want to include a special passcode to make sure that no one can just spoof the request. The email might look like this: Subject: Update Request ... 102 12345-abcd-1234-abcd-1234-abcde Password
The server checks its email every so often, and sends out an update to the specified user if the email is correctly formatted, and the version is below what the current version is. That's the general idea, at least. The implementation is pretty straightforward.
|