Hi! I really like your plugin but I would like to suggest something! Could it be possible to set for example radius 25 but close placing radius to like 15 or 20? So that you could put em inside each others radius but not on every foundation or so... I also like the idea Slenderminge said. If you want to go even further more shapes would be awesome!
CupboardRadius [Obsolete]
Discussion in 'Plugin Support' started by dcode, Aug 28, 2015.
-
So... with this plugin when i place a cup in a 10x10 in one corner.. then place another in another corner if say player x blew up the walls and authed on one cupboard he then has building priv on all my base evan tho i have a second cupboard? is the plugin broke or does it need updating? thanks
-
Can we get a toggle for the shape changer? I would like to turn that off and only enable the placement function.
-
We believe there is a bug with this plugin combined with Teleport. It seems that under certain circumstances when a player teleports they are granted global building privilege, unless they enter into a tool cupboard radius that was placed before the cupboard radius they teleported from. One clan on our server has been able to recreate it and is exploiting it to tower up the side of bases.
I'm going to pop open the code to take a look, but wanted to make others aware. Is there any place in the plugin code you can think of that may be causing this bug? -
This is how Rust is designed and has been since cupboards started (AFAIK) - not a mod bug. Of course being able to modify this behaviour may be a useful mod in itself
Edit: Oh, and I've seen the 'block stuck on' bug in Rust without mods, or at least without teleport mods, so it's likely that the underlying issue is with Rust's vanilla code not always properly updating priv status; in my case I believe it was simply that I lagged while leaving a building block area. The mods in this instance just make it easier to recreate the bug, sometimes with an advantage to the player (as in the example of the clan you mentioned). Should be something we can fix with mod code though! -
Is it still not generating a config file? I don't see any. Also editing the source code for example set 75 range instead of 25 default, it will load 25 anyways.
-
Wulf Community Admin
-
Sorry for late reply, yes it loaded and it says 'loading default settings' which are 25/false. ill check the logs and it says:
9:42 PM [Info] CupboardRadius was compiled successfully in 2010ms
9:42 PM [Info] Loaded plugin CupboardRadius v1.2.0 by playrust.io / dcode
9:42 PM [Info] [CupboardRadius] Using a radius of 25, not ignoring influence restrictions
9:42 PM [Info] [CupboardRadius] Updated 9 of 9 cupboards to use a sphere trigger -
Wulf Community Admin
-
Yes I have, if others are having this problem: Close your ftp and check again, if it's still not there just wait a few minutes it should appear by then.
-
can some help im trying to make it so people can put down more then one tool cupboard but it wont work get this error
Code:> reload "CupboardRadius" [Oxide] 12:13 AM [Info] Unloaded plugin CupboardRadius v1.2.0 by playrust.io / dcode [Oxide] 12:13 AM [Info] Loaded plugin CupboardRadius v1.2.0 by playrust.io / dcode [Oxide] 12:13 AM [Error] CupboardRadius v1.2.0: Failed to load config file (is the config file corrupt?) (Error parsing boolean value. Path 'ignoreInfluenceRestriction', line 3, position 33.) [Oxide] 12:13 AM [Error] CupboardRadius v1.2.0: Failed to load config file (is the config file corrupt?) (Error parsing boolean value. Path 'ignoreInfluenceRestriction', line 3, position 33.) [Oxide] 12:13 AM [Error] Failed to call hook 'OnServerInitialized' on plugin 'CupboardRadius v1.2.0' (InvalidCastException: Null object can not be converted to a value type.) [Oxide] 12:13 AM [Debug] at System.Convert.ToType (System.Object value, System.Type conversionType, IFormatProvider provider, Boolean try_target_to_type) [0x00000] in <filename unknown>:0 at System.Convert.ChangeType (System.Object value, System.Type conversionType) [0x00000] in <filename unknown>:0 at Oxide.Core.Configuration.DynamicConfigFile.ConvertValue (System.Object value, System.Type destinationType) [0x00000] in <filename unknown>:0 at Oxide.Core.Configuration.DynamicConfigFile.ConvertValue[Int32] (System.Object value) [0x00000] in <filename unknown>:0 at Oxide.Core.Configuration.DynamicConfigFile.Get[Int32] (System.String[] path) [0x00000] in <filename unknown>:0 at Oxide.Plugins.CupboardRadius.onServerInitialized () [0x00000] in <filename unknown>:0 at Oxide.Plugins.CupboardRadius.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (System.Reflection.MethodInfo method, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hookname, System.Object[] args) [0x00000] in <filename unknown>:0
Last edited by a moderator: Mar 5, 2016 -
-
the ignore restriction is not working....
{
"cupboardRadius": 25,
"ignoreInfluenceRestriction": true
}
fixed it -
thank you guys works fine now
-
It is also annoying to get people to reconnect while outside of range of any cupboard or kill themselfs.
so any kind of fix for this issue would greatly help the constant issues in chat about blocked/approved beeing stuck or the "my base got raided by cheaters". -
Used this and removed it , now everywhere is building blocked!
-
i am unable to use this without big problems.
before last rust patch i used this and had on and off bugged building blocked stuck on people (or privilige meaning people could build EVERYWHERE).
so i decided to remove the plugin and hope rust default mechanics would work.
But it was instead to harsh so i wanted to be able to allow people to build within the range of the other cupboards.
So i added this plugin again, and then everyone got stuck on blocked or priviliged so i decided to reboot the server to "clear" this hopefully.
And the issue remained.
So my question is, is the plugin broken for some/many/all?
I cant seem to find any other cupboard plugin to see if they have the same issues.
Yes teleportation seems to be linked with this but i am having more problems WITH this plugin then without.
And i really want to allow the cupboards to overlap a bit so people can protect there bases.
-
Check RustUpdates on Twitter -
It dont fixes the issue in the situation of a person who has not died yet.
So sadly not fixed.
Plus, i obviously updated on the 3rd, sooo.. nope update is not fixing this.
-
There's a difference betweend them.
Spawning can be anything from being a new player to teleport around and wake up
Also I never encountered that issue nor did any of my players.
Being blocked forever can also be caused by other plugins like the Remover Tool. If you place a cupboard with it enabled, there's a chance that you will be building blocked.Last edited by a moderator: Mar 5, 2016