Jump to content

16 Screenshots

  • 356.1k
  • 10.4k
  • 154.36 kB

Recommended Comments



14 hours ago, imthenewguy said:

DO you mean the shark buff, or sharks themselves are immortal?

The sharks themselves are on the server, they cannot be killed))

Link to comment
Share on other sites

Sorry my good man 

I'm still trying to translate your lang into german but it doesn't work that can't be I've translated so many plugins but yours always gives errors why ?????

Could not initialize plugin 'SkillTree v1.2.0' (JsonReaderException: Bad JSON escape sequence: \N. Path 'ReceivedSP', line 132, position 59.)
  at Newtonsoft.Json.JsonTextReader.ReadStringIntoBuffer (System.Char quote) [0x00286] in <271c58b7a8684db5a2c92be17a81f252>:0 
  at Newtonsoft.Json.JsonTextReader.ParseString (System.Char quote, Newtonsoft.Json.ReadType readType) [0x00014] in <271c58b7a8684db5a2c92be17a81f252>:0 
  at Newtonsoft.Json.JsonTextReader.ReadStringValue (Newtonsoft.Json.ReadType readType) [0x0015a] in <271c58b7a8684db5a2c92be17a81f252>:0 
  at Newtonsoft.Json.JsonTextReader.ReadAsString () [0x00000] in <271c58b7a8684db5a2c92be17a81f252>:0 
  at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.ReadForType (Newtonsoft.Json.JsonReader reader, Newtonsoft.Json.Serialization.JsonContract contract, System.Boolean hasConverter) [0x00077] in <271c58b7a8684db5a2c92be17a81f252>:0 
  at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateDictionary (System.Collections.IDictionary dictionary, Newtonsoft.Json.JsonReader reader, Newtonsoft.Json.Serialization.JsonDictionaryContract contract, Newtonsoft.Json.Serialization.JsonProperty containerProperty, System.String id) [0x00262] in <271c58b7a8684db5a2c92be17a81f252>:0 
  at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject (Newtonsoft.Json.JsonReader reader, System.Type objectType, Newtonsoft.Json.Serialization.JsonContract contract, Newtonsoft.Json.Serialization.JsonProperty member, Newtonsoft.Json.Serialization.JsonContainerContract containerContract, Newtonsoft.Json.Serialization.JsonProperty containerMember, System.Object existingValue) [0x002a8] in <271c58b7a8684db5a2c92be17a81f252>:0 
  at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal (Newtonsoft.Json.JsonReader reader, System.Type objectType, Newtonsoft.Json.Serialization.JsonContract contract, Newtonsoft.Json.Serialization.JsonProperty member, Newtonsoft.Json.Serialization.JsonContainerContract containerContract, Newtonsoft.Json.Serialization.JsonProperty containerMember, System.Object existingValue) [0x0006d] in <271c58b7a8684db5a2c92be17a81f252>:0 
  at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize (Newtonsoft.Json.JsonReader reader, System.Type objectType, System.Boolean checkAdditionalContent) [0x000d9] in <271c58b7a8684db5a2c92be17a81f252>:0 
  at Newtonsoft.Json.JsonSerializer.DeserializeInternal (Newtonsoft.Json.JsonReader reader, System.Type objectType) [0x00053] in <271c58b7a8684db5a2c92be17a81f252>:0 
  at Newtonsoft.Json.JsonSerializer.Deserialize (Newtonsoft.Json.JsonReader reader, System.Type objectType) [0x00000] in <271c58b7a8684db5a2c92be17a81f252>:0 
  at Newtonsoft.Json.JsonConvert.DeserializeObject (System.String value, System.Type type, Newtonsoft.Json.JsonSerializerSettings settings) [0x0002d] in <271c58b7a8684db5a2c92be17a81f252>:0 
  at Newtonsoft.Json.JsonConvert.DeserializeObject[T] (System.String value, Newtonsoft.Json.JsonSerializerSettings settings) [0x00000] in <271c58b7a8684db5a2c92be17a81f252>:0 
  at Newtonsoft.Json.JsonConvert.DeserializeObject[T] (System.String value) [0x00000] in <271c58b7a8684db5a2c92be17a81f252>:0 
  at Oxide.Core.Libraries.Lang.GetMessageFile (System.String plugin, System.String lang) [0x00067] in <bae5f1223fce49c493b01571c99dce02>:0 
  at Oxide.Core.Libraries.Lang.RegisterMessages (System.Collections.Generic.Dictionary`2[TKey,TValue] messages, Oxide.Core.Plugins.Plugin plugin, System.String lang) [0x00032] in <bae5f1223fce49c493b01571c99dce02>:0 
  at Oxide.Plugins.SkillTree.LoadDefaultMessages () [0x01072] in <3b1884cae7594cd28e852692528af4e7>:0 
  at Oxide.Core.Plugins.Plugin.HandleAddedToManager (Oxide.Core.Plugins.PluginManager manager) [0x0001d] in <bae5f1223fce49c493b01571c99dce02>:0 
  at Oxide.Core.Plugins.CSPlugin.HandleAddedToManager (Oxide.Core.Plugins.PluginManager manager) [0x00000] in <bae5f1223fce49c493b01571c99dce02>:0 
  at Oxide.Plugins.CSharpPlugin.HandleAddedToManager (Oxide.Core.Plugins.PluginManager manager) [0x00000] in <09575a60985045248bcb43b20faeeb99>:0 
  at Oxide.Plugins.RustPlugin.HandleAddedToManager (Oxide.Core.Plugins.PluginManager manager) [0x0028e] in <da04d64d18ef405dbbe25fb2d5343b74>:0 
  at Oxide.Core.Plugins.PluginManager.AddPlugin (Oxide.Core.Plugins.Plugin plugin) [0x00027] in <bae5f1223fce49c493b01571c99dce02>:0 
  at Oxide.Core.OxideMod.PluginLoaded (Oxide.Core.Plugins.Plugin plugin) [0x00035] in <bae5f1223fce49c493b01571c99dce02>:0  

SkillTree.json

Link to comment
Share on other sites
8 hours ago, Wolf said:

The sharks themselves are on the server, they cannot be killed))

I tested on my server and they don't seem to have any issues dying. Tested with having a non-associated combat buff on to enable the hook. Tested with having the shark resistance on. Tested having with the underwater damage on. In all tests I was able to kill the shark without issue.

Are you sure it is SkillTree causing the issue?

6 hours ago, Herrcooles said:

Sorry my good man 

I'm still trying to translate your lang into german but it doesn't work that can't be I've translated so many plugins but yours always gives errors why ?????

Could not initialize plugin 'SkillTree v1.2.0' (JsonReaderException: Bad JSON escape sequence: \N. Path 'ReceivedSP', line 132, position 59.)
  at Newtonsoft.Json.JsonTextReader.ReadStringIntoBuffer (System.Char quote) [0x00286] in <271c58b7a8684db5a2c92be17a81f252>:0 
  at Newtonsoft.Json.JsonTextReader.ParseString (System.Char quote, Newtonsoft.Json.ReadType readType) [0x00014] in <271c58b7a8684db5a2c92be17a81f252>:0 
  at Newtonsoft.Json.JsonTextReader.ReadStringValue (Newtonsoft.Json.ReadType readType) [0x0015a] in <271c58b7a8684db5a2c92be17a81f252>:0 
  at Newtonsoft.Json.JsonTextReader.ReadAsString () [0x00000] in <271c58b7a8684db5a2c92be17a81f252>:0 
  at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.ReadForType (Newtonsoft.Json.JsonReader reader, Newtonsoft.Json.Serialization.JsonContract contract, System.Boolean hasConverter) [0x00077] in <271c58b7a8684db5a2c92be17a81f252>:0 
  at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateDictionary (System.Collections.IDictionary dictionary, Newtonsoft.Json.JsonReader reader, Newtonsoft.Json.Serialization.JsonDictionaryContract contract, Newtonsoft.Json.Serialization.JsonProperty containerProperty, System.String id) [0x00262] in <271c58b7a8684db5a2c92be17a81f252>:0 
  at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject (Newtonsoft.Json.JsonReader reader, System.Type objectType, Newtonsoft.Json.Serialization.JsonContract contract, Newtonsoft.Json.Serialization.JsonProperty member, Newtonsoft.Json.Serialization.JsonContainerContract containerContract, Newtonsoft.Json.Serialization.JsonProperty containerMember, System.Object existingValue) [0x002a8] in <271c58b7a8684db5a2c92be17a81f252>:0 
  at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal (Newtonsoft.Json.JsonReader reader, System.Type objectType, Newtonsoft.Json.Serialization.JsonContract contract, Newtonsoft.Json.Serialization.JsonProperty member, Newtonsoft.Json.Serialization.JsonContainerContract containerContract, Newtonsoft.Json.Serialization.JsonProperty containerMember, System.Object existingValue) [0x0006d] in <271c58b7a8684db5a2c92be17a81f252>:0 
  at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize (Newtonsoft.Json.JsonReader reader, System.Type objectType, System.Boolean checkAdditionalContent) [0x000d9] in <271c58b7a8684db5a2c92be17a81f252>:0 
  at Newtonsoft.Json.JsonSerializer.DeserializeInternal (Newtonsoft.Json.JsonReader reader, System.Type objectType) [0x00053] in <271c58b7a8684db5a2c92be17a81f252>:0 
  at Newtonsoft.Json.JsonSerializer.Deserialize (Newtonsoft.Json.JsonReader reader, System.Type objectType) [0x00000] in <271c58b7a8684db5a2c92be17a81f252>:0 
  at Newtonsoft.Json.JsonConvert.DeserializeObject (System.String value, System.Type type, Newtonsoft.Json.JsonSerializerSettings settings) [0x0002d] in <271c58b7a8684db5a2c92be17a81f252>:0 
  at Newtonsoft.Json.JsonConvert.DeserializeObject[T] (System.String value, Newtonsoft.Json.JsonSerializerSettings settings) [0x00000] in <271c58b7a8684db5a2c92be17a81f252>:0 
  at Newtonsoft.Json.JsonConvert.DeserializeObject[T] (System.String value) [0x00000] in <271c58b7a8684db5a2c92be17a81f252>:0 
  at Oxide.Core.Libraries.Lang.GetMessageFile (System.String plugin, System.String lang) [0x00067] in <bae5f1223fce49c493b01571c99dce02>:0 
  at Oxide.Core.Libraries.Lang.RegisterMessages (System.Collections.Generic.Dictionary`2[TKey,TValue] messages, Oxide.Core.Plugins.Plugin plugin, System.String lang) [0x00032] in <bae5f1223fce49c493b01571c99dce02>:0 
  at Oxide.Plugins.SkillTree.LoadDefaultMessages () [0x01072] in <3b1884cae7594cd28e852692528af4e7>:0 
  at Oxide.Core.Plugins.Plugin.HandleAddedToManager (Oxide.Core.Plugins.PluginManager manager) [0x0001d] in <bae5f1223fce49c493b01571c99dce02>:0 
  at Oxide.Core.Plugins.CSPlugin.HandleAddedToManager (Oxide.Core.Plugins.PluginManager manager) [0x00000] in <bae5f1223fce49c493b01571c99dce02>:0 
  at Oxide.Plugins.CSharpPlugin.HandleAddedToManager (Oxide.Core.Plugins.PluginManager manager) [0x00000] in <09575a60985045248bcb43b20faeeb99>:0 
  at Oxide.Plugins.RustPlugin.HandleAddedToManager (Oxide.Core.Plugins.PluginManager manager) [0x0028e] in <da04d64d18ef405dbbe25fb2d5343b74>:0 
  at Oxide.Core.Plugins.PluginManager.AddPlugin (Oxide.Core.Plugins.Plugin plugin) [0x00027] in <bae5f1223fce49c493b01571c99dce02>:0 
  at Oxide.Core.OxideMod.PluginLoaded (Oxide.Core.Plugins.Plugin plugin) [0x00035] in <bae5f1223fce49c493b01571c99dce02>:0  

