75 3,977 13,247 11 months ago
Comments
Avatar

everytime I get downed and someone tries to revive me, this happens

Application has crashed: C++ exception
mods/PD2-Interaction-Indicator/hooks/menumanager.lua:570: attempt to perform arithmetic on local 'total' (a nil value)

SCRIPT STACK

func() @mods/PD2-Interaction-Indicator/hooks/menumanager.lua:520
show_interaction_bar() @mods/base/req/core/Hooks.lua:272
animate() @mods/MUI/lua/mui_interact.lua:97
pd_start_progress() @mods/MUI/lua/mui_manager.lua:489
original() lib/units/beings/player/playerdamage.lua:2289
pause_downed_timer() @mods/base/req/core/Hooks.lua:264
enter() lib/units/player_team/logics/teamailogicidle.lua:84
set_logic() lib/units/enemies/cop/copbrain.lua:426
_exit() lib/units/enemies/cop/logics/coplogicbase.lua:198
on_new_objective() lib/units/player_team/logics/teamailogicidle.lua:512
_on_destination_reached() lib/units/enemies/cop/logics/coplogictravel.lua:1483
update() lib/units/enemies/cop/logics/coplogictravel.lua:264
lib/units/enemies/cop/copbrain.lua:239


Callstack:

     payday2_win32_release  (???)     ???                                                 
     payday2_win32_release  (???)     ???                                                 
     payday2_win32_release  (???)     ???                                                 
     payday2_win32_release  (???)     ???                                                 
     payday2_win32_release  (???)     ???                                                 
                  KERNEL32  (???)     BaseThreadInitThunk                                 
                     ntdll  (???)     RtlInitializeExceptionChain                         
                     ntdll  (???)     RtlClearBits                                        
     payday2_win32_release  (???)     ???                                                 

Current thread: Main


System information:
Application version : 1.140.211
CPU : 12th Gen Intel(R) Core(TM) i7-12700 (10 cores); SSE; SSE2; SSE3; SSSE3; SSE4.1; SSE4.2
DirectX : 12.0
GPU : NVIDIA GeForce RTX 3060 / nvldumd.dll[31.0.15.3623]
Language : english
Memory : 16099MB 20KB
OS : 6.2.9200 () 0x300-0x1 (64 bits)
Physics : threaded
Renderer : DX9 threaded
Sound : NVIDIA Corporation (24G2W1G4 (NVIDIA High Definition Audio))

Avatar

Thanks very much for the report! I'll try and fix this soon.
Side note: It looks like you're using an old version of MUI, so make sure to keep that updated.

Avatar

Hey! i've turn off MUI interaction indicator for the compatibility. How can i change text ("HOLD [F] TO USE THE DRILL") size? I can only change the timer font size in this mod:(

Avatar

That text is part of the base game HUD, not from the Interaction Indicator mod, so you will need another mod to change that. Something simple like this would do:

local interact_text_font_size = 16
--change to your desired font size here

Hooks:PostHook(HUDInteraction,"init","xonn_increase_interact_font_size",function(self,hud,child_name)
    if alive(self._hud_panel) then
        local interact_text = self._hud_panel:child(self._child_name_text)
        if alive(interact_text) then
            interact_text:set_font_size(interact_text_font_size) 
            --assume that invalid text is also present
            self._hud_panel:child(self._child_ivalid_name_text):set_font_size(interact_text_font_size) --"ivalid" is how it's spelled in the game files, do not correct
        end
    end
end)

Hook to lib/managers/hud/hudinteraction.

Avatar

@offyerrocker Hey, i put together this mod, and sent you mod ownership, feel free to accept it :) mod: mod/42802

Avatar

Thank you both, just what I was looking for :)
both mods are great

Avatar

My custom interaction circle placed into mod_overrides dosen't work!

Avatar

This mod should work with any custom interaction circle retextures.
Was it working before you installed "Interaction Indicator" (ie, do you have it installed correctly)? Can you link me to the interaction circle mod you're using?

Avatar

pdth hud compatibility??? pls i like this mod

Avatar

What happens when you try to use it with PDTH HUD?

