Ideas for Stendhal/PvP Challenges: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
imported>Madmetzger No edit summary |
imported>AntumDeluge m AntumDeluge moved page Stendhal/ideas/PvP Challenges to Ideas for Stendhal/PvP Challenges over redirect: Undoing previous move |
||
| (29 intermediate revisions by 2 users not shown) | |||
| Line 9: | Line 9: | ||
# Opt-Out based system: Players can decide to not participate in PvP. By default they are open to PvP. |
# Opt-Out based system: Players can decide to not participate in PvP. By default they are open to PvP. |
||
# Opt-In based system: Players can decide to participate in PvP. By default they are not part of PvP. |
# Opt-In based system: Players can decide to participate in PvP. By default they are not part of PvP. |
||
# Challenge based system: Players can challenge each other to fight a duel. Only if both sides agree they can fight. |
# Challenge based system: Players can challenge each other to fight a duel. Only if both sides agree they can fight. By default players are not part of PvP. |
||
Implementing some kind of Opt-Out for PvP could be abused. |
Implementing some kind of Opt-Out or Opt-In for PvP could be abused. |
||
| ⚫ | |||
An Opt-In system could also be abused. TODO: Example |
|||
Therefore we should go for a challenge based system. |
|||
| ⚫ | |||
==Challenge System for PvP== |
|||
Handling PvP combat in a challenge based system within Stendhal brings up some necessary considerations. We want to address them in this section. |
|||
# Lifecycle of challenges |
|||
# GUI design |
|||
# Server side infrastructure |
|||
Player A issues a challenge request to another player called B. If B accepts the challenge, the challenge starts between both players. If B does not react the challenge request should time out after some time. It should not be necessary to actively reject a challenge. Challenges should respect ignore lists by simply dropping challenge requests from ignored players. Players can only have one active challenge at a time. |
|||
If A and B agreed on a challenge it is established and both players can attack each other. The challenge ends when one of the two player dies. It also ends if a player logs out (or is being logged out due to lag or something like that). A challenge should expire if no fighting happens between both players for some time. |
|||