Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Conquer Online 2 > CO2 Private Server > CO2 PServer Guides & Releases
You last visited: Today at 04:03

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

Advertisement



[Release Source] Play.exe with autopatch

Discussion on [Release Source] Play.exe with autopatch within the CO2 PServer Guides & Releases forum part of the CO2 Private Server category.

Reply
 
Old 02/27/2010, 22:56   #16
 
elite*gold: 0
Join Date: Feb 2010
Posts: 492
Received Thanks: 222
I get an error when I launch the program it throws this error:

System.ArgumentException: Item has already been added. Key in dictionary: 'IniParser+SectionPair' Key being added: 'IniParser+SectionPair'
at IniParser..ctor(String iniPath)
at CoPinoyPatcher.frmPatcher.Completed(Object sender, AsyncCompletedEventArgs e)
at System.Net.WebClient.OnDownloadFileCompleted(Async CompletedEventArgs e)
at System.Net.WebClient.DownloadFileOperationComplete d(Object arg)

But when I click Continue to will automaticly make me launch the game without downloading the autopatch HELP!
Paralyzer[GM] is offline  
Old 02/28/2010, 02:20   #17
 
elite*gold: 0
Join Date: Feb 2010
Posts: 492
Received Thanks: 222
Bump
Paralyzer[GM] is offline  
Old 02/28/2010, 16:47   #18
 
arab4life's Avatar
 
elite*gold: 0
Join Date: Jan 2006
Posts: 430
Received Thanks: 286
Good job, will be using it
Thank you! Keep the good work up.
arab4life is offline  
Thanks
1 User
Old 03/01/2010, 11:03   #19
 
elite*gold: 0
Join Date: May 2006
Posts: 127
Received Thanks: 91
Quote:
Originally Posted by Paralyzer[GM] View Post
I get an error when I launch the program it throws this error:

System.ArgumentException: Item has already been added. Key in dictionary: 'IniParser+SectionPair' Key being added: 'IniParser+SectionPair'
at IniParser..ctor(String iniPath)
at CoPinoyPatcher.frmPatcher.Completed(Object sender, AsyncCompletedEventArgs e)
at System.Net.WebClient.OnDownloadFileCompleted(Async CompletedEventArgs e)
at System.Net.WebClient.DownloadFileOperationComplete d(Object arg)

But when I click Continue to will automaticly make me launch the game without downloading the autopatch HELP!
just check your ini files, most likely you configure it incorrectly...
kamote is offline  
Old 03/01/2010, 15:51   #20
 
elite*gold: 0
Join Date: Sep 2008
Posts: 1,683
Received Thanks: 506
Quote:
Originally Posted by .Arco View Post
Well this information is needed.
If yours is better people would want to know which one they should use, or not to use.
Not really.
What ever a human says, never is objective, but any ways, he cannot (objective) decide which one is better, nor does he have to.
Basser is offline  
Old 03/13/2010, 22:35   #21
 
elite*gold: 0
Join Date: Feb 2010
Posts: 492
Received Thanks: 222
Works good

+Thanks

I need some help,

When its up to date it will display the page I told it to ( server status ) but I want to know if there is a way "webBrowser1" will display the patches update info say my new patch is 1005.exe and I wanted it to display 1005.html when it downloads that patch just like acid-co ??
Paralyzer[GM] is offline  
Old 03/14/2010, 14:22   #22
 
xI NiNJA DuCKey's Avatar
 
elite*gold: 0
Join Date: Mar 2010
Posts: 51
Received Thanks: 17
Im not Entirely sure, But i think they use a web browser and use the method Get current directory :S
xI NiNJA DuCKey is offline  
Old 03/14/2010, 14:56   #23
 
elite*gold: 0
Join Date: Oct 2006
Posts: 75
Received Thanks: 17
this is useful
gad-legion is offline  
Old 03/14/2010, 15:53   #24
 
elite*gold: 0
Join Date: Feb 2010
Posts: 492
Received Thanks: 222
Any ideas for my post ^^ ?
Paralyzer[GM] is offline  
Old 03/15/2010, 07:40   #25
 
elite*gold: 0
Join Date: May 2006
Posts: 127
Received Thanks: 91
Quote:
Originally Posted by Paralyzer[GM] View Post
Works good

+Thanks

I need some help,

When its up to date it will display the page I told it to ( server status ) but I want to know if there is a way "webBrowser1" will display the patches update info say my new patch is 1005.exe and I wanted it to display 1005.html when it downloads that patch just like acid-co ??
try this.

