It sounds like your datafile is messed up somehow. Could you provide it for me please?
Ranks And Titles [Unmaintained]
Discussion in 'Plugin Support' started by KillParadise, Mar 3, 2015.
-
Wulf Community Admin
-
Here you have both files, i only changed the Ranks Names, but that error only start showing a few days back, dont know why :/
Attached Files:
-
-
Wulf Community Admin
-
@Wulf
Sorry, forgot about that!Attached Files:
-
-
Code:
[8/24/2015 7:59:12 AM] [Oxide] 7:59 AM [Error] Failed to call hook 'OnPlayerInit' on plugin 'RanksAndTitles v1.7.3' File: RanksAndTitles.js Line: 375 Column: 4 TypeError : at Jint.Native.Function.ScriptFunctionInstance.Call (JsValue thisArg, Jint.Native.JsValue[] arguments) [0x00000] in <filename unknown>:0 at Oxide.Ext.JavaScript.Plugins.JavaScriptPlugin.OnCallHook (System.String hookname, 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
-
I am unable to set, add and remove karma with this command. It says "Incorrect Syntax please use /rt k command amount playername or /rt k playername" -
Still having this error:
Code:[Oxide] 5:15 PM [Error] Failed to call hook 'OnPlayerInit' on plugin 'RanksAndTitles v1.7.3' File: RanksAndTitles.js Line: 375 Column: 4 TypeError 76561198170780834 is undefined: at Jint.Native.Function.ScriptFunctionInstance.Call (JsValue thisArg, Jint.Native.JsValue[] arguments) [0x00000] in <filename unknown>:0 at Oxide.Ext.JavaScript.Plugins.JavaScriptPlugin.OnCallHook (System.String hookname, 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
Last edited by a moderator: Sep 10, 2015 -
How do i set karma/kills i did the command /rt k add -1000 name but it did not work
-
@Wulf Any solution for this error? Thanks!
Code:[Oxide] 2:10 AM [Error] Failed to call hook 'OnPlayerInit' on plugin 'RanksAndTitles v1.7.3' File: RanksAndTitles.js Line: 375 Column: 4 TypeError 76561198015614569 is undefined: at Jint.Native.Function.ScriptFunctionInstance.Call (JsValue thisArg, Jint.Native.JsValue[] arguments) [0x00000] in <filename unknown>:0 at Oxide.Ext.JavaScript.Plugins.JavaScriptPlugin.OnCallHook (System.String hookname, 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
-
-
it starting to mke my server lag server setting at 100% when i have this plugin on
-
Im getting an Error , But its Loaded just not working
Code:[Oxide] 11:33 PM [Info] Loaded plugin RanksAndTitles v1.7.3 by Killparadise [Oxide] 11:33 PM [Info] Config already at latest version: v1.6.6 [Oxide] 11:33 PM [Debug] ExType: TargetInvocationException [Oxide] 11:33 PM [Error] Failed to initialize plugin 'RanksAndTitles v1.7.3' (NullReferenceException: Object reference not set to an instance of an object) [Oxide] 11:33 PM [Debug] at Oxide.Core.Libraries.Permission.GroupExists (System.String groupname) [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.Global
Last edited by a moderator: Sep 10, 2015 -
The Karma System Isn't Working on my server, I also want to get rid of the [Player] title but it isn't working, I've reloaded the plugin countless times and nothing is working for me. Please Help
Attached Files:
-
-
[DOUBLEPOST=1441929439,1441857309][/DOUBLEPOST]Line 151 you need to change it to #ffa500 as what is there does not work the extra two letters on the end is making it to long -
Hi
Code:[Oxide] 9:46 AM [Error] Failed to call hook 'OnPlayerInit' on plugin 'RanksAndTi tles v1.7.3' File: RanksAndTitles.js Line: 375 Column: 4 TypeError : at Jint.Native.Function.ScriptFunctionInstance.Call (JsValue thisArg, Jint.Nat ive.JsValue[] arguments) [0x00000] in <filename unknown>:0 at Oxide.Ext.JavaScript.Plugins.JavaScriptPlugin.OnCallHook (System.String hoo kname, 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
Last edited by a moderator: Sep 11, 2015 -
Why the Bandit Ranks don´t function? Pls help me
Code:{ "Main": { "Prefixes": [ { "title": "Player", "Color": "#FFFFFF", "permission": "player" }, { "title": "Moderator", "Color": "#ffa500ff", "permission": "mod" }, { "title": "Admin", "Color": "#59b644", "permission": "admin" } ], "Ranks": [ { "rank": 0.0, "title": "Newbie/Neu", "karma": 0.0, "killsNeeded": 0.0, "Color": "#FFFFFF", "karmaModifier": 1.0 }, { "rank": 11.0, "title": "Bad Boy/Böser Junge", "karma": "disabled", "killsNeeded": 1.0, "Color": "#f46c6c", "karmaModifier": 2.0 }, { "rank": 10.0, "title": "Mercenary/Söldner", "karma": "disabled", "killsNeeded": 8.0, "Color": "#f46c6c", "karmaModifier": 5.0 }, { "rank": 9.0, "title": "Small Timer/Kleinkrimineller", "karma": "disabled", "killsNeeded": 15.0, "Color": "#f46c6c", "karmaModifier": 8.0 }, { "rank": 8.0, "title": "Criminal/Krimineller", "karma": "disabled", "killsNeeded": 25.0, "Color": "#f46c6c", "karmaModifier": 12.0 }, { "rank": 7.0, "title": "Killer/Mörder", "karma": "disabled", "killsNeeded": 35.0, "Color": "#f46c6c", "karmaModifier": 16.0 }, { "rank": 6.0, "title": "bandit/Bandit", "karma": "disabled", "killsNeeded": 45.0, "Color": "#f46c6c", "karmaModifier": 20.0 }, { "rank": 5.0, "title": "Thug/Verbrecher", "karma": "disabled", "killsNeeded": 60.0, "Color": "#f46c6c", "karmaModifier": 25.0 }, { "rank": 4.0, "title": "Hardened Criminal/Schwerverbrecher", "karma": "disabled", "killsNeeded": 75.0, "Color": "#f46c6c", "karmaModifier": 30.0 }, { "rank": 3.0, "title": "Hardened Criminal/Schwerverbrecher", "karma": "disabled", "killsNeeded": 90.0, "Color": "#f46c6c", "karmaModifier": 37.0 }, { "rank": 2.0, "title": "Gangster", "karma": "disabled", "killsNeeded": 105.0, "Color": "#f46c6c", "karmaModifier": 45.0 }, { "rank": 1.0, "title": "Gangster Boss", "karma": "disabled", "killsNeeded": 125.0, "Color": "#f46c6c", "karmaModifier": 60.0 }, { "rank": 10.5, "title": "Good Boy", "karma": 1.0, "killsNeeded": "disabled", "Color": "#63ace5", "karmaModifier": 2.0 }, { "rank": 9.5, "title": "Overseer/Aufpasser", "karma": 10.0, "killsNeeded": "disabled", "Color": "#63ace5", "karmaModifier": 5.0 }, { "rank": 8.5, "title": "Helper/Helfer", "karma": 25.0, "killsNeeded": "disabled", "Color": "#63ace5", "karmaModifier": 8.0 }, { "rank": 7.5, "title": "Samaritan/Samariter", "karma": 40.0, "killsNeeded": "disabled", "Color": "#63ace5", "karmaModifier": 12.0 }, { "rank": 6.5, "title": "Benefactor/Wohltäter", "karma": 75.0, "killsNeeded": "disabled", "Color": "#63ace5", "karmaModifier": 18.0 }, { "rank": 5.5, "title": "Philantrop", "karma": 100.0, "killsNeeded": "disabled", "Color": "#63ace5", "karmaModifier": 22.0 }, { "rank": 4.5, "title": "Bodyguard", "karma": 140.0, "killsNeeded": "disabled", "Color": "#63ace5", "karmaModifier": 30.0 }, { "rank": 3.5, "title": "Hero", "karma": 190.0, "killsNeeded": "disabled", "Color": "#63ace5", "karmaModifier": 35.0 }, { "rank": 2.5, "title": "Legend", "karma": 240.0, "killsNeeded": "disabled", "Color": "#63ace5", "karmaModifier": 40.0 }, { "rank": 1.5, "title": "Mythos", "karma": 300.0, "killsNeeded": "disabled", "Color": "#63ace5", "karmaModifier": 45.0 } ] }, "Messages": { "NoPlyrs": "No Players Found...", "plyrWiped": "Player Wiped!", "dataRfrsh": "Data Refreshed!", "noPerms": "You do not have permission to use this command.", "setSuccs": "<color=lime>{player}'s</color> Prefix Set Successfully!", "needTitle": "You need to enter a title for the player!", "stats": [ "<color=orange>Kills:</color> {kills}", "<color=orange>Deaths:</color> {deaths}", "<color=orange>KDR:</color> {kdr}", "<color=orange>Rank:</color> {rank}", "<color=orange>Karma:</color> {karma}" ], "userprefix": "Your Prefix is: ", "errors": "Incorrect command structure, please try again.", "loseKarma": "<color=red>You've lost Karma!</color>", "gainKarma": "<color=green>You've gained Karma!</color>", "reset": "'s prefix reset!", "adminsOn": "Admins ranks turned on.", "adminsOff": "Admins rankings turned off.", "help": "/rt help - Get RanksAndTitles Command Help", "clearData": "RanksAndTitles Data Wiped...", "noData": "No Player Data Found... Attempting to Build.", "setKarma": "Karma successfully set!", "setKarma0": "You can only use numbers to set a players karma.", "plyrKarma": " Karma level is: ", "checkFailed": "Check failed..", "addKarma": "Karma added to player successfully", "removeKarma": "Karma removed from player successfully", "rankCreated": "<color=green>New Rank {rank} Created!</color>", "rankDel": "<color=green>{rank} has been deleted!</color>", "crtPrefix": "<color=green>{prefix} has been created!</color>", "offline": "<color=red>Karma given by sleepers is currently off</color>", "bdSyntax": "Incorrect Syntax please use {syntax}", "noPrefix": "You need to enter a prefix!", "slain": "<color=lime>{slayer}</color> the <color={slayerColor}>{title}</color> has slain <color=lime>{slain}</color> the <color={slainColor}>{stitle}</color>!", "rankChange": "Your rank has changed to: <color=lime>{rank}</color>", "offlineKill": "You have slayin an offline user without a rank. <color=red>-1 Karma</color>" }, "Permissions": { "wipe": "canWipe", "set": "canSet", "preup": "canUpdate", "remove": "canRemove", "noadmin": "canHide", "switch": "canSwitch", "kset": "canSetKarma", "kcheck": "canCheckKarma", "krem": "canRemKarma", "kadd": "canAddKarma", "clear": "canClear", "create": "canCreate", "delete": "canDelete", "staff": "isStaff" }, "Prefix": "RanksAndTitles", "rtHelp": { "Help": [ "/rt - display your rank or title", "/rt preup - launches a prefix update check", "/rt stats - get your current stats if in ranks mode", "/rt refresh - refreshes your data file, recommended only used after system switch" ], "AdminHelp": [ "<color=orange>/rt wipe playername</color> - Wipes the sleceted players Kills, Deaths, KDR, and Karma", "<color=orange>/rt set playername title</color> - Sets a custom title to the selected player, this must be a title in config (NOT RANK)", "<color=orange>/rt remove playername</color> - removes a given players custom title, and sets them back into the ransk tree", "<color=orange>/rt showprefix</color> - switch prefixes on and off", "<color=orange>/rt noadmin</color> - Removes admins (auth 2 or higher) from ranks system no kills, or ranks will be given.", "<color=orange>/rt k set amt playername</color> - set a selected players karma level", "<color=orange>/rt k playername</color> - check the selected players karma", "<color=orange>/rt k add amt playername</color> - adds the entered amount of karma to the selected player", "<color=orange>/rt k rem amt playername</color> - removes the entered amount of karma from the selected player", "<color=orange>/rt create rankname rank karmaneeded killsneeded karmagiven color permissions</color> - create a new rank", "<color=orange>/rt create prefixname color permission</color> - create a new prefix", "<color=orange>/rt delete rankname</color> - delete a rank" ] }, "Settings": { "useKarma": true, "colorSupport": true, "noAdmin": false, "showPrefix": true, "AntiAbuseOn": true, "dropRank": false, "antiSleeper": false, "deathMsgs": false, "usePermissionPrefixes": true, "chatNameColor": "#ffd39b", "staffchatNameColor": "#89bdd3", "chatColor": "#FFFFFF" }, "Version": "1.6.6" }
-
Code:
[Error] Failed to call hook 'OnPlayerInit' on plugin 'RanksAndTitles v1.7.3' File: RanksAndTitles.js Line: 375 Column: 4 TypeError : at Jint.Native.Function.ScriptFunctionInstance.Call (JsValue thisArg, Jint.Native.JsValue[] arguments) [0x00000] in <filename unknown>:0 at Oxide.Ext.JavaScript.Plugins.JavaScriptPlugin.OnCallHook (System.String hookname, 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
-
So basically I want to give a player the [VIP] prefix. I've executed /rt create [VIP] green 0 (I obviously don't want to give a VIP ingame permissions, or does this 0 not define the player rights?
Anyway, so it gives me a return code saying that it was correctly done, now I'm executing /rt set ""player name" [VIP]
gives me a good return as well. Now this play definately see's that [VIP] is one of his prefixes, it just doesn't show.
What would I do now? Do I need to give the permission canSwitch to the VIP's so they can turn their own prefix on? -
HI,
how can i just Display the Admin Prefix, and not for all players?
"Settings": {
"useKarma": false,
"colorSupport": true,
"noAdmin": false,
"showPrefix": false,
"AntiAbuseOn": true,
"dropRank": false,
"antiSleeper": false,
"deathMsgs": false,
"usePermissionPrefixes": true,
"chatNameColor": "#1bd228",
"staffchatNameColor": "#880000",
"chatColor": "#FFFFFF" -
This is the worst plugin ever. It's shit and broken. Doesn't do what it says, the commands also do not work.