Ich habe einen TTT Server, aber bei fast jeder map steht da: missing map... weiß jemand woran das liegt? es steht bei allen
Druckbare Version
Ich habe einen TTT Server, aber bei fast jeder map steht da: missing map... weiß jemand woran das liegt? es steht bei allen
Wo wie wer?
Kommt das als Meldung wenn man den Server beitreten will? Dann muss der jeweilige Spieler sich die Map runterladen.
Kommt die Meldung vom Server wenn man die Map wechseln will? Dann muss man die Map auf den Server hochladen.
Die Meldung kommt beim joinen auf den Server,aber die habe alle
Map auf den Server hochladen.
Map auf den FastDL hochladen.
In der Config die URL zum FastDL angeben und tadaaa. Kein Missing Map.
Solltest du keinen FastDL haben dann probier es mit dem Workshop.
Ich würde es dann so machen. Erstelle eine .lua Datei in lua/autorun
Das komm da rein.
Hoffe ich hab dir geholfen. :)Code:--This is a list of your server's maps which are available through the workshop
--Each one uses the map file's name and the workshop ID
maplist = {}
maplist["ttt_community_bowling_v5a"] = "131667838"
maplist["ttt_westwood_v4"] = "104520719"
maplist["ttt_mc_skyislands"] = "106498411"
--add more maps here
local map = game.GetMap() -- Get's the current map name
local workshopid = maplist[map]
-- Finds the workshop ID for the current map name from the table above
if( workshopid != nil )then
--If the map is in the table above, add it through workshop
print( "[WORKSHOP] Setting up maps. " ..map.. " workshop ID: " ..workshopid )
resource.AddWorkshop( workshopid )
else
--If not, ) then hope the server has FastDL or the client has the map
print( "[WORKSHOP] Not available for current map. Using FastDL instead hopefully..." )
end