1. Dashboard
  2. Mitglieder
    1. Letzte Aktivitäten
    2. Benutzer online
    3. Team
    4. Mitgliedersuche
  3. Forenregeln
  4. Forum
    1. Unerledigte Themen
  • Anmelden
  • Registrieren
  • Suche
Alles
  • Alles
  • Artikel
  • Seiten
  • Forum
  • Erweiterte Suche
  1. AutoIt.de - Das deutschsprachige Forum.
  2. Mitglieder
  3. chesstiger

Beiträge von chesstiger

  • IDO-Interpreter

    • chesstiger
    • 14. Juli 2012 um 15:25

    Das zweite erzeugt bei mir das hier:

    Code
    Hier ist ein;†‡€„‰€;o€“;•;`„‰Ž„ˆˆ‰‚I;h|‡;Ž~ƒ|€‰;Š};€Ž;†‡|‹‹yy

    Ich hab' die @CRLF's rausgenommen, weil bei mir ja alles in ein Input kommt.

    lg chess

  • IDO-Interpreter

    • chesstiger
    • 14. Juli 2012 um 15:02

    1225.75 ms bei mir. :rofl:

    lg chess

    Edit:
    Ah, da hat sich ja noch was geändert.^^

    99677.4 MS
    Kein Kommentar. :rofl:

  • IDO-Interpreter

    • chesstiger
    • 14. Juli 2012 um 14:46

    Respekt.
    Das ist echt verdammt schnell. :thumbup:

    Bei mir sieht man ja, wie die Buchstaben geschrieben werden. :S

    lg chess

  • IDO-Interpreter

    • chesstiger
    • 14. Juli 2012 um 14:33

    Ja, weil das Sprachmodell zuerst nur auf I, D & O basiert hat.
    Am Anfang gab's nur +1, nicht +10.
    Und ich hab's so gelassen, weil ich es so übersichtlicher finde und weil es hier eigentlich nicht auf Geschwindigkeit ankommt.
    Wenn müsste man hier mit Select arbeiten, das wäre wohl das praktischste.

    Und das Debug finde ich ganz nützlich, um Fehler zu finden. ;)

    lg chess

  • IDO-Interpreter

    • chesstiger
    • 14. Juli 2012 um 14:12

    Wow. Das ist... wirklich schnell.^^
    Der gleiche Code, nämlich "Hello World!":
    Mein Interpreter: 294.54 ms
    Marsi-Engine: 0.59 ms

    Naja, dafür hab' ich ja auch noch Debugging und ne GUI. :P

    Aber trotzdem: Cool, wie schnell AutoIt werden kann.:thumbup:

    lg chess

  • IDO-Interpreter

    • chesstiger
    • 14. Juli 2012 um 13:25

    Ahja, Deutsch sind nur der Button und der WinTitle.

    Ich hatte vorher alles Konsolenbasierend gemacht (Englisch), bin dann aber auf GUI (Deutsch) umgestiegen, daher kommt das.
    Ist aber wahrscheinlich wirklich besser, danke!

    lg chess

  • IDO-Interpreter

    • chesstiger
    • 14. Juli 2012 um 13:12

    Englisch, Reli und Erdkunde sind meine drei schlechtesten Fächer, also von daher ist das kein Wunder. ;)

    Was genau ist denn falsch?

    lg chess

  • IDO-Interpreter

    • chesstiger
    • 13. Juli 2012 um 23:32

    Moin,

    Ich hab' anlässlich zu dem Thema hier Klick! mal was gebastelt.;)
    Ich selbst habe nicht die geringste Ahnung, wie BrainFuck funktioniert, deswegen arbeite ich mit einem anderen System:

    i
    Inkrementiert den aktuellen Wert um 1. (+1)

    d
    Dekrementiert den aktuellen Wert um 1. (-1)

    I
    Inkrementiert den aktuellen Wert um 10. (+10)

    D
    Dekrementiert den aktuellen Wert um 10. (-10)

    R
    Setzt den aktuellen Wert auf 65 (ASCII-Code für "A").

    r
    Setzt den aktuellen Wert auf 97 (ASCII-Code für "a").

    O oder o (Groß-Klein-Schreibung wird hier nicht beachtet)
    Gibt den aktuellen Wert als ASCII-Zeichen aus.

    So, hier dann mal das Script. ;)

    IDO-Interpreter (Version 1.0)
    [autoit]


    #include <EditConstants.au3>

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

    $sFile = "test.txt"
    $fDebug = True

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

    $hGUI = GUICreate("IDO-Interpreter", 500, 250)
    $hCodeInput = GUICtrlCreateEdit("Input", 0, 0, 250, 100)
    $hCodeOutput = GUICtrlCreateEdit("Output", 0, 150, 250, 100, $ES_READONLY)
    $hDebugOutput = GUICtrlCreateEdit("Debug", 250, 0, 250, 250)
    GUICtrlSetBkColor(-1, 0x999999)
    GUICtrlSetColor(-1, 0xFFFFFF)
    $hRunButton = GUICtrlCreateButton("Execute", 0, 100, 250, 50)

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

    GUISetState()
    While 1
    $iMsg = GUIGetMsg()
    Switch $iMsg
    Case -3
    Exit
    Case $hRunButton
    _Run()
    EndSwitch
    WEnd

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

    Func _Run()
    GUICtrlSetData($hDebugOutput, "")
    GUICtrlSetData($hCodeOutput, "")

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

    $hTimer = TimerInit()

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

    _Debug("Program started!" & @CRLF & @CRLF)
    Dim $asCmd
    $asCmd = _InputReadToCommands($sFile)

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

    $iCell = 65
    For $i = 1 To $asCmd[0]
    _Debug("Read Char: " & $asCmd[$i] & @CRLF & " Action: ")
    $fMatch = False

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

    Switch $asCmd[$i]
    Case "I"
    $fMatch = True
    If $asCmd[$i] == "i" Then
    $iCell += 1
    _Debug("Increment Cell from " & $iCell - 1 & " to " & $iCell & @CRLF)
    ElseIf $asCmd[$i] == "I" Then
    $iCell += 10
    _Debug("Increment Cell from " & $iCell - 10 & " to " & $iCell & @CRLF)
    EndIf
    Case "D"
    $fMatch = True
    If $asCmd[$i] == "d" Then
    $iCell -= 1
    _Debug("Decrement Cell from " & $iCell + 1 & " to " & $iCell & @CRLF)
    ElseIf $asCmd[$i] == "D" Then
    $iCell -= 10
    _Debug("Decrement Cell from " & $iCell + 10 & " to " & $iCell & @CRLF)
    EndIf
    Case "O"
    $fMatch = True
    _Debug("Output Cell as ASCII-Char from " & $iCell & " to '" & Chr($iCell) & "'" & @CRLF)
    _Output(Chr($iCell))
    Case "R"
    $fMatch = True
    If $asCmd[$i] == "R" Then
    _Debug("Resetting Cell from " & $iCell & " (" & Chr($iCell) & ") to 65 (A)" & @CRLF)
    $iCell = 65
    ElseIf $asCmd[$i] == "r" Then
    _Debug("Resetting Cell from " & $iCell & " (" & Chr($iCell) & ") to 97 (a)" & @CRLF)
    $iCell = 97
    EndIf
    EndSwitch

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

    If $fMatch = False Then
    _Debug("None. Character is unknown." & @CRLF)
    EndIf
    Next
    _Debug(@CRLF & "Program ended. Time: " & Round(TimerDiff($hTimer) / 1000, 1) & " Seconds")
    EndFunc ;==>_Run

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

    Func _InputReadToCommands($sFile)
    $sCommands = GUICtrlRead($hCodeInput)
    $asCommands = StringSplit($sCommands, "")
    Return $asCommands
    EndFunc ;==>_InputReadToCommands

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

    Func _Debug($sDebugInfo)
    GUICtrlSetData($hDebugOutput, GUICtrlRead($hDebugOutput) & $sDebugInfo)
    EndFunc ;==>_Debug

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

    Func _Output($sOutput)
    GUICtrlSetData($hCodeOutput, GUICtrlRead($hCodeOutput) & $sOutput)
    EndFunc ;==>_Output

    [/autoit]

    Update:

    IDO-Interpreter (Version 1.1)


    Changelog:
    -2 Engines:
    -Chesstiger-Engine (Von mir)
    -Marsi-Engine (Von Marsi [Nochmal danke!])

    [autoit]


    #include <EditConstants.au3>
    #include <GUIConstants.au3>
    #include <WindowsConstants.au3>
    #include <GUIEdit.au3>
    $sFile = "test.txt"
    $fDebug = True

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

    $hGUI = GUICreate("IDO-Interpreter", 500, 250)
    $hCodeInput = GUICtrlCreateEdit("Input", 0, 0, 250, 100, $WS_VSCROLL + $ES_AUTOVSCROLL)
    $hCodeOutput = GUICtrlCreateEdit("Output", 0, 150, 250, 100, $ES_READONLY + $WS_VSCROLL + $ES_AUTOVSCROLL)
    $hDebugOutput = GUICtrlCreateEdit("Debug", 250, 0, 250, 250, $ES_READONLY + $WS_VSCROLL + $ES_AUTOVSCROLL)
    GUICtrlSetBkColor(-1, 0x999999)
    GUICtrlSetColor(-1, 0xFFFFFF)
    $hRunButton = GUICtrlCreateButton("Execute", 0, 100, 150, 50)
    $hCtEngineRadio = GUICtrlCreateRadio("Chesstiger-Engine",150,100)
    GUICtrlSetState($hCtEngineRadio, $GUI_CHECKED)
    $hMarsiEngineRadio = GUICtrlCreateRadio("Marsi-Engine",150,120)

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

    GUISetState()
    While 1
    $iMsg = GUIGetMsg()
    Switch $iMsg
    Case -3
    Exit
    Case $hRunButton
    If BitAND(GUICtrlRead($hCtEngineRadio), $GUI_CHECKED) = $GUI_CHECKED Then _Run_CtEngine()
    If BitAND(GUICtrlRead($hMarsiEngineRadio), $GUI_CHECKED) = $GUI_CHECKED Then _Run_MarsiEngine()
    EndSwitch
    WEnd

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

    #region Chesstiger-Engine
    Func _Run_CtEngine()
    GUICtrlSetData($hDebugOutput, "")
    GUICtrlSetData($hCodeOutput, "")

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

    $hTimer = TimerInit()

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

    _Debug("Program started!" & @CRLF & @CRLF)
    Dim $asCmd
    $asCmd = _InputReadToCommands($sFile)

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

    $iCell = 65
    For $i = 1 To $asCmd[0]
    _Debug("Read Char: " & $asCmd[$i] & @CRLF & " Action: ")
    $fMatch = False

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

    $sChar = $asCmd[$i]
    Select
    Case $sChar == "I"
    $fMatch = True
    $iCell += 10
    _Debug("Increment Cell from " & $iCell - 10 & " to " & $iCell & @CRLF)
    Case $sChar == "i"
    $fMatch = True
    $iCell += 1
    _Debug("Increment Cell from " & $iCell - 1 & " to " & $iCell & @CRLF)
    Case $sChar == "D"
    $fMatch = True
    $iCell -= 10
    _Debug("Decrement Cell from " & $iCell + 10 & " to " & $iCell & @CRLF)
    Case $sChar == "d"
    $fMatch = True
    $iCell -= 1
    _Debug("Decrement Cell from " & $iCell + 1 & " to " & $iCell & @CRLF)
    Case $sChar = "O"
    $fMatch = True
    _Debug("Output Cell as ASCII-Char from " & $iCell & " to '" & Chr($iCell) & "'" & @CRLF)
    _Output(Chr($iCell))
    Case $sChar == "R"
    $fMatch = True
    _Debug("Resetting Cell from " & $iCell & " (" & Chr($iCell) & ") to 65 (A)" & @CRLF)
    $iCell = 65
    Case $sChar == "r"
    $fMatch = True
    _Debug("Resetting Cell from " & $iCell & " (" & Chr($iCell) & ") to 97 (a)" & @CRLF)
    $iCell = 97
    EndSelect

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

    If $fMatch = False Then
    _Debug("None. Character is unknown." & @CRLF)
    EndIf

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

    Next
    _Debug(@CRLF & "Program ended. Time: " & Round(TimerDiff($hTimer), 2) & " ms")
    EndFunc ;==>_Run

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

    Func _InputReadToCommands($sFile)
    $sCommands = GUICtrlRead($hCodeInput)
    $asCommands = StringSplit($sCommands, "")
    Return $asCommands
    EndFunc ;==>_InputReadToCommands
    #endregion

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

    #region Output & Debug
    Func _Debug($sDebugInfo)
    GUICtrlSetData($hDebugOutput, GUICtrlRead($hDebugOutput) & $sDebugInfo)
    EndFunc ;==>_Debug

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

    Func _Output($sOutput)
    GUICtrlSetData($hCodeOutput, GUICtrlRead($hCodeOutput) & $sOutput)
    EndFunc ;==>_Output
    #endregion
    #region Marsi-Engine
    Func _Run_MarsiEngine() ;By Marsi
    GUICtrlSetData($hCodeOutput,"")
    GUICtrlSetData($hDebugOutput,"")
    _Debug("Program started." & @CRLF & "The Marsi-engine does not support debugging." & @CRLF)

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

    Local $Timer, $Interpretiert

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

    $Timer = TimerInit()
    $Interpretiert = _Ido2Asc(GUICtrlRead($hCodeInput))
    $Timer = TimerDiff($Timer)
    _Debug('Program ended. Time: ' & Round($Timer, 2) & ' ms' & @CRLF)

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

    _Output($Interpretiert)
    EndFunc

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

    Func _Ido2Asc($s)
    Local $n = 65, $o = ''
    For $i = 1 To StringLen($s) Step 1
    Switch Asc(StringMid($s, $i, 1))
    Case 105
    $n += 1
    Case 73
    $n += 10
    Case 100
    $n -= 1
    case 68
    $n -= 10
    Case 82
    $n = 65
    Case 114
    $n = 97
    Case 111
    $o &= Chr($n)
    Case 79
    $o &= Chr($n)
    EndSwitch
    Next
    Return $o
    EndFunc ;==>_Ido2Asc
    #endregion

    [/autoit]

    Nebenbei, IDO kommt von den drei Grundbefehlen: Increment Decrement Output
    Zeilenumbrüche werden einfach ignoriert.

    Ach, hier noch mal ein Beispiel:

    Code
    IdddOriiiiOiiiiiiiOOiiiORDDDdddOrDOIIiiiiOiiiOddddddOddddddddODDDDDDDiiiO

    lg chess;)

    Edit: Englisch ( :S ) korrigiert.

  • Happy Birthday TheShadowAE

    • chesstiger
    • 13. Juli 2012 um 22:24

    Auch von mir herzlichen. :thumbup:

    lg chess

  • Brainfuck - Anfängerhilfe

    • chesstiger
    • 13. Juli 2012 um 21:14

    Ah, das rauszufiltern ist nicht so schwer: AutoIt hat sehr mächtige String-Funktionen. :p

    lg chess

  • Brainfuck - Anfängerhilfe

    • chesstiger
    • 13. Juli 2012 um 20:29

    Ich wollte es ja auch nur mal erwähnt haben.^^
    Wir können ja selbst mit AutoIt sowas auf die Beine stellen. 8o

    lg chess

  • Brainfuck - Anfängerhilfe

    • chesstiger
    • 13. Juli 2012 um 20:21

    Ach, das sind alles so wunderbare "esoterische Programmiersprachen".^^
    Da darf man nicht vergessen, diese 4 hier zu erwähnen (Meine Lieblinge in der Sprachart):
    Java2K
    Java2K ist eine sehr interessante Sprache. Das folgende Beispiel gibt "Hello World" aus:

    Beispiel
    Code
    1 1 /125 /131 /119 /125 /11 6/*/_\/_\/125 /13 2
    /*/_\/_\\/131 /119 /125 /11 6/*/_\/_\/125 /13 2
    /*/_\/_\\/119 /125 /11 6/*/_\/_\/125 /13 2/*/_\
    /_\\\\/131 /119 /125 /11 6/*/_\/_\/125 /13 2/*/
    _\/_\\/131 /119 /125 /11 6/*/_\/_\/125 /13 2/*/
    _\/_\\/131 /119 /125 /11 6/*/_\/_\/125 /13 2/*/
    _\/_\\/131 /119 /125 /11 6/*/_\/_\/125 /13 2/*/
    _\/_\\/131 /119 /125 /11 6/*/_\/_\/125 /13 2/*/
    _\/_\\/119 /125 /11 6/*/_\/_\/125 /13 2/*/_\/_\
    \\\\\\\/*\1 1 /125 /119 /11 6/*/_\/13 2/*/_\\/
    125 /131 /119 /125 /11 6/*/_\/_\/125 /13 2/*/_\
    /_\\/119 /125 /11 6/*/_\/_\/125 /13 2/*/_\/_\\\
    /125 /131 /119 /125 /11 6/*/_\/_\/125 /13 2/*/_
    \/_\\/131 /119 /125 /11 6/*/_\/_\/125 /13 2/*/_
    \/_\\/131 /119 /125 /11 6/*/_\/_\/125 /13 2/*/_
    \/_\\/131 /119 /125 /11 6/*/_\/_\/125 /13 2/*/_
    \/_\\/119 /125 /11 6/*/_\/_\/125 /13 2/*/_\/_\\
    \\\\/131 /119 /125 /11 6/*/_\/_\/125 /13 2/*/_\
    /_\\/131 /119 /125 /11 6/*/_\/_\/125 /13 2/*/_\
    /_\\/131 /119 /125 /11 6/*/_\/_\/125 /13 2/*/_\
    /_\\/131 /119 /125 /11 6/*/_\/_\/125 /13 2/*/_\
    /_\\/131 /119 /125 /11 6/*/_\/_\/125 /13 2/*/_\
    /_\\/119 /125 /11 6/*/_\/_\/125 /13 2/*/_\/_\\\
    \\\\\\\/*\1 1 /125 /131 /119 /125 /11 6/*/_\/_\
    /125 /13 2/*/_\/_\\/119 /125 /11 6/*/_\/_\/
    125 /13 2/*/_\/_\\\/125 /131 /119 /125 /11 6/*/
    _\/_\/125 /13 2/*/_\/_\\/131 /119 /125 /11 6/*/
    _\/_\/125 /13 2/*/_\/_\\/119 /125 /11 6/*/_\/_\
    /125 /13 2/*/_\/_\\\\/125 /131 /119 /125 /11 6/
    */_\/_\/125 /13 2/*/_\/_\\/131 /119 /125 /11 6/
    */_\/_\/125 /13 2/*/_\/_\\/131 /119 /125 /11 6/
    */_\/_\/125 /13 2/*/_\/_\\/131 /119 /125 /11 6/
    */_\/_\/125 /13 2/*/_\/_\\/119 /125 /11 6/*/_\/
    _\/125 /13 2/*/_\/_\\\\\\/131 /119 /125 /11 6/*
    /_\/_\/125 /13 2/*/_\/_\\/131 /119 /125 /11 6/*
    /_\/_\/125 /13 2/*/_\/_\\/131 /119 /125 /11 6/*
    /_\/_\/125 /13 2/*/_\/_\\/131 /119 /125 /11 6/*
    /_\/_\/125 /13 2/*/_\/_\\/131 /119 /125 /11 6/*
    /_\/_\/125 /13 2/*/_\/_\\/119 /125 /11 6/*/_\/_
    \/125 /13 2/*/_\/_\\\\\\\\\\/*\1 1 /125 /131 /
    119 /125 /11 6/*/_\/_\/125 /13 2/*/_\/_\\/119 /
    125 /11 6/*/_\/_\/125 /13 2/*/_\/_\\\/125 /
    131 /119 /125 /11 6/*/_\/_\/125 /13 2/*/_\/_\\/
    131 /119 /125 /11 6/*/_\/_\/125 /13 2/*/_\/_\\/
    119 /125 /11 6/*/_\/_\/125 /13 2/*/_\/_\\\\/
    125 /131 /119 /125 /11 6/*/_\/_\/125 /13 2/*/_\
    /_\\/131 /119 /125 /11 6/*/_\/_\/125 /13 2/*/_\
    /_\\/131 /119 /125 /11 6/*/_\/_\/125 /13 2/*/_\
    /_\\/131 /119 /125 /11 6/*/_\/_\/125 /13 2/*/_\
    /_\\/119 /125 /11 6/*/_\/_\/125 /13 2/*/_\/_\\\
    \\\/131 /119 /125 /11 6/*/_\/_\/125 /13 2/*/_\/
    _\\/131 /119 /125 /11 6/*/_\/_\/125 /13 2/*/_\/
    _\\/131 /119 /125 /11 6/*/_\/_\/125 /13 2/*/_\/
    _\\/131 /119 /125 /11 6/*/_\/_\/125 /13 2/*/_\/
    _\\/131 /119 /125 /11 6/*/_\/_\/125 /13 2/*/_\/
    _\\/119 /125 /11 6/*/_\/_\/125 /13 2/*/_\/_\\\\
    \\\\\\/*\1 1 /125 /119 /11 6/*/_\/13 2/*/_\\/
    125 /119 /125 /11 6/*/_\/_\/125 /13 2/*/_\/_\\/
    125 /131 /119 /125 /11 6/*/_\/_\/125 /13 2/*/_\
    /_\\/119 /125 /11 6/*/_\/_\/125 /13 2/*/_\/_\\\
    /125 /131 /119 /125 /11 6/*/_\/_\/125 /13 2/*/_
    \/_\\/131 /119 /125 /11 6/*/_\/_\/125 /13 2/*/_
    \/_\\/119 /125 /11 6/*/_\/_\/125 /13 2/*/_\/_\\
    \\/125 /131 /119 /125 /11 6/*/_\/_\/125 /13 2/*
    /_\/_\\/131 /119 /125 /11 6/*/_\/_\/125 /13 2/*
    /_\/_\\/131 /119 /125 /11 6/*/_\/_\/125 /13 2/*
    /_\/_\\/131 /119 /125 /11 6/*/_\/_\/125 /13 2/*
    /_\/_\\/119 /125 /11 6/*/_\/_\/125 /13 2/*/_\/_
    \\\\\\/131 /119 /125 /11 6/*/_\/_\/125 /13 2/*/
    _\/_\\/131 /119 /125 /11 6/*/_\/_\/125 /13 2/*/
    _\/_\\/131 /119 /125 /11 6/*/_\/_\/125 /13 2/*/
    _\/_\\/131 /119 /125 /11 6/*/_\/_\/125 /13 2/*/
    _\/_\\/131 /119 /125 /11 6/*/_\/_\/125 /13 2/*/
    _\/_\\/119 /125 /11 6/*/_\/_\/125 /13 2/*/_\/_\
    \\\\\\\\\\\/*\1 1 /125 /131 /119 /125 /11 6/*/_
    \/_\/125 /13 2/*/_\/_\\/119 /125 /11 6/*/_\/_\/
    125 /13 2/*/_\/_\\\/125 /131 /119 /125 /11 6/*/
    _\/_\/125 /13 2/*/_\/_\\/131 /119 /125 /11 6/*/
    _\/_\/125 /13 2/*/_\/_\\/119 /125 /11 6/*/_\/_\
    /125 /13 2/*/_\/_\\\\/131 /119 /125 /11 6/*/_\/
    _\/125 /13 2/*/_\/_\\/131 /119 /125 /11 6/*/_\/
    _\/125 /13 2/*/_\/_\\/131 /119 /125 /11 6/*/_\/
    _\/125 /13 2/*/_\/_\\/131 /119 /125 /11 6/*/_\/
    _\/125 /13 2/*/_\/_\\/119 /125 /11 6/*/_\/_\/
    125 /13 2/*/_\/_\\\\\\\\/*\1 1 /131 /119 /125 /
    11 6/*/_\/_\/125 /13 2/*/_\/_\\/131 /119 /125 /
    11 6/*/_\/_\/125 /13 2/*/_\/_\\/131 /119 /125 /
    11 6/*/_\/_\/125 /13 2/*/_\/_\\/131 /119 /125 /
    11 6/*/_\/_\/125 /13 2/*/_\/_\\/119 /125 /11 6/
    */_\/_\/125 /13 2/*/_\/_\\\\\\/*\1 1 /125 /
    119 /11 6/*/_\/13 2/*/_\\/125 /119 /125 /11 6/*
    /_\/_\/125 /13 2/*/_\/_\\/125 /131 /119 /125 /
    11 6/*/_\/_\/125 /13 2/*/_\/_\\/119 /125 /11 6/
    */_\/_\/125 /13 2/*/_\/_\\\/125 /131 /119 /
    125 /11 6/*/_\/_\/125 /13 2/*/_\/_\\/131 /119 /
    125 /11 6/*/_\/_\/125 /13 2/*/_\/_\\/131 /119 /
    125 /11 6/*/_\/_\/125 /13 2/*/_\/_\\/119 /125 /
    11 6/*/_\/_\/125 /13 2/*/_\/_\\\\\/131 /119 /
    125 /11 6/*/_\/_\/125 /13 2/*/_\/_\\/131 /119 /
    125 /11 6/*/_\/_\/125 /13 2/*/_\/_\\/131 /119 /
    125 /11 6/*/_\/_\/125 /13 2/*/_\/_\\/131 /119 /
    125 /11 6/*/_\/_\/125 /13 2/*/_\/_\\/131 /119 /
    125 /11 6/*/_\/_\/125 /13 2/*/_\/_\\/119 /125 /
    11 6/*/_\/_\/125 /13 2/*/_\/_\\\\\\\\\\\/*\
    1 1 /125 /119 /11 6/*/_\/13 2/*/_\\/125 /119 /
    125 /11 6/*/_\/_\/125 /13 2/*/_\/_\\/125 /131 /
    119 /125 /11 6/*/_\/_\/125 /13 2/*/_\/_\\/119 /
    125 /11 6/*/_\/_\/125 /13 2/*/_\/_\\\/125 /
    131 /119 /125 /11 6/*/_\/_\/125 /13 2/*/_\/_\\/
    131 /119 /125 /11 6/*/_\/_\/125 /13 2/*/_\/_\\/
    119 /125 /11 6/*/_\/_\/125 /13 2/*/_\/_\\\\/
    125 /131 /119 /125 /11 6/*/_\/_\/125 /13 2/*/_\
    /_\\/131 /119 /125 /11 6/*/_\/_\/125 /13 2/*/_\
    /_\\/131 /119 /125 /11 6/*/_\/_\/125 /13 2/*/_\
    /_\\/131 /119 /125 /11 6/*/_\/_\/125 /13 2/*/_\
    /_\\/119 /125 /11 6/*/_\/_\/125 /13 2/*/_\/_\\\
    \\\/131 /119 /125 /11 6/*/_\/_\/125 /13 2/*/_\/
    _\\/131 /119 /125 /11 6/*/_\/_\/125 /13 2/*/_\/
    _\\/131 /119 /125 /11 6/*/_\/_\/125 /13 2/*/_\/
    _\\/131 /119 /125 /11 6/*/_\/_\/125 /13 2/*/_\/
    _\\/131 /119 /125 /11 6/*/_\/_\/125 /13 2/*/_\/
    _\\/119 /125 /11 6/*/_\/_\/125 /13 2/*/_\/_\\\\
    \\\\\\\\/*\1 1 /125 /119 /125 /11 6/*/_\/_\/
    125 /13 2/*/_\/_\\/125 /131 /119 /125 /11 6/*/_
    \/_\/125 /13 2/*/_\/_\\/131 /119 /125 /11 6/*/_
    \/_\/125 /13 2/*/_\/_\\/131 /119 /125 /11 6/*/_
    \/_\/125 /13 2/*/_\/_\\/119 /125 /11 6/*/_\/_\/
    125 /13 2/*/_\/_\\\\\/125 /131 /119 /125 /11 6/
    */_\/_\/125 /13 2/*/_\/_\\/131 /119 /125 /11 6/
    */_\/_\/125 /13 2/*/_\/_\\/131 /119 /125 /11 6/
    */_\/_\/125 /13 2/*/_\/_\\/131 /119 /125 /11 6/
    */_\/_\/125 /13 2/*/_\/_\\/119 /125 /11 6/*/_\/
    _\/125 /13 2/*/_\/_\\\\\\/131 /119 /125 /11 6/*
    /_\/_\/125 /13 2/*/_\/_\\/131 /119 /125 /11 6/*
    /_\/_\/125 /13 2/*/_\/_\\/131 /119 /125 /11 6/*
    /_\/_\/125 /13 2/*/_\/_\\/131 /119 /125 /11 6/*
    /_\/_\/125 /13 2/*/_\/_\\/131 /119 /125 /11 6/*
    /_\/_\/125 /13 2/*/_\/_\\/119 /125 /11 6/*/_\/_
    \/125 /13 2/*/_\/_\\\\\\\\\\/*\1 1 /125 /131 /
    119 /125 /11 6/*/_\/_\/125 /13 2/*/_\/_\\/119 /
    125 /11 6/*/_\/_\/125 /13 2/*/_\/_\\\/125 /
    131 /119 /125 /11 6/*/_\/_\/125 /13 2/*/_\/_\\/
    131 /119 /125 /11 6/*/_\/_\/125 /13 2/*/_\/_\\/
    119 /125 /11 6/*/_\/_\/125 /13 2/*/_\/_\\\\/
    125 /131 /119 /125 /11 6/*/_\/_\/125 /13 2/*/_\
    /_\\/131 /119 /125 /11 6/*/_\/_\/125 /13 2/*/_\
    /_\\/131 /119 /125 /11 6/*/_\/_\/125 /13 2/*/_\
    /_\\/131 /119 /125 /11 6/*/_\/_\/125 /13 2/*/_\
    /_\\/119 /125 /11 6/*/_\/_\/125 /13 2/*/_\/_\\\
    \\\/131 /119 /125 /11 6/*/_\/_\/125 /13 2/*/_\/
    _\\/131 /119 /125 /11 6/*/_\/_\/125 /13 2/*/_\/
    _\\/131 /119 /125 /11 6/*/_\/_\/125 /13 2/*/_\/
    _\\/131 /119 /125 /11 6/*/_\/_\/125 /13 2/*/_\/
    _\\/131 /119 /125 /11 6/*/_\/_\/125 /13 2/*/_\/
    _\\/119 /125 /11 6/*/_\/_\/125 /13 2/*/_\/_\\\\
    \\\\\\/*\1 1 /125 /131 /119 /125 /11 6/*/_\/_\/
    125 /13 2/*/_\/_\\/119 /125 /11 6/*/_\/_\/125 /
    13 2/*/_\/_\\\/125 /131 /119 /125 /11 6/*/_\/_\
    /125 /13 2/*/_\/_\\/131 /119 /125 /11 6/*/_\/_\
    /125 /13 2/*/_\/_\\/131 /119 /125 /11 6/*/_\/_\
    /125 /13 2/*/_\/_\\/131 /119 /125 /11 6/*/_\/_\
    /125 /13 2/*/_\/_\\/119 /125 /11 6/*/_\/_\/
    125 /13 2/*/_\/_\\\\\\/131 /119 /125 /11 6/*/_\
    /_\/125 /13 2/*/_\/_\\/131 /119 /125 /11 6/*/_\
    /_\/125 /13 2/*/_\/_\\/131 /119 /125 /11 6/*/_\
    /_\/125 /13 2/*/_\/_\\/131 /119 /125 /11 6/*/_\
    /_\/125 /13 2/*/_\/_\\/131 /119 /125 /11 6/*/_\
    /_\/125 /13 2/*/_\/_\\/119 /125 /11 6/*/_\/_\/
    125 /13 2/*/_\/_\\\\\\\\\/*\342//3427/*_/\_
    Alles anzeigen


    ... allerdings nur zu einer Wahrscheinlichkeit von 90%.:thumbup:
    Mehr...

    Ook!
    Ook! ist eigentlich nichts anderes als Brainfuck, nur mit anderen Wörtern/Symbolen. Trotzdem finde ich, dass es cooler aussieht. ;)

    Ook!
    Code
    Ook. Ook? Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook.
    Ook. Ook. Ook. Ook. Ook! Ook? Ook? Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook.
    Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook? Ook! Ook! Ook? Ook! Ook? Ook.
    Ook! Ook. Ook. Ook? Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook.
    Ook. Ook. Ook! Ook? Ook? Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook?
    Ook! Ook! Ook? Ook! Ook? Ook. Ook. Ook. Ook! Ook. Ook. Ook. Ook. Ook. Ook. Ook.
    Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook! Ook. Ook! Ook. Ook. Ook. Ook. Ook.
    Ook. Ook. Ook! Ook. Ook. Ook? Ook. Ook? Ook. Ook? Ook. Ook. Ook. Ook. Ook. Ook.
    Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook! Ook? Ook? Ook. Ook. Ook.
    Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook? Ook! Ook! Ook? Ook! Ook? Ook. Ook! Ook.
    Ook. Ook? Ook. Ook? Ook. Ook? Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook.
    Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook! Ook? Ook? Ook. Ook. Ook.
    Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook.
    Ook. Ook? Ook! Ook! Ook? Ook! Ook? Ook. Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook.
    Ook? Ook. Ook? Ook. Ook? Ook. Ook? Ook. Ook! Ook. Ook. Ook. Ook. Ook. Ook. Ook.
    Ook! Ook. Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook.
    Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook!
    Ook! Ook. Ook. Ook? Ook. Ook? Ook. Ook. Ook! Ook.
    Alles anzeigen


    Es gibt übrigens 3 Designkriterien für Ook!:
    1. Eine Programmiersprache sollte schreib- und lesbar für Orang-Utans sein.
    2. Die Syntax sollte einfach sein, leicht zu merken und das Wort Monkey (engl. Affe) vermeiden.
    3. Bananen sind gut.
    Mehr...

    Chef
    In Chef ist ein Programm wie ein Rezept aufgebaut. Ich find' das Konzept einfach nur cool und abgefahren.

    Hello World!
    Code
    Hallo-Welt-Soufflee 
    
    
     Ingredients.
     72 g haricot beans
     101 eggs
     108 g lard
     111 cups oil
     32 zucchinis
     119 ml water
     114 g red salmon
     100 g dijon mustard
     33 potatoes
     
     Method.
     Put potatoes into the mixing bowl.
     Put dijon mustard into the mixing bowl.
     Put lard into the mixing bowl.
     Put red salmon into the mixing bowl.
     Put oil into the mixing bowl.
     Put water into the mixing bowl.
     Put zucchinis into the mixing bowl.
     Put oil into the mixing bowl.
     Put lard into the mixing bowl.
     Put lard into the mixing bowl.
     Put eggs into the mixing bowl.
     Put haricot beans into the mixing bowl.
     Liquefy contents of the mixing bowl.
     Pour contents of the mixing bowl into the baking dish.
     
     Serves 1.
    Alles anzeigen


    SPL ist genauso cool, wenn ihr mich fragt. Wen's interessiert: Chef & SPL

    Eins gibt es noch. Ich find' das nur im Moment nicht: Eine Programmiersprache, in der man nicht mit Text sondern mit Bildern coded.^^ Mit verschieden großen und gefärbten Vierecken wird dann Text generiert undso. Total abgefahren, ich find's nur grad nicht. Wenn es wieder auftaucht, schreib ich nochwas dazu. :thumbup:

    lg chess

    Edit:
    Ich hab' auf jeden Fall Hello World in der Sprache (Die im übrigen KaForkL heißt) gefunden. Ist unten im Anhang, im Browser kann man das einfach nicht erkennen. ;)
    (Quelle: Klick!)

    lg chess

    Bilder

    • circular_hello_word.png
      • 217 Byte
      • 3 × 5
  • Und noch ein Neuer

    • chesstiger
    • 13. Juli 2012 um 00:30

    Ach ja, auch noch von mir willkommen.^^

    Wie du gesehen hast, bekommt man hier relativ schnell Hilfe. ;)

    lg chess

  • PDF Datei nach Wort durchsuchen und dieses dann als Dateiname verwenden und die Datei umbenennen.

    • chesstiger
    • 13. Juli 2012 um 00:26

    Wer lesen kann, ist klar im Vorteil.:rolleyes:

    Zitat von Braintee


    Das funktioniert auch und wandelt meine PDF's in TXT Dateien um

    lg chess

  • Interessantes Verhalten einer "explorer.exe"-Datei

    • chesstiger
    • 12. Juli 2012 um 19:31

    Hab' ich ja auch geschrieben. ;)

    Zitat von chesstiger


    Gekommen darauf bin ich hierdurch: Klick!

    lg chess :P

  • Suche Anregung für Bonus System

    • chesstiger
    • 12. Juli 2012 um 16:43

    7 Jahre... Du wirst dich wundern, wie schnell man Interesse am Computer entwickelt in dem Alter in der heutigen Zeit (Bin 14, ist noch nicht so lang her). :thumbup:

    Wenn du noch Hilfe brauchst -> Wir sind hier. ;)

    lg chess

  • individuelles ContextMenu auf HotKey

    • chesstiger
    • 12. Juli 2012 um 16:14

    Was auch sonst? :P

    Ok, das reicht dann mit OT, denke ich. :rofl:

    lg chess

  • individuelles ContextMenu auf HotKey

    • chesstiger
    • 12. Juli 2012 um 16:07
    Zitat von Raupi


    Selbst ist der Mann, 1. Post editieren und Suffix auf gelöst setzen.

    Präfix. :P
    Suffix ist die Nachsilbe.

    lg chess

  • Interessantes Verhalten einer "explorer.exe"-Datei

    • chesstiger
    • 12. Juli 2012 um 15:59

    Der Titel sagt ja eigentlich alles.
    Oder aber nichts, kommt drauf an.;)

    Nehmen wir mal als Beispielcode das hier:

    [autoit]


    MsgBox(0,"","Ich bin eine Message-Box!")

    [/autoit]


    ... und nennen wir diese Datei mal Test.au3.
    Wenn wir diese Datei ausführen, kommt eine Message-Box mit dem au3-Symbol in der Taskleiste und verkündet uns ihren Inhalt.
    Kompiliert, unter dem Dateinamen Test.exe haben wir dasselbe Ergebnis.
    So, und jetzt kommt das seltsame:
    Benennt man die Datei in explorer.exe um und startet sie, hat die Message-Box in der Taskleiste nicht mehr das AutoIt-Symbol, sondern das vom Explorer!

    Zumindest auf meinem System (Windows 7 HP 64-Bit) tritt dieses "Mysterium" auf.;)

    Gekommen darauf bin ich hierdurch: Klick!
    lg chess

    Edit:

    Zitat von ShoutBox

    [Heute, 16:16] Raupi: chesstiger, das Verhalten in deinem Thread ist Normal, hat was mit dem Iconcach zu tun
    [Heute, 16:17] chesstiger: Du meinst, dass sozusagen das Icon, was mit explorer.exe verknüpft ist, noch geladen ist?
    [Heute, 16:17] Raupi: Den selben Mist kannst du sehen wenn du mal das Icon deines Scriptes tauschst, 1 mal geht..... danach wird es erst bei Neustert übernommen.
    [Heute, 16:18] Raupi: Cachefehler von Windows oder dähmlich programmiert. Kannst du dir aussuchen
    [Heute, 16:19] chesstiger: Wahrscheinlich beides.
    [Heute, 16:19] Raupi: Windummdumm halt.

  • Ein AntiCheat Tool

    • chesstiger
    • 12. Juli 2012 um 13:44

    Ich weiß jetzt nich so genau was du meinst... Zeilennummern wären besser gewesen.
    Ich blick so oder so in dem Script nicht durch (Du solltest vielleicht mal ein bisschen auf Ordnung achten), deswegen weiß ich nicht ob das das ist, was du meinst:

    Code
    [autoit]


    OPT("TrayMenuMode", 3)
    Opt("TrayOnEventMode", 1)
    MsgBox(0, "Battlefront Anti-Cheat [BETA]", "Let this program running until the match is finished." & @LF & "" & @LF & "!IMPORTANT! Make sure your hotkey for screenshot in battlefront is set to p" & @LF & "" & @LF & "Close BAC after your match by pressing ctrl+1 (only on desktop, NOT INGAME!).")
    HotKeySet("^1", "EXIT1")
    $ABOUTITEM = TrayCreateItem("About")
    TrayItemSetOnEvent(-1, "About1")
    $ABOUTITEM = TrayCreateItem("How to use")
    TrayItemSetOnEvent(-1, "HowToUse1")
    $EXITITEM = TrayCreateItem("Exit")
    TrayItemSetOnEvent(-1, "Exit1")
    ;----------------------------------
    Func ABOUT1()
    MsgBox(0, "Battlefront Anti-Cheat [BETA] - About", "designed for Battlefront eSports" & @LF & "" & @LF & "centuryclan.eu/battlefront-eSports.htm" & @LF & "" & @LF & "scripted by DEAGLE" & @LF & "" & @LF & "This is only a beta version!")
    EndFunc
    ;-----------------------------------------------
    Func HOWTOUSE1()
    MsgBox(0, "Battlefront Anti-Cheat [BETA] - How to use", "!IMPORTANT! Make sure your hotkey for screenshot in battlefront is set to p" & @LF & "" & @LF & "How to use:" & @LF & "1. start Battlefront, connect to server" & @LF & "2. When the match is about to begin, start this program" & @LF & "3. When the match is finished, close the program by pressing ctrl+1 (or use the Exit button) !NOTE! you can not close the program via ctrl+1 if you're ingame! Close the game first!" & @LF & "" & @LF & "You only need to do the following steps if u won the match!" & @LF & "" & @LF & "4. Go into your game directory: Star Wars Battlefront\GameData\ScreenShots" & @LF & "5. zip all screenshots from the match using winzip, winrar or 7zip" & @LF & "6. Upload the zip file to >>webspace coming soon<<" & @LF & "7. Post the link to your uploaded file at the matchpage")
    EndFunc
    ;-----------------------------------------------
    If $CmdLine[0] = 0 Then ;If-Abfrage

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

    If ProcessExists("Battlefront.exe") Then
    While 1
    Sleep(30000)
    Send("p")
    Sleep(90000)
    Send("p")
    Sleep(120000)
    Send("p")
    Sleep(90000)
    Send("p")
    Sleep(60000)
    Send("p")
    Sleep(90000)
    Send("p")
    Sleep(120000)
    Send("p")
    Sleep(60000)
    Send("p")
    Sleep(90000)
    Send("p")
    Sleep(120000)
    Send("p")
    Sleep(90000)
    Send("p")
    Sleep(60000)
    Send("p")
    Sleep(30000)
    Send("p")
    Sleep(60000)
    Send("p")
    Sleep(90000)
    Send("p")
    Sleep(120000)
    Send("p")
    Sleep(90000)
    Send("p")
    Sleep(60000)
    Send("p")
    Sleep(30000)
    Send("p")
    Sleep(60000)
    Send("p")
    Sleep(90000)
    Send("p")
    Sleep(120000)
    Send("p")
    Sleep(90000)
    Send("p")
    Sleep(60000)
    Send("p")
    Sleep(30000)
    Send("p")
    WEnd
    Else
    $notingame=MsgBox(3, "Bf_eSports AntiCheat [Beta]", "You are not Ingame (anymore), should the program go on?")
    EndIf
    If $notingame = 7 Then
    Exit
    EndIf
    If $notingame = 6 Then
    MsgBox(1, "Bf_eSports AntiCheat [Beta]", "Battlefront will start now")
    Run("Battlefront.exe")

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

    EndIf

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

    EndIf;-> EndIf

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

    ;------------------------------------------------------------------------------------
    Func EXIT1()
    Exit
    EndFunc

    [/autoit]


    Wie gesagt: Ich blick da nicht durch. Das Starten mit Parameter funktioniert auch noch nicht, da ich nicht weiß, wo gestartet werden soll.
    Bau's dir am besten einfach selber ein.
    Nimm als If-Bedingung "$CmdLine[0] = 1" und als Startparameter irgendwas.

    lg chess

Spenden

Jeder Euro hilft uns, Euch zu helfen.

Download

AutoIt Tutorial
AutoIt Buch
Onlinehilfe
AutoIt Entwickler
  1. Datenschutzerklärung
  2. Impressum
  3. Shoutbox-Archiv
Community-Software: WoltLab Suite™