Jump to content

Plugin reload won't kill older patrol boats

Closed 1.0.5

Kleementin
Kleementin

Posted

When reloading the plugin for testing and setting reasons the older patrol boats stay on the map and won't vanish.

Over time the map gets full of patrol boats this way.

I don't know if this could also lead to similar problems while the plugin is running normally.

KpucTaJl

Posted

Hi, this is certainly not normal, they should be deleted, if you get it means you have some errors in the server console, send them to me

Kleementin

Posted

Nope. No error in the log.

But the problem is bigger than I thought.

While the plugin is running it spawns more patrol boats then set in the config.

Check the screenshot! I took a pic of the boat and after that the position.

Only the last of the 3 patrol boats is correct and at the position where it should be.

The others should not be there.

 

It's either a problem of spawning too many or not despawning them if new patrol boats spawn somewhere.

I will have to turn the plugin off until this is fixed.

20230623192841_1.jpg

20230623192842_1.jpg

20230623192856_1.jpg

20230623192857_1.jpg

20230623192914_1.jpg

20230623192915_1.jpg

KpucTaJl

Posted

Hi, I checked it on three servers, there is no such problem, most likely some of the plugins on your server gives this result, especially if there is no error in the console. If there was an error in the console, then I could think about your configuration, and so I can think that this is done by some of the plugins on your server. I advise you to test this theory. I will wait for your answer, after disabling which plugin this behavior stopped

Kleementin

Posted

I'd advice you to use something like Admin Radar to check 1. after running the plugin for a while 2. with reloadings if there are more patrol boats around in the sea then there should.

That's how I found out. I just hovered over the sea and Admin Radar showed me.

I don't think I will check back all of my plugins for that. Water Patrol is just not important enough for that and the other plugins are.

One more idea I just had. Could this be related to these commands I use in the server.cfg?

spawn.min_rate 1
spawn.max_rate 2
spawn.min_density 2
spawn.max_density 3

KpucTaJl

Posted

then why did you open a ticket if you don't want to solve your problem?)

those commands that you sent, they are responsible for the spawn of resources on your server

you say that after you unload the plugin, the patrols remain with you, but in the screenshots that you sent it is not or not visible, record a video like I did where it is clearly visible that the boats were, I showed it to you on the screen and on the map, then when I unload the plugin then they are all gone, make me the same comparison, in which the picture will be clearly visible before the plugin is unloaded and after, so that I can at least think about something so that I have a chance to help you

but in any case, if you don't want to solve problems on your server, then I can't help you, no matter how much I want to(

KpucTaJl

Posted

by the way, in the screenshots I noticed that not all boats are shown with markers, most likely you have not enabled the display of markers for all presets, send your configuration file

Kleementin

Posted

@KpucTaJl

You were right. I did not realize that there is a marker configuration for every boat that is being spawned.

I thought the first line regarding this was for all boats on the map.

Thx for your help. My bad!

Kleementin

Posted (edited)

.

Edited by Kleementin
KpucTaJl

Posted

Changed Status from Pending to Closed

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.