Jump to content

Plugin did not load when server restarted today

Closed 1.0.0 1.0.2

Kaooa
Kaooa

Posted

WaterWellMarker - Object reference not set to an instance of an object

however when i reload the plugin it loads without issue, weird

 

MrMokka

Posted

Do you have any more information on when this happened?
Did it happen when one of the command was run?
Might one of the water well npcs been dead?
Can it be because of another plugin? Which one can it be?

Was there any more info in console than just "Object reference not set to an instance of an object"?

Kaooa

Posted

Again today, 137 WaterWellMarker - Object reference not set to an instance of an object

I have 6 waterwells on my current map, all 6 of the npcs are alive

When i try to do the /wwenable command it says unknown command up until i load the plugin "o.reload WaterWellMarker"

once the plugin is loaded, I am able to enable/disable the map marks with no issue.

other than the "137 WaterWellMarker - Object reference not set to an instance of an object" I do not see anything else no other errors

 

here is a pastebin of all the plugins i am using https://pastebin.com/ngQrvQ4J
 

11 hours ago, MrMokka said:

Do you have any more information on when this happened?
Did it happen when one of the command was run?
Might one of the water well npcs been dead?
Can it be because of another plugin? Which one can it be?

Was there any more info in console than just "Object reference not set to an instance of an object"?

 

MrMokka

Posted

Thank you for the extra info, I will look into it and get it fixed as soon as possible

MrMokka

Posted (edited)

I have not been able to recreate what i think is your error, but i have added some more debugging text to help find it, if it happens again.
I have also added more checks for object reference errors to avoid the plugin getting stuck.
I did find an object reference error case when trying to disable markers when they are disabled (idk if this might be something that happened to you)

New version is uploaded, would be great if you respond in this support thread if you don't have any issues with this anymore, or still have similar issues

Edited by MrMokka
MrMokka

Posted

Changed Status from Pending to Work in Progress

Changed Fixed In to 1.0.1

Kaooa

Posted

i am running into the issue where I always have to self enable the water well markers

MrMokka

Posted

Plugin not loading, or markers not showing after server reload? Any errors in console? Can you use command to enable without reloading the plugin?

Kaooa

Posted

The plugin loads without any issue. I dont see any errors in the console, just appears that the water well markers do not self enable when the plugin first loads after server restart

MrMokka

Posted

I think i found out why, seems the water well trades load after plugins load. So when it enables the markers, the traders dont exists yet in the world. I have a fix for it, uploading in a sec

MrMokka

Posted

Changed Fixed In from 1.0.1 to 1.0.2

MrMokka

Posted

Changed Status from Work in Progress to Closed

1.8m

Downloads

Total number of downloads.

8.3k

Customers

Total customers served.

124.9k

Files Sold

Total number of files sold.

2.6m

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.