Avatar

@Offyerrocker I can't see the timer but the indicator works right

Avatar

Is this compatible with the Hotline miami hud?

Avatar

No idea! Try it and report back. If there's a compatibility issue, I'll investigate and patch it when I have time.

Avatar

This mod is also compatible with Hotline Miami HUD. Thanks for the work :)

Avatar

A constant issue I have is when I go down and get revived, the interaction circle stays on screen, in certain places, and constantly moves if near other interactions. The circle gets locked in the place it last was when moving away from the interaction. Is that standard vanilla affair or is this related to the mod?

Avatar

That's a bug with this mod- thanks for the report. I'm working on a fix for this, so stay tuned.

Avatar

@Offyerrocker Another mini bug occurred when viewing cameras. The indicator stayed there and aimed to where my character was in the cameras.

Avatar

@Stray Cat Thanks for the report- I'm aware of this bug, and a fix for this is scheduled in the next update.

Avatar

I can confirm that the mod is compatable with VoidUI

Avatar

been using this for a few days with vanillahudplus and its perfect other than when in cameras it still shows the pointer to wherever the cam room is, and if you place a deployable at the end of a heist and your interaction is not finished it will pause the interaction icon and show it untill your payday is chosen and you go back to lobby.

Avatar

Thanks for the report! I'll work on a fix for this.

Avatar

My settings

if i put interaction circle alignment to center, the interaction finished circle still appears

Video of issue

Avatar

Thanks, I'll make another pass for compatibility with MUI. (I'm assuming you're using MUI with the MUI interaction circle disabled?)

Avatar

@Offyerrocker yes i am using mui with mui interaction disabled ^^

edit: actually it was enabled (that was the problem)

Avatar

@Offyerrocker i will try with other settings and see, probably my fault

Read All Replies (5 replies)
Avatar

Through my testing this mod does work with Void UI I just recommend that you disable the interaction timer (Void UI already has one) & circle.

Avatar

Its A Good Mod I Like It i was deleted WolfHUD Cuz it was have a bad health bar for me so i got this mod for timer maybe it can help me

Avatar

My game crashed when a bot/player started to pick me up. Perhaps this is due to the fact that when you are picked up, an interaction circle is shown...

Spoiler!

Application has crashed: C++ exception
mods/Interaction Indicator/hooks/menumanager.lua:798: attempt to perform arithmetic on local 'current' (a nil value)

SCRIPT STACK

func() @mods/Interaction Indicator/hooks/menumanager.lua:558
show_interaction_bar() @mods/base/req/core/Hooks.lua:294
animate() @mods/MUI/lua/mui_interact.lua:103
pd_start_progress() @mods/MUI/lua/mui_manager.lua:482
_PlayerDamage_pause_downed_timer() lib/units/beings/player/playerdamage.lua:2200
original() @mods/ProjectCellBeta/Lua/libs/playerdamage.lua:5
_PlayerDamage_pause_downed_timer() @mods/base/req/core/Hooks.lua:288
_PlayerDamage_pause_downed_timer() @mods/ProjectCellBeta/Lua/libs/playerdamage.lua:5
pause_downed_timer() @mods/ProjectCellBeta/Lua/libs/playerdamage.lua:5
enter() lib/units/player_team/logics/teamailogicidle.lua:84
set_logic() lib/units/enemies/cop/copbrain.lua:418
_exit() lib/units/enemies/cop/logics/coplogicbase.lua:198
on_new_objective() lib/units/player_team/logics/teamailogicidle.lua:512
_on_destination_reached() lib/units/enemies/cop/logics/coplogictravel.lua:1483
update() lib/units/enemies/cop/logics/coplogictravel.lua:264
lib/units/enemies/cop/copbrain.lua:231

Avatar

Thanks for the report! This should now be fixed in 1.0.2.

Avatar

pretty good mod,I can also confirm that it works with Warframe Hud

Avatar

Thanks for confirming that! I've written it in the mod page description now.

Avatar

@Offyerrocker No problem,also when you interact with looking through cameras it keeps the line on the screen till you leave the cams

