One very minor thing. When picking up a piece of newspaper rubbish the area circle is under the ground level and thus you can't see it. It must be because the paper is inside the ground slightly. The rubbish within the hidden circle still picks up fine though. A small height offset of the circle for the newspaper piece of rubbish would fix it?
I am having a reaccurring issue where if I go config the radius to more than 5, after a few minutes, the trashgrabber just randomly disappears from hands and hotbar
Mod stops working after a few minutes and fires Exceptions in the log files each time trash should be picked up. Trasj does get picked up, but only the focussed peace, not the whole area.
Log [02:16:09.809] [Il2CppInterop] During invoking native->managed trampoline Il2CppInterop.Runtime.Il2CppException: System.NullReferenceException: Object reference not set to an instance of an object. --- BEGIN IL2CPP STACK TRACE --- System.NullReferenceException: Object reference not set to an instance of an object.
--- END IL2CPP STACK TRACE ---
at Il2CppInterop.Runtime.Il2CppException.RaiseExceptionIfNecessary(IntPtr returnedException) in /home/runner/work/Il2CppInterop/Il2CppInterop/Il2CppInterop.Runtime/Il2CppException.cs:line 36 at UnityEngine.Component.get_transform() at AreaTrashGrabber.Patch_EquippableTrashGrabber_PickupTrash.Postfix(Equippable_TrashGrabber __instance, TrashItem item) at DMD<Il2CppScheduleOne.Equipping.Equippable_TrashGrabber::PickupTrash>(Equippable_TrashGrabber this, TrashItem item) at (il2cpp -> managed) PickupTrash(IntPtr , IntPtr , Il2CppMethodInfo* )
This is not normal, I have no clue why it didn't auto-generate a config file for you, I haven't had anyone report such problem to me. Thanks for suggesting a workaround for people who my have the same problem in the future!
I don't see a way another mod could mess up my mod's config file saving. Perhaps you didn't close the game properly and it didn't have a chance to save the config? It doesn't create the config file when you start the game, only when closing - maybe that might be it? I might change it in near future to create a file when the game starts.
I also didn't get autogenerated config using thunderstore and came here to see what was up. Turns out it did but instead of saving the config to the mod profile userdata folder it saves it to the game userdata folder.
That's interesting, what do you mean by "mod profile userdata folder"? To be honest, I haven't used Thunderstore mod manager yet, does it keep UserData config files somewhere else? If I'm not wrong, most mods keep the config files in <Steam path>\Schedule 1\UserData\<mod name>.cfg, with some exceptions that for example keep them in <Steam path>\Schedule 1\Mods\<Mod name>\<some config name>.cfg
Have to reload the save for the area grabber to function. also if you set the radius too big it puts some random number & letters in instead. It could be that the radius im setting is still too big at 90k or its conflicting with a mod https://ibb.co/QFr7tZDP Ither way the mod has been super helpful getting cash early game (forgot to export the save from a outdated instance)
What exactly do you mean? Would you like the bag's radius to be configurable? Bags by themselves don't have a capacity limit if you drop your trash in one spot, like a corner, and then bag all the trash with a bag directly - skipping the trash can.
Yeah, I would love the bag's radius to be configurable too, that would be an awesome mod. Skipping the long labor of emptying the trash grabber in trash_for_cash altogether. TY for replying btw.
What I would like is for bigger clickboxes on things like cigarette butts , they're still a bit hard to click but I liked individually clicking each item
actually what i wished is this mod would have a circle everywhere I could click to pickup whatevers in it, not locked to around items
27 comments
It must be because the paper is inside the ground slightly.
The rubbish within the hidden circle still picks up fine though.
A small height offset of the circle for the newspaper piece of rubbish would fix it?
Trasj does get picked up, but only the focussed peace, not the whole area.
Config
[AreaTrashGrabber]
PickupRadius = 2.0
AllowOverfilling = true
RemoveCapacityLimit = true
Log
[02:16:09.809] [Il2CppInterop] During invoking native->managed trampoline
Il2CppInterop.Runtime.Il2CppException: System.NullReferenceException: Object reference not set to an instance of an object.
--- BEGIN IL2CPP STACK TRACE ---
System.NullReferenceException: Object reference not set to an instance of an object.
--- END IL2CPP STACK TRACE ---
at Il2CppInterop.Runtime.Il2CppException.RaiseExceptionIfNecessary(IntPtr returnedException) in /home/runner/work/Il2CppInterop/Il2CppInterop/Il2CppInterop.Runtime/Il2CppException.cs:line 36
at UnityEngine.Component.get_transform()
at AreaTrashGrabber.Patch_EquippableTrashGrabber_PickupTrash.Postfix(Equippable_TrashGrabber __instance, TrashItem item)
at DMD<Il2CppScheduleOne.Equipping.Equippable_TrashGrabber::PickupTrash>(Equippable_TrashGrabber this, TrashItem item)
at (il2cpp -> managed) PickupTrash(IntPtr , IntPtr , Il2CppMethodInfo* )
Create a txt file and add those 4 lines inside of it (edit the PickupRadius for a bigger circle):
[AreaTrashGrabber]
PickupRadius = 1
AllowOverfilling = true
RemoveCapacityLimit = true
rename it to "AreaTrashGrabber.cfg" (Without the ""), and add it to this folder : Steam\steamapps\common\Schedule I\UserData
Thanks for suggesting a workaround for people who my have the same problem in the future!
You have to redownload it on Schedule I to get it working, otherwise it won't generate a CFG file.
Can you send me the content of your config file?
but i didn't know there was a mod manager
What I would like is for bigger clickboxes on things like cigarette butts , they're still a bit hard to click but I liked individually clicking each item
actually what i wished is this mod would have a circle everywhere I could click to pickup whatevers in it, not locked to around items