EasyVoteHighestVoter

Moved

Total Downloads: 213 - First Release: Nov 4, 2017 - Last Update: Dec 25, 2017

5/5, 4 likes
  1. Exel80 submitted a new resource:

    EasyVote HighestVoter - Monthly check highest voter and reward him

    Read more about this resource...
     
  2. Exel80 updated EasyVote HighestVoter with a new update entry:

    1.0.0

     
  3. Exel80 updated EasyVote HighestVoter with a new update entry:

    1.0.0

     
  4. (08:54:26) | Error while compiling: EasyVoteHighestvoter.cs(33,17): error CS0151: A switch expression of type `object' cannot be converted to an integral type, bool, char, string, enum or nullable type

    @Exel80 Getting the above when uploading 1.0.0 however the previous (original - date version) compiled fine :)
     
    Last edited by a moderator: Nov 5, 2017
  5. Exel80 updated EasyVote HighestVoter with a new update entry:

    1.0.1

     
  6. Thank you Exel, uploaded and compiled fine :)
     
  7. (21:35:08) | [Oxide] 20:35 [Warning] [EasyVote-HighestVoter] Unable to call hook directly: LoadDefaultMessages
     
  8. hey @Exel80
    is there any randomization when choosing highest voter from several players if they got same number of votes last month?
    also suggestion: make another option in config, letting you take a name for the group, so it will be shown instead group name in advertisement etc.
     
  9. No, currently it gave reward to most voted player. This can be easily added also, if other people like this idea too? :)

    Not sure what you mean by this. You do not or do want show group name in advertisement?
     
  10. yeah, my English is poor, sorry.
    i understand, what it gives reward to most voted player, but lets say there is 2 players with same amount of votes, how does plugin will behave? it shall choose one of these two randomly, otherwise it's unfair to give reward for player just because of his nickname in abc are higher than other.

    about additional option in config, i just suggest to add optional name for group option (if it choosen in config), so players will see that phrase instead of group name, which say them nothing.
     
  11. Good idea. I actually didn't thought about this.
    EDIT: Only one problem, im using string getHighestvoter() (EasyVote call) to receive highest voter. Well i have to figure this out, maybe add new hook where it list all voters.

    You can always edit message from lang file to say something useful about that rank/group. But i got you point.
     
    Last edited by a moderator: Dec 19, 2017
  12. yeah, get list and make EVHV(easy vote highest voter) "spin roulete" for these highest voters with same amount of voices =]
    ..or as EV plugin decides which one to send to EVHV so maybe logically to do these calculations in EV itself and then just send only one name via getHighestvoter() so nothing will change in ESHV but only in EV?
    it's up to you for sure)
     
  13. Is there a way to change the color of the text to anything other than cyan? I don't see anything in the .json file that controls text color.
     
  14. Yes you can. You can change colors from oxide/lang/en json file.
     
  15. Exel80 updated EasyVote HighestVoter with a new update entry:

    1.0.2

     
  16. Exel80 updated EasyVote HighestVoter with a new update entry:

    1.0.2


    [DOUBLEPOST=1514193293][/DOUBLEPOST]I re-upload latest version, Hotfix(s) · exel80/OxidePlugins@f39cca4 · GitHub

    There was few line what needs hotfix.
     
  17. @Exel80 - there seems to be a slight issue with the latest Highest Voter for the latest EasyVote:
    Code:
    (09:11:39) | EasyVote was compiled successfully in 2179ms
    (09:11:39) | Unloaded plugin EasyVote v2.0.31 by Exel80
    (09:11:39) | Loaded plugin EasyVote v2.0.32 by Exel80
    (09:11:45) | EasyVoteHighestvoter was compiled successfully in 216ms
    (09:11:45) | Unloaded plugin EasyVote-HighestVoter v1.0.11 by Exel80
    (09:11:45) | Loaded plugin EasyVote-HighestVoter v1.0.2 by Exel80
    (09:39:45) | [JPipes] 31 pipes saved
    (09:39:45) | Saved 100,911 ents, serialization(0.00), write(0.02), disk(0.01) totalstall(0.05).
    (09:39:45) | Saving complete
    (09:41:45) | Failed to run a 1800.00 timer in 'EasyVoteHighestvoter v1.0.2' (NullReferenceException: Object reference not set to an instance of an object)
      at Oxide.Plugins.EasyVoteHighestvoter.Announce () [0x00000] in <filename unknown>:0
      at Oxide.Plugins.EasyVoteHighestvoter.nextMonth () [0x00000] in <filename unknown>:0
      at Oxide.Core.Libraries.Timer+TimerInstance.FireCallback () [0x00000] in <filename unknown>:0
     
  18. Make sure that config hasnt any NULL variable and/or Lang file.

    And i made little hotfix, so made sure you have right version
     
    Last edited by a moderator: Dec 25, 2017