I need help finding a change.

I need help finding a change.

Discuss Lua based Spring scripts (LuaUI widgets, mission scripts, gaia scripts, mod-rules scripts, scripted keybindings, etc...)

Moderator: Moderators

Post Reply
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

I need help finding a change.

Post by smoth »

So in 100 this script still worked, something changed in 101 that broke it, no errors.

What this script did before:

there are 2 subgroups:
  • group spawn, by adding the tag "loosesquad" it will spawn the units but not pair them to a commander

    Code: Select all

    loosesquad = "1",
    squadMember1       = "unit",
    squadMember2       = "unit",
    
  • squadspawn, it will spawn the units but not pair them to a commander

    Code: Select all

    squadMember1       = "unit",
    squadMember2       = "unit",
    
The units in question are the group spawned units. Squad spawned unit still work as the commander is the lead.

As of version 101 and after, when a group spawn happens, the rest of the units NO LONGER receive their move orders from the factory which spawned them, they remain in the factory as they never receive their orders. Any thoughts?


Handler

Code: Select all

--------------------------------------------------------------------------------
--------------------------------------------------------------------------------

-- Automatically generated local definitions

local CMD_ATTACK                = CMD.ATTACK
local CMD_FIRE_STATE            = CMD.FIRE_STATE
local CMD_MOVE_STATE            = CMD.MOVE_STATE
local CMD_STOP                  = CMD.STOP
local spGetTeamColor            = Spring.GetTeamColor
local spGetUnitBasePosition     = Spring.GetUnitBasePosition
local spGetUnitCommands         = Spring.GetUnitCommands
local spGetUnitDefID            = Spring.GetUnitDefID
local spGetUnitDirection        = Spring.GetUnitDirection
local spGetUnitEstimatedPath    = Spring.GetUnitEstimatedPath
local spGetUnitHeight           = Spring.GetUnitHeight
local spGetUnitPosition         = Spring.GetUnitPosition
local spGetUnitStates           = Spring.GetUnitStates
local spGetUnitTeam             = Spring.GetUnitTeam
local spGetVisibleUnits         = Spring.GetVisibleUnits
local spGiveOrderArrayToUnitMap = Spring.GiveOrderArrayToUnitMap
local spGiveOrderToUnit         = Spring.GiveOrderToUnit
local spSetUnitCOBValue         = Spring.SetUnitCOBValue
local spSetUnitMoveGoal         = Spring.SetUnitMoveGoal
local spSetUnitNoSelect         = Spring.SetUnitNoSelect
local spSetUnitTarget           = Spring.SetUnitTarget
local spGetLocalTeamID          = Spring.GetLocalTeamID

--------------------------------------------------------------------------------
--------------------------------------------------------------------------------

function gadget:GetInfo()
	return {
		name = "Squad Handler",
		desc = "was bored",
		author = "KDR_11k (David Becker)",
		date = "2008-10-21",
		license = "Public Domain",
		layer = 1,
		enabled = true
	}
end

if (gadgetHandler:IsSyncedCode()) then

--SYNCED

local moveDist=40 --Units will retake their position if they arefurther than this away from their position in the formation
local holdPosDist=250 --Units further away will be set to hold position so they stop moving away if they see enemies

local squads={}
local squadMember={}
local patterns={
	circle={
		{80,0},{-80,0},{60,-60},{-60,-60},{0,80}
	},
	line={
		{80,0},{-80,0},{160,0},{-160,0},{240,0},{-240,0}
	},
	bla={
		{100,0},{-100,0},{50,-50},{-50,-50},{180,0},{-180,0}
	},
}

local stopList={}
local orderRelayList={}
local stateOrderList={}

local function RegisterSquad(type, leader, units)
	local followers={}
	--local i = 1
	for i,u in pairs(units) do
		local ud = spGetUnitDefID(u)
		spSetUnitNoSelect(u,true)
		squadMember[u]={leader,i}
		followers[i]=u
		--spSetUnitCOBValue(u,75,UnitDefs[ud].speed * 1.4 * 65536/32) --move 40% faster to allow catching up
		--i=i+1
	end
	squads[leader] = {type=type, followers=followers, pattern = UnitDefs[type].customParams.squadformation or "circle"}
end

local function ConvertQueue(cmds)
	local newQ={}
	for i,d in ipairs(cmds) do
		newQ[i]={d.id,d.params,{}}
	end
	return newQ
end

function gadget:UnitDestroyed(u, ud, team)
	if squadMember[u] then
		local s = squadMember[u]
		squads[s[1]].followers[s[2]] = nil
		squadMember[u]=nil
	end
	if squads[u] then --was the squadleader
		local leader = nil
		local cmds = ConvertQueue(spGetUnitCommands(u))
		for i,tu in pairs(squads[u].followers) do
			if not leader then
				spSetUnitNoSelect(tu,false)
				spSetUnitCOBValue(u,75,UnitDefs[ud].speed * 65536)
				squads[u].followers[i]=nil
				squadMember[tu]=nil
				squads[tu]=squads[u]
				leader=tu
				orderRelayList[tu]=cmds
			else
				squadMember[tu]={leader,i}
			end
		end
		squads[u]=nil
	end
end

function gadget:AllowCommand(u, ud, team, cmd, param, opt, tag, synced)
	if not synced and squadMember[u] then
		return false
	end
	if squads[u] then
		if cmd == CMD_ATTACK then
			for i,fu in pairs(squads[u].followers) do
				if param[2] and param[3] then
					spSetUnitTarget(fu,param[1],param[2],param[3])
				else
					spSetUnitTarget(fu,param[1])
				end
			end
		elseif cmd == CMD_STOP then
			for i,fu in pairs(squads[u].followers) do
				stopList[fu]=true
			end
		elseif cmd == CMD_MOVE_STATE or cmd == CMD_FIRE_STATE then
			for i,fu in pairs(squads[u].followers) do
				stateOrderList[fu]={cmd,param}
			end
		end
		return true
	end
	return true
end

function gadget:Initialize()
	GG.RegisterSquad=RegisterSquad
	_G.squads=squads
end

local function Pyth(x,ux,z,uz)
	return math.sqrt((x-ux)*(x-ux) + (z-uz)*(z-uz))
end

local function GetFormationPosition(pattern,posNr,x,z,dx,dz)
	local rx,rz
	rx = -dz
	rz = dx
	local p = patterns[pattern][posNr]
	return x + p[1]*rx + p[2]*dx, z + p[1]*rz + p[2]*dz
end

function gadget:GameFrame(f)
	for u,_ in pairs(stopList) do
		spGiveOrderToUnit(u,CMD_STOP,{},{})
		stopList[u]=nil
	end
	for u,c in pairs(orderRelayList) do
		spGiveOrderArrayToUnitMap({[u]=true},c)
		orderRelayList[u]=nil
	end
	for u,d in pairs(stateOrderList) do
		spGiveOrderToUnit(u,d[1],d[2],{})
		stateOrderList[u]=nil
	end
	if f%59 < .1 then
		for leader,d in pairs(squads) do
			local wps, supp = spGetUnitEstimatedPath(leader)
			local ux,uy,uz = spGetUnitBasePosition(leader)
			local x,y,z
			local dx,dz
			local _,moveState = spGetUnitStates(leader)
			if wps and wps[supp[2]-1] then
				local p = wps[supp[2]-1]
				x=p[1]
				y=p[2]
				z=p[3]
				dist=Pyth(x,ux,z,uz)
				dx=(x-ux)/dist
				dz=(z-uz)/dist
			else
				x=ux
				y=uy
				z=uz
				dx,_,dz=spGetUnitDirection(leader)
			end
			for i,u in pairs(d.followers) do
				local fx,_,fz = spGetUnitPosition(u)
				local tx,tz=GetFormationPosition(d.pattern,i,x,z,dx,dz)
				local dist = Pyth(tx,fx,tz,fz)
				if dist > moveDist then
					spSetUnitMoveGoal(u,tx,0,tz)
				else
					spGiveOrderToUnit(u, CMD_MOVE_STATE,{moveState},{})
				end
				if dist > holdPosDist then
					spGiveOrderToUnit(u, CMD_MOVE_STATE,{0},{})
				end
			end
		end
	end
end

else

--UNSYNCED
local glBillboard               = gl.Billboard
local glColor                   = gl.Color
local glPopMatrix               = gl.PopMatrix
local glPushMatrix              = gl.PushMatrix
local glTexRect                 = gl.TexRect
local glTexture                 = gl.Texture
local glTranslate               = gl.Translate

local size=10
local offset=15

local squads

function gadget:DrawWorld()
	glTexture("bitmaps/icons/LeaderIcon.png")
	local localTeam = spGetLocalTeamID()
	for u,_ in spairs(squads) do
		local team=spGetUnitTeam(u)
		if team==localTeam then
			local x,y,z=spGetUnitBasePosition(u)
			local h = spGetUnitHeight(u)
			local r,g,b = spGetTeamColor(team)
			glColor(r,g,b,1)
			glPushMatrix()
			glTranslate(x,y+h,z)
			glBillboard()
			glTexRect(-size, -size + offset, size, size + offset, false, false)
			glPopMatrix()
		end
	end
	glTexture(false)
end

function gadget:Initialize()
	squads=SYNCED.squads
end

end
Spawner

Code: Select all

--------------------------------------------------------------------------------
--------------------------------------------------------------------------------

-- Automatically generated local definitions

local spCreateUnit              = Spring.CreateUnit
local spGetUnitBuildFacing      = Spring.GetUnitBuildFacing
local spGetUnitStates           = Spring.GetUnitStates
local spGetUnitCommands         = Spring.GetUnitCommands
local spGetUnitPosition         = Spring.GetUnitPosition
local spGiveOrderArrayToUnitMap = Spring.GiveOrderArrayToUnitMap
local spValidUnitID             = Spring.ValidUnitID

--------------------------------------------------------------------------------
--------------------------------------------------------------------------------

function gadget:GetInfo()
	return {
		name = "Squad Spawner",
		desc = "Spawns a squad for some units",
		author = "KDR_11k (David Becker)",
		date = "2008-10-21",
		license = "Public Domain",
		layer = 1,
		enabled = true
	}
end

if (gadgetHandler:IsSyncedCode()) then

--SYNCED

local newList={}

GG.squadType={}
local squadSpawn={}

function gadget:UnitFinished(u,ud,team)
	if not newList[u] then
		squadSpawn[u]={ud=ud,team=team}
	end
end

function gadget:UnitCreated(u,ud,team)
	newList[u]=true
end

local function ConvertQueue(cmds,firestate,movestate)
	local newQ={{CMD.FIRE_STATE, {firestate},{} }, {CMD.MOVE_STATE, {movestate},{} } }
	for i,d in ipairs(cmds) do
		newQ[i+2]={d.id,d.params,{"shift"}} --ignore opts since I don't think any part of a factory queue gives a damn about that...
	end
	return newQ
end

function gadget:GameFrame(f)
	newList={}
	for u,d in pairs(squadSpawn) do
		if spValidUnitID(u) then
			if GG.squadType[d.ud] then
				Spring.Echo(d.ud, "squad spawner gameframe ")
				local x,y,z=spGetUnitPosition(u)
				local state = spGetUnitStates(u)
				local cmds = ConvertQueue(spGetUnitCommands(u),state.firestate,state.movestate)
				local h = spGetUnitBuildFacing(u)
				local units= {}
				local su={}
				for i,nud in pairs(GG.squadType[d.ud]) do
					local nu = spCreateUnit(nud,x+i,y,z,h,d.team)
					if nu then
						units[nu]=true
						su[i]=nu
					end
				end
				if GG.RegisterSquad and UnitDefs[d.ud].customParams.loosesquad ~= "1" then
					GG.RegisterSquad(d.ud, u,su)
				end
				spGiveOrderArrayToUnitMap(units,cmds)
			end
		end
		squadSpawn[u]=nil
	end
end

function gadget:Initialize()
	for ud,d in pairs(UnitDefs) do
		local c = d.customParams
		local i=1
		local s={}
		while c["squadmember"..i] do
			s[i]=UnitDefNames[c["squadmember"..i]].id
			i=i+1
		end
		if i > 1 then
			GG.squadType[ud]=s
		end
	end
	
	-- for n,t in pairs(GG.squadType) do
	-- Spring.Echo("squad entry", n)
		-- for k,v in pairs(t) do
			-- Spring.Echo(k,v)
		-- end
	-- end
end

else

--UNSYNCED

return false

end
Last edited by smoth on 07 Dec 2016, 22:52, edited 1 time in total.
hokomoko
Spring Developer
Posts: 593
Joined: 02 Jun 2014, 00:46

Re: I need help finding a change.

Post by hokomoko »

infolog missing
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: I need help finding a change.

Post by smoth »

it will be flooded with debug info(pointless numbers being outputed by scripts I was working on before I had to come to a full halt) and shit, which one do you need 101 or 100?
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: I need help finding a change.

Post by smoth »

100

Code: Select all

[ParseCmdLine] command-line args: "G:\Games\spring-100.0\spring.exe"
Using configuration source: "G:\Games\spring-100.0\springsettings.cfg"
Using additional configuration source: "C:\Users\Steve\Documents\My Games\Spring\springsettings.cfg"
============== <User Config> ==============
AdvSky = 1
BumpWaterAnisotropy = 4
BumpWaterBlurReflection = 1
BumpWaterTexSizeReflection = 3
CamMode = 0
CubeTexSizeReflection = 1024
FPSScrollSpeed = 43
FSAALevel = 4
Fullscreen = 0
GrassDetail = 0
GroundDetail = 132
InputTextGeo = 0.26 0.73 0.02 0.028
LastSelectedMap = Grts_DesertValley_012
LastSelectedMod = superbeast 666 v0.2
LastSelectedScript = Player Only: Testing Sandbox
MaxNanoParticles = 10275
MaxParticles = 10092
OverheadScrollSpeed = 30
ReflectiveWater = 4
RotOverheadScrollSpeed = 34
ScreenshotCounter = 1032
ShadowMapSize = 4096
Shadows = 1
ShowClock = 0
SmoothLines = 1
SmoothPoints = 1
TreeRadius = 3000
UnitIconDist = 10000
UnitLodDist = 200
VSync = -1
WindowPosX = 961
WindowPosY = 31
XResolution = 1500
XResolutionWindowed = 958
YResolution = 900
YResolutionWindowed = 488
snd_volmaster = 0
snd_volmusic = 55
============== </User Config> ==============
Available log sections: KeyBindings, AutohostInterface, GameServer, Net, CSMFGroundTextures, RoamMeshDrawer, BumpWater, DynWater, SkyBox, DecalsDrawerGL4, FarTextureHandler, Model, Piece, ModelDrawer, OBJParser, WorldObjectModelRenderer, Shader, Texture, Font, CregSerializer, ArchiveScanner, VFS, Sound, LuaSocket, GroundMoveType, Path, UnitScript
Enabled log sections: Sound(Notice)
Enable or disable log sections using the LogSections configuration key
  or the SPRING_LOG_SECTIONS environment variable (both comma separated).
  Use "none" to disable the default log sections.
LogOutput initialized.
Spring 100.0
Build Environment: boost-105500, GNU libstdc++ version 20130531
Compiler Version:  gcc-4.8.1
Operating System:  Microsoft Windows
Microsoft Home Premium Edition, 64-bit (build 9200)
Intel(R) Core(TM) i7-2600 CPU @ 3.40GHz; 16362MB RAM, 32746MB pagefile
Word Size:         32-bit (emulated)
         CPU Clock: win32::TimeGetTime
Physical CPU Cores: 4
 Logical CPU Cores: 8
[CMyMath::Init] CPU SSE mask: 127, flags:
	SSE 1.0:  1,  SSE 2.0:  1
	SSE 3.0:  1, SSSE 3.0:  1
	SSE 4.1:  1,  SSE 4.2:  1
	SSE 4.0A: 0,  SSE 5.0A: 0
	using streflop SSE FP-math mode, CPU supports SSE instructions
Supported Video modes on Display 1 x:0 y:0 1920x1080:
	640x480, 720x480, 720x576, 800x600, 1024x768, 1152x864, 1176x664, 1280x720, 1280x768, 1280x800, 1280x960, 1280x1024, 1360x768, 1366x768, 1400x1050, 1440x900, 1600x900, 1600x1024, 1680x1050, 1768x992, 1920x1080
Supported Video modes on Display 2 x:1920 y:9 1920x1080:
	640x480, 720x480, 720x576, 800x600, 1024x768, 1152x864, 1176x664, 1280x720, 1280x768, 1280x800, 1280x960, 1280x1024, 1360x768, 1366x768, 1400x1050, 1440x900, 1600x900, 1600x1024, 1680x1050, 1768x992, 1920x1080
SDL version:  linked 2.0.3; compiled 2.0.2
GL version:   4.5.0 NVIDIA 369.09
GL vendor:    NVIDIA Corporation
GL renderer:  GeForce GTX 680/PCIe/SSE2
GLSL version: 4.50 NVIDIA
GLEW version: 1.5.8
Video RAM:    total 2048MB, available 1559MB
SwapInterval: 1
FBO::maxSamples: 32
GL info:
	haveARB: 1, haveGLSL: 1, ATI hacks: 0
	FBO support: 1, NPOT-texture support: 1, 24bit Z-buffer support: 1
	maximum texture size: 16384, compress MIP-map textures: 0
	maximum SmoothPointSize: 190, maximum vec4 varying/attributes: 31/16
	maximum drawbuffers: 8, maximum recommended indices/vertices: 1048576/1048576
	number of UniformBufferBindings: 84 (64kB)
VSync disabled
[InitOpenGL] video mode set to 1920x1017:24bit @60Hz (windowed)
[WatchDogInstall] Installed (HangTimeout: 10sec)
[ThreadPool::SetThreadCount][1] #wanted=4 #current=1 #max=4
[ThreadPool::SetThreadCount][2] #threads=3
[DataDirs] Portable Mode!
Using read-write data directory: G:\Games\spring-100.0\
Using read-only data directory: C:\Users\Steve\Documents\My Games\Spring\
Archive cache doesn't exist: G:\Games\spring-100.0\cache\ArchiveCache10.lua
Archive cache doesn't exist: G:\Games\spring-100.0\cache\ArchiveCache.lua
Scanning: G:\Games\spring-100.0\maps
Scanning: G:\Games\spring-100.0\base
Scanning: G:\Games\spring-100.0\games
Warning: G:\Games\spring-100.0\maps\white_rabbit_v1_2_0.sd7: mapfile isn't set in mapinfo.lua, please set it for faster loading!
Warning: G:\Games\spring-100.0\maps\Smoth_Northernmountains012.sdd: mapfile isn't set in mapinfo.lua, please set it for faster loading!
Warning: G:\Games\spring-100.0\maps\sandofminesv2.sdz: mapfile isn't set in mapinfo.lua, please set it for faster loading!
Warning: G:\Games\spring-100.0\maps\River_Nix_20.sdd: mapfile isn't set in mapinfo.lua, please set it for faster loading!
Warning: G:\Games\spring-100.0\maps\notadotamap-1-0.sdz: mapfile isn't set in mapinfo.lua, please set it for faster loading!
Warning: G:\Games\spring-100.0\maps\notAdotaMap-0-91.sdz: mapfile isn't set in mapinfo.lua, please set it for faster loading!
Warning: G:\Games\spring-100.0\maps\ld35_map.sdd: mapfile isn't set in mapinfo.lua, please set it for faster loading!
Warning: G:\Games\spring-100.0\maps\iced_coffee_v2.sd7: mapfile isn't set in mapinfo.lua, please set it for faster loading!
Warning: G:\Games\spring-100.0\maps\icedcoffee_v1.sd7: mapfile isn't set in mapinfo.lua, please set it for faster loading!
Warning: G:\Games\spring-100.0\maps\hohenheim-v2.sdd: mapfile isn't set in mapinfo.lua, please set it for faster loading!
Warning: G:\Games\spring-100.0\maps\Grts_RiverValley_017.sd7: mapfile isn't set in mapinfo.lua, please set it for faster loading!
Warning: G:\Games\spring-100.0\maps\Grts_RiverValley_015.sd7: mapfile isn't set in mapinfo.lua, please set it for faster loading!
Warning: G:\Games\spring-100.0\maps\evorts_-_higher_grounds_-_v13.sd7: mapfile isn't set in mapinfo.lua, please set it for faster loading!
Warning: G:\Games\spring-100.0\maps\echo_canyon.sd7: mapfile isn't set in mapinfo.lua, please set it for faster loading!
Warning: G:\Games\spring-100.0\maps\desertneedlesmallv03.sd7: mapfile isn't set in mapinfo.lua, please set it for faster loading!
Warning: G:\Games\spring-100.0\maps\charlie_in_the_hills_v3.1.sd7: mapfile isn't set in mapinfo.lua, please set it for faster loading!
Warning: G:\Games\spring-100.0\maps\canyon.sd7: mapfile isn't set in mapinfo.lua, please set it for faster loading!
Warning: G:\Games\spring-100.0\maps\00Desert Valley__.sdd: mapfile isn't set in mapinfo.lua, please set it for faster loading!
[f=0000000] [Sound] OpenAL info:
[f=0000000] [Sound]   Available Devices:
[f=0000000] [Sound]               Speakers (SB Audigy)
[f=0000000] [Sound]               24MP56-C (NVIDIA High Definition Audio)
[f=0000000] [Sound]               24MP56-0 (NVIDIA High Definition Audio)
[f=0000000] [Sound]               Speakers (3- Logitech G930 Headset)
[f=0000000] [Sound]               Digital Audio Interface (SB Audigy)
[f=0000000] [Sound]               Realtek Digital Output(Optical) (Realtek High Definition Audio)
[f=0000000] [Sound]               Speakers (SB Audigy)
[f=0000000] [Sound]   Device:     OpenAL Soft
[f=0000000] [Sound]   Vendor:         OpenAL Community
[f=0000000] [Sound]   Version:        1.1 ALSOFT 1.15.1
[f=0000000] [Sound]   Renderer:       OpenAL Soft
[f=0000000] [Sound]   AL Extensions:  AL_EXT_ALAW AL_EXT_DOUBLE AL_EXT_EXPONENT_DISTANCE AL_EXT_FLOAT32 AL_EXT_IMA4 AL_EXT_LINEAR_DISTANCE AL_EXT_MCFORMATS AL_EXT_MULAW AL_EXT_MULAW_MCFORMATS AL_EXT_OFFSET AL_EXT_source_distance_model AL_LOKI_quadriphonic AL_SOFT_buffer_samples AL_SOFT_buffer_sub_data AL_SOFTX_deferred_updates AL_SOFT_direct_channels AL_SOFT_loop_points AL_SOFT_source_latency
[f=0000000] [Sound]   ALC Extensions: ALC_ENUMERATE_ALL_EXT ALC_ENUMERATION_EXT ALC_EXT_CAPTURE ALC_EXT_DEDICATED ALC_EXT_disconnect ALC_EXT_EFX ALC_EXT_thread_local_context ALC_SOFT_loopback
[f=0000000] [Sound]   EFX Enabled: yes
[f=0000000] [Sound]   Max Sounds: 128
[f=0000000] Joysticks found: 0
[f=0000000] [ThreadPool::SetThreadCount][1] #wanted=3 #current=4 #max=4
[f=0000000] [ThreadPool::SetThreadCount][2] #threads=2
[f=0000000] [Threading] Main thread CPU affinity mask set: 252
[f=0000000] [InitOpenGL] video mode set to 1920x1017:24bit @60Hz (windowed)
[f=0000000] Hosting on: localhost:8452
[f=0000000] Connecting to local server
[f=0000000] [AddGameSetupArchivesToVFS] using map: Grts_DesertValley_012
[f=0000000] Warning: Opening socket on loopback address. Other users will not be able to connect!
[f=0000000] Binding UDP socket to IP (v6) ::1 port 8452
[f=0000000] [UDPListener] successfully bound socket on port 8452
[f=0000000] PreGame::StartServer: 15 ms
[f=0000000] [AddGameSetupArchivesToVFS] using map: Grts_DesertValley_012
[f=0000000] [AddGameSetupArchivesToVFS] using game: superbeast 666 v0.2 (archive: gundam.sdd)
[f=0000000] Recording demo to: G:\Games\spring-100.0\demos\20161207_001413_Grts_DesertValley_012_100.sdf
[f=0000000] PreGame::GameDataReceived: 1401 ms
[f=0000000] [PreGame::UpdateClientNet] user number 0 (team 0, allyteam 0)
[f=0000000] [LuaIntro] Searching for new Widgets
[f=0000000] [LuaIntro] Scanning: LuaIntro/Addons/
[f=0000000] [LuaIntro] Scanning: LuaIntro/Widgets/
[f=0000000] [LuaIntro] Scanning: LuaIntro/SystemAddons/
[f=0000000] [LuaIntro] Scanning: LuaIntro/SystemWidgets/
[f=0000000] [LuaIntro] Scanning: LuaIntro/chili/
[f=0000000] [LuaIntro] Found new widget "SpringLogo"
[f=0000000] [LuaIntro] Warning: Missing GetInfo() in: bg_shader.lua
[f=0000000] [LuaIntro] Found new widget "LoadTexture"
[f=0000000] [LuaIntro] Found new widget "LoadProgress"
[f=0000000] [LuaIntro] Found new widget "LoadScreen"
[f=0000000] [LuaIntro] Found new widget "Music"
[f=0000000] [LuaIntro] Loading widgets   <>=vfs  **=raw  ()=unknown
[f=0000000] [LuaIntro] Loading API widget:  Chili Framework        <api_chili.lua>
[f=0000000] [LuaIntro] Warning: Headers files aren't supported anymore use "require" instead!
[f=0000000] [LuaIntro] Loading widget:      LoadProgress           <loadprogress.lua>
[f=0000000] [LuaIntro] Loading widget:      LoadScreen             <main.lua>
[f=0000000] [LuaIntro] Loading widget:      Music                  <music.lua>
[f=0000000] [LuaIntro] Loading widget:      LoadTexture            <bg_texture.lua>
[f=0000000] [LuaIntro] Loading widget:      Chili Docking          <gui_chili_docking.lua>
[f=0000000] [LuaIntro] LuaIntro v1.0 (Lua 5.1)
[f=0000000] Parsing Map Information
[f=0000000] Loading SMF
[f=0000000] Loading Map (161 MB)
[f=0000000] Loading Radar Icons
[f=0000000] Loading GameData Definitions
[f=0000000] file found, gamedata/configs/buildtrees/federation/constgtank.lua
[f=0000000] file found, gamedata/configs/buildtrees/federation/fedairport.lua
[f=0000000] file found, gamedata/configs/buildtrees/federation/fedcommyard.lua
[f=0000000] file found, gamedata/configs/buildtrees/federation/fedconyard.lua
[f=0000000] file found, gamedata/configs/buildtrees/federation/fedhangar.lua
[f=0000000] file found, gamedata/configs/buildtrees/federation/fedmotor.lua
[f=0000000] file found, gamedata/configs/buildtrees/federation/whitebase.lua
[f=0000000] [unitdefs.lua] Error: removed the "waffle" entry from the "gaw" build menu
[f=0000000] [weapondefs.lua] Error: Error parsing weapons/missl.lua: error = 3, weapons/missl.lua, [string "weapons/missl.lua"]:25: unexpected symbol near '='

[f=0000000] [weapondefs.lua] Error: Error parsing weapons/mparticle.lua: error = 3, weapons/mparticle.lua, [string "weapons/mparticle.lua"]:25: unexpected symbol near '='

