Thread: Most Advanced Client Launcher? (WIP)

Results 1 to 7 of 7
  1. #1 Most Advanced Client Launcher? (WIP) 
    Contributor


    Join Date
    Jul 2010
    Posts
    450
    Thanks given
    256
    Thanks received
    268
    Rep Power
    1305
    Made it a project, follow the project thread instead: https://www.rune-server.ee/runescape...n-angular.html

    Spoiler for Previous Content:
    I'm working on a new client setup, which will also allow two factor authentication (which isn't very special).
    What is more special is the Electron & Angular combination to launch the actual client and log you directly in with the API access token.

    Practically what this means is that players will log in to my Electron app once, and then they can hit the play button,
    and the client will take them straight into the game.

    I guess this is a project as much as a show-off. So if the mods decide that this is more suitable in the projects section; just get it moved

    The way it works:
    1. Log in to Electron app, which gives you an accessToken
    2. Click play-button, which launches the client
    3. The client passes the accessToken to the server (instead of the username and password we'd normally send)
    4. The server checks this accessToken against the API on my web server, which will be used for all services that requires a login
    5. Upon accessToken being legit, you'll be logged into the game

    If the accessToken isn't legit, you'll meet a incorrect username or password message (for now).
    I have some plans to make this a lot nicer in the future. I'm planning to use IPC,
    and don't display the actual client until you're actually logged in,
    and rather display the cache loading and error messages in the Electron app.

    NOTE! The design is a work in progress, the focus here is functionality.

    NOTE! When I get in the game, you can see that I load character files.
    This is a proof of concept for one account and multiple characters.
    A system I'm working on that let's players have multiple characters on one account.

    I hope you like my work! If you don't please let me know what I can improve on!
    Constructive criticism is always welcome!

    Updates:

    [22nd of May]

    GIF below:
    Spoiler for GIF:
    Attached image


    [24th of May]
    I've changed the client to show the gameframe after the player successfully logs in.
    Which is why it's popping up logged in when I click play. (Reference GIF below)
    Spoiler for Preview:
    Attached image

    To better illustrate this thing, I'm not launching the client JAR along with the Electron app.
    What it does, it takes what the client prints out, this way I know when the client is fully loaded.
    My intention is to start the JAR along with the Electron app, so it's ready sooner.

    I still need to add more controls to this thing. Like relaunch the client etc.
    I will need to look into a few things as well, to let me open multiple clients (at least 2).

    [26th of May]
    Spoiler for Preview:
    Attached image

    Replacing the client loading and title screen and showing the loading progress in the launcher.
    It also detects when the client window is closed, and let's you launch it again.
    Last edited by Nozemi; 05-27-2019 at 01:59 AM. Reason: More smoothness! Road towards an advanced client launcher that integrates into the actual client.
    Reply With Quote  
     

  2. #2  
    Registered MrClassic
    MrClassic's Avatar
    Join Date
    Oct 2008
    Age
    15
    Posts
    2,063
    Thanks given
    24,154
    Thanks received
    551
    Rep Power
    5000
    Well done
    Reply With Quote  
     

  3. Thankful user:


  4. #3  
    Registered Member
    Join Date
    Aug 2012
    Posts
    139
    Thanks given
    23
    Thanks received
    20
    Rep Power
    25
    Wow that's pretty damn cool that you can swap accounts so easily.
    Reply With Quote  
     

  5. #4  
    Contributor


    Join Date
    Jul 2010
    Posts
    450
    Thanks given
    256
    Thanks received
    268
    Rep Power
    1305
    Quote Originally Posted by Rng Rng Ownu View Post
    Wow that's pretty damn cool that you can swap accounts so easily.
    That's the easiest part. That's just about taking the default character loading, making a command, put the character loading there. Instead of taking the username from the player that logs in, you just use the parameter in the command. Then you're done!

    If I recall correctly, you also need to make it refresh inventory, equipment, etc.

    The harder part (which isn't very hard either), is to have a list of characters to choose from (characters that your website account owns), and then choose one of them to play with. Making sure you can log in to two characters at once as well is a tricky part. So I need to think it over and test it thoroughly.
    Reply With Quote  
     

  6. #5  
    Developer

    Holy Symbol's Avatar
    Join Date
    Dec 2011
    Age
    25
    Posts
    1,763
    Thanks given
    1,093
    Thanks received
    239
    Rep Power
    365
    That looks really cool, good job!
    Spoiler for big sig:


    Reply With Quote  
     

  7. Thankful user:


  8. #6  
    Registered Member
    Optimum's Avatar
    Join Date
    Apr 2012
    Posts
    3,570
    Thanks given
    871
    Thanks received
    1,745
    Rep Power
    5000
    Ambitious, i've used electron before. Really work on your styling, i know right now you're probably working on functionality but don't make it hard to play ur server!

    nonetheless great job

    Quote Originally Posted by DownGrade View Post
    Don't let these no life creeps get to you, its always the same on here. They'd rather spend hours upon hours in the rune-server spam section then getting laid! ha ha!Its honestly pathetic i haven't seen so many lowlifes in my life its actually insane i wish that this section would just vanish its probably the only way to get these people out of the community...
    PLEASE BE AWARE OF IMPOSTERS MY DISCORD ID: 362240000760348683
    Reply With Quote  
     

  9. #7  
    Contributor


    Join Date
    Jul 2010
    Posts
    450
    Thanks given
    256
    Thanks received
    268
    Rep Power
    1305
    Quote Originally Posted by Optimum View Post
    Ambitious, i've used electron before. Really work on your styling, i know right now you're probably working on functionality but don't make it hard to play ur server!

    nonetheless great job
    Yeah, I'm getting a new design for it, so right now that's the least of my worries.
    I'm more or less just hammering in the code, so I'll probably rewrite the entire thing (to clean up the code) when I have gotten everything to work smoothly.
    Reply With Quote  
     


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. Replies: 2
    Last Post: 02-14-2015, 01:09 PM
  2. Replies: 2
    Last Post: 06-16-2013, 11:57 AM
  3. Replies: 9
    Last Post: 12-12-2010, 03:13 AM
  4. No thanks button in the Java section
    By Colby in forum Suggestions
    Replies: 1
    Last Post: 07-30-2010, 03:30 AM
  5. Finding packets in the 569 client.
    By Discardedx2 in forum Help
    Replies: 1
    Last Post: 11-06-2009, 05:24 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •