DeclarationOfWar

Disables cube damage with siege when no war has been declared

Total Downloads: 589 - First Release: Aug 16, 2016 - Last Update: Aug 8, 2017

5/5, 1 like
  1. juk3b0x submitted a new resource:

    DeclarationOfWar - Disables cube damage with siege when no war has been declared

    Read more about this resource...
     
  2. I'm having issues with this plugin. I dropped the cs file into the oxide plugin folder, got the json file in the oxide config folder after restarting the server. The problem is that it says 10 minutes till war starts but it never counts down to it. It would also be nice to have # information for each config line in the json. Mainly what I'm wondering is how does "WarPrepTime" relate to "WarPrepTimeHours, minutes, and seconds?

    One other problem that I saw was that it told me I had declared war on a guild that I never did in addition to the guild I did declare war on. The time was also 39 minutes for the other guild.

    The guild I did declare on allowed me to do siege damage when I declared but the countdown never was right. I like the concept of locking out seige damage until there is a valid declaration of war so if you get that working this would be a simple and effective tool. Then again maybe I did mess up the installation but I have installed other plugins without any issues.
     
  3. Same problem here.

    "The problem is that it says 10 minutes till war starts but it never counts down to it. "
     
  4. I have this same issue. The timers not counting. Any help with this would be fantastic!
     
  5. Same here, 10 minutes for war prep yet it never counts down
     
  6. It dont open in winrar what do i do help plz
     
  7. same problem, stuck on 10 minutes until war starts
     
  8. This is still an issue. Is there any progress as to if/when this is to be fixed?
     
  9. I am currently having the same issue. Is this going to be fixed? It seems this has been an issue over a span of time.
    I would love to see this problem resolved.
     
  10. I have declaration of war mod and when someone declares war, the timer remains at 10 mins. As admin do I need to approve it for the count down to start? If so what is the command because it is not in the instruction. If no, then let me know what I need to post to assist you to solve it.
     
  11. If you guys want the timer to work, in the #region WAR SCRIPTS there is a logic error where something is parsed to a string and then a value is taken from it. You can swap the lines so the value is taken prior to parsing it to a string (which the code seems to use for storage later). In everything before this point a value is taken then it's stored to a string for later use. The actual timer coding is fine, but this will break your count-down timer if not swapped. Not 100% sure on the exact lines but it's by the top of the WAR SCRIPTS region in the plugin. Hope this helps people encountering issues with the timer count-down.
     
  12. Can someone message me a fixed version?
     
  13. Is There A Fixed Version For This Please Let Me Know Thank You.
     
  14. I fixed and rewrote the plugin for those who want it.
    Juk3b0x Does not play rok anymore.
    I can update it if @Wulf would be so kind as to give me permission for it.
     
  15. D-Kay updated DeclarationOfWar with a new update entry:

    2.0.0

     
  16. Nice, thanks.
     
  17. It isn't working for me! After write command on chat (/declarewar "nick name more words") nothing happen...
     
    Last edited by a moderator: Aug 19, 2017
  18. Could you send me your oxide_2017-08-19.txt log file?
     
  19. Yes: [C#] 00:15 [Error] Failed to call hook 'OnEntityHealthChange' on plugin 'Logs v0.1.0' - Pastebin.com

    I find something more in logs, in file called: compiler_20-08-2017

    Code:
    [SERVER v1.0.24] Console: DeclarationOfWar.cs(186,22): warning CS0114: `Oxide.Plugins.DeclarationOfWar.LoadDefaultMessages()' hides inherited member `Oxide.Core.Plugins.Plugin.LoadDefaultMessages()'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword
    And something more"
    Code:
    [Error] WarTime v1.1.2: Failed to load config file (is the config file corrupt?) (Unexpected character encountered while parsing value: F. Path 'adminSiegeException', line 2, position 25.)
     
    Last edited by a moderator: Aug 21, 2017
  20. Did you remove the original config file, data file and lang file as I said you should do? The new version is not compatible with any of the previous files