Page 1 of 1

Various bugs playing as paradox mage

Posted: Mon Jan 23, 2012 8:33 am
by Vanilla Mint Ice
-Trying to cast static history while frozen will return a lua error

-Getting an achievement while in Cease to Exist makes the achievement pop up twice

-The Grand Corruptor irritatingly only targeted and attacked me in the Zigur invasion
Screenshot: Image
The log doesn't scroll up any further but as you can see, this was in the Spellblaze quest and the grand corruptor would attack me. In fact he only targeted me through out the whole thing.

I don't know why it happened but I was in the middle of Cease to Exist when he asked me if I want to join him in attacking Zigur so maybe that caused the problem? Atleast allow me to put him down when he pulls this kind of crap.

Re: Various bugs playing as paradox mage

Posted: Tue Jan 24, 2012 1:36 am
by Vanilla Mint Ice
Another new bug, rest is now broken on my character.
Image

If I don't stop I could probably rest for forever.

Re: Various bugs playing as paradox mage

Posted: Tue Jan 24, 2012 3:52 am
by edge2054
Sounds like you broke the time stream.

Seriously though I have a pretty good idea what happened with the Grand Corruptor.

What was the lua error when attempting to use static history while frozen?

No idea on the resting bug.

Thanks for reporting these.

Re: Various bugs playing as paradox mage

Posted: Tue Jan 24, 2012 5:46 am
by Vanilla Mint Ice
I figured out the resting bug, it was because I didn't have any mana regen while my mana is not full. It should just ignore a resource that will not restore itself no matter how many turns you spend.

But I found another bug, killing Drolem in the Back and there again quest with Cease to Exist causes the game to have a eternal loading bar.

I found this lua error near the end of the log after killing Drolem:
Make wait background texture 3132 : 1680x1050 (2048, 2048)
Lua Error: /engine/Projectile.lua:49: bad argument #1 to 'unpack' (table expected, got userdata)
At [C]:-1
At [C]:-1 unpack
At /engine/Projectile.lua:49 loaded
At /engine/class.lua:293 reload
At /engine/class.lua:308 recurs
At /engine/class.lua:307 recurs
At /engine/class.lua:307 recurs
At /engine/class.lua:314 cloneReloaded
At /mod/class/Game.lua:921 chronoRestore
At /mod/class/Actor.lua:1696
At /engine/Game.lua:231 onTickEndExecute
At /engine/Game.lua:222 tick
At /engine/GameEnergyBased.lua:58 tick
At /engine/GameTurnBased.lua:44 tick
At /mod/class/Game.lua:957
---------------- Stack Dump ----------------
2: table // 3e15e68
1: table // 3e15e68
--------------- Stack Dump Finished ---------------

Re: Various bugs playing as paradox mage

Posted: Tue Jan 24, 2012 8:33 am
by Varil
Weird. Normally it does ignore a resource if you have no regen for it(see : Arcane Blade, Shadowblade).

Re: Various bugs playing as paradox mage

Posted: Tue Jan 24, 2012 12:35 pm
by Avianpilot
True, but I the character does have a mana regen rate -- it's just a rate of 0. I'm thinking that the code still sees that as having a positive regen rate and is trying to continue resting until mana is full.

Re: Various bugs playing as paradox mage

Posted: Tue Jan 24, 2012 1:43 pm
by bricks
Probably a floating point error.

Re: Various bugs playing as paradox mage

Posted: Tue Jan 24, 2012 5:34 pm
by Vanilla Mint Ice
Here's the lua error for using static history while frozen:
Image

Re: Various bugs playing as paradox mage

Posted: Tue Jan 24, 2012 8:28 pm
by Vanilla Mint Ice
Eternal loading screen again, this time I killed some named orc necromancer at the prides wih Cease to Exist
Make wait background texture 1556 : 1680x1050 (2048, 2048)
Lua Error: /engine/Projectile.lua:49: bad argument #1 to 'unpack' (table expected, got userdata)
At [C]:-1
At [C]:-1 unpack
At /engine/Projectile.lua:49 loaded
At /engine/class.lua:293 reload
At /engine/class.lua:308 recurs
At /engine/class.lua:307 recurs
At /engine/class.lua:307 recurs
At /engine/class.lua:314 cloneReloaded
At /mod/class/Game.lua:921 chronoRestore
At /mod/class/Actor.lua:1696
At /engine/Game.lua:231 onTickEndExecute
At /engine/Game.lua:222 tick
At /engine/GameEnergyBased.lua:58 tick
At /engine/GameTurnBased.lua:44 tick
At /mod/class/Game.lua:957
---------------- Stack Dump ----------------
2: table // 4085e68
1: table // 4085e68
--------------- Stack Dump Finished ---------------
I noted that the last time this happened when I went to task manager the game was taking up 370K memory, this time it was 270K memory.

Re: Various bugs playing as paradox mage

Posted: Tue Jan 24, 2012 8:34 pm
by jotwebe
Hah, I have a save where I get the same thing whenever I come out of premonition.

Re: Various bugs playing as paradox mage

Posted: Tue Jan 24, 2012 9:01 pm
by edge2054
The Static History + Freeze bug seems related to the add on (the lua error seems to back this up and I tried to reproduce it with the add-on removed and it didn't reproduce).

The projectile bug is pretty well known. I'm hoping tiger_eye or darkgod can track that one down.

I'll get Darkgod a patch for the Cease To Exist + Grand Corruptor bug.