I have a problem;
How to detect all of the spawn points that exists in the map?
I see there is a spawn point for T out of the map and i couldnt find it because when somebody spawns there the server is crashing.
Scripts
How to detect spawn points?
How to detect spawn points?
entitylist
entitylist
Cebra reply. for _, e in pairs( entitylist(0) ) do
	print('Info_T entity coordinations @ ' .. e.x .. ' as X path and ' .. e.y .. ' as Y path.')
end
forloop will iterate all over the entities with value ID as 0 (hence Info_T) and will print onto the console their coordination. This as to not iterate to the whole entities since we're focusing on the T spawn paths.
GeoB99: just found it;
Seems like a bug,am i wrong?
triggerposition ? not sure it will fix the problem.
_oops: it's really awkward,im still in shock. I also figured it out; when a t spawns there,it crashes the server. I dont know what causes to this problem but it's really annoying.
_oops i will try that.
_oops has written
triggerposition ? not sure it will fix the problem.
_oops:
§2.1 - No needless and/or doubled posts (spam)
BcY: Huh? The hell did these numbers come from? Fairly sure whether there's something wrong in the Editor or the map file format is corrupted like
_oops cited which is quite odd. Normally a corrupted file shouldn't open as it would rather trigger an error in the first place. 
triggerposition was the solution.function GLITCH_SPAWN_REMOVE()
	for _,e in pairs(entitylist()) do
		if (entity(e.x,e.y,"typename") == "Info_T" ) then
			if ( e.x > map("xsize") or e.y > map("ysize") ) then
			parse("triggerposition "..e.x.." "..e.y)
			print("\169255255255Found glitched spawn point - "..e.x.."|"..e.y)
			end
		end
	end
end
GLITCH_SPAWN_REMOVE()
DC has written
Mami Tomoe: it's not that easy man,as i know.Or maybe i know it wrong,can you tell me detailed?
trigger_if without breaking lines.local mapSizeX, mapSizeY = map("xsize"), map("ysize")
local brokenCount = 0
print("OutOfBoundaries Entity check started!\n")
print("Map: ".. map("name"))
print("Map size in tiles: ".. mapSizeX .." | ".. mapSizeY)
local list = entitylist()
for k, ent in pairs( list ) do
	if ent.x > mapSizeX or ent.x < 0 or ent.y > mapSizeY or ent.y < 0 then
		brokenCount = brokenCount + 1
		print("Entity with ID ".. entity(ent.x, ent.y, "type") ..", ".. entity(ent.x, ent.y, "typename") .." called '".. entity(ent.x, ent.y, "name") .."' @ ".. ent.x .."|".. ent.y)
	end
end
print("OutOfBoundaries Entity check finished!\n")
msg("Check of broken entities finished, ".. brokenCount .." invalid entities found")
info_t spawn entities are broken then there must be more than just that. Just drop that piece of code into /autorun/ and launch the map, the results will be shown in console.
BcY: would be nice of you to upload the broken map so we can take a look at and study it. If it's a bug like
_oops suggested then it may be feasible to fix by deleting several invalid lines. UPDATE MAP: Found unknown entity type: 102 @ 195273387 , 544108393
msg("Entity : "..entity(e.x,e.y,"typename").." @ "..e.x.."|"..e.y)
Trigger_Start) that triggered
Trigger_If that causing glitch was erased itself when I opened the map file again.