so when i start a world up first time haldor seems to have no trouble handing out quests. after i complete one, come back, and try to accept another it throws this error out [Info : Unity Log] HaldorFetchQuests Clicked better trader item HaldorFetchQuests|Kill|7|$enemy_neck|35|0 [Error : Unity Log] NullReferenceException Stack trace: UnityEngine.Object.get_name () (at <7ed9544a6e86489c87771c638baaad47>:0) BetterTrader.StoreGui_Patches.OnBuyItemPrefix (StoreGui __instance, Trader ___m_trader, Trader+TradeItem ___m_selectedItem) (at <75093f0ff09b4bdd9620d9bd0f042283>:0) (wrapper dynamic-method) StoreGui.DMD<StoreGui::BuySelectedItem>(StoreGui) StoreGui.OnBuyItem () (at <0b427da81d26480c885ae3fba0ed94c4>:0) UnityEngine.Events.InvokableCall.Invoke () (at <7ed9544a6e86489c87771c638baaad47>:0) UnityEngine.Events.UnityEvent.Invoke () (at <7ed9544a6e86489c87771c638baaad47>:0) UnityEngine.UI.Button.Press () (at <5abdc278a459476dabe36f8ad65ea091>:0) UnityEngine.UI.Button.OnPointerClick (UnityEngine.EventSystems.PointerEventData eventData) (at <5abdc278a459476dabe36f8ad65ea091>:0) UnityEngine.EventSystems.ExecuteEvents.Execute (UnityEngine.EventSystems.IPointerClickHandler handler, UnityEngine.EventSystems.BaseEventData eventData) (at <5abdc278a459476dabe36f8ad65ea091>:0) UnityEngine.EventSystems.ExecuteEvents.Execute[T] (UnityEngine.GameObject target, UnityEngine.EventSystems.BaseEventData eventData, UnityEngine.EventSystems.ExecuteEvents+EventFunction`1[T1] functor) (at <5abdc278a459476dabe36f8ad65ea091>:0) UnityEngine.EventSystems.EventSystem:Update()
if i portal away and come back some of his new quests will work but some will throw the error.
any ideas whats up? any more info i can add to help?
Any suggestions on how to fix, I have removed all files, configs/dlls, etc. restarted game, then added everything back. Still same error even after adding everything new again.
I have Better Trader installed and when I install HaldorQuests (with QuestFramework) it seems that it is not compatible, because when I click on Haldor only BetterTrader items appear and HaldorQuests missions do not appear, is there a way to solve this?
I'm sorry, I didn't know it fully integrated with BetterTrader, I noticed that quests are showing up at the place where Haldor sells the items. Thank you very much.
I'm sorry, I didn't know it fully integrated with BetterTrader, I noticed that quests are showing up at the place where Haldor sells the items. Thank you very much.
i have trouble making a new character with this mod installed... clicking the done button wont finish making the character, anybody else have this problem ( conflict ) or am i being a idiot ( as usual ) and doing something wrong ? :P
I am afraid this is not working for me. I have the latest "two mods" installed. I have tried them in both a single mod game (only the Quests/Framework and the configuration mgr) and full mod pack that is working daily on our server. Neither throw any errors, but both only give this in logs: "[Info : Unity Log] HaldorFetchQuests Adding 0 quests to trader"
I never see any text on screen of any kind! I tried various resolutions and screen scaling to no effect. (I tried this because a number of @aendthorn mods "ex: clock mod", are sensitive to resolution etc.)
I really want to add this to our server mod pack and would like to get it going soon! Thanks
Of course: [Info : BepInEx] Loading [Haldor Fetch Quests 0.2.0] [Info : BepInEx] Loading [Quest Framework 0.1.1] [Info : Unity Log] getting fonts [Info : Unity Log] got font AveriaSerifLibre-Bold [Info : Unity Log] HaldorFetchQuests got 141 possible fetch items and 43 possible kill items [Info : Unity Log] HaldorFetchQuests Got 0 saved available quests, last refresh 0, current time 2040 [Info : Unity Log] HaldorFetchQuests Available quests saved [Info : Unity Log] getting fonts [Info : Unity Log] got font AveriaSerifLibre-Bold [Info : Unity Log] HaldorFetchQuests got 141 possible fetch items and 43 possible kill items [Info : Unity Log] HaldorFetchQuests Got 0 saved available quests, last refresh 0, current time 2040 [Info : Unity Log] HaldorFetchQuests Adding 0 quests to trader [Info : Unity Log] 10/20/2021 14:38:29: Setting selected recipe 0 [Info : Unity Log] HaldorFetchQuests Adding 0 quests to trader [Info : Unity Log] ConfigurationManager all plugins: 6 [Info : Unity Log] 10/20/2021 14:39:04: FOund selected Close [Info : Unity Log] 10/20/2021 14:39:07: Setting selected recipe 0 [Info : Unity Log] HaldorFetchQuests Adding 0 quests to trader [Info : Unity Log] HaldorFetchQuests Available quests saved
I can get you a single complete login/logout test log, but here is the lines items that I can tell are related, no errors. Thanks for the response! EDIT: Joined your discord, if you like I can respond there. tom9257
I think I see the issue. Delete the plugins\HaldorFetchQuests folder then load your save, they should show up... otherwise you could just wait until they refresh or refresh them manually in the console. I'll publish an update that should prevent this issue.
It would also be possible to make quests separate from the Haldor. I.e., to receive quests not through it, but when activating a tablet with a certain text or something similar. To make the reward hidden, i.e. not to immediately know how much you will get, but with the ability to specify the reward in the config.
If my ideas don't suit you, then tell me right away - so that you don't get bored) And then I can offer a lot of ideas)
31 comments
[Info : Unity Log] HaldorFetchQuests adding items to better trader
[Error : Unity Log] NullReferenceException: Object reference not set to an instance of an object
Stack trace:
HaldorFetchQuests.BepInExPlugin.BetterTrader_ItemElementUIListView_SetupElements_Prefix (System.Object __instance, System.Collections.Generic.List`1[T] itemElements) (at <9a2f44181696415688fb1596c158e16f>:0)
(wrapper dynamic-method) BetterTrader.ItemElementUIListView.DMD<BetterTrader.ItemElementUIListView::SetupElements>(BetterTrader.ItemElementUIListView,System.Collections.Generic.List`1<BetterTrader.Core.ItemElement>)
BetterTrader.Patches.StoreGui_Patches+<SetupTraderItemList>d__17.MoveNext () (at <5bf65e7bf5874600afadfb7a243acccf>:0)
UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) (at <80fe1a4e36fe44618284312cb721a597>:0)
Haldor does not give money if you do not have gold on you. is this an error or a bad configuration?Thanks
"No room for reward".
[Info : Unity Log] HaldorFetchQuests Clicked better trader item HaldorFetchQuests|Kill|7|$enemy_neck|35|0
[Error : Unity Log] NullReferenceException
Stack trace:
UnityEngine.Object.get_name () (at <7ed9544a6e86489c87771c638baaad47>:0)
BetterTrader.StoreGui_Patches.OnBuyItemPrefix (StoreGui __instance, Trader ___m_trader, Trader+TradeItem ___m_selectedItem) (at <75093f0ff09b4bdd9620d9bd0f042283>:0)
(wrapper dynamic-method) StoreGui.DMD<StoreGui::BuySelectedItem>(StoreGui)
StoreGui.OnBuyItem () (at <0b427da81d26480c885ae3fba0ed94c4>:0)
UnityEngine.Events.InvokableCall.Invoke () (at <7ed9544a6e86489c87771c638baaad47>:0)
UnityEngine.Events.UnityEvent.Invoke () (at <7ed9544a6e86489c87771c638baaad47>:0)
UnityEngine.UI.Button.Press () (at <5abdc278a459476dabe36f8ad65ea091>:0)
UnityEngine.UI.Button.OnPointerClick (UnityEngine.EventSystems.PointerEventData eventData) (at <5abdc278a459476dabe36f8ad65ea091>:0)
UnityEngine.EventSystems.ExecuteEvents.Execute (UnityEngine.EventSystems.IPointerClickHandler handler, UnityEngine.EventSystems.BaseEventData eventData) (at <5abdc278a459476dabe36f8ad65ea091>:0)
UnityEngine.EventSystems.ExecuteEvents.Execute[T] (UnityEngine.GameObject target, UnityEngine.EventSystems.BaseEventData eventData, UnityEngine.EventSystems.ExecuteEvents+EventFunction`1[T1] functor) (at <5abdc278a459476dabe36f8ad65ea091>:0)
UnityEngine.EventSystems.EventSystem:Update()
if i portal away and come back some of his new quests will work but some will throw the error.
any ideas whats up? any more info i can add to help?
[Error : Unity Log] NullReferenceException
Stack trace:
UnityEngine.Object.get_name () (at <30e538f3cf5548cfa6abc9730778bcef>:0)
BetterTrader.StoreGui_Patches.OnBuyItemPrefix (StoreGui __instance, Trader ___m_trader, Trader+TradeItem ___m_selectedItem) (at <75093f0ff09b4bdd9620d9bd0f042283>:0)
(wrapper dynamic-method) StoreGui.DMD<StoreGui::BuySelectedItem>(StoreGui)
StoreGui.OnBuyItem () (at <66838b99e4734b76acedff99b7be95c1>:0)
UnityEngine.Events.InvokableCall.Invoke () (at <30e538f3cf5548cfa6abc9730778bcef>:0)
UnityEngine.Events.UnityEvent.Invoke () (at <30e538f3cf5548cfa6abc9730778bcef>:0)
UnityEngine.UI.Button.Press () (at <5abdc278a459476dabe36f8ad65ea091>:0)
UnityEngine.UI.Button.OnPointerClick (UnityEngine.EventSystems.PointerEventData eventData) (at <5abdc278a459476dabe36f8ad65ea091>:0)
UnityEngine.EventSystems.ExecuteEvents.Execute (UnityEngine.EventSystems.IPointerClickHandler handler, UnityEngine.EventSystems.BaseEventData eventData) (at <5abdc278a459476dabe36f8ad65ea091>:0)
UnityEngine.EventSystems.ExecuteEvents.Execute[T] (UnityEngine.GameObject target, UnityEngine.EventSystems.BaseEventData eventData, UnityEngine.EventSystems.ExecuteEvents+EventFunction`1[T1] functor) (at <5abdc278a459476dabe36f8ad65ea091>:0)
UnityEngine.EventSystems.EventSystem:Update()
Any suggestions on how to fix, I have removed all files, configs/dlls, etc. restarted game, then added everything back. Still same error even after adding everything new again.
I have the latest "two mods" installed. I have tried them in both a single mod game (only the Quests/Framework and the configuration mgr) and full mod pack that is working daily on our server. Neither throw any errors, but both only give this in logs: "[Info : Unity Log] HaldorFetchQuests Adding 0 quests to trader"
I never see any text on screen of any kind!
I tried various resolutions and screen scaling to no effect. (I tried this because a number of @aendthorn mods "ex: clock mod", are sensitive to resolution etc.)
I really want to add this to our server mod pack and would like to get it going soon! Thanks
[Info : BepInEx] Loading [Haldor Fetch Quests 0.2.0]
[Info : BepInEx] Loading [Quest Framework 0.1.1]
[Info : Unity Log] getting fonts
[Info : Unity Log] got font AveriaSerifLibre-Bold
[Info : Unity Log] HaldorFetchQuests got 141 possible fetch items and 43 possible kill items
[Info : Unity Log] HaldorFetchQuests Got 0 saved available quests, last refresh 0, current time 2040
[Info : Unity Log] HaldorFetchQuests Available quests saved
[Info : Unity Log] getting fonts
[Info : Unity Log] got font AveriaSerifLibre-Bold
[Info : Unity Log] HaldorFetchQuests got 141 possible fetch items and 43 possible kill items
[Info : Unity Log] HaldorFetchQuests Got 0 saved available quests, last refresh 0, current time 2040
[Info : Unity Log] HaldorFetchQuests Adding 0 quests to trader
[Info : Unity Log] 10/20/2021 14:38:29: Setting selected recipe 0
[Info : Unity Log] HaldorFetchQuests Adding 0 quests to trader
[Info : Unity Log] ConfigurationManager all plugins: 6
[Info : Unity Log] 10/20/2021 14:39:04: FOund selected Close
[Info : Unity Log] 10/20/2021 14:39:07: Setting selected recipe 0
[Info : Unity Log] HaldorFetchQuests Adding 0 quests to trader
[Info : Unity Log] HaldorFetchQuests Available quests saved
I can get you a single complete login/logout test log, but here is the lines items that I can tell are related, no errors.
Thanks for the response! EDIT: Joined your discord, if you like I can respond there. tom9257
If my ideas don't suit you, then tell me right away - so that you don't get bored) And then I can offer a lot of ideas)