Avatar

Got this when attempting to change the dot colour

Spoiler!

Application has crashed: C++ exception
mods/Interaction Indicator/hooks/menumanager.lua:895: attempt to call method 'Show' (a nil value)

SCRIPT STACK

trigger() core/lib/managers/menu/items/coremenuitem.lua:161
core/lib/managers/menu/coremenulogic.lua:286
_execute_action_queue() core/lib/managers/menu/coremenulogic.lua:54
update() core/lib/managers/menu/coremenulogic.lua:64
update() core/lib/managers/menu/coremenumanager.lua:155
original() lib/managers/menumanagerpd2.lua:20
update() @mods/base/req/core/Hooks.lua:288
original() lib/setups/setup.lua:888
update() @mods/base/req/core/Hooks.lua:288
update() lib/setups/menusetup.lua:358
update() @mods/base/lua/MenuSetup.lua:5
core/lib/setups/coresetup.lua:557


Callstack:

     payday2_win32_release  (???)     ???                                                 
     payday2_win32_release  (???)     ???                                                 
     payday2_win32_release  (???)     ???                                                 
     payday2_win32_release  (???)     zip_get_name                                        
                     ntdll  (???)     RtlDosSearchPath_Ustr                               
                     ntdll  (???)     RtlRestoreLastWin32Error                            
                     ntdll  (???)     ZwQueryVirtualMemory                                
                KERNELBASE  (???)     VirtualQueryEx                                      
                KERNELBASE  (???)     SetUnhandledExceptionFilter                         
                KERNELBASE  (???)     SetUnhandledExceptionFilter                         
     payday2_win32_release  (???)     ???                                                 
     payday2_win32_release  (???)     zip_get_name                                        

Current thread: Main


System information:
Application version : 1.130.136
CPU : AMD Ryzen 5 5600X 6-Core Processor (6 cores); SSE; SSE2; SSE3; SSSE3; SSE4.1
DirectX : 12.0
GPU : NVIDIA GeForce GTX 1650 / nvldumd.dll[31.0.15.2225]
Language : english
Memory : 16310MB 96KB
OS : 6.2.9200 () 0x100-0x1 (64 bits)
Physics : threaded
Renderer : DX9 threaded
Sound : VB-Audio Software (VoiceMeeter Input (VB-Audio VoiceMeeter VAIO))

EDIT: The line for tripmines goes to the end of the beem and not the tripmine itself
Appolagies for the fast fault finding :)

Avatar

Fixed a crash when trying to use the color-changing option without Color Picker installed- now it should display a pop-up warning instead of just crashing. Thanks for the report!
(I'd also forgotten to properly list Color Picker as a dependency- whoops!)

As for the tripmine interaction- currently, that line endpoint is determined automatically for all interactions, but I'll have to start compiling a list of interactions/interaction units that have strange interaction boundary boxes like Trip Mines, so that I can manually adjust those ones. Thanks again for the report, and please do tell me about other such off-center interaction lines in the future.

Avatar

@Offyerrocker Happy to help love the mod so far. Will keep an eye out for more wierd line positions.

Avatar

@Offyerrocker Charging a melee weapon and reloading displays the circle in the last possition it was from your last interaction
For example if i was interacting with a pager and moved my camera, with the interaction circle allignment set to interact target, and it finished with the cirgle being at the top left, when reloading and charging a meeleee weapon its time will appear in the top left.

Hope my terrible describing of a scenario helps, if not i can try and record it so you can see what i mean.

EDIT i am using void ui and vannilla hud +
This happens when void UI's own iteraction bar timer is on and off, will do some testing to see if its an issue with either of the huds and will add my findings.

EDIT V2: This all goes away when disabling show interact timer, melee charge and reload timers within vanilla hud +. appart from this there are no issues that i am yet to find runnign van hud + and void UI with this awesome mod :)

EDIT V3: The issue above still occurs when placing a deployable. (can you tell i like testing mods :) )

Avatar

Oh? a potential replacement for Void UI's interaction bar

Avatar

hey, that's pretty good

Avatar

kept you waiting, huh

50 935