1. Yeah im using version 1.1.0.
    it only happens with 0.51 as the percentage. 0.55 displays fine
    Code:
    {
      "Messages": {
        "noPollOpen": "No poll is open at this time.",
        "alreadyVoted": "You have already voted once.",
        "voteProgress": "Vote progress: {0} / {1} ({2}%/{3}%)",
        "voteOpenTime": "Night time skip vote is now open for {0} minute(s).",
        "voteSuccessful": "Vote was successful, it will be daytime soon.",
        "voteFailed": "Vote failed, not enough players voted to skip night time.",
        "voteReOpenTime": "Vote will re-open in {0} minute(s).",
        "voteNow": "Type <color=#FF2211>/voteday</color> now to skip night time."
      },
      "Settings": {
        "displayVoteProgress": true,
        "pollRetryTime": 3.0,
        "pollTimer": 1.0,
        "requiredVotesPercentage": 0.51,
        "sunriseHour": 8,
        "sunsetHour": 18
      },
      "Version": "1.1.0"
    }
     
    Last edited by a moderator: Jun 14, 2015
  2. Can't modify Messages config part but can modify settings config part :/

    :)
     
  3. Very lol bug!
    Code:
            void Loaded() {
                LoadConfig();
    There is a call of function "LoadConfig()", but the function isn't present.
     
  4. I solve it whith direct plugin edition :)
     
  5. Is there any way to show the percentage of votes by groups of 5%? 1% spams the chatlog rapidly. Especially at 100-150 player population.
     
    Last edited by a moderator: Jun 24, 2015
  6. Hi there.
    How do I know if this plugin is not corrupted? I see the voting thing on my server, but it dosent say how many percentage or anything and just says the vote didnt get enough yes to do day. Im not sure if my players are actually voting yes or not? Can I check?

    Thanks
     
  7. Adjust your config file like you want ... with or without vote progression show
     
  8. My votes arent working for some reason. The plugin is active and it seems to work but when all players vote yes it does nothing and say the vote was uncomplete?
     
  9. @Pruto sorry then i didn't understanding well yoru problem :eek:

    I think you just didn't get vote progression :p

    I doesn't have any kind of this bug with mine maybe try update and start from scratch :)
     
  10. Error] [SkipNightVote] SkipNightVote: OnTick failed: Object reference not set to an instance of an object
    [DOUBLEPOST=1435297747,1435286893][/DOUBLEPOST]Anyone know how to update this? Or can someone tell me how to update it
     
  11. Plugin is not working since last nights update.
     
    Last edited by a moderator: Jun 27, 2015
  12. I believe this plugin is not going well with the weather plugin because when it skips night, the weather resets.
     
  13. OnTick failed: Object reference not set to an instance of an object

    i need some help because this error keeps showing up
     
  14. Can you make it so it surveys two options instead of one option. For example, It surveys both voting for and voting against day time. I think it's quite inaccurate because some people might not pay attention to chat, or they are afk, and that doesn't benefit the players that actual need day time.
     
  15. Code:
    [Oxide] 5:43 PM [Error] [SkipNightVote] SkipNightVote: OnTick failed: Object reference not set to an instance of an object
    [Oxide] 5:43 PM [Error] [SkipNightVote] SkipNightVote: OnTick failed: Object reference not set to an instance of an object
    [Oxide] 5:43 PM [Error] [SkipNightVote] SkipNightVote: OnTick failed: Object reference not set to an instance of an object
    [Oxide] 5:43 PM [Error] [SkipNightVote] SkipNightVote: OnTick failed: Object reference not set to an instance of an object
    [Oxide] 5:43 PM [Error] [SkipNightVote] SkipNightVote: OnTick failed: Object reference not set to an instance of an object
    [Oxide] 5:43 PM [Error] [SkipNightVote] SkipNightVote: OnTick failed: Object reference not set to an instance of an object
    [Oxide] 5:43 PM [Error] [SkipNightVote] SkipNightVote: OnTick failed: Object reference not set to an instance of an object
    [Oxide] 5:43 PM [Error] [SkipNightVote] SkipNightVote: OnTick failed: Object reference not set to an instance of an object
    [Oxide] 5:43 PM [Error] [SkipNightVote] SkipNightVote: OnTick failed: Object reference not set to an instance of an object
    [Oxide] 5:43 PM [Error] [SkipNightVote] SkipNightVote: OnTick failed: Object reference not set to an instance of an object
    [Oxide] 5:43 PM [Error] [SkipNightVote] SkipNightVote: OnTick failed: Object reference not set to an instance of an object
    This pretty much sums it up.
     
    Last edited by a moderator: Jun 30, 2015
  16. Can you add something to the code so that we can have the voting trigger every other night, otherwise my server has become a DAY server only with this awesome plugin... :)
     
  17. I've never been able to run this:
    Code:
    [Oxide] 12:44 PM [Info] Loaded plugin SkipNightVote v1.1.0 by Mordenak
    version is 1.1.0
    [Oxide] 12:44 PM [Error] Failed to call hook 'Loaded' on plugin 'SkipNightVote' (NullReferenceException: Object reference not set to an instance of an object)
    [Oxide] 12:44 PM [Debug]  at Oxide.Core.Configuration.DynamicConfigFile.get_Item (System.String key) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.SkipNightVote.Loaded () [0x00000] in <filename unknown>:0
      at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)
      at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
    thats all i ever get. Do I need another plugin for this to work?
     
    Last edited by a moderator: Jul 4, 2015
  18. [Oxide] 9:04 PM [Error] [SkipNightVote] SkipNightVote: OnTick failed: Object reference not set to an instance of an object


    Just started getting this constant error about a minute ago. Had to remove plugin.
     
  19. I would also like this feature to skip after a number of days/nights and then ask for the server population to vote.

    (ie. vote to skip night after every 4 nights )