SydneyMOD / SydneyHUD

All-In-One PAYDAY2 HUD mod
http://modworkshop.net/mydownloads.php?action=view_down&did=18716
Other
17 stars 12 forks source link

[Highest Priority] Make compatibility to BLT2 #60

Closed katabame closed 6 years ago

katabame commented 7 years ago

PAYDAY2 is updated to add support for LuaJIT. thanks to it, BLT is updated to BLT2. Some of methods is outdated, SydneyHUD won't launch up anymore. maybe need rewrite bunch of codes, time to update to SydneyHUD v4.

KashEight commented 7 years ago

Probably, outdated methods will be disabled. I consinder the new way to solve it. (it is my opinion, so I do not support it is correct.)

MenuHelper

Make and use .json files instead of using the MenuHelper function. .json file-details is written next Localization.

Localization

I do not have the instead idea yet, sorry.

Json Menus

Make and definition the new .json files that support SydneyHUD's menu.

katabame commented 7 years ago

To see latest version of payday2 luajit files, see: BitBucket/TdlQ/payday-2-luajit (thanks NewHold for letting me know)

katabame commented 7 years ago

And those pages are will helpful. Payday 2: You're crashing with the new U153 and BLT 2.0? :: ModWorkShop How to "Update" Mods To Their New Forms? :: Reddit [Tutorial] How to update your basic LUA mods to BLT V2 :: Reddit

katabame commented 7 years ago

Reference: JamesWilko/Payday-2-BLT/#97

katabame commented 7 years ago

Bug report from Twitter user.

Mon Sep 04 11:14:37 2017

Application has crashed: C++ exception
mods/SydneyHUD-master/lua/ChatManager.lua:108: attempt to index global 'DelayedCallsFix' (a nil value)

SCRIPT STACK

init() @mods/SydneyHUD-master/lua/ChatManager.lua:33
new() core/lib/utils/coreclass.lua:35
add_game_chat() lib/managers/menu/menucomponentmanager.lua:2427
create() lib/managers/menu/menucomponentmanager.lua:2347
set_active_components() lib/managers/menu/menucomponentmanager.lua:429
set_active_components() @mods/base/lua/MenuComponentManager.lua:19
core/lib/managers/menu/coremenulogic.lua:89
_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:159
update() lib/managers/menumanagerpd2.lua:17
update() lib/setups/setup.lua:740
update() lib/setups/menusetup.lua:294
update() @mods/base/lua/MenuSetup.lua:6
core/lib/setups/coresetup.lua:537

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

Callstack:

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

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

Current thread: Main

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

System information:
    Application version : 1.76.326.
    CPU : Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz (2 cores); SSE; SSE2; SSE3; SSSE3; SSE4.1; SSE4.2
    DirectX : 12.0 
    GPU : NVIDIA GeForce GTX 1060 3GB / nvldumd.dll[22.21.13.8494]
    Language : @ID94cca2fdaccfc2cd@
    Memory :     8137MB 988KB
    OS : 6.2.9200 () 0x300-0x1 (64 bits)
    Physics : threaded
    Renderer : DX9 threaded
    Sound : NVIDIA Corporation (BenQ M2700HD-0 (NVIDIA High Definition Audio))

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

Source: https://twitter.com/choco_colonel/status/904680870040150016

katabame commented 7 years ago

some of user reported issue w/ DelayedCallsFix. SydneyHUD should be include codes of them. I'm working on.

katabame commented 7 years ago

some of user reported issue w/ DelayedCallsFix. SydneyHUD should be include codes of them. I'm working on.

katabame commented 7 years ago

almost stable. we can release v4.0-stable, isn't it?

katabame commented 7 years ago

@KashEight planning any modification or not?

katabame commented 6 years ago

v4.0.0 stable is now released.