Thread: Universal Launcher - Simple Client Loader

Page 1 of 2 12 LastLast
Results 1 to 10 of 20
  1. #1 Universal Launcher - Simple Client Loader 
    Extreme Donator


    Join Date
    Jul 2008
    Age
    31
    Posts
    956
    Thanks given
    186
    Thanks received
    344
    Rep Power
    1060
    Universal Launcher
    No frills, no news, no links. Just a client downloader.
    Let's be honest, who stops to read your server's news on the launcher page anyway.
    Stop having "launcher gfx" made and just use a simple client updater that works.

    Universal Launcher does not require some silly text document with a meaningless version
    number inside to be modified. Simply upload your new client, and that's it! The launcher
    will check the last modified date and download the client if it's newer than the one currently obtained.


    Attached image
    This launcher is meant to provide a simple and non-intrusive means of serving jars to clients that are frequently updated so that the client does not need to repeatedly download new files. The configuration is simple and located in `Config.java` for ease of use.

    Configuration
    Configuring Universal Launcher is simple. Just open the configuration file and modify the necessary fields.
    Attached image

    Distribution
    A Gradle task has been created to jar the necessary files for distribution.
    The `fatJar` task will create a jar for you to distribute with all necessary dependencies.
    Attached image

    Credits
    ReverendDread is the original creator of this launcher, it was created for our previous project, Kronos.
    It was bundled and simplified by myself and is covered under the GNU GPL V3 License

    Download
    The source code is available on GitHub.
    https://github.com/Patrity/Universal-Launcher
    Reply With Quote  
     

  2. Thankful users:


  3. #2  
    V.C.C.

    Abnant's Avatar
    Join Date
    Nov 2010
    Posts
    2,291
    Thanks given
    393
    Thanks received
    796
    Rep Power
    1777
    Nice, thanks for the release!
    Reply With Quote  
     

  4. #3  
    Extreme Donator


    Join Date
    Nov 2011
    Posts
    311
    Thanks given
    15
    Thanks received
    94
    Rep Power
    361
    Thanks for your contributions to RSPS it will forever be remembered.
    Reply With Quote  
     

  5. #4  
    Registered Member
    Melvin's Avatar
    Join Date
    Aug 2011
    Posts
    1,150
    Thanks given
    546
    Thanks received
    418
    Rep Power
    1561
    Quote Originally Posted by Leviticus View Post
    Thanks for your contributions to RSPS it will forever be remembered.
    this sounds like a contribution to a eulogy


    A creative man is motivated by the desire to achieve, not by the desire to beat others.”


    ― Ayn Rand
    Reply With Quote  
     

  6. #5  
    Extreme Donator

    Bennie's Avatar
    Join Date
    Jun 2013
    Posts
    2,095
    Thanks given
    868
    Thanks received
    796
    Rep Power
    5000
    Nice. I agree a simple launcher does the work just fine.
    Reply With Quote  
     

  7. #6  
    Registered Member
    Tyluur's Avatar
    Join Date
    Jun 2010
    Age
    26
    Posts
    5,103
    Thanks given
    1,819
    Thanks received
    1,767
    Rep Power
    2438
    Quote Originally Posted by Melvin View Post
    this sounds like a contribution to a eulogy
    You’ve done nothing valuable in years. Stop commenting your bullshit because ur incompetent.

    OT: good stuff pat!!! keep it up man i love this
    Quote Originally Posted by blakeman8192 View Post
    Keep trying. Quitting is the only true failure.
    Spoiler for skrrrrr:

    Attached image
    Reply With Quote  
     

  8. #7  

    → Cheap Animated Banners ←



    Zexillium's Avatar
    Join Date
    Dec 2011
    Posts
    2,780
    Thanks given
    1,174
    Thanks received
    1,155
    Rep Power
    3284
    Don't listen to these trolls. Let them live under the bridge. Great release Pat. Cheers!
    New Discord is 'zexillium'
    ↓ PROUD SUPPORTER OF ↓

    Attached image

    --> See My Animated Banner Shop <--
    Reply With Quote  
     

  9. #8  
    Registered Member ff15's Avatar
    Join Date
    Dec 2020
    Posts
    3
    Thanks given
    0
    Thanks received
    0
    Rep Power
    0
    Thanks for this.
    Reply With Quote  
     

  10. #9  
    Renown Programmer & Respected Member

    Ryley's Avatar
    Join Date
    Aug 2011
    Posts
    596
    Thanks given
    254
    Thanks received
    521
    Rep Power
    1332
    https://github.com/Patrity/Universal...Main.java#L119
    why are u trying to make this async at all when u immediately block and call future.get?

    this offers no security what so ever, this will download and execute anything i want it to assuming i have gained control of wherever your assets are hosted

    why are we still using URLConnection & legacy file apis?

    https://github.com/Patrity/Universal...Main.java#L119
    this is not a one-size-fits-all solution, this only works if the user has java installed and their java environment is properly set which is not the case in an overwhelming number of players situation. you will have many more issues trying to get people to play if this is your only method available

    also.. assuming this is made for the user who doesn't really wanna edit any source code, your configuration shouldn't be in source code..
    Reply With Quote  
     

  11. #10  
    Extreme Donator


    Join Date
    Jul 2008
    Age
    31
    Posts
    956
    Thanks given
    186
    Thanks received
    344
    Rep Power
    1060
    Quote Originally Posted by Ryley View Post
    this offers no security what so ever, this will download and execute anything i want it to assuming i have gained control of wherever your assets are hosted
    I would hope people are using best practices when hosting any file. If a malicious person gained control of any service, it would be detrimental.

    Quote Originally Posted by Ryley View Post
    why are we still using URLConnection & legacy file apis?
    Offer an alternative. Your comment is meaningless.


    Quote Originally Posted by Ryley View Post
    https://github.com/Patrity/Universal...Main.java#L119
    this is not a one-size-fits-all solution, this only works if the user has java installed and their java environment is properly set which is not the case in an overwhelming number of players situation. you will have many more issues trying to get people to play if this is your only method available
    That's correct. A better alternative is to package Java with the launcher however, this is not the purpose of this release.
    There's not a single client or launcher release on this forum that offers that solution. Not that this is the correct way, but this is the norm. Only a few servers in the entire scene are bundling java with their client at all.
    Reply With Quote  
     

  12. Thankful user:


Page 1 of 2 12 LastLast

Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. Any Version Website (Game Launcher) + Client Loader
    By Kiissmyswagb in forum Snippets
    Replies: 9
    Last Post: 01-25-2016, 06:33 PM
  2. Replies: 2
    Last Post: 12-31-2015, 07:07 PM
  3. Replies: 15
    Last Post: 08-13-2015, 05:50 PM
  4. A good simple client base?
    By Dynamik in forum RS2 Client
    Replies: 1
    Last Post: 07-06-2008, 02:01 AM
  5. Replies: 14
    Last Post: 12-13-2007, 12:39 AM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •