Crashing when using Shidos

Talk about anything related to Druidstone here.

Moderator: Sir Tawmis

Post Reply
mherbold
Posts: 8
Joined: Fri May 17, 2019 9:51 pm

Crashing when using Shidos

Post by mherbold » Fri May 17, 2019 9:54 pm

The game is great - I love it. Unfortunately, I have had the game crash on me twice with Lua scripting errors, both times when trying to use one of the summoned Shidos's abilities. I believe both crashes were two different abilities. One of the crashes was when I tried to use the red healing potion on one of my main characters (the Shido had the red healing potion as an ability). I can't remember what the other one was. The Lua error for the red potion one was having a string where an integer was expected. I think it saved the Lua crash somewhere on my computer. What do I need to do to help you fix this?

User avatar
petri
Posts: 117
Joined: Thu Apr 11, 2019 10:07 am

Re: Crashing when using Shidos

Post by petri » Sat May 18, 2019 2:52 pm

There should be a crash log at Documents/Ctrl Alt Ninja/Druidstone/shinobi.log. Could you please paste it here so that we can have a look? Which version of the game are you running? The version number is shown in the main menu.

mherbold
Posts: 8
Joined: Fri May 17, 2019 9:51 pm

Re: Crashing when using Shidos

Post by mherbold » Sat May 18, 2019 7:08 pm

Here you go! It has both crashes below. I believe for both crashes I tried to use a Shido ability on one of my heroes. I have the game via GOG. It auto-updated recently but I can't remember if it was before or after the crashes. I believe before.

=== Error ===

abilities.lua:0: attempt to perform arithmetic on field 'x' (a nil value)
stack traceback:
abilities.lua: in function 'call_hook'
item.lua: in function 'use_item'
hero.lua: in function 'update_hero'
battle.lua: in function 'battle_hero_phase'
battle.lua: in function <battle.lua:0>
[C]: in function 'xpcall'
main.lua: in function <main.lua:0>
stack traceback:
[C]: in function 'error'
main.lua: in function 'display'
main.lua: in function <main.lua:0>=== Error ===

objdefs.lua:0: attempt to compare number with string
stack traceback:
objdefs.lua: in function 'call_hook_obj'
mob.lua: in function 'heal_mob'
item.lua: in function 'call_hook'
item.lua: in function 'use_item'
hero.lua: in function 'update_hero'
battle.lua: in function 'battle_hero_phase'
battle.lua: in function <battle.lua:0>
[C]: in function 'xpcall'
main.lua: in function <main.lua:0>
stack traceback:
[C]: in function 'error'
main.lua: in function 'display'
main.lua: in function <main.lua:0>

User avatar
petri
Posts: 117
Joined: Thu Apr 11, 2019 10:07 am

Re: Crashing when using Shidos

Post by petri » Wed May 22, 2019 6:20 am

The bug should be fixed in the latest version. Thanks for your help!

Post Reply