Yup, that works.
AweDeus
Member Since 11 May 2015Offline Last Active Sep 21 2016 02:06 PM
Community Stats
- Group Member
- Active Posts 4
- Profile Views 2575
- Age Age Unknown
- Birthday Birthday Unknown
-
Gender
Not Telling
User Tools
Friends
AweDeus hasn't added any friends yet.
Latest Visitors
No latest visitors to show
Posts I've Made
In Topic: BiG World Setup (an attempt to update the program)
22 August 2016 - 12:44 PM
In Topic: BiG World Setup (an attempt to update the program)
22 August 2016 - 11:59 AM
Hmf... Ok i try.
In Topic: BiG World Setup (an attempt to update the program)
22 August 2016 - 10:13 AM
BG:EE trilogy / RU EN / expert
In Topic: BiG World Setup (an attempt to update the program)
22 August 2016 - 01:03 AM
Hmf... Can't pick "expert" in pre-selection mod menu. When its loading i get this error
what's wrong with that?
Func _Depend_GetActiveConflictAdv($p_String, $p_RuleID, $p_Show)
Local $p_Debug=0
If $p_Debug Then FileWrite($g_LogFile, '_Depend_GACA_'&$p_RuleID&': $p_String = '&$p_String&' for '&$g_Connections[$p_RuleID][0]&'=C:'&$g_Connections[$p_RuleID][1]&@CRLF)
If StringInStr($p_String, '>') Then
_PrintDebug("! Error ! Invalid conflict rule (contains both '>' and ':') in Connections section of "&$g_ConnectionsConfDir&'\Game.ini: '&$Return[$r][0]&'='&$Return[$r][1], 1)
Exit
EndIf
$p_String=StringSplit($p_String, ':')
Local $Active, $Test[$p_String[0]+1][50]
For $s=1 to $p_String[0]
$Active=_Depend_ItemGetSelected($p_String[$s])
For $r=1 to $Active[0][0]
If StringInStr($p_String[$s], '&') And $Active[0][1] <> $Active[0][0] Then $r=$Active[0][0]; skip if all are required and not all are active
If $Active[$r][1] = 1 Then
$Test[$s][0]+=1
$Test[$s][$Test[$s][0]]=$Active[$r][0]
EndIf
Next
If $Test[$s][0] <> 0 Then $Test[0][0] += 1
Next
If $Test[0][0] <= 1 Then Return; no multiple conflicts were selected
Local $IsConflict = 0
Local $Warning = ''
If $g_Connections[$p_RuleID][4]=1 Then $Warning=' **'
For $s=1 to $p_String[0]
If $Test[$s][0] <> 0 Then
Local $Prefix = ''
For $r=1 to $Test[$s][0]
If $p_Show=1 Then GUICtrlCreateListViewItem($Prefix&$g_CentralArray[$Test[$s][$r]][4]&$Warning & '|' & $g_CentralArray[$Test[$s][$r]][3], $g_UI_Interact[10][1])
_Depend_ActiveAddItem('C', $p_RuleID, $Test[$s][$r], $s)
$Prefix='+ '
If $p_Show=1 And $IsConflict = 1 Then GUICtrlSetBkColor(-1, 0xFF0000)
Next
$IsConflict = 1
$Warning = ''
EndIf
Next
EndFunc ;==>_Depend_GetActiveConflictAdv
- Spellhold Studios
- → Viewing Profile: Posts: AweDeus
- Guidelines


Find content