2019-08-24 00:24 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0006033Spring engineLuapublic2018-08-26 19:54
ReporterStickyStains 
Assigned Toabma 
PrioritylowSeverityminorReproducibilityhave not tried
StatusresolvedResolutionno change required 
Product Version104.0 
Target VersionFixed in Version 
Summary0006033: Failure to bind UDP-IP Addresses
DescriptionHi, im for quiet some time trying to tie a cellphone as a AR-Device to spring.

The problem i ran into is, that i can quite well send message as broadcast from spring and recieve broadcasts from the external device.
But once i try to limit this to a specific ip - i do no longer receive communication-data.

Maybe im doing it wrong, but could you point me to a working udp example or explain this behavior?

The lastest version of my widget:
https://github.com/PicassoCT/Journeywar/blob/develop/LuaUI/widgets/gui_arCam.lua
(Be warned though, i tried to fall back on broadcasting everything in this version)



TagsNo tags attached.
Checked infolog.txt for lua Errors
Attached Files
  • 7z file icon exampleLuaServer.7z (91,986 bytes) 2018-08-14 23:53
  • txt file icon infolog.txt (6,992 bytes) 2018-08-15 09:00 -
    Using writeable configuration source: "C:\Users\PicassoCT\Documents\My Games\Spring\springsettings.cfg"
    Available log sections: ModelRenderContainer, DecalsDrawerGL4, Path, AutohostInterface, Sound, BumpWater, GameServer, Net, LuaSocket, RoamMeshDrawer, CregSerializer, DynWater, SkyBox, Texture, Font, Shader, KeyBindings, ArchiveScanner, FarTextureHandler, Piece, CSMFGroundTextures, GroundMoveType, Model, OBJParser, VFS
    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.
    ============== <User Config> ==============
      AdvSky = 1
      AllowDeferredMapRendering = 1
      AllowDeferredModelRendering = 1
      BumpWaterBlurReflection = 1
      BumpWaterRefraction = 2
      DynamicSky = 1
      FSAALevel = 4
      Fullscreen = 0
      GrassDetail = 30
      GroundDecals = 5
      GroundDetail = 444
      GuiOpacity = 0.2
      InputTextGeo = 0.26 0.73 0.02 0.028
      LastSelectedMap = Caeserea 6
      LastSelectedMod = Journeywar $VERSION
      LastSelectedScript = Player Only: Testing Sandbox
      LastSelectedSetting = UDPAllowConnect
      MaxNanoParticles = 20000
      MaxParticles = 20000
      ScreenshotCounter = 221
      ShadowMapSize = 8192
      Shadows = 1
      ShowClock = 0
      ShowPlayerInfo = 0
      ShowSpeed = 1
      SpringData = C:\Users\PicassoCT\Documents\My Games\Spring\
      TeamNanoSpray = 0
      TreeRadius = 3000
      UDPAllowConnect = *
      UDPConnectionLogDebugMessages = 1
      UnitIconDist = 100000
      VSync = -1
      WindowPosX = -10
      WindowPosY = 31
      XResolutionWindowed = 1929
      YResolutionWindowed = 1008
      snd_volbattle = 20
      snd_volmaster = 2
      snd_volui = 69
      snd_volunitreply = 80
    ============== </User Config> ==============
    ============== <User System> ==============
      Spring 104.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) i5-6600K CPU @ 3.50GHz; 16333MB RAM, 18765MB pagefile
         Binary Word Size: 32-bit emulated
         Deque Chunk Size: 128
            Process Clock: std::chrono::high_resolution_clock
       Physical CPU Cores: 4
        Logical CPU Cores: 4
    ============== </User System> ==============
    [good_fpu_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
    [WatchDogInstall] Installed (HangTimeout: 10sec)
    [WatchDog::RegisterThread] registering controls for thread [main]
    [GL::CheckAvailableVideoModes] desktop={1920x1080x24bpp@60Hz} current={1920x1080x24bpp@60Hz}
    	display=1 modes=43 bounds={x=0, y=0, w=1920, h=1080}
    		[ 1] 1920x1080x24bpp@60Hz
    		[ 2] 1680x1050x24bpp@60Hz
    		[ 5] 1600x1024x24bpp@60Hz
    		[ 7] 1600x900x24bpp@60Hz
    		[ 9] 1440x900x24bpp@75Hz
    		[19] 1280x800x24bpp@75Hz
    		[23] 1280x720x24bpp@75Hz
    	display=2 modes=57 bounds={x=-1080, y=133, w=1080, h=1920}
    [GR::CreateSDLWindow] using 4x anti-aliasing and 24-bit depth-buffer (PF="SDL_PIXELFORMAT_RGB888")
    [GR::LogVersionInfo]
    	SDL version : 2.0.4 (linked) / 2.0.4 (compiled)
    	GL version  : 4.6.0 NVIDIA 388.13
    	GL vendor   : NVIDIA Corporation
    	GL renderer : GeForce GTX 970/PCIe/SSE2
    	GLSL version: 4.60 NVIDIA
    	GLEW version: 1.5.8
    	GPU memory  : 4096MB (total) / 3732MB (available)
    	SDL swap-int: 1
    	
    	ARB shader support        : 1
    	GLSL shader support       : 1
    	FBO extension support     : 1
    	NVX GPU mem-info support  : 1
    	ATI GPU mem-info support  : 0
    	NPOT-texture support      : 1 (1)
    	texture query-LOD support : 1 (1)
    	24-bit Z-buffer support   : 1 (-)
    	primitive-restart support : 1 (1)
    	clip-space control support: 0 (0)
    	frag-depth layout support : 1 (-)
    	
    	max. FBO samples             : 32
    	max. texture size            : 16384
    	max. texture anisotropy level: 16.000000
    	max. vec4 varyings/attributes: 31/16
    	max. draw-buffers            : 8
    	max. rec. indices/vertices   : 1048576/1048576
    	max. uniform buffer-bindings : 84
    	max. uniform block-size      : 64KB
    	
    	enable ATI-hacks : 0
    	compress MIP-maps: 0
    [GR::ToggleGLDebugOutput] OpenGL debug-context not installed (dbgErrors=0 dbgTraces=0)
    [VSync::SetInterval] interval=-1 (adaptive)
    [GR::LogDisplayMode] display-mode set to 1929x1008x158bpp@0Hz (windowed::decorated)
    Using read-write data directory: C:\Users\PicassoCT\Documents\My Games\Spring\
    Using read-only data directory: D:\Games\SpringDownloads\engine\104.0\
    Scanning: D:\Games\SpringDownloads\engine\104.0\base
    Scanning: C:\Users\PicassoCT\Documents\My Games\Spring\maps
    Scanning: C:\Users\PicassoCT\Documents\My Games\Spring\games
    Scanning: C:\Users\PicassoCT\Documents\My Games\Spring\packages
    [~ScopedOnceTimer][CArchiveScanner::ScanAllDirs] 11ms
    [ThreadPool::SetThreadCount][1] wanted=3 current=1 maximum=4 (init=1)
    [ThreadPool::SetThreadCount][2] workers=2
    [Threading] Main thread CPU affinity mask set: 12
    [f=-000001] [~ScopedOnceTimer][ISound::Init::New] 0ms
    [f=-000001] [Sound] [ISound::Initialize] spawning sound-thread (0.0ms)
    [f=-000001] [Sound] [Sound::UpdateThread][1] cfgMaxSounds=128
    [f=-000001] [WatchDog::RegisterThread] registering controls for thread [audio]
    [f=-000001] [Sound] [Sound::InitThread][1]
    [f=-000001] [Sound] [Sound::InitThread][2] opening default device "OpenAL Soft"
    [f=-000001] [Sound] [Sound::InitThread][3] device=050c58e0 context=04b9ad80
    [f=-000001] [Sound] [Sound::InitThread][4][OpenAL API Info]
    [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]   Devices:
    [f=-000001] [Sound]     [Speakers (Sound Blaster Z)]
    [f=-000001] [Sound]     [DELL U2414H-C (NVIDIA High Definition Audio)]
    [f=-000001] [Sound]     [SPDIF-Out (Sound Blaster Z)]
    [f=-000001] [Sound]     [Speakers (Sound Blaster Z)]
    [f=-000001] [Sound]     [DELL U2414H-0 (NVIDIA High Definition Audio)]
    [f=-000001] [Sound] Error:   EFX: AL_INVALID_VALUE (40963)
    [f=-000001] [Sound] Error:   Initializing EFX failed!
    
    txt file icon infolog.txt (6,992 bytes) 2018-08-15 09:00 +
  • ? file icon ar_package_drop-2.pcapng (1,004 bytes) 2018-08-15 09:27
  • txt file icon infolog-2.txt (41,389 bytes) 2018-08-15 11:29 -
    Using writeable configuration source: "C:\Users\PicassoCT\Documents\My Games\Spring\springsettings.cfg"
    Available log sections: ModelRenderContainer, DecalsDrawerGL4, Path, AutohostInterface, Sound, BumpWater, GameServer, Net, LuaSocket, RoamMeshDrawer, CregSerializer, DynWater, SkyBox, Texture, Font, Shader, KeyBindings, ArchiveScanner, FarTextureHandler, Piece, CSMFGroundTextures, GroundMoveType, Model, OBJParser, VFS
    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.
    ============== <User Config> ==============
      AdvSky = 1
      AllowDeferredMapRendering = 1
      AllowDeferredModelRendering = 1
      BumpWaterBlurReflection = 1
      BumpWaterRefraction = 2
      DynamicSky = 1
      FSAALevel = 4
      Fullscreen = 0
      GrassDetail = 30
      GroundDecals = 5
      GroundDetail = 444
      GuiOpacity = 0.2
      InputTextGeo = 0.26 0.73 0.02 0.028
      LastSelectedMap = Caeserea 6
      LastSelectedMod = Journeywar $VERSION
      LastSelectedScript = Player Only: Testing Sandbox
      LastSelectedSetting = UDPAllowConnect
      MaxNanoParticles = 20000
      MaxParticles = 20000
      ScreenshotCounter = 221
      ShadowMapSize = 7346
      Shadows = 1
      ShowClock = 0
      ShowPlayerInfo = 0
      ShowSpeed = 1
      SpringData = C:\Users\PicassoCT\Documents\My Games\Spring\
      TeamNanoSpray = 0
      TreeRadius = 3000
      UDPAllowConnect = *:-1
      UDPAllowListen = * :-1
      UDPConnectionLogDebugMessages = 1
      UnitIconDist = 100000
      VSync = -1
      WindowPosX = 0
      WindowPosY = 23
      XResolutionWindowed = 1920
      YResolutionWindowed = 1017
      snd_volbattle = 20
      snd_volmaster = 2
      snd_volui = 69
      snd_volunitreply = 80
    ============== </User Config> ==============
    ============== <User System> ==============
      Spring 104.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) i5-6600K CPU @ 3.50GHz; 16333MB RAM, 18765MB pagefile
         Binary Word Size: 32-bit emulated
         Deque Chunk Size: 128
            Process Clock: std::chrono::high_resolution_clock
       Physical CPU Cores: 4
        Logical CPU Cores: 4
    ============== </User System> ==============
    [good_fpu_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
    [WatchDogInstall] Installed (HangTimeout: 10sec)
    [WatchDog::RegisterThread] registering controls for thread [main]
    [GL::CheckAvailableVideoModes] desktop={1920x1080x24bpp@60Hz} current={1920x1080x24bpp@60Hz}
    	display=1 modes=43 bounds={x=0, y=0, w=1920, h=1080}
    		[ 1] 1920x1080x24bpp@60Hz
    		[ 2] 1680x1050x24bpp@60Hz
    		[ 5] 1600x1024x24bpp@60Hz
    		[ 7] 1600x900x24bpp@60Hz
    		[ 9] 1440x900x24bpp@75Hz
    		[19] 1280x800x24bpp@75Hz
    		[23] 1280x720x24bpp@75Hz
    	display=2 modes=57 bounds={x=-1080, y=133, w=1080, h=1920}
    [GR::CreateSDLWindow] using 4x anti-aliasing and 24-bit depth-buffer (PF="SDL_PIXELFORMAT_RGB888")
    [GR::LogVersionInfo]
    	SDL version : 2.0.4 (linked) / 2.0.4 (compiled)
    	GL version  : 4.6.0 NVIDIA 388.13
    	GL vendor   : NVIDIA Corporation
    	GL renderer : GeForce GTX 970/PCIe/SSE2
    	GLSL version: 4.60 NVIDIA
    	GLEW version: 1.5.8
    	GPU memory  : 4096MB (total) / 3516MB (available)
    	SDL swap-int: 1
    	
    	ARB shader support        : 1
    	GLSL shader support       : 1
    	FBO extension support     : 1
    	NVX GPU mem-info support  : 1
    	ATI GPU mem-info support  : 0
    	NPOT-texture support      : 1 (1)
    	texture query-LOD support : 1 (1)
    	24-bit Z-buffer support   : 1 (-)
    	primitive-restart support : 1 (1)
    	clip-space control support: 0 (0)
    	frag-depth layout support : 1 (-)
    	
    	max. FBO samples             : 32
    	max. texture size            : 16384
    	max. texture anisotropy level: 16.000000
    	max. vec4 varyings/attributes: 31/16
    	max. draw-buffers            : 8
    	max. rec. indices/vertices   : 1048576/1048576
    	max. uniform buffer-bindings : 84
    	max. uniform block-size      : 64KB
    	
    	enable ATI-hacks : 0
    	compress MIP-maps: 0
    [GR::ToggleGLDebugOutput] OpenGL debug-context not installed (dbgErrors=0 dbgTraces=0)
    [VSync::SetInterval] interval=-1 (adaptive)
    [GR::LogDisplayMode] display-mode set to 1920x1017x24bpp@60Hz (windowed::decorated)
    Using read-write data directory: C:\Users\PicassoCT\Documents\My Games\Spring\
    Using read-only data directory: D:\Games\SpringDownloads\engine\104.0\
    Scanning: D:\Games\SpringDownloads\engine\104.0\base
    Scanning: C:\Users\PicassoCT\Documents\My Games\Spring\maps
    Scanning: C:\Users\PicassoCT\Documents\My Games\Spring\games
    Scanning: C:\Users\PicassoCT\Documents\My Games\Spring\packages
    [~ScopedOnceTimer][CArchiveScanner::ScanAllDirs] 12ms
    [ThreadPool::SetThreadCount][1] wanted=3 current=1 maximum=4 (init=1)
    [ThreadPool::SetThreadCount][2] workers=2
    [Threading] Main thread CPU affinity mask set: 12
    [f=-000001] [~ScopedOnceTimer][ISound::Init::New] 0ms
    [f=-000001] [Sound] [ISound::Initialize] spawning sound-thread (0.0ms)
    [f=-000001] [Sound] [Sound::UpdateThread][1] cfgMaxSounds=128
    [f=-000001] [WatchDog::RegisterThread] registering controls for thread [audio]
    [f=-000001] [Sound] [Sound::InitThread][1]
    [f=-000001] [Sound] [Sound::InitThread][2] opening default device "OpenAL Soft"
    [f=-000001] [Sound] [Sound::InitThread][3] device=05204010 context=04bf3920
    [f=-000001] [Sound] [Sound::InitThread][4][OpenAL API Info]
    [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]   Devices:
    [f=-000001] [Sound]     [Speakers (Sound Blaster Z)]
    [f=-000001] [Sound]     [DELL U2414H-C (NVIDIA High Definition Audio)]
    [f=-000001] [Sound]     [SPDIF-Out (Sound Blaster Z)]
    [f=-000001] [Sound]     [Speakers (Sound Blaster Z)]
    [f=-000001] [Sound]     [DELL U2414H-0 (NVIDIA High Definition Audio)]
    [f=-000001] [Sound] Error:   EFX: AL_INVALID_VALUE (40963)
    [f=-000001] [Sound] Error:   Initializing EFX failed!
    [f=-000001] [Sound] [Sound::UpdateThread][2]
    [f=-000001] [~ScopedOnceTimer][ISound::Init::Dev] 101ms
    [f=-000001] Joysticks found: 0
    [f=-000001] [LuaSocket] Error: Rule already exists:  -1
    [f=-000001] [GR::LogDisplayMode] display-mode set to 1920x1017x24bpp@60Hz (windowed::decorated)
    [f=-000001] [CPreGame] server using IP localhost and port 8452
    [f=-000001] [NetProto::InitLocalClient] connecting to local server
    [f=-000001] [PreGame::AddGameSetupArchivesToVFS] using map: Caeserea 6
    [f=-000001] [PreGame::StartServer] checksums: game=0xDA94E361 map=0xDDD292FE
    [f=-000001] Warning: [UDPListener::TryBindSocket] opening socket on loopback address, other users will not be able to connect!
    [f=-000001] [UDPListener::TryBindSocket] binding UDP socket to IPv6-address ::1 (localhost) on port 8452
    [f=-000001] [UDPListener] successfully bound socket on port 8452
    [f=-000001] [~ScopedOnceTimer][PreGame::StartServer] 1779ms
    [f=-000001] [PreGame::AddGameSetupArchivesToVFS] using map: Caeserea 6
    [f=-000001] [PreGame::AddGameSetupArchivesToVFS] using game: Journeywar $VERSION (archive: Journezwar.sdd)
    [f=-000001] PreGame::GameDataReceived] recording demo to "C:\Users\PicassoCT\Documents\My Games\Spring\demos\20180815_112721_Caeserea 6_104.sdfz"
    [f=-000001] [~ScopedOnceTimer][PreGame::GameDataReceived] 173ms
    [f=-000001] [PreGame::UpdateClientNet] received user number 0 (team 0, allyteam 0), creating load-screen
    [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] Found new widget "LoadTexture"
    [f=-000001] [LuaIntro] Found new widget "LoadProgress"
    [f=-000001] [LuaIntro] Found new widget "Main"
    [f=-000001] [LuaIntro] Found new widget "Music"
    [f=-000001] [LuaIntro] Loading widgets   <>=vfs  **=raw  ()=unknown
    [f=-000001] [LuaIntro] Loading widget:      LoadProgress           <loadprogress.lua>
    [f=-000001] [LuaIntro] Loading widget:      Main                   <main.lua>
    [f=-000001] [LuaIntro] Loading widget:      Music                  <music.lua>
    [f=-000001] [LuaIntro] Loading widget:      LoadTexture            <bg_texture.lua>
    [f=-000001] [LuaIntro] LuaIntro v1.0 (Lua 5.1)
    [f=-000001] [LoadScreen::Init] single-threaded
    [f=-000001] [WatchDog::RegisterThread] registering controls for thread [load]
    [f=-000001] [Game::LoadGame][1] globalQuit=0 threaded=0
    [f=-000001] Parsing Map Information
    [f=-000001] Loading SMF
    [f=-000001] Loading Map (25 MB)
    [f=-000001] Loading Radar Icons
    [f=-000001] Loading GameData Definitions
    [f=-000001] [defs.lua] loading all *Defs tables: 69ms
    [f=-000001] [~ScopedOnceTimer][Game::LoadDefs (GameData)] 79ms
    [f=-000001] Loading Sound Definitions
    [f=-000001] [Sound]  parsed 6 sounds from gamedata/sounds.lua
    [f=-000001] [~ScopedOnceTimer][Game::LoadDefs (Sound)] 1ms
    [f=-000001] [Game::LoadGame][2] globalQuit=0 forcedQuit=0
    [f=-000001] Creating Smooth Height Mesh
    [f=-000001] [~ScopedOnceTimer][SmoothHeightMesh::MakeSmoothMesh] 19ms
    [f=-000001] Creating QuadField & CEGs
    [f=-000001] [CDamageArrayHandler] number of ArmorDefs: 2
    [f=-000001] [RegisterAssimpModelFormats] supported Assimp model formats: *.3ds;*.blend;*.dae;*.lwo;
    [f=-000001] Creating Unit Textures
    [f=-000001] Creating Sky
    [f=-000001] [Game::LoadGame][3] globalQuit=0 forcedQuit=0
    [f=-000001] Loading Weapon Definitions
    [f=-000001] Warning: WeaponDefs: Unknown tag "randomdecay" in "shotgunnogamble"
    [f=-000001] [~ScopedOnceTimer][Game::PostLoadSim (WeaponDefs)] 244ms
    [f=-000001] Loading Unit Definitions
    [f=-000001] [~ScopedOnceTimer][Game::PostLoadSim (UnitDefs)] 55ms
    [f=-000001] Loading Feature Definitions
    [f=-000001] [~ScopedOnceTimer][Game::PostLoadSim (FeatureDefs)] 0ms
    [f=-000001] [IPathManager::GetInstance] using DEFAULT path-manager
    [f=-000001] Initializing Map Features
    [f=-000001] Creating ShadowHandler
    [f=-000001] Creating InfoTextureHandler
    [f=-000001] InfoTexture: shaders
    [f=-000001] Creating GroundDrawer
    [f=-000001] Loading Map Tiles
    [f=-000001] Loading Square Textures
    [f=-000001] [~ScopedOnceTimer][CSMFGroundTextures::ConvolveHeightMap] 0ms
    [f=-000001] Switching to ROAM Mesh Rendering
    [f=-000001] Creating TreeDrawer
    [f=-000001] Loaded DecalsDrawer: Legacy
    [f=-000001] Creating ProjectileDrawer & UnitDrawer
    [f=-000001] Creating Projectile Textures
    [f=-000001] Warning: [CCEG::Load] nukebigland: Unknown tag CHeatCloudProjectile::emitvector
    [f=-000001] Warning: [CCEG::Load] nukebigland: Unknown tag CSimpleParticleSystem::explosiongenerator
    [f=-000001] Warning: [CCEG::Load] GAUSS_RING_H: Unknown tag CBitmapMuzzleFlame::sizemod
    [f=-000001] Warning: [CCEG::Load] GAUSS_RING_H: Unknown tag CBitmapMuzzleFlame::emitrotspread
    [f=-000001] Warning: [CCEG::Load] GAUSS_RING_H: Unknown tag CBitmapMuzzleFlame::emitrot
    [f=-000001] Warning: [CCEG::Load] GAUSS_RING_H: Unknown tag CBitmapMuzzleFlame::particlesizespread
    [f=-000001] Warning: [CCEG::Load] GAUSS_RING_S: Unknown tag CBitmapMuzzleFlame::sizemod
    [f=-000001] Warning: [CCEG::Load] GAUSS_RING_S: Unknown tag CBitmapMuzzleFlame::emitrotspread
    [f=-000001] Warning: [CCEG::Load] GAUSS_RING_S: Unknown tag CBitmapMuzzleFlame::emitrot
    [f=-000001] Warning: [CCEG::Load] GAUSS_RING_S: Unknown tag CBitmapMuzzleFlame::particlesizespread
    [f=-000001] Warning: [CCEG::Load] table for CEG "none" invalid (parse errors?)
    [f=-000001] Warning: [CCEG::Load] shotgunImpact: Unknown tag CSmokeProjectile::sizegrowth
    [f=-000001] Creating Water
    [f=-000001] [Game::LoadGame][4] globalQuit=0 forcedQuit=0
    [f=-000001] [~ScopedOnceTimer][Game::LoadInterface (Camera&Mouse)] 32ms
    [f=-000001] [~ScopedOnceTimer][Game::LoadInterface (Console)] 0ms
    [f=-000001] Loading LuaRules
    [f=-000001] Synced LuaRules: starting loading
    [f=-000001] [gadgets.lua] Error: Failed to load: dbg_gadget_profiler.lua  ([string "LuaRules/Gadgets/dbg_gadget_profiler.lua"]:66: unexpected symbol near '.')
    [f=-000001] ForrestFire:Gadget is activated
    [f=-000001] ForrestFire:Gadget is activated
    [f=-000001] ForrestFire:Gadget is activated
    [f=-000001] jw_miniMission::Mission 1 selected
    [f=-000001] Loading gadget: Lua unit script framework  <unit_script.lua>
    [f=-000001]   Loading unit script: scripts/gzonescript.lua
    [f=-000001]   Loading unit script: scripts/cadvisor.lua
    [f=-000001]   Loading unit script: scripts/aligntest.lua
    [f=-000001]   Loading unit script: scripts/artscript.lua
    [f=-000001]   Loading unit script: scripts/bbind.lua
    [f=-000001]   Loading unit script: scripts/decalfactory.lua
    [f=-000001]   Loading unit script: scripts/beanstalkscript.lua
    [f=-000001]   Loading unit script: scripts/bgscript.lua
    [f=-000001]   Loading unit script: scripts/bonker.lua
    [f=-000001]   Loading unit script: scripts/cbuibaisky.lua
    [f=-000001]   Loading unit script: scripts/builuxscript.lua
    [f=-000001]   Loading unit script: scripts/empty.lua
    [f=-000001]   Loading unit script: scripts/caesareachurch.lua
    [f=-000001]   Loading unit script: scripts/caesarcloth.lua
    [f=-000001]   Loading unit script: scripts/caesareagle.lua
    [f=-000001]   Loading unit script: scripts/caesareaflag.lua
    [f=-000001]   Loading unit script: scripts/caesareahouse.lua
    [f=-000001]   Loading unit script: scripts/caesarmarket.lua
    [f=-000001]   Loading unit script: scripts/caesereaolives.lua
    [f=-000001]   Loading unit script: scripts/caesarorchard.lua
    [f=-000001]   Loading unit script: scripts/caesareapines.lua
    [f=-000001]   Loading unit script: scripts/caesarstatue.lua
    [f=-000001]   Loading unit script: scripts/cairbasescript.lua
    [f=-000001]   Loading unit script: scripts/callygatorscript.lua
    [f=-000001]   Loading unit script: scripts/campole.lua
    [f=-000001]   Loading unit script: scripts/campro.lua
    [f=-000001]   Loading unit script: scripts/cauterizerscript.lua
    [f=-000001]   Loading unit script: scripts/cauterizerdeployedscript.lua
    [f=-000001]   Loading unit script: scripts/cawilduniverseappears.lua
    [f=-000001]   Loading unit script: scripts/cbuildanim.lua
    [f=-000001]   Loading unit script: scripts/ccomenderscript.lua
    [f=-000001]   Loading unit script: scripts/cnukescript.lua
    [f=-000001]   Loading unit script: scripts/cconaircontainer_script.lua
    [f=-000001]   Loading unit script: scripts/ccrabsynthscript.lua
    [f=-000001]   Loading unit script: scripts/cdefusermine_script.lua
    [f=-000001]   Loading unit script: scripts/cdistrictnone.lua
    [f=-000001]   Loading unit script: scripts/dbg_cegtest.lua
    [f=-000001]   Loading unit script: scripts/cfactorylvl1transformscript.lua
    [f=-000001]   Loading unit script: scripts/cfireplacescript.lua
    [f=-000001]   Loading unit script: scripts/cgamagardener.lua
    [f=-000001]   Loading unit script: scripts/cgatefotressscript.lua
    [f=-000001]   Loading unit script: scripts/cgunshipscript.lua
    [f=-000001]   Loading unit script: scripts/cheadlaunchscript.lua
    [f=-000001]   Loading unit script: scripts/chedgehog.lua
    [f=-000001]   Loading unit script: scripts/chivemindscript.lua
    [f=-000001]   Loading unit script: scripts/chostageblockscript.lua
    [f=-000001]   Loading unit script: scripts/chopper.lua
    [f=-000001]   Loading unit script: scripts/jhunterscript.lua
    [f=-000001]   Loading unit script: scripts/chunterchopperscript.lua
    [f=-000001]   Loading unit script: scripts/jhunterdart_script.lua
    [f=-000001]   Loading unit script: scripts/citadellscript.lua
    [f=-000001]   Loading unit script: scripts/conairscript.lua
    [f=-000001]   Loading unit script: scripts/slicerimpact.lua
    [f=-000001]   Loading unit script: scripts/cmissambassadorscript.lua
    [f=-000001]   Loading unit script: scripts/cmtwgrenade_script.lua
    [f=-000001]   Loading unit script: scripts/cnanoreconscript.lua
    [f=-000001]   Loading unit script: scripts/coffworldassemblyscript.lua
    [f=-000001]   Loading unit script: scripts/coffworldassemblyseed.lua
    [f=-000001]   Loading unit script: scripts/comendbonker.lua
    [f=-000001]   Loading unit script: scripts/condepotscript.lua
    [f=-000001]   Loading unit script: scripts/ccontrain.lua
    [f=-000001]   Loading unit script: scripts/contrainpillar.lua
    [f=-000001]   Loading unit script: scripts/contruck.lua
    [f=-000001]   Loading unit script: scripts/operatransscript.lua
    [f=-000001]   Loading unit script: scripts/coverworldgatescript.lua
    [f=-000001]   Loading unit script: scripts/crailgund.lua
    [f=-000001]   Loading unit script: scripts/crazorscript.lua
    [f=-000001]   Loading unit script: scripts/csniper.lua
    [f=-000001]   Loading unit script: scripts/css.lua
    [f=-000001]   Loading unit script: scripts/csuborbexplo.lua
    [f=-000001]   Loading unit script: scripts/csuborbital.lua
    [f=-000001]   Loading unit script: scripts/transitnode.lua
    [f=-000001]   Loading unit script: scripts/transitnodeexit.lua
    [f=-000001]   Loading unit script: scripts/cvictorystatue.lua
    [f=-000001]   Loading unit script: scripts/cwallbuilder.lua
    [f=-000001]   Loading unit script: scripts/combinedfeaturescript.lua
    [f=-000001]   Loading unit script: scripts/c_waterextractor.lua
    [f=-000001]   Loading unit script: scripts/cefence.lua
    [f=-000001]   Loading unit script: scripts/factoryspawndecorator.lua
    [f=-000001]   Loading unit script: scripts/fclvlone.lua
    [f=-000001]   Loading unit script: scripts/fclvl2.lua
    [f=-000001]   Loading unit script: scripts/jflyingmountainscript.lua
    [f=-000001]   Loading unit script: scripts/jflyingmountainbubbledscript.lua
    [f=-000001]   Loading unit script: scripts/galgopropscript.lua
    [f=-000001]   Loading unit script: scripts/gdeco.lua
    [f=-000001]   Loading unit script: scripts/asteroidsscript.lua
    [f=-000001]   Loading unit script: scripts/gcarscript.lua
    [f=-000001]   Loading unit script: scripts/ccivilbuilding.lua
    [f=-000001]   Loading unit script: scripts/gcivillian.lua
    [f=-000001]   Loading unit script: scripts/gmission1containerscript.lua
    [f=-000001]   Loading unit script: scripts/gthecouplem7script.lua
    [f=-000001]   Loading unit script: scripts/gcrawlerscript.lua
    [f=-000001]   Loading unit script: scripts/gcrawlerfeederscript.lua
    [f=-000001]   Loading unit script: scripts/gcscrapheap.lua
    [f=-000001]   Loading unit script: scripts/gcscrapheappeace.lua
    [f=-000001]   Loading unit script: scripts/gcvehicscrap.lua
    [f=-000001]   Loading unit script: scripts/gdiamonddeathscript.lua
    [f=-000001]   Loading unit script: scripts/cgeohive.lua
    [f=-000001]   Loading unit script: scripts/ccastbuilding.lua
    [f=-000001]   Loading unit script: scripts/gfreemanscript.lua
    [f=-000001]   Loading unit script: scripts/gglasstreescript.lua
    [f=-000001]   Loading unit script: scripts/glueminescript.lua
    [f=-000001]   Loading unit script: scripts/ghohymenscript.lua
    [f=-000001]   Loading unit script: scripts/mission1hornblow.lua
    [f=-000001]   Loading unit script: scripts/ginfmachinescript.lua
    [f=-000001]   Loading unit script: scripts/gjbigbiowaste.lua
    [f=-000001]   Loading unit script: scripts/jmeatballscript.lua
    [f=-000001]   Loading unit script: scripts/gkivascript.lua
    [f=-000001]   Loading unit script: scripts/glavaunit.lua
    [f=-000001]   Loading unit script: scripts/gnewsdronescript.lua
    [f=-000001]   Loading unit script: scripts/goildrumscript.lua
    [f=-000001]   Loading unit script: scripts/gpillarscript.lua
    [f=-000001]   Loading unit script: scripts/gplanetoidscript.lua
    [f=-000001]   Loading unit script: scripts/gproceduralfeature.lua
    [f=-000001]   Loading unit script: scripts/gpropsscript.lua
    [f=-000001]   Loading unit script: scripts/dbg_ragtest.lua
    [f=-000001]   Loading unit script: scripts/gwoodscript.lua
    [f=-000001]   Loading unit script: scripts/grewardbox.lua
    [f=-000001]   Loading unit script: scripts/placeholder.lua
    [f=-000001]   Loading unit script: scripts/gsantascript.lua
    [f=-000001]   Loading unit script: scripts/gseastarscript.lua
    [f=-000001]   Loading unit script: scripts/transportable.lua
    [f=-000001]   Loading unit script: scripts/spaceportscript.lua
    [f=-000001]   Loading unit script: scripts/gullscript.lua
    [f=-000001]   Loading unit script: scripts/gvolcano.lua
    [f=-000001]   Loading unit script: scripts/gworldenginescript.lua
    [f=-000001]   Loading unit script: scripts/gzombiehorsescript.lua
    [f=-000001]   Loading unit script: scripts/jgeohivescript.lua
    [f=-000001]   Loading unit script: scripts/hcscript.lua
    [f=-000001]   Loading unit script: scripts/dbg_iktestscript.lua
    [f=-000001]   Loading unit script: scripts/jabyssscript.lua
    [f=-000001]   Loading unit script: scripts/jantart.lua
    [f=-000001]   Loading unit script: scripts/jethiefscript.lua
    [f=-000001]   Loading unit script: scripts/jbeefeaterscript.lua
    [f=-000001]   Loading unit script: scripts/jbeefeatermiddle.lua
    [f=-000001]   Loading unit script: scripts/jbeehive.lua
    [f=-000001]   Loading unit script: scripts/jbeherith.lua
    [f=-000001]   Loading unit script: scripts/jbonsaiscript.lua
    [f=-000001]   Loading unit script: scripts/jgeobugscript.lua
    [f=-000001]   Loading unit script: scripts/jbuildanimscript.lua
    [f=-000001]   Loading unit script: scripts/jbutterfly.lua
    [f=-000001]   Loading unit script: scripts/conbigfoot.lua
    [f=-000001]   Loading unit script: scripts/jconroach.lua
    [f=-000001]   Loading unit script: scripts/jcrabscript.lua
    [f=-000001]   Loading unit script: scripts/jdarkgatescript.lua
    [f=-000001]   Loading unit script: scripts/jdevourereggscript.lua
    [f=-000001]   Loading unit script: scripts/jdragongrassscript.lua
    [f=-000001]   Loading unit script: scripts/jdrilltree.lua
    [f=-000001]   Loading unit script: scripts/jdropscript.lua
    [f=-000001]   Loading unit script: scripts/jeliahscript.lua
    [f=-000001]   Loading unit script: scripts/jestoragescript.lua
    [f=-000001]   Loading unit script: scripts/jfactorylvl1transformscript.lua
    [f=-000001]   Loading unit script: scripts/jfactorylvl2transformscript.lua
    [f=-000001]   Loading unit script: scripts/jfiredancegliderscript.lua
    [f=-000001]   Loading unit script: scripts/jfiredancerscript.lua
    [f=-000001]   Loading unit script: scripts/jfireflower.lua
    [f=-000001]   Loading unit script: scripts/gfireplace.lua
    [f=-000001]   Loading unit script: scripts/jfishswarmscript.lua
    [f=-000001]   Loading unit script: scripts/jfungiforrest.lua
    [f=-000001]   Loading unit script: scripts/jgalatescript.lua
    [f=-000001]   Loading unit script: scripts/jghostdancer.lua
    [f=-000001]   Loading unit script: scripts/jglowwormscript.lua
    [f=-000001]   Loading unit script: scripts/spore.lua
    [f=-000001]   Loading unit script: scripts/jharbourscript.lua
    [f=-000001]   Loading unit script: scripts/jhivemindscript.lua
    [f=-000001]   Loading unit script: scripts/jhivewulfscript.lua
    [f=-000001]   Loading unit script: scripts/jhivemomascript.lua
    [f=-000001]   Loading unit script: scripts/jhoneyscript.lua
    [f=-000001]   Loading unit script: scripts/jinfectorscript.lua
    [f=-000001]   Loading unit script: scripts/jinfinityscraddlescript.lua
    [f=-000001]   Loading unit script: scripts/jjamscript.lua
    [f=-000001]   Loading unit script: scripts/jmadmaxscript.lua
    [f=-000001]   Loading unit script: scripts/jmeathivewulf.lua
    [f=-000001]   Loading unit script: scripts/jmeconverterscript.lua
    [f=-000001]   Loading unit script: scripts/jmobileeggstackscript.lua
    [f=-000001]   Loading unit script: scripts/jmirrorbubblescript.lua
    [f=-000001]   Loading unit script: scripts/jmotherofmercyscript.lua
    [f=-000001]   Loading unit script: scripts/jmobilefactory1.lua
    [f=-000001]   Loading unit script: scripts/jmobilednacraddlescript.lua
    [f=-000001]   Loading unit script: scripts/jnativevilscript.lua
    [f=-000001]   Loading unit script: scripts/jpeeble.lua
    [f=-000001]   Loading unit script: scripts/jplanktonerscript.lua
    [f=-000001]   Loading unit script: scripts/jpoisonhivescript.lua
    [f=-000001]   Loading unit script: scripts/jracedartscript.lua
    [f=-000001]   Loading unit script: scripts/jrecyclerscript.lua
    [f=-000001]   Loading unit script: scripts/jrefugeetrapscript.lua
    [f=-000001]   Loading unit script: scripts/jresistancecell.lua
    [f=-000001]   Loading unit script: scripts/jresistanceoutpost.lua
    [f=-000001]   Loading unit script: scripts/jresistancewarrior.lua
    [f=-000001]   Loading unit script: scripts/jscrapheap_script.lua
    [f=-000001]   Loading unit script: scripts/sequoiascript.lua
    [f=-000001]   Loading unit script: scripts/sequoiarestingscript.lua
    [f=-000001]   Loading unit script: scripts/jshadow.lua
    [f=-000001]   Loading unit script: scripts/jshroudshrikescript.lua
    [f=-000001]   Loading unit script: scripts/skinegg.lua
    [f=-000001]   Loading unit script: scripts/jembryoscript.lua
    [f=-000001]   Loading unit script: scripts/jcondronescript.lua
    [f=-000001]   Loading unit script: scripts/jsuneggnoggscript.lua
    [f=-000001]   Loading unit script: scripts/jsungodcattlescript.lua
    [f=-000001]   Loading unit script: scripts/jsunshipfirescript.lua
    [f=-000001]   Loading unit script: scripts/jsunshipwaterscript.lua
    [f=-000001]   Loading unit script: scripts/jglowswampscript.lua
    [f=-000001]   Loading unit script: scripts/swiftspear.lua
    [f=-000001]   Loading unit script: scripts/tiglilegg.lua
    [f=-000001]   Loading unit script: scripts/jtransportedfactory1.lua
    [f=-000001]   Loading unit script: scripts/jtransportedfactory2.lua
    [f=-000001]   Loading unit script: scripts/jtransportedeggstackscript.lua
    [f=-000001]   Loading unit script: scripts/jtree1.lua
    [f=-000001]   Loading unit script: scripts/jtree2.lua
    [f=-000001]   Loading unit script: scripts/jtree3.lua
    [f=-000001]   Loading unit script: scripts/jltreescript.lua
    [f=-000001]   Loading unit script: scripts/jltree8script.lua
    [f=-000001]   Loading unit script: scripts/jtree5.lua
    [f=-000001]   Loading unit script: scripts/jlspawnscript.lua
    [f=-000001]   Loading unit script: scripts/jvarytarascript.lua
    [f=-000001]   Loading unit script: scripts/varyfooscript.lua
    [f=-000001]   Loading unit script: scripts/varyfoospear_script.lua
    [f=-000001]   Loading unit script: scripts/jvictoryscript.lua
    [f=-000001]   Loading unit script: scripts/jviralfacscript.lua
    [f=-000001]   Loading unit script: scripts/jwatchbirdscript.lua
    [f=-000001]   Loading unit script: scripts/j_watergate.lua
    [f=-000001]   Loading unit script: scripts/mbeanstalkscript.lua
    [f=-000001]   Loading unit script: scripts/mbuiluxscript.lua
    [f=-000001]   Loading unit script: scripts/mdigscript.lua
    [f=-000001]   Loading unit script: scripts/mdiggmexscript.lua
    [f=-000001]   Loading unit script: scripts/mestoscript.lua
    [f=-000001]   Loading unit script: scripts/mtw.lua
    [f=-000001]   Loading unit script: scripts/cpaxcentrailscript.lua
    [f=-000001]   Loading unit script: scripts/cres.lua
    [f=-000001]   Loading unit script: scripts/cscumslum.lua
    [f=-000001]   Loading unit script: scripts/sentryscript.lua
    [f=-000001]   Loading unit script: scripts/sentrynellscript.lua
    [f=-000001]   Loading unit script: scripts/skinfantry.lua
    [f=-000001]   Loading unit script: scripts/cbuibaicityarco.lua
    [f=-000001]   Loading unit script: scripts/spectratorscript.lua
    [f=-000001]   Loading unit script: scripts/striderscript.lua
    [f=-000001]   Loading unit script: scripts/tiglilscript.lua
    [f=-000001]   Loading unit script: scripts/jvortigaunt.lua
    [f=-000001]   Loading unit script: scripts/zombiescript.lua
    [f=-000001] flyingmountain is a zeppelin with cruisealt 210
    [f=-000001] flyingmountainb is a zeppelin with cruisealt 210
    [f=-000001] jsunshipfire is a zeppelin with cruisealt 256
    [f=-000001] jw_SpawnerAIGadget: Shuting down
    [f=-000001] Synced LuaRules: finished loading
    [f=-000001] Unsynced LuaRules: starting loading
    [f=-000001] [gadgets.lua] Error: Failed to load: dbg_gadget_profiler.lua  ([string "LuaRules/Gadgets/dbg_gadget_profiler.lua"]:66: unexpected symbol near '.')
    [f=-000001] [gadgets.lua] Error: Failed to load: greatcubeinthesky.lua  (Include() could not load 'Map/MapInfo.lua')
    [f=-000001] ForrestFire:Gadget is activated
    [f=-000001] ForrestFire:Gadget is activated
    [f=-000001] ForrestFire:Gadget is activated
    [f=-000001] Initialize profiler
    [f=-000001] Unsynced LuaRules: finished loading
    [f=-000001] Loading LuaGaia
    [f=-000001] Loaded SYNCED gadget:  feature placer      <fp_featureplacer.lua>
    [f=-000001] Error: Failed to load: gui_dualfog_gadget.lua  ([string "LuaGaia/Gadgets/gui_dualfog_gadget.lua"]:132: attempt to index field 'version' (a nil value))
    [f=-000001] Loaded UNSYNCED gadget:  Precipitation       <precipitation.lua>
    [f=-000001] Loading LuaUI
    [f=-000001] LuaUI Entry Point: "luaui.lua"
    [f=-000001] LuaUI Access Lock: disabled
    [f=-000001] LuaSocket Enabled: yes
    [f=-000001] Using LUAUI_DIRNAME = LuaUI/
    [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] [widgets.lua] Error: Failed to load: api_unitselector.lua  (Include() could not load 'LuaUI/ressoures/guiEnums.lua')
    [f=-000001] [widgets.lua] Error: Failed to load: dbg_widgetprofiler.lua  ([string "LuaUI/Widgets/dbg_widgetprofiler.lua"]:371: attempt to call field 'GetLuaMemUsage' (a nil value))
    [f=-000001] MapShaderFramework:Reporting In
    [f=-000001] MapShaderFramework:Reporting In
    [f=-000001] MapShaderFramework:Reporting In
    [f=-000001] Set "shadows" config-parameter to 1
    [f=-000001] ChiliPath:: luaui/widgets/chili/core.lua
    [f=-000001] BuildBar:Update Factory List
    [f=-000001] Reloaded cmdcolors from file: cmdcolors.tmp
    [f=-000001] [Chili] Error: Tried to add multiple times "onOffButton" to "grid1"!
    [f=-000001] [Chili] Error: Tried to add multiple times "UpgradeGrid" to "upgrade_window"!
    [f=-000001] small digital clock is disabled!
    [f=-000001] frames-per-second indicator is disabled!
    [f=-000001] function widget:Initialize()
    [f=-000001]  Broadcast SocketConnect(*,9000)
    [f=-000001] LuaUI v0.3
    [f=-000001] [Game::LoadGame][5] globalQuit=0 forcedQuit=0
    [f=-000001] [LoadFinalize] finalizing PFS
    [f=-000001] [Path] [PathEstimator::CalcHash][CPathEstimator] BLOCK_SIZE=16
    [f=-000001] [Path] [PathEstimator::CalcHash][CPathEstimator] PATHESTIMATOR_VERSION=88
    [f=-000001] [Path] [PathEstimator::CalcHash][CPathEstimator] heightMapChecksum=5f50a291
    [f=-000001] [Path] [PathEstimator::CalcHash][CPathEstimator] typeMapChecksum=a5799497
    [f=-000001] [Path] [PathEstimator::CalcHash][CPathEstimator] moveDefChecksum=bd1c7f7
    [f=-000001] [Path] [PathEstimator::CalcHash][CPathEstimator] blockMapChecksum=29a
    [f=-000001] [Path] [PathEstimator::CalcHash][CPathEstimator] estimatorHashCode=109c0221
    [f=-000001] [Path] [PathEstimator::ReadFile] hash=109c0221 file="cache\104rel-/paths/Caeserea 6.pe-109c0221.zip" (exists=1)
    [f=-000001] Reading Estimate PathCosts [16]
    [f=-000001] [Path] [PathEstimator::CalcHash][CPathEstimator] BLOCK_SIZE=32
    [f=-000001] [Path] [PathEstimator::CalcHash][CPathEstimator] PATHESTIMATOR_VERSION=88
    [f=-000001] [Path] [PathEstimator::CalcHash][CPathEstimator] heightMapChecksum=5f50a291
    [f=-000001] [Path] [PathEstimator::CalcHash][CPathEstimator] typeMapChecksum=a5799497
    [f=-000001] [Path] [PathEstimator::CalcHash][CPathEstimator] moveDefChecksum=bd1c7f7
    [f=-000001] [Path] [PathEstimator::CalcHash][CPathEstimator] blockMapChecksum=29a
    [f=-000001] [Path] [PathEstimator::CalcHash][CPathEstimator] estimatorHashCode=109c0231
    [f=-000001] [Path] [PathEstimator::ReadFile] hash=109c0231 file="cache\104rel-/paths/Caeserea 6.pe2-109c0231.zip" (exists=1)
    [f=-000001] Reading Estimate PathCosts [32]
    [f=-000001] [LoadFinalize] finalized PFS (66ms, checksum dc027788)
    [f=-000001] [Game::LoadGame][6] globalQuit=0 forcedQuit=0
    [f=-000001] [LuaMemPool::LogStats][handle=LuaIntro (unsynced)] index=1 {blocks,sizes}={0,0} {int,ext,rec}Allocs={0,11308,0} {chunk,block}Bytes={0,0}
    [f=-000001] Current state:SPRINGAR;RESET;
    [f=-000001] Send message SPRINGAR;RESET_COMPLETE; to 255.255.255.255
    [f=-000001] GameID: f9f1735b92634a000be583201d35e7db
    [f=-000001] Connection attempt from UnnamedPlayer
    [f=-000001]  -> Version: 104.0
    [f=-000001]  -> Connection established (given id 0)
    [f=-000001] [Game::ClientReadNet][LOGMSG] sender="UnnamedPlayer" string="[PreGame::GameDataReceived][map-checksums={0xddd292fe,0xddd292fe}]"
    [f=-000001] [Game::ClientReadNet][LOGMSG] sender="UnnamedPlayer" string="[PreGame::GameDataReceived][mod-checksums={0xda94e361,0xda94e361}]"
    [f=-000001] [Game::ClientReadNet][LOGMSG] sender="UnnamedPlayer" string="[PE::CalcChecksum][BLK_SIZE=16][SHA_DATA=11a9c992260c04bfc3b49eb3112043882908ba16ead785d37ded6a1c48a6083fa221600df845e421cceecd99b91790683c6e0660dbe495091f72feeb7470590d]"
    [f=-000001] [Game::ClientReadNet][LOGMSG] sender="UnnamedPlayer" string="[PE::CalcChecksum][BLK_SIZE=32][SHA_DATA=b910674e3f741e26aaf3c4d9b5f11fd7e40aaaf5086589ae112bed2e5ba3658f9f3955d11728e89fe612c595890e2a8397442605eb8c9a6da83f22ec9853420a]"
    [f=-000001] Player UnnamedPlayer finished loading and is now ingame
    [f=-000001] Current state:SPRINGAR;BROADCAST;ARDEVICE
    [f=-000001] Recieved text SPRINGAR;RESET_COMPLETE; from 192.168.178.20
    [f=-000001] Current state:SPRINGAR;BROADCAST;ARDEVICE
    [f=-000001] Current state:SPRINGAR;BROADCAST;ARDEVICE
    [f=-000001] Current state:SPRINGAR;BROADCAST;ARDEVICE
    [f=-000001] Current state:SPRINGAR;BROADCAST;ARDEVICE
    [f=-000001] Current state:SPRINGAR;BROADCAST;ARDEVICE
    [f=-000001] Current state:SPRINGAR;BROADCAST;ARDEVICE
    [f=-000001] Current state:SPRINGAR;BROADCAST;ARDEVICE
    [f=-000001] Current state:SPRINGAR;BROADCAST;ARDEVICE
    [f=-000001] Current state:SPRINGAR;BROADCAST;ARDEVICE
    [f=-000001] Current state:SPRINGAR;BROADCAST;ARDEVICE
    [f=-000001] Recieved text SPRINGAR;BROADCAST;ARDEVICE from 192.168.178.178
    [f=-000001] recieveBroadcastHeader:SPRINGAR;BROADCAST;ARDEVICE from 192.168.178.178
    [f=-000001] sendHostmessage SPRINGAR;REPLY;HOSTIP=192.168.178.20 -> 192.168.178.178:9000
    [f=-000001] Send message SPRINGAR;REPLY;HOSTIP=192.168.178.20 to 192.168.178.178
    [f=-000001]  UDPSocketConnect(192.168.178.20,8090)
    [f=-000001] Current state:SPRINGAR;CFG;
    [f=-000001] Current state:SPRINGAR;CFG;
    [f=-000001] Current state:SPRINGAR;CFG;
    [f=-000001] Current state:SPRINGAR;CFG;
    [f=-000001] Current state:SPRINGAR;CFG;
    [f=-000001] Current state:SPRINGAR;CFG;
    [f=-000001] Current state:SPRINGAR;CFG;
    [f=-000001] Current state:SPRINGAR;CFG;
    [f=-000001] Current state:SPRINGAR;CFG;
    [f=-000001] Current state:SPRINGAR;CFG;
    [f=-000001] [SpringApp::Kill][1] fromRun=1
    [f=-000001] [ThreadPool::SetThreadCount][1] wanted=0 current=3 maximum=4 (init=0)
    [f=-000001] 	[async=0] threads=3 tasks=122 {sum,avg}{exec,wait}time={{0.000, 0.000}, {0.000, 0.000}}ms
    [f=-000001] 		thread=1 tasks=61 {sum,min,max,avg}{exec,wait}time={{-2.000, 0.000, -26815615859885194199148049996411692254958731641184786755447122887443528060147093953603748596333806855380063716372972101707507765623893139892867298012168192.000, -2.000}, {-0.000, 0.000, -0.000, -26815622246945263923945384286674309070266490192265572359049783339191162464815731959816775940662701438890419234474741036802983443034009884464139216621666304.000}}ms
    [f=-000001] 		thread=2 tasks=61 {sum,min,max,avg}{exec,wait}time={{-0.000, 0.000, -0.000, -0.000}, {-0.000, 0.000, 0.000, 26815622253195007046285440412055605213458118045032319500877786925427243824196035936559895159524808321802135238328793280185068149448489295536627937448034304.000}}ms
    [f=-000001] 	[async=1] threads=3 tasks=6 {sum,avg}{exec,wait}time={{0.000, 0.000}, {-0.000, 0.000}}ms
    [f=-000001] 		thread=1 tasks=3 {sum,min,max,avg}{exec,wait}time={{-26815615859885194199148049996411692254958731641184786755447122887443528060147093953603748596333806855380063716372972101707507765623893139892867298012168192.000, -2.000, 0.000, 0.000}, {-0.000, 0.000, 0.000, 0.000}}ms
    [f=-000001] 		thread=2 tasks=3 {sum,min,max,avg}{exec,wait}time={{-0.000, 0.000, 0.000, -2.000}, {26815622266480384533296308244932596942830609503364172647704540352361836369286892846847249061780804165283541829261086069914119873798452579759619566343290880.000, -2.000, -2.000, -0.000}}ms
    [f=-000001] [ThreadPool::SetThreadCount][2] workers=0
    [f=-000001] [SpringApp::Kill][2]
    [f=-000001] [Game::KillLua][0] dtor=0 loadscreen=00000000
    [f=-000001] [Game::KillLua][1] dtor=0 luaGaia=207141f8
    [f=-000001] [LuaMemPool::LogStats][handle=LuaGaia (unsynced)] index=4294967295 {blocks,sizes}={0,0} {int,ext,rec}Allocs={0,1368839,0} {chunk,block}Bytes={0,0}
    [f=-000001] [LuaMemPool::LogStats][handle=LuaGaia (synced)] index=4294967295 {blocks,sizes}={0,0} {int,ext,rec}Allocs={0,1368839,0} {chunk,block}Bytes={0,0}
    [f=-000001] [Game::KillLua][2] dtor=0 luaRules=1ca04cc0
    [f=-000001] Start gadgetHandler:Shutdown
    [f=-000001] Shutdown - Lups Flamethrower Jitter
    [f=-000001] End gadgetHandler:Shutdown
    [f=-000001] Start gadgetHandler:Shutdown
    [f=-000001] Shutdown - Lups Flamethrower Jitter
    [f=-000001] Shutdown - Napalm
    [f=-000001] Shutdown - Shockwaves
    [f=-000001] Shutdown - Lups Cloak FX
    [f=-000001] Shutdown - LupsSyncedManager
    [f=-000001] Shutdown - Lups
    [f=-000001] End gadgetHandler:Shutdown
    [f=-000001] [LuaMemPool::LogStats][handle=LuaRules (unsynced)] index=4294967295 {blocks,sizes}={0,0} {int,ext,rec}Allocs={0,1368870,0} {chunk,block}Bytes={0,0}
    [f=-000001] [LuaMemPool::LogStats][handle=LuaRules (synced)] index=4294967295 {blocks,sizes}={0,0} {int,ext,rec}Allocs={0,1368870,0} {chunk,block}Bytes={0,0}
    [f=-000001] [Game::KillLua][3] dtor=0 luaUI=2074cc48
    [f=-000001] Reloaded cmdcolors from file: cmdcolors.tmp
    [f=-000001] [LuaMemPool::LogStats][handle=LuaUI (unsynced)] index=4294967295 {blocks,sizes}={0,0} {int,ext,rec}Allocs={0,1369518,0} {chunk,block}Bytes={0,0}
    [f=-000001] [Game::KillLua][4] dtor=0
    [f=-000001] [~CDemoRecorder] writing demo "C:\Users\PicassoCT\Documents\My Games\Spring\demos\20180815_112721_Caeserea 6_104.sdfz"
    [f=-000001] [Sound] [~CSound][1] soundThread=03ab9ed4
    [f=-000001] [WatchDog::DeregisterThread] deregistering controls for thread [audio]
    [f=-000001] [Sound] [Sound::UpdateThread][3] efx=051ec8a0
    [f=-000001] [Sound] [Sound::UpdateThread][4] ctx=04bf3920 dev=05204010
    [f=-000001] [Sound] [Sound::UpdateThread][5]
    [f=-000001] [Sound] [~CSound][2]
    [f=-000001] [Sound] [~CSound][3]
    [f=-000001] [Game::~CGame][1]
    [f=-000001] [Game::KillLua][0] dtor=1 loadscreen=00000000
    [f=-000001] [Game::KillLua][1] dtor=1 luaGaia=00000000
    [f=-000001] [Game::KillLua][2] dtor=1 luaRules=00000000
    [f=-000001] [Game::KillLua][3] dtor=1 luaUI=00000000
    [f=-000001] [Game::KillLua][4] dtor=1
    [f=-000001] [Game::KillMisc][1]
    [f=-000001] [Game::KillMisc][2]
    [f=-000001] [Game::KillMisc][3]
    [f=-000001] [Game::KillRendering][1]
    [f=-000001] [Game::KillInterface][1]
    [f=-000001] [Game::KillInterface][2]
    [f=-000001] [Game::KillSimulation][1]
    [f=-000001] [Game::KillSimulation][2] unitHandler=04bf1eb0
    [f=-000001] [CCollisionHandler] dis-/continuous tests: 0/53822
    [f=-000001] [Game::KillSimulation][3]
    [f=-000001] [~CPathCache(16x16)] cacheHits=0 hitPercentage=0% numHashColls=0 maxCacheSize=0
    [f=-000001] [~CPathCache(16x16)] cacheHits=0 hitPercentage=0% numHashColls=0 maxCacheSize=0
    [f=-000001] [~CPathCache(32x32)] cacheHits=0 hitPercentage=0% numHashColls=0 maxCacheSize=0
    [f=-000001] [~CPathCache(32x32)] cacheHits=0 hitPercentage=0% numHashColls=0 maxCacheSize=0
    [f=-000001] Statistics for RectangleOptimizer: 0%
    [f=-000001] Statistics for RectangleOptimizer: 0%
    [f=-000001] LosHandler stats: total instances=2; shared=0%; from cache=50%
    [f=-000001] [Game::KillSimulation][4]
    [f=-000001] [Game::~CGame][2]
    [f=-000001] [Game::~CGame][3]
    [f=-000001] [SpringApp::Kill][3]
    [f=-000001] [LocalConnection::Statistics]
    	Received: 1758 bytes
    	Sent: 1369 bytes
    
    [f=-000001] [SpringApp::Kill][4] font=043fddb0
    [f=-000001] [SpringApp::Kill][5]
    [f=-000001] [SpringApp::Kill][6]
    [SpringApp::Kill][7]
    [LuaSocket] Dumping luasocket rules:
    [LuaSocket] TCP_CONNECT ALLOW * -1
    [LuaSocket] TCP_LISTEN  ALLOW * -1
    [LuaSocket] UDP_CONNECT ALLOW * -1
    [LuaSocket] UDP_LISTEN  ALLOW * -1
    [SpringApp::Kill][8]
    [WatchDog::DeregisterThread] deregistering controls for thread [main]
    [WatchDog::Uninstall][1] hangDetectorThread=0107bed0 (joinable=1)
    [WatchDog::Uninstall][2]
    [WatchDog::Uninstall][3]
    [SpringApp::Kill][9]
    
    txt file icon infolog-2.txt (41,389 bytes) 2018-08-15 11:29 +
  • pdf file icon State_Diagram.pdf (91,017 bytes) 2018-08-15 11:35
  • xml file icon Software_Design.svg.xml (58,997 bytes) 2018-08-15 11:41

-Relationships
+Relationships

-Notes

~0019291

abma (administrator)

infolog.txt?

> But once i try to limit this to a specific ip - i do no longer receive communication-data.

can you point to the specific code?

~0019292

StickyStains (reporter)

icassoCT/Journeywar/blob/9e0810e3a62d647c63ae5e0de03951ef487a8a54/LuaUI/widgets/gui_arCam.lua

This contains the whole AR-Device widget. All Communication is controlled by a simple Statemachine, that is defined in a Table at the end of the file called : communicationStateMachine.

At the beginning it waits for a broadcast by the device. This broadcast is recieved (I currently send the packages manually with package sender from my phone).

After the broadcast is recived, it opens another UDP-port, and waits for the Configuration message from the device.

If the message is send manually to a specific ip, it is never received.
If it send via broadcast, it is recived, by the second, more limited UDP-Port.

To clarify, i dont think there is a bug here, i just might have configured the whole thing wrong.

http://paste.springfiles.com/view/5da0566a

I tryied to use this as a example.

~0019293

StickyStains (reporter)

https://github.com/PicassoCT/Journeywar/blob/9e0810e3a62d647c63ae5e0de03951ef487a8a54/LuaUI/widgets/gui_arCam.lua

~0019294

abma (administrator)

> lua: server.lua:1: module 'common' not found:

where is common.lua?

~0019295

abma (administrator)

+ infolog.txt

~0019296

StickyStains (reporter)

server.lua is part of a loeve project i downloaded, which had the same udp-socket implementation in the c++ part of the engine.

~0019297

abma (administrator)

Last edited: 2018-08-15 00:57

View 2 revisions

i've set in common.lua:

G_PORT = 9000
B_PORT = 8090

and in server.lua moved
        assert(broadcast:setoption('broadcast', true))
below
        assert(broadcast:setsockname("*", B_PORT))


then i get:
[f=0016636] Recieved text ERROR:10,Invalid command. from 192.168.1.254



tcpdump says it communicates probably:

00:53:58.583721 IP 192.168.1.205.9000 > 255.255.255.255.9000: UDP, length 24
00:53:58.584105 IP 192.168.1.254.9000 > 192.168.1.205.9000: UDP, length 25

~0019298

abma (administrator)

side note:

the code is VERY unreadable. you should fix that :-|

~0019299

abma (administrator)

i don't understand what doesn't work.

did you set
UDPAllowConnect = *:-1

in springsettings?

without posting your infolog.txt with the errors/problems inside i refuse to help any more.

~0019300

StickyStains (reporter)

I have
UDPAllowConnect=*
and
UDPAllowListen=*

~0019301

StickyStains (reporter)

I modified the settings to UDPAllowConnect = *:-1 and the same for Listening.

Still shows the same behavior.

I added a wireshark capture of all packages involved. The broadcast always wents through, while the device only ones are passed over.

Regarding code quality:
https://www.joelonsoftware.com/2000/04/06/things-you-should-never-do-part-i/

~0019302

StickyStains (reporter)

Sorry, first package drop was unfiltered

~0019303

abma (administrator)

infolog.txt is incomplete... can you post one containing a failing try?

~0019304

StickyStains (reporter)

Added a new infolog, this time with no broadcast messages beyond the initial broadcast.

As expected the state_machine is stuck in waiting for cfg.

~0019305

StickyStains (reporter)

Adding a State Diagram to better explain the communication

~0019306

StickyStains (reporter)

All is full of watermarks :(

~0019307

abma (administrator)

Last edited: 2018-08-15 12:17

View 2 revisions

tcpdump -r ar_package_drop-2.pcapng -vv

reading from file ar_package_drop-2.pcapng, link-type EN10MB (Ethernet)
09:20:28.584634 IP (tos 0x0, ttl 128, id 28354, offset 0, flags [none], proto UDP (17), length 112, bad cksum 0 (->f1ab)!)
    192.168.178.20.63763 > 162.254.196.83.27017: [bad udp cksum 0xda7c -> 0x098d!] UDP, length 84
09:20:37.598839 IP (tos 0x0, ttl 128, id 28355, offset 0, flags [none], proto UDP (17), length 112, bad cksum 0 (->f1aa)!)
    192.168.178.20.63763 > 162.254.196.83.27017: [bad udp cksum 0xda7c -> 0xb124!] UDP, length 84
09:20:46.611904 IP (tos 0x0, ttl 128, id 28356, offset 0, flags [none], proto UDP (17), length 112, bad cksum 0 (->f1a9)!)
    192.168.178.20.63763 > 162.254.196.83.27017: [bad udp cksum 0xda7c -> 0xb63f!] UDP, length 84
09:20:47.033423 IP (tos 0x0, ttl 122, id 17966, offset 0, flags [DF], proto UDP (17), length 64)
    162.254.196.83.27017 > 192.168.178.20.63763: [udp sum ok] UDP, length 36

why are total different ports used and the ip's are different too? also i don't see a broadcast?!

bad udp cksum could be because of udp checksum offload.

did you try with firewall disabled?

if i understood you correctly the last packet is not received:

162.254.196.83.27017 > 192.168.178.20.63763

~0019308

StickyStains (reporter)

Another thing i noticed- the package is received, as long as i send it to the correct IP- with the broadcast port.

~0019323

abma (administrator)

i don't see a bug in spring...

follow up: https://springrts.com/phpbb/viewtopic.php?f=21&p=587178
+Notes

-Issue History
Date Modified Username Field Change
2018-08-14 14:07 StickyStains New Issue
2018-08-14 15:23 abma Note Added: 0019291
2018-08-14 21:34 StickyStains Note Added: 0019292
2018-08-14 21:35 StickyStains Note Added: 0019293
2018-08-14 23:01 abma Note Added: 0019294
2018-08-14 23:04 abma Note Added: 0019295
2018-08-14 23:53 StickyStains File Added: exampleLuaServer.7z
2018-08-14 23:53 StickyStains Note Added: 0019296
2018-08-15 00:57 abma Note Added: 0019297
2018-08-15 00:57 abma Note Added: 0019298
2018-08-15 00:57 abma Note Edited: 0019297 View Revisions
2018-08-15 01:02 abma Assigned To => abma
2018-08-15 01:02 abma Status new => feedback
2018-08-15 01:02 abma Note Added: 0019299
2018-08-15 09:00 StickyStains File Added: infolog.txt
2018-08-15 09:00 StickyStains Note Added: 0019300
2018-08-15 09:00 StickyStains Status feedback => assigned
2018-08-15 09:26 StickyStains File Added: ar_package_drop.pcapng
2018-08-15 09:26 StickyStains Note Added: 0019301
2018-08-15 09:27 StickyStains File Added: ar_package_drop-2.pcapng
2018-08-15 09:27 StickyStains Note Added: 0019302
2018-08-15 10:34 abma Note Added: 0019303
2018-08-15 11:25 abma File Deleted: ar_package_drop.pcapng
2018-08-15 11:29 StickyStains File Added: infolog-2.txt
2018-08-15 11:29 StickyStains Note Added: 0019304
2018-08-15 11:35 StickyStains File Added: State_Diagram.pdf
2018-08-15 11:35 StickyStains Note Added: 0019305
2018-08-15 11:41 StickyStains File Added: Software_Design.svg.xml
2018-08-15 11:42 StickyStains Note Added: 0019306
2018-08-15 12:16 abma Note Added: 0019307
2018-08-15 12:17 abma Note Edited: 0019307 View Revisions
2018-08-15 12:24 StickyStains Note Added: 0019308
2018-08-26 19:54 abma Status assigned => resolved
2018-08-26 19:54 abma Resolution open => no change required
2018-08-26 19:54 abma Note Added: 0019323
+Issue History