[f=0000000] !!WARNING!! Unit: Char's gelgoog Unit tag: footprintx (2) conflicts movedata (3)
[f=0000000] !!WARNING!! Unit: Gouf Flight type Unit tag: footprintx (2) conflicts movedata (3)
[f=0000000] Loading all definitions:  0.198000
[f=0000000] Game::LoadDefs (GameData): 221 ms
[f=0000000] Loading Sound Definitions
[f=0000000] [Sound]  parsed 8 sounds from gamedata/sounds.lua
[f=0000000] Game::LoadDefs (Sound): 3 ms
[f=0000000] Creating Smooth Height Mesh
[f=0000000] SmoothHeightMesh::MakeSmoothMesh: 134 ms
[f=0000000] Creating QuadField & CEGs
[f=0000000] [CDamageArrayHandler] number of ArmorDefs: 5
[f=0000000] [RegisterAssimpModelFormats] supported Assimp model formats: *.3ds;*.blend;*.dae;*.lwo;
[f=0000000] Creating Unit Textures
[f=0000000] Creating Sky
[f=0000000] Loading Weapon Definitions
[f=0000000] Loading Unit Definitions
[f=0000000] Warning: fedmechist: Given yardmap requires 6 extra char(s)!
[f=0000000] Warning: fedtower: Given yardmap requires 12 extra char(s)!
[f=0000000] Warning: fedturret: Given yardmap requires 5 extra char(s)!
[f=0000000] Warning: industrial_smokestack_tall_1: Given yardmap requires 5 extra char(s)!
[f=0000000] Warning: long_fedwall: Given yardmap requires 11 extra char(s)!
[f=0000000] Warning: long_neutralfedwall: Given yardmap requires 11 extra char(s)!
[f=0000000] Warning: long_neutralzeonwall: Given yardmap requires 11 extra char(s)!
[f=0000000] Warning: long_zeonwall: Given yardmap requires 11 extra char(s)!
[f=0000000] Warning: neutralfueltank1: Given yardmap requires 5 extra char(s)!
[f=0000000] Warning: neutralindustrial_smokestack_1: Given yardmap requires 4 extra char(s)!
[f=0000000] Warning: neutralindustrial_smokestack_2: Given yardmap requires 4 extra char(s)!
[f=0000000] Warning: neutralmechist: Given yardmap requires 5 extra char(s)!
[f=0000000] Warning: neutralminovsky: Given yardmap requires 5 extra char(s)!
[f=0000000] Warning: randrock: Given yardmap requires 32 extra char(s)!
[f=0000000] Warning: randsnowtree: Given yardmap requires 77 extra char(s)!
[f=0000000] Warning: Could not load sound from def: ridge
[f=0000000] Warning: Could not load sound from def: changing
[f=0000000] Warning: Could not load sound from def: ridge2
[f=0000000] Warning: zeonmechist: Given yardmap requires 5 extra char(s)!
[f=0000000] Loading Feature Definitions
[f=0000000] Error: [GetFeatureDef] could not find FeatureDef "rubble"
[f=0000000] [IPathManager::GetInstance] using DEFAULT path-manager
[f=0000000] Initializing Map Features
[f=0000000] Error: [LoadFeaturesFromMap] unknown map feature type ""
[f=0000000] Creating ShadowHandler & DecalHandler
[f=0000000] Creating GroundDrawer
[f=0000000] Loading Map Tiles
[f=0000000] Loading Square Textures
[f=0000000] CSMFGroundTextures::ConvolveHeightMap: 5 ms
[f=0000000] Switching to ROAM Mesh Rendering
[f=0000000] Creating TreeDrawer
[f=0000000] Creating ProjectileDrawer & UnitDrawer
[f=0000000] Creating Projectile Textures
[f=0000000] Warning: [CCEG::Load] table for CEG "nothing" invalid (parse errors?)
[f=0000000] Creating Water
[f=0000000] Game::LoadInterface (Camera&Mouse): 80 ms
[f=0000000] Game::LoadInterface (Console): 1 ms
[f=0000000] [Sound] Error: Unable to open audio file: FailedCommand
[f=0000000] [Sound] Error: CSound::GetSoundId: could not find sound: FailedCommand
[f=0000000] InfoTexture: shaders
[f=0000000] Loading LuaRules
[f=0000000] Jump Jet Defs error checking begining..
[f=0000000] .. Jump Jet Defs error checking complete
[f=0000000] aacar,  found
[f=0000000] ez8,  found
[f=0000000] xamel,  found
[f=0000000] fedmechist,  found
[f=0000000] Spring.GetModOptions(), 0
[f=0000000] nil, chickenTeamID, Spring.GetModOptions(), <table>, materialstorage, nil, StartMetal, nil
[f=0000000] 2, true
[f=0000000] !!WARNING!!   missing file: gamedata/configs/randomstructures.lua
[f=0000000] Error: Failed to load: gfx_customunitshaders.lua  ([string "LuaRules/Gadgets/gfx_customunitshaders.lua"]:27: attempt to index field 'Utilities' (a nil value))
[f=0000000] Error: Failed to load: lups_projectiles.lua  (error = 2, LuaRules/Configs/lups_projectile_fxs.lua, [string "LuaRules/Configs/lups_projectile_fxs.lua"]:1: attempt to index field 'Utilities' (a nil value))
[f=0000000] shaders and color utilities, 3
[f=0000000] Loaded SYNCED gadget:  Utilities for GG    <utilities.lua>
[f=0000000] Loaded SYNCED gadget:  error Manager       <greenbean_errormanagement.lua>
[f=0000000] Loaded SYNCED gadget:  BA Chicken Spawner  <chickens_unit_spawner_defense.lua>
[f=0000000] Loaded SYNCED gadget:  Bucket Manager      <greenbean_bucketmanagement.lua>
[f=0000000] Loaded SYNCED gadget:  CEG Spawner         <dbg_ceg_spawner.lua>
[f=0000000] Loaded SYNCED gadget:  Game End            <game_end.lua>
[f=0000000] Loaded SYNCED gadget:  GreenBeans scoring  <greenbean_scoring.lua>
[f=0000000] Loaded SYNCED gadget:  K.O.T.H.            <koth.lua>
[f=0000000] Loaded SYNCED gadget:  Lua unit script framework  <unit_script.lua>
[f=0000000] Loaded SYNCED gadget:  Lups Flamethrower Jitter  <lups_flame_jitter.lua>
[f=0000000] Loaded SYNCED gadget:  Napalm              <lups_napalm.lua>
[f=0000000] Loaded SYNCED gadget:  NoCost              <cmd_nocost.lua>
[f=0000000] Loaded SYNCED gadget:  Point Placer        <gbs_pointplacer.lua>
[f=0000000] Loaded SYNCED gadget:  ProgenitorSpawner   <chickens_unit_progenitor.lua>
[f=0000000] Loaded SYNCED gadget:  SetNeutral          <chickens_unit_set_neutral.lua>
[f=0000000] Loaded SYNCED gadget:  Shockwaves          <lups_shockwaves.lua>
[f=0000000] Loaded SYNCED gadget:  Spawn               <game_spawn.lua>
[f=0000000] Loaded SYNCED gadget:  Spawn Units         <spawn_units.lua>
[f=0000000] Loaded SYNCED gadget:  Start Point Remover Gadget  <init_start_point_remover_gadget.lua>
[f=0000000] Loaded SYNCED gadget:  UnitDeploy          <greenbean_deploy.lua>
[f=0000000] Loaded SYNCED gadget:  Wall Mugger         <greenbean_wallmugger.lua>
[f=0000000] Loaded SYNCED gadget:  ambient             <greenbean_ambience.lua>
[f=0000000] Loaded SYNCED gadget:  astar.lua           <astar.lua>
[f=0000000] Loaded SYNCED gadget:  feature placer v3   <fp_featureplacer.lua>
[f=0000000] Loaded SYNCED gadget:  lups_wrapper.lua    <lups_wrapper.lua>
[f=0000000] Loaded SYNCED gadget:  rager saver         <greenbean_ragersaver.lua>
[f=0000000] Loaded SYNCED gadget:  random feature      <fp_randomfeature.lua>
[f=0000000] Loaded SYNCED gadget:  unit Mugger         <greenbean_unitmugger.lua>
[f=0000000] Loaded SYNCED gadget:  Energy              <greenbean_energy.locals.lua>
[f=0000000] Loaded SYNCED gadget:  Feature jitter command  <fp_command_featurejitter.lua>
[f=0000000] Loaded SYNCED gadget:  Feature rotate random toggle  <fp_command_featurerotate.lua>
[f=0000000] Loaded SYNCED gadget:  Repair              <greenbean_repair.locals.lua>
[f=0000000] Loaded SYNCED gadget:  Squad Handler       <greenbean_squadhandler.locals.lua>
[f=0000000] Loaded SYNCED gadget:  Squad Spawner       <greenbean_squadspawner.locals.lua>
[f=0000000] Loaded SYNCED gadget:  magella's last resort  <grts_magellatop.lua>
[f=0000000] Loaded SYNCED gadget:  unit preview spawner  <gbs_createunit.lua>
[f=0000000] Loaded SYNCED gadget:  Lups Cloak FX       <lups_cloak_fx.lua>
[f=0000000] Loaded SYNCED gadget:  LupsSyncedManager   <lups_manager.lua>
[f=0000000] Loaded SYNCED gadget:  Pseudo Orders       <pseudo_orders.lua>
[f=0000000] Loaded SYNCED gadget:  Feature spread command  <fp_command_featurespread.lua>
[f=0000000] Loaded SYNCED gadget:  Feature spread      <fp_featurespread.lua>
[f=0000000] Loaded SYNCED gadget:  Regenerative AI     <regenai.lua>
[f=0000000] Loaded SYNCED gadget:  trails              <trails.locals.lua>
[f=0000000] Loaded SYNCED gadget:  Deployment Rule     <greenbean_rule_deploy.lua>
[f=0000000] Loaded SYNCED gadget:  Info box over ride  <greenbean_infoboxoverride.lua>
[f=0000000] Loaded SYNCED gadget:  Resources           <greenbean_resources.locals.lua>
[f=0000000] Loaded SYNCED gadget:  Group limit gadget  <greenbean_grouplimit.lua>
[f=0000000] Loaded SYNCED gadget:  Hold postion gadget  <greenbean_holdpsition.lua>
[f=0000000] Loaded SYNCED gadget:  sell                <greenbean_sell.locals.lua>
[f=0000000] start of research gadget
[f=0000000] Loaded SYNCED gadget:  Research Process    <greenbean_research.lua>
[f=0000000] Loaded SYNCED gadget:  Lua hotfixes        <hotfixes.lua>
[f=0000000] Loaded SYNCED gadget:  Special Ability     <greenbean_specialability.lua>
[f=0000000] Loaded SYNCED gadget:  NO ZAKU BOY         <grts_ability_nozaku.lua>
[f=0000000] Loaded SYNCED gadget:  Script Toggle Ability  <greenbean_ability_scripttoggle.lua>
[f=0000000] Loaded SYNCED gadget:  Smoke Launcher      <greenbean_ability_smokelauncher.lua>
[f=0000000] Loaded SYNCED gadget:  Weapon Overdrive Ability  <greenbean_ability_weaponoverdrive.lua>
[f=0000000] Loaded SYNCED gadget:  Buttons             <greenbean_ui_buttons.lua>
[f=0000000] Error: Failed to load: gfx_customunitshaders.lua  ([string "LuaRules/Gadgets/gfx_customunitshaders.lua"]:27: attempt to index field 'Utilities' (a nil value))
[f=0000000] Error: Failed to load: lups_napalm.lua  (error = 2, LuaRules/Configs/lups_napalm_fxs.lua, [string "LuaRules/Configs/lups_napalm_fxs.lua"]:77: attempt to index field 'Utilities' (a nil value))
[f=0000000] Error: Failed to load: lups_projectiles.lua  (error = 2, LuaRules/Configs/lups_projectile_fxs.lua, [string "LuaRules/Configs/lups_projectile_fxs.lua"]:1: attempt to index field 'Utilities' (a nil value))
[f=0000000] shaders and color utilities, 3
[f=0000000] Loaded UNSYNCED gadget:  Utilities for GG    <utilities.lua>
[f=0000000] Loaded UNSYNCED gadget:  error Manager       <greenbean_errormanagement.lua>
[f=0000000] Loaded UNSYNCED gadget:  BA Chicken Spawner  <chickens_unit_spawner_defense.lua>
[f=0000000] Loaded UNSYNCED gadget:  Bucket Manager      <greenbean_bucketmanagement.lua>
[f=0000000] Loaded UNSYNCED gadget:  CEG Spawner         <dbg_ceg_spawner.lua>
[f=0000000] Loaded UNSYNCED gadget:  GreenBeans scoring  <greenbean_scoring.lua>
[f=0000000] Loaded UNSYNCED gadget:  K.O.T.H.            <koth.lua>
[f=0000000] Loaded UNSYNCED gadget:  Lups Flamethrower Jitter  <lups_flame_jitter.lua>
[f=0000000] Loaded UNSYNCED gadget:  NoCost              <cmd_nocost.lua>
[f=0000000] Loaded UNSYNCED gadget:  Point Placer        <gbs_pointplacer.lua>
[f=0000000] Loaded UNSYNCED gadget:  ProgenitorSpawner   <chickens_unit_progenitor.lua>
[f=0000000] Loaded UNSYNCED gadget:  SetNeutral          <chickens_unit_set_neutral.lua>
[f=0000000] Loaded UNSYNCED gadget:  Shockwaves          <lups_shockwaves.lua>
[f=0000000] Loaded UNSYNCED gadget:  Spawn Units         <spawn_units.lua>
[f=0000000] Loaded UNSYNCED gadget:  Start Point Remover Gadget  <init_start_point_remover_gadget.lua>
[f=0000000] Loaded UNSYNCED gadget:  UnitDeploy          <greenbean_deploy.lua>
[f=0000000] Loaded UNSYNCED gadget:  Wall Mugger         <greenbean_wallmugger.lua>
[f=0000000] Loaded UNSYNCED gadget:  ambient             <greenbean_ambience.lua>
[f=0000000] Loaded UNSYNCED gadget:  astar.lua           <astar.lua>
[f=0000000] Loaded UNSYNCED gadget:  feature placer v3   <fp_featureplacer.lua>
[f=0000000] Loaded UNSYNCED gadget:  rager saver         <greenbean_ragersaver.lua>
[f=0000000] Loaded UNSYNCED gadget:  random feature      <fp_randomfeature.lua>
[f=0000000] Loaded UNSYNCED gadget:  unit Mugger         <greenbean_unitmugger.lua>
[f=0000000] Loaded UNSYNCED gadget:  Energy              <greenbean_energy.locals.lua>
[f=0000000] Loaded UNSYNCED gadget:  Feature jitter command  <fp_command_featurejitter.lua>
[f=0000000] Loaded UNSYNCED gadget:  Feature rotate random toggle  <fp_command_featurerotate.lua>
[f=0000000] Loaded UNSYNCED gadget:  Repair              <greenbean_repair.locals.lua>
[f=0000000] Loaded UNSYNCED gadget:  Squad Handler       <greenbean_squadhandler.locals.lua>
[f=0000000] Loaded UNSYNCED gadget:  magella's last resort  <grts_magellatop.lua>
[f=0000000] Loaded UNSYNCED gadget:  unit preview spawner  <gbs_createunit.lua>
[f=0000000] Loaded UNSYNCED gadget:  Lups Cloak FX       <lups_cloak_fx.lua>
[f=0000000] Loaded UNSYNCED gadget:  LupsSyncedManager   <lups_manager.lua>
[f=0000000] Loaded UNSYNCED gadget:  Pseudo Orders       <pseudo_orders.lua>
[f=0000000] Loaded UNSYNCED gadget:  Feature spread command  <fp_command_featurespread.lua>
[f=0000000] Loaded UNSYNCED gadget:  Feature spread      <fp_featurespread.lua>
[f=0000000] Loaded UNSYNCED gadget:  Regenerative AI     <regenai.lua>
[f=0000000] Loaded UNSYNCED gadget:  trails              <trails.locals.lua>
[f=0000000] Loaded UNSYNCED gadget:  Deployment Rule     <greenbean_rule_deploy.lua>
[f=0000000] Loaded UNSYNCED gadget:  Info box over ride  <greenbean_infoboxoverride.lua>
[f=0000000] Loaded UNSYNCED gadget:  Resources           <greenbean_resources.locals.lua>
[f=0000000] Loaded UNSYNCED gadget:  Group limit gadget  <greenbean_grouplimit.lua>
[f=0000000] Loaded UNSYNCED gadget:  Hold postion gadget  <greenbean_holdpsition.lua>
[f=0000000] Loaded UNSYNCED gadget:  sell                <greenbean_sell.locals.lua>
[f=0000000] Loaded UNSYNCED gadget:  Research Process    <greenbean_research.lua>
[f=0000000] Loaded UNSYNCED gadget:  Lups                <lups_wrapper.lua>
[f=0000000] Loaded UNSYNCED gadget:  Lua hotfixes        <hotfixes.lua>
[f=0000000] Loaded UNSYNCED gadget:  Special Ability     <greenbean_specialability.lua>
[f=0000000] Loaded UNSYNCED gadget:  Script Toggle Ability  <greenbean_ability_scripttoggle.lua>
[f=0000000] Loaded UNSYNCED gadget:  Weapon Overdrive Ability  <greenbean_ability_weaponoverdrive.lua>
[f=0000000] Loaded UNSYNCED gadget:  Buttons             <greenbean_ui_buttons.lua>
[f=0000000] Loading LuaGaia
[f=0000000] Loaded SYNCED gadget:  feature placer      <fp_featureplacer.lua>
[f=0000000] Loaded SYNCED gadget:  DualFog             <gui_dualfog_gadget.lua>
[f=0000000] Loaded UNSYNCED gadget:  Precipitation       <precipitation.lua>
[f=0000000] Loaded UNSYNCED gadget:  DualFog             <gui_dualfog_gadget.lua>
[f=0000000] Loading LuaUI
[f=0000000] LuaSocketEnabled: yes
[f=0000000] This game has locked LuaUI access
[f=0000000] This game has locked LuaUI access
[f=0000000] Reloaded ctrlpanel from file: LuaUI/ctrlpanel.txt
[f=0000000] LuaUI: bound F11 to the widget selector
[f=0000000] LuaUI: bound CTRL+F11 to tweak mode
[f=0000000] Reloaded ctrlpanel from file: LuaUI/panel.txt
[f=0000000] shaders and color utilities, 3
[f=0000000] 2Failed to load: gui_chili_manual.lua	([string "LuaUI/Widgets/gui_chili_manual.lua"]:12: 'end' expected (to close 'function' at line 1) near 'en')
[f=0000000] Jump Jet Defs error checking begining..
[f=0000000] .. Jump Jet Defs error checking complete
[f=0000000] Failed to load: spring_direct_launch.lua	(no GetInfo() call)
[f=0000000] Loaded API widget:	Chili Framework   	<api_chili.lua>
[f=0000000] Loaded API widget:	Avatars           	<api_avatars.lua>
[f=0000000] Loaded API widget:	Lups              	<lups_wrapper.lua>
[f=0000000] Reloaded ctrlpanel from file: LuaUI/panel.txt
[f=0000000] Loaded widget:	Manditory UI stuff	<greenbeans_utility.lua>
[f=0000000] Loaded widget:	Chili error window	<gui_chili_error_screen.lua>
[f=0000000] Loaded widget:	HealthBars        	<unit_healthbars.lua>
[f=0000000] Loaded widget:	Hide map marks    	<dbg_mapmarks.lua>
[f=0000000] Loaded widget:	AdvPlayersList    	<gui_advplayerslist.lua>
[f=0000000] Loaded widget:	BuildETA          	<gui_build_eta.lua>
[f=0000000] gskin
[f=0000000] Loaded widget:	Chili Research Bars	<gui_chili_research.lua>
[f=0000000] Loaded widget:	Chili Selections & CursorTip	<gui_chili_selections_and_cursortip.lua>
[f=0000000] Loaded widget:	Context Menu      	<gui_contextmenu.lua>
[f=0000000] Loaded widget:	Easy Facing       	<gui_easyfacing.lua>
[f=0000000] Loaded widget:	GroupMove         	<unit_group_move.lua>
[f=0000000] Loaded widget:	Mission Briefing  	<gui_mission_briefing.lua>
[f=0000000] Loaded widget:	Music 2           	<gui_music.lua>
[f=0000000] Loaded widget:	Write GameState   	<gamestate_write.lua>
[f=0000000] Error: [WeaponDefIndex] ERROR_TYPE for key "areaOfEffect" in WeaponDefs __index
[f=0000000] false
[f=0000000] Error in Initialize(): [string "LuaUI/Widgets/gui_attack_aoe.lua"]:182: attempt to compare number with nil
[f=0000000] Removed widget: Attack AoE
[f=0000000] Loaded widget:	Attack AoE        	<gui_attack_aoe.lua>
[f=0000000] Loaded widget:	Build Range Display	<init_build_range_display.lua>
[f=0000000] Loaded widget:	AllyCursors       	<gui_ally_cursors.lua>
[f=0000000] Loaded widget:	Color Theme Select	<gui_chili_schemes.lua>
[f=0000000] Loaded widget:	Square Buildpics  	<square_buildpics.lua>
[f=0000000] Reloaded cmdcolors from file: cmdcolors.tmp
[f=0000000] Loaded widget:	TeamPlatter       	<gui_team_platter.lua>
[f=0000000] Loaded widget:	layout correction 	<layoutwidget.lua>
[f=0000000] Loaded widget:	menu for feature placer	<gui_chili_fp_featuremenu.lua>
[f=0000000] Loaded widget:	unit preview spawner	<gui_chili_creatunit.lua>
[f=0000000] Loaded widget:	Chili Resource Bars	<gui_chili_resource_bars.lua>
[f=0000000] Loaded widget:	Chili Survival UI 	<gui_chili_chickens.lua>
[f=0000000] Loaded widget:	Chili score Bars  	<gui_chili_score_bars.lua>
[f=0000000] Loaded widget:	LupsManager       	<gfx_lups_manager.lua>
[f=0000000] Loaded widget:	Units on Fire     	<gfx_lups_units_on_fire.lua>
[f=0000000] Loaded widget:	Chili Chat        	<gui_chili_chat.lua>
[f=0000000] Loaded widget:	Chili Docking     	<gui_chili_docking.lua>
[f=0000000] Loaded widget:	Chili Minimap     	<gui_chili_minimap.lua>
[f=0000000] Loaded widget:	Image Preloader   	<dbg_img_preload.lua>
[f=0000000] Loaded widget:	CustomFormations2 	<unit_customformations2.lua>
[f=0000000] Loaded widget:	Jumjet GUI        	<gui_jumpjets.lua>
[f=0000000] LuaUI v0.3
[f=0000000] No feature placer objects loaded
[f=0000000] [LoadFinalize] finalizing PFS
[f=0000000] [Path] [PathEstimator::ReadFile] hash=4260860387
[f=0000000] PathCosts: creating PE8 cache with 8 PF threads (122 MB)
[f=0000000] PathCosts: precached 6 of 25600 blocks
[f=0000000] PathCosts: precached 1607 of 25600 blocks
[f=0000000] PathCosts: precached 3211 of 25600 blocks
[f=0000000] PathCosts: precached 4815 of 25600 blocks
[f=0000000] PathCosts: precached 6420 of 25600 blocks
[f=0000000] PathCosts: precached 8021 of 25600 blocks
[f=0000000] PathCosts: precached 9621 of 25600 blocks
[f=0000000] PathCosts: precached 11225 of 25600 blocks
[f=0000000] PathCosts: precached 12830 of 25600 blocks
[f=0000000] PathCosts: precached 14434 of 25600 blocks
[f=0000000] PathCosts: precached 16036 of 25600 blocks
[f=0000000] PathCosts: precached 17639 of 25600 blocks
[f=0000000] PathCosts: precached 19246 of 25600 blocks
[f=0000000] PathCosts: precached 20848 of 25600 blocks
[f=0000000] PathCosts: precached 22450 of 25600 blocks
[f=0000000] PathCosts: precached 24057 of 25600 blocks
[f=0000000] PathCosts: writing
[f=0000000] [Path] [PathEstimator::WriteFile] hash=4260860387
[f=0000000] PathCosts: written
[f=0000000] [Path] [PathEstimator::ReadFile] hash=4260860411
[f=0000000] PathCosts: creating PE32 cache with 8 PF threads (27 MB)
[f=0000000] PathCosts: precached 1 of 1600 blocks
[f=0000000] PathCosts: precached 103 of 1600 blocks
[f=0000000] PathCosts: precached 204 of 1600 blocks
[f=0000000] PathCosts: precached 308 of 1600 blocks
[f=0000000] PathCosts: precached 420 of 1600 blocks
[f=0000000] PathCosts: precached 525 of 1600 blocks
[f=0000000] PathCosts: precached 640 of 1600 blocks
[f=0000000] PathCosts: precached 745 of 1600 blocks
[f=0000000] PathCosts: precached 849 of 1600 blocks
[f=0000000] PathCosts: precached 955 of 1600 blocks
[f=0000000] PathCosts: precached 1058 of 1600 blocks
[f=0000000] PathCosts: precached 1158 of 1600 blocks
[f=0000000] PathCosts: precached 1258 of 1600 blocks
[f=0000000] PathCosts: precached 1363 of 1600 blocks
[f=0000000] PathCosts: precached 1463 of 1600 blocks
[f=0000000] PathCosts: precached 1595 of 1600 blocks
[f=0000000] PathCosts: writing
[f=0000000] [Path] [PathEstimator::WriteFile] hash=4260860411
[f=0000000] PathCosts: written
[f=0000000] [LoadFinalize] finalized PFS (8684ms, checksum 8bd39335)
[f=0000000] playerchange0
[f=0000000] Warning: Couldn't find texture "unitpics/"!
[f=0000000] Loaded DecalsDrawer: Legacy
[f=0000000] Reloaded ctrlpanel from file: panel.txt
[f=0000000] GameID: c4b64758ce075c8aed8633e67e3936eb
[f=0000000] Connection attempt from UnnamedPlayer
[f=0000000]  -> Version: 100.0
[f=0000000]  -> Connection established (given id 0)
[f=0000000] Player UnnamedPlayer finished loading and is now ingame
[f=0000000] GameStart() chickenTeamID, 2
[f=0000000] Warning: No Survival bot team available, adding a Survival bot
[f=0000000] (Assigning Survival bot Team to Gaia)
[f=0000000] federation, fedcommyard
[f=0000000] zeon, zeoncommyard
[f=0000000] zeon, zeoncommyard
[f=0000000] federation, fedcommyard
[f=0000000] faction Name, 
[f=0000000] federation, faction
[f=0000000] game mode , nil
[f=0000000] factionName: federation
[f=0000000] <table>, <table>, federation
[f=0000000] factionTable, <table>
[f=0000000] looking up: startunit
[f=0000000] faction Name, 
[f=0000000] federation, faction
[f=0000000] game mode , nil
[f=0000000] factionName: federation
[f=0000000] <table>, <table>, federation
[f=0000000] factionTable, <table>
[f=0000000] looking up: startunit
[f=0000000] Reloaded ctrlpanel from file: panel.txt
[f=0001489] 132, squad spawner gameframe 
[f=0001728] [SpringApp::ShutDown][1]
[f=0001728] [ThreadPool::SetThreadCount][1] #wanted=0 #current=3 #max=4
[f=0001728] [ThreadPool::SetThreadCount][2] #threads=0
[f=0001728] [SpringApp::ShutDown][2]
[f=0001728] [KillLua][1]
[f=0001728] [KillLua][2]
[f=0001728] [KillLua][3]
[f=0001728] Sorting roster by Allies
[f=0001728] Reloaded ctrlpanel from file: LuaUI/panel.txt
[f=0001728] Reloaded cmdcolors from file: cmdcolors.tmp
[f=0001728] [KillLua][4]
[f=0001728] [~CGame]1]
[f=0001728] [KillLua][1]
[f=0001728] [KillLua][2]
[f=0001728] [KillLua][3]
[f=0001728] [KillLua][4]
[f=0001728] [KillMisc][1]
[f=0001728] [KillMisc][2]
[f=0001728] [KillRendering][1]
[f=0001728] Statistics for RectangleOptimizer: 0%
[f=0001728] [KillInterface][1]
[f=0001728] [KillInterface][2]
[f=0001728] [KillSimulation][1]
[f=0001728] [KillSimulation][2]
[f=0001728] [CCollisionHandler] dis-/continuous tests: 0/1183454
[f=0001728] [KillSimulation][3]
[f=0001728] [KillSimulation][4]
[f=0001728] [~CPathCache(40x40)] cacheHits=0 hitPercentage=0% numHashColls=0 maxCacheSize=0
[f=0001728] [~CPathCache(40x40)] cacheHits=1 hitPercentage=25% numHashColls=0 maxCacheSize=1
[f=0001728] [~CPathCache(160x160)] cacheHits=0 hitPercentage=0% numHashColls=0 maxCacheSize=0
[f=0001728] [~CPathCache(160x160)] cacheHits=1 hitPercentage=0% numHashColls=0 maxCacheSize=201
[f=0001728] Statistics for RectangleOptimizer: 0%
[f=0001728] Statistics for RectangleOptimizer: 0%
[f=0001728] [KillSimulation][5]
[f=0001728] [~CGame][2]
[f=0001728] [~CGame][3]
[f=0001728] [SpringApp::ShutDown][3]
[f=0001728] Statistics for local connection:
Received: 5018 bytes
Sent: 20216 bytes

