lenosisnickerboa / csgosl

A CSGO server launcher, one-click install & run
GNU General Public License v3.0
377 stars 39 forks source link

Program fail to start when server installed #320

Closed PrinzLast closed 2 years ago

PrinzLast commented 2 years ago

I'm running csgosl ver 2.10 on windows server 2012r2, and found this issue when I tried to restart it. After initial installation, csgosl proceed normally to download server files, and can be restart for only once after the csgo files are installed by steamcmd, and servers can be started normally. The problem is, csgosl cannot launch after this time. The program window just won't show up again, I can see tclkit and wget in background procedures but they don't seem to be active. However, if I delete the server files, csgosl can be started again, telling me to download server files. Any ideas about what's going on?

PrinzLast commented 2 years ago

Update: After waiting for some time I got an error like this.

微信图片_20211217150750

lenosisnickerboa commented 2 years ago

No idea why this fails (or hangs) in your case. It is a simple download of an image from the workshop which seems to hang forever. How long is "some time"? The caching of map images could take several minutes the first time.

PrinzLast commented 2 years ago

No idea why this fails (or hangs) in your case. It is a simple download of an image from the workshop which seems to hang forever. How long is "some time"? The caching of map images could take several minutes the first time.

Well if it is about downloading files from the workshop I guess the cause is the GFW(I'm hosting the server in China). This error normally pops up after 5-10 minutes of waiting. I am wondering if you can add some sort of bypass in the code to address this issue? Other functions worked perfectly, just this annoying error.

lenosisnickerboa commented 2 years ago

Hi again,

I just released 2.11 which adds an option to disable Steam Workshop map loading. Try it out and see if that solves your problem.

You need to go into the Application Tab and disable "loadmapfromworkshop" in the Troubleshooting section.

I also think you need to make sure Steam workshop map validation is disabled in the Steam tab under the Installation section, option validateworkshopmaps.

In case csgosl hangs before you get a chance to change these settings you can change this manually by going into the /csgosl/cfg and edit the following two files: (close down csgosl first)

application.cfg, add a line like this: loadmapfromworkshop "1"

steam.cfg, add a line like this: validateworkshopmaps "0"

If these lines already exist, just edit them instead and set loadmapfromworkshop to "1" and validateworkshopmaps to "0".

After the edit is done, start csgosl again.

Please let me know if this solves your problem.

PrinzLast commented 2 years ago

It is solved ,tks a lot. BTW I guess it shall be loadmapfromworkshop "0" in the cfg.

lenosisnickerboa commented 2 years ago

Great to hear! Thanks for reporting back!

Yes, it should be "0", my bad.

On Tue, Dec 21, 2021, 03:46 PrinzLast @.***> wrote:

It is solved ,tks a lot. BTW I guess it shall be loadmapfromworkshop "0" in the cfg.

— Reply to this email directly, view it on GitHub https://github.com/lenosisnickerboa/csgosl/issues/320#issuecomment-998423844, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEA3F5XLS2VWRPVFBLERS63UR7S5JANCNFSM5KG72BGQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you commented.Message ID: @.***>