SMACheck doesn't rely on the SMACbans API anymore. If it's unavailable 3rd parties can still be checked and viewed
This commit is contained in:
parent
75aa604de8
commit
3bdba12aab
|
@ -14,7 +14,7 @@
|
|||
|
||||
;#AutoIt3Wrapper_Res_ProductVersion=x.x.x.x ; Broken, use #AutoIt3Wrapper_Res_Field=ProductVersion|x.x.x as workarround.
|
||||
#AutoIt3Wrapper_Res_Field=ProductVersion|Freeware
|
||||
#AutoIt3Wrapper_Res_Fileversion=1.1.3.103
|
||||
#AutoIt3Wrapper_Res_Fileversion=1.1.3.104
|
||||
#AutoIt3Wrapper_Res_FileVersion_AutoIncrement=N ;(Y/N/P) AutoIncrement FileVersion After Aut2EXE is finished. default=N. P=Prompt, Will ask at Compilation time if you want to increase the versionnumber
|
||||
#AutoIt3Wrapper_Res_Language=1033 ;Resource Language code . german = 1031, english (U.S.) = 1033. default 2057=English (United Kingdom). For a List see http://technet.microsoft.com/en-us/library/dd346950.aspx
|
||||
|
||||
|
|
|
@ -99,6 +99,10 @@ Func lookupSteamId($input)
|
|||
$return[11] = $bEsl[1]
|
||||
EndIf
|
||||
|
||||
If $pStatus[1] = -1 Then
|
||||
$return[0] = "-1"
|
||||
EndIf
|
||||
|
||||
Else
|
||||
_printError("noapi")
|
||||
Return "ERROR_HANDELED"
|
||||
|
|
6
main.au3
6
main.au3
|
@ -133,10 +133,14 @@ Func gui_Info($output)
|
|||
$oStatus = GUICtrlCreateLabel("SteamID is listed on SMACbans", 72, 12, 215, 17)
|
||||
GUICtrlSetFont(-1, 8.5, 800)
|
||||
GUICtrlSetColor(-1, 0xD11313)
|
||||
Else
|
||||
ElseIf $pInfo[0] = 0 Then
|
||||
$oStatus = GUICtrlCreateLabel("SteamID is not listed on SMACbans", 72, 12, 215, 17)
|
||||
GUICtrlSetFont(-1, 8.5, 800)
|
||||
GUICtrlSetColor(-1, 0x245E00)
|
||||
ElseIf $pInfo[0] = -1 Then
|
||||
$oStatus = GUICtrlCreateLabel("Could not fetch info from SMACbans", 72, 12, 215, 17)
|
||||
GUICtrlSetFont(-1, 8.5, 800)
|
||||
GUICtrlSetColor(-1, 0xFF8000)
|
||||
EndIf
|
||||
GUICtrlSetBkColor($oStatus, $GUI_BKCOLOR_TRANSPARENT)
|
||||
$gNick = GUICtrlCreateLabel("Nick:", 24, 36, 48, 17)
|
||||
|
|
Reference in New Issue