AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Source Servers (SRCDS) (https://forums.alliedmods.net/forumdisplay.php?f=130)
-   -   Help with map installation (https://forums.alliedmods.net/showthread.php?t=335222)

Schwede 11-16-2021 04:36

Help with map installation
 
hello, i have the "end_match_nextmap_vote" running, in this 10 maps are shown. After a while the maps also change, and new ones can be seen again. But if I click on these old maps that you already know.
After looking at the maps via FTP I noticed that some maps do not even exist, while others only have some files.
For a working map I need several files like an example, jpg, nav, cfg, ain, dds, txt, manifest and cache.

My question:
a map is shown to me which is called castle, but there is only one example file in the maps folder, otherwise nothing. is that OK?
Because if I click on this map, it starts to load, but then hangs up.

How do I get the map to work?
where can I get new maps?

I didn't find any help when searching google.

greeting

https://prnt.sc/1zrsxuj

Bacardi 11-17-2021 11:54

Re: Help with map installation
 
What you could do is post your current maps, before we look further.

Lets look maps from two different places, server and your own csgo game.

I assume that you have enabled console in your own csgo game.
- Start csgo game with console, at menu, type this command: maps *

From server console, use same command: maps *

It look somehow like this:
Code:

] maps  *
-------------
PENDING:  (fs) ar_baggage.bsp
PENDING:  (fs) ar_dizzy.bsp
PENDING:  (fs) ar_lunacy.bsp
PENDING:  (fs) ar_monastery.bsp
PENDING:  (fs) ar_shoots.bsp
PENDING:  (fs) cs_agency.bsp
PENDING:  (fs) cs_assault.bsp
PENDING:  (fs) cs_insertion2.bsp
PENDING:  (fs) cs_italy.bsp
PENDING:  (fs) cs_militia.bsp
PENDING:  (fs) cs_office.bsp
PENDING:  (fs) de_ancient.bsp
PENDING:  (fs) de_bank.bsp
PENDING:  (fs) de_basalt.bsp
PENDING:  (fs) de_cache.bsp
PENDING:  (fs) de_canals.bsp
PENDING:  (fs) de_cbble.bsp
PENDING:  (fs) de_dust2.bsp
PENDING:  (fs) de_extraction.bsp
PENDING:  (fs) de_inferno.bsp
PENDING:  (fs) de_lake.bsp
PENDING:  (fs) de_mirage.bsp
PENDING:  (fs) de_nuke.bsp
PENDING:  (fs) de_overpass.bsp
PENDING:  (fs) de_ravine.bsp
PENDING:  (fs) de_safehouse.bsp
PENDING:  (fs) de_shortdust.bsp
PENDING:  (fs) de_shortnuke.bsp
PENDING:  (fs) de_stmarc.bsp
PENDING:  (fs) de_sugarcane.bsp
PENDING:  (fs) de_train.bsp
PENDING:  (fs) de_vertigo.bsp
PENDING:  (fs) dz_blacksite.bsp
PENDING:  (fs) dz_county.bsp
PENDING:  (fs) dz_sirocco.bsp
PENDING:  (fs) gd_cbble.bsp
PENDING:  (fs) lobby_mapveto.bsp
PENDING:  (fs) test.bsp
PENDING:  (fs) testpic.bsp
PENDING:  (fs) training1.bsp
PENDING:  (fs) workshop\1295494370\coop_cementplant.bsp
PENDING:  (fs) workshop\1318698056\de_subzero.bsp
PENDING:  (fs) workshop\2054186646\krevetka03.bsp
PENDING:  (fs) workshop\2262134113\de_coastal.bsp
PENDING:  (fs) workshop\940310973\hs_mirage.bsp


Schwede 11-17-2021 12:43

Re: Help with map installation
 
Uiiii that will be a long posting ...
I haven't tinkered with anyone yet, everything is still original.
First section the console from the game, second section the console from the server

Output from the game console
Code:

] maps *
-------------
PENDING:  (fs) ar_baggage.bsp
PENDING:  (fs) ar_dizzy.bsp
PENDING:  (fs) ar_lunacy.bsp
PENDING:  (fs) ar_monastery.bsp
PENDING:  (fs) ar_shoots.bsp
PENDING:  (fs) cs_agency.bsp
PENDING:  (fs) cs_assault.bsp
PENDING:  (fs) cs_insertion2.bsp
PENDING:  (fs) cs_italy.bsp
PENDING:  (fs) cs_militia.bsp
PENDING:  (fs) cs_office.bsp
PENDING:  (fs) de_ancient.bsp
PENDING:  (fs) de_bank.bsp
PENDING:  (fs) de_basalt.bsp
PENDING:  (fs) de_cache.bsp
PENDING:  (fs) de_canals.bsp
PENDING:  (fs) de_cbble.bsp
PENDING:  (fs) de_dust2.bsp
PENDING:  (fs) de_extraction.bsp
PENDING:  (fs) de_inferno.bsp
PENDING:  (fs) de_lake.bsp
PENDING:  (fs) de_mirage.bsp
PENDING:  (fs) de_nuke.bsp
PENDING:  (fs) de_overpass.bsp
PENDING:  (fs) de_ravine.bsp
PENDING:  (fs) de_safehouse.bsp
PENDING:  (fs) de_shortdust.bsp
PENDING:  (fs) de_shortnuke.bsp
PENDING:  (fs) de_stmarc.bsp
PENDING:  (fs) de_sugarcane.bsp
PENDING:  (fs) de_train.bsp
PENDING:  (fs) de_vertigo.bsp
PENDING:  (fs) dz_blacksite.bsp
PENDING:  (fs) dz_county.bsp
PENDING:  (fs) dz_sirocco.bsp
PENDING:  (fs) gd_cbble.bsp
PENDING:  (fs) lobby_mapveto.bsp
PENDING:  (fs) training1.bsp
PENDING:  (fs) workshop\1175669577\de_dust2hr_night.bsp
PENDING:  (fs) workshop\123867810\fy_eternity.bsp
PENDING:  (fs) workshop\125609944\aim_ak-colt_pool.bsp
PENDING:  (fs) workshop\125610094\awp_india.bsp
PENDING:  (fs) workshop\175459753\cs_insertion.bsp
PENDING:  (fs) workshop\1864483849\de_dust2_night.bsp
PENDING:  (fs) workshop\208579464\de_castle.bsp
PENDING:  (fs) workshop\2597431227\cs_exile.bsp
PENDING:  (fs) workshop\2609328943\dc_nuke_aim_course.bsp
PENDING:  (fs) workshop\2648747794\aim_courtyard.bsp
PENDING:  (fs) workshop\389175812\de_zoo.bsp
PENDING:  (fs) workshop\932023932\coop_mission_western.bsp


