FactionsCore

A Faction/Team System. Revamp from original Factions.

Total Downloads: 630 - First Release: Apr 13, 2017 - Last Update: Jun 19, 2017

5/5, 6 likes
  1. i have tryed to update it to the new version but it wont work with lustymap just throws errors at me

    Unloaded plugin ImageLibrary v2.0.2 by Absolut & K1lly0u
    Loaded plugin ImageLibrary v2.0.2 by Absolut & K1lly0u
    > oxide.reload LustyMap
    Unable to load LustyMap. Missing dependency: ImageLibrary

    i deleted old configs but still same messages
     
  2. No clue, ask lustymap thread?
     
  3. Oh, that's great it got updated!

    Also, on disconnect it displays that error.
    Code:
    11:32 [Error] Failed to call hook 'OnPlayerDisconnected' on plugin 'FactionsCore v1.0.2' (KeyNotFoundException: The given key was not present in the dictionary.)
    11:32 [Stacktrace]   at System.Collections.Generic.Dictionary`2[System.UInt16,Oxide.Plugins.FactionsCore+Faction].get_Item (UInt16 key) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.FactionsCore.DestroyFactionPlayer (Oxide.Plugins.FactionPlayer player) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.FactionsCore.OnPlayerDisconnected (.BasePlayer player) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.FactionsCore.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0 
    Doesn't really break anything, but I thought I'd just let you know.

    EDIT:
    And those error messages:
    Code:
    11:40 [Error] Failed to call hook 'cmdUI_LeaveFaction' on plugin 'FactionsCore v1.0.2' (ArgumentException: An element with the same key already exists in the dictionary.)
    11:40 [Stacktrace]   at System.Collections.Generic.Dictionary`2[System.String,Oxide.Plugins.Timer].Add (System.String key, Oxide.Plugins.Timer value) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.FactionsCore.SetJoinCooldown (.BasePlayer player) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.FactionsCore.cmdUI_LeaveFaction (.Arg arg) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.FactionsCore.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0 
    Code:
    11:38 [Error] Failed to call hook 'cmdSelectColor' on plugin 'FactionsCore v1.0.2' (NullReferenceException: Object reference not set to an instance of an object)
    11:38 [Stacktrace]   at Oxide.Plugins.FactionsCore.FactionCreation (.BasePlayer player, Int32 step) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.FactionsCore.cmdSelectColor (.Arg arg) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.FactionsCore.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0 
    Code:
    11:39 [Error] Failed to call hook 'GroupCommand' on plugin 'RustCore v2.0.3296' (FormatException: Input string was not in the correct format)
    11:39 [Stacktrace]   at System.Int32.Parse (System.String s) [0x00000] in <filename unknown>:0
      at Oxide.Game.Rust.RustCore.GroupCommand (IPlayer 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 
    EDIT vol 2:
    Code:
    11:48 [Error] Failed to call hook 'CanUseLockedEntity' on plugin 'FactionsCore v1.0.2' (NullReferenceException: Object reference not set to an instance of an object)
    11:48 [Stacktrace]   at Oxide.Plugins.FactionsCore.AllowedToBuild (.BasePlayer player) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.FactionsCore.CanUseLockedEntity (.BasePlayer player, .BaseLock door) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.FactionsCore.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0 
    reloading:
    Code:
    [Error] Failed to call hook 'Unload' on plugin 'FactionsCore v1.0.2' (KeyNotFoundException: The given key was not present in the dictionary.)
    11:47 [Stacktrace]   at System.Collections.Generic.Dictionary`2[System.UInt16,Oxide.Plugins.FactionsCore+Faction].get_Item (UInt16 key) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.FactionsCore.DestroyFactionPlayer (Oxide.Plugins.FactionPlayer player) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.FactionsCore.Unload () [0x00000] in <filename unknown>:0
      at Oxide.Plugins.FactionsCore.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0 
    Code:
    11:47 [Error] Web request callback raised an exception (NullReferenceException: Object reference not set to an instance of an object)
    11:47 [Stacktrace]   at Oxide.Plugins.FactionsCore+<GetRustTime>c__AnonStoreyA.<>m__0 (Int32 code, System.String response) [0x00000] in <filename unknown>:0 
     
    Last edited by a moderator: Jun 2, 2017
  4. Lol! Thanks! On it today :)
     
  5. Whenever I try to use the /faction command, it says it's still loading images and tells me to try later. I've waited hours before and it won't fix. I have the latest ImageLibrary and I've looked at all the configs and perms. What's wrong?
     
  6. Absolut updated FactionsCore with a new update entry:

    1.0.3

     
  7. I still have the same issue. Are there known compatibility issues with other plugins?
     
  8. Some more bugs:
    Code:
    20:54 [Error] Failed to call hook 'OnPlayerRespawned' on plugin 'FactionsCore v1.0.3' (NullReferenceException: Object reference not set to an instance of an object)
    20:54 [Stacktrace]   at Oxide.Plugins.FactionsCore.PlayerPanel (.BasePlayer player) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.FactionsCore.OnPlayerRespawned (.BasePlayer player) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.FactionsCore.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0 
    Code:
    20:59 [Error] Failed to call hook 'cmdUI_SafeZone' on plugin 'FactionsCore v1.0.3' (NullReferenceException: Object reference not set to an instance of an object)
    20:59 [Stacktrace]   at Oxide.Plugins.FactionsCore.AllowedToBuild (.BasePlayer player) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.FactionsCore.cmdUI_SafeZone (.Arg arg) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.FactionsCore.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0 
    EDIT:
    Same error on disconnecting too as previously.

    Even though yeah, kinda neat you keep killing those bugs.
    And I guess the last one can be kinda my fault since I haven't setup LustyMap correctly.
     
  9. hiya my question is about better chat. Is there a way to intergrate batter chat into FactionsCore? for example, we have "heros/VIP" players in better chat, id like to have them keep the hero/VIP tag in the colours we choose in better chat but just their name in the factions colour. (hope that makes sense)

    Also getting errors that dont seem to effect much. just so you know.

    Code:
    (15:05:02) | Failed to call hook 'Unload' on plugin 'FactionsCore v1.0.3' (KeyNotFoundException: The given key was not present in the dictionary.)
    (15:05:02) | at System.Collections.Generic.Dictionary`2[System.UInt16,Oxide.Plugins.FactionsCore+Faction].get_Item (UInt16 key) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.FactionsCore.DestroyFactionPlayer (Oxide.Plugins.FactionPlayer player) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.FactionsCore.Unload () [0x00000] in <filename unknown>:0
      at Oxide.Plugins.FactionsCore.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0
    Also getting images still loading that never completes after server restart, have to manually reload the plugin to get it to complete.
     
  10. Also is it possible to have a player forced into the faction with the smallest amount of members and be unable to leave? or maybe displays "YOU NEED TO CHOOSE A FACTION" and it kicks a player if they dont join a faction in 5 minutes (with a nice little countdown timer would be ideal but i wont push my luck :D)

    Why?
    Imagine a person getting really salty for some reason, then leaving his faction, killing the factions member in their town, that will piss people off. the good thing about the factions is that people can be saver in the faction zone, because only people from other factions can kill them.
    so even if a faction mate is being a t**t, he cant kill you or raid you because you are in the same faction

    We would gladly donate to a dev that can arrange this for us.
     
  11. Absolut updated FactionsCore with a new update entry:

    1.0.4

     
  12. upload_2017-6-19_17-24-15.png

    getting this error when trying to start the server. Using latest version of FactionsCore and ImageLibrary
     
  13. I second this.
     
  14. How to delete a post ?
     
  15. How to delete a faction when we are admin?
     
  16. Hi... Some errors on oxide logs and not started...
    Code:
    19:47 [Error] Failed to call hook 'OnServerInitialized' on plugin 'FactionsCore v1.0.4' (NullReferenceException: Object reference not set to an instance of an obje$
    19:47 [Stacktrace]   at Oxide.Plugins.FactionsCore.AddImage (System.String url, System.String shortname, UInt64 skin) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.FactionsCore.InitializeStuff () [0x00000] in <filename unknown>:0
      at Oxide.Plugins.FactionsCore.OnServerInitialized () [0x00000] in <filename unknown>:0
      at Oxide.Plugins.FactionsCore.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0
     
  17. How to delete a faction when we are admin?
     
  18. I feel like there is a button in the Admin Menu under Faction Management maybe? I know it is somewhere :)
     
  19. hi. Unfortunately no. Even being the administrator, I am proposed to create or join a faction.
     
  20. Agreed with Agonos also its completely broken you cannot create a faction as it doesnt understand the chat. I cant name a faction because it simply thinks im typing in chat.