SkillTree.json 25.64 kB · 0 downloads

You have translated and removed the escape sequence: \n
if you ever see an escape sequence in a string, leave it.

"ReceivedSP": "Sie haben {0} Fähigkeitspunkte erhalten.\nNeuer verfügbarer Bestand: {1}",

This is how it should look.

Link to comment
Share on other sites

 

yes the translation works well thank you 


But we have now sat up all night again. 
because the server froze after 5 minutes. 

Without log message or error 

after update of Skilltree it went again it runs 

if a plugin can freeze a server without a log message 

That is evil  

Find the error at 90 plugins with own map and monuments 

 

Edited by Herrcooles
Link to comment
Share on other sites
15 hours ago, Herrcooles said:

Find the error at 90 plugins with own map and monuments 

My suggestion is use "oxide.unload all" from your console and see how the server is. If it works okay then you know it's a plugin, if not then it's a server/map issue.

If it is a plugin issue, what you could do is load them all "oxide.load all", then remove your plugins that you've recently changed/updated. This way you'll have all your plugins apart from the ones causing issue. It's a pain to troubleshoot issues, but going this way is the most easiest I have found.

Good luck, and if you have any questions I'd be happy to bounce ideas with you.
Christopher.

Link to comment
Share on other sites
1 hour ago, ChristopherS said:

