Noita
Beacons
Dani2D  [开发者] 11 月 14 日 下午 5:46
[FIXED] Issue: Firing the spell doesn't do anything
@6lancmange, could you try casting the spell with the Enable Logger mod enabled, then look at the logger.txt in the game's installation folder? (/steamapps/common/Noita)

Then in that file, could you Ctrl+F search for "beacons" and paste any lines that contain the word here?


EDIT: As of the patch on 25/11/2025, the spell should work as intended.
最后由 Dani2D 编辑于; 11 月 25 日 下午 12:27
< >
正在显示第 1 - 7 条,共 7 条留言
6lancmange 11 月 15 日 上午 10:06 
Gotcha! There's a whole bit about an error there. First there's this that's probably not important
Mod enabled: d2d_beacons 3576109074 Mod filesys cache build time - d2d_beacons: 3.1037 ms Calling init.lua d2d_beacons 3576109074
and later these
!problems! @ 1184, 992 - 1312, 1120 - Lua error - [string "mods/d2d_beacons/files/scripts/actions.lua"]:20: attempt to call global 'get_player' (a nil value) Stack traceback: [string "mods/d2d_beacons/files/scripts/actions.lua"]:20: in function 'action' [string "data/scripts/gun/gun.lua"]:208: in function 'play_action' [string "data/scripts/gun/gun.lua"]:283: in function 'draw_action' [string "data/scripts/gun/gun.lua"]:308: in function 'draw_actions' [string "data/scripts/gun/gun.lua"]:160: in function 'draw_shot' [string "data/scripts/gun/gun.lua"]:501: in function <[string "data/scripts/gun/gun.lua"]:486> Lua error - (skipping logging of recurring lua errors) DeleteFileImp(C:\Users\lpiot\AppData\LocalLow\Nolla_Games_Noita\save00\stats\_stats.xml) file failed - error code: 2

I'm assuming that last line isn't about this error in particular 'cause it only appeared after quitting the game, but I do wonder what that problem is D: The thing after that is about saving the player, so that's def irrelevant.
Dani2D  [开发者] 11 月 18 日 上午 8:20 
hmmmm, that's really weird. I see what the error is trying to say, but it doesn't make any sense if I look at the corresponding code on my side.

The only thing I can think of right now, is that somehow the code in your copy of the mod is different from the original. Could you take a loot at the "actions.lua" file (in /steamapps/workshop/content/881100/3576109074/files/scripts) and check if line 19 and 20 look like this?:

dofile_once( "data/scripts/lib/utilities.lua" ) local radar_id = get_internal_int( get_player(), "beacon_radar_id" )
6lancmange 11 月 18 日 上午 11:22 
dofile_once( "data/scripts/lib/utilities.lua" ) local radar_id = get_internal_int( get_player(), "beacon_radar_id" )
Yep, seems to be the same.
Dani2D  [开发者] 11 月 19 日 上午 2:47 
Could you try replacing all 3
get_player()
occurences in that file with
GetUpdatedEntityID()
and see if that makes a difference?
最后由 Dani2D 编辑于; 11 月 19 日 上午 2:48
6lancmange 11 月 19 日 下午 2:26 
It works now! (also with other mods turned back on)
Dani2D  [开发者] 11 月 25 日 下午 12:26 
nice!! I've patched this change into the mod so that this issue won't bother anyone else in the future (hopefully)
6lancmange 11 月 25 日 下午 5:48 
Hell yeah! I'm glad I could help :Hearthian_Wink:
< >
正在显示第 1 - 7 条,共 7 条留言
每页显示数: 1530 50