[f=0001728] Writing demo: G:\Games\spring-100.0\demos\20161207_001413_Grts_DesertValley_012_100.sdf
[f=0001728] [SpringApp::ShutDown][4]
[f=0001728] [SpringApp::ShutDown][5]
[f=0001728] [SpringApp::ShutDown][6]
[f=0001728] [SpringApp::ShutDown][7]
[LuaSocket] Dumping luasocket rules:
[LuaSocket] TCP_CONNECT ALLOW * -1
[LuaSocket] TCP_LISTEN  ALLOW * -1
[LuaSocket] UDP_LISTEN  ALLOW * -1
[SpringApp::ShutDown][8]
[WatchDog::Uninstall][1] hangDetectorThread=03268A10
[WatchDog::Uninstall][2]
[WatchDog::Uninstall][3]
[SpringApp::ShutDown][9]
[SpringApp::Run] exitCode=0
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: I need help finding a change.

Post by smoth »

101

Code: Select all

[ParseCmdLine] command-line args: "G:\Games\spring-101.0\spring.exe"
Using configuration source: "G:\Games\spring-101.0\springsettings.cfg"
Using additional configuration source: "C:\Users\Steve\Documents\My Games\Spring\springsettings.cfg"
============== <User Config> ==============
AdvSky = 1
BumpWaterAnisotropy = 4
BumpWaterBlurReflection = 1
BumpWaterTexSizeReflection = 3
CamMode = 0
CubeTexSizeReflection = 1024
FPSScrollSpeed = 43
FSAALevel = 4
Fullscreen = 0
GrassDetail = 0
GroundDetail = 132
InputTextGeo = 0.26 0.73 0.02 0.028
LastSelectedMap = Grts_DesertValley_012
LastSelectedMod = superbeast 666 v0.2
LastSelectedScript = Player Only: Testing Sandbox
MaxNanoParticles = 10275
MaxParticles = 10092
OverheadScrollSpeed = 30
ReflectiveWater = 4
RotOverheadScrollSpeed = 34
ScreenshotCounter = 1032
ShadowMapSize = 4096
Shadows = 1
ShowClock = 0
SmoothLines = 1
SmoothPoints = 1
TreeRadius = 3000
UnitIconDist = 10000
UnitLodDist = 200
VSync = -1
WindowPosX = 961
WindowPosY = 31
XResolution = 1500
XResolutionWindowed = 958
YResolution = 900
YResolutionWindowed = 488
snd_volmaster = 0
snd_volmusic = 55
============== </User Config> ==============
Available log sections: KeyBindings, AutohostInterface, GameServer, Net, CSMFGroundTextures, RoamMeshDrawer, BumpWater, DynWater, SkyBox, DecalsDrawerGL4, FarTextureHandler, Model, Piece, OBJParser, ModelRenderContainer, Shader, Texture, Font, CregSerializer, ArchiveScanner, VFS, Sound, LuaSocket, GroundMoveType, Path, UnitScript
Enabled log sections: Sound(Notice)
Enable or disable log sections using the LogSections configuration key
  or the SPRING_LOG_SECTIONS environment variable (both comma separated).
  Use "none" to disable the default log sections.
