Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

Add Player Disconnect Reasons.

Abierto
#50 1 comentario 3 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
35/100
Tipo de issue
Nueva funcionalidad
Claridad
Necesita aclaración
Estado de actividad
Estancado
Área
backend

Línea de trabajo

No source file, test, or entry point is named. Start by searching for existing player disconnect handling and the PLAYER_DISCONNECT_REASON symbols, then inspect how compatibility is currently preserved. Done means the disconnect reasons are exposed without introducing the compatibility break described in the issue.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

At the moment it breaks some compatibility, so far I haven't been able to come up with anything to prevent this from happening.

enum PLAYER_DISCONNECT_REASON:__PLAYER_DISCONNECT_REASON
{
	UNKNOWN_PLAYER_DISCONNECT_REASON            = -1,
	PLAYER_DISCONNECT_REASON_TIMEOUT,
	PLAYER_DISCONNECT_REASON_CRASH	            = PLAYER_DISCONNECT_REASON_TIMEOUT,
	PLAYER_DISCONNECT_REASON_QUIT,
	PLAYER_DISCONNECT_REASON_KICK,
	PLAYER_DISCONNECT_REASON_BAN	            = PLAYER_DISCONNECT_REASON_KICK
}
#define UNKNOWN_PLAYER_DISCONNECT_REASON           (PLAYER_DISCONNECT_REASON:-1)
#define PLAYER_DISCONNECT_REASON_TIMEOUT	   (PLAYER_DISCONNECT_REASON:0)
#define PLAYER_DISCONNECT_REASON_CRASH		   (PLAYER_DISCONNECT_REASON:0)
#define PLAYER_DISCONNECT_REASON_QUIT		   (PLAYER_DISCONNECT_REASON:1)
#define PLAYER_DISCONNECT_REASON_KICK	           (PLAYER_DISCONNECT_REASON:2)
#define PLAYER_DISCONNECT_REASON_BAN		   (PLAYER_DISCONNECT_REASON:2)

Lenguaje dominante
Pawn
Estrellas
54
Forks
20
Métricas de merge de PR
Sin PR fusionados en 30 d

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de openmultiplayer/omp-stdlib

Todos los issues de openmultiplayer/omp-stdlib

Issues similares

Más issues de Backend & API Design

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.