Register for your free account! | Forgot your password?

You last visited: Today at 21:36

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[How to]Script your own Patcher

Discussion on [How to]Script your own Patcher within the Metin2 PServer Guides & Strategies forum part of the Metin2 Private Server category.

Reply
 
Old 05/30/2010, 14:42   #31
 
elite*gold: 0
Join Date: May 2010
Posts: 398
Received Thanks: 246
und wo ist das ich finds nicht
.TiBuRiOn is offline  
Old 05/30/2010, 15:42   #32
 
elite*gold: LOCKED
Join Date: Oct 2008
Posts: 2,817
Received Thanks: 2,044
[Speicherort der Source]/bin/debug
'Haseo is offline  
Old 05/30/2010, 15:49   #33
 
schido91's Avatar
 
elite*gold: 0
Join Date: Jan 2010
Posts: 492
Received Thanks: 145
Ey du Kind, GENAU den gleichen Thread hat Musikconstruktur. Gemacht

EInfach nur Copy+Past

Erbärmlich schäm dich bestshocker :Facepalm:
schido91 is offline  
Old 05/30/2010, 15:52   #34
 
Zagaris123's Avatar
 
elite*gold: 0
Join Date: Nov 2008
Posts: 440
Received Thanks: 98
tja manche leute haben keine hobbies
Zagaris123 is offline  
Old 05/30/2010, 18:39   #35
 
elite*gold: LOCKED
Join Date: Oct 2008
Posts: 2,817
Received Thanks: 2,044
Quote:
Originally Posted by schido91 View Post
Ey du Kind, GENAU den gleichen Thread hat Musikconstruktur. Gemacht

EInfach nur Copy+Past

Erbärmlich schäm dich bestshocker :Facepalm:
sicher den gleichen ?? schick mal den link Oo

Erst denken dann posten
1. er hät es ja selber gesagt
2. guck da :
3.
Quote:
Originally Posted by Zagaris123 View Post
tja manche leute haben keine hobbies
dazu zählt ohne ahnung in threads zu posten oder?
'Haseo is offline  
Old 05/30/2010, 21:24   #36
 
elite*gold: 0
Join Date: Mar 2009
Posts: 195
Received Thanks: 5





es geht nicht ...

wie kann ich machen dass die Prozessbar so funktioniert dass wen er was patchen soll er sich bewegt und wen nicht dass er bei 100% steht? und wie kann ich dass machen dass wen er patcht dass der start button nicht klickbar ist?

lg Marci
Mars147 is offline  
Old 05/31/2010, 00:36   #37
 
elite*gold: 0
Join Date: Apr 2010
Posts: 1,264
Received Thanks: 485
Quote:
Originally Posted by 'L View Post
Sieht ganz gut aus.
jo stimmt omg
Almari is offline  
Old 05/31/2010, 01:00   #38
 
elite*gold: 0
Join Date: Mar 2009
Posts: 195
Received Thanks: 5
Quote:
Originally Posted by Mars147 View Post





es geht nicht ...

wie kann ich machen dass die Prozessbar so funktioniert dass wen er was patchen soll er sich bewegt und wen nicht dass er bei 100% steht? und wie kann ich dass machen dass wen er patcht dass der start button nicht klickbar ist?

lg Marci


kann keiner Helfen?
Mars147 is offline  
Old 05/31/2010, 06:47   #39
 
