Client connection

Results 1 to 6 of 6
  1. #1
    Valued Member kellybang is offline
    MemberRank
    Oct 2008 Join Date
    192.168.1.1Location
    112Posts

    Client connection

    Hello guys. really sorry for the noob question. but is there any tutorials on how to make a client installer that has its regedit edited? like when i make a client installer it will also set the connection of the server in regedit.


  2. #2
    Proficient Member musashi076 is offline
    MemberRank
    Oct 2009 Join Date
    PhilippinesLocation
    186Posts

    Re: Client connection

    i used Inno Setup 5. just search a tutorial about it. i just tried that once.

  3. #3
    Proficient Member kakarot200 is offline
    MemberRank
    Jun 2008 Join Date
    188Posts

    Re: Client connection

    How used Inno Setup client installer connect online edit regedit.
    i need ip
    Url_Fetch= http://202.129.206.106/fetch.php
    IP = 202.129.206.106
    BuddyIP= 202.129.206.106
    Url_Signup= http://202.129.206.106/gun

  4. #4
    Valued Member kellybang is offline
    MemberRank
    Oct 2008 Join Date
    192.168.1.1Location
    112Posts

    Re: Client connection

    hmm still having this problem. i tried the one Musashi076 suggested but it still dont work. hmmmm is there another way to install a client with my server settings on regedit?

  5. #5
    Proficient Member musashi076 is offline
    MemberRank
    Oct 2009 Join Date
    PhilippinesLocation
    186Posts

    Re: Client connection


  6. #6
    Proficient Member musashi076 is offline
    MemberRank
    Oct 2009 Join Date
    PhilippinesLocation
    186Posts

    Re: Client connection

    Heres a sample of my innosetup script

    ; Script generated by the Inno Setup Script Wizard.
    ; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!

    #define MyAppName "Gunbound Epsilon Zero"
    #define MyAppVersion "1.0"
    #define MyAppPublisher "Zell Pearly"
    #define MyAppURL "http://pearlyhteprogrammer.webs.com"
    #define MyAppExeName "GunBound.exe"

    [Setup]
    ; NOTE: The value of AppId uniquely identifies this application.
    ; Do not use the same AppId value in installers for other applications.
    ; (To generate a new GUID, click Tools | Generate GUID inside the IDE.)
    AppId={{FC1E6ED9-0CD6-4430-BADC-3DE1D890D150}
    AppName={#MyAppName}
    AppVersion={#MyAppVersion}
    ;AppVerName={#MyAppName} {#MyAppVersion}
    AppPublisher={#MyAppPublisher}
    AppPublisherURL={#MyAppURL}
    AppSupportURL={#MyAppURL}
    AppUpdatesURL={#MyAppURL}
    DefaultDirName={pf}\{#MyAppName}
    DefaultGroupName={#MyAppName}
    OutputBaseFilename=Gunbound Epsilon Zero
    SetupIconFile=C:\Documents and Settings\Administrator\Desktop\icon2.ico
    Compression=lzma
    SolidCompression=yes

    [Languages]
    Name: "english"; MessagesFile: "compiler:Default.isl"

    [Tasks]
    Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked


    [Dirs]
    Name: "{app}\fetch"
    Name: "{app}\apply"
    Name: "{app}\img"

    [Files]
    Source: "C:\Program Files\Silent Gaming\Gunbound Classic\GunBound.exe"; DestDir: "{app}"; Flags: ignoreversion
    Source: "C:\Program Files\Silent Gaming\Gunbound Classic\avatar.xfs"; DestDir: "{app}"; Flags: ignoreversion
    Source: "C:\Program Files\Silent Gaming\Gunbound Classic\characterdata.dat"; DestDir: "{app}"; Flags: ignoreversion
    Source: "C:\Program Files\Silent Gaming\Gunbound Classic\GbSet.exe"; DestDir: "{app}"; Flags: ignoreversion
    Source: "C:\Program Files\Silent Gaming\Gunbound Classic\graphics.xfs"; DestDir: "{app}"; Flags: ignoreversion
    Source: "C:\Program Files\Silent Gaming\Gunbound Classic\GunBound.exe"; DestDir: "{app}"; Flags: ignoreversion
    Source: "C:\Program Files\Silent Gaming\Gunbound Classic\GunBound.gme"; DestDir: "{app}"; Flags: ignoreversion
    Source: "C:\Program Files\Silent Gaming\Gunbound Classic\itemdata.dat"; DestDir: "{app}"; Flags: ignoreversion
    Source: "C:\Program Files\Silent Gaming\Gunbound Classic\sound.xfs"; DestDir: "{app}"; Flags: ignoreversion
    Source: "C:\Program Files\Silent Gaming\Gunbound Classic\specialdata.dat"; DestDir: "{app}"; Flags: ignoreversion
    Source: "C:\Program Files\Silent Gaming\Gunbound Classic\stage.dat"; DestDir: "{app}"; Flags: ignoreversion
    Source: "C:\Program Files\Silent Gaming\Gunbound Classic\VolumeTest.wav"; DestDir: "{app}"; Flags: ignoreversion
    Source: "C:\Program Files\Silent Gaming\Gunbound Classic\img\*"; DestDir: "{app}\img"; Flags: ignoreversion recursesubdirs createallsubdirs
    ; NOTE: Don't use "Flags: ignoreversion" on any shared system files

    [Registry]
    Root: HKLM; Subkey: "Software\SoftNyx\"; Flags: uninsdeletekeyifempty
    Root: HKLM; Subkey: "Software\SoftNyx\Gunbound\"; Flags: uninsdeletekey
    Root: HKLM; Subkey: "Software\SoftNyx\"; Flags: uninsdeletekeyifempty
    Root: HKLM; Subkey: "Software\SoftNyx\Gunbound\"; Flags: uninsdeletekey
    Root: HKLM; Subkey: "Software\SoftNyx\Gunbound\"; ValueType: dword; ValueName: "AppID1"; ValueData: "101"
    Root: HKLM; Subkey: "Software\SoftNyx\Gunbound\"; ValueType: dword; ValueName: "AppID2"; ValueData: "102"
    Root: HKLM; Subkey: "Software\SoftNyx\Gunbound\"; ValueType: dword; ValueName: "AppID3"; ValueData: "103"
    Root: HKLM; Subkey: "Software\SoftNyx\Gunbound\"; ValueType: dword; ValueName: "AutoRefresh"; ValueData: "0"
    Root: HKLM; Subkey: "Software\SoftNyx\Gunbound\"; ValueType: binary; ValueName: "Background"; ValueData: "01"
    Root: HKLM; Subkey: "Software\SoftNyx\Gunbound\"; ValueType: string; ValueName: "BuddyIP"; ValueData: "127.0.0.1"
    Root: HKLM; Subkey: "Software\SoftNyx\Gunbound\"; ValueType: binary; ValueName: "ChannelName"; ValueData: "00"
    Root: HKLM; Subkey: "Software\SoftNyx\Gunbound\"; ValueType: binary; ValueName: "Effect3D"; ValueData: "03"
    Root: HKLM; Subkey: "Software\SoftNyx\Gunbound\"; ValueType: dword; ValueName: "EffectVolume"; ValueData: "100"
    Root: HKLM; Subkey: "Software\SoftNyx\Gunbound\"; ValueType: binary; ValueName: "GameName"; ValueData: "00"
    Root: HKLM; Subkey: "Software\SoftNyx\Gunbound\"; ValueType: string; ValueName: "IP"; ValueData: "127.0.0.1"
    Root: HKLM; Subkey: "Software\SoftNyx\Gunbound\"; ValueType: dword; ValueName: "Language"; ValueData: "1"
    Root: HKLM; Subkey: "Software\SoftNyx\Gunbound\"; ValueType: binary; ValueName: "LastID"; ValueData: ""
    Root: HKLM; Subkey: "Software\SoftNyx\Gunbound\"; ValueType: dword; ValueName: "LastServer"; ValueData: "0"
    Root: HKLM; Subkey: "Software\SoftNyx\Gunbound\"; ValueType: string; ValueName: "Location"; ValueData: "{app}"
    Root: HKLM; Subkey: "Software\SoftNyx\Gunbound\"; ValueType: binary; ValueName: "MidiMode"; ValueData: "01"
    Root: HKLM; Subkey: "Software\SoftNyx\Gunbound\"; ValueType: dword; ValueName: "MouseSpeed"; ValueData: "50"
    Root: HKLM; Subkey: "Software\SoftNyx\Gunbound\"; ValueType: dword; ValueName: "MusicVolume"; ValueData: "100"
    Root: HKLM; Subkey: "Software\SoftNyx\Gunbound\"; ValueType: dword; ValueName: "Port"; ValueData: "8372"
    Root: HKLM; Subkey: "Software\SoftNyx\Gunbound\"; ValueType: binary; ValueName: "ShootingMode"; ValueData: "00"
    Root: HKLM; Subkey: "Software\SoftNyx\Gunbound\"; ValueType: string; ValueName: "Url_Fetch"; ValueData: "http://127.0.0.1/fetch.php"
    Root: HKLM; Subkey: "Software\SoftNyx\Gunbound\"; ValueType: string; ValueName: "Url_ForgotPwd"; ValueData: ""
    Root: HKLM; Subkey: "Software\SoftNyx\Gunbound\"; ValueType: string; ValueName: "Url_Notice"; ValueData: "http://127.0.0.1/notice.txt"
    Root: HKLM; Subkey: "Software\SoftNyx\Gunbound\"; ValueType: string; ValueName: "Url_Signup"; ValueData: "http://127.0.0.1/gunbound"
    Root: HKLM; Subkey: "Software\SoftNyx\Gunbound\"; ValueType: dword; ValueName: "Version"; ValueData: "315"

    [Icons]
    Name: "{group}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"
    Name: "{commondesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon

    [Run]
    Filename: "{app}\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, '&', '&&')}}"; Flags: nowait postinstall skipifsilent

    the [Registry] line will write the data from below to the registry.



Advertisement