Jump to content

/Sar purge & Sab not working well

Closed 2.0.6 2.0.8

MichuX
MichuX

Posted

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"

 

nivex

Posted

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.

MichuX

Posted

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.

..."

nivex

Posted (edited)

attach the log and I will find it

unless you have restarted since then it's gone

Edited by nivex
MichuX

Posted

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"

nivex

Posted

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

MichuX

Posted

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

nivex

Posted (edited)

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
MichuX

Posted

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!! 

 

nivex

Posted

ok great

ask your host to enable the server logs for you

MichuX

Posted

Hello again!

I had the same Issue this wipe and I have my server log online.

I did purge sar and sab and got error.

 

server.zip

nivex

Posted

ok will check it out when I get home

nivex

Posted

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

 

MichuX

Posted

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

nivex

Posted

it's added in the update too

np

MichuX

Posted (edited)

ok, Thank you so much for your support ❤️ 

let's cross fingers to work well 😄 

Edited by Nuno Correia
nivex

Posted

Changed Fixed In to 2.0.8

nivex

Posted

Changed Status from Pending to Closed

1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.4k

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.