|
You last visited: Today at 05:35
Advertisement
[RELEASE] Launcher/Updater [Source]
Discussion on [RELEASE] Launcher/Updater [Source] within the Rappelz Private Server forum part of the Rappelz category.
05/22/2013, 04:20
|
#31
|
elite*gold: 0
Join Date: May 2013
Posts: 159
Received Thanks: 14
|
I apologize for the lifting of an old topic.
How to make it supports files exe version?
|
|
|
05/22/2013, 10:24
|
#32
|
elite*gold: 0
Join Date: Sep 2008
Posts: 1,606
Received Thanks: 1,210
|
Quote:
Originally Posted by thund22222
I apologize for the lifting of an old topic.
How to make it supports files exe version?
|
Replace:
Code:
using (ZipFile zip = ZipFile.Read(file))
{
foreach (ZipEntry zipFiles in zip)
{
zipFiles.Extract(Root + "\\Resource\\", true);
}
}
deleteFile(file);
with:
Code:
if (Path.GetExtension(file).Equals(".zip"))
{
using (ZipFile zip = ZipFile.Read(file))
{
foreach (ZipEntry zipFiles in zip)
{
zipFiles.Extract(Root + "\\Resource\\", true);
}
}
deleteFile(file);
}
Now it will only extract .zip files to the resource folder. If you add something like a sframe to the update.xml it will copy it to the current directory.
|
|
|
05/22/2013, 10:43
|
#33
|
elite*gold: 0
Join Date: May 2013
Posts: 159
Received Thanks: 14
|
Quote:
Originally Posted by c1ph3r
Replace:
Code:
using (ZipFile zip = ZipFile.Read(file))
{
foreach (ZipEntry zipFiles in zip)
{
zipFiles.Extract(Root + "\\Resource\\", true);
}
}
deleteFile(file);
with:
Code:
if (Path.GetExtension(file).Equals(".zip"))
{
using (ZipFile zip = ZipFile.Read(file))
{
foreach (ZipEntry zipFiles in zip)
{
zipFiles.Extract(Root + "\\Resource\\", true);
}
}
deleteFile(file);
}
Now it will only extract .zip files to the resource folder. If you add something like a sframe to the update.xml it will copy it to the current directory.
|
Thank you very much.
I am with me deserve thanks I have received assistance from you.
|
|
|
06/15/2013, 09:14
|
#34
|
elite*gold: 0
Join Date: Dec 2012
Posts: 131
Received Thanks: 16
|
Not work come this :
|
|
|
06/15/2013, 10:39
|
#35
|
elite*gold: 0
Join Date: Sep 2008
Posts: 120
Received Thanks: 99
|
Sachmal du kannst ja wohl schreiben, aber kannst du auch lesen????
Ich kann's gerade nicht richtig, da keine Brille auf, aber da steht doch klar und deutlich
"Das System kann die angegebene Datei nicht finden". Und unten weiter noch irgendwas mit Process.Start().
Jetzt ist Hirn einschalten angesagt!!!
Den Code nach "Process.Start" durchsuchen und den entsprechenden Teil in eine try-catch-Anweisung packen.
ODER einfach aufpassen, dass die SFrame im Applikationsverzeichnis ist, bzw. der Launcher im Rappelz Client Ordner.
Verdammt noch mal ...
Edit:
Dir wird in der Fehlermeldung weiter unten sogar die Zeile angegeben, in der der Fehler gefunden wurde. Das entsprechende Codeschnipsel sollte dann mit einer try-catch-Anweisung ungefähr so aussehen. Die Kommentare kannst du ja löschen:
Code:
try
{
//Prozess wird gestartet
Process.Start("SFrame.exe", "/auth_ip: 127.0.0.1 /locale:ASCII /country:DE /cash /commercial_shop");
//Launcher wird beendet
Application.Exit();
}
//Wenn eine Win32Exception auftritt, mache hier weiter ...
catch (Win32Exception)
{
//Zeige eine Fehlermeldung an ...
MessageBox.Show("SFrame.exe wurde nicht gefunden!");
}
|
|
|
06/20/2013, 17:47
|
#36
|
elite*gold: 0
Join Date: Jun 2013
Posts: 4
Received Thanks: 0
|
Nice work  , for me, you could forget that "version.txt" file, you just have to add
Code:
<current>version</current>
into your xml file, your software would be more faster  . It's not that much but it allows you to bypass all http processes in framework to retrieve this file.
|
|
|
06/21/2013, 01:29
|
#37
|
elite*gold: 0
Join Date: Jul 2012
Posts: 146
Received Thanks: 216
|
Quote:
Originally Posted by neaw
Nice work  , for me, you could forget that "version.txt" file, you just have to add
Code:
<current>version</current>
into your xml file, your software would be more faster  . It's not that much but it allows you to bypass all http processes in framework to retrieve this file.
|
I appreciate the input. Honestly, I'm not looking to update this launcher. It was a quick, simple launcher made to stop the "Me need launcher" threads. My current launcher Simply compares files from client to server. No version check and no zips. Still not sure whether i should release it. No one gives me credits when they use my launcher and some people even re-release it and call it their own. So I probably won't release the newer one.
|
|
|
06/24/2013, 03:12
|
#38
|
elite*gold: 0
Join Date: Mar 2012
Posts: 242
Received Thanks: 106
|
kann mir wer helfen habe den launcher für mein warrock p-server gemacht aber wenn ich ein neuen patch Hinzufüge lädt der den nicht und sagt nur client uptodatet hilfe!!! :S
|
|
|
06/24/2013, 06:07
|
#39
|
elite*gold: 0
Join Date: Jul 2012
Posts: 146
Received Thanks: 216
|
Quote:
Originally Posted by ElBier
kann mir wer helfen habe den launcher für mein warrock p-server gemacht aber wenn ich ein neuen patch Hinzufüge lädt der den nicht und sagt nur client uptodatet hilfe!!! :S
|
I keep saying, and for some reason people do understand, so I'm going to use Google Translate. Hopefully my message get's across:
Ich spreche kein Deutsch. Wenn Sie Hilfe benötigen, müssen Sie dafür in Englisch stellen.
|
|
|
06/24/2013, 14:20
|
#40
|
elite*gold: 0
Join Date: Mar 2012
Posts: 242
Received Thanks: 106
|
can help me who did the launcher for my warrock p server but when I load a new patch adding and says not only of the client uptodatet help! : S
|
|
|
06/24/2013, 15:21
|
#41
|
Moderator
elite*gold: 1
Join Date: Dec 2012
Posts: 4,915
Received Thanks: 1,492
|
Quote:
Originally Posted by ElBier
can help me who did the launcher for my warrock p server but when I load a new patch adding and says not only of the client uptodatet help! : S
|
This is a forum for the discussion of Rappelz private servers.
For WarRock you will have to find your solution in their section...
|
|
|
06/24/2013, 16:13
|
#42
|
elite*gold: 0
Join Date: Mar 2012
Posts: 242
Received Thanks: 106
|
i know ^^ i have creat launcher for warrock and i seach help for the launcher ^^
|
|
|
06/24/2013, 18:15
|
#43
|
Moderator
elite*gold: 1
Join Date: Dec 2012
Posts: 4,915
Received Thanks: 1,492
|
That's what I was trying to say, they have their own forum section.
I linked it for you...
There is no help for launching the game WarRock on the Rappelz Private Server forum section.
|
|
|
07/16/2013, 23:47
|
#44
|
elite*gold: 0
Join Date: Nov 2011
Posts: 37
Received Thanks: 2
|
Bro !
Progress Bar not Working
|
|
|
07/17/2013, 02:14
|
#45
|
elite*gold: 0
Join Date: Jul 2012
Posts: 146
Received Thanks: 216
|
Quote:
Originally Posted by virus1998
Bro !
Progress Bar not Working
|
Bro! You have the source code... Fix it!
|
|
|
 |
