Mal wieder ListView Probleme

  • Moin,

    Wie schon gesagt geht es um ein ListView ! Nur nebenbei, ich hasse die Dinger :cursing: . Die wollen einfach nicht bei mir in den Schädel. Naja, vielleicht bald.

    Also mein ListView wird folgendermaßen erstellt:

    [autoit]

    $aButton[38] = GUICtrlCreateListView("1|2|3 ", 480, 210, 310, 300, BitOR($LVS_EX_HEADERDRAGDROP, $LVS_EX_GRIDLINES))
    GUICtrlSendMsg(-1, $LVM_SETCOLUMNWIDTH, 0, 40)
    GUICtrlSendMsg(-1, $LVM_SETCOLUMNWIDTH, 1, 40)
    GUICtrlSendMsg(-1, $LVM_SETCOLUMNWIDTH, 2, 220)

    [/autoit][autoit][/autoit][autoit]

    For $i = 1 To $string2[0] Step 3
    $string2[$i] = StringReplace($string2[$i], "|", "-#-")

    [/autoit][autoit][/autoit][autoit]

    GUICtrlCreateListViewItem($string2[$i] & "|" & $string2[($i + 1)] & "|" & StringReplace($string2[($i + 2)], "|", "-#-"), $aButton[38])
    Next

    [/autoit]

    So und nun möchte ich das z.B. bei einem Doppelklick auf eine Zelle (z.B. Zeile 2 Spalte 3) der Inhalt ausgelesen wird,damit ich ihn weiterverarbeiten kann. Ich hab da schon alles mögliche und auch unmögliche probiert - Es will nicht.

    PLS HELP

  • Na das ist mittlerweile kein Geheimnis mehr :)

    Bsp.:

    Spoiler anzeigen
    [autoit]


    #include <GUIConstants.au3>
    #include <WindowsConstants.au3>
    #include <GUIListView.au3>
    #include <GUIConstantsEx.au3>
    #include <ListViewConstants.au3>

    [/autoit] [autoit][/autoit] [autoit]

    $MainGui = GUICreate("Listview Beispiel", 616, 395, 192, 120)

    [/autoit] [autoit][/autoit] [autoit]

    $ListView = GUICtrlCreateListView("Produkt Name", 8, 8, 498, 214)
    $hListView= GUICtrlGetHandle($ListView)
    $TestItem = GUICtrlCreateListViewItem("TEST1", $ListView)
    $TestItem2 = GUICtrlCreateListViewItem("TEST2", $ListView)
    $hbutton = GUICtrlCreateButton("testbutton", 150,300 , 177, 21)
    Global $test
    GUISetState(@SW_SHOW)
    GUIRegisterMsg($WM_notify, "_DoubleClickOnListView");Die Funktion bei einer WM_Notify Message

    [/autoit] [autoit][/autoit] [autoit][/autoit] [autoit]

    While 1
    $nMsg = GUIGetMsg()
    Switch $nMsg
    Case $GUI_EVENT_CLOSE
    Exit
    EndSwitch
    WEnd

    [/autoit] [autoit][/autoit] [autoit][/autoit] [autoit]

    Func _DoubleClickOnListView($hWnd, $iMsg, $iwParam, $ilParam)
    #forceref $hWnd, $iMsg, $iwParam
    Local $hWndFrom, $iIDFrom, $iCode, $tNMHDR, $iIDFrom

    [/autoit] [autoit][/autoit] [autoit]

    $tNMHDR = DllStructCreate($tagNMHDR, $ilParam)
    $hWndFrom = HWnd(DllStructGetData($tNMHDR, "hWndFrom"))
    $iIDFrom = DllStructGetData($tNMHDR, "IDFrom")
    $iCode = DllStructGetData($tNMHDR, "Code")
    Switch $hWndFrom
    Case $hListView
    Switch $iCode ;checkt wie das Event aussieht
    Case $NM_DBLCLK ;bei einem Doppelklick (markiert das Item farbig)
    ConsoleWrite("DoubleClickOnListView" & @CRLF)
    case $NM_CLICK ;bei einem einfachen Linksclick
    ConsoleWrite("ClickOnListView" & @CRLF)
    case $NM_RCLICK ;der Rechtsclick (hebt die Markeirung auf
    ConsoleWrite("RClickOnListView" & @CRLF)
    EndSwitch
    EndSwitch
    Return $GUI_RUNDEFMSG
    EndFunc ;==>_DoubleClickOnListView

    [/autoit]
    • Offizieller Beitrag

    So kannst du den Inhalt ausgeben:

    Spoiler anzeigen
    [autoit]

    #include <ListViewConstants.au3>
    #include <StructureConstants.au3>
    #include <GUIConstantsEx.au3>
    #include <WindowsConstants.au3>
    #include <GUIListView.au3>

    [/autoit] [autoit][/autoit] [autoit]

    $gui = GUICreate('test')
    $hListView = GUICtrlCreateListView('Spalte1|Spalte2', 10, 10, 300, 200, -1, BitOR($LVS_EX_TRACKSELECT,$LVS_EX_FULLROWSELECT))
    _GUICtrlListView_SetColumnWidth($hListView, 0, 146)
    _GUICtrlListView_SetColumnWidth($hListView, 1, $LVSCW_AUTOSIZE_USEHEADER)
    For $i = 1 To 10
    GUICtrlCreateListViewItem('Zeile ' & $i & ' Spalte 1|Zeile ' & $i & ' Spalte 2', $hListView)
    Next
    GUISetState()
    GUIRegisterMsg($WM_NOTIFY, "WM_NOTIFY")

    [/autoit] [autoit][/autoit] [autoit]

    Do
    $msg = GUIGetMsg()
    Until $msg = $GUI_EVENT_CLOSE

    [/autoit] [autoit][/autoit] [autoit]

    Func _LeftDblClick($Info)
    MsgBox(0, 'Text in Spalte', _GUICtrlListView_GetItemText($Info[0], $Info[1], $Info[2]) )
    EndFunc

    [/autoit] [autoit][/autoit] [autoit][/autoit] [autoit][/autoit] [autoit]

    Func WM_NOTIFY($hWnd, $iMsg, $iwParam, $ilParam)
    Local $hWndFrom, $iIDFrom, $iCode, $tNMHDR, $hWndListView
    $hWndListView = $hListView
    If Not IsHWnd($hListView) Then $hWndListView = GUICtrlGetHandle($hListView)
    $tNMHDR = DllStructCreate($tagNMHDR, $ilParam)
    $hWndFrom = HWnd(DllStructGetData($tNMHDR, "hWndFrom"))
    $iIDFrom = DllStructGetData($tNMHDR, "IDFrom")
    $iCode = DllStructGetData($tNMHDR, "Code")
    If $hWndFrom = $hWndListView And $iCode = $NM_DBLCLK Then
    Local $tInfo = DllStructCreate($tagNMITEMACTIVATE, $ilParam)
    Local $aInfo[3] = [$hWndFrom,DllStructGetData($tInfo, "Index"),DllStructGetData($tInfo, "SubItem")]
    _LeftDblClick($aInfo)
    EndIf
    Return $GUI_RUNDEFMSG
    EndFunc ;==>WM_NOTIFY

    [/autoit] [autoit][/autoit] [autoit][/autoit]

    Ganz wichtig: Unbedingt Ex-Style "$LVS_EX_FULLROWSELECT" für das Listview, sonst erhältst du keine Item-Notifikation beim Klick auf ein SubItem!

  • *grins* hatte schon so ähnliches nur hab ich nicht ans laufen bekommen. Muss ich gleich nochmal austesten

    So mal getestet

    BugFix

    Gibt mir immer den Inhalt der ersten Spalte aus. Wie kann ich das auf die dritte Spalte ändern

    Einmal editiert, zuletzt von MrB (30. März 2010 um 19:46)

    • Offizieller Beitrag

    Gibt mir immer den Inhalt der ersten Spalte aus. Wie kann ich das auf die dritte Spalte ändern

    Das beachtet?

    Ganz wichtig: Unbedingt Ex-Style "$LVS_EX_FULLROWSELECT" für das Listview, sonst erhältst du keine Item-Notifikation beim Klick auf ein SubItem!

  • Hallo MrB,

    das Beispiel von BugFix gibt den Inhalt der Zelle aus auf die geklickt wurde, entspricht also deinen Anforderungen

    Zitat von MrB

    So und nun möchte ich das z.B. bei einem Doppelklick auf eine Zelle (z.B. Zeile 2 Spalte 3) der Inhalt ausgelesen wird,damit ich ihn weiterverarbeiten kann.

    wo ist also dein Problem,

    mfg (Auto)Bert

  • Hab´s im Moment so:

    [autoit]

    $aButton[38] = GUICtrlCreateListView("ID|Ping", 480, 210, 310, 300, BitOR($LVS_EX_HEADERDRAGDROP, $LVS_EX_GRIDLINES), BitOR($LVS_EX_TRACKSELECT, $LVS_EX_FULLROWSELECT))

    [/autoit]

    $hListView in der Function geändert auf $aButton[38]

    Aber jetzt schreit erstmal das Bettchen ! Bis morgen

  • So, hab mir mal das Script von BugFix genommen und gestartet und es funktioniert nicht !
    Fehler gefunden! Man muss das Skript compilen, dann geht´s. Sry, wusste ich nicht. Vielleicht liegt´s auch an Win7. Macht sowieso Probleme mit AutoIt. Na, egal. Werd´s dann mal wieder einbauen und testen.

    Mal was anderes :)

    Ich fülle das TreeView folgender Maßen (wie schreibt man das eigentlich ?) :

    [autoit]


    For $i = 13 To UBound($string24, 1) - 1 Step 9
    GUICtrlCreateListViewItem($string24[$i] & "|" & $string24[$i] & "|" & $string24[$i] & "|" & $string24[$i] & "|" & $string24[$i] & "|" & $string24[$i] & "|" & $string24[$i] & "|" & $string24[$i] & "|" & $string24[$i], $aButton[38])
    Next

    [/autoit]


    $i ist 13 weil die ersten 13 Einträge nicht benötigt werden. So, er würde ja jetzt überall $string24[13] rein schreiben. Nur möchte ich das in der 2ten Spalte $string24[14] ind der 3ten $string24[15] usw. steht. Wie sag ich ihm das er $i jeweils eins höher setzt. Hab´s mal mit $string24[$i= $i + 1] oder $string24[$i + 1] usw probiert, funktioniert nicht. Grrr, meine Unwissenheit (vornehm ausgedrückt) stört mich ja schon selber, sry.

  • so in der art kann man das machen:

    [autoit]

    $tmpstring = ""
    For $i = 13 To UBound($string24, 1) - 1 Step 9
    $tmpstring &= "|" & $string24[$i]
    Next

    [/autoit][autoit][/autoit][autoit]

    GUICtrlCreateListViewItem($tmpstring, $aButton[38])

    [/autoit]


    Edit: ups hatte den delemitter vergessen

  • Sry, aber das kapier ich nicht. Du verkettest einen leeren String mit $string24[$i]. Irgendwie steh ich ziemlich auf dem Schlauch. Kannst du das mal an diesem Beispiel kurz machen pls?

    [autoit]


    For $i = 13 To UBound($string24, 1) - 1 Step 9
    GUICtrlCreateListViewItem($string24[$i (soll 13)] & "|" & $string24[$i (soll 14)] & "|" & $string24[$i (soll 15)] , $aButton[38])
    Next

    [/autoit]
  • sry hatte oben was vergessen. ist editiert.

    so wie in deinem beispiel wirds nicht ganz gehen weil i beim ersten durchlauf 13 ist und beim 2ten durchlauf isses 22 ( und nicht das soll 14)

  • Schnitzel

    Jep, hast recht. Da ist wieder mein Problem! Hab´s jetzt erstmal so gelöst:

    [autoit]


    If $place > 5 Then

    [/autoit][autoit][/autoit][autoit]

    If IsArray($player1_string_split) Then

    [/autoit][autoit][/autoit][autoit]

    For $i = 2 To UBound($player1_string_split, 1) - 1 Step 9
    ;~ MsgBox(0, "", "" & $i)
    $view = GUICtrlCreateListViewItem($player1_string_split[$i] & "||||||||", $aButton[38])
    $i = $i + 1
    GUICtrlSetData($view, "|" & $player1_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view, "||" & $player1_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view, "|||" & $player1_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view, "||||" & $player1_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view, "|||||" & $player1_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view, "||||||" & $player1_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view, "|||||||" & $player1_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view, "||||||||" & $player1_string_split[$i])
    Next
    Else
    $view = GUICtrlCreateListViewItem("/|/|/|/|/|/|/|/|", $aButton[38])
    EndIf
    EndIf

    [/autoit]

    Nicht schön und viel Text, aber funktioniert

    Nur hab ich jetzt das Problem, das die Funktion von BugFix nicht mehr greift. Wenn ich nach einen Update der TreeViewItems (alle 10 Sek) drauf klicke, passiert nichts. Außerdem, sobald ich mit der Maus auf eine Zeile (außer Zeile 1) gehe verschwindet diese. Mal die komplette Funktion die ich für´s Listviev benutze. Ich weis zu viel Text nur weis ich nicht wie es anders geht :-(:

    Spoiler anzeigen
    [autoit]


    Func list()

    [/autoit] [autoit][/autoit] [autoit]

    Dim $filearray

    [/autoit] [autoit][/autoit] [autoit]

    If FileExists(@ScriptDir & "\log3.txt") Then FileDelete(@ScriptDir & "\log3.txt")

    [/autoit] [autoit][/autoit] [autoit]

    UDPStartup()
    $iSocket = UDPOpen($ip, $port)

    [/autoit] [autoit][/autoit] [autoit]

    $sHeader = "ÿÿÿÿ rcon **** status" & @CRLF & _
    "." & @CRLF & @CRLF
    UDPSend($iSocket, $sHeader)
    Do
    $srecv = UDPRecv($iSocket, 4096)
    Until $srecv <> ""

    [/autoit] [autoit][/autoit] [autoit]

    $file = FileOpen(@ScriptDir & "\log3.txt", 2)
    FileWrite($file, $srecv)
    FileClose($file)
    cleanup()

    [/autoit] [autoit][/autoit] [autoit]

    _FileReadToArray(@ScriptDir & "\log3.txt", $filearray)

    [/autoit] [autoit][/autoit] [autoit]

    $place = 5

    [/autoit] [autoit][/autoit] [autoit]

    If $place < UBound($filearray, 1) - 1 Then
    $player1_string_all = $filearray[5]
    $player1_string_split = StringRegExpReplace($player1_string_all, '\s+', '/')
    $player1_string_split = StringReplace($player1_string_split, "^7", "")
    $player1_string_split = StringSplit($player1_string_split, "/")
    $place = $place + 1
    EndIf

    [/autoit] [autoit][/autoit] [autoit]

    If $place < UBound($filearray, 1) - 1 Then
    $player2_string_all = $filearray[6]
    $player2_string_split = StringRegExpReplace($player2_string_all, '\s+', '/')
    $player2_string_split = StringReplace($player2_string_split, "^7", "")
    $player2_string_split = StringSplit($player2_string_split, "/")
    $place = $place + 1
    EndIf
    If $place < UBound($filearray, 1) - 1 Then
    $player3_string_all = $filearray[7]
    $player3_string_split = StringRegExpReplace($player3_string_all, '\s+', '/')
    $player3_string_split = StringReplace($player3_string_split, "^7", "")
    $player3_string_split = StringSplit($player3_string_split, "/")
    $place = $place + 1
    EndIf
    If $place < UBound($filearray, 1) - 1 Then
    $player4_string_all = $filearray[8]
    $player4_string_split = StringRegExpReplace($player4_string_all, '\s+', '/')
    $player4_string_split = StringReplace($player4_string_split, "^7", "")
    $player4_string_split = StringSplit($player4_string_split, "/")
    $place = $place + 1
    EndIf
    If $place < UBound($filearray, 1) - 1 Then
    $player5_string_all = $filearray[9]
    $player5_string_split = StringRegExpReplace($player5_string_all, '\s+', '/')
    $player5_string_split = StringReplace($player5_string_split, "^7", "")
    $player5_string_split = StringSplit($player5_string_split, "/")
    $place = $place + 1
    EndIf
    If $place < UBound($filearray, 1) - 1 Then
    $player6_string_all = $filearray[10]
    $player6_string_split = StringRegExpReplace($player6_string_all, '\s+', '/')
    $player6_string_split = StringReplace($player6_string_split, "^7", "")
    $player6_string_split = StringSplit($player6_string_split, "/")
    $place = $place + 1
    EndIf
    If $place < UBound($filearray, 1) - 1 Then
    $player7_string_all = $filearray[5]
    $player7_string_split = StringRegExpReplace($player7_string_all, '\s+', '/')
    $player7_string_split = StringReplace($player7_string_split, "^7", "")
    $player7_string_split = StringSplit($player7_string_split, "/")
    $place = $place + 1
    EndIf
    If $place < UBound($filearray, 1) - 1 Then
    $player8_string_all = $filearray[5]
    $player8_string_split = StringRegExpReplace($player8_string_all, '\s+', '/')
    $player8_string_split = StringReplace($player8_string_split, "^7", "")
    $player8_string_split = StringSplit($player8_string_split, "/")
    $place = $place + 1
    EndIf
    If $place < UBound($filearray, 1) - 1 Then
    $player9_string_all = $filearray[5]
    $player9_string_split = StringRegExpReplace($player9_string_all, '\s+', '/')
    $player9_string_split = StringReplace($player9_string_split, "^7", "")
    $player9_string_split = StringSplit($player9_string_split, "/")
    $place = $place + 1
    EndIf
    If $place < UBound($filearray, 1) - 1 Then
    $player10_string_all = $filearray[5]
    $player10_string_split = StringRegExpReplace($player10_string_all, '\s+', '/')
    $player10_string_split = StringReplace($player10_string_split, "^7", "")
    $player10_string_split = StringSplit($player10_string_split, "/")
    $place = $place + 1
    EndIf
    If $place < UBound($filearray, 1) - 1 Then
    $player11_string_all = $filearray[5]
    $player11_string_split = StringRegExpReplace($player11_string_all, '\s+', '/')
    $player11_string_split = StringReplace($player11_string_split, "^7", "")
    $player11_string_split = StringSplit($player11_string_split, "/")
    $place = $place + 1
    EndIf
    If $place < UBound($filearray, 1) - 1 Then
    $player12_string_all = $filearray[5]
    $player12_string_split = StringRegExpReplace($player12_string_all, '\s+', '/')
    $player12_string_split = StringReplace($player12_string_split, "^7", "")
    $player12_string_split = StringSplit($player12_string_split, "/")
    $place = $place + 1
    EndIf
    If $place < UBound($filearray, 1) - 1 Then
    $player13_string_all = $filearray[5]
    $player13_string_split = StringRegExpReplace($player13_string_all, '\s+', '/')
    $player13_string_split = StringReplace($player13_string_split, "^7", "")
    $player13_string_split = StringSplit($player13_string_split, "/")
    $place = $place + 1
    EndIf
    If $place < UBound($filearray, 1) - 1 Then
    $player14_string_all = $filearray[5]
    $player14_string_split = StringRegExpReplace($player14_string_all, '\s+', '/')
    $player14_string_split = StringReplace($player14_string_split, "^7", "")
    $player14_string_split = StringSplit($player14_string_split, "/")
    $place = $place + 1
    EndIf
    If $place < UBound($filearray, 1) - 1 Then
    $player15_string_all = $filearray[5]
    $player15_string_split = StringRegExpReplace($player15_string_all, '\s+', '/')
    $player15_string_split = StringReplace($player15_string_split, "^7", "")
    $player15_string_split = StringSplit($player15_string_split, "/")
    $place = $place + 1
    EndIf
    If $place < UBound($filearray, 1) - 1 Then
    $player16_string_all = $filearray[5]
    $player16_string_split = StringRegExpReplace($player16_string_all, '\s+', '/')
    $player16_string_split = StringReplace($player16_string_split, "^7", "")
    $player16_string_split = StringSplit($player16_string_split, "/")
    $place = $place + 1
    EndIf
    If $place < UBound($filearray, 1) - 1 Then
    $player17_string_all = $filearray[5]
    $player17_string_split = StringRegExpReplace($player17_string_all, '\s+', '/')
    $player17_string_split = StringReplace($player17_string_split, "^7", "")
    $player17_string_split = StringSplit($player17_string_split, "/")
    $place = $place + 1
    EndIf
    If $place < UBound($filearray, 1) - 1 Then
    $player18_string_all = $filearray[5]
    $player18_string_split = StringRegExpReplace($player18_string_all, '\s+', '/')
    $player18_string_split = StringReplace($player18_string_split, "^7", "")
    $player18_string_split = StringSplit($player18_string_split, "/")
    $place = $place + 1
    EndIf
    If $place < UBound($filearray, 1) - 1 Then
    $player19_string_all = $filearray[5]
    $player19_string_split = StringRegExpReplace($player19_string_all, '\s+', '/')
    $player19_string_split = StringReplace($player19_string_split, "^7", "")
    $player19_string_split = StringSplit($player19_string_split, "/")
    $place = $place + 1
    EndIf
    If $place < UBound($filearray, 1) - 1 Then
    $player20_string_all = $filearray[5]
    $player20_string_split = StringRegExpReplace($player20_string_all, '\s+', '/')
    $player20_string_split = StringReplace($player20_string_split, "^7", "")
    $player20_string_split = StringSplit($player20_string_split, "/")
    $place = $place + 1
    EndIf
    If $place < UBound($filearray, 1) - 1 Then
    $player21_string_all = $filearray[5]
    $player21_string_split = StringRegExpReplace($player21_string_all, '\s+', '/')
    $player21_string_split = StringReplace($player21_string_split, "^7", "")
    $player21_string_split = StringSplit($player21_string_split, "/")
    $place = $place + 1
    EndIf
    If $place < UBound($filearray, 1) - 1 Then
    $player22_string_all = $filearray[5]
    $player22_string_split = StringRegExpReplace($player22_string_all, '\s+', '/')
    $player22_string_split = StringReplace($player22_string_split, "^7", "")
    $player22_string_split = StringSplit($player22_string_split, "/")
    $place = $place + 1
    EndIf
    If $place < UBound($filearray, 1) - 1 Then
    $player23_string_all = $filearray[5]
    $player23_string_split = StringRegExpReplace($player23_string_all, '\s+', '/')
    $player23_string_split = StringReplace($player23_string_split, "^7", "")
    $player23_string_split = StringSplit($player23_string_split, "/")
    $place = $place + 1
    EndIf
    If $place < UBound($filearray, 1) - 1 Then
    $player24_string_all = $filearray[5]
    $player24_string_split = StringRegExpReplace($player24_string_all, '\s+', '/')
    $player24_string_split = StringReplace($player24_string_split, "^7", "")
    $player24_string_split = StringSplit($player24_string_split, "/")
    $place = $place + 1
    EndIf

    [/autoit] [autoit][/autoit] [autoit]

    $aButton[38] = GUICtrlCreateListView("ID|Score|Ping|GUID|Name|LastMsg|IP|QPort|Rate", 160, 275, 660, 195, -1, BitOR($LVS_EX_TRACKSELECT, $LVS_EX_FULLROWSELECT))
    GUICtrlSendMsg(-1, $LVM_SETCOLUMNWIDTH, 0, 40)
    GUICtrlSendMsg(-1, $LVM_SETCOLUMNWIDTH, 1, 50)
    GUICtrlSendMsg(-1, $LVM_SETCOLUMNWIDTH, 2, 40)
    GUICtrlSendMsg(-1, $LVM_SETCOLUMNWIDTH, 3, 130)
    GUICtrlSendMsg(-1, $LVM_SETCOLUMNWIDTH, 4, 100)
    GUICtrlSendMsg(-1, $LVM_SETCOLUMNWIDTH, 5, 60)
    GUICtrlSendMsg(-1, $LVM_SETCOLUMNWIDTH, 6, 120)
    GUICtrlSendMsg(-1, $LVM_SETCOLUMNWIDTH, 7, 50)
    GUICtrlSendMsg(-1, $LVM_SETCOLUMNWIDTH, 8, 50)

    [/autoit] [autoit][/autoit] [autoit]

    $view1 = GUICtrlCreateListViewItem("|||||||||", $aButton[38])
    $view2 = GUICtrlCreateListViewItem("|||||||||", $aButton[38])
    $view3 = GUICtrlCreateListViewItem("|||||||||", $aButton[38])
    $view4 = GUICtrlCreateListViewItem("|||||||||", $aButton[38])
    $view5 = GUICtrlCreateListViewItem("|||||||||", $aButton[38])
    $view6 = GUICtrlCreateListViewItem("|||||||||", $aButton[38])
    $view7 = GUICtrlCreateListViewItem("|||||||||", $aButton[38])
    $view8 = GUICtrlCreateListViewItem("|||||||||", $aButton[38])
    $view9 = GUICtrlCreateListViewItem("|||||||||", $aButton[38])
    $view10 = GUICtrlCreateListViewItem("|||||||||", $aButton[38])
    $view11 = GUICtrlCreateListViewItem("|||||||||", $aButton[38])
    $view12 = GUICtrlCreateListViewItem("|||||||||", $aButton[38])
    $view13 = GUICtrlCreateListViewItem("|||||||||", $aButton[38])
    $view14 = GUICtrlCreateListViewItem("|||||||||", $aButton[38])
    $view15 = GUICtrlCreateListViewItem("|||||||||", $aButton[38])
    $view16 = GUICtrlCreateListViewItem("|||||||||", $aButton[38])
    $view17 = GUICtrlCreateListViewItem("|||||||||", $aButton[38])
    $view18 = GUICtrlCreateListViewItem("|||||||||", $aButton[38])
    $view19 = GUICtrlCreateListViewItem("|||||||||", $aButton[38])
    $view20 = GUICtrlCreateListViewItem("|||||||||", $aButton[38])
    $view21 = GUICtrlCreateListViewItem("|||||||||", $aButton[38])
    $view22 = GUICtrlCreateListViewItem("|||||||||", $aButton[38])
    $view23 = GUICtrlCreateListViewItem("|||||||||", $aButton[38])
    $view24 = GUICtrlCreateListViewItem("|||||||||", $aButton[38])

    [/autoit] [autoit][/autoit] [autoit]

    If $place = 5 Then
    $view_platzhalter = GUICtrlSetData($view1, "/|/|/|/|/|/|/|/|/|")
    EndIf

    [/autoit] [autoit][/autoit] [autoit]

    If $place > 5 Then

    [/autoit] [autoit][/autoit] [autoit]

    If IsArray($player1_string_split) Then

    [/autoit] [autoit][/autoit] [autoit]

    For $i = 2 To UBound($player1_string_split, 1) - 1 Step 9
    GUICtrlSetData($view1, $player1_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view1, "|" & $player1_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view1, "||" & $player1_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view1, "|||" & $player1_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view1, "||||" & $player1_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view1, "|||||" & $player1_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view1, "||||||" & $player1_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view1, "|||||||" & $player1_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view1, "||||||||" & $player1_string_split[$i])
    Next
    Else
    GUICtrlSetData($view1, "/|/|/|/|/|/|/|/|")
    EndIf
    EndIf

    [/autoit] [autoit][/autoit] [autoit]

    If $place > 6 Then

    [/autoit] [autoit][/autoit] [autoit]

    If IsArray($player2_string_split) Then

    [/autoit] [autoit][/autoit] [autoit]

    For $i = 2 To UBound($player2_string_split, 1) - 1 Step 9
    GUICtrlSetData($view2, $player2_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view2, "|" & $player2_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view2, "||" & $player2_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view2, "|||" & $player2_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view2, "||||" & $player2_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view2, "|||||" & $player2_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view2, "||||||" & $player2_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view2, "|||||||" & $player2_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view2, "||||||||" & $player2_string_split[$i])
    Next
    Else
    GUICtrlSetData($view2, "/|/|/|/|/|/|/|/|")
    EndIf
    EndIf
    If $place > 7 Then

    [/autoit] [autoit][/autoit] [autoit]

    If IsArray($player3_string_split) Then

    [/autoit] [autoit][/autoit] [autoit]

    For $i = 2 To UBound($player3_string_split, 1) - 1 Step 9
    GUICtrlSetData($view3, $player3_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view3, "|" & $player3_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view3, "||" & $player3_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view3, "|||" & $player3_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view3, "||||" & $player3_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view3, "|||||" & $player3_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view3, "||||||" & $player3_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view3, "|||||||" & $player3_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view3, "||||||||" & $player3_string_split[$i])
    Next
    Else
    GUICtrlSetData($view3, "/|/|/|/|/|/|/|/|")
    EndIf
    EndIf

    [/autoit] [autoit][/autoit] [autoit]

    If $place > 8 Then

    [/autoit] [autoit][/autoit] [autoit]

    If IsArray($player4_string_split) Then

    [/autoit] [autoit][/autoit] [autoit]

    For $i = 2 To UBound($player4_string_split, 1) - 1 Step 9
    GUICtrlSetData($view4, $player4_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view4, "|" & $player4_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view4, "||" & $player4_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view4, "|||" & $player4_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view4, "||||" & $player4_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view4, "|||||" & $player4_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view4, "||||||" & $player4_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view4, "|||||||" & $player4_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view4, "||||||||" & $player4_string_split[$i])
    Next
    Else
    GUICtrlSetData($view4, "/|/|/|/|/|/|/|/|")
    EndIf
    EndIf

    [/autoit] [autoit][/autoit] [autoit]

    If $place > 9 Then

    [/autoit] [autoit][/autoit] [autoit]

    If IsArray($player5_string_split) Then

    [/autoit] [autoit][/autoit] [autoit]

    For $i = 2 To UBound($player5_string_split, 1) - 1 Step 9
    GUICtrlSetData($view5, $player5_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view5, "|" & $player5_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view5, "||" & $player5_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view5, "|||" & $player5_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view5, "||||" & $player5_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view5, "|||||" & $player5_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view5, "||||||" & $player5_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view5, "|||||||" & $player5_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view5, "||||||||" & $player5_string_split[$i])
    Next
    Else
    GUICtrlSetData($view6, "/|/|/|/|/|/|/|/|")
    EndIf
    EndIf

    [/autoit] [autoit][/autoit] [autoit]

    If $place > 10 Then

    [/autoit] [autoit][/autoit] [autoit]

    If IsArray($player6_string_split) Then

    [/autoit] [autoit][/autoit] [autoit]

    For $i = 2 To UBound($player6_string_split, 1) - 1 Step 9
    GUICtrlSetData($view6, $player6_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view6, "|" & $player6_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view6, "||" & $player6_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view6, "|||" & $player6_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view6, "||||" & $player6_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view6, "|||||" & $player6_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view6, "||||||" & $player6_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view6, "|||||||" & $player6_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view6, "||||||||" & $player6_string_split[$i])
    Next
    Else
    GUICtrlSetData($view6, "/|/|/|/|/|/|/|/|")
    EndIf
    EndIf

    [/autoit] [autoit][/autoit] [autoit]

    If $place > 11 Then

    [/autoit] [autoit][/autoit] [autoit]

    If IsArray($player7_string_split) Then

    [/autoit] [autoit][/autoit] [autoit]

    For $i = 2 To UBound($player7_string_split, 1) - 1 Step 9
    GUICtrlSetData($view7, $player7_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view7, "|" & $player7_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view7, "||" & $player7_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view7, "|||" & $player7_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view7, "||||" & $player7_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view7, "|||||" & $player7_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view7, "||||||" & $player7_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view7, "|||||||" & $player7_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view7, "||||||||" & $player7_string_split[$i])
    Next
    Else
    GUICtrlSetData($view7, "/|/|/|/|/|/|/|/|")
    EndIf
    EndIf

    [/autoit] [autoit][/autoit] [autoit]

    If $place > 12 Then

    [/autoit] [autoit][/autoit] [autoit]

    If IsArray($player8_string_split) Then

    [/autoit] [autoit][/autoit] [autoit]

    For $i = 2 To UBound($player8_string_split, 1) - 1 Step 9
    GUICtrlSetData($view8, $player8_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view8, "|" & $player8_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view8, "||" & $player8_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view8, "|||" & $player8_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view8, "||||" & $player8_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view8, "|||||" & $player8_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view8, "||||||" & $player8_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view8, "|||||||" & $player8_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view8, "||||||||" & $player8_string_split[$i])
    Next
    Else
    GUICtrlSetData($view8, "/|/|/|/|/|/|/|/|")
    EndIf
    EndIf

    [/autoit] [autoit][/autoit] [autoit]

    If $place > 13 Then

    [/autoit] [autoit][/autoit] [autoit]

    If IsArray($player9_string_split) Then

    [/autoit] [autoit][/autoit] [autoit]

    For $i = 2 To UBound($player9_string_split, 1) - 1 Step 9
    GUICtrlSetData($view9, $player9_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view9, "|" & $player9_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view9, "||" & $player9_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view9, "|||" & $player9_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view9, "||||" & $player9_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view9, "|||||" & $player9_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view9, "||||||" & $player9_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view9, "|||||||" & $player9_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view9, "||||||||" & $player9_string_split[$i])
    Next
    Else
    GUICtrlSetData($view9, "/|/|/|/|/|/|/|/|")
    EndIf
    EndIf

    [/autoit] [autoit][/autoit] [autoit]

    If $place > 14 Then

    [/autoit] [autoit][/autoit] [autoit]

    If IsArray($player10_string_split) Then

    [/autoit] [autoit][/autoit] [autoit]

    For $i = 2 To UBound($player10_string_split, 1) - 1 Step 9
    GUICtrlSetData($view10, $player10_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view10, "|" & $player10_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view10, "||" & $player10_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view10, "|||" & $player10_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view10, "||||" & $player10_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view10, "|||||" & $player10_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view10, "||||||" & $player10_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view10, "|||||||" & $player10_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view10, "||||||||" & $player10_string_split[$i])
    Next
    Else
    GUICtrlSetData($view10, "/|/|/|/|/|/|/|/|")
    EndIf
    EndIf

    [/autoit] [autoit][/autoit] [autoit]

    If $place > 15 Then

    [/autoit] [autoit][/autoit] [autoit]

    If IsArray($player11_string_split) Then

    [/autoit] [autoit][/autoit] [autoit]

    For $i = 2 To UBound($player11_string_split, 1) - 1 Step 9
    GUICtrlSetData($view11, $player11_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view11, "|" & $player11_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view11, "||" & $player11_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view11, "|||" & $player11_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view11, "||||" & $player11_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view11, "|||||" & $player11_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view11, "||||||" & $player11_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view11, "|||||||" & $player11_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view11, "||||||||" & $player11_string_split[$i])
    Next
    Else
    GUICtrlSetData($view11, "/|/|/|/|/|/|/|/|")
    EndIf
    EndIf

    [/autoit] [autoit][/autoit] [autoit]

    If $place > 16 Then

    [/autoit] [autoit][/autoit] [autoit]

    If IsArray($player12_string_split) Then

    [/autoit] [autoit][/autoit] [autoit]

    For $i = 2 To UBound($player12_string_split, 1) - 1 Step 9
    GUICtrlSetData($view12, $player12_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view12, "|" & $player12_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view12, "||" & $player12_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view12, "|||" & $player12_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view12, "||||" & $player12_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view12, "|||||" & $player12_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view12, "||||||" & $player12_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view12, "|||||||" & $player12_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view12, "||||||||" & $player12_string_split[$i])
    Next
    Else
    GUICtrlSetData($view12, "/|/|/|/|/|/|/|/|")
    EndIf
    EndIf

    [/autoit] [autoit][/autoit] [autoit]

    If $place > 17 Then

    [/autoit] [autoit][/autoit] [autoit]

    If IsArray($player13_string_split) Then

    [/autoit] [autoit][/autoit] [autoit]

    For $i = 2 To UBound($player13_string_split, 1) - 1 Step 9
    GUICtrlSetData($view13, $player13_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view13, "|" & $player13_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view13, "||" & $player13_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view13, "|||" & $player13_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view13, "||||" & $player13_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view13, "|||||" & $player13_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view13, "||||||" & $player13_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view13, "|||||||" & $player13_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view13, "||||||||" & $player13_string_split[$i])
    Next
    Else
    GUICtrlSetData($view13, "/|/|/|/|/|/|/|/|")
    EndIf
    EndIf

    [/autoit] [autoit][/autoit] [autoit]

    If $place > 18 Then

    [/autoit] [autoit][/autoit] [autoit]

    If IsArray($player14_string_split) Then

    [/autoit] [autoit][/autoit] [autoit]

    For $i = 2 To UBound($player14_string_split, 1) - 1 Step 9
    GUICtrlSetData($view14, $player14_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view14, "|" & $player14_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view14, "||" & $player14_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view14, "|||" & $player14_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view14, "||||" & $player14_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view14, "|||||" & $player14_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view14, "||||||" & $player14_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view14, "|||||||" & $player14_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view14, "||||||||" & $player14_string_split[$i])
    Next
    Else
    GUICtrlSetData($view14, "/|/|/|/|/|/|/|/|")
    EndIf
    EndIf

    [/autoit] [autoit][/autoit] [autoit]

    If $place > 19 Then

    [/autoit] [autoit][/autoit] [autoit]

    If IsArray($player15_string_split) Then

    [/autoit] [autoit][/autoit] [autoit]

    For $i = 2 To UBound($player15_string_split, 1) - 1 Step 9
    GUICtrlSetData($view15, $player15_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view15, "|" & $player15_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view15, "||" & $player15_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view15, "|||" & $player15_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view15, "||||" & $player15_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view15, "|||||" & $player15_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view15, "||||||" & $player15_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view15, "|||||||" & $player15_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view15, "||||||||" & $player15_string_split[$i])
    Next
    Else
    GUICtrlSetData($view15, "/|/|/|/|/|/|/|/|")
    EndIf
    EndIf

    [/autoit] [autoit][/autoit] [autoit]

    If $place > 20 Then

    [/autoit] [autoit][/autoit] [autoit]

    If IsArray($player16_string_split) Then

    [/autoit] [autoit][/autoit] [autoit]

    For $i = 2 To UBound($player16_string_split, 1) - 1 Step 9
    GUICtrlSetData($view16, $player16_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view16, "|" & $player16_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view16, "||" & $player16_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view16, "|||" & $player16_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view16, "||||" & $player16_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view16, "|||||" & $player16_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view16, "||||||" & $player16_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view16, "|||||||" & $player16_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view16, "||||||||" & $player16_string_split[$i])
    Next
    Else
    GUICtrlSetData($view16, "/|/|/|/|/|/|/|/|")
    EndIf
    EndIf

    [/autoit] [autoit][/autoit] [autoit]

    If $place > 21 Then

    [/autoit] [autoit][/autoit] [autoit]

    If IsArray($player17_string_split) Then

    [/autoit] [autoit][/autoit] [autoit]

    For $i = 2 To UBound($player17_string_split, 1) - 1 Step 9
    GUICtrlSetData($view17, $player17_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view17, "|" & $player17_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view17, "||" & $player17_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view17, "|||" & $player17_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view17, "||||" & $player17_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view17, "|||||" & $player17_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view17, "||||||" & $player17_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view17, "|||||||" & $player17_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view17, "||||||||" & $player17_string_split[$i])
    Next
    Else
    GUICtrlSetData($view17, "/|/|/|/|/|/|/|/|")
    EndIf
    EndIf

    [/autoit] [autoit][/autoit] [autoit]

    If $place > 22 Then

    [/autoit] [autoit][/autoit] [autoit]

    If IsArray($player18_string_split) Then

    [/autoit] [autoit][/autoit] [autoit]

    For $i = 2 To UBound($player18_string_split, 1) - 1 Step 9
    GUICtrlSetData($view18, $player18_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view18, "|" & $player18_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view18, "||" & $player18_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view18, "|||" & $player18_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view18, "||||" & $player18_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view18, "|||||" & $player18_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view18, "||||||" & $player18_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view18, "|||||||" & $player18_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view18, "||||||||" & $player18_string_split[$i])
    Next
    Else
    GUICtrlSetData($view18, "/|/|/|/|/|/|/|/|")
    EndIf
    EndIf

    [/autoit] [autoit][/autoit] [autoit]

    If $place > 23 Then

    [/autoit] [autoit][/autoit] [autoit]

    If IsArray($player19_string_split) Then

    [/autoit] [autoit][/autoit] [autoit]

    For $i = 2 To UBound($player19_string_split, 1) - 1 Step 9
    GUICtrlSetData($view19, $player19_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view19, "|" & $player19_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view19, "||" & $player19_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view19, "|||" & $player19_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view19, "||||" & $player19_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view19, "|||||" & $player19_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view19, "||||||" & $player19_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view19, "|||||||" & $player19_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view19, "||||||||" & $player19_string_split[$i])
    Next
    Else
    GUICtrlSetData($view19, "/|/|/|/|/|/|/|/|")
    EndIf
    EndIf

    [/autoit] [autoit][/autoit] [autoit]

    If $place > 24 Then

    [/autoit] [autoit][/autoit] [autoit]

    If IsArray($player20_string_split) Then

    [/autoit] [autoit][/autoit] [autoit]

    For $i = 2 To UBound($player20_string_split, 1) - 1 Step 9
    GUICtrlSetData($view20, $player20_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view20, "|" & $player20_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view20, "||" & $player20_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view20, "|||" & $player20_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view20, "||||" & $player20_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view20, "|||||" & $player20_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view20, "||||||" & $player20_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view20, "|||||||" & $player20_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view20, "||||||||" & $player20_string_split[$i])
    Next
    Else
    GUICtrlSetData($view20, "/|/|/|/|/|/|/|/|")
    EndIf
    EndIf

    [/autoit] [autoit][/autoit] [autoit]

    If $place > 25 Then

    [/autoit] [autoit][/autoit] [autoit]

    If IsArray($player21_string_split) Then

    [/autoit] [autoit][/autoit] [autoit]

    For $i = 2 To UBound($player21_string_split, 1) - 1 Step 9
    GUICtrlSetData($view21, $player21_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view21, "|" & $player21_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view21, "||" & $player21_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view21, "|||" & $player21_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view21, "||||" & $player21_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view21, "|||||" & $player21_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view21, "||||||" & $player21_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view21, "|||||||" & $player21_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view21, "||||||||" & $player21_string_split[$i])
    Next
    Else
    GUICtrlSetData($view22, "/|/|/|/|/|/|/|/|")
    EndIf
    EndIf

    [/autoit] [autoit][/autoit] [autoit]

    If $place > 26 Then

    [/autoit] [autoit][/autoit] [autoit]

    If IsArray($player22_string_split) Then

    [/autoit] [autoit][/autoit] [autoit]

    For $i = 2 To UBound($player22_string_split, 1) - 1 Step 9
    GUICtrlSetData($view22, $player22_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view22, "|" & $player22_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view22, "||" & $player22_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view22, "|||" & $player22_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view22, "||||" & $player22_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view22, "|||||" & $player22_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view22, "||||||" & $player22_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view22, "|||||||" & $player22_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view22, "||||||||" & $player22_string_split[$i])
    Next
    Else
    GUICtrlSetData($view22, "/|/|/|/|/|/|/|/|")
    EndIf
    EndIf

    [/autoit] [autoit][/autoit] [autoit]

    If $place > 27 Then

    [/autoit] [autoit][/autoit] [autoit]

    If IsArray($player23_string_split) Then

    [/autoit] [autoit][/autoit] [autoit]

    For $i = 2 To UBound($player23_string_split, 1) - 1 Step 9
    GUICtrlSetData($view23, $player23_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view23, "|" & $player23_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view23, "||" & $player23_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view23, "|||" & $player23_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view23, "||||" & $player23_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view23, "|||||" & $player23_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view23, "||||||" & $player23_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view23, "|||||||" & $player23_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view23, "||||||||" & $player23_string_split[$i])
    Next
    Else
    GUICtrlSetData($view23, "/|/|/|/|/|/|/|/|")
    EndIf
    EndIf

    [/autoit] [autoit][/autoit] [autoit]

    If $place > 28 Then

    [/autoit] [autoit][/autoit] [autoit]

    If IsArray($player24_string_split) Then

    [/autoit] [autoit][/autoit] [autoit]

    For $i = 2 To UBound($player24_string_split, 1) - 1 Step 9
    GUICtrlSetData($view24, $player24_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view24, "|" & $player24_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view24, "||" & $player24_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view24, "|||" & $player24_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view24, "||||" & $player24_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view24, "|||||" & $player24_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view24, "||||||" & $player24_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view24, "|||||||" & $player24_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view24, "||||||||" & $player24_string_split[$i])
    Next
    Else
    GUICtrlSetData($view24, "/|/|/|/|/|/|/|/|")
    EndIf
    EndIf

    [/autoit] [autoit][/autoit] [autoit]

    If $register = 0 Then
    AdlibRegister("header", 10000)
    $register = 1
    EndIf
    $place = 5
    EndFunc

    [/autoit]

    So wird sie dann alles 10 Sek aufgerufen : AdlibRegister("header", 10000)

    Einmal editiert, zuletzt von MrB (1. April 2010 um 14:16)

  • BugFix

    LOL, hast Recht. Ist einfach von den vorher gegangenen Versuchen übriggeblieben und verworren wie man ist bleibt die auch drin. Werd ich ändern THX. Aber eben dieser For Next Schleife galt ja auch schon meine Frage hier im Forum, wie man das lösen kann.

    So, hab mal was gebastelt. Ist nicht das komplette Script, aber so funktioniert´s auch schon nicht. Zugangsdaten kann ich natürlich nicht weiter geben.


    Spoiler anzeigen
    [autoit]


    #include <WindowsConstants.au3>
    #include <StaticConstants.au3>
    #include <GUIConstantsEx.au3>
    #include <Constants.au3>
    #include <string.au3>
    #include <ListViewConstants.au3>
    #include <GUIListView.au3>
    #include <file.au3>
    #include <StructureConstants.au3>

    [/autoit] [autoit][/autoit] [autoit][/autoit] [autoit]

    Global $ip = "****"
    Global $port = "*****"
    Global $iSocket
    Global $sHeader
    Global $player1_pb_id
    Global $player2_pb_id
    Global $player3_pb_id
    Global $player4_pb_id
    Global $player5_pb_id
    Global $player6_pb_id
    Global $player7_pb_id
    Global $player8_pb_id
    Global $player9_pb_id
    Global $player10_pb_id
    Global $player11_pb_id
    Global $player12_pb_id
    Global $player13_pb_id
    Global $player14_pb_id
    Global $player15_pb_id
    Global $player16_pb_id
    Global $player17_pb_id
    Global $player18_pb_id
    Global $player19_pb_id
    Global $player20_pb_id
    Global $player21_pb_id
    Global $player22_pb_id
    Global $player23_pb_id
    Global $player24_pb_id
    Global $register = 0

    [/autoit] [autoit][/autoit] [autoit]

    $gui = GUICreate("test", 1000, 1000, 0, 0)
    $beenden = GUICtrlCreateButton("Beenden", 20, 950, 200)

    [/autoit] [autoit][/autoit] [autoit]

    header()
    GUISetState(@SW_SHOW)

    [/autoit] [autoit][/autoit] [autoit]

    GUIRegisterMsg($WM_NOTIFY, "WM_NOTIFY")

    [/autoit] [autoit][/autoit] [autoit]

    While 1

    [/autoit] [autoit][/autoit] [autoit]

    $msg = GUIGetMsg()

    [/autoit] [autoit][/autoit] [autoit]

    Select
    Case $msg = $GUI_EVENT_CLOSE
    Exit
    Case $msg = $beenden
    Exit

    [/autoit] [autoit][/autoit] [autoit]

    EndSelect
    WEnd

    [/autoit] [autoit][/autoit] [autoit]

    Func pbid()
    Dim $filearray_pb

    [/autoit] [autoit][/autoit] [autoit]

    UDPStartup()
    $iSocket = UDPOpen($ip, $port)

    [/autoit] [autoit][/autoit] [autoit]

    $sHeader = "ÿÿÿÿ rcon ******* PB_SV_PList" & @CRLF & _
    "." & @CRLF & @CRLF
    UDPSend($iSocket, $sHeader)
    Do
    $srecv = UDPRecv($iSocket, 4096)
    Until $srecv <> ""
    ;~ MsgBox(0, "", "" & $srecv)
    Sleep(1000)

    [/autoit] [autoit][/autoit] [autoit]

    $file = FileOpen(@ScriptDir & "\logpb.txt", 2)
    FileWrite($file, $srecv)
    FileClose($file)
    cleanup()
    _FileReadToArray(@ScriptDir & "\logpb.txt", $filearray_pb)
    ;~ _ArrayDisplay($filearray_pb)
    $place2 = 2
    If $place2 < $filearray_pb[0] - 1 Then
    $player1_pb_all = $filearray_pb[3]
    $player1_pb_split = StringReplace($player1_pb_all, "^5PunkBuster Server: ", "")
    $player1_pb_split = StringRegExpReplace($player1_pb_split, '\s+', '/')
    $player1_pb_split = StringSplit($player1_pb_split, "/")
    $player1_pb_id = $player1_pb_split[1]
    $place2 = $place2 + 1
    EndIf

    [/autoit] [autoit][/autoit] [autoit]

    If $place2 < $filearray_pb[0] - 1 Then
    $player2_pb_all = $filearray_pb[4]
    $player2_pb_split = StringReplace($player2_pb_all, "^5PunkBuster Server: ", "")
    $player2_pb_split = StringRegExpReplace($player2_pb_split, '\s+', '/')
    $player2_pb_split = StringSplit($player2_pb_split, "/")
    $player2_pb_id = $player2_pb_split[1]
    $place2 = $place2 + 1
    EndIf

    [/autoit] [autoit][/autoit] [autoit]

    If $place2 < $filearray_pb[0] - 1 Then
    $player3_pb_all = $filearray_pb[5]
    $player3_pb_split = StringReplace($player3_pb_all, "^5PunkBuster Server: ", "")
    $player3_pb_split = StringRegExpReplace($player3_pb_split, '\s+', '/')
    $player3_pb_split = StringSplit($player3_pb_split, "/")
    $player3_pb_id = $player3_pb_split[1]
    $place2 = $place2 + 1
    EndIf

    [/autoit] [autoit][/autoit] [autoit]

    If $place2 < $filearray_pb[0] - 1 Then
    $player4_pb_all = $filearray_pb[6]
    $player4_pb_split = StringReplace($player4_pb_all, "^5PunkBuster Server: ", "")
    $player4_pb_split = StringRegExpReplace($player4_pb_split, '\s+', '/')
    $player4_pb_split = StringSplit($player4_pb_split, "/")
    $player4_pb_id = $player4_pb_split[1]
    $place2 = $place2 + 1
    EndIf
    If $place2 < $filearray_pb[0] - 1 Then
    $player5_pb_all = $filearray_pb[7]
    $player5_pb_split = StringReplace($player5_pb_all, "^5PunkBuster Server: ", "")
    $player5_pb_split = StringRegExpReplace($player5_pb_split, '\s+', '/')
    $player5_pb_split = StringSplit($player5_pb_split, "/")
    $player5_pb_id = $player5_pb_split[1]
    $place2 = $place2 + 1
    EndIf
    If $place2 < $filearray_pb[0] - 1 Then
    $player6_pb_all = $filearray_pb[8]
    $player6_pb_split = StringReplace($player6_pb_all, "^5PunkBuster Server: ", "")
    $player6_pb_split = StringRegExpReplace($player6_pb_split, '\s+', '/')
    $player6_pb_split = StringSplit($player6_pb_split, "/")
    $player6_pb_id = $player5_pb_split[1]
    $place2 = $place2 + 1
    EndIf

    [/autoit] [autoit][/autoit] [autoit]

    If $place2 < $filearray_pb[0] - 1 Then
    $player7_pb_all = $filearray_pb[9]
    $player7_pb_split = StringReplace($player7_pb_all, "^5PunkBuster Server: ", "")
    $player7_pb_split = StringRegExpReplace($player7_pb_split, '\s+', '/')
    $player7_pb_split = StringSplit($player7_pb_split, "/")
    $player7_pb_id = $player7_pb_split[1]
    $place2 = $place2 + 1
    EndIf

    [/autoit] [autoit][/autoit] [autoit]

    If $place2 < $filearray_pb[0] - 1 Then
    $player8_pb_all = $filearray_pb[10]
    $player8_pb_split = StringReplace($player8_pb_all, "^5PunkBuster Server: ", "")
    $player8_pb_split = StringRegExpReplace($player8_pb_split, '\s+', '/')
    $player8_pb_split = StringSplit($player8_pb_split, "/")
    $player8_pb_id = $player8_pb_split[1]
    $place2 = $place2 + 1
    EndIf

    [/autoit] [autoit][/autoit] [autoit]

    If $place2 < $filearray_pb[0] - 1 Then
    $player9_pb_all = $filearray_pb[11]
    $player9_pb_split = StringReplace($player9_pb_all, "^5PunkBuster Server: ", "")
    $player9_pb_split = StringRegExpReplace($player9_pb_split, '\s+', '/')
    $player9_pb_split = StringSplit($player9_pb_split, "/")
    $player9_pb_id = $player9_pb_split[1]
    $place2 = $place2 + 1
    EndIf

    [/autoit] [autoit][/autoit] [autoit]

    If $place2 < $filearray_pb[0] - 1 Then
    $player10_pb_all = $filearray_pb[12]
    $player10_pb_split = StringReplace($player10_pb_all, "^5PunkBuster Server: ", "")
    $player10_pb_split = StringRegExpReplace($player10_pb_split, '\s+', '/')
    $player10_pb_split = StringSplit($player10_pb_split, "/")
    $player10_pb_id = $player10_pb_split[1]
    $place2 = $place2 + 1
    EndIf

    [/autoit] [autoit][/autoit] [autoit]

    If $place2 < $filearray_pb[0] - 1 Then
    $player11_pb_all = $filearray_pb[13]
    $player11_pb_split = StringReplace($player11_pb_all, "^5PunkBuster Server: ", "")
    $player11_pb_split = StringRegExpReplace($player11_pb_split, '\s+', '/')
    $player11_pb_split = StringSplit($player11_pb_split, "/")
    $player11_pb_id = $player11_pb_split[1]
    $place2 = $place2 + 1
    EndIf

    [/autoit] [autoit][/autoit] [autoit]

    If $place2 < $filearray_pb[0] - 1 Then
    $player12_pb_all = $filearray_pb[14]
    $player12_pb_split = StringReplace($player12_pb_all, "^5PunkBuster Server: ", "")
    $player12_pb_split = StringRegExpReplace($player12_pb_split, '\s+', '/')
    $player12_pb_split = StringSplit($player12_pb_split, "/")
    $player12_pb_id = $player12_pb_split[1]
    $place2 = $place2 + 1
    EndIf

    [/autoit] [autoit][/autoit] [autoit]

    If $place2 < $filearray_pb[0] - 1 Then
    $player13_pb_all = $filearray_pb[15]
    $player13_pb_split = StringReplace($player13_pb_all, "^5PunkBuster Server: ", "")
    $player13_pb_split = StringRegExpReplace($player13_pb_split, '\s+', '/')
    $player13_pb_split = StringSplit($player13_pb_split, "/")
    $player13_pb_id = $player13_pb_split[1]
    $place2 = $place2 + 1
    EndIf

    [/autoit] [autoit][/autoit] [autoit]

    If $place2 < $filearray_pb[0] - 1 Then
    $player14_pb_all = $filearray_pb[16]
    $player14_pb_split = StringReplace($player14_pb_all, "^5PunkBuster Server: ", "")
    $player14_pb_split = StringRegExpReplace($player14_pb_split, '\s+', '/')
    $player14_pb_split = StringSplit($player14_pb_split, "/")
    $player14_pb_id = $player14_pb_split[1]
    $place2 = $place2 + 1
    EndIf

    [/autoit] [autoit][/autoit] [autoit]

    If $place2 < $filearray_pb[0] - 1 Then
    $player15_pb_all = $filearray_pb[17]
    $player15_pb_split = StringReplace($player15_pb_all, "^5PunkBuster Server: ", "")
    $player15_pb_split = StringRegExpReplace($player15_pb_split, '\s+', '/')
    $player15_pb_split = StringSplit($player15_pb_split, "/")
    $player15_pb_id = $player15_pb_split[1]
    $place2 = $place2 + 1
    EndIf

    [/autoit] [autoit][/autoit] [autoit]

    If $place2 < $filearray_pb[0] - 1 Then
    $player16_pb_all = $filearray_pb[18]
    $player16_pb_split = StringReplace($player16_pb_all, "^5PunkBuster Server: ", "")
    $player16_pb_split = StringRegExpReplace($player16_pb_split, '\s+', '/')
    $player16_pb_split = StringSplit($player16_pb_split, "/")
    $player16_pb_id = $player16_pb_split[1]
    $place2 = $place2 + 1
    EndIf

    [/autoit] [autoit][/autoit] [autoit]

    If $place2 < $filearray_pb[0] - 1 Then
    $player17_pb_all = $filearray_pb[19]
    $player17_pb_split = StringReplace($player17_pb_all, "^5PunkBuster Server: ", "")
    $player17_pb_split = StringRegExpReplace($player17_pb_split, '\s+', '/')
    $player17_pb_split = StringSplit($player17_pb_split, "/")
    $player17_pb_id = $player17_pb_split[1]
    $place2 = $place2 + 1
    EndIf

    [/autoit] [autoit][/autoit] [autoit]

    If $place2 < $filearray_pb[0] - 1 Then
    $player18_pb_all = $filearray_pb[20]
    $player18_pb_split = StringReplace($player18_pb_all, "^5PunkBuster Server: ", "")
    $player18_pb_split = StringRegExpReplace($player18_pb_split, '\s+', '/')
    $player18_pb_split = StringSplit($player18_pb_split, "/")
    $player18_pb_id = $player18_pb_split[1]
    $place2 = $place2 + 1
    EndIf

    [/autoit] [autoit][/autoit] [autoit]

    If $place2 < $filearray_pb[0] - 1 Then
    $player19_pb_all = $filearray_pb[21]
    $player19_pb_split = StringReplace($player19_pb_all, "^5PunkBuster Server: ", "")
    $player19_pb_split = StringRegExpReplace($player19_pb_split, '\s+', '/')
    $player19_pb_split = StringSplit($player19_pb_split, "/")
    $player19_pb_id = $player19_pb_split[1]
    $place2 = $place2 + 1
    EndIf

    [/autoit] [autoit][/autoit] [autoit]

    If $place2 < $filearray_pb[0] - 1 Then
    $player20_pb_all = $filearray_pb[22]
    $player20_pb_split = StringReplace($player20_pb_all, "^5PunkBuster Server: ", "")
    $player20_pb_split = StringRegExpReplace($player20_pb_split, '\s+', '/')
    $player20_pb_split = StringSplit($player20_pb_split, "/")
    $player20_pb_id = $player20_pb_split[1]
    $place2 = $place2 + 1
    EndIf

    [/autoit] [autoit][/autoit] [autoit]

    If $place2 < $filearray_pb[0] - 1 Then
    $player21_pb_all = $filearray_pb[23]
    $player21_pb_split = StringReplace($player21_pb_all, "^5PunkBuster Server: ", "")
    $player21_pb_split = StringRegExpReplace($player21_pb_split, '\s+', '/')
    $player21_pb_split = StringSplit($player21_pb_split, "/")
    $player21_pb_id = $player21_pb_split[1]
    $place2 = $place2 + 1
    EndIf

    [/autoit] [autoit][/autoit] [autoit]

    If $place2 < $filearray_pb[0] - 1 Then
    $player22_pb_all = $filearray_pb[24]
    $player22_pb_split = StringReplace($player22_pb_all, "^5PunkBuster Server: ", "")
    $player22_pb_split = StringRegExpReplace($player22_pb_split, '\s+', '/')
    $player22_pb_split = StringSplit($player22_pb_split, "/")
    $player22_pb_id = $player22_pb_split[1]
    $place2 = $place2 + 1
    EndIf

    [/autoit] [autoit][/autoit] [autoit]

    If $place2 < $filearray_pb[0] - 1 Then
    $player23_pb_all = $filearray_pb[25]
    $player23_pb_split = StringReplace($player23_pb_all, "^5PunkBuster Server: ", "")
    $player23_pb_split = StringRegExpReplace($player23_pb_split, '\s+', '/')
    $player23_pb_split = StringSplit($player23_pb_split, "/")
    $player23_pb_id = $player23_pb_split[1]
    $place2 = $place2 + 1
    EndIf

    [/autoit] [autoit][/autoit] [autoit]

    If $place2 < $filearray_pb[0] - 1 Then
    $player24_pb_all = $filearray_pb[26]
    $player24_pb_split = StringReplace($player24_pb_all, "^5PunkBuster Server: ", "")
    $player24_pb_split = StringRegExpReplace($player24_pb_split, '\s+', '/')
    $player24_pb_split = StringSplit($player24_pb_split, "/")
    $player24_pb_id = $player24_pb_split[1]
    $place2 = $place2 + 1
    EndIf

    [/autoit] [autoit][/autoit] [autoit]

    $place2 = 2

    [/autoit] [autoit][/autoit] [autoit]

    EndFunc ;==>pbid

    [/autoit] [autoit][/autoit] [autoit]

    Func header()

    [/autoit] [autoit][/autoit] [autoit]

    Local $hListView_Player

    [/autoit] [autoit][/autoit] [autoit]

    GUICtrlSetState($hListView_Player, @SW_DISABLE)

    [/autoit] [autoit][/autoit] [autoit]

    Dim $filearray
    If FileExists(@ScriptDir & "\log3.txt") Then FileDelete(@ScriptDir & "\log3.txt")
    If FileExists(@ScriptDir & "\logpb.txt") Then FileDelete(@ScriptDir & "\logpb.txt")
    pbid()
    UDPStartup()
    $iSocket = UDPOpen($ip, $port)

    [/autoit] [autoit][/autoit] [autoit]

    $sHeader = "ÿÿÿÿ rcon ******* status" & @CRLF & _
    "." & @CRLF & @CRLF
    UDPSend($iSocket, $sHeader)
    Do
    $srecv = UDPRecv($iSocket, 4096)
    Until $srecv <> ""
    ;~ MsgBox(0, "", "" & $srecv)

    [/autoit] [autoit][/autoit] [autoit]

    $file = FileOpen(@ScriptDir & "\log3.txt", 2)
    FileWrite($file, $srecv)
    FileClose($file)
    cleanup()

    [/autoit] [autoit][/autoit] [autoit]

    _FileReadToArray(@ScriptDir & "\log3.txt", $filearray)
    ;~ _ArrayDisplay($filearray)
    $place = 5

    [/autoit] [autoit][/autoit] [autoit]

    If $place < UBound($filearray, 1) - 1 Then
    $player1_string_all = $filearray[5]
    $player1_string_split = StringRegExpReplace($player1_string_all, '\s+', '/')
    $player1_string_split = StringReplace($player1_string_split, "^7", "")
    $player1_string_split = StringSplit($player1_string_split, "/")
    $place = $place + 1
    EndIf

    [/autoit] [autoit][/autoit] [autoit]

    If $place < UBound($filearray, 1) - 1 Then
    $player2_string_all = $filearray[6]
    $player2_string_split = StringRegExpReplace($player2_string_all, '\s+', '/')
    $player2_string_split = StringReplace($player2_string_split, "^7", "")
    $player2_string_split = StringSplit($player2_string_split, "/")
    $place = $place + 1
    EndIf
    If $place < UBound($filearray, 1) - 1 Then
    $player3_string_all = $filearray[7]
    $player3_string_split = StringRegExpReplace($player3_string_all, '\s+', '/')
    $player3_string_split = StringReplace($player3_string_split, "^7", "")
    $player3_string_split = StringSplit($player3_string_split, "/")
    $place = $place + 1
    EndIf
    If $place < UBound($filearray, 1) - 1 Then
    $player4_string_all = $filearray[8]
    $player4_string_split = StringRegExpReplace($player4_string_all, '\s+', '/')
    $player4_string_split = StringReplace($player4_string_split, "^7", "")
    $player4_string_split = StringSplit($player4_string_split, "/")
    $place = $place + 1
    EndIf
    If $place < UBound($filearray, 1) - 1 Then
    $player5_string_all = $filearray[9]
    $player5_string_split = StringRegExpReplace($player5_string_all, '\s+', '/')
    $player5_string_split = StringReplace($player5_string_split, "^7", "")
    $player5_string_split = StringSplit($player5_string_split, "/")
    $place = $place + 1
    EndIf
    If $place < UBound($filearray, 1) - 1 Then
    $player6_string_all = $filearray[10]
    $player6_string_split = StringRegExpReplace($player6_string_all, '\s+', '/')
    $player6_string_split = StringReplace($player6_string_split, "^7", "")
    $player6_string_split = StringSplit($player6_string_split, "/")
    $place = $place + 1
    EndIf
    If $place < UBound($filearray, 1) - 1 Then
    $player7_string_all = $filearray[11]
    $player7_string_split = StringRegExpReplace($player7_string_all, '\s+', '/')
    $player7_string_split = StringReplace($player7_string_split, "^7", "")
    $player7_string_split = StringSplit($player7_string_split, "/")
    $place = $place + 1
    EndIf
    If $place < UBound($filearray, 1) - 1 Then
    $player8_string_all = $filearray[12]
    $player8_string_split = StringRegExpReplace($player8_string_all, '\s+', '/')
    $player8_string_split = StringReplace($player8_string_split, "^7", "")
    $player8_string_split = StringSplit($player8_string_split, "/")
    $place = $place + 1
    EndIf
    If $place < UBound($filearray, 1) - 1 Then
    $player9_string_all = $filearray[13]
    $player9_string_split = StringRegExpReplace($player9_string_all, '\s+', '/')
    $player9_string_split = StringReplace($player9_string_split, "^7", "")
    $player9_string_split = StringSplit($player9_string_split, "/")
    $place = $place + 1
    EndIf
    If $place < UBound($filearray, 1) - 1 Then
    $player10_string_all = $filearray[14]
    $player10_string_split = StringRegExpReplace($player10_string_all, '\s+', '/')
    $player10_string_split = StringReplace($player10_string_split, "^7", "")
    $player10_string_split = StringSplit($player10_string_split, "/")
    $place = $place + 1
    EndIf
    If $place < UBound($filearray, 1) - 1 Then
    $player11_string_all = $filearray[15]
    $player11_string_split = StringRegExpReplace($player11_string_all, '\s+', '/')
    $player11_string_split = StringReplace($player11_string_split, "^7", "")
    $player11_string_split = StringSplit($player11_string_split, "/")
    $place = $place + 1
    EndIf
    If $place < UBound($filearray, 1) - 1 Then
    $player12_string_all = $filearray[16]
    $player12_string_split = StringRegExpReplace($player12_string_all, '\s+', '/')
    $player12_string_split = StringReplace($player12_string_split, "^7", "")
    $player12_string_split = StringSplit($player12_string_split, "/")
    $place = $place + 1
    EndIf
    If $place < UBound($filearray, 1) - 1 Then
    $player13_string_all = $filearray[17]
    $player13_string_split = StringRegExpReplace($player13_string_all, '\s+', '/')
    $player13_string_split = StringReplace($player13_string_split, "^7", "")
    $player13_string_split = StringSplit($player13_string_split, "/")
    $place = $place + 1
    EndIf
    If $place < UBound($filearray, 1) - 1 Then
    $player14_string_all = $filearray[18]
    $player14_string_split = StringRegExpReplace($player14_string_all, '\s+', '/')
    $player14_string_split = StringReplace($player14_string_split, "^7", "")
    $player14_string_split = StringSplit($player14_string_split, "/")
    $place = $place + 1
    EndIf
    If $place < UBound($filearray, 1) - 1 Then
    $player15_string_all = $filearray[19]
    $player15_string_split = StringRegExpReplace($player15_string_all, '\s+', '/')
    $player15_string_split = StringReplace($player15_string_split, "^7", "")
    $player15_string_split = StringSplit($player15_string_split, "/")
    $place = $place + 1
    EndIf
    If $place < UBound($filearray, 1) - 1 Then
    $player16_string_all = $filearray[20]
    $player16_string_split = StringRegExpReplace($player16_string_all, '\s+', '/')
    $player16_string_split = StringReplace($player16_string_split, "^7", "")
    $player16_string_split = StringSplit($player16_string_split, "/")
    $place = $place + 1
    EndIf
    If $place < UBound($filearray, 1) - 1 Then
    $player17_string_all = $filearray[21]
    $player17_string_split = StringRegExpReplace($player17_string_all, '\s+', '/')
    $player17_string_split = StringReplace($player17_string_split, "^7", "")
    $player17_string_split = StringSplit($player17_string_split, "/")
    $place = $place + 1
    EndIf
    If $place < UBound($filearray, 1) - 1 Then
    $player18_string_all = $filearray[22]
    $player18_string_split = StringRegExpReplace($player18_string_all, '\s+', '/')
    $player18_string_split = StringReplace($player18_string_split, "^7", "")
    $player18_string_split = StringSplit($player18_string_split, "/")
    $place = $place + 1
    EndIf
    If $place < UBound($filearray, 1) - 1 Then
    $player19_string_all = $filearray[23]
    $player19_string_split = StringRegExpReplace($player19_string_all, '\s+', '/')
    $player19_string_split = StringReplace($player19_string_split, "^7", "")
    $player19_string_split = StringSplit($player19_string_split, "/")
    $place = $place + 1
    EndIf
    If $place < UBound($filearray, 1) - 1 Then
    $player20_string_all = $filearray[24]
    $player20_string_split = StringRegExpReplace($player20_string_all, '\s+', '/')
    $player20_string_split = StringReplace($player20_string_split, "^7", "")
    $player20_string_split = StringSplit($player20_string_split, "/")
    $place = $place + 1
    EndIf
    If $place < UBound($filearray, 1) - 1 Then
    $player21_string_all = $filearray[25]
    $player21_string_split = StringRegExpReplace($player21_string_all, '\s+', '/')
    $player21_string_split = StringReplace($player21_string_split, "^7", "")
    $player21_string_split = StringSplit($player21_string_split, "/")
    $place = $place + 1
    EndIf
    If $place < UBound($filearray, 1) - 1 Then
    $player22_string_all = $filearray[26]
    $player22_string_split = StringRegExpReplace($player22_string_all, '\s+', '/')
    $player22_string_split = StringReplace($player22_string_split, "^7", "")
    $player22_string_split = StringSplit($player22_string_split, "/")
    $place = $place + 1
    EndIf
    If $place < UBound($filearray, 1) - 1 Then
    $player23_string_all = $filearray[27]
    $player23_string_split = StringRegExpReplace($player23_string_all, '\s+', '/')
    $player23_string_split = StringReplace($player23_string_split, "^7", "")
    $player23_string_split = StringSplit($player23_string_split, "/")
    $place = $place + 1
    EndIf
    If $place < UBound($filearray, 1) - 1 Then
    $player24_string_all = $filearray[28]
    $player24_string_split = StringRegExpReplace($player24_string_all, '\s+', '/')
    $player24_string_split = StringReplace($player24_string_split, "^7", "")
    $player24_string_split = StringSplit($player24_string_split, "/")
    $place = $place + 1
    EndIf

    [/autoit] [autoit][/autoit] [autoit]

    $hListView_Player = GUICtrlCreateListView("PB ID|ID|Score|Ping|GUID|Name (" & $place - 5 & " Spieler)|LastMsg|IP|QPort|Rate", 10, 20, 690, 500, -1, BitOR($LVS_EX_TRACKSELECT, $LVS_EX_FULLROWSELECT))
    GUICtrlSendMsg(-1, $LVM_SETCOLUMNWIDTH, 0, 40)
    GUICtrlSendMsg(-1, $LVM_SETCOLUMNWIDTH, 1, 40)
    GUICtrlSendMsg(-1, $LVM_SETCOLUMNWIDTH, 2, 50)
    GUICtrlSendMsg(-1, $LVM_SETCOLUMNWIDTH, 3, 40)
    GUICtrlSendMsg(-1, $LVM_SETCOLUMNWIDTH, 4, 100)
    GUICtrlSendMsg(-1, $LVM_SETCOLUMNWIDTH, 5, 130)
    GUICtrlSendMsg(-1, $LVM_SETCOLUMNWIDTH, 6, 60)
    GUICtrlSendMsg(-1, $LVM_SETCOLUMNWIDTH, 7, 120)
    GUICtrlSendMsg(-1, $LVM_SETCOLUMNWIDTH, 8, 50)
    GUICtrlSendMsg(-1, $LVM_SETCOLUMNWIDTH, 9, 50)

    [/autoit] [autoit][/autoit] [autoit]

    $view1 = GUICtrlCreateListViewItem("|||||||||", $hListView_Player)
    $view2 = GUICtrlCreateListViewItem("||||||||||", $hListView_Player)
    $view3 = GUICtrlCreateListViewItem("||||||||||", $hListView_Player)
    $view4 = GUICtrlCreateListViewItem("||||||||||", $hListView_Player)
    $view5 = GUICtrlCreateListViewItem("||||||||||", $hListView_Player)
    $view6 = GUICtrlCreateListViewItem("||||||||||", $hListView_Player)
    $view7 = GUICtrlCreateListViewItem("||||||||||", $hListView_Player)
    $view8 = GUICtrlCreateListViewItem("||||||||||", $hListView_Player)
    $view9 = GUICtrlCreateListViewItem("||||||||||", $hListView_Player)
    $view10 = GUICtrlCreateListViewItem("||||||||||", $hListView_Player)
    $view11 = GUICtrlCreateListViewItem("||||||||||", $hListView_Player)
    $view12 = GUICtrlCreateListViewItem("||||||||||", $hListView_Player)
    $view13 = GUICtrlCreateListViewItem("||||||||||", $hListView_Player)
    $view14 = GUICtrlCreateListViewItem("||||||||||", $hListView_Player)
    $view15 = GUICtrlCreateListViewItem("||||||||||", $hListView_Player)
    $view16 = GUICtrlCreateListViewItem("||||||||||", $hListView_Player)
    $view17 = GUICtrlCreateListViewItem("||||||||||", $hListView_Player)
    $view18 = GUICtrlCreateListViewItem("||||||||||", $hListView_Player)
    $view19 = GUICtrlCreateListViewItem("||||||||||", $hListView_Player)
    $view20 = GUICtrlCreateListViewItem("||||||||||", $hListView_Player)
    $view21 = GUICtrlCreateListViewItem("||||||||||", $hListView_Player)
    $view22 = GUICtrlCreateListViewItem("||||||||||", $hListView_Player)
    $view23 = GUICtrlCreateListViewItem("||||||||||", $hListView_Player)
    $view24 = GUICtrlCreateListViewItem("||||||||||", $hListView_Player)

    [/autoit] [autoit][/autoit] [autoit]

    If $place = 5 Then
    $view_platzhalter = GUICtrlSetData($view1, "/|/|/|/|/|/|/|/|/|")
    EndIf

    [/autoit] [autoit][/autoit] [autoit]

    If $place > 5 Then

    [/autoit] [autoit][/autoit] [autoit]

    If IsArray($player1_string_split) Then

    [/autoit] [autoit][/autoit] [autoit]

    $i = 2
    GUICtrlSetData($view1, $player1_pb_id)

    [/autoit] [autoit][/autoit] [autoit]

    GUICtrlSetData($view1, "|" & $player1_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view1, "||" & $player1_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view1, "|||" & $player1_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view1, "||||" & $player1_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view1, "|||||" & $player1_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view1, "||||||" & $player1_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view1, "|||||||" & $player1_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view1, "||||||||" & $player1_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view1, "|||||||||" & $player1_string_split[$i])

    [/autoit] [autoit][/autoit] [autoit]

    Else
    GUICtrlSetData($view1, "/|/|/|/|/|/|/|/|")
    EndIf
    Else
    GUICtrlSetData($view1, "||||||||")
    EndIf

    [/autoit] [autoit][/autoit] [autoit]

    If $place > 6 Then

    [/autoit] [autoit][/autoit] [autoit]

    If IsArray($player2_string_split) Then

    [/autoit] [autoit][/autoit] [autoit]

    $i = 2
    GUICtrlSetData($view2, $player2_pb_id)

    [/autoit] [autoit][/autoit] [autoit]

    GUICtrlSetData($view2, "|" & $player2_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view2, "||" & $player2_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view2, "|||" & $player2_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view2, "||||" & $player2_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view2, "|||||" & $player2_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view2, "||||||" & $player2_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view2, "|||||||" & $player2_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view2, "||||||||" & $player2_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view2, "|||||||||" & $player2_string_split[$i])

    [/autoit] [autoit][/autoit] [autoit]

    Else
    GUICtrlSetData($view2, "/|/|/|/|/|/|/|/|")
    EndIf
    Else
    GUICtrlSetData($view2, "||||||||")
    EndIf
    If $place > 7 Then

    [/autoit] [autoit][/autoit] [autoit]

    If IsArray($player3_string_split) Then

    [/autoit] [autoit][/autoit] [autoit]

    $i = 2
    GUICtrlSetData($view3, $player3_pb_id)

    [/autoit] [autoit][/autoit] [autoit]

    GUICtrlSetData($view3, "|" & $player3_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view3, "||" & $player3_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view3, "|||" & $player3_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view3, "||||" & $player3_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view3, "|||||" & $player3_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view3, "||||||" & $player3_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view3, "|||||||" & $player3_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view3, "||||||||" & $player3_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view3, "|||||||||" & $player3_string_split[$i])

    [/autoit] [autoit][/autoit] [autoit]

    Else
    GUICtrlSetData($view3, "/|/|/|/|/|/|/|/|")
    EndIf
    Else
    GUICtrlSetData($view3, "||||||||")
    EndIf

    [/autoit] [autoit][/autoit] [autoit]

    If $place > 8 Then

    [/autoit] [autoit][/autoit] [autoit]

    If IsArray($player4_string_split) Then

    [/autoit] [autoit][/autoit] [autoit]

    $i = 2
    GUICtrlSetData($view4, $player4_pb_id)

    [/autoit] [autoit][/autoit] [autoit]

    GUICtrlSetData($view4, "|" & $player4_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view4, "||" & $player4_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view4, "|||" & $player4_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view4, "||||" & $player4_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view4, "|||||" & $player4_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view4, "||||||" & $player4_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view4, "|||||||" & $player4_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view4, "||||||||" & $player4_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view4, "|||||||||" & $player4_string_split[$i])

    [/autoit] [autoit][/autoit] [autoit]

    Else
    GUICtrlSetData($view4, "/|/|/|/|/|/|/|/|")
    EndIf
    Else
    GUICtrlSetData($view4, "||||||||")
    EndIf

    [/autoit] [autoit][/autoit] [autoit]

    If $place > 9 Then

    [/autoit] [autoit][/autoit] [autoit]

    If IsArray($player5_string_split) Then

    [/autoit] [autoit][/autoit] [autoit]

    $i = 2
    GUICtrlSetData($view5, $player5_pb_id)

    [/autoit] [autoit][/autoit] [autoit]

    GUICtrlSetData($view5, "|" & $player5_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view5, "||" & $player5_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view5, "|||" & $player5_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view5, "||||" & $player5_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view5, "|||||" & $player5_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view5, "||||||" & $player5_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view5, "|||||||" & $player5_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view5, "||||||||" & $player5_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view5, "|||||||||" & $player5_string_split[$i])

    [/autoit] [autoit][/autoit] [autoit]

    Else
    GUICtrlSetData($view6, "/|/|/|/|/|/|/|/|")
    EndIf
    Else
    GUICtrlSetData($view5, "||||||||")
    EndIf

    [/autoit] [autoit][/autoit] [autoit]

    If $place > 10 Then

    [/autoit] [autoit][/autoit] [autoit]

    If IsArray($player6_string_split) Then

    [/autoit] [autoit][/autoit] [autoit]

    $i = 2
    GUICtrlSetData($view6, $player6_pb_id)

    [/autoit] [autoit][/autoit] [autoit]

    GUICtrlSetData($view6, "|" & $player6_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view6, "||" & $player6_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view6, "|||" & $player6_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view6, "||||" & $player6_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view6, "|||||" & $player6_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view6, "||||||" & $player6_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view6, "|||||||" & $player6_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view6, "||||||||" & $player6_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view6, "|||||||||" & $player6_string_split[$i])

    [/autoit] [autoit][/autoit] [autoit]

    Else
    GUICtrlSetData($view6, "/|/|/|/|/|/|/|/|")
    EndIf
    Else
    GUICtrlSetData($view6, "||||||||")
    EndIf

    [/autoit] [autoit][/autoit] [autoit]

    If $place > 11 Then

    [/autoit] [autoit][/autoit] [autoit]

    If IsArray($player7_string_split) Then

    [/autoit] [autoit][/autoit] [autoit]

    $i = 2
    GUICtrlSetData($view7, $player7_pb_id)

    [/autoit] [autoit][/autoit] [autoit]

    GUICtrlSetData($view7, "|" & $player7_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view7, "||" & $player7_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view7, "|||" & $player7_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view7, "||||" & $player7_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view7, "|||||" & $player7_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view7, "||||||" & $player7_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view7, "|||||||" & $player7_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view7, "||||||||" & $player7_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view7, "|||||||||" & $player7_string_split[$i])

    [/autoit] [autoit][/autoit] [autoit]

    Else
    GUICtrlSetData($view7, "/|/|/|/|/|/|/|/|")
    EndIf
    Else
    GUICtrlSetData($view7, "||||||||")
    EndIf

    [/autoit] [autoit][/autoit] [autoit]

    If $place > 12 Then

    [/autoit] [autoit][/autoit] [autoit]

    If IsArray($player8_string_split) Then

    [/autoit] [autoit][/autoit] [autoit]

    $i = 2
    GUICtrlSetData($view8, $player8_pb_id)

    [/autoit] [autoit][/autoit] [autoit]

    GUICtrlSetData($view8, "|" & $player8_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view8, "||" & $player8_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view8, "|||" & $player8_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view8, "||||" & $player8_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view8, "|||||" & $player8_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view8, "||||||" & $player8_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view8, "|||||||" & $player8_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view8, "||||||||" & $player8_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view8, "|||||||||" & $player8_string_split[$i])

    [/autoit] [autoit][/autoit] [autoit]

    Else
    GUICtrlSetData($view8, "/|/|/|/|/|/|/|/|")
    EndIf
    Else
    GUICtrlSetData($view8, "||||||||")
    EndIf

    [/autoit] [autoit][/autoit] [autoit]

    If $place > 13 Then

    [/autoit] [autoit][/autoit] [autoit]

    If IsArray($player9_string_split) Then

    [/autoit] [autoit][/autoit] [autoit]

    $i = 2
    GUICtrlSetData($view9, $player9_pb_id)

    [/autoit] [autoit][/autoit] [autoit]

    GUICtrlSetData($view9, "|" & $player9_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view9, "||" & $player9_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view9, "|||" & $player9_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view9, "||||" & $player9_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view9, "|||||" & $player9_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view9, "||||||" & $player9_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view9, "|||||||" & $player9_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view9, "||||||||" & $player9_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view9, "|||||||||" & $player9_string_split[$i])

    [/autoit] [autoit][/autoit] [autoit]

    Else
    GUICtrlSetData($view9, "/|/|/|/|/|/|/|/|")
    EndIf
    Else
    GUICtrlSetData($view9, "||||||||")
    EndIf

    [/autoit] [autoit][/autoit] [autoit]

    If $place > 14 Then

    [/autoit] [autoit][/autoit] [autoit]

    If IsArray($player10_string_split) Then

    [/autoit] [autoit][/autoit] [autoit]

    $i = 2
    GUICtrlSetData($view10, $player10_pb_id)

    [/autoit] [autoit][/autoit] [autoit]

    GUICtrlSetData($view10, "|" & $player10_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view10, "||" & $player10_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view10, "|||" & $player10_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view10, "||||" & $player10_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view10, "|||||" & $player10_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view10, "||||||" & $player10_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view10, "|||||||" & $player10_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view10, "||||||||" & $player10_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view10, "|||||||||" & $player10_string_split[$i])

    [/autoit] [autoit][/autoit] [autoit]

    Else
    GUICtrlSetData($view10, "/|/|/|/|/|/|/|/|")
    EndIf
    Else
    GUICtrlSetData($view10, "||||||||")
    EndIf

    [/autoit] [autoit][/autoit] [autoit]

    If $place > 15 Then

    [/autoit] [autoit][/autoit] [autoit]

    If IsArray($player11_string_split) Then

    [/autoit] [autoit][/autoit] [autoit]

    $i = 2
    GUICtrlSetData($view11, $player11_pb_id)

    [/autoit] [autoit][/autoit] [autoit]

    GUICtrlSetData($view11, "|" & $player11_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view11, "||" & $player11_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view11, "|||" & $player11_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view11, "||||" & $player11_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view11, "|||||" & $player11_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view11, "||||||" & $player11_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view11, "|||||||" & $player11_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view11, "||||||||" & $player11_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view11, "|||||||||" & $player11_string_split[$i])

    [/autoit] [autoit][/autoit] [autoit]

    Else
    GUICtrlSetData($view11, "/|/|/|/|/|/|/|/|")
    EndIf
    Else
    GUICtrlSetData($view11, "||||||||")
    EndIf

    [/autoit] [autoit][/autoit] [autoit]

    If $place > 16 Then

    [/autoit] [autoit][/autoit] [autoit]

    If IsArray($player12_string_split) Then

    [/autoit] [autoit][/autoit] [autoit]

    $i = 2
    GUICtrlSetData($view12, $player12_pb_id)

    [/autoit] [autoit][/autoit] [autoit]

    GUICtrlSetData($view12, "|" & $player12_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view12, "||" & $player12_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view12, "|||" & $player12_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view12, "||||" & $player12_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view12, "|||||" & $player12_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view12, "||||||" & $player12_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view12, "|||||||" & $player12_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view12, "||||||||" & $player12_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view12, "|||||||||" & $player12_string_split[$i])

    [/autoit] [autoit][/autoit] [autoit]

    Else
    GUICtrlSetData($view12, "/|/|/|/|/|/|/|/|")
    EndIf
    Else
    GUICtrlSetData($view12, "||||||||")
    EndIf

    [/autoit] [autoit][/autoit] [autoit]

    If $place > 17 Then

    [/autoit] [autoit][/autoit] [autoit]

    If IsArray($player13_string_split) Then

    [/autoit] [autoit][/autoit] [autoit]

    $i = 2
    GUICtrlSetData($view13, $player13_pb_id)

    [/autoit] [autoit][/autoit] [autoit]

    GUICtrlSetData($view13, "|" & $player13_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view13, "||" & $player13_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view13, "|||" & $player13_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view13, "||||" & $player13_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view13, "|||||" & $player13_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view13, "||||||" & $player13_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view13, "|||||||" & $player13_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view13, "||||||||" & $player13_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view13, "|||||||||" & $player13_string_split[$i])

    [/autoit] [autoit][/autoit] [autoit]

    Else
    GUICtrlSetData($view13, "/|/|/|/|/|/|/|/|")
    EndIf
    Else
    GUICtrlSetData($view13, "||||||||")
    EndIf

    [/autoit] [autoit][/autoit] [autoit]

    If $place > 18 Then

    [/autoit] [autoit][/autoit] [autoit]

    If IsArray($player14_string_split) Then

    [/autoit] [autoit][/autoit] [autoit]

    $i = 2
    GUICtrlSetData($view14, $player14_pb_id)

    [/autoit] [autoit][/autoit] [autoit]

    GUICtrlSetData($view14, "|" & $player14_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view14, "||" & $player14_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view14, "|||" & $player14_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view14, "||||" & $player14_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view14, "|||||" & $player14_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view14, "||||||" & $player14_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view14, "|||||||" & $player14_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view14, "||||||||" & $player14_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view14, "|||||||||" & $player14_string_split[$i])

    [/autoit] [autoit][/autoit] [autoit]

    Else
    GUICtrlSetData($view14, "/|/|/|/|/|/|/|/|")
    EndIf
    Else
    GUICtrlSetData($view14, "||||||||")
    EndIf

    [/autoit] [autoit][/autoit] [autoit]

    If $place > 19 Then

    [/autoit] [autoit][/autoit] [autoit]

    If IsArray($player15_string_split) Then

    [/autoit] [autoit][/autoit] [autoit]

    $i = 2
    GUICtrlSetData($view15, $player15_pb_id)

    [/autoit] [autoit][/autoit] [autoit]

    GUICtrlSetData($view15, "|" & $player15_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view15, "||" & $player15_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view15, "|||" & $player15_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view15, "||||" & $player15_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view15, "|||||" & $player15_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view15, "||||||" & $player15_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view15, "|||||||" & $player15_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view15, "||||||||" & $player15_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view15, "|||||||||" & $player15_string_split[$i])

    [/autoit] [autoit][/autoit] [autoit]

    Else
    GUICtrlSetData($view15, "/|/|/|/|/|/|/|/|")
    EndIf
    Else
    GUICtrlSetData($view15, "||||||||")
    EndIf

    [/autoit] [autoit][/autoit] [autoit]

    If $place > 20 Then

    [/autoit] [autoit][/autoit] [autoit]

    If IsArray($player16_string_split) Then

    [/autoit] [autoit][/autoit] [autoit]

    $i = 2
    GUICtrlSetData($view16, $player16_pb_id)

    [/autoit] [autoit][/autoit] [autoit]

    GUICtrlSetData($view16, "|" & $player16_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view16, "||" & $player16_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view16, "|||" & $player16_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view16, "||||" & $player16_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view16, "|||||" & $player16_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view16, "||||||" & $player16_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view16, "|||||||" & $player16_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view16, "||||||||" & $player16_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view16, "|||||||||" & $player16_string_split[$i])

    [/autoit] [autoit][/autoit] [autoit]

    Else
    GUICtrlSetData($view16, "/|/|/|/|/|/|/|/|")
    EndIf
    Else
    GUICtrlSetData($view16, "||||||||")
    EndIf

    [/autoit] [autoit][/autoit] [autoit]

    If $place > 21 Then

    [/autoit] [autoit][/autoit] [autoit]

    If IsArray($player17_string_split) Then

    [/autoit] [autoit][/autoit] [autoit]

    $i = 2
    GUICtrlSetData($view17, $player17_pb_id)

    [/autoit] [autoit][/autoit] [autoit]

    GUICtrlSetData($view17, "|" & $player17_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view17, "||" & $player17_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view17, "|||" & $player17_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view17, "||||" & $player17_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view17, "|||||" & $player17_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view17, "||||||" & $player17_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view17, "|||||||" & $player17_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view17, "||||||||" & $player17_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view17, "|||||||||" & $player17_string_split[$i])

    [/autoit] [autoit][/autoit] [autoit]

    Else
    GUICtrlSetData($view17, "/|/|/|/|/|/|/|/|")
    EndIf
    Else
    GUICtrlSetData($view17, "||||||||")
    EndIf

    [/autoit] [autoit][/autoit] [autoit]

    If $place > 22 Then

    [/autoit] [autoit][/autoit] [autoit]

    If IsArray($player18_string_split) Then

    [/autoit] [autoit][/autoit] [autoit]

    $i = 2
    GUICtrlSetData($view18, $player18_pb_id)

    [/autoit] [autoit][/autoit] [autoit]

    GUICtrlSetData($view18, "|" & $player18_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view18, "||" & $player18_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view18, "|||" & $player18_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view18, "||||" & $player18_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view18, "|||||" & $player18_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view18, "||||||" & $player18_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view18, "|||||||" & $player18_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view18, "||||||||" & $player18_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view18, "|||||||||" & $player18_string_split[$i])

    [/autoit] [autoit][/autoit] [autoit]

    Else
    GUICtrlSetData($view18, "/|/|/|/|/|/|/|/|")
    EndIf
    Else
    GUICtrlSetData($view18, "||||||||")
    EndIf

    [/autoit] [autoit][/autoit] [autoit]

    If $place > 23 Then

    [/autoit] [autoit][/autoit] [autoit]

    If IsArray($player19_string_split) Then

    [/autoit] [autoit][/autoit] [autoit]

    $i = 2
    GUICtrlSetData($view19, $player19_pb_id)

    [/autoit] [autoit][/autoit] [autoit]

    GUICtrlSetData($view19, "|" & $player19_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view19, "||" & $player19_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view19, "|||" & $player19_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view19, "||||" & $player19_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view19, "|||||" & $player19_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view19, "||||||" & $player19_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view19, "|||||||" & $player19_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view19, "||||||||" & $player19_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view19, "|||||||||" & $player19_string_split[$i])

    [/autoit] [autoit][/autoit] [autoit]

    Else
    GUICtrlSetData($view19, "/|/|/|/|/|/|/|/|")
    EndIf
    Else
    GUICtrlSetData($view19, "||||||||")
    EndIf

    [/autoit] [autoit][/autoit] [autoit]

    If $place > 24 Then

    [/autoit] [autoit][/autoit] [autoit]

    If IsArray($player20_string_split) Then

    [/autoit] [autoit][/autoit] [autoit]

    $i = 2
    GUICtrlSetData($view20, $player20_pb_id)

    [/autoit] [autoit][/autoit] [autoit]

    GUICtrlSetData($view20, "|" & $player20_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view20, "||" & $player20_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view20, "|||" & $player20_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view20, "||||" & $player20_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view20, "|||||" & $player20_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view20, "||||||" & $player20_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view20, "|||||||" & $player20_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view20, "||||||||" & $player20_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view20, "|||||||||" & $player20_string_split[$i])

    [/autoit] [autoit][/autoit] [autoit]

    Else
    GUICtrlSetData($view20, "/|/|/|/|/|/|/|/|")
    EndIf
    Else
    GUICtrlSetData($view20, "||||||||")
    EndIf

    [/autoit] [autoit][/autoit] [autoit]

    If $place > 25 Then

    [/autoit] [autoit][/autoit] [autoit]

    If IsArray($player21_string_split) Then

    [/autoit] [autoit][/autoit] [autoit]

    $i = 2
    GUICtrlSetData($view21, $player21_pb_id)

    [/autoit] [autoit][/autoit] [autoit]

    GUICtrlSetData($view21, "|" & $player21_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view21, "||" & $player21_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view21, "|||" & $player21_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view21, "||||" & $player21_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view21, "|||||" & $player21_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view21, "||||||" & $player21_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view21, "|||||||" & $player21_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view21, "||||||||" & $player21_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view21, "|||||||||" & $player21_string_split[$i])

    [/autoit] [autoit][/autoit] [autoit]

    Else
    GUICtrlSetData($view21, "/|/|/|/|/|/|/|/|")
    EndIf
    Else
    GUICtrlSetData($view21, "||||||||")
    EndIf

    [/autoit] [autoit][/autoit] [autoit]

    If $place > 26 Then

    [/autoit] [autoit][/autoit] [autoit]

    If IsArray($player22_string_split) Then

    [/autoit] [autoit][/autoit] [autoit]

    $i = 2
    GUICtrlSetData($view22, $player22_pb_id)

    [/autoit] [autoit][/autoit] [autoit]

    GUICtrlSetData($view22, "|" & $player22_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view22, "||" & $player22_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view22, "|||" & $player22_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view22, "||||" & $player22_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view22, "|||||" & $player22_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view22, "||||||" & $player22_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view22, "|||||||" & $player22_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view22, "||||||||" & $player22_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view22, "|||||||||" & $player22_string_split[$i])

    [/autoit] [autoit][/autoit] [autoit]

    Else
    GUICtrlSetData($view22, "/|/|/|/|/|/|/|/|")
    EndIf
    Else
    GUICtrlSetData($view22, "||||||||")
    EndIf

    [/autoit] [autoit][/autoit] [autoit]

    If $place > 27 Then

    [/autoit] [autoit][/autoit] [autoit]

    If IsArray($player23_string_split) Then

    [/autoit] [autoit][/autoit] [autoit]

    $i = 2
    GUICtrlSetData($view23, $player23_pb_id)

    [/autoit] [autoit][/autoit] [autoit]

    GUICtrlSetData($view23, "|" & $player23_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view23, "||" & $player23_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view23, "|||" & $player23_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view23, "||||" & $player23_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view23, "|||||" & $player23_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view23, "||||||" & $player23_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view23, "|||||||" & $player23_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view23, "||||||||" & $player23_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view23, "|||||||||" & $player23_string_split[$i])

    [/autoit] [autoit][/autoit] [autoit]

    Else
    GUICtrlSetData($view23, "/|/|/|/|/|/|/|/|")
    EndIf
    Else
    GUICtrlSetData($view23, "||||||||")
    EndIf

    [/autoit] [autoit][/autoit] [autoit]

    If $place > 28 Then

    [/autoit] [autoit][/autoit] [autoit]

    If IsArray($player24_string_split) Then

    [/autoit] [autoit][/autoit] [autoit]

    $i = 2
    GUICtrlSetData($view24, $player24_pb_id)

    [/autoit] [autoit][/autoit] [autoit]

    GUICtrlSetData($view24, "|" & $player24_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view24, "||" & $player24_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view24, "|||" & $player24_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view24, "||||" & $player24_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view24, "|||||" & $player24_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view24, "||||||" & $player24_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view24, "|||||||" & $player24_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view24, "||||||||" & $player24_string_split[$i])
    $i = $i + 1
    GUICtrlSetData($view24, "|||||||||" & $player24_string_split[$i])

    [/autoit] [autoit][/autoit] [autoit]

    Else
    GUICtrlSetData($view24, "/|/|/|/|/|/|/|/|")
    EndIf
    Else
    GUICtrlSetData($view24, "||||||||")
    EndIf

    [/autoit] [autoit][/autoit] [autoit]

    If $register = 0 Then
    AdlibRegister("header", 10000)
    $register = 1
    EndIf
    $place = 5

    [/autoit] [autoit][/autoit] [autoit]

    GUICtrlSetState($hListView_Player, @SW_ENABLE)

    [/autoit] [autoit][/autoit] [autoit]

    EndFunc ;==>header

    [/autoit] [autoit][/autoit] [autoit]

    Func rcon_start()
    UDPStartup()
    $iSocket = UDPOpen($ip, $port)
    EndFunc ;==>rcon_start

    [/autoit] [autoit][/autoit] [autoit]

    Func rcon_send()
    UDPSend($iSocket, $sHeader)
    Do
    $srecv = UDPRecv($iSocket, 4096)
    Until $srecv <> ""
    Return $srecv
    ;~ MsgBox(0, "", "" & $srecv)
    cleanup()

    [/autoit] [autoit][/autoit] [autoit]

    EndFunc ;==>rcon_send

    [/autoit] [autoit][/autoit] [autoit]

    Func cleanup()
    UDPCloseSocket($iSocket)
    UDPShutdown()
    EndFunc ;==>cleanup

    [/autoit] [autoit][/autoit] [autoit]

    Func _LeftDblClick($Info)
    MsgBox(0,"","" & _GUICtrlListView_GetItemText($Info[0], $Info[1], $Info[2]))
    EndFunc ;==>_LeftDblClick

    [/autoit] [autoit][/autoit] [autoit][/autoit] [autoit][/autoit] [autoit]

    Func WM_NOTIFY($hWnd, $iMsg, $iwParam, $ilParam)
    Local $hWndFrom, $iIDFrom, $iCode, $tNMHDR, $hWndListView, $hListView_Player
    $hWndListView = $hListView_Player
    If Not IsHWnd($hListView_Player) Then $hWndListView = GUICtrlGetHandle($hListView_Player)
    $tNMHDR = DllStructCreate($tagNMHDR, $ilParam)
    $hWndFrom = HWnd(DllStructGetData($tNMHDR, "hWndFrom"))
    $iIDFrom = DllStructGetData($tNMHDR, "IDFrom")
    $iCode = DllStructGetData($tNMHDR, "Code")
    If $hWndFrom = $hWndListView And $iCode = $NM_DBLCLK Then
    Local $tInfo = DllStructCreate($tagNMITEMACTIVATE, $ilParam)
    Local $aInfo[3] = [$hWndFrom, DllStructGetData($tInfo, "Index"), DllStructGetData($tInfo, "SubItem")]
    _LeftDblClick($aInfo)
    EndIf
    Return $GUI_RUNDEFMSG
    EndFunc ;==>WM_NOTIFY

    [/autoit]