Beiträge von chesstiger
-
-
1225.75 ms bei mir.

lg chess
Edit:
Ah, da hat sich ja noch was geändert.^^99677.4 MS
Kein Kommentar.
-
Respekt.
Das ist echt verdammt schnell.
Bei mir sieht man ja, wie die Buchstaben geschrieben werden.

lg chess
-
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
-
Wow. Das ist... wirklich schnell.^^
Der gleiche Code, nämlich "Hello World!":
Mein Interpreter: 294.54 ms
Marsi-Engine: 0.59 msNaja, dafür hab' ich ja auch noch Debugging und ne GUI.

Aber trotzdem: Cool, wie schnell AutoIt werden kann.

lg chess
-
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
-
Englisch, Reli und Erdkunde sind meine drei schlechtesten Fächer, also von daher ist das kein Wunder.

Was genau ist denn falsch?
lg chess
-
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]
[/autoit] [autoit][/autoit] [autoit]
#include <EditConstants.au3>$sFile = "test.txt"
[/autoit] [autoit][/autoit] [autoit]
$fDebug = True$hGUI = GUICreate("IDO-Interpreter", 500, 250)
[/autoit] [autoit][/autoit] [autoit]
$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)GUISetState()
[/autoit] [autoit][/autoit] [autoit]
While 1
$iMsg = GUIGetMsg()
Switch $iMsg
Case -3
Exit
Case $hRunButton
_Run()
EndSwitch
WEndFunc _Run()
[/autoit] [autoit][/autoit] [autoit]
GUICtrlSetData($hDebugOutput, "")
GUICtrlSetData($hCodeOutput, "")$hTimer = TimerInit()
[/autoit] [autoit][/autoit] [autoit]_Debug("Program started!" & @CRLF & @CRLF)
[/autoit] [autoit][/autoit] [autoit]
Dim $asCmd
$asCmd = _InputReadToCommands($sFile)$iCell = 65
[/autoit] [autoit][/autoit] [autoit]
For $i = 1 To $asCmd[0]
_Debug("Read Char: " & $asCmd[$i] & @CRLF & " Action: ")
$fMatch = FalseSwitch $asCmd[$i]
[/autoit] [autoit][/autoit] [autoit]
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
EndSwitchIf $fMatch = False Then
[/autoit] [autoit][/autoit] [autoit]
_Debug("None. Character is unknown." & @CRLF)
EndIf
Next
_Debug(@CRLF & "Program ended. Time: " & Round(TimerDiff($hTimer) / 1000, 1) & " Seconds")
EndFunc ;==>_RunFunc _InputReadToCommands($sFile)
[/autoit] [autoit][/autoit] [autoit]
$sCommands = GUICtrlRead($hCodeInput)
$asCommands = StringSplit($sCommands, "")
Return $asCommands
EndFunc ;==>_InputReadToCommandsFunc _Debug($sDebugInfo)
[/autoit] [autoit][/autoit] [autoit]
GUICtrlSetData($hDebugOutput, GUICtrlRead($hDebugOutput) & $sDebugInfo)
EndFunc ;==>_DebugFunc _Output($sOutput)
[/autoit]
GUICtrlSetData($hCodeOutput, GUICtrlRead($hCodeOutput) & $sOutput)
EndFunc ;==>_OutputUpdate:
IDO-Interpreter (Version 1.1)
[autoit]
Changelog:
-2 Engines:
-Chesstiger-Engine (Von mir)
-Marsi-Engine (Von Marsi [Nochmal danke!])
[/autoit] [autoit][/autoit] [autoit]
#include <EditConstants.au3>
#include <GUIConstants.au3>
#include <WindowsConstants.au3>
#include <GUIEdit.au3>
$sFile = "test.txt"
$fDebug = True$hGUI = GUICreate("IDO-Interpreter", 500, 250)
[/autoit] [autoit][/autoit] [autoit]
$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)GUISetState()
[/autoit] [autoit][/autoit] [autoit]
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#region Chesstiger-Engine
[/autoit] [autoit][/autoit] [autoit]
Func _Run_CtEngine()
GUICtrlSetData($hDebugOutput, "")
GUICtrlSetData($hCodeOutput, "")$hTimer = TimerInit()
[/autoit] [autoit][/autoit] [autoit]_Debug("Program started!" & @CRLF & @CRLF)
[/autoit] [autoit][/autoit] [autoit]
Dim $asCmd
$asCmd = _InputReadToCommands($sFile)$iCell = 65
[/autoit] [autoit][/autoit] [autoit]
For $i = 1 To $asCmd[0]
_Debug("Read Char: " & $asCmd[$i] & @CRLF & " Action: ")
$fMatch = False$sChar = $asCmd[$i]
[/autoit] [autoit][/autoit] [autoit]
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
EndSelectIf $fMatch = False Then
[/autoit] [autoit][/autoit] [autoit]
_Debug("None. Character is unknown." & @CRLF)
EndIfNext
[/autoit] [autoit][/autoit] [autoit][/autoit] [autoit][/autoit] [autoit][/autoit] [autoit]
_Debug(@CRLF & "Program ended. Time: " & Round(TimerDiff($hTimer), 2) & " ms")
EndFunc ;==>_RunFunc _InputReadToCommands($sFile)
[/autoit] [autoit][/autoit] [autoit][/autoit] [autoit][/autoit] [autoit]
$sCommands = GUICtrlRead($hCodeInput)
$asCommands = StringSplit($sCommands, "")
Return $asCommands
EndFunc ;==>_InputReadToCommands
#endregion#region Output & Debug
[/autoit] [autoit][/autoit] [autoit]
Func _Debug($sDebugInfo)
GUICtrlSetData($hDebugOutput, GUICtrlRead($hDebugOutput) & $sDebugInfo)
EndFunc ;==>_DebugFunc _Output($sOutput)
[/autoit] [autoit][/autoit] [autoit]
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)Local $Timer, $Interpretiert
[/autoit] [autoit][/autoit] [autoit]$Timer = TimerInit()
[/autoit] [autoit][/autoit] [autoit]
$Interpretiert = _Ido2Asc(GUICtrlRead($hCodeInput))
$Timer = TimerDiff($Timer)
_Debug('Program ended. Time: ' & Round($Timer, 2) & ' ms' & @CRLF)_Output($Interpretiert)
[/autoit] [autoit][/autoit] [autoit]
EndFuncFunc _Ido2Asc($s)
[/autoit]
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
#endregionNebenbei, IDO kommt von den drei Grundbefehlen: Increment Decrement Output
Zeilenumbrüche werden einfach ignoriert.Ach, hier noch mal ein Beispiel:
lg chess;)
Edit: Englisch (
) korrigiert. -
Auch von mir herzlichen.

