Absolut submitted a new resource:
Factions - Allows players to join pre-made factions which provides protection
Read more about this resource...
Factions
A Faction system with Leaders, Taxes, Trades, Ranks, Kill Rewards, and MORE!
Total Downloads: 2,709 - First Release: May 20, 2016 - Last Update: Oct 27, 2017
- 5/5, 24 likes
-
-
Get the error
Attached Files:
-
-
[DOUBLEPOST=1463723134][/DOUBLEPOST]
Also please make sure you are downloading the newest version as I noticed one person downloaded the pre-lang release. (old version deleted to prevent this issue).
Thanks!Last edited by a moderator: May 20, 2016 -
I get this error when I type /faction in chat
(21:25:08) | [Oxide] 21:25 [Error] Failed to call hook 'cmdChangeFaction' on plugin 'Factions v1.0.0' (KeyNotFoundException: The given key was not present in the dictionary.)
(21:25:08) | [Oxide] 21:25 [Debug] at System.Collections.Generic.Dictionary`2[System.UInt64,Oxide.Plugins.Factions+FactionPlayerData].get_Item (UInt64 key) [0x00000] in <filename unknown>:0
at Oxide.Plugins.Factions.cmdChangeFaction (.BasePlayer player, System.String command, System.String[] args) [0x00000] in <filename unknown>:0
at Oxide.Plugins.Factions.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (System.Reflection.MethodInfo 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 hookname, System.Object[] args) [0x00000] in <filename unknown>:0 -
**For those using this plugin, or thinking about it**
I previously had factions auto-join oxide groups on selection. For example, you select FactionA.. you are joined to faction A and in the background you are placed in an oxide group called Faction.a and removed from oxide groups Faction.b and Faction.c. I had done this because I had private zones, warps, and other plugins based on oxide groups. If anyone would like this functionality I would be happy to add it.
[DOUBLEPOST=1463772571][/DOUBLEPOST] -
-
Thanks! -
Thank you, I just had to unassign my faction first, and it worked now
-
On my test server that is what I am seeing.
I'm really only concerned because you are the second person to say that error and yet I can't duplicate it : / -
-
-
there is any way to add enable or disable the ff of all?
-
Code:
[Oxide] 00:04 [Error] Failed to call hook 'cmdChangeFaction' on plugin 'Factions v1.0.0' (KeyNotFoundException: The given key was not present in the dictionary.) [Oxide] 00:04 [Debug] at System.Collections.Generic.Dictionary`2[System.UInt64,Oxide.Plugins.Factions+FactionPlayerData].get_Item (UInt64 key) [0x00000] in <filename unknown>:0 at Oxide.Plugins.Factions.cmdChangeFaction (.BasePlayer player, System.String command, System.String[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.Factions.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (System.Reflection.MethodInfo 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 hookname, System.Object[] args) [0x00000] in <filename unknown>:0 Saved 11,853 ents, serialization(0.00), write(0.00), disk(0.00) totalstall(0.01). Saving complete
Attached Files:
-
-
[DOUBLEPOST=1463780468][/DOUBLEPOST]
Let me load your config and test to see if I can duplicate. Give me a bit.
[DOUBLEPOST=1463781281][/DOUBLEPOST]
.... ok just finished testing your config. I had to save it as Unicode due to the formatting of the Faction names. Then I overrode the extension at the end with .json. From there I didn't have any issues. Even before doing that your faction names just came up as "????????!" and I would get the appropriate error as described to larz.
Try to walk me through how you got this error because once again I am unable to duplicate it. -
-
At load of plugin it should prompt all players to select a faction. Furthermore, at connection you are prompted to join a faction (unless you are already in one). Finally, if you are no longer in a faction and re-spawn you are prompted to select a faction. If these things are not occurring I suggest you reload the plugin.
You can delete your entry from the factions_data.json file then log into your server. You should experience what any player would when they join your server. -
-
-
It's first load. Fresh. Default config also doesn't work. All I did was renamed fractions names in the config file Ok, nethermind... I'll wait for the next version. Perhaps the plugin will work for me in future versions.. Thnx for great job.