PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Missing map



DasThier
04.01.2014, 22:16
Ich habe einen TTT Server, aber bei fast jeder map steht da: missing map... weiß jemand woran das liegt? es steht bei allen

LittleSnipes
05.01.2014, 16:47
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.

DasThier
05.01.2014, 17:28
Die Meldung kommt beim joinen auf den Server,aber die habe alle

CupCakeR
29.03.2014, 21:51
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.



--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


Hoffe ich hab dir geholfen. :)