Easy to use Odin Launcher

Page 1 of 2 12 LastLast
Results 1 to 25 of 34
  1. #1
    əʇılə ɯɐ ı fiestanerd69 is offline
    MemberRank
    Jun 2009 Join Date
    958Posts

    Easy to use Odin Launcher

    After months of work, problems (Launcher UPDATES Section - RaGEZONE forums), challenges and trying to fix and create a launcher I have finally finished my launcher. I will be releasing version 1 here for everyone to use.

    Download: Odin Launcher.7z

    How to setup:
    1. Download and extract above file.
    2. Go into windowsapplication1 > windowsapplication1
    3. Open WindowsApplication1.vbproj (You must have visual basics installed. Preferably 2012)
    4. Go into Form1 code view
    5. Edit all of my ip's (127.0.0.1) to your own.
    6. Put login.php on your webserver.
    7. Open login.php and edit your details at the top.
    8. Make sure that in the launcher it's pointing to the correct location. (http://127.0.0.1:8080/Login.php) With your web server port and ip and then the login.php location.
    9.Go into WindowsApplication1 project tab
    10. Go on publish
    11. Choose your publication destination
    12. Click publish.
    13. Put the exe where you client.exe is and create a shortcut on your desktop directing to that.

    You can use a webserver such as WampServer, XWamp and ISS.

    If you have any problems post them here.

    CREDITS:
    iStu
    NextIdea
    Black12
    Iocere

    And anyone else who helped. Sorry if I missed you out.

    FAQ:

    Q: I get this error or something similiar: mssql function undefined.

    A: Make sure your webserver has mssql compatabilities. Here is how to install wamp with mssql.
    http://forum.ragezone.com/f724/get-w...-mssql-673301/
    http://forum.ragezone.com/f723/setup...-mssql-841598/

    Q: What do I type in User, Pass and Host?

    A: Your mssql host (NAME-SQLEXPRESS) and a user and pass. Default one usually works best. (sa)
    Last edited by fiestanerd69; 10-04-13 at 11:22 PM.


  2. #2
    Electro, dude. Bakey is offline
    MemberRank
    Oct 2010 Join Date
    403Posts

    Re: Easy to use Odin Launcher

    Months of work for a launcher? Damn, son.

    Why don't you make a variable in the launcher with the IP on it? Instead of people having to edit every one of them, they'd just have to change one.

  3. #3
    əʇılə ɯɐ ı fiestanerd69 is offline
    MemberRank
    Jun 2009 Join Date
    958Posts

    Re: Easy to use Odin Launcher

    I've made that for myself. I've made it so that I can change the ip, port, title and anything else all via webserver. No need to edit the launcher.exe. It's pretty much like Stu's. It's not included in this but it wasn't very hard to make that. Also it took me months because I had no previous experience in such a thing.

    Now I am working on a patching system also similar to Stu's. If I can make it like that, it would be great.

  4. #4
    Gruntilda Gruntilda is offline
    MemberRank
    Apr 2010 Join Date
    468Posts

    Re: Easy to use Odin Launcher

    nigga' you aint got shit on me.

  5. #5
    əʇılə ɯɐ ı fiestanerd69 is offline
    MemberRank
    Jun 2009 Join Date
    958Posts

    Re: Easy to use Odin Launcher

    No I don't. I doubt I will even get close to making a patcher. Still worth a try though isn't it?

  6. #6
    Gruntilda Gruntilda is offline
    MemberRank
    Apr 2010 Join Date
    468Posts

    Re: Easy to use Odin Launcher

    After seeing that md5 function, I'm not too sure.

    But at least you're trying to learn. I'll give ya that. 99% spoon fed.

  7. #7
    əʇılə ɯɐ ı fiestanerd69 is offline
    MemberRank
    Jun 2009 Join Date
    958Posts

    Re: Easy to use Odin Launcher

    You've never taught me so you'd never know Stu. I'm still going to try. If I do make it then, good for me eh? I may start selling it just like you did. Nah

  8. #8
    Member marschlu is offline
    MemberRank
    May 2012 Join Date
    60Posts

    Re: Easy to use Odin Launcher

    Can anybody help me :)

    Fatal error: Call to undefined function mssql_connect() in C:\Xampp\htdocs\patcher\Login.php on line 11

  9. #9
    Anotha One Wicious is offline
    MemberRank
    Jan 2013 Join Date
    StockholmLocation
    839Posts

    Re: Easy to use Odin Launcher

    @Above, You need mssql drivers for PHP.

  10. #10
    Member marschlu is offline
    MemberRank
    May 2012 Join Date
    60Posts

    Re: Easy to use Odin Launcher

    How can i do this Shawie :) Thanks

  11. #11
    Member bruna157 is offline
    MemberRank
    Dec 2011 Join Date
    87Posts

    Re: Easy to use Odin Launcher

    thank you this launcher still work perfect here .. right now i can have the server..

  12. #12
    Electro, dude. Bakey is offline
    MemberRank
    Oct 2010 Join Date
    403Posts

    Re: Easy to use Odin Launcher

    Ew, mssql. Well, at least people aren't using my sqlsrv library that Mr.Pedo <3 got leaked.

  13. #13
    əʇılə ɯɐ ı fiestanerd69 is offline
    MemberRank
    Jun 2009 Join Date
    958Posts

    Re: Easy to use Odin Launcher

    Where's it at? It may be helpful for meh. :D

  14. #14
    cats addicted Zorno is offline
    MemberRank
    Apr 2010 Join Date
    GermanyLocation
    1,465Posts

    Re: Easy to use Odin Launcher

    Dunno but you guys are using an very very old version of PHP or i dont know. There is no MSSQL_CONNECT in PHP. There is only sqlsrv_connect which is using arrays, not strings. This Login.php script might work with mysql but not with MS SQL.
    Oh and yes, i tried Apache2 and IIS both with several PHP versions 5+ ( no idiot whould use an older ).

    Before anyone now starts to argue about php_mssql.dll i have to say that there is no such file for PHP anymore. They now are calles php_sqlsrv_5X-ts.dll ( where X is the version number after 5 like 54 for PHP 5.4 )

    Anyways, here is all you need to tweak PHP to be enabled to use mssql.

    the DLL files must be copied to your ext Folder of PHP
    you have to add this line to php.ini --> extension=php_sqlsrv_54_ts.dll
    do NOT uncomment the php_mssql.dll
    You have to copy the php5.dll into your PHP folder ( not the ext folder of PHP ! The one with php.exe and php.ini in it ! )

    https://www.dropbox.com/s/ge69uh662k...dll_for_php.7z

  15. #15
    əʇılə ɯɐ ı fiestanerd69 is offline
    MemberRank
    Jun 2009 Join Date
    958Posts

    Re: Easy to use Odin Launcher

    I couldn't be bothered to change all the functions to the newer mssql functions so I stuck with the old one. It wasn't just for Login.php I have some other files also, so I just stuck with the old one.
    Last edited by fiestanerd69; 07-04-13 at 05:02 PM.

  16. #16
    cats addicted Zorno is offline
    MemberRank
    Apr 2010 Join Date
    GermanyLocation
    1,465Posts

    Re: Easy to use Odin Launcher

    Quote Originally Posted by Dragonluck4 View Post
    I couldn't be bothered to change all the functions to the newer mssql functions so I stuck with the old one. It wasn't just for Login.php I have some other files also, so I just stuck with the old one.
    Should not be a harsh comment from my side. I just was sitting here getting errors over errors so i changed it
    Actually i totally dumped your system and be doing all stuff with my CMS using MySQL linked to the MS SQL server which is a much more powerfull way to write launchers for because people can use their forum accounts to login, change their passwords directly on forum page etc etc ...

    ( if anyone needs a guide how to connect mysql with mssql, check this page: HOWTO: Setup SQL Server Linked Server to MySQL | Idea Excursion )

  17. #17
    əʇılə ɯɐ ı fiestanerd69 is offline
    MemberRank
    Jun 2009 Join Date
    958Posts

    Re: Easy to use Odin Launcher

    Yes it is better to use the forum as your user system but then you have a higher risk of hackers gaining access to that information. That's what I believe anyway. I'd rather keep it separate as it might confuse some retarded users. And it makes life easier.

  18. #18
    cats addicted Zorno is offline
    MemberRank
    Apr 2010 Join Date
    GermanyLocation
    1,465Posts

    Re: Easy to use Odin Launcher

    Quote Originally Posted by Dragonluck4 View Post
    Yes it is better to use the forum as your user system but then you have a higher risk of hackers gaining access to that information. That's what I believe anyway. I'd rather keep it separate as it might confuse some retarded users. And it makes life easier.
    True. Thats why i mainly use a self programmed CMS from mah company so people its much harder to find bugs that maybe open backdoors than systems where anybody can google them

  19. #19
    Enthusiast hein1988 is offline
    MemberRank
    Aug 2011 Join Date
    GermanyLocation
    47Posts

    Re: Easy to use Odin Launcher

    hey i have problem in the login php
    Notice: Undefined index: Username in C:\xampp\htdocs\patcher\Login.php on line 7

    Notice: Undefined index: Password in C:\xampp\htdocs\patcher\Login.php on line 8
    Database connect Fail.

  20. #20
    -.- NextIdea is offline
    MemberRank
    Nov 2012 Join Date
    343Posts

    Re: Easy to use Odin Launcher

    Quote Originally Posted by hein1988 View Post
    Notice: Undefined index: Username in C:\xampp\htdocs\patcher\Login.php on line 7
    Notice: Undefined index: Password in C:\xampp\htdocs\patcher\Login.php on line 8
    Your not supposed to open the Login.php without the parameters.
    Quote Originally Posted by hein1988 View Post
    Database connect Fail.
    Add proper values to the Login.php!

    If you can't do something like this simple then your wasting your time here.

  21. #21
    cats addicted Zorno is offline
    MemberRank
    Apr 2010 Join Date
    GermanyLocation
    1,465Posts

    Re: Easy to use Odin Launcher

    Quote Originally Posted by hein1988 View Post
    Database connect Fail.
    If you made everything like it should and this still happens its most likely that u are using SQL Express version. If this is right, you need to remove the username and password for the SQL and replace it with "integrated security=sspi" instead. ( This way it uses system login which seems the only way to connect with actual sql drivers for php )

    Oh and also you should have TCP for SQL ( SQL Config manager ) activated. Also check in there ( on TCP/IP settings ) the proerties if there is really everything activated
    Last edited by Zorno; 08-04-13 at 12:27 PM.

  22. #22
    Member marschlu is offline
    MemberRank
    May 2012 Join Date
    60Posts

    Re: Easy to use Odin Launcher

    How can I test if it works

    website.com/patcher/login.php?Username=USER&password=pass

    what sould i put for pass the md5 of it doesnt work

    Thanks in advance :)

  23. #23
    əʇılə ɯɐ ı fiestanerd69 is offline
    MemberRank
    Jun 2009 Join Date
    958Posts

    Re: Easy to use Odin Launcher

    To test if it works just simply open the php in the web browser to see if it connects, if it doesn't connect then you might have incorrectly entered your mssql details. Also you don't need to supply a pass and user while testing it in on the web browser just simply '127.0.0.1/launcher.login.php' should suffice. Next login via the launcher and if that logs you in everything should be working but if it doesn't and the php file is working then you have done something incorrectly on the launcher setup.

  24. #24
    Enthusiast iEchoo is offline
    MemberRank
    Apr 2013 Join Date
    43Posts

    Re: Easy to use Odin Launcher

    Hey I've tried to set it up when I go to http://xx.xx.xx:xxxx/login.php

    I get

    PHP Code:
    NoticeUndefined indexUsername in C:\xampp\htdocs\Login.php on line 7

    Notice
    Undefined indexPassword in C:\xampp\htdocs\Login.php on line 8
    Wrong Username


  25. #25
    -.- NextIdea is offline
    MemberRank
    Nov 2012 Join Date
    343Posts

    Re: Easy to use Odin Launcher

    Is it so hard to read about 40 posts?
    I have answered to that question.

    Re-read whole topic!



Page 1 of 2 12 LastLast

Advertisement