From The Mana World
m ("programming" template should only be used for articles with in-depth technical descriptions.)
(Updated with more implementation details)
Line 3: Line 3:


==Postal system==
==Postal system==
I propose that a player could use a post box or post office to send and receive items and/or money.
I propose that a player could use a post box or post office to send and receive letters, items and/or money.


There would be a post box or post office on each map.
There would be a post box or post office on each map.


One player would be able to attach items and/or money that would be sent, and set the character that can retrieve them.
A player would be able to send a letter, and attach items and/or money, and set the character that can retrieve them.
The other player then goes to their local post box or post office and retrieves any post that has been sent to them.
The character who can retrieve the letter then goes to their local post box or post office to retrieve the letter and attachments.


There could be a small levy for sending post.
There would be a small levy for sending post of 10GP.


=== Implementation ===
=== Implementation ===
Perhaps an NPC can be created that can be used to send and receive post.
All post (the letter, and an id to the item attached, and the amount of money attached) would be stored by the chat server. It saves the details to the db to safeguard against a crash losing all post.
 
Each game server then asks the chat server if there is post available for the character that is using the postal system.
 
Each time a character sends post, the game server tells the chat server.
 
For sending a post
Character (sends post in post box) -> Game Server (passes on post) -> Chat Server (stores post)
 
For retrieving post
Chat Server (tells character they have post) -> Character (goes to post office) -> Game Server (asks for post) -> Chat Server (sends post) -> Game Server (passes on post) -> Character (gets post)
 
--[[User:Trapdoor|Trapdoor]] 12:06, 30 April 2008 (CEST)

Revision as of 10:06, 30 April 2008

This article collects information regarding the conceptualisation of the gameplay of The Mana World

This article is currently only a proposal

The features or design guidelines described in this article are only a proposal made by one or some persons. It has not been evaluated or accepted by the core development team yet. Feel free to add your personal opinion about them or make counter proposals.

Postal system

I propose that a player could use a post box or post office to send and receive letters, items and/or money.

There would be a post box or post office on each map.

A player would be able to send a letter, and attach items and/or money, and set the character that can retrieve them. The character who can retrieve the letter then goes to their local post box or post office to retrieve the letter and attachments.

There would be a small levy for sending post of 10GP.

Implementation

All post (the letter, and an id to the item attached, and the amount of money attached) would be stored by the chat server. It saves the details to the db to safeguard against a crash losing all post.

Each game server then asks the chat server if there is post available for the character that is using the postal system.

Each time a character sends post, the game server tells the chat server.

For sending a post Character (sends post in post box) -> Game Server (passes on post) -> Chat Server (stores post)

For retrieving post Chat Server (tells character they have post) -> Character (goes to post office) -> Game Server (asks for post) -> Chat Server (sends post) -> Game Server (passes on post) -> Character (gets post)

--Trapdoor 12:06, 30 April 2008 (CEST)