lg chess
-
Ah, das rauszufiltern ist nicht so schwer: AutoIt hat sehr mächtige String-Funktionen. :p
lg chess
-
Ich wollte es ja auch nur mal erwähnt haben.^^
Wir können ja selbst mit AutoIt sowas auf die Beine stellen.
lg chess
-
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
Alles anzeigen1 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/*_/\_
... allerdings nur zu einer Wahrscheinlichkeit von 90%.
Mehr...Ook!
Ook! ist eigentlich nichts anderes als Brainfuck, nur mit anderen Wörtern/Symbolen. Trotzdem finde ich, dass es cooler aussieht.
Ook!
Code
Alles anzeigenOok. Ook? Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook! Ook? Ook? Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook? Ook! Ook! Ook? Ook! Ook? Ook. Ook! Ook. Ook. Ook? Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook! Ook? Ook? Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook? Ook! Ook! Ook? Ook! Ook? Ook. Ook. Ook. Ook! Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook! Ook. Ook! Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook! Ook. Ook. Ook? Ook. Ook? Ook. Ook? Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook! Ook? Ook? Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook? Ook! Ook! Ook? Ook! Ook? Ook. Ook! Ook. Ook. Ook? Ook. Ook? Ook. Ook? Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook! Ook? Ook? Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook? Ook! Ook! Ook? Ook! Ook? Ook. Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook. Ook? Ook. Ook? Ook. Ook? Ook. Ook? Ook. Ook! Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook! Ook. Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook. Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook. Ook. Ook? Ook. Ook? Ook. Ook. Ook! Ook.
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
Alles anzeigenHallo-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.
SPL ist genauso cool, wenn ihr mich fragt. Wen's interessiert: Chef & SPLEins 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.

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
-
Ach ja, auch noch von mir willkommen.^^
Wie du gesehen hast, bekommt man hier relativ schnell Hilfe.

lg chess
-
-
-
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).

Wenn du noch Hilfe brauchst -> Wir sind hier.

lg chess
-
Was auch sonst?

Ok, das reicht dann mit OT, denke ich.

lg chess
-
Selbst ist der Mann, 1. Post editieren und Suffix auf gelöst setzen.Präfix.

Suffix ist die Nachsilbe.lg chess
-
Der Titel sagt ja eigentlich alles.
Oder aber nichts, kommt drauf an.;)Nehmen wir mal als Beispielcode das hier:
[autoit]
[/autoit]
MsgBox(0,"","Ich bin eine Message-Box!")
... 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 chessEdit:
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. -
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]
[/autoit] [autoit][/autoit] [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-AbfrageIf ProcessExists("Battlefront.exe") Then
[/autoit] [autoit][/autoit] [autoit]
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")EndIf
[/autoit] [autoit][/autoit] [autoit]EndIf;-> EndIf
[/autoit] [autoit][/autoit] [autoit];------------------------------------------------------------------------------------
[/autoit]
Func EXIT1()
Exit
EndFunc
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