nuclearsilo583 / zephyrus-store-preview-new-syntax

My rewritten zephyrus store
61 stars 40 forks source link

Trails not working #101

Open WizardJailbreak opened 2 years ago

WizardJailbreak commented 2 years ago

Hi! When I press the use button in the trails menu, even though it is installed, it does not work. I use 2 downloaders and it still doesn't work.

nuclearsilo583 commented 2 years ago

Which game you're using for the trail. If l4d/l4d2 trail cannot work because those game missing the required event for the trail.

WizardJailbreak commented 2 years ago

Which game you're using for the trail. If l4d/l4d2 trail cannot work because those game missing the required event for the trail.

CSGO

nuclearsilo583 commented 2 years ago

Can you give me the item config.

WizardJailbreak commented 2 years ago

Fixed

nuclearsilo583 commented 2 years ago

Please post your solution for later user can use it when they have the same problem.

WizardJailbreak commented 2 years ago

After every reboot there is a starting map, for me it's jb_summer_jail_v3. Well, after every map change, whether from the RTV or admin menu, it always works on the other track. However, I only have this problem with the tracks :D I calmed down and accepted this because I don't think it's such a big deal. If the players go back to the home court after the resiks, it will still work. except for reboots.

nuclearsilo583 commented 2 years ago

Probaly the store cannot precache the materials file on the first startup of the server. What are 2 precache plugins you're using?

WizardJailbreak commented 2 years ago

Sdownloader, and SMdownloader

azalty commented 2 years ago

Sdownloader, and SMdownloader

Can confirm with SDownloader, if you want, I can provide a plugin which restarts the map when the initial map is loaded (only does once).

WizardJailbreak commented 2 years ago

Sdownloader, and SMdownloader

Can confirm with SDownloader, if you want, I can provide a plugin which restarts the map when the initial map is loaded (only does once).

Ohh! I accept it! Thank you! Can you send me it on discord?

azalty commented 2 years ago

Sdownloader, and SMdownloader

Can confirm with SDownloader, if you want, I can provide a plugin which restarts the map when the initial map is loaded (only does once).

Ohh! I accept it! Thank you! Can you send me it on discord?

I'll upload it here so everyone can get it

S-Downloader 1.1.3.00 - Edit by azalty.zip

If it doesn't work (because a player joins faster than the config is loaded), another player must join before the server auto reloads. Shouldn't be likely though.\ Don't forget to reload the cvar config file by backing it up (renaming) or deleting it to regenerate it. sm_SDownloader_reload (auto reload) will be enabled by default.

I'll try to see if we can manually precache models from zephyrus store to prevent people from having to do that.

S-Downloader changes:

1.1.3.00 - Edit by azalty:

Based of 1.1.2.22

- Added sm_SDownloader_logging cvar to reduce console spam
- Added sm_SDownloader_reload cvar: an option to automatically reload the map the first time, so that the materials are correctly precached.
  Not enabling this will cause custom models to be invisible for the first map (right after a server start).
- Changed OnMapStart to OnConfigsExecuted, since before that, the cvars aren't loaded yet
WizardJailbreak commented 2 years ago

Thank you! Its working.

WizardJailbreak commented 2 years ago

Sdownloader, and SMdownloader

Can confirm with SDownloader, if you want, I can provide a plugin which restarts the map when the initial map is loaded (only does once).

Ohh! I accept it! Thank you! Can you send me it on discord?

I'll upload it here so everyone can get it

S-Downloader 1.1.3.00 - Edit by azalty.zip

If it doesn't work (because a player joins faster than the config is loaded), another player must join before the server auto reloads. Shouldn't be likely though. Don't forget to reload the cvar config file by backing it up (renaming) or deleting it to regenerate it. sm_SDownloader_reload (auto reload) will be enabled by default.

I'll try to see if we can manually precache models from zephyrus store to prevent people from having to do that.

S-Downloader changes:

1.1.3.00 - Edit by azalty:

Based of 1.1.2.22

- Added sm_SDownloader_logging cvar to reduce console spam
- Added sm_SDownloader_reload cvar: an option to automatically reload the map the first time, so that the materials are correctly precached.
  Not enabling this will cause custom models to be invisible for the first map (right after a server start).
- Changed OnMapStart to OnConfigsExecuted, since before that, the cvars aren't loaded yet

I have a problem with trails that sometimes it goes away and sometimes it comes back

azalty commented 2 years ago

This seems to happen when a player isn't transmitted to you anymore. Hiding/showing the trails from the /settings menu seems to fix it for me, but it should definitely be addressed, and the real reason should be found.

alfari24 commented 2 years ago

I had the same problem as you, until I found these plugins, I hope it's useful for you too https://forums.alliedmods.net/showthread.php?p=2787229

but problem is, trails cant save when change chapter(l4d2)