server console output
Code:

maps *
-------------
PENDING:  (fs) training1.bsp
PENDING:  (fs) lobby_mapveto.bsp
PENDING:  (fs) gd_cbble.bsp
PENDING:  (fs) dz_sirocco.bsp
PENDING:  (fs) dz_county.bsp
PENDING:  (fs) dz_blacksite.bsp
PENDING:  (fs) de_vertigo.bsp
PENDING:  (fs) de_train.bsp
PENDING:  (fs) de_sugarcane.bsp
PENDING:  (fs) de_stmarc.bsp
PENDING:  (fs) de_shortnuke.bsp
PENDING:  (fs) de_shortdust.bsp
PENDING:  (fs) de_safehouse.bsp
PENDING:  (fs) de_ravine.bsp
PENDING:  (fs) de_overpass.bsp
PENDING:  (fs) de_nuke.bsp
PENDING:  (fs) de_mirage.bsp
PENDING:  (fs) de_lake.bsp
PENDING:  (fs) de_inferno.bsp
PENDING:  (fs) de_extraction.bsp
PENDING:  (fs) de_dust2.bsp
PENDING:  (fs) de_chateau.bsp
PENDING:  (fs) de_cbble.bsp
PENDING:  (fs) de_canals.bsp
PENDING:  (fs) de_cache.bsp
PENDING:  (fs) de_basalt.bsp
PENDING:  (fs) de_bank.bsp
PENDING:  (fs) de_ancient.bsp
PENDING:  (fs) cs_office.bsp
PENDING:  (fs) cs_militia.bsp
PENDING:  (fs) cs_italy.bsp
PENDING:  (fs) cs_insertion2.bsp
PENDING:  (fs) cs_assault.bsp
PENDING:  (fs) cs_agency.bsp
PENDING:  (fs) ar_shoots.bsp
PENDING:  (fs) ar_monastery.bsp
PENDING:  (fs) ar_lunacy.bsp
PENDING:  (fs) ar_dizzy.bsp
PENDING:  (fs) ar_baggage.bsp


If you now look at the picture in the first posting, there are cards which are in the vote but not loaded in the vote.
If I now connect via ftp, the maps are also there, only with some only "de_castle.bsp" files are available, everything else is missing.
I don't understand any of that

Bacardi 11-18-2021 12:45

Re: Help with map installation
 
I don't know, what files you are looking from ftp, sorry.

There are two ways add maps in CS:GO, old way and workshop maps.

-For upload missing map to players, old way upload file from srcds server or from sv_downloadurl address.
-Workshop maps are uploaded from Steam web site.

You see "de_castle" in vote because it is installed in your game, you have played that map someone else server or you have pic it up from steam workshop.

So, lets stick first on workshop maps. Those maps maybe be problem to handle on later because it have "workshop/id/mapname.bsp"