1. On you're conquer client open patch.ini and look
Code:
Site=[COLOR="Red"]http://account.conqueronline.com/91signup/common/ZFRegister.aspx[/COLOR]
2. change it to something like.
Code:
Site=http://yourdomain.com/1005.html
3. add your patch.ini in your 1005.exe

4. Open Form1.cs and search for
Code:
lblStatus.Text = "Done Patching, click the play button to start";
5. above it add this code
Code:
webBrowser1.Navigate(site.GetSetting("Config", "Site"));
..thats it... hope it help

Note: Every new update you made. you should include always your updated patch.ini with it
kamote is offline  
Old 03/15/2010, 17:34   #26
 
elite*gold: 0
Join Date: Feb 2010
Posts: 492
Received Thanks: 222
No but I mean like when it downloads the new patch it will display the patch info not just to have 1 page! ) so like 1001.exe will display 1001.html and when the update has downloaded it will display the defult page.
Paralyzer[GM] is offline  
Old 03/16/2010, 02:51   #27
 
elite*gold: 0
Join Date: May 2006
Posts: 127
Received Thanks: 91
Quote:
Originally Posted by Paralyzer[GM] View Post
No but I mean like when it downloads the new patch it will display the patch info not just to have 1 page! ) so like 1001.exe will display 1001.html and when the update has downloaded it will display the defult page.
just add the update info on your default page... that way would be easy.
kamote is offline  
Old 04/07/2010, 19:09   #28
 
elite*gold: 0
Join Date: Feb 2010
Posts: 492
Received Thanks: 222
Na, I want it so that it will only display that update can you please help me

Downlaoading patch 1005.exe so it will display 1005.html ? then it download 1006.exe so it displays the 1006.html
Paralyzer[GM] is offline  
Old 04/07/2010, 19:33   #29
 
elite*gold: 0
Join Date: Jan 2009
Posts: 1,922
Received Thanks: 491
i can helpz u
PeTe Ninja is offline  
Old 04/30/2010, 06:27   #30
 
elite*gold: 0
Join Date: May 2006
Posts: 127
Received Thanks: 91
Quote:
Originally Posted by Paralyzer[GM] View Post
Na, I want it so that it will only display that update can you please help me

Downlaoading patch 1005.exe so it will display 1005.html ? then it download 1006.exe so it displays the 1006.html
then tweak the source code... on my original source, the browser will only display the config site on form_activate event. if you want it to display each time it download something, then add a code somewhere here
Code:
public bool downLoad(string source, string destination)
        {
            WebClient webClient = new WebClient();
            bool result = true;
            try
            {
 [COLOR="Red"]               webBrowser1.Navigate("http://www.yourdomain.com/patch/"+patch.GetSetting("Current", "Version") + ".html");[/COLOR]
                webClient.DownloadFileCompleted += new AsyncCompletedEventHandler(Completed);
                webClient.DownloadProgressChanged += new DownloadProgressChangedEventHandler(ProgressChanged);
                webClient.DownloadFileAsync(new Uri(source), @destination);
            }
            catch
            {
                result = false;
            }
            return( result);
        }
added code(in red)
kamote is offline  
Reply


Similar Threads Similar Threads
[Repack] Play.exe with AutoPatch and News Page
03/07/2012 - CO2 PServer Guides & Releases - 10 Replies
Hello everyone, I decided to make a news page for the new auto patcher released by kamote. If he posts in this thread you should thank him for it. Here is a sample. http://img3.imageshack.us/img3/8853/clipboard1u.p ng
[REQUEST] AutoPatch Source
04/16/2010 - CO2 Private Server - 6 Replies
This is my first time to request a source in c# auto patcher not play.exe like conquer online where: it download latest patch from server and run conquer directly after downloading no buttons...like (patch button and play button)
[Release]Source Code for Play.exe
03/13/2010 - CO2 PServer Guides & Releases - 11 Replies
This is a short/Noob Release. If you want to make a new Launcher for your Private Server, Here's a few things you might want and a Semi-Guide. Create a New Windows form application. I would recommend 4 or 5 Buttons, A play button, Site button, Vote button, Exit button and If you like a Credits button. For the Play Button Process.Start(System.IO.Directory.GetCurrentDirec tory() + "\\conquer.exe", "blacknull"); For a Vote Button And You can ulter the address for the site ...
[RELEASE] Autopatch server & dyndns play.exe
04/02/2009 - EO PServer Guides & Releases - 32 Replies
Please see http://www.elitepvpers.com/forum/eo-pserver-hostin g/297522-release-autopatchserver-3-0-a.html?highli ght=autopatch



All times are GMT +1. The time now is 04:05.


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

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