Jump to content

Day/Night change not working

Closed 1.0.1

Rynki
Rynki

Posted

When it transitions from day to night bot settings aren't changing.
For example:

    "Abandoned Supermarket 0": {
      "type": 0,
      "Spawn": {
        "AutoSpawn": true,
        "Radius": 20,
        "BotNames": [],
        "BotNamePrefix": "Crazed Shopper",
        "Keep_Default_Loadout": false,
        "Kit": [
          "CrazedShopper"
        ],
        "Day_Time_Spawn_Amount": 4,
        "Night_Time_Spawn_Amount": 2,

Once 8pm hits, there are still 4. If I reload the plugin, it correctly goes to 2. But then at 8am it doesn't change to 4 until reloaded.

I am using the TimeOfDay plugin and that is set to 50 minutes day, 10 minutes night. However, disabling it doesn't seem to make any difference.

Thanks,

  • Administrator
Steenamaroo

Posted

Hi,

There is an expected delay, so they shouldn't insta-despawn/insta-spawn when the time crosses over the threshold.

For despawning it shouldn't be that long - I'd give it 20 seconds or so and check with bots.count console command.
They should despawn with that that time frame.


For respawn it is currently tied to the profile's respawn duration, although that's not a great idea so it will be changed in the next update.

  • Like 1
Rynki

Posted

Working perfectly in 1.0.3

Thanks for the hard work, I can imagine that having your release schedule brought forward caused some real headaches.

  • Administrator
Steenamaroo

Posted

Thank you for letting me know @Rynki
It might be too quick, for now, but I think that's better than too slow.

Ha, you've no idea!

  • Administrator
Steenamaroo

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.