Teleport2
Entered(mob/M)
if(ismob(M) && M.client)
M.savedX = M.x
M.savedY = M.y
M.savedZ = M.z
var/swapmap/T = SwapMaps_CreateFromTemplate("Trainingroom")
M.CreatedMap=T
M.loc = locate(T.x1+13,T.y1+6,T.z1)
Problem description:
runtime error: bad loc
proc name: Read (/atom/Read)
usr: SSJ4 Compufreak (/mob/player)
src: Teleport1 (12,9,11) (/turf/Trainingroom/Teleport1)
call stack:
Teleport1 (12,9,11) (/turf/Trainingroom/Teleport1): Read(C:\\Program Files\\BYOND\\user... (/savefile))
/swapmap (/swapmap): Read(C:\\Program Files\\BYOND\\user... (/savefile), /swapmap (/swapmap), null)
SwapMaps CreateFromTemplate("Trainingroom")
Teleport2 (17,14,1) (/turf/Trainingroom/Teleport2): Entered(SSJ4 Compufreak (/mob/player), the grass (17,15,1) (/turf/grass))
SSJ4 Compufreak (/client): Move(Teleport2 (17,14,1) (/turf/Trainingroom/Teleport2), 2)
runtime error: Cannot create objects of type null.
proc name: Read (/swapmap/Read)
usr: SSJ4 Compufreak (/mob/player)
src: /swapmap (/swapmap)
call stack:
/swapmap (/swapmap): Read(C:\\Program Files\\BYOND\\user... (/savefile), /swapmap (/swapmap), null)
SwapMaps CreateFromTemplate("Trainingroom")
Teleport2 (17,14,1) (/turf/Trainingroom/Teleport2): Entered(SSJ4 Compufreak (/mob/player), the grass (17,15,1) (/turf/grass))
SSJ4 Compufreak (/client): Move(Teleport2 (17,14,1) (/turf/Trainingroom/Teleport2), 2)
I have no idea whats wrong
Also, I beleieve that it cannot find the map. The map has to be either a text file or savefile. Make sure it's in the folder that the game consists in.