Vehicle colors 3 and 4 randomly disappear

Abierto
#4,982 2 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 3 días

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
52/100
Tipo de issue
Error
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
cpp
Área
game-dev

Línea de trabajo

Start by reproducing the reported sequence: apply all four colors with setVehicleColor, stream the vehicle out, then back in. Read the setVehicleColor and vehicle-streaming entry points to trace how colors 3 and 4 are retained for the returning client. Done looks like all four colors consistently remain correct after repeated stream-out and stream-in cycles.

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

Descripción

bug feedback
Describe the bug

Vehicle colors 3 and 4 randomly disappear after a vehicle streams out and back in, even though setVehicleColor has been executed correctly.

Colors 1 and 2 remain applied correctly, while colors 3 and 4 can randomly reset or disappear after the vehicle is streamed back to the client. The issue appears to be related to vehicle streaming and does not happen consistently every time.

Before:
Image

After:
Image

Steps to reproduce
  1. Spawn a vehicle.
  2. Apply all four vehicle colors using setVehicleColor.
  3. Ensure colors 3 and/or 4 are different from the default values.
  4. Move far enough away for the vehicle to stream out.
  5. Return so the vehicle streams back in.
  6. Repeat the process several times.
  7. Observe that colors 3 and 4 may randomly disappear or reset, while colors 1 and 2 remain correct.
Version

Multi Theft Auto v1.6-release-24124 (tested on 1.7 is same)

Additional context

No response

Relevant log output

Security Policy
  • I have read and understood the Security Policy and this issue is not security related.
Lenguaje dominante
C++
Estrellas
1.9k
Forks
588
Merge medio
4 d 9 min
PR fusionados (30 d)
11

Preparar el entorno

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 multitheftauto/mtasa-blue

Todos los issues de multitheftauto/mtasa-blue

Issues similares

Más issues de C++

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.