LogOutput initialized.
Spring 101.0
Build Environment: boost-105500, GNU libstdc++ version 20130531
Compiler Version:  gcc-4.8.1
Operating System:  Microsoft Windows
Microsoft Home Premium Edition, 64-bit (build 9200)
Intel(R) Core(TM) i7-2600 CPU @ 3.40GHz; 16362MB RAM, 32746MB pagefile
Word Size:         32-bit (emulated)
         CPU Clock: win32::TimeGetTime
Physical CPU Cores: 4
 Logical CPU Cores: 8
[CMyMath::Init] CPU SSE mask: 127, flags:
	SSE 1.0:  1,  SSE 2.0:  1
	SSE 3.0:  1, SSSE 3.0:  1
	SSE 4.1:  1,  SSE 4.2:  1
	SSE 4.0A: 0,  SSE 5.0A: 0
	using streflop SSE FP-math mode, CPU supports SSE instructions
Supported Video modes on Display 1 x:0 y:0 1920x1080:
	640x480, 720x480, 720x576, 800x600, 1176x664, 1280x720, 1024x768, 1280x768, 1360x768, 1366x768, 1280x800, 1152x864, 1440x900, 1600x900, 1280x960, 1768x992, 1280x1024, 1600x1024, 1400x1050, 1680x1050, 1920x1080
Supported Video modes on Display 2 x:1920 y:9 1920x1080:
	640x480, 720x480, 720x576, 800x600, 1176x664, 1280x720, 1024x768, 1280x768, 1360x768, 1366x768, 1280x800, 1152x864, 1440x900, 1600x900, 1280x960, 1768x992, 1280x1024, 1600x1024, 1400x1050, 1680x1050, 1920x1080
SDL version:  linked 2.0.4; compiled 2.0.4
GL version:   4.5.0 NVIDIA 369.09
GL vendor:    NVIDIA Corporation
GL renderer:  GeForce GTX 680/PCIe/SSE2
GLSL version: 4.50 NVIDIA
GLEW version: 1.5.8
Video RAM:    total 2048MB, available 1442MB
SwapInterval: 1
FBO::maxSamples: 32
GL info:
	haveARB: 1, haveGLSL: 1, ATI hacks: 0
	FBO support: 1, NPOT-texture support: 1, 24bit Z-buffer support: 1
	maximum texture size: 16384, compress MIP-map textures: 0
	maximum SmoothPointSize: 190, maximum vec4 varying/attributes: 31/16
	maximum drawbuffers: 8, maximum recommended indices/vertices: 1048576/1048576
	number of UniformBufferBindings: 84 (64kB)
VSync disabled
[InitOpenGL] video mode set to 1920x1017:24bit @60Hz (windowed)
[WatchDogInstall] Installed (HangTimeout: 10sec)
[WatchDog] registering controls for thread [main]
[ThreadPool::SetThreadCount][1] #wanted=4 #current=1 #max=4
[ThreadPool::SetThreadCount][2] #threads=3
[DataDirs] Portable Mode!
Using read-write data directory: G:\Games\spring-101.0\
Using read-only data directory: C:\Users\Steve\Documents\My Games\Spring\
Archive cache doesn't exist: G:\Games\spring-101.0\cache\ArchiveCache10.lua
Archive cache doesn't exist: G:\Games\spring-101.0\cache\ArchiveCache.lua
Scanning: G:\Games\spring-101.0\maps
Scanning: G:\Games\spring-101.0\base
Scanning: G:\Games\spring-101.0\games
Warning: G:\Games\spring-101.0\maps\white_rabbit_v1_2_0.sd7: mapfile isn't set in mapinfo.lua, please set it for faster loading!
Warning: G:\Games\spring-101.0\maps\Smoth_Northernmountains012.sdd: mapfile isn't set in mapinfo.lua, please set it for faster loading!
Warning: G:\Games\spring-101.0\maps\sandofminesv2.sdz: mapfile isn't set in mapinfo.lua, please set it for faster loading!
Warning: G:\Games\spring-101.0\maps\River_Nix_20.sdd: mapfile isn't set in mapinfo.lua, please set it for faster loading!
Warning: G:\Games\spring-101.0\maps\notadotamap-1-0.sdz: mapfile isn't set in mapinfo.lua, please set it for faster loading!
Warning: G:\Games\spring-101.0\maps\notAdotaMap-0-91.sdz: mapfile isn't set in mapinfo.lua, please set it for faster loading!
Warning: G:\Games\spring-101.0\maps\ld35_map.sdd: mapfile isn't set in mapinfo.lua, please set it for faster loading!
Warning: G:\Games\spring-101.0\maps\iced_coffee_v2.sd7: mapfile isn't set in mapinfo.lua, please set it for faster loading!
Warning: G:\Games\spring-101.0\maps\icedcoffee_v1.sd7: mapfile isn't set in mapinfo.lua, please set it for faster loading!
Warning: G:\Games\spring-101.0\maps\hohenheim-v2.sdd: mapfile isn't set in mapinfo.lua, please set it for faster loading!
Warning: G:\Games\spring-101.0\maps\Grts_RiverValley_017.sd7: mapfile isn't set in mapinfo.lua, please set it for faster loading!
Warning: G:\Games\spring-101.0\maps\Grts_RiverValley_015.sd7: mapfile isn't set in mapinfo.lua, please set it for faster loading!
Warning: G:\Games\spring-101.0\maps\evorts_-_higher_grounds_-_v13.sd7: mapfile isn't set in mapinfo.lua, please set it for faster loading!
Warning: G:\Games\spring-101.0\maps\echo_canyon.sd7: mapfile isn't set in mapinfo.lua, please set it for faster loading!
Warning: G:\Games\spring-101.0\maps\desertneedlesmallv03.sd7: mapfile isn't set in mapinfo.lua, please set it for faster loading!
Warning: G:\Games\spring-101.0\maps\charlie_in_the_hills_v3.1.sd7: mapfile isn't set in mapinfo.lua, please set it for faster loading!
Warning: G:\Games\spring-101.0\maps\canyon.sd7: mapfile isn't set in mapinfo.lua, please set it for faster loading!
Warning: G:\Games\spring-101.0\maps\00Desert Valley__.sdd: mapfile isn't set in mapinfo.lua, please set it for faster loading!
[f=-000001] [Sound] OpenAL info:
[f=-000001] [Sound]   Available Devices:
[f=-000001] [Sound]               Speakers (SB Audigy)
[f=-000001] [Sound]               24MP56-C (NVIDIA High Definition Audio)
[f=-000001] [Sound]               24MP56-0 (NVIDIA High Definition Audio)
[f=-000001] [Sound]               Speakers (3- Logitech G930 Headset)
[f=-000001] [Sound]               Digital Audio Interface (SB Audigy)
[f=-000001] [Sound]               Realtek Digital Output(Optical) (Realtek High Definition Audio)
[f=-000001] [Sound]               Speakers (SB Audigy)
[f=-000001] [Sound]               Realtek Digital Output (Realtek High Definition Audio)
[f=-000001] [Sound]   Device:     OpenAL Soft
[f=-000001] [Sound]   Vendor:         OpenAL Community
[f=-000001] [Sound]   Version:        1.1 ALSOFT 1.16.0
[f=-000001] [Sound]   Renderer:       OpenAL Soft
[f=-000001] [Sound]   AL Extensions:  AL_EXT_ALAW AL_EXT_DOUBLE AL_EXT_EXPONENT_DISTANCE AL_EXT_FLOAT32 AL_EXT_IMA4 AL_EXT_LINEAR_DISTANCE AL_EXT_MCFORMATS AL_EXT_MULAW AL_EXT_MULAW_MCFORMATS AL_EXT_OFFSET AL_EXT_source_distance_model AL_LOKI_quadriphonic AL_SOFT_block_alignment AL_SOFT_buffer_samples AL_SOFT_buffer_sub_data AL_SOFT_deferred_updates AL_SOFT_direct_channels AL_SOFT_loop_points AL_SOFT_MSADPCM AL_SOFT_source_latency AL_SOFT_source_length
[f=-000001] [Sound]   ALC Extensions: ALC_ENUMERATE_ALL_EXT ALC_ENUMERATION_EXT ALC_EXT_CAPTURE ALC_EXT_DEDICATED ALC_EXT_disconnect ALC_EXT_EFX ALC_EXT_thread_local_context ALC_SOFTX_device_clock ALC_SOFTX_HRTF ALC_SOFT_loopback ALC_SOFTX_midi_interface ALC_SOFT_pause_device
[f=-000001] [Sound] Error:   EFX: AL_INVALID_VALUE (40963)
[f=-000001] [Sound] Error:   Initializing EFX failed!
[f=-000001] [Sound]   Max Sounds: 128
[f=-000001] [WatchDog] registering controls for thread [audio]
[f=-000001] Joysticks found: 0
[f=-000001] [ThreadPool::SetThreadCount][1] #wanted=3 #current=4 #max=4
[f=-000001] [ThreadPool::SetThreadCount][2] #threads=2
[f=-000001] [Threading] Main thread CPU affinity mask set: 252
[f=-000001] [InitOpenGL] video mode set to 1920x1017:24bit @60Hz (windowed)
[f=-000001] Hosting on: localhost:8452
[f=-000001] Connecting to local server
[f=-000001] [AddGameSetupArchivesToVFS] using map: Grts_DesertValley_012
[f=-000001] Warning: Opening socket on loopback address. Other users will not be able to connect!
[f=-000001] Binding UDP socket to IP (v6) ::1 (localhost) port 8452
[f=-000001] [UDPListener] successfully bound socket on port 8452
[f=-000001] PreGame::StartServer: 24 ms
[f=-000001] [AddGameSetupArchivesToVFS] using map: Grts_DesertValley_012
[f=-000001] [AddGameSetupArchivesToVFS] using game: superbeast 666 v0.2 (archive: gundam.sdd)
[f=-000001] Recording demo to: G:\Games\spring-101.0\demos\20161207_000639_Grts_DesertValley_012_101.sdfz
[f=-000001] PreGame::GameDataReceived: 1630 ms
[f=-000001] [PreGame::UpdateClientNet] user number 0 (team 0, allyteam 0)
[f=-000001] [LuaIntro] Searching for new Widgets
[f=-000001] [LuaIntro] Scanning: LuaIntro/Addons/
[f=-000001] [LuaIntro] Scanning: LuaIntro/Widgets/
[f=-000001] [LuaIntro] Scanning: LuaIntro/SystemAddons/
[f=-000001] [LuaIntro] Scanning: LuaIntro/SystemWidgets/
[f=-000001] [LuaIntro] Scanning: LuaIntro/chili/
[f=-000001] [LuaIntro] Found new widget "SpringLogo"
[f=-000001] [LuaIntro] Warning: Missing GetInfo() in: bg_shader.lua
[f=-000001] [LuaIntro] Found new widget "LoadTexture"
[f=-000001] [LuaIntro] Found new widget "LoadProgress"
[f=-000001] [LuaIntro] Found new widget "LoadScreen"
[f=-000001] [LuaIntro] Found new widget "Music"
[f=-000001] [LuaIntro] Loading widgets   <>=vfs  **=raw  ()=unknown
[f=-000001] [LuaIntro] Loading API widget:  Chili Framework        <api_chili.lua>
[f=-000001] [LuaIntro] Warning: Headers files aren't supported anymore use "require" instead!
[f=-000001] [LuaIntro] Loading widget:      LoadProgress           <loadprogress.lua>
[f=-000001] [LuaIntro] Loading widget:      LoadScreen             <main.lua>
[f=-000001] [LuaIntro] Loading widget:      Music                  <music.lua>
[f=-000001] [LuaIntro] Loading widget:      LoadTexture            <bg_texture.lua>
[f=-000001] [LuaIntro] Loading widget:      Chili Docking          <gui_chili_docking.lua>
[f=-000001] [LuaIntro] LuaIntro v1.0 (Lua 5.1)
[f=-000001] [WatchDog] registering controls for thread [load]
[f=-000001] Parsing Map Information
[f=-000001] Loading SMF
[f=-000001] Loading Map (161 MB)
[f=-000001] Loading Radar Icons
[f=-000001] Loading GameData Definitions
[f=-000001] file found, gamedata/configs/buildtrees/federation/constgtank.lua
[f=-000001] file found, gamedata/configs/buildtrees/federation/fedairport.lua
[f=-000001] file found, gamedata/configs/buildtrees/federation/fedcommyard.lua
[f=-000001] file found, gamedata/configs/buildtrees/federation/fedconyard.lua
[f=-000001] file found, gamedata/configs/buildtrees/federation/fedhangar.lua
[f=-000001] file found, gamedata/configs/buildtrees/federation/fedmotor.lua
[f=-000001] file found, gamedata/configs/buildtrees/federation/whitebase.lua
[f=-000001] [unitdefs.lua] Error: removed the "waffle" entry from the "gaw" build menu
[f=-000001] [weapondefs.lua] Error: Error parsing weapons/missl.lua: error = 3, weapons/missl.lua, [string "weapons/missl.lua"]:25: unexpected symbol near '='

