Hotel

Hotel System

Total Downloads: 2,635 - First Release: Aug 12, 2015 - Last Update: Apr 19, 2018

5/5, 18 likes
  1. Hope you can add command continue to rent
    Can lease a few days
     
  2. Rust DB111 protocol 1376 Oxide build 2.0.1958

    Code:
    (06:18:46) | [Oxide] 05:19 [Error] Failed to call hook 'cmdChatHotelRemove' on plugin 'Hotel v1.1.4' (FormatException: Input string was not in a correct format.)
    (06:18:46) | [Oxide] 05:19 [Debug]   at System.String.ParseFormatSpecifier (System.String str, System.Int32& ptr, System.Int32& n, System.Int32& width, System.Boolean& left_align, System.String& format) [0x00000] in <filename unknown>:0
      at System.String.FormatHelper (System.Text.StringBuilder result, IFormatProvider provider, System.String format, System.Object[] args) [0x00000] in <filename unknown>:0
      at System.String.Format (IFormatProvider provider, System.String format, System.Object[] args) [0x00000] in <filename unknown>:0
      at System.String.Format (System.String format, System.Object arg0) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Hotel.cmdChatHotelRemove (.BasePlayer player, System.String command, System.String[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Hotel.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
     
  3. "Input string was not in a correct format." What did you exactly type ?
     
  4. So i have a working hotel yesterday before the update, I tried to build a new one today and nothing it working.
    I can /hotel_new "Name".
    But then I can't make any changes to it after that.
    So I can create a new one, I can save the new one, and I can delete all hotels.
    Other than that, I cannot do anything to the hotels.
    Anyone else finding that?
     
  5. Wanted to do a /hotel rooms..had this instead...

    Code:
    (22:34:07) | [Oxide] 21:34 [Error] Failed to call hook 'cmdChatHotel' on plugin 'Hotel v1.1.3' (ArgumentException: An element with the same key already exists in the dictionary.)
    (22:34:07) | [Oxide] 21:34 [Debug]   at System.Collections.Generic.Dictionary`2[System.String,Oxide.Plugins.Hotel+Room].Add (System.String key, Oxide.Plugins.Room value) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Hotel.FindAllRooms (Vector3 position, Single radius, Single roomradius) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Hotel+HotelData.RefreshRooms () [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Hotel.cmdChatHotel (.BasePlayer player, System.String command, System.String[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Hotel.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (HookMethod 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 name, System.Object[] args) [0x00000] in <filename unknown>:0
    (22:34:50) | [Oxide] 21:34 [Info] [BetterLoot] BetterLoot: Refreshed 1 containers (0 destroyed)
    (22:35:32) | [Oxide] 21:35 [Warning] 'ZoneManager v2.4.2' is using deprecated hook 'OnRunCommand', which will stop working on Monday, 01 August 2016. Please ask the author to update to 'OnServerCommand'
    (22:35:32) | [Oxide] 21:35 [Error] Failed to call hook 'cmdChatHotel' on plugin 'Hotel v1.1.3' (ArgumentException: An element with the same key already exists in the dictionary.)
    (22:35:32) | [Oxide] 21:35 [Debug]   at System.Collections.Generic.Dictionary`2[System.String,Oxide.Plugins.Hotel+Room].Add (System.String key, Oxide.Plugins.Room value) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Hotel.FindAllRooms (Vector3 position, Single radius, Single roomradius) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Hotel+HotelData.RefreshRooms () [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Hotel.cmdChatHotel (.BasePlayer player, System.String command, System.String[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Hotel.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (HookMethod 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 name, System.Object[] args) [0x00000] in <filename unknown>:0
     
  6. Is there a way to give everyone permission without having to add permission per person?
     
  7. Grant group default "insert.permission.here"
     
  8. Do i just type that in chat or do i need to edit it in the config file?
     
  9. Type exactly that into your server console. Either in game console or server console.
    Not chat
     
  10. When I type that in it says doesnt exist
     
  11. Ok here's my issue, I've been fighting with this for a couple weeks, and can't seem to find the issue.
    Here is the error Im getting:


    [Oxide] 22:44 [Error] Failed to call hook 'cmdChatHotel' on plugin 'Hotel v1.1.4' (ArgumentException: An element with the same key already exists in the dictionary.)
    [Oxide] 22:44 [Debug] at System.Collections.Generic.Dictionary`2[System.String,Oxide.Plugins.Hotel+Room].Add (System.String key, Oxide.Plugins.Room value) [0x00000] in <filename unknown>:0
    at Oxide.Plugins.Hotel.FindAllRooms (Vector3 position, Single radius, Single roomradius) [0x00000] in <filename unknown>:0
    at Oxide.Plugins.Hotel+HotelData.RefreshRooms () [0x00000] in <filename unknown>:0
    at Oxide.Plugins.Hotel.cmdChatHotel (.BasePlayer player, System.String command, System.String[] args) [0x00000] in <filename unknown>:0
    at Oxide.Plugins.Hotel.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
    at Oxide.Plugins.CSharpPlugin.InvokeMethod (HookMethod 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 name, System.Object[] args) [0x00000] in <filename unknown>:0
     
  12. since the latest oxide update:
    Code:
    (23:13:47) | [Oxide] 22:14 [Error] Failed to call hook 'CanUseDoor' on plugin 'Hotel v1.1.4' (NullReferenceException: Object reference not set to an instance of an object)
    (23:13:47) | [Oxide] 22:14 [Debug]   at Oxide.Plugins.Hotel.CanUseDoor (.BasePlayer player, .BaseLock baselock) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Hotel.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (HookMethod 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 name, System.Object[] args) [0x00000] in <filename unknown>:0
     
  13. Does this mod still work?
     
  14. Not for me
     
  15. doesn't work. /hotel rooms part doesn't work anymore. can't identify rooms.
     
  16. i wish the author would update this. I really want this on my server...
     
  17. this would be great for my server, like putting a message on their screen on where to go since i have a barren map (which is more simplified for a pve type of server), i figure just update it and let us be hospitality managers again ftw!
     
  18. v1490 DB123 Fixed version:
     
  19. Here is my error with that version:
    22:10 [Warning] Calling 'CreateOrUpdateZone' on 'ZoneManager v2.4.4' took 723ms
    22:10 [Warning] Calling 'cmdChatHotel' on 'Hotel v1.1.4' took 752ms
    22:10 [Error] Failed to call hook 'cmdChatHotel' on plugin 'Hotel v1.1.4' (ArgumentException: An element with the same key already exists in the dictionary.)
    22:10 [Debug] at System.Collections.Generic.Dictionary`2[System.String,Oxide.Plugins.Hotel+Room].Add (System.String key, Oxide.Plugins.Room value) [0x00000] in <filename unknown>:0
    at Oxide.Plugins.Hotel.FindAllRooms (Vector3 position, Single radius, Single roomradius) [0x00000] in <filename unknown>:0
    at Oxide.Plugins.Hotel+HotelData.RefreshRooms () [0x00000] in <filename unknown>:0
    at Oxide.Plugins.Hotel.cmdChatHotel (.BasePlayer player, System.String command, System.String[] args) [0x00000] in <filename unknown>:0
    at Oxide.Plugins.Hotel.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
    at Oxide.Plugins.CSharpPlugin.InvokeMethod (HookMethod 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 name, System.Object[] args) [0x00000] in <filename unknown>:0
     
  20. Any chance to get an update? I can open all rooms even if i have rent a room. And everyone can remove the Code lock ...