My suggestion is use "oxide.unload all" from your console and see how the server is. If it works okay then you know it's a plugin, if not then it's a server/map issue.

If it is a plugin issue, what you could do is load them all "oxide.load all", then remove your plugins that you've recently changed/updated. This way you'll have all your plugins apart from the ones causing issue. It's a pain to troubleshoot issues, but going this way is the most easiest I have found.

Good luck, and if you have any questions I'd be happy to bounce ideas with you.
Christopher.

 

Yes thanks for the tips 

yes we can write it would be nice if there would be a Discord where server admins can meet and talk about wipe or updates. the official Discords like Rust Edit are hard to get an answer to questions or it 

would be nice to exchange internationally I come from Germany 

Link to comment
Share on other sites
2 hours ago, Herrcooles said:

 

Yes thanks for the tips 

yes we can write it would be nice if there would be a Discord where server admins can meet and talk about wipe or updates. the official Discords like Rust Edit are hard to get an answer to questions or it 

would be nice to exchange internationally I come from Germany 

You're welcome to add me on Discord: ChristopherS#0001 

One of my friends and mods is from Germany, so if there are any language barriers we have help too! 

Christopher.

EDIT: I'd be happy to invite you to my Discord server. I'll create a new invisible channel for server owners and add you to that so you can speak freely.

