Mir war vorhin langweilig und ich dachte mir, da machste doch einfach mal ein Clientmod, der den "netten" Metin2 Spielern das Einloggen und Channel wechseln erleichtern soll.
Anleitung:
1. Modfiles downloaden (Link unten).
2. RAR-Archiv entpacken.
3. root.eix und root.epk in euren Metin2DE Ordner einfügen und ÜBERSCHREIBEN!
4. Metin2DE ohne Patch starten (metin2client.bin in .exe umbennenen oder per batch datei)
5. Logindaten in die login.inf Datei (ggf. erstellen) schreiben (siehe unten!)
6. Einfach Server und Channel wählen und auf "Verbinden" drücken.
Die Login Informationen werden aus einer Datei im Metin2 Ordner ausgelesen (login.inf).
Die Datei muss folgend aufgebaut sein:
Ich hab' Waffeleisen's Script mal ein klein wenig erweitert.
Es hat nun auch die Funktion, dass es die vorher die alte Ini-Datei ausliest und die Felder schon mit den vorherigen Daten belegt.
Zudem wird die ini-datei auch erstellt, falls sie nicht vorhanden ist.
@Waffeleisen:
Wenn du willst, kannst du mein Script ja in deinen Startpost mit übernehmen.
Code:
#cs
Script made for elitepvpers.com
Thread: http://www.elitepvpers.com/forum/metin2-hacks-bots-cheats-exploits-macros/513087-mod-easylogin.htm
Metin2 EasyLogin Einstellungsscript coded by xWaffeleisen, edited by Computerfreek
#ce
#include <ButtonConstants.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#include <String.au3>
#include <Array.au3>
$INI = @ScriptDir & "\config.ini"
If Not FileExists($INI) Then
$LoginInfPath = FileSelectFolder("Metin2 Ordner wählen...", "") & "\login.inf"
IniWrite($INI,"Metin2Dir", "Dir", $LoginInfPath)
If NOT FileExists($LoginInfPath) Then
FileWrite($LoginInfPath, "-1 -1 -1")
EndIf
Else
$LoginInfPath = IniRead($INI,"Metin2Dir", "Dir", "")
EndIf
$INF = $LoginInfPath
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("EasyLogin", 197, 135, 192, 124)
$Input1 = GUICtrlCreateInput("ID", 8, 8, 121, 21)
$Input2 = GUICtrlCreateInput("PW", 8, 40, 121, 21)
$Radio1 = GUICtrlCreateRadio("1", 128, 96, 33, 17)
$Radio2 = GUICtrlCreateRadio("2", 152, 80, 33, 17)
$Radio3 = GUICtrlCreateRadio("3", 128, 64, 33, 17)
$Radio4 = GUICtrlCreateRadio("4", 104, 80, 33, 17)
$Radio5 = GUICtrlCreateRadio("Keinen", 128, 112, 57, 17)
$Button1 = GUICtrlCreateButton("Auto-Login An", 8, 72, 91, 25, $WS_GROUP)
$Button2 = GUICtrlCreateButton("Auto-Login Aus", 8, 104, 91, 25, $WS_GROUP)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
$open = FileOpen($INF)
$inhalt = FileRead($open)
$string = StringSplit($inhalt, " ")
If NOT IsArray($string) Then
MsgBox(0, "Error", "Error, Benutzerdaten konnten nicht richtig ausgelesen werden.")
EndIf
FileClose($open)
If $string[1] = -1 Then
GUICtrlSetData($Input1, "")
Else
GUICtrlSetData($Input1, $string[1])
EndIf
If $string[2] = -1 Then
GUICtrlSetData($Input2, "")
Else
GUICtrlSetData($Input2, $string[2])
EndIf
If $string[3] = 0 Then
GUICtrlSetState($Radio1, $GUI_CHECKED)
ElseIf $string[3] = 1 Then
GUICtrlSetState($Radio2, $GUI_CHECKED)
ElseIf $string[3] = 2 Then
GUICtrlSetState($Radio3, $GUI_CHECKED)
ElseIf $string[3] = 3 Then
GUICtrlSetState($Radio4, $GUI_CHECKED)
ElseIf $string[3] = -1 Then
GUICtrlSetState($Radio5, $GUI_CHECKED)
EndIf
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $Button1
$CharSlot = -1
If GUICtrlRead($Radio1) = $GUI_CHECKED Then $CharSlot = 0
If GUICtrlRead($Radio2) = $GUI_CHECKED Then $CharSlot = 1
If GUICtrlRead($Radio3) = $GUI_CHECKED Then $CharSlot = 2
If GUICtrlRead($Radio4) = $GUI_CHECKED Then $CharSlot = 3
If FileExists($LoginInfPath) Then FileDelete($LoginInfPath)
FileWrite($LoginInfPath, GUICtrlRead($Input1) & " " & GUICtrlRead($Input2) & " " & $CharSlot)
$check = MsgBox(4, "Erfolg", "Einstellungen erfolgreich gespechert." & @CRLF & "Tool beenden?")
If $check = 6 Then
Exit
EndIf
Case $Button2
If FileExists($LoginInfPath) Then FileDelete($LoginInfPath)
FileWrite($LoginInfPath, "-1 -1 -1")
$check = MsgBox(4, "Erfolg", "Einstellungen erfolgreich gespechert." & @CRLF & "Tool beenden?")
If $check = 6 Then
Exit
EndIf
EndSwitch
WEnd
EasyLogin 3.0 11/27/2007 - SRO Hacks, Bots, Cheats & Exploits - 29 Replies Very simple VB programming ^^
But usefull for some players that can't use sro modifier or something like that.
How to use:
After configure the program, press ON, put the cursor on User field on the silkroad login board, an press the hotkey.
It will put the username, pasword and press enter.
The programs save the configs on a txt file in the program directory named vars.txt.
Default key is ç (portuguese keyboard) but you can change it on the configurations.