elite*gold: LOCKED
Join Date: Oct 2008
Posts: 2,817
Received Thanks: 2,044
ich ^^
1. du fügst über dem code
Code:
for each line in system.io.file.readalllines(my.computer.filesystem.currentdirectory & "\patchconfig.cfg")
my.computer.network.downloadfile("http://" & link  & "/" & line, my.computer.filesystem.currentdirectory & "\" & line)
next
diesen Code ein
Code:
for each line in system.io.file.readalllines(my.computer.filesystem.currentdirectory & "\patchconfig.cfg")
progressbar1.maximum = progressbar1.maximum + 1
next
und dann noch bei dem code
Code:
for each line in system.io.file.readalllines(my.computer.filesystem.currentdirectory & "\patchconfig.cfg")
my.computer.network.downloadfile("http://" & link  & "/" & line, my.computer.filesystem.currentdirectory & "\" & line)
next
fügst du über next die Zeile
Code:
progressbar1.value = progressbar1.value +1
hinzu das sieht dann so aus :
Code:
dim link as string = "Eure Patch link!"
my.computer.network.downloadfile("http://" & link & "/patchconfig.cfg", my.computer.filesystem.currentdirectory & "\patchconfig.cfg")
for each line in system.io.file.readalllines(my.computer.filesystem.currentdirectory & "\patchconfig.cfg")
progressbar1.maximum = progressbar1.maximum + 1
next
for each line in system.io.file.readalllines(my.computer.filesystem.currentdirectory & "\patchconfig.cfg")
my.computer.network.downloadfile("http://" & link  & "/" & line, my.computer.filesystem.currentdirectory & "\" & line)
progressbar1.value = progressbar1.value +1
next
Für den Startbutton säh der Code so aus :
Code:
button1.enabled = false
dim link as string = "Eure Patch link!"
my.computer.network.downloadfile("http://" & link & "/patchconfig.cfg", my.computer.filesystem.currentdirectory & "\patchconfig.cfg")
for each line in system.io.file.readalllines(my.computer.filesystem.currentdirectory & "\patchconfig.cfg")
progressbar1.maximum = progressbar1.maximum + 1
next
for each line in system.io.file.readalllines(my.computer.filesystem.currentdirectory & "\patchconfig.cfg")
my.computer.network.downloadfile("http://" & link  & "/" & line, my.computer.filesystem.currentdirectory & "\" & line)
progressbar1.value = progressbar1.value +1
next
button1.enabled = true
ich werd das heute nachmittag nochmal ordentlich erklären im Threadanfang
'Haseo is offline  
Old 05/31/2010, 07:04   #40
 
RealEmX's Avatar
 
elite*gold: 0
Join Date: Oct 2008
Posts: 428
Received Thanks: 179
Öhhmm.. bin zwar nicht der Vollpro in VB, aber müsste es mit dem Button nicht so aussehen:

Code:
If Progressbar1.Value = Progressbar1.Maximum Then
Button1.Enabled = True
RealEmX is offline  
Old 05/31/2010, 07:28   #41
 
elite*gold: 0
Join Date: Mar 2009
Posts: 195
Received Thanks: 5
ähm und wie mache ich jetzt dass er weis was er downloaden soll?
Mars147 is offline  
Old 05/31/2010, 16:50   #42
 
elite*gold: LOCKED
Join Date: Oct 2008
Posts: 2,817
Received Thanks: 2,044
jo so gehts auch ist aber komplizierter
das programm arbeitet ja den code von oben nach unten ab und deswegen steht button1.enabled = true am ende damit er das zuletzt macht!
achja bei dir müsste es heißen :
Code:
If Progressbar1.Value = Progressbar1.Maximum Then
Button1.Enabled = True
[COLOR="RED"]End If[/COLOR]
MfG
Bestshocker

€dit: Du musst in patchconfig.cfg reinschreiben welche Dateien er downlaoden soll!
also bei Liedern und der roo.epk heißt es :
BGM\lied.mp3
BGM\lied2.mp3
pack\root.epk
pack\root.eix

usw.
'Haseo is offline  
Thanks
1 User
Old 05/31/2010, 19:35   #43
 
elite*gold: 0
Join Date: Mar 2009
Posts: 195
Received Thanks: 5
also z.b.

patchconfig.cfg
Quote:
mark\10.tga
mark\20.tga
mark\30.tga
und wohin mit den 3 datein?


lg Mars
Mars147 is offline  
Old 05/31/2010, 21:30   #44
 
elite*gold: LOCKED
Join Date: Oct 2008
Posts: 2,817
Received Thanks: 2,044
genau die packste dann auf dein webspace in den ordner also den ordenr genauso wie dein cleint machen, bei dir wär es dann so:

usw.
'Haseo is offline  
Thanks
1 User
Old 05/31/2010, 21:51   #45
 
elite*gold: 0
Join Date: Mar 2009
Posts: 195
Received Thanks: 5
Quote:
Originally Posted by bestshocker View Post



usw.
so in die patchconfig.cfg?
Mars147 is offline  
Reply


Similar Threads Similar Threads
[TOOL] Silkroad Online Tool!!! Auto Login + Patcher + Script !!!
09/28/2011 - SRO PServer Guides & Releases - 22 Replies
Hello members! If you remember i make SRO AutoLogin in minimalized window! This is mine second script: Process Pather by lolkop edit by me + mine autologin! This is fastes and stable than Process Pather, Silkroad Online tool is very easy only 1 click to patch! http://img690.imageshack.us/img690/4966/silktool. png
[How To]Mit dem Patcher umgehen (Spiel z.B nicht mit dem Patcher starten)
02/01/2011 - Metin2 Private Server - 5 Replies
Hey leute :'D Also ! Ich will euch nunmal zeigen,wie ihr mit dem Patcher umgehen könnt,also Das spiel Starten ohne mit dem Patcher zu patchen. #1 Öffnet den Editor (a.k.a. Texteditor) und schreibt rein " start Metin2client.bin " (ohne die "") Und speichert es als bypass.bat ab,und kopiert dies in euer beliebiges metin2 ordner ! #2 In eurem metin2 Ordner ist meistens die datei metin2client.bin
Problem VB 10 Patcher Script Problem
09/20/2010 - .NET Languages - 8 Replies
Hayho liebe Com. ich habe mal wieder einen ganz netten Patcher gescriptet, für einen metin2 P Server, da es nicht mein erster is, hab ich echt kp was da vorliegt, Hier der Script an sich: Public Class Form1 Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load End Sub Private Sub WebBrowser1_DocumentCompleted(ByVal sender As System.Object, ByVal e As System.Windows.Forms.WebBrowserDocumentCompletedEv entArgs) Handles...



All times are GMT +2. The time now is 21:36.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.