bobc7 / gmodtransfer

Garry's Mod Transfer Addon For DarkRP
MIT License
2 stars 1 forks source link

Few menu changes #8

Closed PossiblyCharles closed 2 years ago

PossiblyCharles commented 2 years ago

Added some config colour options and implemented them.

Also added button hover to player select buttons.

PossiblyCharles commented 2 years ago

image

PossiblyCharles commented 2 years ago

All addons should be installed through workshop for client. Using fastDL is craaaaazy slow due to source limitations.

Once it's on workshop we should use https://wiki.facepunch.com/gmod/resource.AddWorkshop as the workshop downloads happen using the steam client and are much MUCH faster.

Pdzly commented 2 years ago

But if you want it install over legacy. Fastdl shouldnt be used yeah, but sometimes someone wants to install it as legacy addon. and if a freaking (X) close button is an error material

The bigest part is, that we have it on github, so we ENCOURAGE usage of legacy addon installation + many config settings are only avaible on files

PossiblyCharles commented 2 years ago

As the addon would be calling resource.AddWorkshop their clients would download through workshop anyway. No matter how the addon's installed on the server, the clients would be downloading through workshop.

Pdzly commented 2 years ago

It will create some incompatibilities if legacy and workshop addon is installed. If someone installs it legacy + changes something clientside. Yeah its getting probably overwritten

PossiblyCharles commented 2 years ago

Clientside lua is still sent the usual way. Client workshop downloads on join do not load lua.

(Unless something changed since I last touched gmod, but I doubt it. That would be a silly change.)

Pdzly commented 2 years ago

Clientside lua is still sent the usual way. Client workshop downloads on join do not load lua.

(Unless something changed since I last touched gmod, but I doubt it. That would be a silly change.)

Okay if you say so :). We need to add there resource.addworkshop when we publish it to workshop.

In the other hand why should the lua AND the material be send again to the server ( even if its not executed ). And if its a steam workshop addon it wont send the file to the user it sends the whole addon. I would still recomend resource.AddFile for not sending clients 2x the same data