Edited by ChristopherS
Link to comment
Share on other sites

Small problem 

But I updated yesterday new version 1,2,1 but it shows error from 1.2.0 ? 

I have only updated the CS, left the config and Lang 

Failed to call hook 'OnCollectiblePickup' on plugin 'SkillTree v1.2.0' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.SkillTree.OnCollectiblePickup (CollectibleEntity entity, BasePlayer player) [0x000f9] in <54518223b3dc4bf2a6d9cd3e669ecaf0>:0 
  at Oxide.Plugins.SkillTree.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0321b] in <54518223b3dc4bf2a6d9cd3e669ecaf0>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <09575a60985045248bcb43b20faeeb99>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <bae5f1223fce49c493b01571c99dce02>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <bae5f1223fce49c493b01571c99dce02>:0 

Link to comment
Share on other sites

Updated to 1.2.1 and horses are broken. They cant turn without being laggy AF. I feel like you should really take those horse speed buffs out of the plugin, they have been causing issues since you released the plugin. I disable them but its too late, they were active for a moment and now all horses are laggy and dont turn properly. Is there any way to fix this without a server wipe and has ANYONE else experienced this? THANKS!

RJB

Link to comment
Share on other sites
15 minutes ago, RickJamesBitch said:

Updated to 1.2.1 and horses are broken. They cant turn without being laggy AF. I feel like you should really take those horse speed buffs out of the plugin, they have been causing issues since you released the plugin. I disable them but its too late, they were active for a moment and now all horses are laggy and dont turn properly. Is there any way to fix this without a server wipe and has ANYONE else experienced this? THANKS!

RJB

When you set these skills to off in the config, then restart the plugin, does a server restart not help you afterwards? There are multiple options for horses in the config, I would suggest making sure they're all off before reloading the plugin, then restarting the server.

