Oh, I see. Coding CGL for extra game support is easy. Its just one section in CGL. It's heavily documented, so there shouldn't be an issue.
Printable View
Code:See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
at cgl.frmInitialize.frmInitialize_Load(Object sender, EventArgs e)
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
cgl
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/DOCUME~1/Intelext/LOCALS~1/Temp/Rar$EX00.312/cgl30/cgl.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
For example:
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
does this work with visual C#?
Will this work for a verison of GunZ?
Yes...
Currently, it doesn't, but I can add support! I just need some information...
1) Where is the game directory registry key?
2) What folder does the game install in?
I believe that's all the information I need. Once I get that, I can add support for it.
Right now, I'm working on adding split rar file support. So, it'll be easier to divide large update files into chunks and have your clients download it. I'll also enable the WWW browse window (its disabled in the code. You can enable it by uncommenting it in the source code).
yeah make a button and type in System.Diagnostic.Process.Start(Application.StartupPath + "Gunz.exe") i think thats it or something like that. Anyways this is really good
Errr i made one too check it out its my sig... but it has more features and a cp threw the web, Has the following ---- Installer / Updater / Launcher / Uninstaller / Control Panel so all you need to do is give out the install pretty much and control it from the cp on my web. If you need some help or advice msn me at giro58@live.com
Why add this when you can specify the EXE in the updater.cfg file?
If you want CGL to automatically find the Game Directory, I will need to have CGL point to the registry to find the proper directory.
This works the same way except its much easier. You give out the exe file and the configuration files located on your server do the rest.
Nothing needs to be installed here. I made it that way so that the exe can go anywhere on the HDD.
If you wish to contribute to the code, that's fine too! However, be sure to post it on the message forums at Ultra Edge. The reason is so that I can keep a better track of the code.
Wow thats nice. Im going to test. Thanks!
I downloaded to test your loader more he calls a filename update.prog and generates error
how do I fix this?
cgl log:
[Error Count]
Tally=1
[Error Messages]
Error 1=System.Net.WebException: O servidor remoto retornou um erro: (404) N
[QUOTE=mp3xviciado;4873616]I downloaded to test your loader more he calls a filename update.prog and generates error
how do I fix this?
cgl log:
[Error Count]
Tally=1
[Error Messages]
Error 1=System.Net.WebException: O servidor remoto retornou um erro: (404) N