[f=-000001] [weapondefs.lua] Error: Error parsing weapons/mparticle.lua: error = 3, weapons/mparticle.lua, [string "weapons/mparticle.lua"]:25: unexpected symbol near '='

[f=-000001] !!WARNING!! Unit: Char's gelgoog Unit tag: footprintx (2) conflicts movedata (3)
[f=-000001] !!WARNING!! Unit: Gouf Flight type Unit tag: footprintx (2) conflicts movedata (3)
[f=-000001] Loading all definitions:  205ms
[f=-000001] Game::LoadDefs (GameData): 229 ms
[f=-000001] Loading Sound Definitions
[f=-000001] [Sound]  parsed 8 sounds from gamedata/sounds.lua
[f=-000001] Game::LoadDefs (Sound): 4 ms
[f=-000001] Creating Smooth Height Mesh
[f=-000001] SmoothHeightMesh::MakeSmoothMesh: 137 ms
[f=-000001] Creating QuadField & CEGs
[f=-000001] [CDamageArrayHandler] number of ArmorDefs: 5
[f=-000001] [RegisterAssimpModelFormats] supported Assimp model formats: *.3ds;*.blend;*.dae;*.lwo;
[f=-000001] Creating Unit Textures
[f=-000001] Creating Sky
[f=-000001] Loading Weapon Definitions
[f=-000001] Loading Unit Definitions
[f=-000001] Warning: fedmechist: Given yardmap requires 6 extra char(s)!
[f=-000001] Warning: fedtower: Given yardmap requires 12 extra char(s)!
[f=-000001] Warning: fedturret: Given yardmap requires 5 extra char(s)!
[f=-000001] Warning: industrial_smokestack_tall_1: Given yardmap requires 5 extra char(s)!
[f=-000001] Warning: long_fedwall: Given yardmap requires 11 extra char(s)!
[f=-000001] Warning: long_neutralfedwall: Given yardmap requires 11 extra char(s)!
[f=-000001] Warning: long_neutralzeonwall: Given yardmap requires 11 extra char(s)!
[f=-000001] Warning: long_zeonwall: Given yardmap requires 11 extra char(s)!
[f=-000001] Warning: neutralfueltank1: Given yardmap requires 5 extra char(s)!
[f=-000001] Warning: neutralindustrial_smokestack_1: Given yardmap requires 4 extra char(s)!
[f=-000001] Warning: neutralindustrial_smokestack_2: Given yardmap requires 4 extra char(s)!
[f=-000001] Warning: neutralmechist: Given yardmap requires 5 extra char(s)!
[f=-000001] Warning: neutralminovsky: Given yardmap requires 5 extra char(s)!
[f=-000001] Warning: randrock: Given yardmap requires 32 extra char(s)!
[f=-000001] Warning: randsnowtree: Given yardmap requires 77 extra char(s)!
[f=-000001] Warning: Could not load sound from def: ridge
[f=-000001] Warning: Could not load sound from def: changing
[f=-000001] Warning: Could not load sound from def: ridge2
[f=-000001] Warning: zeonmechist: Given yardmap requires 5 extra char(s)!
[f=-000001] Loading Feature Definitions
[f=-000001] Error: [GetFeatureDef] could not find FeatureDef "rubble"
[f=-000001] [IPathManager::GetInstance] using DEFAULT path-manager
[f=-000001] Initializing Map Features
[f=-000001] Error: [LoadFeaturesFromMap] unknown map feature type ""
[f=-000001] Creating ShadowHandler & DecalHandler
[f=-000001] Creating GroundDrawer
[f=-000001] Loading Map Tiles
[f=-000001] Loading Square Textures
[f=-000001] CSMFGroundTextures::ConvolveHeightMap: 5 ms
[f=-000001] Switching to ROAM Mesh Rendering
[f=-000001] Creating TreeDrawer
[f=-000001] Creating ProjectileDrawer & UnitDrawer
[f=-000001] Creating Projectile Textures
[f=-000001] Warning: [CCEG::Load] table for CEG "nothing" invalid (parse errors?)
[f=-000001] Creating Water
[f=-000001] Game::LoadInterface (Camera&Mouse): 85 ms
[f=-000001] Game::LoadInterface (Console): 1 ms
[f=-000001] [Sound] Error: Unable to open audio file: FailedCommand
[f=-000001] [Sound] Error: CSound::GetSoundId: could not find sound: FailedCommand
[f=-000001] InfoTexture: shaders
[f=-000001] Loading LuaRules
[f=-000001] Jump Jet Defs error checking begining..
[f=-000001] .. Jump Jet Defs error checking complete
[f=-000001] aacar,  found
[f=-000001] ez8,  found
[f=-000001] xamel,  found
[f=-000001] fedmechist,  found
[f=-000001] Spring.GetModOptions(), 0
[f=-000001] nil, chickenTeamID, Spring.GetModOptions(), <table>, materialstorage, nil, StartMetal, nil
[f=-000001] 2, true
[f=-000001] !!WARNING!!   missing file: gamedata/configs/randomstructures.lua
[f=-000001] Error: Failed to load: gfx_customunitshaders.lua  ([string "LuaRules/Gadgets/gfx_customunitshaders.lua"]:27: attempt to index field 'Utilities' (a nil value))
[f=-000001] Error: Failed to load: lups_projectiles.lua  (error = 2, LuaRules/Configs/lups_projectile_fxs.lua, [string "LuaRules/Configs/lups_projectile_fxs.lua"]:1: attempt to index field 'Utilities' (a nil value))
[f=-000001] shaders and color utilities, 3
[f=-000001] Loaded SYNCED gadget:  Utilities for GG    <utilities.lua>
[f=-000001] Loaded SYNCED gadget:  error Manager       <greenbean_errormanagement.lua>
[f=-000001] Loaded SYNCED gadget:  BA Chicken Spawner  <chickens_unit_spawner_defense.lua>
[f=-000001] Loaded SYNCED gadget:  Bucket Manager      <greenbean_bucketmanagement.lua>
[f=-000001] Loaded SYNCED gadget:  CEG Spawner         <dbg_ceg_spawner.lua>
[f=-000001] Loaded SYNCED gadget:  Game End            <game_end.lua>
[f=-000001] Loaded SYNCED gadget:  GreenBeans scoring  <greenbean_scoring.lua>
[f=-000001] Loaded SYNCED gadget:  K.O.T.H.            <koth.lua>
[f=-000001] Loaded SYNCED gadget:  Lua unit script framework  <unit_script.lua>
[f=-000001] Loaded SYNCED gadget:  Lups Flamethrower Jitter  <lups_flame_jitter.lua>
[f=-000001] Loaded SYNCED gadget:  Napalm              <lups_napalm.lua>
[f=-000001] Loaded SYNCED gadget:  NoCost              <cmd_nocost.lua>
[f=-000001] Loaded SYNCED gadget:  Point Placer        <gbs_pointplacer.lua>
[f=-000001] Loaded SYNCED gadget:  ProgenitorSpawner   <chickens_unit_progenitor.lua>
[f=-000001] Loaded SYNCED gadget:  SetNeutral          <chickens_unit_set_neutral.lua>
[f=-000001] Loaded SYNCED gadget:  Shockwaves          <lups_shockwaves.lua>
[f=-000001] Loaded SYNCED gadget:  Spawn               <game_spawn.lua>
[f=-000001] Loaded SYNCED gadget:  Spawn Units         <spawn_units.lua>
[f=-000001] Loaded SYNCED gadget:  Start Point Remover Gadget  <init_start_point_remover_gadget.lua>
[f=-000001] Loaded SYNCED gadget:  UnitDeploy          <greenbean_deploy.lua>
[f=-000001] Loaded SYNCED gadget:  Wall Mugger         <greenbean_wallmugger.lua>
[f=-000001] Loaded SYNCED gadget:  ambient             <greenbean_ambience.lua>
[f=-000001] Loaded SYNCED gadget:  astar.lua           <astar.lua>
[f=-000001] Loaded SYNCED gadget:  feature placer v3   <fp_featureplacer.lua>
[f=-000001] Loaded SYNCED gadget:  lups_wrapper.lua    <lups_wrapper.lua>
[f=-000001] Loaded SYNCED gadget:  rager saver         <greenbean_ragersaver.lua>
[f=-000001] Loaded SYNCED gadget:  random feature      <fp_randomfeature.lua>
[f=-000001] Loaded SYNCED gadget:  unit Mugger         <greenbean_unitmugger.lua>
[f=-000001] Loaded SYNCED gadget:  Energy              <greenbean_energy.locals.lua>
[f=-000001] Loaded SYNCED gadget:  Feature jitter command  <fp_command_featurejitter.lua>
[f=-000001] Loaded SYNCED gadget:  Feature rotate random toggle  <fp_command_featurerotate.lua>
[f=-000001] Loaded SYNCED gadget:  Repair              <greenbean_repair.locals.lua>
[f=-000001] Loaded SYNCED gadget:  Squad Handler       <greenbean_squadhandler.locals.lua>
[f=-000001] Loaded SYNCED gadget:  Squad Spawner       <greenbean_squadspawner.locals.lua>
[f=-000001] Loaded SYNCED gadget:  magella's last resort  <grts_magellatop.lua>
[f=-000001] Loaded SYNCED gadget:  unit preview spawner  <gbs_createunit.lua>
[f=-000001] Loaded SYNCED gadget:  Lups Cloak FX       <lups_cloak_fx.lua>
[f=-000001] Loaded SYNCED gadget:  LupsSyncedManager   <lups_manager.lua>
[f=-000001] Loaded SYNCED gadget:  Pseudo Orders       <pseudo_orders.lua>
[f=-000001] Loaded SYNCED gadget:  Feature spread command  <fp_command_featurespread.lua>
[f=-000001] Loaded SYNCED gadget:  Feature spread      <fp_featurespread.lua>
[f=-000001] Loaded SYNCED gadget:  Regenerative AI     <regenai.lua>
[f=-000001] Loaded SYNCED gadget:  trails              <trails.locals.lua>
[f=-000001] Loaded SYNCED gadget:  Deployment Rule     <greenbean_rule_deploy.lua>
[f=-000001] Loaded SYNCED gadget:  Info box over ride  <greenbean_infoboxoverride.lua>
[f=-000001] Loaded SYNCED gadget:  Resources           <greenbean_resources.locals.lua>
[f=-000001] Loaded SYNCED gadget:  Group limit gadget  <greenbean_grouplimit.lua>
[f=-000001] Loaded SYNCED gadget:  Hold postion gadget  <greenbean_holdpsition.lua>
[f=-000001] Loaded SYNCED gadget:  sell                <greenbean_sell.locals.lua>
[f=-000001] start of research gadget
[f=-000001] Loaded SYNCED gadget:  Research Process    <greenbean_research.lua>
[f=-000001] Loaded SYNCED gadget:  Lua hotfixes        <hotfixes.lua>
[f=-000001] Loaded SYNCED gadget:  Special Ability     <greenbean_specialability.lua>
[f=-000001] Loaded SYNCED gadget:  NO ZAKU BOY         <grts_ability_nozaku.lua>
[f=-000001] Loaded SYNCED gadget:  Script Toggle Ability  <greenbean_ability_scripttoggle.lua>
[f=-000001] Loaded SYNCED gadget:  Smoke Launcher      <greenbean_ability_smokelauncher.lua>
[f=-000001] Loaded SYNCED gadget:  Weapon Overdrive Ability  <greenbean_ability_weaponoverdrive.lua>
[f=-000001] Loaded SYNCED gadget:  Buttons             <greenbean_ui_buttons.lua>
[f=-000001] Error: Failed to load: gfx_customunitshaders.lua  ([string "LuaRules/Gadgets/gfx_customunitshaders.lua"]:27: attempt to index field 'Utilities' (a nil value))
[f=-000001] Error: Failed to load: lups_napalm.lua  (error = 2, LuaRules/Configs/lups_napalm_fxs.lua, [string "LuaRules/Configs/lups_napalm_fxs.lua"]:77: attempt to index field 'Utilities' (a nil value))
[f=-000001] Error: Failed to load: lups_projectiles.lua  (error = 2, LuaRules/Configs/lups_projectile_fxs.lua, [string "LuaRules/Configs/lups_projectile_fxs.lua"]:1: attempt to index field 'Utilities' (a nil value))
[f=-000001] shaders and color utilities, 3
[f=-000001] Loaded UNSYNCED gadget:  Utilities for GG    <utilities.lua>
[f=-000001] Loaded UNSYNCED gadget:  error Manager       <greenbean_errormanagement.lua>
[f=-000001] Loaded UNSYNCED gadget:  BA Chicken Spawner  <chickens_unit_spawner_defense.lua>
[f=-000001] Loaded UNSYNCED gadget:  Bucket Manager      <greenbean_bucketmanagement.lua>
[f=-000001] Loaded UNSYNCED gadget:  CEG Spawner         <dbg_ceg_spawner.lua>
[f=-000001] Loaded UNSYNCED gadget:  GreenBeans scoring  <greenbean_scoring.lua>
[f=-000001] Loaded UNSYNCED gadget:  K.O.T.H.            <koth.lua>
[f=-000001] Loaded UNSYNCED gadget:  Lups Flamethrower Jitter  <lups_flame_jitter.lua>
[f=-000001] Loaded UNSYNCED gadget:  NoCost              <cmd_nocost.lua>
[f=-000001] Loaded UNSYNCED gadget:  Point Placer        <gbs_pointplacer.lua>
[f=-000001] Loaded UNSYNCED gadget:  ProgenitorSpawner   <chickens_unit_progenitor.lua>
[f=-000001] Loaded UNSYNCED gadget:  SetNeutral          <chickens_unit_set_neutral.lua>
[f=-000001] Loaded UNSYNCED gadget:  Shockwaves          <lups_shockwaves.lua>
[f=-000001] Loaded UNSYNCED gadget:  Spawn Units         <spawn_units.lua>
[f=-000001] Loaded UNSYNCED gadget:  Start Point Remover Gadget  <init_start_point_remover_gadget.lua>
[f=-000001] Loaded UNSYNCED gadget:  UnitDeploy          <greenbean_deploy.lua>
[f=-000001] Loaded UNSYNCED gadget:  Wall Mugger         <greenbean_wallmugger.lua>
[f=-000001] Loaded UNSYNCED gadget:  ambient             <greenbean_ambience.lua>
[f=-000001] Loaded UNSYNCED gadget:  astar.lua           <astar.lua>
[f=-000001] Loaded UNSYNCED gadget:  feature placer v3   <fp_featureplacer.lua>
[f=-000001] Loaded UNSYNCED gadget:  rager saver         <greenbean_ragersaver.lua>
[f=-000001] Loaded UNSYNCED gadget:  random feature      <fp_randomfeature.lua>
[f=-000001] Loaded UNSYNCED gadget:  unit Mugger         <greenbean_unitmugger.lua>
[f=-000001] Loaded UNSYNCED gadget:  Energy              <greenbean_energy.locals.lua>
[f=-000001] Loaded UNSYNCED gadget:  Feature jitter command  <fp_command_featurejitter.lua>
[f=-000001] Loaded UNSYNCED gadget:  Feature rotate random toggle  <fp_command_featurerotate.lua>
[f=-000001] Loaded UNSYNCED gadget:  Repair              <greenbean_repair.locals.lua>
[f=-000001] Loaded UNSYNCED gadget:  Squad Handler       <greenbean_squadhandler.locals.lua>
[f=-000001] Loaded UNSYNCED gadget:  magella's last resort  <grts_magellatop.lua>
[f=-000001] Loaded UNSYNCED gadget:  unit preview spawner  <gbs_createunit.lua>
[f=-000001] Loaded UNSYNCED gadget:  Lups Cloak FX       <lups_cloak_fx.lua>
[f=-000001] Loaded UNSYNCED gadget:  LupsSyncedManager   <lups_manager.lua>
[f=-000001] Loaded UNSYNCED gadget:  Pseudo Orders       <pseudo_orders.lua>
[f=-000001] Loaded UNSYNCED gadget:  Feature spread command  <fp_command_featurespread.lua>
[f=-000001] Loaded UNSYNCED gadget:  Feature spread      <fp_featurespread.lua>
[f=-000001] Loaded UNSYNCED gadget:  Regenerative AI     <regenai.lua>
[f=-000001] Loaded UNSYNCED gadget:  trails              <trails.locals.lua>
[f=-000001] Loaded UNSYNCED gadget:  Deployment Rule     <greenbean_rule_deploy.lua>
[f=-000001] Loaded UNSYNCED gadget:  Info box over ride  <greenbean_infoboxoverride.lua>
[f=-000001] Loaded UNSYNCED gadget:  Resources           <greenbean_resources.locals.lua>
[f=-000001] Loaded UNSYNCED gadget:  Group limit gadget  <greenbean_grouplimit.lua>
[f=-000001] Loaded UNSYNCED gadget:  Hold postion gadget  <greenbean_holdpsition.lua>
[f=-000001] Loaded UNSYNCED gadget:  sell                <greenbean_sell.locals.lua>
[f=-000001] Loaded UNSYNCED gadget:  Research Process    <greenbean_research.lua>
[f=-000001] Loaded UNSYNCED gadget:  Lups                <lups_wrapper.lua>
[f=-000001] Loaded UNSYNCED gadget:  Lua hotfixes        <hotfixes.lua>
[f=-000001] Loaded UNSYNCED gadget:  Special Ability     <greenbean_specialability.lua>
[f=-000001] Loaded UNSYNCED gadget:  Script Toggle Ability  <greenbean_ability_scripttoggle.lua>
[f=-000001] Loaded UNSYNCED gadget:  Weapon Overdrive Ability  <greenbean_ability_weaponoverdrive.lua>
[f=-000001] Loaded UNSYNCED gadget:  Buttons             <greenbean_ui_buttons.lua>
[f=-000001] Loading LuaGaia
[f=-000001] [Texture] Warning: [LoadTexture] could not load texture "Spring unit" from model "objects3d/features/lathan/cactus2.s3o"
[f=-000001] Loaded SYNCED gadget:  feature placer      <fp_featureplacer.lua>
[f=-000001] Loaded SYNCED gadget:  DualFog             <gui_dualfog_gadget.lua>
[f=-000001] Loaded UNSYNCED gadget:  Precipitation       <precipitation.lua>
[f=-000001] Loaded UNSYNCED gadget:  DualFog             <gui_dualfog_gadget.lua>
[f=-000001] Loading LuaUI
[f=-000001] LuaUI Entry Point: "luaui.lua"
[f=-000001] LuaUI Access Lock: enabled
[f=-000001] LuaSocket Enabled: yes
[f=-000001] Reloading GUI config from file: LuaUI/ctrlpanel.txt
[f=-000001] LuaUI: bound F11 to the widget selector
[f=-000001] LuaUI: bound CTRL+F11 to tweak mode
[f=-000001] Reloading GUI config from file: LuaUI/panel.txt
[f=-000001] shaders and color utilities, 3
[f=-000001] 2Failed to load: gui_chili_manual.lua	([string "LuaUI/Widgets/gui_chili_manual.lua"]:12: 'end' expected (to close 'function' at line 1) near 'en')
[f=-000001] Jump Jet Defs error checking begining..
[f=-000001] .. Jump Jet Defs error checking complete
[f=-000001] Failed to load: spring_direct_launch.lua	(no GetInfo() call)
[f=-000001] Loaded API widget:	Chili Framework   	<api_chili.lua>
[f=-000001] Loaded API widget:	Avatars           	<api_avatars.lua>
[f=-000001] Loaded API widget:	Lups              	<lups_wrapper.lua>
[f=-000001] Reloading GUI config from file: LuaUI/panel.txt
[f=-000001] Loaded widget:	Manditory UI stuff	<greenbeans_utility.lua>
[f=-000001] Loaded widget:	Chili error window	<gui_chili_error_screen.lua>
[f=-000001] Loaded widget:	HealthBars        	<unit_healthbars.lua>
[f=-000001] Loaded widget:	Hide map marks    	<dbg_mapmarks.lua>
[f=-000001] Loaded widget:	AdvPlayersList    	<gui_advplayerslist.lua>
[f=-000001] Loaded widget:	BuildETA          	<gui_build_eta.lua>
[f=-000001] gskin
[f=-000001] Loaded widget:	Chili Research Bars	<gui_chili_research.lua>
[f=-000001] Loaded widget:	Chili Selections & CursorTip	<gui_chili_selections_and_cursortip.lua>
[f=-000001] Loaded widget:	Context Menu      	<gui_contextmenu.lua>
[f=-000001] Loaded widget:	Easy Facing       	<gui_easyfacing.lua>
[f=-000001] Loaded widget:	GroupMove         	<unit_group_move.lua>
[f=-000001] Loaded widget:	Mission Briefing  	<gui_mission_briefing.lua>
[f=-000001] Loaded widget:	Music 2           	<gui_music.lua>
[f=-000001] Loaded widget:	Write GameState   	<gamestate_write.lua>
[f=-000001] Error: [WeaponDefIndex] ERROR_TYPE for key "areaOfEffect" in WeaponDefs __index
[f=-000001] false
[f=-000001] Error in Initialize(): [string "LuaUI/Widgets/gui_attack_aoe.lua"]:182: attempt to compare number with nil
[f=-000001] Removed widget: Attack AoE
[f=-000001] Loaded widget:	Attack AoE        	<gui_attack_aoe.lua>
[f=-000001] Loaded widget:	Build Range Display	<init_build_range_display.lua>
[f=-000001] Loaded widget:	AllyCursors       	<gui_ally_cursors.lua>
[f=-000001] Loaded widget:	Color Theme Select	<gui_chili_schemes.lua>
[f=-000001] Loaded widget:	Square Buildpics  	<square_buildpics.lua>
[f=-000001] Reloaded cmdcolors from file: cmdcolors.tmp
[f=-000001] Loaded widget:	TeamPlatter       	<gui_team_platter.lua>
[f=-000001] Loaded widget:	layout correction 	<layoutwidget.lua>
[f=-000001] Loaded widget:	menu for feature placer	<gui_chili_fp_featuremenu.lua>
[f=-000001] Loaded widget:	unit preview spawner	<gui_chili_creatunit.lua>
[f=-000001] Loaded widget:	Chili Resource Bars	<gui_chili_resource_bars.lua>
[f=-000001] Loaded widget:	Chili Survival UI 	<gui_chili_chickens.lua>
[f=-000001] Loaded widget:	Chili score Bars  	<gui_chili_score_bars.lua>
[f=-000001] Loaded widget:	LupsManager       	<gfx_lups_manager.lua>
[f=-000001] Loaded widget:	Units on Fire     	<gfx_lups_units_on_fire.lua>
[f=-000001] Loaded widget:	Chili Chat        	<gui_chili_chat.lua>
[f=-000001] Loaded widget:	Chili Docking     	<gui_chili_docking.lua>
[f=-000001] Loaded widget:	Chili Minimap     	<gui_chili_minimap.lua>
[f=-000001] Loaded widget:	Image Preloader   	<dbg_img_preload.lua>
[f=-000001] Loaded widget:	CustomFormations2 	<unit_customformations2.lua>
[f=-000001] Loaded widget:	Jumjet GUI        	<gui_jumpjets.lua>
[f=-000001] LuaUI v0.3
[f=-000001] No feature placer objects loaded
[f=-000001] [LoadFinalize] finalizing PFS
[f=-000001] [Path] [PathEstimator::ReadFile] hash=2118561145
[f=-000001] PathCosts: creating PE8 cache with 8 PF threads (122 MB)
[f=-000001] PathCosts: precached 5 of 25600 blocks
[f=-000001] PathCosts: precached 1609 of 25600 blocks
[f=-000001] PathCosts: precached 3212 of 25600 blocks
[f=-000001] PathCosts: precached 4814 of 25600 blocks
[f=-000001] PathCosts: precached 6414 of 25600 blocks
[f=-000001] PathCosts: precached 8017 of 25600 blocks
[f=-000001] PathCosts: precached 9619 of 25600 blocks
[f=-000001] PathCosts: precached 11219 of 25600 blocks
[f=-000001] PathCosts: precached 12820 of 25600 blocks
[f=-000001] PathCosts: precached 14427 of 25600 blocks
[f=-000001] PathCosts: precached 16029 of 25600 blocks
[f=-000001] PathCosts: precached 17629 of 25600 blocks
[f=-000001] PathCosts: precached 19233 of 25600 blocks
[f=-000001] PathCosts: precached 20837 of 25600 blocks
[f=-000001] PathCosts: precached 22555 of 25600 blocks
[f=-000001] PathCosts: precached 24198 of 25600 blocks
[f=-000001] PathCosts: writing
[f=-000001] [Path] [PathEstimator::WriteFile] hash=2118561145
[f=-000001] PathCosts: written
[f=-000001] [Path] [PathEstimator::ReadFile] hash=2118561169
[f=-000001] PathCosts: creating PE32 cache with 8 PF threads (27 MB)
[f=-000001] PathCosts: precached 6 of 1600 blocks
[f=-000001] PathCosts: precached 113 of 1600 blocks
[f=-000001] PathCosts: precached 213 of 1600 blocks
[f=-000001] PathCosts: precached 313 of 1600 blocks
[f=-000001] PathCosts: precached 424 of 1600 blocks
[f=-000001] PathCosts: precached 525 of 1600 blocks
[f=-000001] PathCosts: precached 625 of 1600 blocks
[f=-000001] PathCosts: precached 725 of 1600 blocks
[f=-000001] PathCosts: precached 826 of 1600 blocks
[f=-000001] PathCosts: precached 927 of 1600 blocks
[f=-000001] PathCosts: precached 1039 of 1600 blocks
[f=-000001] PathCosts: precached 1140 of 1600 blocks
[f=-000001] PathCosts: precached 1249 of 1600 blocks
[f=-000001] PathCosts: precached 1356 of 1600 blocks
[f=-000001] PathCosts: precached 1461 of 1600 blocks
[f=-000001] PathCosts: precached 1562 of 1600 blocks
[f=-000001] PathCosts: writing
[f=-000001] [Path] [PathEstimator::WriteFile] hash=2118561169
[f=-000001] PathCosts: written
[f=-000001] [LoadFinalize] finalized PFS (6412ms, checksum ba635a03)
[f=-000001] [WatchDog] deregistering controls for thread [load]
[f=-000001] playerchange0
[f=-000001] Warning: Couldn't find texture "unitpics/"!
[f=-000001] Loaded DecalsDrawer: Legacy
[f=-000001] Reloading GUI config from file: panel.txt
[f=-000001] GameID: fdb44758ce075c8aed8633e665bd3bc5
[f=-000001] Connection attempt from UnnamedPlayer
[f=-000001]  -> Version: 101.0
[f=-000001]  -> Connection established (given id 0)
[f=-000001] Player UnnamedPlayer finished loading and is now ingame
[f=-000001] GameStart() chickenTeamID, 2
[f=-000001] Warning: No Survival bot team available, adding a Survival bot
[f=-000001] (Assigning Survival bot Team to Gaia)
[f=-000001] federation, fedcommyard
[f=-000001] zeon, zeoncommyard
[f=-000001] zeon, zeoncommyard
[f=-000001] federation, fedcommyard
[f=-000001] faction Name, 
[f=-000001] federation, faction
[f=-000001] game mode , nil
[f=-000001] factionName: federation
[f=-000001] <table>, <table>, federation
[f=-000001] factionTable, <table>
[f=-000001] looking up: startunit
[f=-000001] faction Name, 
[f=-000001] federation, faction
[f=-000001] game mode , nil
[f=-000001] factionName: federation
[f=-000001] <table>, <table>, federation
[f=-000001] factionTable, <table>
[f=-000001] looking up: startunit
[f=0000000] Reloading GUI config from file: panel.txt
[f=0001217] Warning: [CheckPieceNormals] piece "smoke" of model "objects3d/units/t61.s3o" has 4 (of 4) null-normals! It will either be rendered fully black or with black splotches!
[f=0001863] 132, squad spawner gameframe 
[f=0001863] Warning: [CheckPieceNormals] piece "smoke" of model "objects3d/units/t61command.s3o" has 4 (of 4) null-normals! It will either be rendered fully black or with black splotches!
[f=0002027] [SpringApp::ShutDown][1]
[f=0002027] [ThreadPool::SetThreadCount][1] #wanted=0 #current=3 #max=4
[f=0002027] [ThreadPool::SetThreadCount][2] #threads=0
[f=0002027] [SpringApp::ShutDown][2]
[f=0002027] [KillLua][1]
[f=0002027] [KillLua][2]
[f=0002027] [KillLua][3]
[f=0002027] Sorting roster by Allies
[f=0002027] Reloading GUI config from file: LuaUI/panel.txt
[f=0002027] Reloaded cmdcolors from file: cmdcolors.tmp
[f=0002027] [KillLua][4]
[f=0002027] [~CGame]1]
[f=0002027] [KillLua][1]
[f=0002027] [KillLua][2]
[f=0002027] [KillLua][3]
[f=0002027] [KillLua][4]
[f=0002027] [KillMisc][1]
[f=0002027] [KillMisc][2]
[f=0002027] [KillRendering][1]
[f=0002027] Statistics for RectangleOptimizer: 0%
[f=0002027] [KillInterface][1]
[f=0002027] [KillInterface][2]
[f=0002027] [KillSimulation][1]
[f=0002027] [KillSimulation][2]
[f=0002027] [CCollisionHandler] dis-/continuous tests: 0/1146919
[f=0002027] [KillSimulation][3]
[f=0002027] [~CPathCache(40x40)] cacheHits=0 hitPercentage=0% numHashColls=0 maxCacheSize=0
[f=0002027] [~CPathCache(40x40)] cacheHits=0 hitPercentage=0% numHashColls=0 maxCacheSize=2
[f=0002027] [~CPathCache(160x160)] cacheHits=0 hitPercentage=0% numHashColls=0 maxCacheSize=0
[f=0002027] [~CPathCache(160x160)] cacheHits=0 hitPercentage=0% numHashColls=0 maxCacheSize=201
[f=0002027] Statistics for RectangleOptimizer: 0%
[f=0002027] Statistics for RectangleOptimizer: 0%
[f=0002027] LosHandler stats: total instances=38; shared=3%; from cache=3%
[f=0002027] [KillSimulation][4]
[f=0002027] [~CGame][2]
[f=0002027] [~CGame][3]
[f=0002027] [SpringApp::ShutDown][3]
[f=0002027] Statistics for local connection:
Received: 5688 bytes
Sent: 23503 bytes

[f=0002027] Writing demo: G:\Games\spring-101.0\demos\20161207_000639_Grts_DesertValley_012_101.sdfz
[f=0002027] [SpringApp::ShutDown][4]
[f=0002027] [WatchDog] deregistering controls for thread [audio]
[f=0002027] [SpringApp::ShutDown][5]
[f=0002027] [SpringApp::ShutDown][6]
[f=0002027] [SpringApp::ShutDown][7]
[LuaSocket] Dumping luasocket rules:
[LuaSocket] TCP_CONNECT ALLOW * -1
[LuaSocket] TCP_LISTEN  ALLOW * -1
[LuaSocket] UDP_LISTEN  ALLOW * -1
[SpringApp::ShutDown][8]
[WatchDog] deregistering controls for thread [main]
[WatchDog::Uninstall][1] hangDetectorThread=032be3f0
[WatchDog::Uninstall][2]
[WatchDog::Uninstall][3]
[SpringApp::ShutDown][9]
[SpringApp::Run] exitCode=0
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: I need help finding a change.

Post by smoth »

The code has worked for YEARS, I have never needed to change it, if I am going in to add some debug outputs first I am going to need to go into to make meaningful variable names :|.

I cannot immediately as my eyes are shot for now. maybe this evening I can go in, do some renaming, commenting and then start putting more outputs?
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: I need help finding a change.

Post by smoth »

Code: Select all

spGiveOrderArrayToUnitMap(units,cmds)
seems to be the offending piece. Leave it there, the script passes orders along to children(in 100), take it out, it does not. Something changed between 100 and 101.

Have some work being done to my house but at this point, I think this is the issue, if desired, I will make a mini-module to demonstrate the code as needed
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: I need help finding a change.

Post by smoth »

Hmm, it may be a case of garbage in...?

Code: Select all


-- prints a copy of a table to chat
local function recursiveTableReader(currTable, dashes)
	dashes = dashes .. dashes
	if type(currTable) == 'table' then
		for k,v in pairs(currTable) do
			if (v ~= nil) then
				Spring.Echo(dashes .. "[" .. tostring(k) .. "]")
				recursiveTableReader(v, dashes)
			end
		end
	else
		if (currTable ~= nil) then
			Spring.Echo(dashes .. tostring(currTable) )
		end
	end
end

local function ConvertQueue(cmds,firestate,movestate)
	
	Spring.Echo("spGetUnitCommands results")
	recursiveTableReader(cmds, " ")
	Spring.Echo("ConvertQueue")
	local newQ={{CMD.FIRE_STATE, {firestate},{} }, {CMD.MOVE_STATE, {movestate},{} } }
	for i,d in ipairs(cmds) do
		Spring.Echo("ConvertQueue ",i,d )
		newQ[i+2]={d.id,d.params,{"shift"}} 
		--ignore opts since I don't think any part of a factory queue gives a damn about that...
	end
	return newQ
end

function gadget:GameFrame(frameNumber)
	newList={}
	for unitId, data in pairs(squadSpawn) do
		if spValidUnitID(unitId) then
			if GG.squadType[data.squadUnitDefID] then
				local x,y,z	= spGetUnitPosition(unitId)
				local state	= spGetUnitStates(unitId)
				Spring.Echo("gameframe unit id for GetUnitCommands", unitId)
				local cmds	= ConvertQueue(spGetUnitCommands(unitId),state.firestate,state.movestate)

100

Code: Select all

[f=0001819] gameframe unit id for GetUnitCommands, 27783
[f=0001819] spGetUnitCommands results
[f=0001819]   [1]
[f=0001819]     [id]
[f=0001819]         10
[f=0001819]     [tag]
[f=0001819]         1
[f=0001819]     [options]
[f=0001819]         [alt]
[f=0001819]                 false
[f=0001819]         [ctrl]
[f=0001819]                 false
[f=0001819]         [internal]
[f=0001819]                 false
[f=0001819]         [coded]
[f=0001819]                 0
[f=0001819]         [right]
[f=0001819]                 false
[f=0001819]         [meta]
[f=0001819]                 false
[f=0001819]         [shift]
[f=0001819]                 false
[f=0001819]     [params]
[f=0001819]         [1]
[f=0001819]                 7192
[f=0001819]         [2]
[f=0001819]                 687.98828125
[f=0001819]         [3]
[f=0001819]                 1764
[f=0001819]   [2]
[f=0001819]     [id]
[f=0001819]         10
[f=0001819]     [tag]
[f=0001819]         2
[f=0001819]     [options]
[f=0001819]         [alt]
[f=0001819]                 false
[f=0001819]         [ctrl]
[f=0001819]                 false
[f=0001819]         [internal]
[f=0001819]                 false
[f=0001819]         [coded]
[f=0001819]                 48
[f=0001819]         [right]
[f=0001819]                 true
[f=0001819]         [meta]
[f=0001819]                 false
[f=0001819]         [shift]
[f=0001819]                 true
[f=0001819]     [params]
[f=0001819]         [1]
[f=0001819]                 7192.6552734375
[f=0001819]         [2]
[f=0001819]                 688.2294921875
[f=0001819]         [3]
[f=0001819]                 2558.6750488281
[f=0001819] ConvertQueue
[f=0001819] ConvertQueue , 1, <table>
[f=0001819] ConvertQueue , 2, <table>
[f=0001819] 1
101

Code: Select all

[f=0001623] gameframe unit id for GetUnitCommands, 27783
[f=0001623] spGetUnitCommands results
[f=0001623] ConvertQueue
why would GetUnitCommands be returning nothing in 101? They have the same input.

*Edit*

yeah, by all understanding, the function is being sent a valid unit, the following code returns a unit name

Code: Select all

Spring.Echo(UnitDefs[Spring.GetUnitDefID(unitId)].name)
something strange is happening.
Google_Frog
Moderator
Posts: 2464
Joined: 12 Oct 2007, 09:24

Re: I need help finding a change.

Post by Google_Frog »

Check whether the unit is dead (Spring.GetUnitIsDead) and while you're at it you could check whether it's valid in another way (Spring.ValidUnitID). Something changed in the last few versions which made units die at the end of script.Killed instead of at the start. This allowed gadgets to handle them, CUS to work on them etc... so perhaps you function is acting on a dead unit.
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: I need help finding a change.

Post by smoth »

this is called as soon as a unit is created. so the unit is still alive

even still:
[f=0001653] Spring.GetUnitIsDead , false
[f=0001653] Spring.ValidUnitID , true
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: I need help finding a change.

Post by smoth »

so I have added the necessary files to test the script out you will need the following:

RTSCore.sdd -- core logic.
testgame.sdd -- test project.
username: tester
Password: rageflame

RTSCore.sdd\LuaRules\gadgets\GreenBean_squadSpawner.locals.lua
Spring.GetUnitCommands(unitId,1000) line 91 is returning nothing in every version 101 and onward.

Something is wrong here that I cannot go father into. Any help would be appreciated.
Kloot
Spring Developer
Posts: 1867
Joined: 08 Oct 2006, 16:58

Re: I need help finding a change.

Post by Kloot »

Your script calls Spring.GetUnitCommands before the initial squad unit has even received its commands from the factory, because UnitFinished (now, although I don't recall [or much feel like searching for] any intentionally made engine change to the event sequence between 100 and 101) precedes factory orders being handed down to finished buildees.

A simple fix is to replace

Code: Select all

if spValidUnitID(unitId)
by

Code: Select all

if spValidUnitID(unitId) and spGetUnitCommands(unitId, 0) > 0 then
and move

Code: Select all

squadSpawn[unitId]=nil
*inside* of the

Code: Select all

if GG.squadType[data.squadUnitDefID] then
branch.

Also, nice loadscreen.
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: I need help finding a change.

Post by smoth »

oh! thanks Kloot!

*edit*

yep that did it. So in unitcreated I wonder if they would have orders, I am not sure why kdr has it going in gameframe, seems an odd choice. I will investigate further.
Post Reply

Return to “Lua Scripts”