Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Rappelz > Rappelz Private Server
You last visited: Today at 14:25

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

 

[RELEASE] Launcher/Updater [Source]

Reply
 
Old   #31
 
elite*gold: 0
Join Date: May 2013
Posts: 129
Received Thanks: 12
I apologize for the lifting of an old topic.
How to make it supports files exe version?



thund22222 is offline  
Old   #32
 
elite*gold: 0
Join Date: Sep 2008
Posts: 1,570
Received Thanks: 1,154
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
1 User
Old   #33
 
elite*gold: 0
Join Date: May 2013
Posts: 129
Received Thanks: 12
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   #34
 
elite*gold: 0
Join Date: Dec 2012
Posts: 131
Received Thanks: 16
Not work come this :

You must register and activate your account in order to view images.


david512r is offline  
Old   #35
 
elite*gold: 0
Join Date: Sep 2008
Posts: 120
Received Thanks: 94
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   #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.
neaw is offline  
Old   #37
 
elite*gold: 0
Join Date: Jul 2012
Posts: 147
Received Thanks: 196
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   #38
 
elite*gold: 540
Join Date: Mar 2012
Posts: 238
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   #39
 
elite*gold: 0
Join Date: Jul 2012
Posts: 147
Received Thanks: 196
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   #40
 
elite*gold: 540
Join Date: Mar 2012
Posts: 238
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   #41
Moderator
 
elite*gold: 1
Join Date: Dec 2012
Posts: 3,049
Received Thanks: 984
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   #42
 
elite*gold: 540
Join Date: Mar 2012
Posts: 238
Received Thanks: 106
i know ^^ i have creat launcher for warrock and i seach help for the launcher ^^
ElBier is offline  
Old   #43
Moderator
 
elite*gold: 1
Join Date: Dec 2012
Posts: 3,049
Received Thanks: 984
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   #44
 
elite*gold: 0
Join Date: Nov 2011
Posts: 37
Received Thanks: 2
Bro !

Progress Bar not Working
virus1998 is offline  
Old   #45
 
elite*gold: 0
Join Date: Jul 2012
Posts: 147
Received Thanks: 196
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



« Previous Thread | Next Thread »

Similar Threads
[Release] Open source Launcher v1
Devil's launcher open source project °Features : Server status picture based. News . Costom GUI. Rollover pictures. Special Design.
21 Replies - EO PServer Guides & Releases
Launcher + Updater !
Suche DRINGEND jemand, der sich mit LAUNCHER+UPDATER auskennt.. MFG
9 Replies - Last Chaos Private Server
[Release] Simpler Updater Source
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...
50 Replies - Metin2 PServer Guides & Strategies
VB launcher + updater
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...
0 Replies - Dekaron Private Server
Launcher, Updater ?!?
Also ich habe mir qerade WarRock neu qeladen, und dann bleibt es stehen. http://www7.pic-upload.de/20.02.11/1rx8vtc82j56.png
6 Replies - WarRock



All times are GMT +2. The time now is 14:25.


Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Abuse
Copyright ©2017 elitepvpers All Rights Reserved.