Jump to content

1 Screenshot

Recommended Comments

Elloco

Posted (edited)

nvm fixed

Edited by Elloco
  • Like 1
BroShelbi

Posted

"Player Max Sleeping Bag/Bed limit": 15,

this option not working

You can fix it?

Scalbox

Posted

what doesn't work?
When you set the limit by distance, a sphere appears.
Even though the bed appears yellow, if there are no other beds in the dome that appears, the bed will work and will not have a cooldown, you are also told as a message

AlexF

Posted (edited)

My friend have this error - I can even tell you why this is - because of the registration of privileges in the CS, if you load it with a different perm name(vip1, vip2..), the plugin spams:
Failed to call hook 'OnActiveItemChanged' on plugin 'UltimateBeds v1.0.8' (InvalidOperationException: Sequence contains no matching element)
at System.Linq.Enumerable.First[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] predicate) [0x00011] in <a314714511a14f84b853c03efd8682b8>:0
at Oxide.Plugins.UltimateBeds.GetPlayerRolePermission (System.UInt64 steamID) [0x00034] in <8a8c125ded594d2db96c6c1ea63e8fac>:0
at Oxide.Plugins.UltimateBeds.CanChangeBagsRange (BasePlayer player) [0x00017] in <8a8c125ded594d2db96c6c1ea63e8fac>:0
at Oxide.Plugins.UltimateBeds.OnActiveItemChanged (BasePlayer player, Item oldItem, Item newItem) [0x0000d] in <8a8c125ded594d2db96c6c1ea63e8fac>:0
at Oxide.Plugins.UltimateBeds.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x001e6] in <8a8c125ded594d2db96c6c1ea63e8fac>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <795304323ac74a298b8ed190a1dfa739>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000de] in <beb2b64691c64e2b95b99491bd85442c>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <beb2b64691c64e2b95b99491bd85442c>:0

[UltimateBeds] Exception: Sequence contains no matching element
[UltimateBeds] Exception: Sequence contains no matching element

Edited by AlexF
Scalbox

Posted

3 hours ago, AlexF said:

My friend have this error - I can even tell you why this is - because of the registration of privileges in the CS, if you load it with a different perm name(vip1, vip2..), the plugin spams:
Failed to call hook 'OnActiveItemChanged' on plugin 'UltimateBeds v1.0.8' (InvalidOperationException: Sequence contains no matching element)
at System.Linq.Enumerable.First[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] predicate) [0x00011] in <a314714511a14f84b853c03efd8682b8>:0
at Oxide.Plugins.UltimateBeds.GetPlayerRolePermission (System.UInt64 steamID) [0x00034] in <8a8c125ded594d2db96c6c1ea63e8fac>:0
at Oxide.Plugins.UltimateBeds.CanChangeBagsRange (BasePlayer player) [0x00017] in <8a8c125ded594d2db96c6c1ea63e8fac>:0
at Oxide.Plugins.UltimateBeds.OnActiveItemChanged (BasePlayer player, Item oldItem, Item newItem) [0x0000d] in <8a8c125ded594d2db96c6c1ea63e8fac>:0
at Oxide.Plugins.UltimateBeds.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x001e6] in <8a8c125ded594d2db96c6c1ea63e8fac>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <795304323ac74a298b8ed190a1dfa739>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000de] in <beb2b64691c64e2b95b99491bd85442c>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <beb2b64691c64e2b95b99491bd85442c>:0

[UltimateBeds] Exception: Sequence contains no matching element
[UltimateBeds] Exception: Sequence contains no matching element

Hi can you send me your configuration?
Do you use oxide or carbon?
Thanks

AlexF

Posted

3 hours ago, Scalbox said:

Hi can you send me your configuration?
Do you use oxide or carbon?
Thanks

    "default": {
      "Player Max Sleeping Bag/Bed limit": 5,
      "Sleeping bag unlock time after placed": 300,
      "Bed unlock time after placed": 120,
      "Sleeping bag respawn cooldown": 300,
      "Bed respawn cooldown": 120,
      "Sleeping Bag Range: Radius within which to check other Sleeping Bags placed. Default: 50 (lower = more Sleeping Bags close to each other)": 50,
      "Bed Range: Radius within which to check other Beds placed. Default: 50 (lower = more Beds close to each other)": 50
    },
    "vip": {
      "Player Max Sleeping Bag/Bed limit": 7,
      "Sleeping bag unlock time after placed": 210,
      "Bed unlock time after placed": 84,
      "Sleeping bag respawn cooldown": 210,
      "Bed respawn cooldown": 84,
      "Sleeping Bag Range: Radius within which to check other Sleeping Bags placed. Default: 50 (lower = more Sleeping Bags close to each other)": 35,
      "Bed Range: Radius within which to check other Beds placed. Default: 50 (lower = more Beds close to each other)": 35
    },
    "shopsuper": {
      "Player Max Sleeping Bag/Bed limit": 10,
      "Sleeping bag unlock time after placed": 30,
      "Bed unlock time after placed": 12,
      "Sleeping bag respawn cooldown": 30,
      "Bed respawn cooldown": 12,
      "Sleeping Bag Range: Radius within which to check other Sleeping Bags placed. Default: 50 (lower = more Sleeping Bags close to each other)": 5,
      "Bed Range: Radius within which to check other Beds placed. Default: 50 (lower = more Beds close to each other)": 5
    }

 

Scalbox

Posted

9 hours ago, AlexF said:
    "default": {
      "Player Max Sleeping Bag/Bed limit": 5,
      "Sleeping bag unlock time after placed": 300,
      "Bed unlock time after placed": 120,
      "Sleeping bag respawn cooldown": 300,
      "Bed respawn cooldown": 120,
      "Sleeping Bag Range: Radius within which to check other Sleeping Bags placed. Default: 50 (lower = more Sleeping Bags close to each other)": 50,
      "Bed Range: Radius within which to check other Beds placed. Default: 50 (lower = more Beds close to each other)": 50
    },
    "vip": {
      "Player Max Sleeping Bag/Bed limit": 7,
      "Sleeping bag unlock time after placed": 210,
      "Bed unlock time after placed": 84,
      "Sleeping bag respawn cooldown": 210,
      "Bed respawn cooldown": 84,
      "Sleeping Bag Range: Radius within which to check other Sleeping Bags placed. Default: 50 (lower = more Sleeping Bags close to each other)": 35,
      "Bed Range: Radius within which to check other Beds placed. Default: 50 (lower = more Beds close to each other)": 35
    },
    "shopsuper": {
      "Player Max Sleeping Bag/Bed limit": 10,
      "Sleeping bag unlock time after placed": 30,
      "Bed unlock time after placed": 12,
      "Sleeping bag respawn cooldown": 30,
      "Bed respawn cooldown": 12,
      "Sleeping Bag Range: Radius within which to check other Sleeping Bags placed. Default: 50 (lower = more Sleeping Bags close to each other)": 5,
      "Bed Range: Radius within which to check other Beds placed. Default: 50 (lower = more Beds close to each other)": 5
    }

 

Do you use oxide or carbon?
 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Like 1

User Feedback

1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.3k

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.