1. CHR

    CHR

    Did it like that but did not work I give it another try. Ty
     
  2. dont forget to use "
     
  3. can you add the comands to the config file ? so i can change them ? like /poll i want to use /votar

    thx :)
    [DOUBLEPOST=1426116698][/DOUBLEPOST]and /poll history is not working!
     
  4. Code:
    [Oxide] 12:23 AM [Info] C:\TCAFiles\Users\CarlosH\38378\release\server\vserver\oxide\plugins\Polling.cs(86,15): error CS0426: The nested type `TimerInstance' does not exist in the type `Oxide.Plugins.Timer'
     
    Last edited by a moderator: Mar 20, 2015
  5. Same here. Please, update)
    Code:
    (15:47:36) | [Oxide] 4:47 PM [Info] Polling plugin failed to compile! Exit code: 1
    (15:47:36) | [Oxide] 4:47 PM [Info] Compilation failed: 1 error(s), 0 warnings
    (15:47:36) | [Oxide] 4:47 PM [Info] C:\servers\Blatsk\rust_exp_t1wgqz_28017\server\plugins\Polling.cs(86,15): error CS0426: The nested type `TimerInstance' does not exist in the type `Oxide.Plugins.Timer'
     
  6. I will try to release updated version for lastest oxide update within today
     
  7. Getting an odd error about KeyNotFound?
    Code:
    [Oxide] 12:35 PM [Error] Failed to call hook 'cmdChatPoll' on plugin 'Polling Plugin' (KeyNotFoundException: The given key was not present in the dictionary.)
    [Oxide] 12:35 PM [Debug] at System.Collections.Generic.Dictionary`2[System.String,System.Object].get_Item (System.String key) [0x00000] in <filename unknown>:0 at Oxide.Plugins.Polling.cmdChatPoll (.BasePlayer Player, System.String Command, System.String[] Args) [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
     
  8. Can you delete config file and reload plugin.
     
  9. I attempted that before.

    What is weird is sometimes on my host ClanForge, the json files will either be blank or two files with the same name will appear in the addon folder.

    I ended up copying the contents of the json file to the blank one and now everything is working.

    Thanks.
     
  10. Code:
    12:19 PM [Warning] Compilation failed: 1 error(s), 0 warnings12:19 PM [Error] C:\TCAFiles\Users\CarlosH\38378\release\server\vserver\oxide\plugins\Polling.cs(86,21): error CS0234: The type or namespace name `Libraries' does not exist in the namespace `Oxide.Unity'. Are you missing an assembly reference?
     
  11. CHR

    CHR

    I dont get it to run... ;( well it runs but nothing happens and the Time vote dosnt work and the airdrop dosnt come after successvote ;/ grrr
    [DOUBLEPOST=1427215597][/DOUBLEPOST]Nevermind works now...

    I had to Change Event.run into airdrop.run in the lua... and time works also. TY
     
  12. Hey man,
    Awesome plugin, however is there any chance you can add a daily trigger or timed trigger (a scheduler?) for the polls? im desperate to find some way of having a skip night vote before dark automatically. Cheers and love your work
     
  13. CHR

    CHR

    I would like to have a cool down on votes. But yeah its awesome. If people use airdrop plugin u have to change the command in the .cs file. Search for event.run and change it to airdrop.run or airdrop.massdrop for wich plugin u use
     
  14. I will add an option for that in config files in next update.

    I will add an option for that in config files in next update.
     
  15. Thanks heaps man :D Legendary!
     
    Last edited by a moderator: Mar 26, 2015
  16. seem to be getting the below error:
    Code:
    (19:36:52) | [Oxide] 5:36 PM [Error] Polling plugin failed to compile! Exit code: 1
    (19:36:52) | [Oxide] 5:36 PM [Warning] D:\TCAFiles\Users\******\****\server\Streamline\oxide\plugins\Polling.cs(86,15): error CS0234: The type or namespace name `Unity' does not exist in the namespace `Oxide'. Are you missing an assembly reference?
    Deleted the config file, still seems to be doing it.
    [DOUBLEPOST=1427698207][/DOUBLEPOST]Looks like changing Oxide.Unity.Libraries to Core.Libraries fixes it.
     
  17. Currently testing new version with AutoskipNight and Ability to change airdrop command...
     
  18. Feramor updated Poll System with a new update entry:

    Small fixes

     
  19. poll history does not work!