Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Rappelz > Rappelz Private Server
You last visited: Today at 05:35

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

Advertisement



[RELEASE] Launcher/Updater [Source]

Discussion on [RELEASE] Launcher/Updater [Source] within the Rappelz Private Server forum part of the Rappelz category.

Reply
 
Old 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?
thund22222 is offline  
Old 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 View Post
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.
c1ph3r is offline  
Thanks
2 Users
Old 05/22/2013, 10:43   #33
 
elite*gold: 0
Join Date: May 2013
Posts: 159
Received Thanks: 14
Quote:
Originally Posted by c1ph3r View Post
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.
thund22222 is offline  
Old 06/15/2013, 09:14   #34
 
elite*gold: 0
Join Date: Dec 2012
Posts: 131
Received Thanks: 16
Not work come this :

david512r is offline  
Old 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!");
            }
Player95 is offline  
Old 06/20/2013, 17:47   #36
 
neaw's Avatar
 
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.
neaw is offline  
Old 06/21/2013, 01:29   #37
 
TheChinStrap's Avatar
 
elite*gold: 0
Join Date: Jul 2012
Posts: 146
Received Thanks: 216
Quote:
Originally Posted by neaw View Post
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.
TheChinStrap is offline  
Old 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
ElBier is offline  
Old 06/24/2013, 06:07   #39
 
TheChinStrap's Avatar
 
elite*gold: 0
Join Date: Jul 2012
Posts: 146
Received Thanks: 216
Quote:
Originally Posted by ElBier View Post
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.
TheChinStrap is offline  
Old 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
ElBier is offline  
Old 06/24/2013, 15:21   #41
Moderator


 
ThunderNikk's Avatar
 
elite*gold: 1
Join Date: Dec 2012
Posts: 4,915
Received Thanks: 1,492
Quote:
Originally Posted by ElBier View Post
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...

ThunderNikk is offline  
Old 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 ^^
ElBier is offline  
Old 06/24/2013, 18:15   #43
Moderator


 
ThunderNikk's Avatar
 
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.

ThunderNikk is offline  
Thanks
1 User
Old 07/16/2013, 23:47   #44
 
elite*gold: 0
Join Date: Nov 2011
Posts: 37
Received Thanks: 2
Bro !

Progress Bar not Working
virus1998 is offline  
Old 07/17/2013, 02:14   #45
 
TheChinStrap's Avatar
 
elite*gold: 0
Join Date: Jul 2012
Posts: 146
Received Thanks: 216
Quote:
Originally Posted by virus1998 View Post
Bro !

Progress Bar not Working
Bro! You have the source code... Fix it!
TheChinStrap is offline  
Thanks
1 User
Reply


Similar Threads 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.


Powered by vBulletin®
Copyright ©2000 - 2026, 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 ©2026 elitepvpers All Rights Reserved.