Skip to content

Critical when resyncing typedefs block #1413

Closed
@mtwango

Description

@mtwango
WARNING:Resource 'C:/sphereX/scripts/spheredefs.scp' changed, resync.
WARNING:Resource 'C:/sphereX/scripts/testdefs.scp' changed, resync.
CRITICAL:(testdefs.scp,9)Assert severity=2: 'destArray.find_sorted(rid) == sl::scont_bad_index()' file 'D:\a\Source-X\Source-X\src\common\resource\CResourceHash.cpp', line 57, in ExcType=CAssert catched in CServerConfig::LoadResourceSection()
DEBUG:Printing STACK TRACE for debugging purposes.
DEBUG: ______ thread (id) name _____ |   # | _____________ function _____________ |
DEBUG:(9ba8)          T_Main |   0 |                     CServer::_OnTick | 
DEBUG:(9ba8)          T_Main |   1 |                CServer::OnConsoleCmd | 
DEBUG:(9ba8)          T_Main |   2 |              CServer::SetResyncPause | 
DEBUG:(9ba8)          T_Main |   3 |                  CServerConfig::Load | 
DEBUG:(9ba8)          T_Main |   4 |              CResourceScript::ReSync | 
DEBUG:(9ba8)          T_Main |   5 |   CResourceHolder::LoadResourcesOpen | 
DEBUG:(9ba8)          T_Main |   6 |   CServerConfig::LoadResourceSection | <-- exception catch point (below is guessed and could be incorrect!)
DEBUG:(9ba8)          T_Main |   7 |                       CLog::EventStr | 
DEBUG:(9ba8)          T_Main |   8 |             CSFileText::_WriteString | 
DEBUG:(9ba8)          T_Main |   9 |                   CSFileText::_Write | 
DEBUG:(9ba8)          T_Main |  10 |                        CSFile::_Seek | 
DEBUG:(9ba8)          T_Main |  11 |                        CSFile::_Seek | 
DEBUG:ExcInfo: section 'TYPEDEFS' key 't_normal' args ''
WARNING:Resource 'C:/sphereX/scripts/spheredefs2.scp' changed, resync.
Done loading scripts.

Resync complete!

When file containing typedefs get resynced, it outputs this critical. I guess it doesnt like t_normal being 0.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions