Jump to content

/Sar purge & Sab not working well

Closed 2.0.6 2.0.8

Well I started a Purge on my server and It didnt go well (Rip my server purge). I checked the console and after /sab  It started to spawn:

"NullReferenceException: Object reference not set to an instance of an object"

 

Share this comment


Link to comment

hi, sorry to hear that. I would need the full error from the server log though. it should be called log.txt server.log latest.log etc and be in your server's root folder where the oxide and server folders are.

Share this comment


Link to comment

I was checking the log.txt and I didn't find anything there. After some time there, reading, I noticed more and less the hour that I did the command and I found only this spam there :
"17:43 [Info] [Abandoned Bases] You have aborted the scan.
17:43 [Info] [Abandoned Bases] You have aborted the scan.
17:43 [Info] [Abandoned Bases] You have aborted the scan.
17:43 [Info] [Abandoned Bases] You have aborted the scan.
17:43 [Info] [Abandoned Bases] You have aborted the scan.
17:43 [Info] [Abandoned Bases] You have aborted the scan.

..."

Share this comment


Link to comment

attach the log and I will find it

unless you have restarted since then it's gone

Edited by nivex

Share this comment


Link to comment

Found the error there. might be this:

"Console: AbandonedBases.cs(92,30): warning CS0414: The private field `Oxide.Plugins.AbandonedBases.ID_DQD' is assigned but its value is never used
AbandonedBases.cs(4597,30): warning CS0414: The private field `Oxide.Plugins.AbandonedBases._buildingBlocks' is assigned but its value is never used"

Share this comment


Link to comment

hi, that is a warning not an error

an error includes a message and stack trace. you have shown me the message above

"NullReferenceException: Object reference not set to an instance of an object"

but without the stack trace this error is not helpful

Share this comment


Link to comment

Can the new Tugboats cause this? Because 80% of the server built on Tugboats this wipe. Last wipe I did not have any problems

Share this comment


Link to comment

you haven't sent me the server log

that is the oxide log and won't contain the full error.

I don't know what is causing it without having the full error from the server log

Edited by nivex

Share this comment


Link to comment

Really sorry for the wrong log !!

I don't think my server is creating a server log. I didn't find it in the server files, only oxide logs.

All bases with Rugboats nearby didn't got abandoned this wipe.

I already wiped the map. Next purge I will let you know If this problem persists and I will scratch it.

Thank you so much for your attention!! 

 

Share this comment


Link to comment

ok think I found the issue.

add this on line 2794 and it should fix it

            if (priv.IsKilled() || building == null || building.decayEntities.IsNullOrEmpty()) { _skipped++; yield break; }

it will look like this when you're done

image.thumb.png.b76d241befa2de870cf1535b5eecd892.png

 

Share this comment


Link to comment

Should I add on every update or you will add for the next updates?

I will add for now and let you know on purge If works.

Thank you so much

Share this comment


Link to comment

ok, Thank you so much for your support ❤️ 

let's cross fingers to work well 😄 

Edited by Nuno Correia

Share this comment


Link to comment
1.1m

Downloads

Total number of downloads.

5.7k

Customers

Total customers served.

83.7k

Files Sold

Total number of files sold.

1.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.