-
Here i will show you how to make your own GunZ Launcher, in the easiest programming language to me VB6. It can launch any GunZ EXE.
NOTE: THIS WILL NOT WORK ON WINDOWS VISTA
Here is the contents
1) Requirements
2) Setup
3) Method
4) Credits =O
------------------------------------------------------------------------
Requirements:
-----------------------------------------------------------------------------------------------------
1) Visual Basic 6 (enterprise edition)
2) A brain
3) A picture to put for the Launcher's Design
4) A picture for your Launcher's Start Game Button
5) A picture saying "View Website"
Downloads:
Visual Basic 6 (Torrented)
------------------------------------------------------------------------
Setup:
------------------------------------------------------------------------
This is what you have to do to setup your environment.
1) Install Visual Basic 6 into your computer
2) Make a new Folder Called VbGzL on your deskptop
3) Run VB6, to test if it works. (if it works then continue, if it doenst work, post a screenie here and ill look at it)
------------------------------------------------------------------------
Method:
------------------------------------------------------------------------
1) What we are going to do now, is get familiar with how vb6 works and the basics needed for the launcher. Open up VB6 and a Popup should show saysing new Project.
Double Click on Standard EXE and a Form should show up called Form1.
The Form is the design of your Application. You can easily edit it (ill mention a bit later). Basically you now have your Application Environment Setup. Towards the left you see a tool box, you can easily add those tools into your form.
Code:
Description of Tools:
Label:Can be used for Text or can be used for the GunZ Start button
Picturebox: Can be used to input the launcher interface
Button:Can be used for GunZ Start Button
Timer: Really important to do special features.
Have Fun messing around with the tools, when your ready continue to step 2.
2) Now that you are Familiar with VB6, i will teach you the execution for the GunZ.exe. Create a Standard Exe and use the button tool and place your button on the form.
Double click the button and it should open up as Form1 (code)
You see where it says "Private Sub Command1_Click()", this means that if you put any code under this, it will come to life when the button is pressed.
Now under Private Sub Command1_Click()
shell ("path of exe you want it to launch") eg shell ("C:/programfiles/Pornos/parishiltonsexgame.exe"). Try the shell command out and you will understand how it works. ( Make sure to replace my example with something on your pc )
When you fully understand how this shell command works then move onto the next step.
3) Now ill teach you how to add an image to your Application.
On the toolbox select the image tool and click on your Form and move the mouse so it fits the whole size of the application.
Now on the right, you should see a properties box. Click on image1 and look in its properties
Where it says picture, click on it and browse a interface. This interface will be embedded in the app, so it cant be edited.
Thats it for images.
4) How to add a webbrowser so that the launcher shows your site. Create a standard exe and press Ctrl + T. a Components box should show up. Scroll untill you find Microsoft Internet Controls. Click the tick box and select apply, after that u can close the component prompt.
You should see a Globe on your tool box now. Click it and add it to your form. Now Right click on Form1 and select View Code.
The code menu should be brought up. Look for Private Sub Form_Load() under it type webbrowser1.navigate ("www.mysite.com"). It should show your site when the Form Loads up. Now you should gain a basic understanding on how things work.
5) Putting it all together :
This is where you put your knowledge learnt in hand. I know most of you would have probably skipped all that and came here. "YOU WILL LEARN NOTHING" unless u have previous knowledge of VB6.
Create a Standard EXE
Add your GunZ Launcher Interface. Note: you can resize the Launcher to suit your interface.
Now add a label and go to its properties and select picture. Browse for your StartGame Button. Place the Label where you want the button to be. Now after doing that open the labels code menu. Add Shell ("Path to your Exe here")
Now Compile and test out your Launcher. Now we need to add that webbrowser. Open up the components prompt and enable microsoft internet controls. Add the webbrowser to your form. Now add another lablel and give it the picture of "View website". Now open the code menu for the new label. Type in webbrowser1.visible = "true"
Open up Form1 code menu and type webbrowser1.visible = "false"
webbrowser1.navigate ("your site")
And Thats About it ^^.
[COLOR=Red]------------------------------------------------------------------------
Credits:
------------------------------------------------------------------------
1) Microsoft for Visual basic Software.
2) Me for writing this tutorial.
If any body wants help please dont hesitate to ask :P
Please tell me if this TuT was useful[
Dont think im a newb for using VB , i usually code in C#^_^/COLOR]
-
Re: [TuT] How to make a GunZ Launcher Bounty's Style
It work for me !
Nice tut Bro !!
-
Re: [TuT] How to make a GunZ Launcher Bounty's Style
-
Re: [TuT] How to make a GunZ Launcher Bounty's Style
eg shell ("C:/programfiles/Pornos/parishiltonsexgame.exe"). LOL!
-
Re: [TuT] How to make a GunZ Launcher Bounty's Style
hmm can you move your forum if you use no borders ? (already know the anser)
-
Re: [TuT] How to make a GunZ Launcher Bounty's Style
-
Re: [TuT] How to make a GunZ Launcher Bounty's Style
Quote:
Originally Posted by
bounty-hunter
Yes you can
k (dint read whole tut)
-
Re: [TuT] How to make a GunZ Launcher Bounty's Style
-
Re: [TuT] How to make a GunZ Launcher Bounty's Style
-
Re: [TuT] How to make a GunZ Launcher Bounty's Style
Quote:
Originally Posted by
Mikeez
This sucks =D
maby cuz u dont know how to do it
nice tut
-
Re: [TuT] How to make a GunZ Launcher Bounty's Style
why is this edited by Rotana -.- ? and i got infracted :@
-
Re: [TuT] How to make a GunZ Launcher Bounty's Style
ouch... hmm ask him in PM... if he doesnt answer talk to a super mod..
-
Re: [TuT] How to make a GunZ Launcher Bounty's Style
How to make it update?:scratch:
and yes i got this working in vista... ^_^
-
Re: [TuT] How to make a GunZ Launcher Bounty's Style
Your using VB.net follow a guide on MSDN to make the updater.
-
Re: [TuT] How to make a GunZ Launcher Bounty's Style
Quote:
Originally Posted by
pspboy2008
How to make it update?:scratch:
and yes i got this working in vista... ^_^
Great, bounty is a noob.
-
Re: [TuT] How to make a GunZ Launcher Bounty's Style
WoW, dude lets see you make a tut, you cant even make shit.
-
Re: [TuT] How to make a GunZ Launcher Bounty's Style
This is Awsome, and Mikeez your a Noob you cant do anything ^^:2gunsfiring_v1::technolog
-
Re: [TuT] How to make a GunZ Launcher Bounty's Style
OMG I have Windows Vista :S
-
Re: [TuT] How to make a GunZ Launcher Bounty's Style
Go to google and type Visual Studioss Express editions, Download VB 2008 it works on vista =D
-
Re: [TuT] How to make a GunZ Launcher Bounty's Style
-
Re: [TuT] How to make a GunZ Launcher Bounty's Style
VB6 = sucks
But anyways nice tut for the newbies.
Now, Go make a tut for an auto-updating one in C# and VB.net!
I'll help you code half of it :P
-
Re: [TuT] How to make a GunZ Launcher Bounty's Style
Thanks Dude.... lets do the C# first :P?
-
Re: [TuT] How to make a GunZ Launcher Bounty's Style
What the hell's the point of a launcher that doesn't auto-update?
-
Re: [TuT] How to make a GunZ Launcher Bounty's Style
Quote:
Originally Posted by
RepublicOfAstra
What the hell's the point of a launcher that doesn't auto-update?
LOL ya
i dint bother to do this :)
-
Re: [TuT] How to make a GunZ Launcher Bounty's Style
-
Re: [TuT] How to make a GunZ Launcher Bounty's Style
-
Re: [TuT] How to make a GunZ Launcher Bounty's Style
Awesome tutorial, wonder is the auto-update is possible and when a tutorial is created for it ;3
-
Re: [TuT] How to make a GunZ Launcher Bounty's Style
Quote:
Originally Posted by
7-Eleven
Awesome tutorial, wonder is the auto-update is possible and when a tutorial is created for it ;3
Yes its an awesome Tut
but auto update = :(((
-
Re: [TuT] How to make a GunZ Launcher Bounty's Style
hmm i treid to find the d; for vb6 but i cant seem to find one. only updates for it and stuff >.> can u help me sir?
-
Re: [TuT] How to make a GunZ Launcher Bounty's Style
Quote:
Originally Posted by
bounty-hunter
why is this edited by Rotana -.- ? and i got infracted :@
I removed the torrent link and infracted you for that. Because warez is not allowed.
-
Re: [TuT] How to make a GunZ Launcher Bounty's Style
Quote:
Originally Posted by
Rotana
I removed the torrent link and infracted you for that. Because warez is not allowed.
ok i understand now
-
Re: [TuT] How to make a GunZ Launcher Bounty's Style
Hi everyone! Nice tutorial bounty:) But there's only one thing I don't understand. I used VB 2008 to create the launcher, everything is okay, but when I try to start the game, nothing happens. The file I wanna launch is "theduel.exe" from this topic http://forum.ragezone.com/f245/br-ju...e-rev5-437736/ (of course, with the Runnabele FileList Skip update). I used the command Shell("theduel.exe") and put the launcher to the directory with theduel.exe file. What do you think, why doesn't it start? Thanks for answer.
-
Re: [TuT] How to make a GunZ Launcher Bounty's Style
process.start(application.startuppath + "exe name")
-
Re: [TuT] How to make a GunZ Launcher Bounty's Style
Nice one ! i like it but i won't use it...
-
Re: [TuT] How to make a GunZ Launcher Bounty's Style
@bounty-hunter: I tried what you said, but it's still the same... theduel.exe doesn't start. I post here my launcher+the original launcher and the theduel.exe file, please take a look on it. Thanks!
Link
-
Re: [TuT] How to make a GunZ Launcher Bounty's Style
maybe your runnable can only be launched with the original launcher ... ?
-
Re: [TuT] How to make a GunZ Launcher Bounty's Style
I thought, but is there a way to launch it by my own launcher?
-
Re: [TuT] How to make a GunZ Launcher Bounty's Style
double click your runnbale, if it opens a launcher then your screwed, if it launches gunz then making a launcher would work.
-
Re: [TuT] How to make a GunZ Launcher Bounty's Style
The Shell has a conflict.
If a player does not use C: Drive, the player will not be able to open the game.
The Fix:
shell ("%ProgramFiles%\<GunzName>\theduel.exe")
Replace <GunzName> to your own server's name.
-
Re: [TuT] How to make a GunZ Launcher Bounty's Style
my laucnher dosent work it show me this
http://i42.tinypic.com/15ey9s9.jpg
-
Re: [TuT] How to make a GunZ Launcher Bounty's Style
-
Re: [TuT] How to make a GunZ Launcher Bounty's Style
Quote:
Originally Posted by
Drask182
Hex edit your Launcher and find the url (Search for http://) then replace with your site or ip
-
Re: [TuT] How to make a GunZ Launcher Bounty's Style
why are u posting the original launcher, when your meant to be making one in vb6 >_<
-
Re: [TuT] How to make a GunZ Launcher Bounty's Style
mg this is hard but nice =D
-
Re: [TuT] How to make a GunZ Launcher Bounty's Style
are u serious, vb6 is ezpz
-
Re: [TuT] How to make a GunZ Launcher Bounty's Style
For you it may be but for others it may be hard.
This Launcher does not work for clients with serialkey.
-
Re: [TuT] How to make a GunZ Launcher Bounty's Style
windows programming iz ezpz ^_^
-
Re: [TuT] How to make a GunZ Launcher Bounty's Style
Well, XLauncherV3 is comming out soon
-
Re: [TuT] How to make a GunZ Launcher Bounty's Style
Quote:
Originally Posted by
bounty-hunter
Well, XLauncherV3 is comming out soon
Nice =) =)
-
Re: [TuT] How to make a GunZ Launcher Bounty's Style
Quote:
Originally Posted by
bounty-hunter
why is this edited by Rotana -.- ? and i got infracted :@
Link goes to Google.com lol
-
Re: [TuT] How to make a GunZ Launcher Bounty's Style
Can someone show me MSDN's tut for auto-updating, i really can't find it.
-
Re: [TuT] How to make a GunZ Launcher Bounty's Style
-
Re: [TuT] How to make a GunZ Launcher Bounty's Style
Nice clean tutorial great work.
-
Re: [TuT] How to make a GunZ Launcher Bounty's Style
Quote:
Originally Posted by
coole9
Can someone show me MSDN's tut for auto-updating, i really can't find it.
Help:D
Thats not all (just incase you think this is spam)
you can also do this:
Code:
Shell "./runnablename.exe"
making the launcher run an application by the name of the runnable in the directory of the application.
-
Re: [TuT] How to make a GunZ Launcher Bounty's Style
Quote:
Originally Posted by
coole9
Help:D
Thats not all (just incase you think this is spam)
you can also do this:
Code:
Shell "./runnablename.exe"
making the launcher run an application by the name of the runnable in the directory of the application.
sure ill help. (in a way)
check the crc of the files in http://127.0.0.1/launcher/gunzweb/GunzUpdate
then check the crc of the files in c:\program files\my gunz\
if a files crc doesnt match to the one in GunzUpdate then download and replace that file automatically.