lenosisnickerboa / csgosl

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

maps change not working properly #170

Closed Osberg closed 5 years ago

Osberg commented 5 years ago

First i would like to thanks for a great program here, very easy and nice to setup your own CS server. :)

I have a small issue here. :)

I have setup a server with a map pool and when electing new maps after a finish map, if you dont chose anything and the server does it for your..... Lets say it picks Train, but for some reason it will then start nuke.. have you seen this before??

I have the ESL maps in my map pool, nothing else.

Also I see that the forcecam for when you are dead is not working I can still see the other team and follow them. :) Might be me there has set this up wrong.

I am running in classic_competitive mode on my server.

I am running this on a windows 2016 server.

also might be a stupid question, for the esl config in the button of the config it says, to load you need to say ESL but do you need to type the hole line or can you just type ESL to load the config??

If you need any config just let me know 👍

lenosisnickerboa commented 5 years ago

Thanks, glad you like it.

Don't understand the map changing part, have you created a map group in csgosl and set that map group in the Run tab? Don't know what you mean by "Lets say it picks Train, but for some reason it will then start nuke.. ", I guess it picked nuke then and started it, right?

About forcecam, do you mean the killcam option in the Run tab? If you enable killcam it will allow you to spectate all players in both teams (mp_forcecamera=0) and if you disable it it will only allow you to spectate your own team (mp_forcecamera=1). The option mp_forcecamera=2 (no spectating) can't be set using the killcam option (since I really see no point with that option, the screen goes black until the game is over, boring...). You can still set this option though if you want: Enable fullconfig in Application tab, click "SaveAll" and "Restart csgosl". Uncheck the tickbox to the right of the killcam option in the Run tab to manually control this option yourself. Then change mp_forcecamera in the All_modes tab (or the game mode tab for your game mode if you want per game mode settings).

About ESL config, if you mean the esl stuff on the Autoexec tab you just need to click the cfg file(s) you want executed when either the server starts or when the map is changed.

If that doesn't answer your questions please try to describe more in detail what you do, which tabs, which options and so on... maybe provide some screen shots.

Osberg commented 5 years ago

Yes after a map is done a team has got 16 rounds... You pick the next map out of the map pool. But if you pick a map here like train the server will pick nuke it self.

Regards the mp_forcecam i have set that to 1, but I did not see the see the killcam so let me check up on that. ☺

Ok i will try to play around with the ESL config again. ☺

lenosisnickerboa commented 5 years ago

Haven't seen the first issue you describe. Good luck with the rest!

On Tue, Jan 8, 2019 at 9:11 PM Osberg notifications@github.com wrote:

Yes after a map is done a team has got 16 rounds... You pick the next map out of the map pool. But if you pick a map here like train the server will pick nuke it self.

Regards the mp_forcecam i have set that to 1, but I did not see the see the killcam so let me check up on that. ☺

Ok i will try to play around with the ESL config again. ☺

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/lenosisnickerboa/csgosl/issues/170#issuecomment-452435259, or mute the thread https://github.com/notifications/unsubscribe-auth/AQGy9ialC05a122f7DN6__HNq-XpnlOlks5vBPt0gaJpZM4Z0_Wi .

-- Mvh Lennart Oscarsson, 0735551986

Osberg commented 5 years ago

I had killcam enabled so disable it now.

Can you test it with the map pool... Or are you only running Linux.. ☺

Do you need some debug log or what can I do here to help. ☺

lenosisnickerboa commented 5 years ago

I'm trying to test both windows and linux since csgosl should work on both.

About the map pool, could you describe step by step what you want me to test? You didn't answer if "map pool" is the same as a "map group" you have created in csgosl "Map groups" tab.

On Tue, Jan 8, 2019 at 9:43 PM Osberg notifications@github.com wrote:

I had killcam enabled so disable it now.

Can you test it with the map pool... Or are you only running Linux.. ☺

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/lenosisnickerboa/csgosl/issues/170#issuecomment-452444548, or mute the thread https://github.com/notifications/unsubscribe-auth/AQGy9nDIbBx3kBr8aAsRc8NvFrnB7uHGks5vBQLogaJpZM4Z0_Wi .

-- Mvh Lennart Oscarsson, 0735551986

Osberg commented 5 years ago

Year sorry... It is a map group I have with the same maps from ESL etc... So only 7 maps. It is created under the map Group tab.

lenosisnickerboa commented 5 years ago

OK np, will test it tomorrow, gotta go now.

On Tue, Jan 8, 2019 at 10:03 PM Osberg notifications@github.com wrote:

Year sorry... It is a map group I have with the same maps from ESL etc... So only 7 maps. It is created under the map Group tab.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/lenosisnickerboa/csgosl/issues/170#issuecomment-452450442, or mute the thread https://github.com/notifications/unsubscribe-auth/AQGy9krNP91JBZ-laJ0UpmJv8ttwlRkqks5vBQecgaJpZM4Z0_Wi .

-- Mvh Lennart Oscarsson, 0735551986

lenosisnickerboa commented 5 years ago

I have now tested this and I can't reproduce it. It works perfectly for me.

I created a map group with 7 maps, ran classic_competitive and tried both voting for a map and not voting and letting the game pick a map and the correct map was always loaded.

I really have no idea what could be causing this for you. You can try validating your server files (Steam tab, enable option validateinstall and click the "Update server" button).

Otherwise I would suggest trying some csgo server forum to get help. If you find out and it is indeed something wrong with csgosl I will of course fix it.

Osberg commented 5 years ago

Alright let me try to work on this tomorrow.

I will come back to you with info.

Osberg commented 5 years ago

Ok so I tested it again now. And still the same issue.

L 01/10/2019 - 09:09:58: [randomcycle.smx] RandomCycle has chosen de_nuke for the nextmap. L 01/10/2019 - 09:09:58: [randomcycle.smx] RandomCycle has chosen de_overpass for the nextmap. PutClientInServer: no info_player_start on level AddMultiDamage: g_MultiDamage.GetDamageForce() == vec3_origin AddMultiDamage: g_MultiDamage.GetDamageForce() == vec3_origin Going to intermission... CHANGELEVEL: Looking for next level in mapgroup 'Maps' Looking for next map in mapgroup 'Maps'... CHANGELEVEL: Choosing map 'de_nuke' (previous was de_mirage) CHANGELEVEL: ConVar 'nextlevel' is set, next map will be 'de_inferno' CHANGE LEVEL: de_inferno L 01/10/2019 - 09:30:27: [SM] Changed map to "de_overpass" ---- Host_Changelevel ---- *** Map Load: de_overpass: Map Group MapsL 01/10/2019 - 09:30:28: -------- Mapchange to de_overpass --------

[SM] Changed cvar "net_maxfilesize" to "64". L 01/10/2019 - 09:30:28: [basecommands.smx] "Console<0>" changed cvar (cvar "net_maxfilesize") (value "64") CHostage::Precache: missing hostage models for map de_overpass. Adding the default models. FuncTrackTrain 'subway.mover01' has no target. Commentary: Could not find commentary data file 'maps/de_overpass_commentary.txt'. Error parsing BotProfile.db - unknown attribute 'Rank' Error parsing BotProfile.db - unknown attribute 'Rank' Error parsing BotProfile.db - unknown attribute 'Rank' Error parsing BotProfile.db - unknown attribute 'Rank' Error parsing BotProfile.db - unknown attribute 'Rank' Error parsing BotProfile.db - unknown attribute 'Rank' Error parsing BotProfile.db - unknown attribute 'Rank' Error parsing BotProfile.db - unknown attribute 'Rank' L 01/10/2019 - 09:30:33: [randomcycle.smx] RandomCycle has chosen de_inferno for the nextmap. PutClientInServer: no info_player_start on level Dropped PH4SE from server: Disconnect -> Reservation cookie 0: reason reserved(yes), clients(no), reservationexpires(0.00) Server is hibernating

does this make sense to you ? :)

The strange thing is that I have disable the randommap start cs random

lenosisnickerboa commented 5 years ago

Seems you have the randomcycle sourcemod plugin enabled, try disabling it in the Sourcemod tab. Simply uncheck the box sm_randomcycle_enable.

The randomstartmap option in the Run tab only randomizes the start map when you start the server (if you enable that option the startmap option is disabled and ignored). So this option has nothing to do with your map change problems.

On Thu, Jan 10, 2019 at 9:44 AM Osberg notifications@github.com wrote:

Ok so I tested it again now. And still the same issue.

L 01/10/2019 - 09:09:58: [randomcycle.smx] RandomCycle has chosen de_nuke for the nextmap. L 01/10/2019 - 09:09:58: [randomcycle.smx] RandomCycle has chosen de_overpass for the nextmap. PutClientInServer: no info_player_start on level AddMultiDamage: g_MultiDamage.GetDamageForce() == vec3_origin AddMultiDamage: g_MultiDamage.GetDamageForce() == vec3_origin Going to intermission... CHANGELEVEL: Looking for next level in mapgroup 'Maps' Looking for next map in mapgroup 'Maps'... CHANGELEVEL: Choosing map 'de_nuke' (previous was de_mirage) CHANGELEVEL: ConVar 'nextlevel' is set, next map will be 'de_inferno' CHANGE LEVEL: de_inferno L 01/10/2019 - 09:30:27: [SM] Changed map to "de_overpass" ---- Host_Changelevel ---- *** Map Load: de_overpass: Map Group MapsL 01/10/2019 - 09:30:28: -------- Mapchange to de_overpass --------

[SM] Changed cvar "net_maxfilesize" to "64". L 01/10/2019 - 09:30:28: [basecommands.smx] "Console<0>" changed cvar (cvar "net_maxfilesize") (value "64") CHostage::Precache: missing hostage models for map de_overpass. Adding the default models. FuncTrackTrain 'subway.mover01' has no target. Commentary: Could not find commentary data file 'maps/de_overpass_commentary.txt'. Error parsing BotProfile.db - unknown attribute 'Rank' Error parsing BotProfile.db - unknown attribute 'Rank' Error parsing BotProfile.db - unknown attribute 'Rank' Error parsing BotProfile.db - unknown attribute 'Rank' Error parsing BotProfile.db - unknown attribute 'Rank' Error parsing BotProfile.db - unknown attribute 'Rank' Error parsing BotProfile.db - unknown attribute 'Rank' Error parsing BotProfile.db - unknown attribute 'Rank' L 01/10/2019 - 09:30:33: [randomcycle.smx] RandomCycle has chosen de_inferno for the nextmap. PutClientInServer: no info_player_start on level Dropped PH4SE from server: Disconnect -> Reservation cookie 0: reason reserved(yes), clients(no), reservationexpires(0.00) Server is hibernating

does this make sense to you ? :)

The strange thing is that I have disable the randommap start [image: cs random] https://user-images.githubusercontent.com/23699885/50956575-512fb900-14bc-11e9-8218-ff37d538dc61.png

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/lenosisnickerboa/csgosl/issues/170#issuecomment-453015091, or mute the thread https://github.com/notifications/unsubscribe-auth/AQGy9lkWSMiT4ANos3MIA1fEzvAOPUC7ks5vBv1xgaJpZM4Z0_Wi .

-- Mvh Lennart Oscarsson, 0735551986

Osberg commented 5 years ago

Year I just saw this will test again tomorrow... Thanks for your help on this.. 👍🏻

Osberg commented 5 years ago

Ok I see this now :

Going to intermission... CHANGELEVEL: Looking for next level in mapgroup 'Maps' Looking for next map in mapgroup 'Maps'... CHANGELEVEL: Choosing map 'de_mirage' (previous was de_inferno) CHANGELEVEL: ConVar 'nextlevel' is set, next map will be 'de_dust2' CHANGE LEVEL: de_dust2 L 01/11/2019 - 21:16:34: [SM] Changed map to "de_mirage" ---- Host_Changelevel ---- *** Map Load: de_mirage: Map Group MapsL 01/11/2019 - 21:16:35: -------- Mapchange to de_mirage --------

And as you can see it still chooses another map then the one I pick :)

lenosisnickerboa commented 5 years ago

I don't really know what happens but it seems you have sourcemod enabled:

L 01/11/2019 - 21:16:34: [SM] Changed map to "de_mirage "

You could try disabling sourcemod just to see if there is a conflict between sourcemod and the standard csgo server map change mechanisms.

On Fri, Jan 11, 2019 at 9:20 PM Osberg notifications@github.com wrote:

Ok I see this now :

Going to intermission... CHANGELEVEL: Looking for next level in mapgroup 'Maps' Looking for next map in mapgroup 'Maps'... CHANGELEVEL: Choosing map 'de_mirage' (previous was de_inferno) CHANGELEVEL: ConVar 'nextlevel' is set, next map will be 'de_dust2' CHANGE LEVEL: de_dust2 L 01/11/2019 - 21:16:34: [SM] Changed map to "de_mirage" ---- Host_Changelevel ---- *** Map Load: de_mirage: Map Group MapsL 01/11/2019 - 21:16:35: -------- Mapchange to de_mirage --------

And as you can see it still chooses another map then the one I pick :)

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/lenosisnickerboa/csgosl/issues/170#issuecomment-453645326, or mute the thread https://github.com/notifications/unsubscribe-auth/AQGy9q8NIZ-9sfBYEhFiGZGSItyYKv8Uks5vCPH0gaJpZM4Z0_Wi .

-- Mvh Lennart Oscarsson, 0735551986

Osberg commented 5 years ago

Year works now. :) Thanks for your help here.