These are all the things I would make sure you set to false if you haven't already.
 

    "Details of a horse to change when a player mounts a horse with the relevant perk unlocked": {
      "Increase_Horse_RunSpeed": true,
      "Increase_Horse_MaxSpeed": true,
      "Increase_Horse_TrotSpeed": false,
      "Increase_Horse_TurnSpeed": false,
      "Increase_Horse_WalkSpeed": false


        "Amature Rider": {
          "enabled": true,
          "max_level": 5,
          "tier": 1,
          "value_per_buff": 0.05,
          "buff_info": {
            "Key": 26,
            "Value": 1
          },
          "icon_url": "https://www.dropbox.com/s/a83zlb8l27wvvq8/Warriorskill_49_nobg.png?dl=1",
          "permissions": null
        },
        "Adept Rider": {
          "enabled": true,
          "max_level": 5,
          "tier": 2,
          "value_per_buff": 0.1,
          "buff_info": {
            "Key": 26,
            "Value": 1
          },
          "icon_url": "https://imgur.com/AfLYdhS.png",
          "permissions": null
        },
        "Expert Rider": {
          "enabled": true,
          "max_level": 5,
          "tier": 3,
          "value_per_buff": 0.15,
          "buff_info": {
            "Key": 26,
            "Value": 1
          },


Christopher.

  • Like 1
Link to comment
Share on other sites
On 8/26/2022 at 2:39 AM, imthenewguy said:

This is incredibly odd. Add me on discord and perhaps we can discuss it over voice. im the new guy#0001

Hey mate,

Just a quick update. I've tried all I can think of and cannot for the life of me fix this. I've disabled the wild gathering skills, farming works just fine so I've left those on. If you have any idea as to what could be causing this, then I'm open to suggestions. 

I've sent you some messages on Discord, and I am around daily. If you'd like any further information please just ask.

Take it easy,
Christopher.

Link to comment
Share on other sites
21 hours ago, Herrcooles said:

Kleines Problem 

Aber ich habe gestern die neue Version 1,2,1 aktualisiert, aber es zeigt einen Fehler von 1.2.0? 

Ich habe nur den CS aktualisiert, die Konfig gelassen und Lang 

Fehler beim Aufrufen des Hooks „OnCollectiblePickup“ für das Plug-in „SkillTree v1.2.0“ (NullReferenceException: Objektreferenz nicht auf eine Instanz eines Objekts festgelegt)
  bei Oxide.Plugins.SkillTree.OnCollectiblePickup (CollectibleEntity-Entität, BasePlayer-Player) [0x000f9] in <54518223b3dc4bf2a6d9cd3e669ecaf0 >:0 
  bei Oxide.Plugins.SkillTree.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0321b] in <54518223b3dc4bf2a6d9cd3e669ecaf0>:0 
  bei Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core .Plugins.HookMethod-Methode, System.Object[]-Argumente) [0x00079] in <09575a60985045248bcb43b20faeeb99>:0 
  bei Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String-Name, System.Object[]-Argumente) [0x000d8] in < bae5f1223fce49c493b01571c99dce02>:0 
  bei Oxide.Core.Plugins.Plugin.CallHook (System.String-Hook, System.Object[]-Argumente) [0x00060] in <bae5f1223fce49c493b01571c99dce02>:0 

you have forgotten me  🙂

Link to comment
Share on other sites
3 hours ago, Herrcooles said:

you have forgotten me 

Can I ask. If you edit your Skill Tree .cs file that is active on your server, can you please confirm what version it says? It should at the beginning of the file approximately on like 35. 

Kann ich fragen. Wenn Sie Ihre Skill Tree .cs-Datei bearbeiten, die auf Ihrem Server aktiv ist, können Sie bitte bestätigen, welche Version darin steht? Es sollte am Anfang der Datei ungefähr auf 35 stehen.

Christopher.

version.png

Edited by ChristopherS
  • Love 1
Link to comment
Share on other sites
7 hours ago, Herrcooles said:

you have forgotten me  🙂

If it is showing an error in console for 1.2.0, you have 1.2.0 cached and running in memory. Delete SkillTree.cs from your server then upload 1.2.1 and that issue should be resolved.

  • Like 1
Link to comment
Share on other sites
On 9/9/2022 at 12:50 PM, ChristopherS said:

