Jump to content

Memory issues

Fixed 2.0.5 2.0.6

Pro100Razor111
Pro100Razor111

Posted

Is this normal behavior for a plugin that hasn’t been configured yet and where players don’t have access to the items? It looks like a memory leak...
image.png.a23c0afa9cf8365e4446059624b48dec.png

copcopekcro

Posted (edited)

Well did you turn on spawn event ? 
"AutomaticEventEnabled": true,
  "MaxEventsAtTime": 50,
  "MinEventTimer": 900.0,
  "MaxEventTimer": 1800.0,
It cant go that high if there is not any chest / npc spawned ..

But will check it ofc !


10 "TreasureMaps" (2.0.5) by Copek (0.00s / 0 B) - TreasureMaps.cs
This is after like 10 mins without using any event opening chest ...

Do you have NPCSpawn plugin on server ?  (iam just looking what can be problem) 

Edited by copcopekcro
copcopekcro

Posted

If you are using default config :
"Coins": [
    {
      "ItemDisplayName": "Gold Coin",
      "ItemShortname": "easter.goldegg",
      "SkinID": 3151241149,
      "MinItemPerCoin": 1,
      "MaxItemPerCoin": 10,
      "LootTable": "goldcoin",
      "LootTables": {
        "goldcoin": [
          {
            "Economy": "Item",
            "IsBlueprint": false
          }
        ]
      },
      "Spawns": [
        {
          "PrefabPath": "assets/bundled/prefabs/radtown/crate_normal_2.prefab",
          "SpawnChance": 100.0
        }
      ]
    }
Coin is spawning in every (crate_normal_2) crate . And that is using memory ...


Will check all 😉

Pro100Razor111

Posted

3 hours ago, copcopekcro said:

Well did you turn on spawn event ? 
"AutomaticEventEnabled": true,
  "MaxEventsAtTime": 50,
  "MinEventTimer": 900.0,
  "MaxEventTimer": 1800.0,
It cant go that high if there is not any chest / npc spawned ..

But will check it ofc !


10 "TreasureMaps" (2.0.5) by Copek (0.00s / 0 B) - TreasureMaps.cs
This is after like 10 mins without using any event opening chest ...

Do you have NPCSpawn plugin on server ?  (iam just looking what can be problem) 

image.png.c9f12098f1c75fe04334ba27b280928e.png

AutoEvent is off
image.png.1dc6e13fe7632eb145773ea94dd6fa0c.png

I have NPCSpawn plugin

Pro100Razor111

Posted

2 hours ago, copcopekcro said:

If you are using default config :
"Coins": [
    {
      "ItemDisplayName": "Gold Coin",
      "ItemShortname": "easter.goldegg",
      "SkinID": 3151241149,
      "MinItemPerCoin": 1,
      "MaxItemPerCoin": 10,
      "LootTable": "goldcoin",
      "LootTables": {
        "goldcoin": [
          {
            "Economy": "Item",
            "IsBlueprint": false
          }
        ]
      },
      "Spawns": [
        {
          "PrefabPath": "assets/bundled/prefabs/radtown/crate_normal_2.prefab",
          "SpawnChance": 100.0
        }
      ]
    }
Coin is spawning in every (crate_normal_2) crate . And that is using memory ...


Will check all 😉

image.png.fd599e5aac3356ccd98515e15a4e4570.png

I disabled all spawning and set the chance to 0%.

By the way, I wanted to mention something about the config. When you first install the plugin, it creates a default configuration and starts spawning things that I haven’t customized yet.
I think it would be safer if spawning were disabled by default, so it has to be manually enabled.
In my case, players ended up receiving coins, and the base item is golden eggs — which can be exchanged with a trader in my server.
And if I disable the plugin, those coins can still be used to get a prize like from a golden egg.

copcopekcro

Posted

Oke oke , I found what is problem ..working on fix rn !

Oke , will change to 0 spawn chance of that coin ( probably i forget to change that on 0 , rest are default 0 )

copcopekcro

Posted (edited)

Fixed in new version !
Let me know results 😉

Edited by copcopekcro
  • Like 1
copcopekcro

Posted

Changed Status from Pending to Fixed

Changed Fixed In to 2.0.6

2m

Downloads

Total number of downloads.

9.4k

Customers

Total customers served.

137k

Files Sold

Total number of files sold.

2.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.