GithubHelp home page GithubHelp logo

segabl / pd2-kill-feed Goto Github PK

View Code? Open in Web Editor NEW
5.0 5.0 6.0 270 KB

BLT mod for showing a customizable kill feed

License: GNU General Public License v3.0

Lua 100.00%
blt-mod hud mod payday-2 payday2 paydaymods ui

pd2-kill-feed's People

Contributors

chromka avatar deadnem avatar elreyzero avatar makinday avatar pjzuza avatar segabl avatar xanaguy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

pd2-kill-feed's Issues

Error after update.

Got this error.
Application has crashed: C++ exception
mods/KillFeed/killfeed.lua:398: bad argument #1 to 'pairs' (table expected, got boolean)

SCRIPT STACK


Callstack:

     payday2_win32_release  (???)     ???                                                 
     payday2_win32_release  (???)     ???                                                 
     payday2_win32_release  (???)     ???                                                 
     payday2_win32_release  (???)     ???                                                 
     payday2_win32_release  (???)     zip_get_name                                        
                     ntdll  (???)     RtlFreeHeap                                         
                  aswhookx  (???)     ???                                                 

Quality of Life(?) Additions.

While Kill Feed is a fantastic mod, I do feel as though there are some things that can be added to greatly improve. For example: If a cloaker kicks a player, the feed should display "Cloaker kicked (playername)" in text mode, and/or "Bulldozer and FBI Heavy SWAT downed (playername)" which will quickly identify any threat that's near the downed player so the rescuing player(s) can be on extra guard.

Crash shortly after spawning Captain Winters

A short time after the loudspeaker announces that Captain Winters has spawned, the game has a chance to crash. It does not happen all the time, it seems a specific set of conditions have to be fulfilled.

Sat Jul 08 09:03:19 2017


Application has crashed: C++ exception
mods/pd2-kill-feed-master/killfeed.lua:398: bad argument #1 to 'pairs' (table expected, got boolean)



SCRIPT STACK



-------------------------------

Callstack:

         payday2_win32_release  (???)     ???                                                 
         payday2_win32_release  (???)     ???                                                 
         payday2_win32_release  (???)     ???                                                 
         payday2_win32_release  (???)     ???                                                 
         payday2_win32_release  (???)     zip_get_name                                        
                         ntdll  (???)     RtlFreeHeap                                         
                         ntdll  (???)     RtlDosSearchPath_Ustr                               
         payday2_win32_release  (???)     zip_get_name                                        
                           ???  (???)     ???                                                 
                           ???  (???)     ???                                                 
                           ???  (???)     ???                                                 
                           ???  (???)     ???                                                 
                           ???  (???)     ???                                                 
                           ???  (???)     ???                                                 
                           ???  (???)     ???                                                 
                           ???  (???)     ???                                                 
                           ???  (???)     ???                                                 
                           ???  (???)     ???                                                 
                           ???  (???)     ???                                                 
                           ???  (???)     ???                                                 
                           ???  (???)     ???                                                 
                           ???  (???)     ???                                                 
                           ???  (???)     ???                                                 
                           ???  (???)     ???                                                 
                           ???  (???)     ???                                                 
                           ???  (???)     ???                                                 
                           ???  (???)     ???                                                 
         payday2_win32_release  (???)     ???                                                 


-------------------------------

Current thread: Main

-------------------------------

System information:
	Application version : 1.74.275.
	CPU : Intel(R) Core(TM) i5-6500 CPU @ 3.20GHz (2 cores); SSE; SSE2; SSE3; SSSE3; SSE4.1; SSE4.2
	DirectX : 12.0 
	GPU : NVIDIA GeForce GTX 1060 6GB / nvd3dum.dll[21.21.13.7653]
	Language : @ID94cca2fdaccfc2cd@
	Memory :     16264MB 136KB
	OS : 6.2.9200 () 0x300-0x1 (64 bits)
	Physics : threaded
	Renderer : DX9 threaded
	Sound : Realtek Semiconductor Corp. (Speakers (Realtek High Definition Audio))


Crash

I got this crash sometimes when im playing on hoxton breakout day 2

Application has crashed: C++ exception
mods/KillFeed/killfeed.lua:225: attempt to index a nil value

SCRIPT STACK

add_kill() @mods/KillFeed/killfeed.lua:300
_on_damage_received() @mods/KillFeed/killfeed.lua:383
sync_damage_explosion() lib/units/enemies/cop/copdamage.lua:2361
lib/network/handlers/unitnetworkhandler.lua:348


Callstack:

     payday2_win32_release  (???)     ???                                                 
     payday2_win32_release  (???)     zip_get_name                                        
     payday2_win32_release  (???)     zip_get_name                                        

Crash

I got this crash randomly during a heist, Maybe incompatible with Pocohud ?

Application has crashed: C++ exception
mods/KillFeed/killfeed.lua:71: attempt to concatenate local 'attacker_name' (a nil value)

SCRIPT STACK

new() core/lib/utils/coreclass.lua:35
add_kill() @mods/KillFeed/killfeed.lua:228
func() @mods/KillFeed/killfeed.lua:293
Call() @mods/base/req/core/Hooks.lua:109
_call_listeners() @mods/HopLib/lua/copdamage.lua:7
Run() lib/units/enemies/cop/copdamage.lua:2849
_on_damage_received() @mods/PocoHud3/poco/../poco/Hud3.lua:2340
sync_damage_fire() lib/units/enemies/cop/copdamage.lua:2540
lib/network/handlers/unitnetworkhandler.lua:376

Keeper Joker unnamed

There's an issue with the Keeper's mod being able to rename jokers. Any kill that that joker earns will show no name on the killfeed, kill or assist. No crashing, it's just that there's no name for the named joker.

For a future Pull Request:

bank_manager = { default = "Manager", dah = "Ralph Garnet" }

Using WolfHUD's "EnemyHealth" coding, I was able to get your mod to differentiate between First World Bank's Manager from Ralph Garnet. However, the second I killed him caused a crash:

mods/KillFeed/killfeed.lua:80: attempt to concatenate field 'name' (a table value)

SCRIPT STACK

new() core/lib/utils/coreclass.lua:35
add_kill() @mods/KillFeed/killfeed.lua:304
_on_damage_received() @mods/KillFeed/killfeed.lua:401
damage_bullet() lib/units/enemies/cop/copdamage.lua:597
give_impact_damage() lib/units/weapons/raycastweaponbase.lua:2164
on_collision() lib/units/weapons/raycastweaponbase.lua:2077
_fire_raycast() lib/units/weapons/shotgun/shotgunbase.lua:287
fire_original() lib/units/weapons/raycastweaponbase.lua:459
fire() @mods/WolfHUD/lua/BurstFire.lua:89
trigger_pressed() lib/units/weapons/raycastweaponbase.lua:356
_check_action_primary_attack() lib/units/beings/player/states/playerstandard.lua:4690
_update_check_actions() lib/units/beings/player/states/playerstandard.lua:886
update_original() lib/units/beings/player/states/playerstandard.lua:414
master_PlayerStandard_update() @mods/WolfHUD/lua/BurstFire.lua:212
original() @mods/Carry Stacker Reloaded/lua/playerstandard.lua:7
update() @mods/base/req/core/Hooks.lua:260
lib/units/beings/player/playermovement.lua:275

This is basically an idea for the Diamond Heist so Kill Feed doesn't confuse Ralph for the Bank Manager. Is there anything I can do from here to ensure working conditions? Lastly, I plan on adding every possible unit simply for Quality of Life (for different risk levels). Do you have a list of the internal names of the standard enemies?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.