When you set these skills to off in the config, then restart the plugin, does a server restart not help you afterwards? There are multiple options for horses in the config, I would suggest making sure they're all off before reloading the plugin, then restarting the server.

These are all the things I would make sure you set to false if you haven't already.
 

    "Details of a horse to change when a player mounts a horse with the relevant perk unlocked": {
      "Increase_Horse_RunSpeed": true,
      "Increase_Horse_MaxSpeed": true,
      "Increase_Horse_TrotSpeed": false,
      "Increase_Horse_TurnSpeed": false,
      "Increase_Horse_WalkSpeed": false


        "Amature Rider": {
          "enabled": true,
          "max_level": 5,
          "tier": 1,
          "value_per_buff": 0.05,
          "buff_info": {
            "Key": 26,
            "Value": 1
          },
          "icon_url": "https://www.dropbox.com/s/a83zlb8l27wvvq8/Warriorskill_49_nobg.png?dl=1",
          "permissions": null
        },
        "Adept Rider": {
          "enabled": true,
          "max_level": 5,
          "tier": 2,
          "value_per_buff": 0.1,
          "buff_info": {
            "Key": 26,
            "Value": 1
          },
          "icon_url": "https://imgur.com/AfLYdhS.png",
          "permissions": null
        },
        "Expert Rider": {
          "enabled": true,
          "max_level": 5,
          "tier": 3,
          "value_per_buff": 0.15,
          "buff_info": {
            "Key": 26,
            "Value": 1
          },


Christopher.

Thanks Christopher

Link to comment
Share on other sites

 

I want to know if you can add or if have the possibility to add an empty page or several to add our skills with permissions

Link to comment
Share on other sites

You mean like this?

Fsm4pq1.png

 

	"Test_tree": {
      "nodes": {
        "Test node": {
          "enabled": true,
          "max_level": 5,
          "tier": 1,
          "value_per_buff": 0.05,
          "buff_info": {
            "Key": 69,
            "Value": 1
          },
          "icon_url": "https://imgur.com/O0ls6gI.png",
          "permissions": {
            "description": "This is a test node. You can add your description here. Level 1 gives instant cooking. Level 2 gives free cooking.",
            "perms": {
              "1": {
                "perms_list": {
                  "cooking.instant": "Instant Cooking"
                }
              }
            }
          }
        }        
      }
    }

 

Edited by imthenewguy
  • Like 1
Link to comment
Share on other sites

Oui comme sa j'ai essayer d'ajouter votre code dans la config mais aucune page ne sajoute

        }
      }
    },
	"Test_tree": {
      "nodes": {
        "Test node": {
          "enabled": true,
          "max_level": 5,
          "tier": 1,
          "value_per_buff": 0.05,
          "buff_info": {
            "Key": 69,
            "Value": 1
          },
          "icon_url": "https://imgur.com/O0ls6gI.png",
          "permissions": {
            "description": "This is a test node. You can add your description here. Level 1 gives instant cooking. Level 2 gives free cooking.",
            "perms": {
              "1": {
                "perms_list": {
                  "cooking.instant": "Instant Cooking"
                }
              }
            }
          }
        }        
      }
    },
  "Leveling information. Y value must be set to 2 or 3": {

 

Edited by Delltus
Link to comment
Share on other sites

I have an idea of adding which would be really great, the possibility of allocating rewards for a level level chosen example level 10 the player gains an exp bonus, + a personalize object, + a permission that will allow a lot of things like not being able to craft or buy the item until you pass level 10 to gain permission

Link to comment
Share on other sites

I have Primitive Expert skill learned and I am still taking durability damage with a Stone Spear.  I checked the config and the perk is enabled and stone spear is added to the list of items to include.

Link to comment
Share on other sites

Apologies in advance for the long post!

I'm deep into our custom perm-based skill tree now, thanks@Zoreenofor the sample, and @imthenewguyfor the fucntionality!

One of the nodes is for the various perms that ST offers. I've expanded the various perms as such and added them into their own node.
 

    "Maximum points a player can spend [default]": 200,
    "Modified max skill points based on permissions [must be higher than default]": {
      "skillPointMax1": 210,
      "skillPointMax2": 220,
      "skillPointMax3": 230,
      "skillPointMax4": 240,
      "skillPointMax5": 250,
      "vip": 240,
      "nolimit": 0
    },
...
    "Cost per point to respec [default]": 500.0,
    "Cost per point to respec based on permissions [must be lower than default]": {
      "respecCost1": 400,
      "respecCost2": 300,
      "respecCost3": 200,
      "respecCost4": 100,
      "respecCost5": 50,
      "vip": 5.0
    },  
...
    "Amount of xp that a player loses when they die [%]": 50.0,
    "Maximum amount of xp a player can lose when they die based on permissions [must be less than default]": {
      "xpLoss1": 45.0,
      "xpLoss2": 40.0,
      "xpLoss3": 35.0,
      "xpLoss4": 30.0,
      "xpLoss5": 25.0,
      "vip": 10.0
    },
...
    "Permissions to adjust xp gain modifiers (skilltree.<perm>) [1.0 is default modifier]": {
      "xpBoost1": 1.02,
      "xpBoost2": 1.04,
      "xpBoost3": 1.06,
      "xpBoost4": 1.08,
      "xpBoost5": 1.10,
      "vip": 1.0
    },
...
            "perms": {
              "1": {
                "perms_list": {
                  "skillTree.skillPointMax1": "Max SP +10",
                  "skillTree.respecCost1": "Respec 80%",
                  "skillTree.xpLoss1": "XP Loss 45%",
                  "skillTree.xpBoost1": "XP Boost 2%"
                }
              },
              "2": {
                "perms_list": {
                  "skillTree.skillPointMax2": "Max SP +20",
                  "skillTree.respecCost2": "Respec 60%",
                  "skillTree.xpLoss2": "XP Loss 40%",
                  "skillTree.xpBoost2": "XP Boost 4%"
                }
              },
              "3": {
                "perms_list": {
                  "skillTree.skillPointMax3": "Max SP +30",
                  "skillTree.respecCost3": "Respec 40%",
                  "skillTree.xpLoss3": "XP Loss 35%",
                  "skillTree.xpBoost3": "XP Boost 6%"
                }
              },
              "4": {
                "perms_list": {
                  "skillTree.skillPointMax4": "Max SP +40",
                  "skillTree.respecCost4": "Respec 20%",
                  "skillTree.xpLoss4": "XP Loss 30%",
                  "skillTree.xpBoost4": "XP Boost 8%"
                }
              },
              "5": {
                "perms_list": {
                  "skillTree.skillPointMax5": "Max SP +50",
                  "skillTree.respecCost5": "Respec 10%",
                  "skillTree.xpLoss5": "XP Loss 25%",
                  "skillTree.xpBoost5": "XP Boost 10%"
                }
              }
            }


Everything seems to be working fine when I level up, the menu changes with the new values for the perms (and you can see the max point spent and respec cost moving as well.
 

image.thumb.png.7c32a5e1fab5b767f135bc0cb95a8d17.png

image.thumb.png.0038dd4208fbcbc1d500c1bfcfdcfd23.png

 

The perms (in /perms) also move between their various states, fantastic!

 

image.thumb.png.d3b150ff55624a2b536ed6718af89099.png

image.thumb.png.f3288c2946e1407af809ec348f6ef8da.png

 

The only thing I noticed was that my xploss1...5 perms to lower the xp lost on death weren't in /perms. Not sure if that's a /perms issue or if the plugin has a bug and isn't registering those perms?

I did a death test just in case:

Starting XP: 375,475.8
You lost 7,737.4 for dying
New XP: 367,738.4

Lower XP bound of my level is: 360,000
XP gained this level: 15,475.8 (375,475.8 - 360,000)
% XP lost (7,737.4 / 15,475.8) = 50% (ish)

This suggests the default is being applied and not, the xploss3 (35%). Anything you can see I'm doing wrong with the setup?

 

 

Link to comment
Share on other sites

That is a bug from my end. I forgot to add the part where it registers the permission :x

Will be in the next update.

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Like 14
  • Love 18

User Feedback

1.3m

Downloads

Total number of downloads.

6.5k

Customers

Total customers served.

95.8k

Files Sold

Total number of files sold.

1.9m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.