What you need to do is set Steam API -key in your server.

- In server, create txt file into csgo folder: webapi_authkey.txt
- Go wep page and sign in with your own steam profile: https://steamcommunity.com/dev/apikey
Register Steam Web API key, give simple domain name what ever you like.
- Copy paste key part only into your server ...csgo/webapi_authkey.txt


Browse -> cs:go maps from workshop

When you look one of maps, check url address. It have map ID number.
for example:
Code:

https://steamcommunity.com/sharedfiles/filedetails/?id=208579464
- Copy that ID number, add it in server file ...csgo/subscribed_file_ids.txt

- Reboot server. The download could take some time, minutes. Wait. You can also see console messages when workshop map is downloaded.
After this, change map to else and look maps list: maps *
If you can't see any workshop maps in list, reboot server. And try again look maps *.

To load map: changelevel de_castle

Schwede 11-19-2021 05:11

Re: Help with map installation
 
Hello Bacardi,
thank you very much for the detailed description. She is very helpful and I now understand what you said.
I will take the tips into account and stick to them.
Thank you very much for the explanation.

Everything worked out so far, I'm curious whether the other grandpas can play the maps today.
We are looking forward to it.

Bacardi 11-19-2021 07:16

Re: Help with map installation
 
Good to hear.

More maps you want add, just stack new map ID's in subscribed_file_ids.txt file.

Schwede 11-20-2021 06:16

Re: Help with map installation
 
Hi there,
so far everything went wonderfully, the server made updates for quite a while. After a test game we voted, it also started to load, about 40% then it broke off.
The console spat this out

Code:

[  0%] Checking for available updates...
[----] Downloading update (112 of 53825 KB)...
[  0%] Downloading update (3645 of 53825 KB)...
[  6%] Downloading update (7503 of 53825 KB)...
[ 13%] Downloading update (10016 of 53825 KB)...
[ 18%] Downloading update (12753 of 53825 KB)...
[ 23%] Downloading update (15241 of 53825 KB)...
[ 28%] Downloading update (17760 of 53825 KB)...
[ 32%] Downloading update (20539 of 53825 KB)...
[ 38%] Downloading update (23084 of 53825 KB)...
[ 42%] Downloading update (25629 of 53825 KB)...
[ 47%] Downloading update (28366 of 53825 KB)...
[ 52%] Downloading update (30855 of 53825 KB)...
[ 57%] Downloading update (33354 of 53825 KB)...
[ 61%] Downloading update (35634 of 53825 KB)...
[ 66%] Downloading update (36888 of 53825 KB)...
[ 68%] Downloading update (38183 of 53825 KB)...
[ 70%] Downloading update (39562 of 53825 KB)...
[ 73%] Downloading update (40857 of 53825 KB)...
[ 75%] Downloading update (42226 of 53825 KB)...
[ 78%] Downloading update (43501 of 53825 KB)...
[ 80%] Downloading update (44777 of 53825 KB)...
[ 83%] Downloading update (46196 of 53825 KB)...
[ 85%] Downloading update (47452 of 53825 KB)...
[ 88%] Downloading update (48727 of 53825 KB)...
[ 90%] Downloading update (50128 of 53825 KB)...
[ 93%] Downloading update (51372 of 53825 KB)...
[ 95%] Downloading update (52616 of 53825 KB)...
[ 97%] Downloading update (53825 of 53825 KB)...
[100%] Download complete.
[----] Installing update...
[----] Extracting package...
[----] Extracting package...
[----] Extracting package...
[----] Extracting package...
[----] Installing update...
[----] Installing update...
[----] Installing update...
[----] Installing update...
[----] Installing update...
[----] Installing update...
[----] Installing update...
[----] Installing update...
[----] Cleaning up...
[----] Update complete, launching Steamcmd...
WARNING: setlocale('en_US.UTF-8') failed, using locale: 'C'. International characters may not work.
Redirecting stderr to '/home/container/Steam/logs/stderr.txt'
[  0%] Checking for available updates...
[----] Verifying installation...
Steam Console Client (c) Valve Corporation - version 1637358658
-- type 'quit' to exit --
Loading Steam API...OK

