Renewed-Scripts / Renewed-Weathersync

No more needing to worry about syncing time and weather on your FiveM server.
GNU General Public License v3.0
46 stars 28 forks source link

snow #8

Closed xrtw closed 9 months ago

xrtw commented 12 months ago

Summary

doesn't sync if it's snowing

Reproduction

RegisterNetEvent('qb-weathersync:client:EnableSync', function() playerState.syncWeather = true end)

Expected behavior

it should snow if i have if Config.decemberSnow and currentMonth == 11 or currentMonth == 12 then return getDecemberSnow() end

Actual behavior

no snow

Additional context

No response

Last Updated

today

Resource Rename

no

soniXx123 commented 12 months ago

same we don't have snow as well only if we restart the resource.

image

zZOGZz commented 11 months ago

Same here

Scullyy commented 11 months ago

I can't seem to repro this myself using default logic provided in the script. Did you make any edits?

soniXx123 commented 11 months ago

I can't seem to repro this myself using default logic provided in the script. Did you make any edits?

Nope, all is original we only using a different spawn (fry_spawn) and ps-housing.

FjamZoo commented 11 months ago

I couldnt get a issue after, could u try the latest update?

That seems to be the only issue I can think of

Borreke0 commented 11 months ago

Having the same issue here with stock syncs.

The snow does not sync when deploying after selecting a character (playerstate syncs print true tho) But does sync after entering and leaving an instance like a house/apartement/...

But can't seem to fix it to let it sync on spawn.. As the weather system prints as being synced but it isn't

I am at latest commits.

Edit:

Did some more tests:

Borreke0 commented 11 months ago

Fixed it for us by adding a new sync after this wait: https://github.com/qbcore-framework/qb-multicharacter/blob/main/client/main.lua#L165

zZOGZz commented 11 months ago

Fixed it for us by adding a new sync after this wait: https://github.com/qbcore-framework/qb-multicharacter/blob/main/client/main.lua#L165

How?

I still have issues with the weather sync

bluelineparabellum commented 10 months ago

Snow is freezing players when it shows on ground all of a sudden and when it suddenly disappears