|
You last visited: Today at 16:39
Advertisement
[MOD] EasyLogin
Discussion on [MOD] EasyLogin within the Metin2 Hacks, Bots, Cheats, Exploits & Macros forum part of the Metin2 category.
04/02/2010, 01:49
|
#1
|
elite*gold: 320
Join Date: Oct 2009
Posts: 697
Received Thanks: 1,643
|
[MOD] EasyLogin
Heyhoo!
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:
ID: Username
PW: Passwort
CharSlot: 0 = vorne, 1 = rechts, 2 = hinten, 3 = links
also z.B.
Um die automatische Charwahl auszustellen, einfach -1 für CharSlot verwenden. Bei ID bzw. PW genau so.
Da es sehr umständig ist, immer die Datei manuell zu ändern, habe ich euch noch schnell ein kleines AutoItScript geschrieben.
EasyLoginGUI
Code:
#include <ButtonConstants.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
$INI = @ScriptDir & "\config.ini"
If Not FileExists($INI) Then
$LoginInfPath = FileSelectFolder("Metin2 Ordner wählen...", "") & "\login.inf"
IniWrite($INI,"Metin2Dir", "Dir", $LoginInfPath)
Else
$LoginInfPath = IniRead($INI,"Metin2Dir", "Dir", "")
EndIf
#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 ###
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)
Case $Button2
If FileExists($LoginInfPath) Then FileDelete($LoginInfPath)
FileWrite($LoginInfPath, "-1 -1 -1")
EndSwitch
WEnd
Ihr könnt euch auch eigene GUIs basteln
Downloads:

Ich denk mal Virenscan is nich nötig, da ja oben Sourcecode is.
|
|
|
04/02/2010, 01:58
|
#2
|
elite*gold: 103
Join Date: Mar 2009
Posts: 1,721
Received Thanks: 927
|
funzt aber nicht hidden odaa?
|
|
|
04/02/2010, 02:23
|
#3
|
elite*gold: 0
Join Date: Jan 2009
Posts: 232
Received Thanks: 75
|
Ist ganz ok  Aber braucht man ja eig nicht so wirklich zumindes ich net aber trozdem Thanks für die arbeit ;-)
|
|
|
04/02/2010, 10:02
|
#4
|
elite*gold: 0
Join Date: Oct 2007
Posts: 2,774
Received Thanks: 2,682
|
Omg Metinspieler
Cheaten beim Login!
So faul :O
Nice tool^^
|
|
|
04/02/2010, 10:15
|
#5
|
elite*gold: 1
Join Date: Apr 2009
Posts: 990
Received Thanks: 308
|
Hat mir sehr geholfen ^^ (habn langes passwort  )
Thank you
|
|
|
04/02/2010, 10:15
|
#6
|
elite*gold: 25
Join Date: Mar 2009
Posts: 626
Received Thanks: 485
|
Quote:
|
Originally Posted by !igor!
Omg Metinspieler
Cheaten beim Login!
|
^Da hat er aber recht...
|
|
|
04/02/2010, 10:44
|
#7
|
elite*gold: 320
Join Date: Oct 2009
Posts: 697
Received Thanks: 1,643
|
Quote:
Originally Posted by WeezyF940
funzt aber nicht hidden odaa?
|
Doch, klar. Du musst eben nur auf Verbinden drücken, statt deine Daten anzugeben und dann wird Verbunden und der Char wird gewählt.
Naja ich glaub zum Ch wechseln is es ganz nützlich ^^
|
|
|
04/02/2010, 10:47
|
#8
|
elite*gold: 255
Join Date: Nov 2009
Posts: 2,900
Received Thanks: 1,408
|
Endlich mal was neues von Waffeleisen
Werd es gleich mal testen!
|
|
|
04/02/2010, 11:23
|
#9
|
elite*gold: 0
Join Date: Mar 2010
Posts: 277
Received Thanks: 100
|
Hatt schon einer getestet ?
|
|
|
04/02/2010, 11:37
|
#10
|
elite*gold: 49
Join Date: Mar 2009
Posts: 2,585
Received Thanks: 1,344
|
Waffeleisen <3
Vielen Dank
|
|
|
04/02/2010, 19:00
|
#11
|
elite*gold: 0
Join Date: Feb 2008
Posts: 2,754
Received Thanks: 1,748
|
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
Script Source © by xWaffeleisen, edited by Computerfreek
|
|
|
04/02/2010, 23:39
|
#12
|
elite*gold: 0
Join Date: Apr 2009
Posts: 136
Received Thanks: 8
|
und wenn man mit einen anderen char on gehen will :S?
|
|
|
04/03/2010, 17:47
|
#13
|
elite*gold: 0
Join Date: Feb 2008
Posts: 2,754
Received Thanks: 1,748
|
dann schaltet man die auto charwahl aus..
blöd wirds nur wenn man die chars auf verschied. accounts hat..
|
|
|
04/03/2010, 17:55
|
#14
|
elite*gold: 2
Join Date: Oct 2009
Posts: 1,064
Received Thanks: 280
|
Sehr nice
|
|
|
Similar Threads
|
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.
|
All times are GMT +1. The time now is 16:39.
|
|