|
Similar Threads
|
[Release] Open source Launcher v1
04/09/2020 - EO PServer Guides & Releases - 22 Replies
Devil's launcher open source project
°Features :
Server status picture based.
News .
Costom GUI.
Rollover pictures.
Special Design.
|
Launcher + Updater !
11/04/2012 - Last Chaos Private Server - 9 Replies
Suche DRINGEND jemand, der sich mit LAUNCHER+UPDATER auskennt..
MFG
|
[Release] Simpler Updater Source
07/31/2012 - Metin2 PServer Guides & Strategies - 50 Replies
Hallo Leute,
da ich hier aufm PC nen Updater rumfliegen hatte, habe ich mir gedacht, möchte ich ihn mal für euch zur Verfügung stellen.
Leider ist der Code nicht ganz sauber, da ich noch nicht viel Erfahrung in C# habe. Trotzdem möchte ich einigen die Möglichkeit geben, den Code zu verbessern oder ihn als Grundlage für einen individuellen Updater zu benutzen. Ich habe schon einige Updater gesehen, aber das ewige Geheimhalten der Source finde ich lächerlich.
Funktionsweise:
|
VB launcher + updater
04/16/2011 - Dekaron Private Server - 0 Replies
Hi I made a game launcher/updater in VB.NET.
It's also finish but I need help because I use DIV and I don't know exacly what is the code to download DIV.
Thanks
|
Launcher, Updater ?!?
02/20/2011 - WarRock - 6 Replies
Also ich habe mir qerade WarRock neu qeladen, und dann bleibt es stehen.
http://www7.pic-upload.de/20.02.11/1rx8vtc82j56.p ng
|
All times are GMT +1. The time now is 05:35.
|
|