[C#] Free open source game loader/patcher

Page 2 of 2 FirstFirst 12
Results 16 to 28 of 28
  1. #16
    Enthusiast Qchan is offline
    MemberRank
    Jun 2005 Join Date
    44Posts

    Re: [C#] Free open source game loader/patcher

    Quote Originally Posted by Eponyx View Post
    I never finished the code, I just used some basic coding to support it but as I no longer dev. AO I kinda quit coding the launcher for it too, source for AO Support was passed over to the left over emu devs and thats all. :P

    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.

  2. #17
    Account Upgraded | Title Enabled! Intelext is offline
    MemberRank
    Mar 2007 Join Date
    EuropeLocation
    1,228Posts

    Re: [C#] Free open source game loader/patcher

    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.

  3. #18
    Enthusiast Qchan is offline
    MemberRank
    Jun 2005 Join Date
    44Posts

    Re: [C#] Free open source game loader/patcher

    Quote Originally Posted by Intelext View Post
    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.


    Umm... What problem are you having here?

  4. #19
    Extreme Coder - Delphi bounty-hunter is offline
    MemberRank
    Sep 2007 Join Date
    GunZone MansionLocation
    1,725Posts

    Re: [C#] Free open source game loader/patcher

    does this work with visual C#?

  5. #20
    Proficient Member tagerinator is offline
    MemberRank
    Nov 2007 Join Date
    Canada FTW!Location
    199Posts

    Re: [C#] Free open source game loader/patcher

    Will this work for a verison of GunZ?

  6. #21
    Enthusiast Qchan is offline
    MemberRank
    Jun 2005 Join Date
    44Posts

    Re: [C#] Free open source game loader/patcher

    Quote Originally Posted by bounty-hunter View Post
    does this work with visual C#?

    Yes...


    Quote Originally Posted by tagerinator View Post
    Will this work for a verison of GunZ?

    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).

  7. #22
    Extreme Coder - Delphi bounty-hunter is offline
    MemberRank
    Sep 2007 Join Date
    GunZone MansionLocation
    1,725Posts

    Re: [C#] Free open source game loader/patcher

    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

  8. #23
    Account Upgraded | Title Enabled! Giro is offline
    MemberRank
    May 2008 Join Date
    1,089Posts

    Re: [C#] Free open source game loader/patcher

    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

  9. #24
    Enthusiast Qchan is offline
    MemberRank
    Jun 2005 Join Date
    44Posts

    Re: [C#] Free open source game loader/patcher

    Quote Originally Posted by bounty-hunter View Post
    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

    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.


    Quote Originally Posted by giro58 View Post
    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

    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.

  10. #25
    Account Upgraded | Title Enabled! Thesnowman is offline
    MemberRank
    Nov 2007 Join Date
    423Posts

    Re: [C#] Free open source game loader/patcher

    Wow thats nice. Im going to test. Thanks!

  11. #26
    Enthusiast Qchan is offline
    MemberRank
    Jun 2005 Join Date
    44Posts

    Re: [C#] Free open source game loader/patcher

    Quote Originally Posted by Thesnowman View Post
    Wow thats nice. Im going to test. Thanks!

    Enjoy!

    I just found a new bug in the loader. If the game hasn't formally been installed and the data is not in the registry, it tends to cause it to crash. I'm working on that as we speak...

    Has anyone tried this in Vista yet? Does it work?

  12. #27
    Novice mp3xviciado is offline
    MemberRank
    Dec 2008 Join Date
    2Posts

    Re: [C#] Free open source game loader/patcher

    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

  13. #28
    Enthusiast Qchan is offline
    MemberRank
    Jun 2005 Join Date
    44Posts

    Re: [C#] Free open source game loader/patcher

    [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



Page 2 of 2 FirstFirst 12

Advertisement