Yup autopatcher is directed to the new named exe, the ip for the autopatcher is my Hamachi number which works also. I am just not quite sure of the inbetween check from version check to client open >.< Version is updated so in theory client SHOULD start but it just tries to open AutoPatch server continuesly?
Ok for my launcher this is what I have and I KNOW it will just open up Conquer AND the autopatcher together before some bright spark states the blatantly obvious >.> How would I go about putting a statement so that it checks the version first and then if client is up to date to start the client? And I am not looking for some dumb answer just write it in laymans terms and not that string arg crap just write it because right now I can not have my server running because no client will be able to connect >.< Anyways heres part of the launcher and this is or could be where the problem is?
Code:
private void button1_Click(object sender, EventArgs e)//play
{
if (Version.Equals)
{
System.Diagnostics.Process.Start("Conquer.exe", "blacknull");
this.Close();
System.Diagnostics.Process.Start("AutoPatch.exe", "blacknull");
this.Close();
}
}
This is NOT the source this is a LAUNCHER for the client!
Update I have it working now sort of but the only issue now is that to start the client you need to hit bypass >.< Is there a way that I can stop it from doing this? I should realistically place the things up that I am looking at so I will do that and found the ONLY way to use the bypass to open the client is by having it next to the fail >.<
Code:
[program]
patch = AutoPatch.exe
main = Conquer.exe
fail = Conquer.exe
failparam =
manualupdate = http://HamachiIP/UPDATEFolder
webdownLink =
; auto update mode
; 0 = FTP
; 1 = HTTP
Default_Mode = 1
VerinfoFormat = Version: %d-%d
ConnectedErr = Network connection error. Failed to connect to the autopatch server!
CloseInstance = The game client is in progress. Do you want to exit the game and continue autopatch?
[string]
Display = [MyServer] Autopatching...
CopyRight = Copyright (C) 2007 MyServer
ConnectError = Failed to connect to the autopatch server. Please choose Exit, Retry or Bypass (Not recommended! It may cause unknown errors.).
Retry = Retry
Manual = Manual Patch
Quit = Bypass
WebTip = Download from website
QuitConfirm = The autopatch is in progress. Are you sure you want to quit?
ProcessExist = Please exit the game client before you install patches.
[progress]
TextColor = 0xFFFFFF
TextSpecial=0x00FF00
TextPushColor= 0x0000FF
BarPic = AutoPatch\Guagebar.bmp
FilePos = Updated:
ProjectPos = Overall progress:
InstallPos = Install progress:
[check]
ProcessName = Conquer.exe
HintText = The game client is in progress. Please exit the game first!
[pic]
count=2
DownPic1 = AutoPatch\D1.bmp
DownPic2 = AutoPatch\D2.bmp
SetupPic1 = AutoPatch\S1.BMP
SetupPic2 = AutoPatch\S2.BMP
That is the config file in autopatch folder in client and below is the socketconfig file
Code:
[Header]
GroupAmount=1
[Group1]
count=7
Server1=U1 HamachiIP 9528 HamachiIP 9528 1 14
Server2=U2 HamachiIP 9528 HamachiIP 9528 1 14
Server3=U3 HamachiIP 9528 HamachiIP 9528 7 16
Server4=U4 HamachiIP 9528 HamachiIP 9528 1 15
[time]
QLinkTimeOut=10000
QSendTimeOut=10000
QReceiveTimeOut=10000
DLinkTimeOut=10000
DSendTimeOut=10000
DReceiveTimeOut=10000
[Manual]
Server=http://HamachiIP/MyServerUPDATE
[Statistics]
Server=http://HamachiIP/MyServerUPDATE
My main questions now are what is failparam for and what is statistics for?