Bounty Tracker

When you want that scumbug to be dead, put an attractive price on his head!

Total Downloads: 1,460 - First Release: Jun 11, 2015 - Last Update: Jun 13, 2015

5/5, 5 likes
  1. You probably want it as an option in the config, and when it is enabled, it would call the exchange plugin and reduce the player who sets a bounty his gold amount or when a player is killed with a bounty, the killer is given the gold by calling a method from the exchange plugin.
    Have a look at the DeadPlayersList plugin for Rust, I've put some information there on how to use [PluginReference] properly to have interaction between plugins in the overview :)
     
  2. Hmm. Ok - I'll see if I can look into that!
    Thanks (as always) Mughisi! :-D
     
  3. anyway we can like set a bounty for 10000 wood instead of 1000 kind week:D
     
  4. It's to do with the amount of stack. People won't normally have that many stack slots available when fighting, so they wouldn't get the whole bounty.
     
  5. Hey scorp.

    I tend to see this error often. Not sure why
    Code:
    6:41 PM [Error] Failed to call hook 'OnEntityDeath' on plugin 'Bounty Tracker' (NullReferenceException: Object reference not set to an instance of an object)
    6:41 PM [Debug]   at Oxide.Plugins.BountyTracker.OnEntityDeath (CodeHatch.Networking.Events.Entities.EntityDeathEvent deathEvent) [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
    6:41 PM [Info] [Grand Exchange] Grand Exchange : deathEvent.KillingDamage.DamageSource was null here!
     
    Last edited by a moderator: Jul 25, 2015
  6. The BH code is now quite old and in need of smoe proper updating. Will get to that soon
     
  7. What would we need to change to resolve that error message?
     
  8. Code:
    1:15 PM [Info] Loaded plugin Bounty Tracker v1.0.5 by Scorpyon
    1:15 PM [Error] Failed to initialize plugin 'BountyTracker v1.0.5' (Exception: Unexpected token)
    1:15 PM [Debug]  at Oxide.Core.Configuration.KeyValuesConverter.ReadJson (Newtonsoft.Json.JsonReader reader, System.Type objectType, System.Object existingValue, Newtonsoft.Json.JsonSerializer serializer) [0x00000] in <filename unknown>:0
      at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.DeserializeConvertable (Newtonsoft.Json.JsonConverter converter, Newtonsoft.Json.JsonReader reader, System.Type objectType, System.Object existingValue) [0x00000] in <filename unknown>:0
      at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize (Newtonsoft.Json.JsonReader reader, System.Type objectType, Boolean checkAdditionalContent) [0x00000] in <filename unknown>:0
    1:15 PM [Info] Unloaded plugin Bounty Tracker v1.0.5 by Scorpyon
    1:15 PM [Info] No previous version to rollback plugin: BountyTracke
     
    Last edited by a moderator: Aug 17, 2015
  9. Wulf

    Wulf Community Admin

    Something is wrong with your config file from the looks of it.
     
  10. Who's config file? We have not done anything to our config files for the many plugins that are not working. Everything was working prior to the latest Oxide patch and then we saw when we loaded the Oxide patch and restarted the server that several plugins were not working. I went into the logs and pasted the errors into each plugin forum here.
     
  11. Wulf

    Wulf Community Admin

    If you can, try updating to the latest snapshot to see if it helps. https://github.com/OxideMod/Snapshots/raw/master/Oxide-ReignOfKings.zip
     
  12. When are you updating it to r2?
     
  13. Hello again! I love this plugin, and it is used a lot on my server.

    I was wondering if you ever got around to updating the plugin to allow bounties to be set using gold?

    I have added a few items to the list of things that can be used, bit I have more and more people asking to use gold.

    I know you're a busy person, and it is no rush (I also may have missed a post telling me how to do it).

    Thanks!
     
  14. Can Anyone Please Help Me I Want To Set Bounty For Just Iron Ingots And Steel Ingots I Took Out all The Other Ones But They Can Still Use Them Please Help Thanks
     
  15. I have multiple plugins installed on my server "protected sleepers and no offline raids. When i place this into the plugins folder and go to play I type the old cmd's and try the new one and I get a red msg telling me to type /help. I have reset server also.
     
  16. If a guild member kills the person with a bounty on their head, nobody gets the bounty and it's removed. Essentially, the person who put up the bounty's reward is wasted.
     
  17. Hey - thanks for letting me know!
    Hmm - This shouldn't be possible (if they are in the same guild).
    However, this plugin is now pretty old (and not being updated any more for the time being). If I get some free time, I'll look into it.
     
  18. Actually, many servers still use the bounty system including mine which consistently peaks 25 users daily
     
  19. Ah that's cool. What I meant was that I've not worked on it for a long time. But I'm happy to try and have a look into the problem.
    [DOUBLEPOST=1484748182][/DOUBLEPOST]Can I check - do you receive the following message in game chat when the guild member is killed:
    Assassin's Guild : [player.DisplayName] was slain by a member of the same guild, so no bounty was collected!");

    If that comes up, then nothing should happen with regards to bounties (as it exits the code there).
     
  20. It does; however the bounty should be returned, no?