Player: Item use is abnormal

Created on 8 May 2019  路  14Comments  路  Source: EasyRPG/Player

(this is a post 0.6 regression)

Thank you for supporting EasyRPG Player.
Before creating an issue, please verify that your bug still occurs in the "continuous builds" of the Player.
You can get them at the bottom of our download section: https://easyrpg.org/player/downloads


Please fill in the following fields before submitting an issue:

Name of the game:宸村搱濮嗙壒

Player platform:Android

Windows, Linux, Android, ...

Attach files (as a .zip archive or link them)

  • A savegame next to the problem (if it is not at the beginning of the game)
  • The easyrpg_log.txt log file (you can find it in the game directory)

Describe the issue in detail and how to reproduce it:

Use item:椋涜鑸归仚鎺у櫒
The flight ship did not appear. The character could not move.

EvenInterpreter Patch available Regression Savegames

All 14 comments

@s9060666 thank you for the bug report. There are multiple games with the same name (宸村搱濮嗙壒), could you specify by providing a game download link?

@fdelapena
This is the URL of the game download.
http://www.mediafire.com/file/uqulbd1ggt9uuvw/

To extract the lzh use unar -e cp950 (Big5/Traditional chinese)

btw another game with duplicate folder names, must be manually merged.

Works for me in 0.6 and nightly. Closing as invalid for now.

@s9060666
Do you have a savegame (LSD) for us where this can be reproduced?

hm, with this save it is indeed reproducible. That is interesting. It works in 0.6 but not in our nightly build... let me test some PR builds

I reupped the save:
Save03.zip

@fmatthew5876 this one is interesting. Use the item described 椋涜鑸归仚鎺у櫒, is the last in the list. in 0.6 the airship appears. In master, #1771 and #1784 it is broken.

This bug is move route (possibly collision) related

chinesegame

When you use the item, this code is run. The event gets stuck at WaitForAllMovement

To see this better, walk a bit to the right and then use the item, you'll see the airship get stuck on the water.

So here's the bug with this one.

This must be an old EasyRPG save game, because the Vehicle events do not have their vehicle chunks set properly. When we save with RPG_RT, the vehicle chunk is normally always present for the boat, ship, and airship events.

Our new collision code uses the vehicle chunk to do vehicle specific checks. Since its missing from the save, the airship gets treated like a normal event and gets stuck on the water.

Interestingly, not only does RPG_RT work with this save, but if you load this save game and then save a new game, the vehicle chunks will still remain as 0.

So there are 2 possible fixes here:

  1. Always overwrite the vehicle chunks when we load saved games. This is not strictly RPG_RT compatible, but without hacking there is no way to create an RPG_RT save game without these chunks anyway.
  2. Refactor our collision code to work differently for the 3 Game_Vehicle events and ignore the chunk. More RPG_RT compatible, but requires big code changes just for something that can only happen due to broken saves to begin with..

I vote for (1) ..

Ah this explains why I couldn't reproduce it without this savegame.

Method one is fine

@Ghabry Is there a way to fix it in the near future?

@s9060666

This is now fixed in master

@fmatthew5876
When will it be put on the play store?

@s9060666 it may take some weeks yet. In the meanwhile, you can try the "continuous" build (master development branch) which contains the fix already:

https://ci.easyrpg.org/job/player-android/lastSuccessfulBuild/artifact/builds/android/app/build/outputs/apk/EasyRpgPlayerActivity.apk

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Siltala picture Siltala  路  25Comments

fmatthew5876 picture fmatthew5876  路  12Comments

carstene1ns picture carstene1ns  路  18Comments

jenes2 picture jenes2  路  13Comments

Tondorian picture Tondorian  路  18Comments