Bubbus / ACF-Missiles

Racked munitions for ACF
MIT License
24 stars 13 forks source link

"attempt to call method 'SetNetworkedBeamFloat'" (broken missile info bubble), Linux server / Windows SP #128

Closed TheMrFailz closed 5 years ago

TheMrFailz commented 5 years ago

`[ERROR] addons/acfmissiles/lua/entities/acf_rack/init.lua:495: attempt to call method 'SetNetworkedBeamFloat' (a nil value)

  1. UpdateRefillBonus - addons/acfmissiles/lua/entities/acf_rack/init.lua:495
    1. unknown - addons/acfmissiles/lua/entities/acf_rack/init.lua:512`

Occurs serverside ^ `[ERROR] addons/acfmissiles/lua/entities/acf_rack/shared.lua:20: attempt to call method 'GetNetworkedBeamString' (a nil value)

  1. GetOverlayText - addons/acfmissiles/lua/entities/acf_rack/shared.lua:20
    1. DoNormalDraw - addons/acfmissiles/lua/entities/acf_rack/cl_init.lua:42
    2. unknown - addons/acfmissiles/lua/entities/acf_rack/cl_init.lua:12 ` Occurs clientside ^

Happens while attempting to look at or near any missile rack. Appears to be that something's gone wrong with missile info bubbles. Fresh install of ACF Missiles (done multiple times now to make sure the download didn't glitch), ACF, and Wire all done via the zip download option. Server is running Ubuntu 18.04.2 w/ 4.15.0-45 kernel. Update: This also occurs in SP on a windows 10 machine running on both normal and chromium branches . I've removed everything except ACF, Wire, and Missiles and this still happens.

Addons installed are the following: https://i.imgur.com/c6M0ebI.png https://steamcommunity.com/sharedfiles/filedetails/?id=1717553691

TheMrFailz commented 5 years ago

Update: Removing the word "beam" from all related function calls in lua/entities/acf_rack/init.lua and shared.lua fixes the problem and allows info bubbles to work again.