War Tracker

Make wars official! Get regular updates for all players in warring guilds on the server.

Total Downloads: 1,293 - First Release: Jun 6, 2015 - Last Update: Jul 1, 2015

5/5, 4 likes
  1. BUG : I cannot killing the player In wartime


    [​IMG]
     
  2. It looks like you have set the Minutes variable to 0 for preparation time, but have not set the variable above it (in the plaugin .cs file) to 0 for the seconds. (Will be a big number).
    This means that the seconds for preparation are still ticking, even though the text says no prep time.
    You need to change this value to 0 (There should be some comment text explaining what it is) to remove preparation time.
     
  3. Scorpyon updated War Tracker with a new update entry:

    Fixed - Base Attacking

     
  4. Still does not work. I deleted all plugin files and and loaded original plugin. Next i add /warnokos command in chat, And he declared war in player, Next I am waiting 10 min, after 10 min later I connot atack this player.
    Please help
     

    Attached Files:

    Last edited by a moderator: Jun 18, 2015
  5. Ok, no problem - I will look into this for you.
    I can't check it until I get home from work this evening (as I need two machines to check multiplayer stuff).
    But will get this checked for you!
     
  6. Is crest protection from mele weapons unless at war still an option since they can't be farmed for resources?
     
  7. The crests should currently be safe from melee weapons (if it's turned on).
    Let me know if it's not working!
     
  8. yeah it is my bad XD
     
  9. Hi! /warnobase doesn't work at our server.

    I type /warnobase and still can deal damage to wood blocks at villian territory with private (crest) and my hand and to all blocks with trebouchet.

    Also i tried to deal damage to opponent's crest (i know that it's his crest) and i can't with crest protection option.
    [​IMG]

    [DOUBLEPOST=1434684220][/DOUBLEPOST]I really should tell you vision of ideal war plugin for Reign of Kings which based on Minecraft's Faction plugin (read here)

    Here it is PVP server with rules. Good, popular server with big guilds and high everyday online.

    Players can kill other guys everywere (KoS allowed everytime) but if they want to destroy other guild's building they must use /declarewar command every time and it should be cooldown between wars (1-2-3-24 hours for example). I mean there must be a break in the siege between one and another guild.

    You can start war when someone from another guild is online. If none of the enemy guild is not in the network, it is impossible to declare a siege.

    If players from the guild, which declared the siege, out of the game, siege of action should be available for another 10-20-30 minutes after the release of offline.

    And now i should ask you: does it possible to realize all i told using War Tracker now or in future? Thanks.

    P.S. Also, our community would like to support your development projects plugins. How is it possible to do?
     
  10. Hey Kayne,

    Thanks! I know the base protection for this plugin is being something of a pain at the moment!
    I would be really grateful for any support people want to offer for keeping my plugins going. THat would be very kind!
    You can always send me a Paypal donation here:
    https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=5YWM3A2CHSQQS
    (Link is also in my signature)

    The things you have requested above are certainly achievable (in the most part) and would be things I want to add anyway - such as the cooldown between wars, to prevent war-spamming, etc.

    At the moment, you can only declare war on a player / guild if he is online, but it doesn't take into effect the number of members in each guild as yet. I want to tap into the GuildInfo plugin for that, perhaps.

    Thanks again for all the support I've received from you all on the forums here. I'll keep "plugging" away at the code to make these plugins as best as they can be!
    Cheers!
    Scorpy
     
  11. /warnokos command not work =(
    2015-06-20_00003.jpg
     
  12. Thanks Overside - I'll try and get a fix out tomorrow for this!
     
  13. Scorpyon updated War Tracker with a new update entry:

    Bug ix - Fixed /warokos

     
  14. think there is a bug with crests even when war is declared you still cant damage crest
     
  15. /warnokos work perfect!
    Ye /warnocrest buggy -(
     
  16. Been log reading and checking each individual plugin I use for errors and I came across this one.

    Code:
    8:00 PM [Error] Failed to call hook 'OnEntityHealthChange' on plugin 'WarTracker' (NullReferenceException: Object reference not set to an instance of an object)
    8:00 PM [Debug]   at Oxide.Plugins.WarTracker.OnEntityHealthChange (CodeHatch.Networking.Events.Entities.EntityDamageEvent damageEvent) [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 
    [DOUBLEPOST=1435009141,1434999705][/DOUBLEPOST]Weird bug where the war prep was 50 mins or longer
    [DOUBLEPOST=1435122397][/DOUBLEPOST]Also got a new issue popping up that the players on the server brought up this never showed before.

    Code:
    4:28 AM [Info] [WarTracker] WarTracker : [FF0000]War General : [00FF00]Kalibarr[FFFFFF]! You cannot attack this base when you are not at war with this guild!
    4:28 AM [Info] [WarTracker] WarTracker : [FF0000]War General : [00FF00]Kalibarr[FFFFFF]! You cannot attack this base when you are not at war with this guild!
    4:28 AM [Error] Failed to call hook 'OnCubeTakeDamage' on plugin 'Grand Exchange' (NullReferenceException: Object reference not set to an instance of an object)
    4:28 AM [Debug]   at Oxide.Plugins.GrandExchange.OnCubeTakeDamage (CodeHatch.Blocks.Networking.Events.CubeDamageEvent cubeDamageEvent) [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
    4:28 AM [Error] Failed to call hook 'OnCubeTakeDamage' on plugin 'WarTracker' (NullReferenceException: Object reference not set to an instance of an object)
    4:28 AM [Debug]   at Oxide.Plugins.WarTracker.OnCubeTakeDamage (CodeHatch.Blocks.Networking.Events.CubeDamageEvent cubeDamageEvent) [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
    4:28 AM [Error] Failed to call hook 'OnCubeTakeDamage' on plugin 'Grand Exchange' (NullReferenceException: Object reference not set to an instance of an object)
    4:28 AM [Debug]   at Oxide.Plugins.GrandExchange.OnCubeTakeDamage (CodeHatch.Blocks.Networking.Events.CubeDamageEvent cubeDamageEvent) [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
    4:28 AM [Error] Failed to call hook 'OnCubeTakeDamage' on plugin 'WarTracker' (NullReferenceException: Object reference not set to an instance of an object)
    4:28 AM [Debug]   at Oxide.Plugins.WarTracker.OnCubeTakeDamage (CodeHatch.Blocks.Networking.Events.CubeDamageEvent cubeDamageEvent) [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
    4:28 AM [Error] Failed to call hook 'OnCubeTakeDamage' on plugin 'Grand Exchange' (NullReferenceException: Object reference not set to an instance of an object)
    4:28 AM [Debug]   at Oxide.Plugins.GrandExchange.OnCubeTakeDamage (CodeHatch.Blocks.Networking.Events.CubeDamageEvent cubeDamageEvent) [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
    4:28 AM [Error] Failed to call hook 'OnCubeTakeDamage' on plugin 'WarTracker' (NullReferenceException: Object reference not set to an instance of an object)
    4:28 AM [Debug]   at Oxide.Plugins.WarTracker.OnCubeTakeDamage (CodeHatch.Blocks.Networking.Events.CubeDamageEvent cubeDamageEvent) [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
    4:28 AM [Error] Failed to call hook 'OnCubeTakeDamage' on plugin 'Grand Exchange' (NullReferenceException: Object reference not set to an instance of an object)
    4:28 AM [Debug]   at Oxide.Plugins.GrandExchange.OnCubeTakeDamage (CodeHatch.Blocks.Networking.Events.CubeDamageEvent cubeDamageEvent) [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
    4:28 AM [Error] Failed to call hook 'OnCubeTakeDamage' on plugin 'WarTracker' (NullReferenceException: Object reference not set to an instance of an object)
    4:28 AM [Debug]   at Oxide.Plugins.WarTracker.OnCubeTakeDamage (CodeHatch.Blocks.Networking.Events.CubeDamageEvent cubeDamageEvent) [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
    4:28 AM [Error] Failed to call hook 'OnCubeTakeDamage' on plugin 'Grand Exchange' (NullReferenceException: Object reference not set to an instance of an object)
    4:28 AM [Debug]   at Oxide.Plugins.GrandExchange.OnCubeTakeDamage (CodeHatch.Blocks.Networking.Events.CubeDamageEvent cubeDamageEvent) [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
    4:28 AM [Error] Failed to call hook 'OnCubeTakeDamage' on plugin 'WarTracker' (NullReferenceException: Object reference not set to an instance of an object)
    4:28 AM [Debug]   at Oxide.Plugins.WarTracker.OnCubeTakeDamage (CodeHatch.Blocks.Networking.Events.CubeDamageEvent cubeDamageEvent) [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
    4:28 AM [Error] Failed to call hook 'OnCubeTakeDamage' on plugin 'Grand Exchange' (NullReferenceException: Object reference not set to an instance of an object)
     
     

    Attached Files:

  17. Hello it's me again.

    I am having a problem with this plugin .. At this point I am not sure if I actually downloaded the newest update (so I will do that before I try anything else), so if you have fixed these issues please ignore.

    When I tried to load the plugin I was having a couple of problems. People who are at war can attack each other just fine, but if a person (who is not part of the war) comes up they can do damage to the people at war. The people at war can not damage them though. Was testing things out last night and found that one out.

    Also (and this is why I am not sure if I have the most up-to-date version of the plugin) Trebs can do damage to building regardless of if war is declared or not.

    Also a request! Of course.

    We wanted to allow people to declare war on other players, but we would also like it be able to setup nighttime KOS. There is a plugin that allows just that (and it is awesome), but if I have that one running it runs over the WarTracker plugin and stops all damage during the day.

    Is there a way you can incorporate an option for that? To allow killing during the night, or unless a war is declared.
     
  18. Great news both grand exchange and wartracker looking squeaky clean on the logs. Now just to bug the Night KOS Plugin developer for a fix ;). Anyhow i'll keep testing the plugin to see if the errors still persists regarding the war tracker. (Grand Exchange works perfect btw)

    Known errors so far for wartracker on the server.

    1 (warnocrest) Crests have been reported to not be able to take damage even if war is declared. (Attached a image of me testing this on a guild I just declared war on)
    2. War tracker prep time randomly bugs out sometimes it works fine sometimes it adds a random time (usually an hour or more). When the prep time ends so does the whole war so i believe. Kind of a weird one. (Attached screen shots in my previous post.)

    Also here is what my logs look like currently so much better then before thanks :)
    Code:
    11:37 AM [Info] [Personal Welcome] Heisenberg2 has joined for the first time. Sending them the Welcome message.
    11:37 AM [Info] [Announcer] Announcer : cole has left the server
    11:38 AM [Info] [Announcer] Announcer : TheRedViper has left the server
    11:38 AM [Info] [Announcer] Announcer : TheRedViper has joined the server!
    11:38 AM [Info] [Announcer] Announcer : cole has joined the server!
    11:38 AM [Info] [Personal Welcome] TheRedViper has joined again. Sending them the Return message.
    11:38 AM [Info] [Announcer] Announcer : Knight has joined the server!
    11:38 AM [Info] [Personal Welcome] cole has joined again. Sending them the Return message.
    11:38 AM [Info] [Personal Welcome] Knight has joined again. Sending them the Return message.
    11:39 AM [Info] [Announcer] Announcer : Dayuppy has left the server
    11:39 AM [Info] [Kits] Kits : Sir Damian The 1st ran the command /kit help
    11:39 AM [Info] [Announcer] Announcer : pixel has joined the server!
    11:39 AM [Info] [Announcer] Announcer : Knight has left the server
    11:39 AM [Info] [Announcer] Announcer : Hodor of Gondor has left the server
    11:39 AM [Error] Failed to call hook 'OnEntityHealthChange' on plugin 'Night Killing Only' (NullReferenceException: Object reference not set to an instance of an object)
    11:39 AM [Debug]   at Oxide.Plugins.NightKillOnly.OnEntityHealthChange (CodeHatch.Networking.Events.Entities.EntityDamageEvent damageEvent) [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
    11:40 AM [Info] [Announcer] Announcer : Hakan3369 has left the server
    11:40 AM [Info] [Personal Welcome] pixel has joined for the first time. Sending them the Welcome message.
    11:40 AM [Error] Failed to call hook 'OnEntityHealthChange' on plugin 'Night Killing Only' (NullReferenceException: Object reference not set to an instance of an object)
    11:40 AM [Debug]   at Oxide.Plugins.NightKillOnly.OnEntityHealthChange (CodeHatch.Networking.Events.Entities.EntityDamageEvent damageEvent) [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
    11:40 AM [Info] [Announcer] Announcer : Rollo-Stormblade has left the server
    11:40 AM [Info] [Announcer] Announcer : Grafen has joined the server!
    11:41 AM [Info] [Announcer] Announcer : Hakan3369 has joined the server!
    11:41 AM [Info] [Personal Welcome] Grafen has joined again. Sending them the Return message.
    11:41 AM [Info] [Announcer] Announcer : Rollo-Stormblade has joined the server!
    11:41 AM [Info] [Personal Welcome] Hakan3369 has joined again. Sending them the Return message.
    11:41 AM [Info] [Announcer] Announcer : cole has left the server
    11:41 AM [Info] [Announcer] Announcer : cole has joined the server!
    11:41 AM [Info] [Announcer] Announcer : Steedo_of_LaughingSkull has left the server
    11:41 AM [Info] [Personal Welcome] Rollo-Stormblade has joined again. Sending them the Return message.
    11:41 AM [Info] [Announcer] Announcer : Hodor of Gondor has joined the server!
    11:41 AM [Info] [Personal Welcome] cole has joined again. Sending them the Return message.
    11:41 AM [Info] [Personal Welcome] Hodor of Gondor has joined again. Sending them the Return message.
    11:42 AM [Info] [Announcer] Announcer : Rhaegar Targaryen has left the server
    11:42 AM [Info] [Announcer] Announcer : Rhaegar Targaryen has joined the server!
    11:42 AM [Info] [Personal Welcome] Rhaegar Targaryen has joined again. Sending them the Return message.
    11:42 AM [Info] [Announcer] Announcer : Grimmy has left the server
    11:43 AM [Info] [Announcer] Announcer : Lord TRANATOR has left the server
    11:43 AM [Info] [Announcer] Announcer : Lord TRANATOR has joined the server!
    11:43 AM [Info] [Announcer] Announcer : Grimmy has joined the server!
    11:43 AM [Info] [Announcer] Announcer : DarkeruHD has left the server
    11:43 AM [Info] [Personal Welcome] Lord TRANATOR has joined again. Sending them the Return message.
    11:43 AM [Info] [Personal Welcome] Grimmy has joined again. Sending them the Return message.
    11:44 AM [Info] [Announcer] Announcer : Dayuppy has joined the server!
    11:44 AM [Info] [Announcer] Announcer : Grafen has left the server
    11:44 AM [Info] [Personal Welcome] Dayuppy has joined again. Sending them the Return message.
    11:44 AM [Error] Failed to call hook 'OnEntityHealthChange' on plugin 'Night Killing Only' (NullReferenceException: Object reference not set to an instance of an object)
    11:44 AM [Debug]   at Oxide.Plugins.NightKillOnly.OnEntityHealthChange (CodeHatch.Networking.Events.Entities.EntityDamageEvent damageEvent) [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
    11:44 AM [Info] [Announcer] Announcer : Stern8 has joined the server!
    11:45 AM [Info] [Personal Welcome] Stern8 has joined again. Sending them the Return message.
    11:46 AM [Error] Failed to call hook 'OnEntityHealthChange' on plugin 'Night Killing Only' (NullReferenceException: Object reference not set to an instance of an object)
    11:46 AM [Debug]   at Oxide.Plugins.NightKillOnly.OnEntityHealthChange (CodeHatch.Networking.Events.Entities.EntityDamageEvent damageEvent) [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
    11:46 AM [Info] [Announcer] Announcer : Talion has joined the server!
     

    Attached Files:

  19. Ok, cool!
    I'll take a look at these.