Major Bug: Talent fizzle at lvl 37
Moderator: Moderator
Major Bug: Talent fizzle at lvl 37
Human bulwark here, level 37.
And suddenly all of my offensive talents produce the error screen. Heal infusions still work, as does repulse. But not assault, shield pummel, rush, etc.
The bug report is calling this an "Lua Error: /engine/interface/ActorTalents.lua:140:/engine/interface/ActorTalents.lua:129:attempt to index up value 'force_target' (a nil value)"
I would hate to lose all this game play. Can anyone help? Am I doomed?
And suddenly all of my offensive talents produce the error screen. Heal infusions still work, as does repulse. But not assault, shield pummel, rush, etc.
The bug report is calling this an "Lua Error: /engine/interface/ActorTalents.lua:140:/engine/interface/ActorTalents.lua:129:attempt to index up value 'force_target' (a nil value)"
I would hate to lose all this game play. Can anyone help? Am I doomed?
Re: Major Bug: Talent fizzle at lvl 37
I've seen this with certain mistakes I make coding my Mage Knight classes. They use Arcane Combat, and if there's an error in a spell or something that triggers during Arcane Combat, something seems to happen that keeps that force_target thing in there and it breaks their talents. My best guess is that it has something to do with an error somewhere during...I dunno...Weapon Mastery, maybe? It auto-triggers talents again right? Or maybe Riposte...
Unfortunately, I don't know how to actually get rid of the problem once it's happened, but I'd guess that's where it came in at.
Unfortunately, I don't know how to actually get rid of the problem once it's happened, but I'd guess that's where it came in at.
Re: Major Bug: Talent fizzle at lvl 37
any addons?
Re: Major Bug: Talent fizzle at lvl 37
Nope. No add-ons.
I can't believe it's ending this way, after hours and hours of play time. This makes the game basically unplayable. Why would anyone play if they know it could easily end like this?
I can't believe it's ending this way, after hours and hours of play time. This makes the game basically unplayable. Why would anyone play if they know it could easily end like this?
Re: Major Bug: Talent fizzle at lvl 37
Can you post a link to your online character sheet? And the full error output from the te4_log.txt file in the T-engine directory.
Re: Major Bug: Talent fizzle at lvl 37
Bear with me here:
I just established my online profile at te4.org/users/godmusic
I can't seem to locate the txt file you reference. Where exactly in the T Engine package is it located?
I just established my online profile at te4.org/users/godmusic
I can't seem to locate the txt file you reference. Where exactly in the T Engine package is it located?
Re: Major Bug: Talent fizzle at lvl 37
Still can't find the log file, but the complete error (transcribed w hopefully no typos) reads as follows:
Lua Error: /engine/interface/ActorTalents.lua:140: /engine/interface/ActorTalents.lua:129: attempt to index upvalue 'force_target' (a nil value)
At [C]:-1
At [C]:1 error
At /engine/interface/ActorTalents.lua.140 useTalent
At /engine/interface/PlayerHotkeys.lua:116
At /engine/interface/PlayerHotkeys.lua:108 activate Hotkey
At /engine/HotkeysIconsDisplay.lua:274 onMouse
At /mod/class/Game.lua:1562 fct
At /engine/Mouse.lua:48
Lua Error: /engine/interface/ActorTalents.lua:140: /engine/interface/ActorTalents.lua:129: attempt to index upvalue 'force_target' (a nil value)
At [C]:-1
At [C]:1 error
At /engine/interface/ActorTalents.lua.140 useTalent
At /engine/interface/PlayerHotkeys.lua:116
At /engine/interface/PlayerHotkeys.lua:108 activate Hotkey
At /engine/HotkeysIconsDisplay.lua:274 onMouse
At /mod/class/Game.lua:1562 fct
At /engine/Mouse.lua:48
Re: Major Bug: Talent fizzle at lvl 37
We should be able to rescue the player, but it may take a bit of work to help narrow down the bug. My first guess is that your character's `getTarget` function was overwritten by using the right-click menu targeting and then not replaced due to a bug, or a weird save timing. Can you confirm that you have used right-click targeting before?
If this is the case, then there are two ways to set the character right. I'll put them in order of independence on your part since that means you will not have to rely on us too much. First, you can enable cheat-mode, got into the in-game Lua console and run the following:
Second, you can zip your savefile up, put it on some file sharing site and we can run the above and send you the fixed savefile back. We are busy, so even though this is the easiest for you I wouldn't expect a quick turnaround. Good luck!
If this is the case, then there are two ways to set the character right. I'll put them in order of independence on your part since that means you will not have to rely on us too much. First, you can enable cheat-mode, got into the in-game Lua console and run the following:
Code: Select all
game.player.getTarget = engine.Actor.getTarget
<DarkGod> lets say it's intended
Re: Major Bug: Talent fizzle at lvl 37
Many thanks for the help.
I did as you suggested, created the cheat file, opened the Lua console with the game open, and typed the line you described and then hit return. Then I closed the Lua console.
Now, tho, when I try to use a talent, while I don't get a bug screen, and it says 'god music uses overpower,' or whatever, nothing actually happens. And the action does not turn up in the game log.
Thoughts?
I did as you suggested, created the cheat file, opened the Lua console with the game open, and typed the line you described and then hit return. Then I closed the Lua console.
Now, tho, when I try to use a talent, while I don't get a bug screen, and it says 'god music uses overpower,' or whatever, nothing actually happens. And the action does not turn up in the game log.
Thoughts?
Re: Major Bug: Talent fizzle at lvl 37
And yeah, I assigned my talents using right-click on the 'm' screen -- altho I did so both for the talents that are working (heal) and those that aren't (shield pummel, etc).
Re: Major Bug: Talent fizzle at lvl 37
That is what I get for typing without thinking too hard. Run this command in the Lua console:
I made you take the base Actor's getTarget, not the Player's getTarget which is interactive.
Code: Select all
game.player.getTarget = mod.class.Player.getTarget
<DarkGod> lets say it's intended
Re: Major Bug: Talent fizzle at lvl 37
Fixed!
(thrilled)
(thrilled)
Re: Major Bug: Talent fizzle at lvl 37
I can well imagine.God Music wrote:Fixed!
(thrilled)

<DarkGod> lets say it's intended
Re: Major Bug: Talent fizzle at lvl 37
Sorry for necro, but I've ran into this bug aswell, fixed it by using yufra's lua command, but when I save the game, exit the program and load that character, I still get this lua error message on talents that requires melee target.
Any suggestions ?
EDIT: I can reproduce the cause of this bug, if its needed
Any suggestions ?
EDIT: I can reproduce the cause of this bug, if its needed
Re: Major Bug: Talent fizzle at lvl 37
How do you reproduce it ?
[tome] joylove: You can't just release an expansion like one would release a Kraken XD
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning
