Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cannot pickup some dorpped items and found NullReferenceException in the log #211

Open
pinellia-gg opened this issue Dec 11, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@pinellia-gg
Copy link

Installed Mods
RiskofThunder-BepInEx_GUI-3.0.2
RiskofThunder-FixPluginTypesSerialization-1.0.3
RiskofThunder-RoR2BepInExPack-1.10.0
bbepis-BepInExPack-5.4.2113
RiskofThunder-HookGenPatcher-1.2.3
RiskofThunder-R2API_Core-5.0.11
RiskofThunder-R2API_Skins-1.0.0
RiskofThunder-R2API_Addressables-1.0.3
RiskofThunder-R2API_SceneAsset-1.1.1
RiskofThunder-R2API_Elites-1.0.3
RiskofThunder-R2API_Items-1.0.3
RiskofThunder-R2API_Loadout-1.0.2
RiskofThunder-R2API_Prefab-1.0.3
RiskofThunder-R2API_Sound-1.0.2
RiskofThunder-R2API_TempVisualEffect-1.0.2
RiskofThunder-R2API_Unlockable-1.0.2
RiskofThunder-R2API_Director-2.1.0
RiskofThunder-R2API_ArtifactCode-1.0.1
RiskofThunder-R2API_CommandHelper-1.0.1
RiskofThunder-R2API_Deployable-1.0.1
RiskofThunder-R2API_Dot-1.0.1
RiskofThunder-R2API_Language-1.0.1
RiskofThunder-R2API_LobbyConfig-1.0.1
RiskofThunder-R2API_Orb-1.0.1
RiskofThunder-R2API_Difficulty-1.1.2
RiskofThunder-R2API_DamageType-1.0.4
RiskofThunder-R2API_RecalculateStats-1.2.0
RiskofThunder-R2API_Networking-1.0.2
RiskofThunder-R2API_ContentManagement-1.0.3
tristanmcpherson-R2API-5.0.5
DekuDesu-MiniMapMod-3.3.2
frostycpu-UnmoddedVersion-1.0.1
Faustvii-QoLChests-1.1.8
XoXFaby-BetterUI-2.8.4
MightyWolf_-ItemScorePlus-1.1.2
Moffein-ItemStats-1.3.1
TheRealElysium-EmptyChestsBeGone-1.1.1
FunkFrog-and-Sipondo-ShareSuite-2.8.1
Constant-ine-PauseInMultiplayer-1.0.9
MagnusMagnuson-ShrineOfDio-1.6.1
Evaisa-FallenFriends-6.0.1
JohnEdwa-RTAutoSprintEx-2.1.2
dan8991iel-LunarCoinShareOnPickup-4.2.1

Describe the bug
these days I played with my friends ,but sometimes they cannot pickup some dropped items ,maybe equipment items or lunar items. So I checked the mod log and found the exception.

actually I don't konw if this exception is related to my issue or not , or just conflict with my other installed mods.

hope someone could help to check it , thanks !

[Info   : Unity Log] <style=cIsDamage>xxx已发现:3D打印机 (强力万能药)(<nobr><color=#FFFFFF>1件物品</color></nobr>)。</style>
[Info   : Unity Log] Position not free or not found.
[Error  : Unity Log] NullReferenceException: Object reference not set to an instance of an object
Stack trace:
ShareSuite.MoneySharingHooks.OnShopPurchase (On.RoR2.PurchaseInteraction+orig_OnInteractionBegin orig, RoR2.PurchaseInteraction self, RoR2.Interactor activator) (at <3e90738a2f0845568280fedb7b5d9c2a>:IL_00E9)
DMD<>?-84309504.Hook<RoR2.PurchaseInteraction::OnInteractionBegin>?-179859712 (RoR2.PurchaseInteraction , RoR2.Interactor ) (at <1636c6b35a1e436d9ebd9e2c374aefc5>:IL_000A)
DMD<>?-84309504.Trampoline<RoR2.PurchaseInteraction::OnInteractionBegin>?-348203008 (RoR2.PurchaseInteraction , RoR2.Interactor ) (at <f5915b2a07394974aa6385d0dd32f0d2>:IL_0020)
ShareSuite.ItemSharingHooks.OnShopPurchase (On.RoR2.PurchaseInteraction+orig_OnInteractionBegin orig, RoR2.PurchaseInteraction self, RoR2.Interactor activator) (at <3e90738a2f0845568280fedb7b5d9c2a>:IL_01B3)
DMD<>?-84309504.Hook<RoR2.PurchaseInteraction::OnInteractionBegin>?-2057346816 (RoR2.PurchaseInteraction , RoR2.Interactor ) (at <c4c290c6ff144903874e5247fd809c8a>:IL_000A)
RoR2.Interactor.PerformInteraction (UnityEngine.GameObject interactableObject) (at <1d532be543be416b9db3594e4b62447d>:IL_0041)
RoR2.Interactor.CmdInteract (UnityEngine.GameObject interactableObject) (at <1d532be543be416b9db3594e4b62447d>:IL_0000)
RoR2.Interactor.InvokeCmdCmdInteract (UnityEngine.Networking.NetworkBehaviour obj, UnityEngine.Networking.NetworkReader reader) (at <1d532be543be416b9db3594e4b62447d>:IL_0022)
UnityEngine.Networking.NetworkIdentity.HandleCommand (System.Int32 cmdHash, UnityEngine.Networking.NetworkReader reader) (at <2a7d59f3977e436480000365e023da3e>:IL_0116)
UnityEngine.Networking.NetworkServer.OnCommandMessage (UnityEngine.Networking.NetworkMessage netMsg) (at <2a7d59f3977e436480000365e023da3e>:IL_0151)
UnityEngine.Networking.NetworkConnection.HandleReader (UnityEngine.Networking.NetworkReader reader, System.Int32 receivedSize, System.Int32 channelId) (at <2a7d59f3977e436480000365e023da3e>:IL_012D)
UnityEngine.Networking.NetworkConnection.HandleBytes (System.Byte[] buffer, System.Int32 receivedSize, System.Int32 channelId) (at <2a7d59f3977e436480000365e023da3e>:IL_0007)
UnityEngine.Networking.NetworkConnection.TransportReceive (System.Byte[] bytes, System.Int32 numBytes, System.Int32 channelId) (at <2a7d59f3977e436480000365e023da3e>:IL_0000)
RoR2.Networking.SteamNetworkConnection.TransportReceive (System.Byte[] bytes, System.Int32 numBytes, System.Int32 channelId) (at <1d532be543be416b9db3594e4b62447d>:IL_0019)
RoR2.Networking.NetworkManagerSystemSteam.OnP2PData (Facepunch.Steamworks.BaseSteamworks receiver, CSteamID senderSteamId, System.Byte[] data, System.Int32 dataLength, System.Int32 channel) (at <1d532be543be416b9db3594e4b62447d>:IL_0044)
RoR2.Networking.NetworkManagerSystemSteam.OnSteamClientP2PData (System.UInt64 senderSteamId, System.Byte[] data, System.Int32 dataLength, System.Int32 channel) (at <1d532be543be416b9db3594e4b62447d>:IL_000C)
Facepunch.Steamworks.Networking.ReadP2PPacket (System.Int32 channel) (at <0ca17294c1634ce4acda47c711e5ecf1>:IL_0082)
Facepunch.Steamworks.Networking.Update () (at <0ca17294c1634ce4acda47c711e5ecf1>:IL_0054)
Facepunch.Steamworks.BaseSteamworks.Update () (at <0ca17294c1634ce4acda47c711e5ecf1>:IL_0006)
Facepunch.Steamworks.Client.Update () (at <0ca17294c1634ce4acda47c711e5ecf1>:IL_0025)
RoR2.SteamworksClientManager.Update () (at <1d532be543be416b9db3594e4b62447d>:IL_0006)
RoR2.RoR2Application.Update () (at <1d532be543be416b9db3594e4b62447d>:IL_005F)

[Info   : Unity Log] Scripted Combat Encounter: currentBoostHpCoefficient=5.508266, currentBoostDamageCoefficient=1.181683
[Info   : Unity Log] Ping target GenericPickup(Clone) (UnityEngine.GameObject)

To Reproduce
Steps to reproduce the behavior:
unclear

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Config File

## Settings file was created by plugin ShareSuite v2.8.1
## Plugin GUID: com.funkfrog_sipondo.sharesuite

[Balance]

## Changes the way shared equipment handles blacklisted equipment. If true, blacklisted equipment will be dropped on the ground once a new equipment is shared. If false, blacklisted equipment is left untouched when new equipment is shared.
# Setting type: Boolean
# Default value: false
DropBlacklistedEquipmentOnShare = false

## When enabled each player (except the player who picked up the item) will get a randomized item of the same rarity.
# Setting type: Boolean
# Default value: false
RandomizeSharedPickups = false

## Toggles randomizing Lunar items in RandomizeSharedPickups mode.
# Setting type: Boolean
# Default value: true
LunarItemsRandomized = true

## Toggles randomizing Boss items in RandomizeSharedPickups mode.
# Setting type: Boolean
# Default value: false
BossItemsRandomized = false

## Toggles randomizing Void items in RandomizeSharedPickups mode.
# Setting type: Boolean
# Default value: false
VoidItemsRandomized = false

## Toggles 3D printer and Cauldron item dupe fix by giving the item directly instead of dropping it on the ground.
# Setting type: Boolean
# Default value: true
PrinterCauldronFix = true

## Toggles whether or not dead players should get copies of picked up items.
# Setting type: Boolean
# Default value: false
DeadPlayersGetItems = true

## Toggles override of the scalar of interactables (chests, shrines, etc) that spawn in the world to your configured credit.
# Setting type: Boolean
# Default value: true
OverridePlayerScaling = true

## If player scaling via this mod is enabled, the amount of players the game should think are playing in terms of chest spawns.
# Setting type: Double
# Default value: 1
InteractablesCredit = 1

## If player scaling via this mod is enabled, the offset from base scaling for interactables credit (e.g. 100 would add 100 interactables credit (not 100 interactables), can also be negative).
# Setting type: Int32
# Default value: 0
InteractablesOffset = 0

## Toggles override of the scalar of boss loot drops to your configured balance.
# Setting type: Boolean
# Default value: true
OverrideBossLootScaling = true

## Specifies the amount of boss items dropped when the boss drop override is true.
# Setting type: Int32
# Default value: 1
BossLootCredit = 1

## Toggles override of the scalar of Void Field loot drops to your configured balance.
# Setting type: Boolean
# Default value: true
OverrideVoidLootScaling = true

## Toggles override of the scalar of Simulacrum loot drops to your configured balance.
# Setting type: Boolean
# Default value: true
OverrideSimulacrumLootScaling = true

## Specifies the amount of items dropped from completed Void Fields when the Void Field scaling override is true.
# Setting type: Int32
# Default value: 1
VoidFieldLootCredit = 1

## Specifies the amount of items dropped after each Simulacrum round when the Simulacrum scaling override is true.
# Setting type: Int32
# Default value: 1
SimulacrumLootCredit = 1

## Toggles the reduction in sacrifice loot drops to be balanced with shared items enabled.
# Setting type: Boolean
# Default value: true
SacrificeFixEnabled = true

[Debug]

## Forces ShareSuite to think that the game is running in a multiplayer instance.
# Setting type: Boolean
# Default value: false
OverrideMultiplayerCheck = false

## Keeps track of the last mod version that sent you a message. Prevents spam, don't touch.
# Setting type: String
# Default value: none
LastMessageSent = 2.8

[Settings]

## Toggles whether or not the mod is enabled. If turned off while in-game, it will unhook everything and reset the game to it's default behaviors.
# Setting type: Boolean
# Default value: true
ModEnabled = true

## Toggles money sharing between teammates. Every player gains money together and spends it from one central pool of money.
# Setting type: Boolean
# Default value: true
MoneyShared = true

## Toggles item sharing for common (white color) items.
# Setting type: Boolean
# Default value: true
WhiteItemsShared = true

## Toggles item sharing for rare (green color) items.
# Setting type: Boolean
# Default value: true
GreenItemsShared = true

## Toggles item sharing for legendary (red color) items.
# Setting type: Boolean
# Default value: true
RedItemsShared = true

## Toggles item sharing for equipment.
# Setting type: Boolean
# Default value: false
EquipmentShared = false

## Toggles item sharing for Lunar (blue color) items.
# Setting type: Boolean
# Default value: false
LunarItemsShared = false

## Toggles item sharing for boss (yellow color) items.
# Setting type: Boolean
# Default value: true
BossItemsShared = true

## Toggles item sharing for void (purple/corrupted) items.
# Setting type: Boolean
# Default value: false
VoidItemsShared = false

## Toggles detailed item pickup messages with information on who picked the item up and who all received the item.
# Setting type: Boolean
# Default value: true
RichMessagesEnabled = true

## Toggles the money scalar, set MoneyScalar to an amount to fine-tune the amount of gold you recieve.
# Setting type: Boolean
# Default value: false
MoneyScalarEnabled = false

## Modifies player count used in calculations of gold earned when money sharing is on.
# Setting type: Double
# Default value: 1
MoneyScalar = 1

## Items (by internal name) that you do not want to share, comma separated. Please find the item "Code Names" at: https://github.com/risk-of-thunder/R2Wiki/wiki/Item-&-Equipment-IDs-and-Names
# Setting type: String
# Default value: BeetleGland,TreasureCache,TitanGoldDuringTP,TPHealingNova,ArtifactKey,FreeChest,RoboBallBuddy,MinorConstructOnKill
ItemBlacklist = BeetleGland,TreasureCache,TitanGoldDuringTP,TPHealingNova,ArtifactKey,FreeChest,RoboBallBuddy,MinorConstructOnKill

## Equipment (by internal name) that you do not want to share, comma separated. Please find the "Code Names"s at: https://github.com/risk-of-thunder/R2Wiki/wiki/Item-&-Equipment-IDs-and-Names
# Setting type: String
# Default value: 
EquipmentBlacklist = 

## The identifier for network message for this mod. Must be unique across all mods.
# Setting type: Int16
# Default value: 1021
NetworkMessageType = 1021


Additional context
Add any other context about the problem here.

@pinellia-gg pinellia-gg added the bug Something isn't working label Dec 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant