Jump to content

Bug with Changeset 24217


Zewlakov
 Share

Recommended Posts

Correction: you can, but you need to move further than the building-preview indicates.

@wraitii, it appears that building-previews are not respecting BuildRestriction's MinDistance, but transitioning from being red-hued to normal a little prematurely. (This also happens with towers.)

After a little research: the value of it->second.size on CCmpRangeManager::1385 is 0 for building-previews. (Is it because it's a building-preview, or because its a local-entity?) Either way, the obstruction radius of the building being previewing isn't taken into consideration. Once a player tries to place a foundation, one final check - this time with the foundation, for which the value is > 0 - is made and suddenly the distance is too small...

Edited by s0600204
Did some digging
Link to comment
Share on other sites

I got one: 

Spoiler

ERROR: Errors executing script event "SelectionChange"

ERROR: JavaScript error: gui/session/session.js line 657 Engine.Renderer_SetSilhouettesEnabled is not a function updateCinemaPath@gui/session/session.js:657:2 onSimulationUpdate@gui/session/session.js:641:2 resetTemplates@gui/session/session.js:438:2 onSelectionChange@gui/session/top_panel/PlayerViewControl.js:119:4 selectViewPlayer@gui/session/top_panel/PlayerViewControl.js:81:3 onPlayersInit@gui/session/top_panel/PlayerViewControl.js:60:3 init@gui/session/session.js:308:3 reallyStartGame@gui/loading/loading.js:22:2

ERROR: JavaScript error: gui/session/session.js line 657 Engine.Renderer_SetSilhouettesEnabled is not a function updateCinemaPath@gui/session/session.js:657:2 onSimulationUpdate@gui/session/session.js:641:2 init@gui/session/session.js:322:2 reallyStartGame@gui/loading/loading.js:22:2

ERROR: GUI page 'page_session.xml': Failed to call init() function

ERROR: Errors executing script event "SimulationUpdate"

ERROR: JavaScript error: gui/session/session.js line 657 Engine.Renderer_SetSilhouettesEnabled is not a function updateCinemaPath@gui/session/session.js:657:2 onSimulationUpdate@gui/session/session.js:641:2 __eventhandler100 (SimulationUpdate)@session SimulationUpdate:0:1

 

Link to comment
Share on other sites

I've just updated to 24232 and gotthis error:

WARNING: MSAA is unsupported.

ERROR: Failed to load effect 'cas'

 

Spoiler

Assertion failed: "0 && (L"Can't find a usable technique")"
Location: ShaderManager.cpp:489 (CShaderManager::NewEffect)

Call stack:

CShaderManager::NewEffect (shadermanager.cpp:489)
    this = (unavailable)
    name = 0x08DB1B88 -> "cas"
    baseDefines = 0x006FEBB4 ->
        
            m_Items = 0x08E2D708 ->
                items = (unsupported vector<pair<CStrIntern,CStrIntern> >)
                hash = 1912632625 (0x72007531)

 

    tech = 0x006FEBB8 -> (shared_ptr<CShaderTechnique>)
    XeroFile =
        
            m_Pointer = 0x08F60055 -> [8] { 126 ('~'), 0, 0, 0, 0, 0, 0, 0 }
            m_ElementNameCount = 4 (0x00000004)
            m_AttributeNameCount = 2 (0x00000002)
            m_ElementPointer = 0x08F6000C -> [8] { 7, 0, 0, 0, 101 ('e'), 102 ('f'), 102 ('f'), 101 ('e') }
            m_AttributePointer = 0x08F6003E -> [8] { 7, 0, 0, 0, 115 ('s'), 104 ('h'), 97 ('a'), 100 ('d') }

        m_XMBBuffer = (shared_ptr<unsigned char>)

    Root =
        m_Pointer = 0x08F60055 (see above)

    techDefines =
        
            m_Items = 0x003801C0 ->
                items = (unsupported vector<pair<CStrIntern,CStrIntern> >)
                hash = 262149 (0x00040005)

 

    profile2__ =
        m_Name = 0x00B43938 -> "loading effect"

    preprocessor =
        m_Preprocessor =
            Source = 0x08DB1CC8 -> "m"
            SourceEnd = 0x00CA0000 -> "pYløT"
            Line = 1473698672 (0x57D6DB70)
            BOL = (bool)0x88
            EnableOutput = 7334300 (0x006FE99C)
            EnableElif = 11167306 (0x00AA664A)
            MacroList = (forward_list<Ogre::CPreprocessor::Macro >)


    usableTechs = (unsupported vector<pair<XMBElement,int> >)
    xmlFilename =
        path = (unsupported basic_string<wchar_t,char_traits<wchar_t> >)
        separator = 47 ('/')

    pass =
        m_Shader = (shared_ptr<CShaderProgram>)
        m_HasAlpha = (bool)0x60
        m_AlphaFunc = 374 (0x00000176)
        m_AlphaRef = 0.000000 (0x00000000)
        m_HasBlend = (bool)0x56
        m_BlendSrc = 148562272 (0x08DAE160)
        m_BlendDst = 32 (0x00000020)
        m_HasColorMask = (bool)0x98
        m_ColorMaskR = 0 (0x00)
        m_ColorMaskG = 209 (0xD1)
        m_ColorMaskB = 0 (0x00)
        m_ColorMaskA = 32 (0x20)
        m_HasDepthMask = false
        m_DepthMask = 0 (0x00)
        m_HasDepthFunc = false
        m_DepthFunc = 12779672 (0x00C30098)

    program = (shared_ptr<CShaderProgram>)
    <begin>$L0 =
        m_Size = 1 (0x00000001)
        m_CurItemID = 1 (0x00000001)
        m_CurPointer = 0x08F600D3 -> [8] { 0, 0, 0, 0, 0, 0, 0, 0 }
        m_Pointer = 0x08F6006D -> "f"

    Technique =
        m_Pointer = 0x08F6006D (see above)

    <begin>$L1 =
        m_Size = 2 (0x00000002)
        m_CurItemID = 2 (0x00000002)
        m_CurPointer = 0x08F600D3 (see above)
        m_Pointer = 0x08F60085 -> [8] { 37 ('%'), 0, 0, 0, 2, 0, 0, 0 }

    Child =
        m_Pointer = 0x08F600AA -> [8] { 41 (')'), 0, 0, 0, 1, 0, 0, 0 }

    Attrs =
        m_Size = 1 (0x00000001)
        m_Pointer = 0x08F600C2 -> [8] { 0, 0, 0, 0, 9, 0, 0, 0 }
        m_CurItemID = 0 (0x00000000)
        m_CurPointer = 0x08F600C2 (see above)
        m_EndPointer = 0x08F600D3 (see above)

    cond = { (unsupported basic_string<char,char_traits<char> >) }
    <begin>$L2 =
        m_Size = 150339778 (0x08F600C2)
        m_CurItemID = 0 (0x00000000)
        m_CurPointer = 0x08F600C2 (see above)
        m_Pointer = 0x08F600D3 (see above)

    Child =
        m_Pointer = 0x00000064

    passDefines =
        
            m_Items = 0x00000001


    pass =
        m_Shader = (shared_ptr<CShaderProgram>)
        m_HasAlpha = (bool)0x60
        m_AlphaFunc = 374 (0x00000176)
        m_AlphaRef = 0.000000 (0x00000000)
        m_HasBlend = (bool)0x56
        m_BlendSrc = 148562272 (0x08DAE160)
        m_BlendDst = 32 (0x00000020)
        m_HasColorMask = (bool)0x98
        m_ColorMaskR = 0 (0x00)
        m_ColorMaskG = 209 (0xD1)
        m_ColorMaskB = 0 (0x00)
        m_ColorMaskA = 32 (0x20)
        m_HasDepthMask = false
        m_DepthMask = 0 (0x00)
        m_HasDepthFunc = false
        m_DepthFunc = 12779672 (0x00C30098)

    <begin>$L3 =
        m_Size = 1 (0x00000001)
        m_CurItemID = 1 (0x00000001)
        m_CurPointer = 0x08F600D3 (see above)
        m_Pointer = 0x08F6006D (see above)

    Element =
        m_Pointer = 0x08F6006D (see above)

    ref = -nan (0xFFFFFFFF)

CShaderManager::LoadEffect (shadermanager.cpp:370)
    this = (unavailable)
    name =
        m = 0x08DB1B88 (see above)

    defines1 = 0x006FEC14 ->
        
            m_Items = 0x08E2D708 (see above)


    defines2 = 0x006FEC18 ->
        
            m_Items = 0x00CEFA68 ->
                items = (unsupported vector<pair<CStrIntern,CStrIntern> >)
                hash = 0 (0x00000000)

 

    it = (unsupported _List_iterator<_List_val<_List_simple_types<pair<CShaderManager::EffectCacheKey const ,shared_ptr<CShaderTechnique> > > > >)
    key =
        name =
            m = 0x08DB1B88 (see above)

        defines1 =
            
                m_Items = 0x08E2D708 (see above)


        defines2 =
            
                m_Items = 0x00CEFA68 (see above)

 

    defines =
        
            m_Items = 0x08E2D708 (see above)


    tech = (shared_ptr<CShaderTechnique>)

CShaderManager::LoadEffect (shadermanager.cpp:352)
    this = (unavailable)
    name =
        m = 0x08DB1B88 (see above)


CPostprocManager::UpdateSharpeningTechnique (postprocmanager.cpp:666)
    this = (unavailable)
    newSharpName = { (unsupported basic_string<char,char_traits<char> >) }

CConfigDB::RegisterHookAndCall (configdb.cpp:481)
    this = (unavailable)
    name = 0x006FED1C -> { (unsupported basic_string<char,char_traits<char> >) }
    hook = (function<void __cdecl(void)>)

CRenderingOptions::SetupConfig (renderingoptions.cpp:114)
    this = (unavailable)
    name = { (unsupported basic_string<char,char_traits<char> >) }
    hook = (function<void __cdecl(void)>)

CRenderingOptions::ReadConfig (renderingoptions.cpp:152)
    this = (unavailable)

InitRenderer (gamesetup.cpp:599)
    LINE_591_ =
        m_t0 = 1.77363 (0x3FFC60CE76F0F825)
        m_description = 0x00B37E00 -> "InitRenderer"

    vp =
        m_X = 0 (0x00000000)
        m_Y = 7335356 (0x006FEDBC)
        m_Width = 11764896 (0x00B384A0)
        m_Height = 7335348 (0x006FEDB4)


InitGraphics (gamesetup.cpp:1047)
    args = (unavailable)
    flags = (unavailable)
    installedMods = (unavailable)
    profilerGPUEnable = false
    setup_vmode = false
    renderPath = { (unsupported basic_string<char,char_traits<char> >) }
    context = "n"
    buf = "ooo"
    context = "n"
    context = "n"
    rq =
        cx = 0x00000001
        glob = 0x64616873 -> (JSObject)
        m_formerCompartment = 0x00007265

    data =
        {
                (js::ValueOperations<JS::Rooted<JS::Value> >)
 }
        stack = 0x00000000
        prev = 0x0000000F
        ptr =
            data =
                asBits = 31244010185293934 (0x006F00430074006E)
                s = { payload =
                        i32 = 7602286 (0x0074006E)
                        u32 = 7602286 (0x0074006E)
                        boo = 7602286 (0x0074006E)
                        str = 0x0074006E -> (JSString)
                        sym = 0x0074006E (see above)
                        obj = 0x0074006E (see above)
                        cell = 0x0074006E (see above)
                        ptr = 0x0074006E (see above)
                        why = 7602286
                        word = 7602286 (0x0074006E)
                        uintptr = 7602286 (0x0074006E)
, tag = 7274563 }
                asDouble = 1.37959e-306 (0x006F00430074006E)
                asPtr = 0x0074006E (see above)

 

    setup_gui = (bool)0x02
    scriptInterface = (shared_ptr<ScriptInterface>)
    e = 0x00000000

RunGameOrAtlas (main.cpp:711)
    argc = 1 (0x00000001)
    argv = 0x00C80008 -> 0x00C80028 -> "C:\Users\Mr.lie\AppData\Local\0ad\binaries\system\pyrogenesis.exe"
    args =
        m_Args = (unsupported vector<pair<CStr8,CStr8> >)
        m_Arg0 =
            path = (unsupported basic_string<wchar_t,char_traits<wchar_t> >)
            separator = 92 ('\')

        m_ArgsWithoutName = (unsupported vector<CStr8 >)

    isNonVisual = false
    scriptEngine =
        (Singleton<ScriptEngine>)
        m_Contexts = (unsupported list<JSContext const * >)

    res = 1.28262e-314 (0x000000009ABCAF48)
    modsToInstall = (unsupported vector<Path >)
    replayFile =
        path = (unsupported basic_string<wchar_t,char_traits<wchar_t> >)
        separator = 47 ('/')

    modPath =
        path = (unsupported basic_string<wchar_t,char_traits<wchar_t> >)
        separator = 0

    paths =
        m_root =
            path = (unsupported basic_string<wchar_t,char_traits<wchar_t> >)
            separator = 0

        m_rdata =
            path = (unsupported basic_string<wchar_t,char_traits<wchar_t> >)
            separator = 4433

        m_gameData =
            path = (unsupported basic_string<wchar_t,char_traits<wchar_t> >)
            separator = 0

        m_userData =
            path = (unsupported basic_string<wchar_t,char_traits<wchar_t> >)
            separator = 25433

        m_config =
            path = (unsupported basic_string<wchar_t,char_traits<wchar_t> >)
            separator = 0

        m_cache =
            path = (unsupported basic_string<wchar_t,char_traits<wchar_t> >)
            separator = 65534

        m_logs =
            path = (unsupported basic_string<wchar_t,char_traits<wchar_t> >)
            separator = 62344


    replay =
        m_Stream = 0x00000000

    builder =
        m_VFS = (shared_ptr<IVFS>)
        m_Files = (unsupported vector<Path >)
        m_TempDir =
            path = (unsupported basic_string<wchar_t,char_traits<wchar_t> >)
            separator = 0

        m_NumBaseMods = 2001531784 (0x774CF388)

    paths =
        m_root =
            path = (unsupported basic_string<wchar_t,char_traits<wchar_t> >)
            separator = 62344

        m_rdata =
            path = (unsupported basic_string<wchar_t,char_traits<wchar_t> >)
            separator = 64640

        m_gameData =
            path = (unsupported basic_string<wchar_t,char_traits<wchar_t> >)
            separator = 64704

        m_userData =
            path = (unsupported basic_string<wchar_t,char_traits<wchar_t> >)
            separator = 55024

        m_config =
            path = (unsupported basic_string<wchar_t,char_traits<wchar_t> >)
            separator = 25352

        m_cache =
            path = (unsupported basic_string<wchar_t,char_traits<wchar_t> >)
            separator = 4433

        m_logs =
            path = (unsupported basic_string<wchar_t,char_traits<wchar_t> >)
            separator = 25433


    mod =
        path = (unsupported basic_string<wchar_t,char_traits<wchar_t> >)
        separator = 64800

    zip =
        path = (unsupported basic_string<wchar_t,char_traits<wchar_t> >)
        separator = 64880

    mods = (unsupported vector<CStr8 >)
    installedMods = (unsupported vector<CStr8 >)
    paths =
        m_root =
            path = (unsupported basic_string<wchar_t,char_traits<wchar_t> >)
            separator = 62344

        m_rdata =
            path = (unsupported basic_string<wchar_t,char_traits<wchar_t> >)
            separator = 64640

        m_gameData =
            path = (unsupported basic_string<wchar_t,char_traits<wchar_t> >)
            separator = 64704

        m_userData =
            path = (unsupported basic_string<wchar_t,char_traits<wchar_t> >)
            separator = 55024

        m_config =
            path = (unsupported basic_string<wchar_t,char_traits<wchar_t> >)
            separator = 25352

        m_cache =
            path = (unsupported basic_string<wchar_t,char_traits<wchar_t> >)
            separator = 4433

        m_logs =
            path = (unsupported basic_string<wchar_t,char_traits<wchar_t> >)
            separator = 25433


    installer =
        m_VFS = (shared_ptr<IVFS>)
        m_ModsDir =
            path = (unsupported basic_string<wchar_t,char_traits<wchar_t> >)
            separator = 35092

        m_TempDir =
            path = (unsupported basic_string<wchar_t,char_traits<wchar_t> >)
            separator = 65188

        m_CacheDir =
            path = (unsupported basic_string<wchar_t,char_traits<wchar_t> >)
            separator = 16680

        m_InstalledMods = (unsupported vector<CStr8 >)


SDL_main (main.cpp:764)
    argc = 1 (0x00000001)
    argv = 0x00C80008 (see above)

main_utf8 (sdl_windows_main.c:126)
    argc = 1 (0x00000001)
    argv = 0x00C80008 (see above)

wmain (sdl_windows_main.c:151)
    argc = 1 (0x00000001)
    wargv = 0x00CC5020 -> 0x00CC5028 -> 67 (0x0043)
    wenvp = 0x00CC7EC0 -> 40768 (0x9F40)
    argv = 0x00C80008 (see above)
    retval = 0 (0x00000000)
    i = 1 (0x00000001)

__scrt_common_main_seh (exe_common.inl:253)
    has_cctor = false
    is_nested = false

CallStartupWithinTryBlock (wseh.cpp:365)
    ret = 10857952 (0x00A5ADE0)

RtlGetAppContainerNamedObjectPath (:0)

RtlGetAppContainerNamedObjectPath (:0)


errno = 0 (No error reported here)
OS error = 0 (no error code was set)

 

Edited by Mr.lie
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...