Embric of Wulfhammer's Castle: PC orders in battle not loaded correctly #601

Closed
Siltala opened this Issue Sep 27, 2015 · 1 comment

Projects

None yet

3 participants

@Siltala
Siltala commented Sep 27, 2015

In this game, in combat the PC orders (not sure if that's the correct term. Attack/defend/item and the like.) don't seem to be loaded at all. In their place you are presented with an empty list of options, and pressing enter instantly crashes the game.

Steps to reproduce:

Screenshot of correct behavior using RPG_RT.exe: http://www.heavylobster.com/pics/embric_working.png
Screenshot of broken behavior using easyRPG: http://www.heavylobster.com/pics/embric_broken.png

@fdelapena
Member

Crash stack trace:

Program received signal SIGSEGV, Segmentation fault.
0x0000000000537731 in Scene_Battle_Rpg2k3::CommandSelected (this=0x452cab0)
    at src/scene_battle_rpg2k3.cpp:722
722     active_actor->SetLastBattleAction(command.ID);
#0  0x0000000000537731 in Scene_Battle_Rpg2k3::CommandSelected (this=0x452cab0)
    at src/scene_battle_rpg2k3.cpp:722
        command = @0x1802e16a90: <error reading variable>
#1  0x00000000005374b9 in Scene_Battle_Rpg2k3::ProcessInput (this=0x452cab0)
    at src/scene_battle_rpg2k3.cpp:638
No locals.
#2  0x00000000005260f4 in Scene_Battle::Update (this=0x452cab0)
    at src/scene_battle.cpp:175
        timer1 = 0
        timer2 = 0
        events_finished = true
#3  0x0000000000534d89 in Scene_Battle_Rpg2k3::Update (this=0x452cab0)
    at src/scene_battle_rpg2k3.cpp:90
No locals.
#4  0x000000000043dd4f in Player::Update (update_scene=true)
    at src/player.cpp:253
        framerate_interval = 16,666666666666668
        cur_time = 23002
#5  0x0000000000455856 in Scene::MainFunction (this=0x452cab0)
    at src/scene.cpp:96
        init = true
        __PRETTY_FUNCTION__ = "virtual void Scene::MainFunction()"
#6  0x000000000043da51 in Player::MainLoop () at src/player.cpp:181
No locals.
#7  0x000000000043d9da in Player::Run () at src/player.cpp:176
No locals.
#8  0x0000000000431ce5 in main (argc=2, argv=0x7fffffffe038)
    at src/platform/sdl_main.cpp:31
No locals.
@Ghabry Ghabry added this to the 0.4 milestone Dec 14, 2015
@Ghabry Ghabry added a commit to Ghabry/easyrpg-player that referenced this issue Dec 15, 2015
@Ghabry Ghabry EasyRPG loaded RPG_RT battle commands incorrectly (Fixes #601) c8bb475
@Ghabry Ghabry added a commit to Ghabry/easyrpg-player that referenced this issue Dec 16, 2015
@Ghabry Ghabry EasyRPG loaded RPG_RT battle commands incorrectly (Fixes #601) aec1c6f
@Ghabry Ghabry closed this in d196a0b Dec 17, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment