Jump to content

Error message

Closed 0.2 0.4

BetterDeadThanZed
BetterDeadThanZed

Posted

I had a player tell me that no drone came when he ordered seeds, the drone never came. I checked the console and saw this error:

 Failed to run a 1.00 timer in 'DrugBusiness v0.2.0' (NullReferenceException: )
at (wrapper managed-to-native) UnityEngine.Component.get_transform(UnityEngine.Component)
at BaseEntity.get_ServerPosition () [0x00000] in <42cacc569c7a48f59a53ab8e166846f1>:0
at Oxide.Plugins.DrugBusiness+<BeginDelivery>c__AnonStorey10.<>m__0 () [0x0000b] in <3e41eb2bd97c4a32a5ed1978d75b6114>:0
at Oxide.Core.Libraries.Timer+TimerInstance.FireCallback () [0x00018] in <99d545163fdd4d57a562df7989f2ca0a>:0

I downloaded and copied the plugin over the old one. I deleted the config file and the data file so it would create new ones, but none of those made a difference. Any idea what the issue could be here?

BetterDeadThanZed

Posted

You can disregard this. The AutoCCTV plugin was causing a conflict.

BetterDeadThanZed

Posted (edited)

Ok, so I have to correct myself. the AutoCCTV plugin is NOT causing a conflict. I tested this at my base and it worked fine. I tested it at another player's base and I got the above error and no drone. I'm thinking something about his base makes the drone unable to reach the base/drop the drugs and that there should be some sort of error message in-game/return of money used.

*EDIT* The player moved his computer terminal to another, clear location, and it works for him now, so adding a message that a base is unreachable, and giving a refund of spent currency should be added to the next version.

Edited by BetterDeadThanZed
Nod Js

Posted

Something more specific would be appreciated.

BetterDeadThanZed

Posted

5 hours ago, Nod Js said:

Something more specific would be appreciated.

When the player ordered the seeds, the drone didn't come and the error I posted above appeared in the console. He moved his computer terminal someplace else and everything worked fine. It seems if the drone can't get a clear shot to the base, then the error I posted occurs and no drone comes. The player had some power lines/towers near his base and some trees so I assume that was causing an issue with the drone's ability to drop the drugs there. Maybe it doesn't have a direct line of sight to the base? I'm not sure. I'm not a plugin developer.

In summary, if the seeds can't be delivered to the player,  there should be an error message in-game and the player should be refunded whatever money they paid for the seeds.

Nod Js

Posted

Changed Status from Pending to Work in Progress

Nod Js

Posted

Changed Status from Work in Progress to Closed

Changed Fixed In to 0.4

1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.3k

Files Sold

Total number of files sold.

2m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.