Jump to content

a way to set the amount of patrol boats on map

Closed 1.0.7

WerWolf
WerWolf

Posted

hi

greaty plugin

however i i think is needed is a option to set the amount of patrol boats on a map ...it seems excessive for my modded maps really would prefer a option to set the amount of boats

Jbird

Posted

You can do this in the configuration actually. You can set the min and max for each preset of boat @WerWolf.

KpucTaJl

Posted

Changed Status from Pending to Closed

WerWolf

Posted

 "List of positions for spawn on the map": []
    },

the only reference to spawn amounts (boats) above  ...the documentation is very lacking so have no idea how or what plugin to use to set these (or even how) i am guessing spawnsdata base could be used to set positions but thats not what i want i want to limit amount of boats spawned not where they spawn

as for amount of water patrol boats the 20+ odd that appear on a 4k map is excessive at the moment and causes alot of lag ..server fps drops from 100-110 average  to less than half that as soon as the plugin is active ..remove it and back to normal ..players are noticing the lag as soon as its applied .bear in mind this is a heavy modded server that has other land based bot spawns (removing those plugins has no effect on server performance)

great plugin but with out a way to set the max number of spawned water patrol boats  to a reasonable number its one i cant use .

have tried this on all my servers (different machines) and same thing happens

i have gone thru the plugin config and set  npcs amounts on each boat to 1 to help sort the issue (still same amount of boats spawn ) but still as soon as the plugin is applied the server performance sufffers and still the same amount of boats spawn around the islands

 

config.json

Jbird

Posted

 "List of patrol boat presets": [
    {
      "Chase Range": 400.0,
      "Sense Range": 200.0,
      "Minimum": 6,
      "Maximum": 6,

This is at the very beginning of the configuration. Note minimum and maximum values.

There is one of these for each preset to set the min and max for every single preset in the config.

WerWolf

Posted

if you look at my json it is set to 1 for those

 "Chase Range": 500.0,
      "Sense Range": 150.0,
      "Minimum": 1,
      "Maximum": 1,
      "Marker configuration on the map": {
        "Enabled? [true/false]": false,

 

Jbird

Posted

Your json is titled config.json above, is it titled WaterPatrol.json in your server?

Yes I see that your config has set to 1 for each of the 3 presets so you should have 3 boats at a time.

I was pointing it out because you told me the custom locations was the only reference to the amount. There is an amount for each preset. If you are getting that many boats then something is not put in the right place. The config you are showing me should only produce 3 boats not more than 20 @WerWolf.

WerWolf

Posted

Your json is titled config.json above, is it titled WaterPatrol.json in your server?    ...yes

 

plugin has been fixed thanks

 

 

Jbird

Posted

Glad to hear it @WerWolf.

Let us know if you have any other questions or run into any issues.

1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.3k

Files Sold

Total number of files sold.

2m

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.