lol... wo isn jetzt schon wieder das problem ? der mekkert jetzt wegerm button rum...
heuel
Spoiler anzeigen
#include <GUIConstants.au3>
[/autoit] [autoit][/autoit] [autoit]Const $szIniName = StringLeft(@ScriptFullPath,StringInStr(@ScriptFullPath,".",0,-1)) & "ini"
Const $szIniNam = StringLeft(@ScriptFullPath,StringInStr(@ScriptFullPath,".",0,-1)) & "ini"
Const $szIniNa = StringLeft(@ScriptFullPath,StringInStr(@ScriptFullPath,".",0,-1)) & "ini"
Const $szIniN = StringLeft(@ScriptFullPath,StringInStr(@ScriptFullPath,".",0,-1)) & "ini"
Const $szIni = StringLeft(@ScriptFullPath,StringInStr(@ScriptFullPath,".",0,-1)) & "ini"
Const $szIn = StringLeft(@ScriptFullPath,StringInStr(@ScriptFullPath,".",0,-1)) & "ini"
#Region ### START Koda GUI section ### Form=c:\dokumente und einstellungen\administrator\desktop\shoptool.kxf
$Shoptool = GUICreate("Shop Tool", 1141, 949, 78, 173)
GUISetBkColor(0x000000)
$Name = GUICtrlCreateLabel("KalOnline Shop NPC Tool", 0, -16, 1147, 136)
GUICtrlSetFont(-1, 71, 800, 0, "Comic Sans MS")
GUICtrlSetColor(-1, 0x808000)
GUICtrlSetBkColor(-1, 0x000000)
$Label1 = GUICtrlCreateLabel("Wie Soll Er Heissen ?", 8, 192, 145, 23)
GUICtrlSetFont(-1, 10, 800, 0, "Comic Sans MS")
GUICtrlSetColor(-1, 0x008000)
GUICtrlSetBkColor(-1, 0x000000)
$Label2 = GUICtrlCreateLabel("Welche Items Soll er Verkaufen ?", 8, 216, 225, 23)
GUICtrlSetFont(-1, 10, 800, 0, "Comic Sans MS")
GUICtrlSetColor(-1, 0x008000)
GUICtrlSetBkColor(-1, 0x000000)
$Label3 = GUICtrlCreateLabel("Welche Nummer Hatt Er dann ?", 8, 264, 211, 23)
GUICtrlSetFont(-1, 10, 800, 0, "Comic Sans MS")
GUICtrlSetColor(-1, 0x008000)
GUICtrlSetBkColor(-1, 0x000000)
$Label5 = GUICtrlCreateLabel("Wo Soll Der Shop Denn Seien ?", 8, 240, 209, 23)
GUICtrlSetFont(-1, 10, 800, 0, "Comic Sans MS")
GUICtrlSetColor(-1, 0x008000)
GUICtrlSetBkColor(-1, 0x000000)
$Input1 = GUICtrlCreateInput(IniRead($szIniName, "config", "defaul", "Gib Einen Namen Für den NPC an"), 368, 192, 385, 21)
$Input2 = GUICtrlCreateInput(IniRead($szIniNam, "config", "defau", "Gib hier ein Welche Items ER verticken soll Getrennt durch ein leerzeichen"), 368, 216, 385, 21)
$Input3 = GUICtrlCreateInput(IniRead($szIniNa, "config", "defa", "Gebt Hier Die Coordinaten Ein Wo der Shop Sein Soll getrennt durch Leerzeichen"), 368, 240, 257, 21)
$Input4 = GUICtrlCreateInput(IniRead($szIniN, "config", "def", "Gebt Hier Eine Nummer Über 70 Ein keine Nummer darf Doppelt Sein"), 368, 264, 385, 21)
$Button1 = GUICtrlCreateButton("Start NPC Create"), 1032, 192, 99, 105, 0)
$Label6 = GUICtrlCreateLabel("WICHTIG : Benutzt Ab dem Moment Ab dem Ihr Auf Start Geklickt Habt Eure Maus Nicht Mehr!!!", 16, 328, 1101, 33)
GUICtrlSetFont(-1, 18, 800, 0, "MS Sans Serif")
GUICtrlSetColor(-1, 0xFF0000)
GUICtrlSetBkColor(-1, 0x000000)
$Label7 = GUICtrlCreateLabel("Auch Eure Tastatur Könnte fehler Verursachen!!! Also davon Auch finger Weg", 144, 360, 895, 33)
GUICtrlSetFont(-1, 18, 800, 0, "MS Sans Serif")
GUICtrlSetColor(-1, 0xFF0000)
GUICtrlSetBkColor(-1, 0x000000)
$Label9 = GUICtrlCreateLabel("WoW-Unit", 1072, 928, 54, 17)
GUICtrlSetFont(-1, 8, 400, 2, "MS Sans Serif")
GUICtrlSetColor(-1, 0xFFFFFF)
GUICtrlSetBkColor(-1, 0x000000)
$Label8 = GUICtrlCreateLabel("Copyright By ", 1008, 928, 66, 17)
GUICtrlSetFont(-1, 8, 400, 2, "MS Sans Serif")
GUICtrlSetColor(-1, 0xFFFFFF)
GUICtrlSetBkColor(-1, 0x000000)
$Pic1 = GUICtrlCreatePic("C:\Dokumente und Einstellungen\Administrator\Desktop\notice2.bmp", 256, 184, 100, 124, BitOR($SS_NOTIFY, $WS_GROUP))
$Pic2 = GUICtrlCreatePic("C:\Dokumente und Einstellungen\Administrator\Desktop\notice2.bmp", 760, 184, 100, 124, BitOR($SS_NOTIFY, $WS_GROUP))
$Label4 = GUICtrlCreateLabel("Der WIe Vielte NPC ist Das ?", 8, 288, 203, 20)
GUICtrlSetFont(-1, 10, 800, 0, "MS Sans Serif")
GUICtrlSetColor(-1, 0x008000)
GUICtrlSetBkColor(-1, 0x000000)
$Input5 = GUICtrlCreateInput(IniRead($szIni, "config", "de", "Schreibt Hier Eine Zahl Über 4000 Rein Bedenkt Keine Zahl Darf Doppelt Sein"), 368, 288, 385, 21)
$Label10 = GUICtrlCreateLabel(" dir :", 624, 240, 30, 17)
GUICtrlSetFont(-1, 8, 800, 0, "MS Sans Serif")
GUICtrlSetColor(-1, 0x008000)
GUICtrlSetBkColor(-1, 0x000000)
$Input6 = GUICtrlCreateInput(IniRead($szIn, "config", "d", "Gebt die Dir Daten"), 656, 240, 97, 21)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $Button1
_blubb()
EndSwitch
WEnd
Func _blubb()
Run("notepad.exe", '', @SW_MAXIMIZE)
Sleep(900)
Send("Hallo Leute Ich Wünsche Euch Viel Spass Mit Diesem Tool Das Ich Selber Geschrieben Habe Um Euch Die Arbeit An{enter}")
Send("KalOnline Servern{enter}Einfacher Zu Machen Viel Spass MFG WoW-Unit {enter} {enter} {enter} {enter}")
Sleep(50)
Send("{Enter}")
Send("{Enter}")
Send("Schreibt das Hier In die Macro.dat in eurer Config.pk {enter} {enter} {enter} {enter}")
Send("( store ( key " & GUICtrlRead($Input4) & ") ( index " & GUICtrlRead($Input2) & ")) {enter}")
Send("_______________________________________________________________________{Enter}")
Send("Schreibt Das Hier In eure InitNPC In eurer Server Config {enter} {enter} {enter} {enter}")
Send("(gennpc (index " & GUICtrlRead($Input5) & " ) (country 2) (kind 0) (shape 3) (html " & GUICtrlRead($Input5) & ") (map 0) {enter}(xy " & GUICtrlRead($Input3) & ") (dir " & GUICtrlRead($Input6) & ")){enter}")
Send("_______________________________________________________________________{Enter}")
Send("Schreibt das Hier in die Message-e.dat in euren config.pk {enter} {enter} {enter} {enter}")
Send('(npcname ' & GUICtrlRead($Input5) & ' ' & '"' & GUICtrlRead($Input1) & '"' & '){Enter}')
Send("_______________________________________________________________________{Enter}")
Send("{Enter}")
Send("Schreibt das Hier in Eine Neue Txt datei Nennt Diese s00" & GUICtrlRead($Input5) & " Und Zieht sie Anschliesend auf Convert{Enter}{Enter}{Enter}{Enter}")
Send("(filechk file_ver (country_type ENG) (filename s00" & GUICtrlRead($Input5) & ")){Enter}")
Send("(background{Enter}")
Send("(font 12){Enter}")
Send("(wrap 270){Enter}")
Send('(link system ( param ( width 270) ( height 255) ( style title edge system vscroll) ( caption "Caption") ( layout script) )){Enter}')
Send("){Enter}")
Send("( frame ( font 12){Enter}")
Send('( line "Willkommen In Diesem Laden"){Enter}')
Send('( link ( text "[Enter Store] Ja Ich Will Einkaufen") ( param load "store" " & GUICtrlRead($Input4) & ")){Enter}')
Send('( link close ( text "[End Talking] Cu ")){Enter}')
Send("){Enter}")
Send("_______________________________________________________________________{Enter}{Enter}{Enter}{Enter}")
Send(" >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>><<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< {Enter}")
Send(" >ww ww ooooooo WW WW UU UU NNN NN IIII TTTTTTTT< {Enter}")
Send(" >ww ww ooooooo WW WW UU UU NN N NN II TT < {Enter}")
Send(" >ww wW oo oo WW WW /--------\ UU UU NN N NN II TT < {Enter}")
Send(" >ww ww ww oo oo WW WW WW \--------/ UU UU NN N NN II TT < {Enter}")
Send(" >ww ww ww ww ooooooo WW WW WW WW UU UU NN NNN II TT < {Enter}")
Send(" >wwwww wwwww ooooooo WWWWW WWWWW UUUUUUUUUU NN NN IIII TT < {Enter}")
Send(" >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>><<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< {Enter}")
ShellExecute(GUICtrlRead($i1))
IniWrite($szIniName,"config","default",GUICtrlRead($Input1))
IniWrite($szIniNam,"config","defaul",GUICtrlRead($Input2))
IniWrite($szIniNa,"config","defau",GUICtrlRead($Input3))
IniWrite($szIniN,"config","defa",GUICtrlRead($Input4))
IniWrite($szIni,"config","de",GUICtrlRead($Input5))
IniWrite($szIn,"config","d",GUICtrlRead($Input6))
EndFunc
Weis einer weiter ? ich habe bur Ini datei Eingefügt aber er mekkert beim button was sollen des ?
hoffe ihr wisst weiter^^