Any chance some PT launchers are VB coded? If so, what does the "Start" button target? Just wondering because I want to make a VB coded launcher.
e.g. Shell("game.exe 71.68.244.155") *That's just a random IP I made up for the example.
Printable View
Any chance some PT launchers are VB coded? If so, what does the "Start" button target? Just wondering because I want to make a VB coded launcher.
e.g. Shell("game.exe 71.68.244.155") *That's just a random IP I made up for the example.
The IP is based within the registry, ldata, and ptReg. A game launcher simply sets these targets to the correct IP address on load (or before launch), then executes the exe (using the shell command is an easy way of doing it). Some of the slightly more advanced launchers out there also ping the server to see whether or not it is up (though there are many alternative ways, such as checking via a winsock connection attempt). Some of the even better launchers also have an update system, which can be done through a number of ways, such as simply checking for version number, then downloading the update(s) or using checksums. Alternatively, a user can also use the checksum method to verify whether or not any files have been altered.
So yeah, you've got the right idea, though it would just be 'shell "game.exe"' without an IP address.
Shell App.Path & "\game.exe"
So it's the Shell code, but with no IP? So that means we still need the registry files, Idata, etc.?
Yup.
Hi this is the funcions that will be released in next communcatior update on SGPT, maybe you can get some insperation ;). The design will prob change little, background image and stuff ^^ I have made many functions in this to let the user set what he like.
Coded using C# framework 2.0.
If you want a launcher to your server feel free to ask me:
smutsen@gmail.com
http://ww2.beffo.se/upload/pic~/30f7nuh8ywou.JPG
http://ww2.beffo.se/upload/pic~/224dah1bbuqz.JPG
All this stuffs are pretty easy to make on VB6.
Heh... yeah.... I use Visual Basic all the time. That's how I made my launcher.
I finally learned the "MouseEnter" and "MouseLeave" code so I added that.
http://img151.imageshack.us/img151/3...auncherzz2.jpg
What use does "MouseEnter" & "MouseLeave" serve? :/
All maded in VB6 too with game auto updater and bla bla bla :)
http://img143.imageshack.us/img143/6...cpiamz4.th.jpg
If we're going to show off our launchers:
http://i224.photobucket.com/albums/d...PTLauncher.png
this is how sgpts launcher update ended up :)
http://ww2.beffo.se/upload/pic~/wgyoel3nlusd.JPG
http://ww2.beffo.se/upload/pic~/3zkfq1ja2i0n.JPG
Any idea how to use pstale auto update ?
idea by me
design by me
coded by nicktte thx
http://images.cjb.net/510a9.jpg
It's like a hover button. Put your mouse over it, it glows or something.Quote:
Originally Posted by g0tanks
As for the rest of you, I'm jealous of all of your launchers :O.
Nice one, gmice.