Newbie Spellweaver
- Joined
- Oct 15, 2008
- Messages
- 62
- Reaction score
- 13
Here are a few designed laucher I made and wish to share with you all. :
These lauchers doesnt need the .bat file to start the game. But it still need your internal.txt in your
data folder. Basically it replace your .bat with this one.
These laucher all comes with the auto update function. And a simple small web browser displaying your
server news. The auto update function is from Nano's guide and thanks to his source code.
Credit to Nano. :
All these laucher needs
1. Extract this file to your webserver.
(if your are using Xampp, then it should be in htdocs folder)
2. Open the NoticeEvent.php with WordPad.
3. Then look for this lines :-
4. Replace them with the latest news of your server.
(All have to be short and clear, test it yourself to make sure it fits in the box)
These are the file and folder for your auto update to work.
Auto update :-
1. Extract this files to your webserver. So it would look something like below :-
C:\Xampp\htdocs\cnlupdfold
C:\Xampp\htdocs\cnlupdfold\var.ini
C:\Xampp\htdocs\cnlupdfold\Patches
(if your are using Xampp, then it should be in htdocs folder)
If you dont have any update then just leave them there in your webserver.
2. You can follow the steps in Nano's post :-
http://forum.ragezone.com/f459/cabal-nano-launcher-v1-0-a-430355/
Sample :-
01.
03.
1.
2.
3.
4.
Here are the 4 difference outlook and design of the laucher.
Choose the one you like to download and extract the files to your client folder.
Edit the cnl.ini file and look for this 2 lines :-
The 1st one is the small WebBrowser address. Replace it with your own address.
The 2nd one is the update host address. Replace it with your own address too.
These are the full guide installation of the laucher.
These lauchers dont come with the button function as shown in the sample laucher.
If anyone would like to have those button function in the laucher. You can PM with details :-
1. Main website address.
2. Forum address.
3. Registeration webpage address.
4. Donation webpage address.(If you have one) :
I will make them for you and send it to you.
I haven't test this lauchers in others OS(like Vista) yet. So if you come across any problems,
please let me know. I'll try my best to make it work for you. :
These are my 1st made laucher with limited knowledge of VB, so hope you guys like them and enjoy. :
These lauchers doesnt need the .bat file to start the game. But it still need your internal.txt in your
data folder. Basically it replace your .bat with this one.
These laucher all comes with the auto update function. And a simple small web browser displaying your
server news. The auto update function is from Nano's guide and thanks to his source code.
Credit to Nano. :
All these laucher needs
You must be registered to see links
to work.
You must be registered to see links
1. Extract this file to your webserver.
(if your are using Xampp, then it should be in htdocs folder)
2. Open the NoticeEvent.php with WordPad.
3. Then look for this lines :-
Code:
<i><strong><font face="times new roman, times, serif" size="2">[COLOR="Red"]* Server Maintenance - [/COLOR]</font></i></strong>
<i><strong><font face="times new roman, times, serif" size="1">[COLOR="Red"]Weekly Maintenance[/COLOR]</font></i></strong>
<br>
<i><strong><font face="times new roman, times, serif" size="1">[COLOR="Red"]-Every Monday 10.00am-12.00pm[/COLOR]</font></i></strong>
<br>
<i><strong><font face="times new roman, times, serif" size="2">[COLOR="Red"]* Server Event - [/COLOR]</font></i></strong>
<i><strong><font face="times new roman, times, serif" size="1">[COLOR="Red"]Christmas Event[/COLOR]</font></i></strong>
<br>
<i><strong><font face="times new roman, times, serif" size="1">[COLOR="Red"]-Starting 20/12/08 to 31/12/08[/COLOR]</font></i></strong>
<br>
<i><strong><font face="times new roman, times, serif" size="2">[COLOR="Red"]* Server Update - [/COLOR]</font></i></strong>
<i><strong><font face="times new roman, times, serif" size="1">[COLOR="Red"]Cash Shop Update[/COLOR]</font></i></strong>
<br>
<i><strong><font face="times new roman, times, serif" size="1">[COLOR="Red"]-Latest Cash Shop Items updated [/COLOR]</font></i></strong>
(All have to be short and clear, test it yourself to make sure it fits in the box)
You must be registered to see links
(Patches folder and var.ini)These are the file and folder for your auto update to work.
Auto update :-
1. Extract this files to your webserver. So it would look something like below :-
C:\Xampp\htdocs\cnlupdfold
C:\Xampp\htdocs\cnlupdfold\var.ini
C:\Xampp\htdocs\cnlupdfold\Patches
(if your are using Xampp, then it should be in htdocs folder)
If you dont have any update then just leave them there in your webserver.
2. You can follow the steps in Nano's post :-
http://forum.ragezone.com/f459/cabal-nano-launcher-v1-0-a-430355/
In the file var.ini you have to specify the new version. The numbers must be 1 to 0
(That means you can type 1 or 5 or 19 or 119 or even 942847238 etc.) and no floats,doubles
or anything else, just clear integers.
For example when you first start all you will have in var.ini: "CurrentVersion = 1"
and when you start launcher it wont do anything, cause in the settings it has version 1 also.
But if you change the version in var.ini to 2 it will start downloading the file for the version from
the "C:\AppServ\www\cnlupdfold\Patches" folder. That means if the version is 2 then
the file name should be "2.exe" (This exe you will have to create in the WinRar, but later)
So if we want the launcher to update the client you have to change the version in var.ini
and use the same number for the patch in the Patches folder.
Okey now I will tell you how to create the specific exe we will need for the updater.
First of all gather all the files you want the user to update.
Then Mark them all:
Press Right Mouse Button and then press the "Add to archive...":
You should see a window popping up:
1) Select RAR
2) Select Best
3) Select "Create SFX Archive"
4) Select the "Advanced" tab
After selecting the "Advanced" tab you should see this:
1) Select "SFX Options..."
In the SFX Options you have to:
1) Select "Create in the current folder"
2) Click on "Modes"
Then in the "Modes" you have to:
1) Select "Hide all"
2) Click on "Update"
Then on the "Update" tab you have to:
1) Select "Extract and replace files"
2) Select "Overwrite all files"
3) Click on the "General" tab
On the "General" tab you have to:
1) Click on "Save current settings as default"
2) Click on the "OK" button
########################
And wolla the next time you will need to create the same .exe archive with all the settings,
you just have to:
1) Gather all the files you want the user to update.
2) Then Mark them all
3) Press Right Mouse Button and then press the "Add to archive...":
In the WinRar which just popped up you have to:
4) Select RAR
5) Select Best
6) Select "Create SFX Archive"
7) And click OK, thats all!
##############################
Thats it for the Auto Updater Guide!
And whenever the launcher will start updating it will download the SFX (.exe)
rchive in the directory where is the launcher and execute it and the SFX will
automatically extract all the new files in the cabal client.
Sample :-
01.
03.
1.
You must be registered to see links
2.
You must be registered to see links
3.
You must be registered to see links
4.
You must be registered to see links
Here are the 4 difference outlook and design of the laucher.
Choose the one you like to download and extract the files to your client folder.
Edit the cnl.ini file and look for this 2 lines :-
Code:
WebBrowserUrl = [COLOR="Red"]http://localhost/noticeevent.php[/COLOR]
UpdateHost = [COLOR="Red"]127.0.0.1[/COLOR]
The 1st one is the small WebBrowser address. Replace it with your own address.
The 2nd one is the update host address. Replace it with your own address too.
These are the full guide installation of the laucher.
These lauchers dont come with the button function as shown in the sample laucher.
If anyone would like to have those button function in the laucher. You can PM with details :-
1. Main website address.
2. Forum address.
3. Registeration webpage address.
4. Donation webpage address.(If you have one) :
I will make them for you and send it to you.
I haven't test this lauchers in others OS(like Vista) yet. So if you come across any problems,
please let me know. I'll try my best to make it work for you. :
These are my 1st made laucher with limited knowledge of VB, so hope you guys like them and enjoy. :
Last edited: