Git Product home page Git Product logo

Comments (8)

FCSSensai avatar FCSSensai commented on August 11, 2024

Do you perhaps have the github version on the server, but also the workshop version added to the resources?

from leveling-system.

imnotliveyet avatar imnotliveyet commented on August 11, 2024

Do you perhaps have the github version on the server, but also the workshop version added to the resources?

Yes, originally I did. However, changing that made the addon not load on clients.

Edit: found out about resource.AddWorkshop, trying to figure that out

from leveling-system.

imnotliveyet avatar imnotliveyet commented on August 11, 2024

Can't figure out resource.AddWorkshop as nothing outlines how it is supposed to be used, or even where. Tried garrysmod/lua/autorun/(server/client) and still the addon doesnt load.

from leveling-system.

FCSSensai avatar FCSSensai commented on August 11, 2024

Skip that, and just do this:

  1. Make collection with all addons you want on server
  2. Copy collection ID (numbers after the = in the url to collection)
  3. At your server's launch options, add " +host_workshop_collection "IDHERE" "
  4. Ensure the following addon is added to that workshop collection:
    https://steamcommunity.com/sharedfiles/filedetails/?id=2214712098

This should ensure everything works properly. Keep in mind, you need to also ensure the following:
A. That the collection does NOT have the Leveling System addon added to it
and
B. The server itself has the leveling system file from github setup, and has no -'s or _'s.

Should be g2g then.

from leveling-system.

imnotliveyet avatar imnotliveyet commented on August 11, 2024

Followed your steps, I already have client and server side collections and added that mod to the server, while leveling system fixed is on the other one. Still not loading.
By "no -'s or _'s" do you mean to rename the addon folders so they do not contain those?

from leveling-system.

FCSSensai avatar FCSSensai commented on August 11, 2024

Correct, you would want to rename the addon folders so they do not contain those.
What do you mean by client and server side collections?
You should just be using one collection and host it for the server, then using that addon I recommended it will only force download client side models and sounds.

from leveling-system.

imnotliveyet avatar imnotliveyet commented on August 11, 2024

I mean I have a collection with all mods used by the server for users to subscribe to, then a collection of all mods that aren't in the files for the host collection.

The problems I have are specifically with the leveling system, all the sounds and models are fine.

from leveling-system.

imnotliveyet avatar imnotliveyet commented on August 11, 2024

Tried resource.AddFile() and it added all of the addons from the folder, LevelingSystem still didn't load

from leveling-system.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.