Jump to content

  • Log In with Google      Sign In   
  • Create Account

14 years ago on June 15th Gamedev.net was first launched! We want to thank all of you for being part of our community and hope the best years are ahead of us. Happy birthday Gamedev.net!

#ActualKnolanCross

Posted 10 October 2012 - 05:16 PM

If I got the idea correct, he meant that each player would have two key, a "login key" and a "transaction key".
In short, if I were a player, my login key would be sent to the private server, but my transaction key would not.

An example:
Say during the game player A wants to sell an item to player B for gold. The private server will then send a request to your main game server saying:
Player A of login key x (the one he received from player A when he logged in the private server) wants to trade his item i with player B of login key y (same logic of the former parenthesis) for g gold pieces.
The main server will open a transaction saving the players in question, the item and the amount of gold.
Player A will send a message to the main server with his "transaction key" - which only he knows - telling the player he wants to trade with, plus the item and the gold amount.
Player B will do the same as player A.
When the main server have received the three messages and all the keys match (as well as the item and gold amounts) the transaction is processed.

This is very different from PKI, under which there is a public key (know by everyone) that is used to encrypt messages and the encrypted messages are only decryptable with the private key.

#1KnolanCross

Posted 10 October 2012 - 05:14 PM

If I got the idea correct, he meant that each player would have two key, a "login key" and a "transaction key".
In short, if I were a player, my login key would be sent to private server, but my transaction key would not.

An example:
Say during the game player A wants to sell an item for player B for gold. The private server will then send a request to your game main server saying:
Player A of login key x (the one he received from player A when he logged in the private server) wants to trade his item with player B of login key y (same logic of the former parenthesis) for gold.
The main server will open a transaction saving the players in question, the item and the amount of gold.
Player A will send a message to the main server with his "transaction key" - which only he knows - telling the player he wants to trade with, plus the item and the gold amount.
Player B will do the same as player A.
When the main server have received the three messages and all the keys match (as well as the item and gold amounts) the transaction is processed.

This is very different from PKI, under which there is a public key (know by everyone) that is used to encrypt messages and the encrypted messages are only decryptable with the private key.

PARTNERS