Big big issue at last rust update my number profiles increase with null profiles and random steamid ^-°
disabled for preserve profiles
HuntRPG
Moved
Total Downloads: 16,959 - First Release: Mar 15, 2015 - Last Update: Jul 30, 2018
- 5/5, 73 likes
-
Please reply -
-
latest Rust update do this shit :/ they have change something where HuntRPG become mad I hope after wipe all back fine again...
-
Fix:
private RPGInfo FindRpgInfo(BasePlayer player)
{
if (Data == null) return null;
var userId = player.userID;
RPGInfo config;
if (Data.Profiles.TryGetValue(userId, out config))
{
config.SetUserId(userId);
config.SteamName = player.displayName;
config.LastSeen = Facepunch.Math.Epoch.Current;
return config;
}
if (player.displayName==null) return null;
Data.Profiles[userId] = config = new RPGInfo(player.displayName, DefaultHud, ShowProfile);
config.SetUserId(userId);
//SaveRPG();
return config; -
Perfect many thank @hoop
(18:30:50) | Loaded plugin Hunt RPG v1.5.13 by PedraozauM / SW / Nogrod
(18:30:50) | [Hunt RPG] 772 profiles, 56 furnaces, 2 quarries loaded
(18:30:50) | Calling 'OnServerInitialized' on 'HuntPlugin v1.5.13' took 206ms
(18:32:36) | [Hunt RPG] 772 profiles, 56 furnaces, 2 quarries saved
(18:32:36) | Saved 53,749 ents, serialization(0.01), write(0.02), disk(0.01) totalstall(0.08).
Br -
With this plugin enabled when I go to craft something like paper it doesn't work. The server shows that there is no instance to the object?
-
Hi, thank you for your work. I am a server and I confused about how to change the position of the level-showing at the screen, I can't find the specific code in the huntplugin.json file. Help me please.
-
I have a big problem. If I use hunt-plugin on my server, there will be a problem to craft. I change nothing with the .json file. here are my plugins, help me, please.
[DOUBLEPOST=1504677980][/DOUBLEPOST]Attached Files:
-
-
-
It would be amazing if you could spend some time updating the plugin information with the commands that are available. It was by pure coincidence i found out that this plugin had a GUI menu.
Also how do i add a trainer NPC? -
I love this plugins but I have a lots of error message like this :
Code:Exception while calling NextTick callback (NullReferenceException: Object refere nce not set to an instance of an object) at Oxide.Plugins.HuntPlugin+<OnStructureUpgrade>c__AnonStorey1.<>m__0 () [0x00 000] in <filename unknown>:0 at Oxide.Core.OxideMod.OnFrame (Single delta) [0x00000] in <filename unknown>: 0
This plugin is died? Or we can expect an update?Last edited by a moderator: Sep 30, 2017 -
-
Wulf Community Admin
-
I love this plugin more than Zlevel. It's more realistic. No one know how to repair and maintain this plugin ?
I try to enable craft reduce and i find a solution inspired by Sirius Skrilium's solution on page 44.
Code:object OnItemCraftFinished(ItemCraftTask task, Item item) { if (task.amount > 0) return null; if (task.blueprint != null && task.blueprint.name.Contains("(Clone)")) { var behaviours = task.blueprint.GetComponents<MonoBehaviour>(); foreach (var behaviour in behaviours) { if (behaviour.name.Contains("(Clone)")) UnityEngine.Object.Destroy(behaviour); } task.blueprint = null; } /*var blueprints = UnityEngine.Object.FindObjectsOfType<ItemBlueprint>(); if (blueprints.Length > 0) { foreach (var blueprint in blueprints) { var behaviours = blueprint.GetComponents<MonoBehaviour>(); foreach (var behaviour in behaviours) { if (behaviour.name.Contains("(Clone)")) UnityEngine.Object.Destroy(behaviour); } } } var items = UnityEngine.Object.FindObjectsOfType<ItemDefinition>(); if (items.Length > 0) { foreach (var itemDef in items) { var behaviours = itemDef.GetComponents<MonoBehaviour>(); foreach (var behaviour in behaviours) { if (behaviour.name.Contains("(Clone)")) UnityEngine.Object.Destroy(behaviour); } } }*/ return null; }
Last edited by a moderator: Oct 10, 2017 -
-
Chat Commands
- /h | /hunt (Displays the help text) // THIS IS OUTDATED. EX: "/hunt health" IS REMOVED
- /hgui (Displays the Hunt GUI)
- /hunt about (Displays the overview of the plugin)
- /hunt shortcuts (Displays all available command shortcuts)
- /hunt profile (Displays your player profile)
- /hunt xp (Displays your current XP)
- /hunt profilepreferences (Displays your profile preferences - Shows more commands)
- /hunt skilllist (Displays all active skill's)
- /hunt skill <skillname> (Displays requirements for the skill)
- /hunt statset <stats> <points> (Adds X amount of points to a stat)
- /hunt skillset <skillname> <points> (Adds X amoint of points to a skill)
- /hunt lvlup <UserName> <level> (Sets targeted player to a specific level)
- /hunt lvlup <level> (Sets your level to a specific number)
- /hunt xp% <number> (Not quite sure what it does)
- /hunt sh (Changes GUI to Bottom bar, box or disabled)
- /hunt top (Displays top 10 players)
- /hunt lvlreset (Resets all player data)
- /hunt statreset (Resets your stats - Also resets your skills)
- /hunt skillreset (Resets your skills)
Console Commands
- hunt.cmd (Same command as /hunt or /h just for console)
- hunt.saverpg (Saves all player data)
- hunt.resetrpg (Resets all player data)
- hunt.lvlup <UserName> <level> (Sets targeted player's level)
- hunt.reset <UserName> (Resets targeted players data)
- hunt.statreset <UserName> (Resets targeted players stats)
- hunt.skillreset <UserName> (Resets targeted players skills)
- hunt.genxptable (Generates a XP table)
Non Operational Commands
- /hunt health (Listed in /h | /hunt, but it's not in the plugin)
- /hunt popup (Not working or displaying changes)
- /hunt xp% (Not working or displaying changes(Displays a message but no changes))
- /hunt craftmsg (Works but crafting is broken)
- /hunt research (Might work, but research seem to not work/be disabled)
There we go, i have listed and categorized all available and WORKING commands that are for Hunt RPG.
NOTE that most of these commands have no returning syntax or error messages, some don't even have confirmation messages. So use these commands at your own discretion.Last edited by a moderator: Nov 11, 2017 -
NullReferenceExeption: Object reference not set to an instance of an object
NullReferenceExeption: Object reference not set to an instance of an object
NullReferenceExeption: Object reference not set to an instance of an object
NullReferenceExeption: Object reference not set to an instance of an object
NullReferenceExeption: Object reference not set to an instance of an object
NullReferenceExeption: Object reference not set to an instance of an object
NullReferenceExeption: Object reference not set to an instance of an object
Server laging -
I have same on my server but without hunt rpg.
It's bug with last Rust update.
For resolve it, I save my folder oxide and my server identity. I reinstall all my dedicated server and paste folders.
Now no more errors messages like that and my server works fine.
N.B. : A friend work to make a plugin similar to Hunt rpg but totally reworked and without bugs. -
I am going to attempt to update this, I am trying to contact a plugin developer to help me with this. Will keep you all updated.