smn bp crashes

Forum rules
NO LONGER BEING MAINTAINED!
Post Reply
weissheit
Posts: 14
Joined: Wed May 22, 2013 2:03 pm

smn bp crashes

Post by weissheit » Sun Aug 14, 2016 9:37 am

If smn uses bp but the mob dies before bp finishes it freezes pol.exe and closes it. I searched github and didn't see anything so is this a known issue or is there a fix?

nasomi
Posts: 141
Joined: Wed Feb 13, 2013 8:51 am

Re: smn bp crashes

Post by nasomi » Sat Aug 20, 2016 10:02 pm

In ability_state.cpp you need to add an exception block on ability finish, if target = null then return 0;. They exist in magic_state for spells, but i don't think all of the aiblity_state is done yet.

Edit: it may be in mobutils too, i would check where that ability goes off and look for a check.

Post Reply