- Joined
- Apr 9, 2012
- Messages
- 2,359
- Reaction score
- 442
hello, i want to share my own launcher, i build this launcher from zero, from tracing the packet, checking the bin and login server.
new link :
the code is crap, but i tested it and work :
i use C++ CLR, you could redesign it up to your taste :
to compile :
1. you need vs studio 2010 ultimate SP 1 (not sure about the express edition, you need to update the SP1) just search on google you would find it easily
2. open the project, compile
note : not all the packet is being handled, some error might occured, i just handle the most important packet/task from loginserver, also, if you experienced nothing happened after click on login button/serverlist did not show up, try to increase Thread::Sleep(100) to higher number such as Thread::Sleep(1000) on LoginButton_Click function, hope it work :
another note : you might find there's register button in it, yes, you could register an account directly from your launcher to submit data to your register page, yes you need to handle it on your register page/in php, change :
in Register.h to your register page, sadly i only add username, password and confirm password form, there's no e-mail and no captcha,
to handle register submit, you could get the value in PHP
and do your checking like usual, please do not echo any html tag, just echo an error, or successful text, it will appear as pop up.
another important note : if you use full screen mode/disable windows mode, make sure your resolution is correct to your desktop resolution size, or you will get an error, windows mode could have custom size, that is why the resolution form in setting is a plain number, not dropdown list, i do it on purpose, because i play in custom size and in windows mode.
P.S : I create this launcher string by string without any help, please don't claim this as your work :
but you could learn the source and make your own launcher with another language such as java/C# too :
just make sure not to do it on android
i was planning to make auto updater too, but it's too complicated, my old autoupdater zip/unzipper do not work on C++/CLR :
and i don't want to re-write my auto updater from the beginning :
new link :
You must be registered to see links
the code is crap, but i tested it and work :
i use C++ CLR, you could redesign it up to your taste :
to compile :
1. you need vs studio 2010 ultimate SP 1 (not sure about the express edition, you need to update the SP1) just search on google you would find it easily
2. open the project, compile
note : not all the packet is being handled, some error might occured, i just handle the most important packet/task from loginserver, also, if you experienced nothing happened after click on login button/serverlist did not show up, try to increase Thread::Sleep(100) to higher number such as Thread::Sleep(1000) on LoginButton_Click function, hope it work :
another note : you might find there's register button in it, yes, you could register an account directly from your launcher to submit data to your register page, yes you need to handle it on your register page/in php, change :
Code:
http://127.0.0.1/register/registerlauncher.php
to handle register submit, you could get the value in PHP
PHP:
$_POST["username"];
$_POST["password"];
$_POST["password2"];
another important note : if you use full screen mode/disable windows mode, make sure your resolution is correct to your desktop resolution size, or you will get an error, windows mode could have custom size, that is why the resolution form in setting is a plain number, not dropdown list, i do it on purpose, because i play in custom size and in windows mode.
P.S : I create this launcher string by string without any help, please don't claim this as your work :
but you could learn the source and make your own launcher with another language such as java/C# too :
just make sure not to do it on android
i was planning to make auto updater too, but it's too complicated, my old autoupdater zip/unzipper do not work on C++/CLR :
and i don't want to re-write my auto updater from the beginning :
Attachments
You must be registered for see attachments list
Last edited: