Skip to content

Assert with the latest DEV build #1425

Open
@GladieUO

Description

@GladieUO

looks like it shows on every tooltip shown

19:03:CRITICAL:(e_player_generic_event.scp,132)Assert severity=2: 'sCur.uiType != SType::Unknown' file 'D:\a\Source-X\Source-X\src\common\CExpression.cpp', line 2182, in ExcType=CAssert catched in CScriptObj::TriggerRun() #2 "if statement"
19:03:DEBUG:Printing STACK TRACE for debugging purposes.
19:03:DEBUG: ______ thread (id) name _____ |   # | _____________ function _____________ |
19:03:DEBUG:(4d4c)          T_Main |   0 |                      CWorld::_OnTick | 
19:03:DEBUG:(4d4c)          T_Main |   1 |                   CWorldTicker::Tick | 
19:03:DEBUG:(4d4c)          T_Main |   2 |              CObjBase::ResendTooltip | 
19:03:DEBUG:(4d4c)          T_Main |   3 |               CClient::addAOSTooltip | 
19:03:DEBUG:(4d4c)          T_Main |   4 |                     CChar::OnTrigger | 
19:03:DEBUG:(4d4c)          T_Main |   5 |          CScriptObj::OnTriggerScript | 
19:03:DEBUG:(4d4c)          T_Main |   6 |          CScriptObj::OnTriggerRunVal | 
19:03:DEBUG:(4d4c)          T_Main |   7 |             CScriptObj::OnTriggerRun | <-- exception catch point
19:03:DEBUG:(4d4c)          T_Main |   8 |    CExpression::Evaluate_Conditional | <-- last function call (stack unwinding detected here)
19:03:DEBUG:key 'IF' runtype '1' pargs '000002648DB0DA90' ret '' [0000026497EF5DE0]

IF !(<f_isFemale>) && (<FAME> == 10000)

[FUNCTION f_isFemale]
if (<serv.chardef.<obody>.can>&mt_female)	//Checking on chardef directly here because if you change your body your Can flags won't be updated since they are now stored in the char itself when it creates.
	return 1
endif
return 0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions