Hello, I have an issue with Valheim Fortress. The Noob Ballista won't target the summoned enemies. It still works on standard enemies and there are no errors in BepInEx console.
The enemies summoned by Valheim Fortress are of the boss faction. I have enabled the boss targeting, but it doesn't work.
Sorry. I am working on another project. I have replay to your message. The latest version V1.3.9 link included. Please report back to me so we can have a proper official release.
For some reason modifying the damage numbers does not do anything. I change everything to 0 and the turrets deal a lot of damage to a troll (around 200 to 500).
Love your mod - as a relaxed solo player, I need noob help like your 4 year old ;) Looks like there is a bug with the ashland release or a mod incompatibility. I'm getting the following red text wall in the console: [Error : Unity Log] MissingMethodException: Method not found: Character .BaseAI.FindClosestCreature(UnityEngine.Transform,UnityEngine.Vector3,single,single,single,bool,bool,bool,bool,bool,System.Collections.Generic.List`1<Character>) Stack trace: (wrapper dynamic-method) Turret.DMD<Turret::UpdateTarget>(Turret,single) Turret.FixedUpdate () (at <67f3c386e04446c49523ecfd5b8921c2>:0)
Hmm, found one problem I made 30 bolts and used shift key to add all ammo and it filled it with 100. I have is RequiredAmmo is the only option that is enabled. I dont know if your mod is like that but betterui Forever Maintained adds that in, so maybe needs to make compatible with it?
[Warning:Jotunn.EventExtensions] Exception thrown at event InvokeOnVanillaObjectsAvailable in NoobBallista.CreateNoobBallista: System.NullReferenceException: Object reference not set to an instance of an object at NoobBallista.NoobBallista.CreateNoobBallista () [0x000b3] in <3173eb5a61e34044b1f4f29bbf5fed39>:0 at Jotunn.EventExtensions.SafeInvoke (System.Action events) [0x00018] in D:\Projects\Jotunn\JotunnLib\Extensions\EventExtensions.cs:26 [Warning:Jotunn.EventExtensions] Exception thrown at event InvokeOnVanillaObjectsAvailable in NoobBallista.CreateNoobBolt: System.NullReferenceException: Object reference not set to an instance of an object at NoobBallista.NoobBallista.CreateNoobBolt () [0x00069] in <3173eb5a61e34044b1f4f29bbf5fed39>:0 at Jotunn.EventExtensions.SafeInvoke (System.Action events) [0x00018] in D:\Projects\Jotunn\JotunnLib\Extensions\EventExtensions.cs:26
[Warning:Jotunn.EventExtensions] Exception thrown at event InvokeOnVanillaObjectsAvailable in NoobBallista.CreateNoobBallista: System.NullReferenceException: Object reference not set to an instance of an object at NoobBallista.NoobBallista.CreateNoobBallista () [0x000b3] in <472eba253ff940b8ab9bfbdcb4ebf240>:0 at Jotunn.EventExtensions.SafeInvoke (System.Action events) [0x00018] in D:\Projects\Jotunn\JotunnLib\Extensions\EventExtensions.cs:26 [Warning:Jotunn.EventExtensions] Exception thrown at event InvokeOnVanillaObjectsAvailable in NoobBallista.CreateNoobBolt: System.NullReferenceException: Object reference not set to an instance of an object at NoobBallista.NoobBallista.CreateNoobBolt () [0x00069] in <472eba253ff940b8ab9bfbdcb4ebf240>:0 at Jotunn.EventExtensions.SafeInvoke (System.Action events) [0x00018] in D:\Projects\Jotunn\JotunnLib\Extensions\EventExtensions.cs:26
Why is it saying D:\Projects\JotunnLib , when my Jotunn is installed on C: drive. That coould be the problem?
I do happen to have that other mod. What leads you to believe that the two are conflicting to cause this? You don't mention removing one or the other and having the warning disappear. I have 79 active mods, so I have quite a few conflict culprits to make me paranoid. Also, if for you this warning is only now appearing for you, after the .28 or .29 game update, after using this mod for a while, then that is curious because for me the warning *was not*, it was triggered when I first tried this mod weeks ago. Look at my post date.
Wait... did you just REMOVE that post of yours implying an issue with it while I was typing this? I don't see it now after Submitting.
The reason you see a drive "D:" referenced in the warning is because the developer of Jotunn or this mod were doing development work on a drive D:. It has no relationship to where any of those files sit in our systems.
Yea my bad I removed, after seeing the D:, Ive had no issue with any other mod with Jotuun. I will try to disable IM Friendly and see if they conflict. I just put mod updated because it just updated, this is the first time I tried using this as Ive increased difficulty on my playthrough. Im running about 87 mods as well and Im friendly is the only culprit I can think of with this mod.
There is another turret mod, but it's MUCH less lore-friendly... when you look at it you'll see what I mean. That new fishing drone in it, that's a hoot! It's like a cat bringing home "trophies" and dropping them at your feet. :-)
I made the mistake of punishing myself with maximum combat difficulty, and it's beyond maximum for me, so now I need those turrets to defend against multi-troll base attacks and hordes assaulting me every time I take an axe or pickaxe to anything. If I don't set up half a dozen of them before mining copper or silver, I'd never get anything done. The same number of ballistas wouldn't cut it. Digging bloody moats around everything gets very quickly tiresome, though I thought it was fun the first few times. It's more fun skipping the moats and watching the turrets perforate things, almost as much fun as watching trees fall on them.
I have the latest update but i can't push it yet because still trying to figure out how to reproduce this bug. I might have an idea of what happen but i can't test it if i can't reproduce the bug. I try to push it this week if possible.
The Warning is still present today with different versions of most everything, unchanged and identical character-for-character. Even though it's only a Warning, it's fatal for the mod. No new ballista appears in the Hammer's crafting UI. I expected it to appear in Misc alongside the original ballista, but I checked every other tab (and for a new one).
I save the Player.log file, which you can have if the context is useful.
Hi, i am apologize. The plugin have a critical error that not occur to my game but produced mostly to other player. V1.2.4 should be fixed. Please let me know if the error still occur.
I updated the mod to 1.2.4 and redeployed it, and I'm getting substantially the same Warnings:
[Warning:Jotunn.EventExtensions] Exception thrown at event InvokeOnVanillaObjectsAvailable in NoobBallista.CreateNoobBallista: System.NullReferenceException: Object reference not set to an instance of an object at NoobBallista.NoobBallista.CreateNoobBallista () [0x0000c] in <281445d06f3a4644a04f41cc7da49387>:0 at Jotunn.EventExtensions.SafeInvoke (System.Action events) [0x00018] in D:\Projects\Jotunn\JotunnLib\Extensions\EventExtensions.cs:26 [Warning:Jotunn.EventExtensions] Exception thrown at event InvokeOnVanillaObjectsAvailable in NoobBallista.CreateNoobBolt: System.NullReferenceException: Object reference not set to an instance of an object at NoobBallista.NoobBallista.CreateNoobBolt () [0x00018] in <281445d06f3a4644a04f41cc7da49387>:0 at Jotunn.EventExtensions.SafeInvoke (System.Action events) [0x00018] in D:\Projects\Jotunn\JotunnLib\Extensions\EventExtensions.cs:26
Could this be a conflict with another mod? If it is, do the warnings offer any clues to what type of mod that might be?
And this is turning into another long-scrolling thread, so if I'm the only person having this issue then I should deal with it quietly myself.
I have the exact same error last night. It's in yellow color. I move the ballista tweak to other location and the error was gone. Somehow i need to find a way to reproduce the error precisely. I ll look into it again and thanks for the report.
Hi, please try this one. I break the Ballista scale for the previous version so this one the actual publish version fixed it. I publish this scale fix after i stress test the Ballista. And thank you for reporting back to me.
Download here.
NOTE: I do notice i fixed one of two of the errors. I didn't see it (from the log you guys posted) until yesterday.
Still get error but looks like a different one now.
[Error : Unity Log] NullReferenceException: Object reference not set to an instance of an object Stack trace: NoobBallista.NoobBallistaPlugins.Awake () (at <62945f13e6324b5f90e593986745d91a>:0) UnityEngine.GameObject:AddComponent(Type) BepInEx.Bootstrap.Chainloader:Start() UnityEngine.UI.Graphic:get_canvas() TMPro.TextMeshProUGUI:OnCanvasHierarchyChanged()
The error caused by an asset(texture) missing from the plugin root folder. This still not concluded if the Jotun safe invoke was fixed. This mistake come from me. Can you test one more time with everything in place.
Made one and it works perfectly, thanks for taking the time to fix this mod. The other mod I was using for turrets was script heavy but cool. This is a nice replacement and more lore friendly.
I wandered off for a time while giving my wife some joy buying Baldur's Gate 3 for myself (she already had it) and obsessively playing it co-op with her, but you're welcome for what feedback I could provide and I'll try this again when I can undo some stupidity on my part that caused me to lose all my legendary gear in an instant.
Bad news, it stopped working now for some reason. Getting the Jotunn Warning again. With the Thunderstore file and the update you gave me before you posted it. [Warning:Jotunn.EventExtensions] Exception thrown at event InvokeOnVanillaObjectsAvailable in NoobBallistaPlugins.SetupNoobBallista: System.NullReferenceException: Object reference not set to an instance of an object at NoobBallista.NoobBallistaPlugins.SetupNoobBallista () [0x00020] in <996663aa65e64183bdc5860484a1c34f>:0 at Jotunn.EventExtensions.SafeInvoke (System.Action events) [0x00018] in D:\Projects\Jotunn\JotunnLib\Extensions\EventExtensions.cs:26
I figured out how to fix it, the folder r2modman installs it in a folder named improperly. The folder needs to be named GsiX.NoobBallista if installed to any other folder not named exactly like it, it will throw the warning and cause the mod not to work. Mod managers install it into a folder called GsiX-NoobBallista which causes it not to work. I dont know if you can fix this or not! So it needs a period not a dash for it to work.
Thank you for reporting your find. That probably a texture load error. I will embed the texture in the dll and call it internally. It will eliminate the need of folder name and path.
Hi, i have the 1.2.6 pushed just now. The dir path requirement has been eliminated. I tested every possible scenario and the error did not occur. Do let me know if you encountered the same error on your end. Thank you.
I am not sure how you unable to run this mod properly. Have you try to look at the notification, in my case top right corner, the bell icon, it should say "Deployment requires elevation" then press the "Elevate" button.
55 comments
I tried to add the Bolt but it says i cant add it to infinity ballista. sorry my english
I have an issue with Valheim Fortress. The Noob Ballista won't target the summoned enemies. It still works on standard enemies and there are no errors in BepInEx console.
The enemies summoned by Valheim Fortress are of the boss faction. I have enabled the boss targeting, but it doesn't work.
Thank you! ^^
Looks like there is a bug with the ashland release or a mod incompatibility.
I'm getting the following red text wall in the console:
[Error : Unity Log] MissingMethodException: Method not found: Character .BaseAI.FindClosestCreature(UnityEngine.Transform,UnityEngine.Vector3,single,single,single,bool,bool,bool,bool,bool,System.Collections.Generic.List`1<Character>)
Stack trace:
(wrapper dynamic-method) Turret.DMD<Turret::UpdateTarget>(Turret,single)
Turret.FixedUpdate () (at <67f3c386e04446c49523ecfd5b8921c2>:0)
I'm hoping GsiXG6 will update it soon.
Thank you for the mod
Edit: I have it figured. Drag and drop.. lol sorry..
EDIT: My bad.. i didn't count how many turret bolt inside player's inventory. 1.2.7 will fix this.
EDIT2: V1.2.7 also including config to customize the Ballista and Bolt name.
[Warning:Jotunn.EventExtensions] Exception thrown at event InvokeOnVanillaObjectsAvailable in NoobBallista.CreateNoobBallista:
System.NullReferenceException: Object reference not set to an instance of an object
at NoobBallista.NoobBallista.CreateNoobBallista () [0x000b3] in <3173eb5a61e34044b1f4f29bbf5fed39>:0
at Jotunn.EventExtensions.SafeInvoke (System.Action events) [0x00018] in D:\Projects\Jotunn\JotunnLib\Extensions\EventExtensions.cs:26
[Warning:Jotunn.EventExtensions] Exception thrown at event InvokeOnVanillaObjectsAvailable in NoobBallista.CreateNoobBolt:
System.NullReferenceException: Object reference not set to an instance of an object
at NoobBallista.NoobBallista.CreateNoobBolt () [0x00069] in <3173eb5a61e34044b1f4f29bbf5fed39>:0
at Jotunn.EventExtensions.SafeInvoke (System.Action events) [0x00018] in D:\Projects\Jotunn\JotunnLib\Extensions\EventExtensions.cs:26
System.NullReferenceException: Object reference not set to an instance of an object
at NoobBallista.NoobBallista.CreateNoobBallista () [0x000b3] in <472eba253ff940b8ab9bfbdcb4ebf240>:0
at Jotunn.EventExtensions.SafeInvoke (System.Action events) [0x00018] in D:\Projects\Jotunn\JotunnLib\Extensions\EventExtensions.cs:26
[Warning:Jotunn.EventExtensions] Exception thrown at event InvokeOnVanillaObjectsAvailable in NoobBallista.CreateNoobBolt:
System.NullReferenceException: Object reference not set to an instance of an object
at NoobBallista.NoobBallista.CreateNoobBolt () [0x00069] in <472eba253ff940b8ab9bfbdcb4ebf240>:0
at Jotunn.EventExtensions.SafeInvoke (System.Action events) [0x00018] in D:\Projects\Jotunn\JotunnLib\Extensions\EventExtensions.cs:26
Why is it saying D:\Projects\JotunnLib , when my Jotunn is installed on C: drive. That coould be the problem?
Wait... did you just REMOVE that post of yours implying an issue with it while I was typing this? I don't see it now after Submitting.
The reason you see a drive "D:" referenced in the warning is because the developer of Jotunn or this mod were doing development work on a drive D:. It has no relationship to where any of those files sit in our systems.
I save the Player.log file, which you can have if the context is useful.
V1.2.4 should be fixed. Please let me know if the error still occur.
EDIT: Read the changelog for more info.
And this is turning into another long-scrolling thread, so if I'm the only person having this issue then I should deal with it quietly myself.
Download here V1.2.5
I can no longer reproduce the same error like last night so i have to shoot in the dark.
I publish this scale fix after i stress test the Ballista. And thank you for reporting back to me.
Download here.
NOTE: I do notice i fixed one of two of the errors. I didn't see it (from the log you guys posted) until yesterday.
[Error : Unity Log] NullReferenceException: Object reference not set to an instance of an object
Stack trace:
NoobBallista.NoobBallistaPlugins.Awake () (at <62945f13e6324b5f90e593986745d91a>:0)
UnityEngine.GameObject:AddComponent(Type)
BepInEx.Bootstrap.Chainloader:Start()
UnityEngine.UI.Graphic:get_canvas()
TMPro.TextMeshProUGUI:OnCanvasHierarchyChanged()
Download here
Thank you for your help. I appreciate it so much.
[Warning:Jotunn.EventExtensions] Exception thrown at event InvokeOnVanillaObjectsAvailable in NoobBallistaPlugins.SetupNoobBallista:
System.NullReferenceException: Object reference not set to an instance of an object
at NoobBallista.NoobBallistaPlugins.SetupNoobBallista () [0x00020] in <996663aa65e64183bdc5860484a1c34f>:0
at Jotunn.EventExtensions.SafeInvoke (System.Action events) [0x00018] in D:\Projects\Jotunn\JotunnLib\Extensions\EventExtensions.cs:26
I need to confirm before i can push the latest update.
Edit: Link removed