Improved player targetting

A place to post your add ons and ideas for them

Moderator: Moderator

Message
Author
tilkau
Higher
Posts: 73
Joined: Tue Oct 21, 2014 4:52 am

Re: Improved player targetting

#16 Post by tilkau »

I was just trying to target a alchemist bomb within a relatively small area containing me, my golem and a unique mold, and the display blanked out and started looping, showing this in the terminal:

Code: Select all

Lua Error: /data/timed_effects/mental.lua:579: attempt to index field 'src' (a nil value)
	At [C]:-1 __index
	At /data/timed_effects/mental.lua:579 long_desc
	At /mod/class/uiset/Minimalist.lua:1285 handleEffect
	At /mod/class/uiset/Minimalist.lua:1518 displayBuffs
	At /mod/class/uiset/Minimalist.lua:2196 base_display
	At /mod/addons/qqq/superload/mod/class/uiset/Minimalist.lua:30 display
	At /mod/class/Game.lua:1478 
I may be able to provide more info if it happens again, but for now this is all I have.

Shesh
Wayist
Posts: 16
Joined: Wed Jun 11, 2014 9:07 pm

Re: Improved player targetting

#17 Post by Shesh »

Not sure about the above. Looks like there's problem with Dominated effect.

Added an option (per Sheila's request) in the Misc tab to enable/disable the binding of target number to hotkeys in the selection mode.

stinkstink
Spiderkin
Posts: 543
Joined: Sat Feb 11, 2012 1:12 am

Re: Improved player targetting

#18 Post by stinkstink »

Attempting to open the character sheet causes an error in 1.3.0

Code: Select all

Lua Error: /mod/addons/qqq/superload/mod/class/Actor.lua:155: attempt to call a nil value
        At [C]:-1
        At /mod/addons/qqq/superload/mod/class/Actor.lua:155 getSpeed
        At /mod/dialogs/CharacterSheet.lua:430 drawDialog
        At /mod/dialogs/CharacterSheet.lua:140 switchTo
        At /mod/dialogs/CharacterSheet.lua:129 init
        At /engine/class.lua:104 new
        At /mod/class/Game.lua:1907
        At /engine/KeyBind.lua:235

Shesh
Wayist
Posts: 16
Joined: Wed Jun 11, 2014 9:07 pm

Re: Improved player targetting

#19 Post by Shesh »

Thanks, fixed that char sheet problem.

Velorien
Archmage
Posts: 360
Joined: Thu Jan 12, 2012 9:09 pm

Re: Improved player targetting

#20 Post by Velorien »

Great addon, but I get the impression that it doesn't account for talents that let you teleport and attack in one move, like Dimensional Step or Blindside. Or at least weaver hatchlings in the Unhallowed Morass occasionally teleport up to me and attack from green status.

Edit: Also, the more I use it the more I realise what an amazing addon this is for chronomancers with all their speed-altering talents. You should make sure it's on Steam Workshop.

Edit 2: Also, it seems like the numbers don't update straight away when you use Dimensional Step to reveal new enemies which were previously outside LoS.

Einzbern
Higher
Posts: 52
Joined: Mon Aug 04, 2014 10:27 pm

Re: Improved player targetting

#21 Post by Einzbern »

I saw your post on the addon page itself saying you will fix the viewpoint adjustment, but playing on the latest version no longer seems to move my view when targeting things off screen. I took a quick look through the options and didn't see a toggle for this, either.

MisiuPysiu
Archmage
Posts: 379
Joined: Tue Nov 11, 2003 10:54 am
Location: Wroclaw/Poland

Re: Improved player targetting

#22 Post by MisiuPysiu »

Hey,

i just tried the addon with TOME 1.31 and after pressing the autoexplore button the screen starts blinking and the game crashes. In the te4_log file i get this error message:

Lua Error: /mod/addons/qqq/superload/mod/shesh/threats.lua:160: attempt to call local 'fnParams' (a nil value)
At [C]:-1 fnParams
At /mod/addons/qqq/superload/mod/shesh/threats.lua:160 showTips
At /mod/addons/qqq/superload/mod/class/uiset/Classic.lua:31 display
At /mod/class/Game.lua:1562

Regards.

Einzbern
Higher
Posts: 52
Joined: Mon Aug 04, 2014 10:27 pm

Re: Improved player targetting

#23 Post by Einzbern »

Seems whenever I encounter some mobs, I'll get spammed with LUA errors. Usually something like:

Lua Error: /mod/addons/qqq/superload/mod/class/Actor.lua:189: attempt to index field 'tactical' (a function value)
At [C]:-1__index
At /mod/addons/qqq/superload/mod/class/Actor.lua:189 getTalentsPower
At /mod/addons/qqq/superload/mod/class/Actor.lua:281 getPower
At /mod/addons/qqq/superload/mod/shesh/threats.lua:118 calcThreats
At /mod/addons/qqq/superload/mod/class/Game.lua:34 onTurn
At /engine/GameEnergyBased.lua:90 tick
At /engine/GameTurnBased.lua:51 tick
At /mod/class/Game.lua:1277

And a few more with:
At [C]:-1__index
At /mod/addons/qqq/superload/mod/class/Actor.lua:189 getTalentsPower
At /mod/addons/qqq/superload/mod/class/Actor.lua:281 getPower
At /mod/addons/qqq/superload/mod/shesh/threats.lua:118 calcThreats
At /mod/addons/qqq/superload/mod/class/Actor.lua:303 check
At /engine/interface/ActorTemporaryEffects.lua:218 removeEffect
At /engine/interface/ActorTemporaryEffects.lua:128 setEffect
At /data/general/events/necrotic-air.lua:30 check
At /engine/Map.lua:801 checkEntity
At /mod/class/Actor.lua:646 act
At /mod/class/NPC.lua:65 act
At /engine/GameEnergyBased.lua:129 tickLevel
At /engine/GameEnergyBased.lua:64 tick
At /engine/GameTurnBased.lua:51 tick
At /mod/class/Game.lua:1277


I've had this happen four times: Once as a skeleton archer vs some random skeleton warrior in Blighted Ruins, again vs the Half-Finished Bone Giant, vs Shax the Slimy, and lastly vs Bill.

Shesh
Wayist
Posts: 16
Joined: Wed Jun 11, 2014 9:07 pm

Re: Improved player targetting

#24 Post by Shesh »

Fixed this, 1.4.x compatibility issue.

Hellcommander
Archmage
Posts: 362
Joined: Tue Nov 09, 2010 7:43 pm

Re: Improved player targetting

#25 Post by Hellcommander »

Found an error during start of arena fight (just to note I have 3 extra members from adventure party mod):
[ZONE] persisting to persist_last_zones arena-unlock
Creating level arena-unlock 1
Lua Error: /mod/addons/qqq/superload/mod/shesh/threats.lua:160: attempt to index field 'level' (a nil value)
At [C]:-1 __index
At /mod/addons/qqq/superload/mod/shesh/threats.lua:160 showTips
At /mod/addons/qqq/superload/mod/class/uiset/Minimalist.lua:31 display
At /mod/class/Game.lua:1732
At [C]:-1 forceRedraw
At /engine/ui/Waiter.lua:72 getWaitDisplay
At /engine/ui/Dialog.lua:54 simpleWaiterTip
At /engine/Zone.lua:914 getLevel
At /mod/class/Game.lua:1036 changeLevelReal
At /mod/class/Game.lua:849 base_changeLevel
At /mod/addons/zomnibus/superload/mod/class/Game.lua:104 changeLevel
At /data/chats/arena-unlock.lua:104 action
At /engine/dialogs/Chat.lua:96 use
At /engine/dialogs/Chat.lua:49 fct
At /engine/ui/VariableList.lua:124 onUse
At /engine/ui/VariableList.lua:99 fct
At /engine/Mouse.lua:58 receiveMouse
At /engine/Mouse.lua:98 delegate
At /engine/ui/Dialog.lua:754 mouseEvent
At /engine/ui/Dialog.lua:485 fct
At /engine/Mouse.lua:58
Make wait background texture 1084 : 0x1085702144 (0, 1083236352)

Post Reply