07th-mod / 07th-mod/umineko-answer

Crash in ep5 with gap effect [spoiler]

Abierto
#93 4 comentarios 0 reacciones 0 asignados Ver en GitHub
bug
Lenguaje dominante
Python
Estrellas
29
Forks
8
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

We had a crash reported at this scene in episode 5:

![20220803162506_1](https://user-images.githubusercontent.com/1249449/182729133-04cfc7bf-478a-4547-8952-e134400af9f1.jpg)

Gaap says this, drops to the bottom of the screen (obviously meant to represent her putting a hole under herself) and then the application crashes. I can't seem to get past it. Any tips?

These are the text files the pinned messages said to post after having it crash in debug mode. I'm running it on Windows, and the laptop I'm using is an ROG Strix, if that's the name I should be looking for.

[stderr(3).zip](https://github.com/07th-mod/umineko-question/files/9255563/stderr.3.zip)

```
langen:dwave_eng 0, "voice\32\53700095.ogg":^ ......Leave it to me. I'll handle it."^\

textoff

ut_mld l,":b;sprites\gap\1\gap_a11_warai3.png",80

wait 500

mov %Free2,5
for %Free1 = 1 to 32
msp msp_l,0,%Free2
print 1
inc %Free2
next

se1 52
mcl l,0
bg black,28
bg new_g1f_s1bp,0
_ld r,":b;sprites\bea\1\bea_a11_majime4.png",22
```

I thought this was due to the animation effect not having any delay in it. But with this code:

```
langen:dwave_eng 0, "voice\32\53700095.ogg":^ ......Leave it to me. I'll handle it."^\

textoff

ut_mld l,":b;sprites\gap\1\gap_a11_warai3.png",80

wait 500

; mov %Free2,5
; for %Free1 = 1 to 32
; msp msp_l,0,%Free2
; print 1
; inc %Free2
; next
se1 52
mcl l,0
bg black,28
bg new_g1f_s1bp,0
_ld r,":b;sprites\bea\1\bea_a11_majime4.png",22

```

it still crashes

This version ended up fixing it

```
langen:dwave_eng 0, "voice\32\53700095.ogg":^ ......Leave it to me. I'll handle it."^\

; textoff

; ut_mld l,":b;sprites\gap\1\gap_a11_warai3.png",80

; wait 500

; mov %Free2,5
; for %Free1 = 1 to 32
; msp msp_l,0,%Free2
; print 1
; inc %Free2
; next
; se1 52
mcl l,0
; bg black,28
; bg new_g1f_s1bp,0
; _ld r,":b;sprites\bea\1\bea_a11_majime4.png",22
```

(the mcl is to clear a sprite from earlier)

Most (some?) of the for loop animations in the game look like this:

```
for %Free1 = 1 to 7
resettimer
add %Free3,%Free1
sub %Free4,%Free1
msp msp_l,%Free3,0
msp msp_r,%Free4,0
print 1
waittimer 20
next
```

Ideally, I'd go through and fix all the for loop animations to insert the wait. However it is strange that most people can play the game without crashing, even without the delay in for loop animations. BUt due to the above I don't think this is the real problem

Guía de contribución

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

Línea de trabajo

El fallo ocurre en una escena específica con un efecto de animación de bucle for. Examina los archivos de script alrededor de la ubicación del fallo, probablemente en un script de escena para el episodio 5. Observa el código de animación que involucra comandos 'msp' y bucles for. Prueba los cambios ejecutando el juego en modo de depuración para ver si agregar un 'waittimer' o un retardo similar en el bucle previene el fallo. Verifica otras animaciones similares con bucles for en la base de código para mantener la coherencia.

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

Evaluación

Stack tecnológico
python
Área
game-dev
Tipo de issue
Error
Dificultad
4/5
Tiempo estimado
3-5 días
Estado de actividad
Estancado
Claridad
Bastante claro
Aptitud para principiantes
45/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.