Jump to content

TC taking resources

Closed 1.0.74 1.0.75

Valhalla_has_beer

Posted

I have tried the "block cupboard resources true and false" and the "block cupboard wood true and false"  Regardless of what settings I use, the TC will still take wood. Like a lot of others, I am trying to set up twig to decay but nothing else. Loving the plugin so far but just this 1 issue. 

So far I have any foundation with no TC decaying...perfect.

Any foundation with a TC above twig no decay...perfect.

All vehicles including mini, scrappy, horse, solo and duo subs, all mod cars no decay on TC....perfect.

The only issue is the twig. If I put wood in the TC, I have to wait for the TC to use the wood. See the first section. Any suggestions?  Can I only place wood in the TC because I am admin/owner? I have played with my server decay.tick so it uses resources quicker but am still a little stuck. 

 

Valhalla_has_beer

Posted

@RFC1920  Someone gave me an idea to get twig decay working properly. As of now, if a player puts wood in a TC, normal decay.tick will remove wood as needed to maintain twig until it's gone and then the twig structure will decay.  If you see my 1st question, it seems the block to keep wood from the TC isn't working so if a player loads their TC with wood, it will be days before the decay starts.  What if you put in an inactive player check (Player inactive for x hours) and if it return as inactive, it will remove all wood from the TC? 

In this instance, non-twig players can still use their TC for storage, but inactive players will simply have their wood removed to start the twig decay.

RFC1920

Posted (edited)

There is already a check for inactivity called protectedDays.  For example, if set to 14 and the player has not been on for 14 days, it should start decaying their building regardless.

My concern is that the blocking of resources is not working, which I will check in a bit.  It definitely used to work.

Are you sure you are using the official NoDecay from either codefling or remod?  What version number?

EDIT: I think I found it.  I guess no one ever used this because it was not checking those config values correctly.  Fix pending.

Edited by RFC1920
RFC1920

Posted

Changed Status from Pending to Closed

Changed Fixed In to 1.0.75

Valhalla_has_beer

Posted (edited)

I was definately using the CF version and it was a fresh download. I see you found the issue. I'll load it and play some more. thank you for the fix.

 

Question on the inactive player check though. When does the check start or how often does it check? Does it start at midnight or just run at certain intervals to check and start the timer from there? I have a test running on my test server for 1 day to test it and that mark passed last evening. I see nothing happening on the bases built by my partner. She came on and built several 1x1 with and without TC and logged off. Other than the twig with no TC, the others are all still standing. (I had her put a set amount of resources in each of the TC's so we knew the starting point.

Edited by Valhalla_has_beer
RFC1920

Posted

Looks like it is set to be days + 1.

1.7m

Downloads

Total number of downloads.

7.9k

Customers

Total customers served.

119.5k

Files Sold

Total number of files sold.

2.4m

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.