Connecting anonymously to Steam Public...OK
Waiting for client config...OK
Waiting for user info...OK
Please use force_install_dir before logon!
Success! App '740' already up to date.
:/home/container$ ./srcds_run -game csgo -console -port 25109 +ip 0.0.0.0 +map de_dust2 -strictportbind -tickrate 66 -norestart +sv_setsteamaccount 99FB6DB19972ABB047D578646F421298
./srcds_run: 32: ./srcds_run: pushd: not found
./srcds_run: 35: ./srcds_run: popd: not found
LD_LIBRARY_PATH=/home/container/bin:/home/container:/home/container/bin:
#
#Console initialized.
Setting breakpad minidump AppID = 740
#Using breakpad minidump system 740/13810.1389.DC
Using breakpad crash handler
Forcing breakpad minidump interfaces to load
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit
#Loading VPK file hashes for pure server operation.
#Loading VPK file hashes for pure server operation.
#Loading VPK file hashes for pure server operation.
#Loading VPK file hashes for pure server operation.
#Loading VPK file hashes for pure server operation.
#Filesystem successfully switched to safe whitelist mode
#Game.dll loaded for "Counter-Strike: Global Offensive"
#CGameEventManager::AddListener: event 'server_pre_shutdown' unknown.
#CGameEventManager::AddListener: event 'game_newmap' unknown.
#CGameEventManager::AddListener: event 'finale_start' unknown.
#CGameEventManager::AddListener: event 'round_start' unknown.
#CGameEventManager::AddListener: event 'round_end' unknown.
#CGameEventManager::AddListener: event 'difficulty_changed' unknown.
#CGameEventManager::AddListener: event 'player_death' unknown.
#CGameEventManager::AddListener: event 'hltv_replay' unknown.
#CGameEventManager::AddListener: event 'player_connect' unknown.
#CGameEventManager::AddListener: event 'player_disconnect' unknown.
#GameTypes: missing mapgroupsSP entry for game type/mode (custom/custom).
#GameTypes: missing mapgroupsSP entry for game type/mode (cooperative/cooperative).
#GameTypes: missing mapgroupsSP entry for game type/mode (cooperative/coopmission).
Failed to load gamerulescvars.txt, game rules cvars might not be reported to management tools.
Server is hibernating
[S_API] SteamAPI_Init(): SteamAPI_IsSteamRunning() did not locate a running instance of Steam.
[S_API] SteamAPI_Init(): Loaded '/home/container/.steam/sdk32/steamclient.so' OK.
[S_API FAIL] SteamAPI_Init() failed; create pipe failed.Loaded authkey from webapi_authkey.txt: 5A3723xxxxxxxxxxxxxxxxxxxxxxxx  /// Schlüssel

NEKS_Power
 failed to dlopen /home/container/csgo/addons/metamod/bin/linux64/server.so error=/home/container/csgo/addons/metamod/bin/linux64/server.so: wrong ELF class: ELFCLASS64
Unable to load plugin "addons/metamod/bin/linux64/server"
maxplayers set to 64
ConVarRef cl_embedded_stream_video_playing doesn't point to an existing ConVar
NET_CloseAllSockets
---- Host_NewGame ----
CreateFragmentsFromFile: 'maps/de_castle.bsp' size exceeds net_maxfilesize limit (16 MB).
server.so
Unknown command "server.so"

Everything only worked with the castle card, an error occurred.
I tried to open the faulty server.so file, but to no avail, +++ Notepad cannot open the file.
I didn't have that mistake before. But it can also be that a server update is responsible for it.

I have also just seen that the key is not accepted and wonder why?
The key was created in a "webapi_authkey.txt" with the domain "NEKS_Power", a "subscribed_file_ids" was also created and saved under csgo, everything as described.
Do I have to enter the key somewhere else?

I now have the following message on the server: :cry:
We're having some trouble connecting to your server, please wait...

it seems like my hoster has some problems .... created ticket .... i will report

Bacardi 11-20-2021 09:38

Re: Help with map installation
 
It looks like server couldn't connect into Steam.

But why you have de_castle.bsp into maps folder ?

Was that map already there ?

Workshop maps go automatically into ...maps/workshop/ destination.

Schwede 11-20-2021 10:40

Re: Help with map installation
 
Hello, I just found out that they are working on all servers today and that this can even fail completely in places. I got an info mail from the hoster.

Yes Brarcadi, the file has always been there, I haven't touched it and don't know how to get there. All other maps go.
If I can connect to the server again, I will move the file de_castle.bsp times and then try again. All other maps, workshop maps, yes.

Edit:
I have limited access to the server, saw that I don't have a folder called "Workshop", that's why all the maps are probably in the "maps" folder.
I will create a folder called "workshop" and copy the maps there, it will also give a better overview.

Schwede 11-23-2021 05:23

Re: Help with map installation
 
Hello, after a health setback, I read a little on the internet. Here I came across a video that shows how to put maps online.
I have tried everything as described in the i9m video and it goes so far, i.e. the data is available. But I don't dare to make the last click because a warning is given there which I don't understand.

Can I install maps on the server as described from minute 2.29, or is that not allowed for users like me?

https://www.youtube.com/watch?v=8_OWul0E4dY

@Barcadi
I have a "workshop" folder on the hard drive but not on the server. Otherwise I did everything as you described. Unfortunately without success.


All times are GMT -4. The time now is 00:42.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.