Author Topic: MWLL Alt. Online Launcher (Local UDP Forwarder)  (Read 14069 times)

0 Members and 1 Guest are viewing this topic.

Offline Bruno_007

  • Apprentice Dev
  • Star Captain
  • *
  • Posts: 833
  • l33tp0intz: +90/-0
  • Osiris hats: sold out. ~Str1k3r
MWLL Alt. Online Launcher (Local UDP Forwarder)
« on: March 11, 2015, 02:12:01 AM »


Hi, I suppose? Seems a polite way to start this thread.

So, I did something. Took my last year's incomplete launcher and turned it into a complete incomplete launcher.
Not happy with some lazyness on some parts of my code (still true, it keeps getting worse, 0.9.0) but meh, not an issue on the performance side.


Download: MWLL Alt. Online Launcher v0.9.0 | source code (not required)
Prerequisite: You (might) need the latest Visual C++ Redistributable (vc_redist_x86.exe) to run this. If you're not sure if you have it or you get a vcruntime140.dll error, download it from here:
http://www.microsoft.com/en-us/download/details.aspx?id=48145

Previous version: MWLL Alt. Online Launcher v0.8.0

This app is an alternative way to connect to servers for when anything goes wrong. Really quick explanation of what it does: tricks Crysis Wars into thinking it's connecting to a LAN server, therefore not requiring any Gamespy emulations. I still recommend using the Gamespy way though. You would also lose the ingame server browser otherwise.

Remarks:
  • In-game server browser will not work;
  • You will have to use the Console or Multiplayer->Local Game->Connect to IP for a reconnect if you don't want to restart the game;
  • The password is sent only on MWLL start. You can't change the password on an already open MWLL through the app, unlike the server/IP. You'd have to use the console instead to chose a different one (sv_password) if you don't want to restart MWLL, or do it on Multiplayer->Local Game;
  • After a playthrough on one server, to connect to a different server by changing the one you chose in MWLL Alt. Launcher without exiting the game, you might have to type "connect" twice in the game console. The first "connect" could disconnect you instantly with reason "Remote user has disconnected";
  • This tool is not needed to connect to a server hosted on your own machine/local network.

Starting your game - method #1:

  • Pick server
  • Press/Toggle Join Server
  • Press Play! Game will be launcher and connected to server automatically
  • Exit MWLL after disconnecting from a server
(this exact way limits you to one server per game launch)

Starting your game - method #2:
  • Pick server
  • Press/Toggle Join Server
  • Launch MWLL, or in an already open MWLL...
  • In MWLL's console, type "connect". Type "sv_password <password>" beforehand though if you're connecting to a password-protected server. Through "Connect to IP" button on Multiplayer->Local Game would also work.

In-app server browser uses Spooky's json data. Thanks!
« Last Edit: October 04, 2016, 10:22:53 AM by Bruno_007 »
Tools and I:
   - MWLL Online Launcher (LAN UDP Forwarder) - evolution of past "Le Proof of Concepto" project: connect without Gamespy via packet redirection;
   - Vehicle Browser - "Pocket Wiki" ©okaolias (not really that though);
   - Rconnect 4.3 - Server tools: map manager/player voting add-ons;
   - CryHammer - Validates Patch/CDKey of Crysis Wars (now unable to validate CDKey due to turned off Gamespy servers).

Offline Defender

  • Creative Director
  • Project Director
  • Living Legend
  • *
  • Posts: 3794
  • l33tp0intz: +65535/-65535
  • CHAOTIC NEUTRAL
    • Patrick Salerno's Porfolio
Re: MWLL Alt. Online Launcher (Local UDP Forwarder)
« Reply #1 on: March 11, 2015, 02:33:39 AM »
Schweet
"A Goal without Vision is a Hallucination"


"An open mind is like a fortress with its gates unbarred and unguarded."

Offline Bruno_007

  • Apprentice Dev
  • Star Captain
  • *
  • Posts: 833
  • l33tp0intz: +90/-0
  • Osiris hats: sold out. ~Str1k3r
Re: MWLL Alt. Online Launcher (Local UDP Forwarder)
« Reply #2 on: March 11, 2015, 03:09:19 AM »
Just one issue that could happen that I'm gonna point it out here now:
  • After a playthrough on one server, to connect to a different server without exiting the game you might have to type "connect" twice in the game console. The first "connect" could disconnect you instantly with reason "Remote user has disconnected". No plans yet to look into it.
Tools and I:
   - MWLL Online Launcher (LAN UDP Forwarder) - evolution of past "Le Proof of Concepto" project: connect without Gamespy via packet redirection;
   - Vehicle Browser - "Pocket Wiki" ©okaolias (not really that though);
   - Rconnect 4.3 - Server tools: map manager/player voting add-ons;
   - CryHammer - Validates Patch/CDKey of Crysis Wars (now unable to validate CDKey due to turned off Gamespy servers).

Offline Spooky

  • Living Legend
  • *******
  • Posts: 3650
  • l33tp0intz: +158/-37
  • my little pwny
Re: MWLL Alt. Online Launcher (Local UDP Forwarder)
« Reply #3 on: March 11, 2015, 01:50:20 PM »
In-app server browser uses Spooky's json data. Thanks!

No problem ;).  I am guessing you are using http://stats.spikx.net/SimpleAjaxFrontend.php?action=serverlisthtml&id=1 and then parsing the HTML? If you want I could make you a real JSON interface instead.

Offline Bruno_007

  • Apprentice Dev
  • Star Captain
  • *
  • Posts: 833
  • l33tp0intz: +90/-0
  • Osiris hats: sold out. ~Str1k3r
Re: MWLL Alt. Online Launcher (Local UDP Forwarder)
« Reply #4 on: March 11, 2015, 02:33:12 PM »
Non. You already did that, which is awesome. Even the gamemode is there, everything a server reports it seems like: http://stats.spikx.net/SimpleAjax.php?action=serverlist

You sent me this still in 2014. ;D
Tools and I:
   - MWLL Online Launcher (LAN UDP Forwarder) - evolution of past "Le Proof of Concepto" project: connect without Gamespy via packet redirection;
   - Vehicle Browser - "Pocket Wiki" ©okaolias (not really that though);
   - Rconnect 4.3 - Server tools: map manager/player voting add-ons;
   - CryHammer - Validates Patch/CDKey of Crysis Wars (now unable to validate CDKey due to turned off Gamespy servers).

Offline Spooky

  • Living Legend
  • *******
  • Posts: 3650
  • l33tp0intz: +158/-37
  • my little pwny
Re: MWLL Alt. Online Launcher (Local UDP Forwarder)
« Reply #5 on: March 11, 2015, 02:59:54 PM »
Oh, haha, indeed, I forgot ;D

Offline Bill

  • Living Legend
  • *******
  • Posts: 3021
  • l33tp0intz: +340/-78
  • I can use the Internet to flaunt my fetters.
Re: MWLL Alt. Online Launcher (Local UDP Forwarder)
« Reply #6 on: March 11, 2015, 03:02:35 PM »
Daww, very cute guys.

Cheers for the tool Bruno, it's going to make my life easier for certain.

Offline Fury9er

  • Recruit
  • *
  • Posts: 191
  • l33tp0intz: +20/-4
Re: MWLL Alt. Online Launcher (Local UDP Forwarder)
« Reply #7 on: March 26, 2015, 10:52:42 PM »
Bang up job Bruno, this is a lovely enhancement of the proof of concepto :D makes it so much easier to play!

Offline RedLynx

  • Bondsman
  • *
  • Posts: 18
  • l33tp0intz: +2/-0
Re: MWLL Alt. Online Launcher (Local UDP Forwarder)
« Reply #8 on: April 06, 2015, 01:33:08 PM »
Some problems with launcher...
Launcher start the game and this all. Connecting to selected server do not start. I waiting, but nothing happens. Need to do conection with standart game menues... Why?
or this is right and this is must be?

Offline Bruno_007

  • Apprentice Dev
  • Star Captain
  • *
  • Posts: 833
  • l33tp0intz: +90/-0
  • Osiris hats: sold out. ~Str1k3r
Re: MWLL Alt. Online Launcher (Local UDP Forwarder)
« Reply #9 on: April 07, 2015, 10:32:33 AM »
Nope, isn't normal.

Two ways, either:
  • Pick server
  • Press/Toggle Join Server
  • Press Play! Game will be launcher and connected to server automatically
(this exact way limits you to one server per game launch)

Or:
  • Pick server
  • Press/Toggle Join Server
  • Launch MWLL, or in an already open MWLL...
  • In MWLL's console, type "connect 127.0.0.1" (or just "connect" if you prefer to type less, reaches localhost at port 64100 by default). "Connect to IP" button on Multiplayer->Local Game would also work.

In Application->Log, you notice any change of status related to network?
Tools and I:
   - MWLL Online Launcher (LAN UDP Forwarder) - evolution of past "Le Proof of Concepto" project: connect without Gamespy via packet redirection;
   - Vehicle Browser - "Pocket Wiki" ©okaolias (not really that though);
   - Rconnect 4.3 - Server tools: map manager/player voting add-ons;
   - CryHammer - Validates Patch/CDKey of Crysis Wars (now unable to validate CDKey due to turned off Gamespy servers).

Offline cest73

  • Lance Captain
  • ***
  • Posts: 717
  • l33tp0intz: +21/-15
  • there are links in my signature -->
    • MW:LL game status online (kudos: Spooky)
Re: MWLL Alt. Online Launcher (Local UDP Forwarder)
« Reply #10 on: April 12, 2015, 09:18:11 PM »
Bruno kind thanks for this valuable asset :o to add to the game :)

some feedback (if applicable)  :P

while it does speedup the total from-click-to-play delay compared to other launchers it lacks some of following:

-A cool Mechwarrior style skin (c'mon it's plain boring?  ::) )
-When i get kicked from the server (on game end -> begin) the time to re-connect (=cold_restart) is double compared to old launcher.

I guess the later can't be helped but the former?  :D

I feel we entitled to some sort of cool skin like this:
or this:
in the background? ;D

Offline cest73

  • Lance Captain
  • ***
  • Posts: 717
  • l33tp0intz: +21/-15
  • there are links in my signature -->
    • MW:LL game status online (kudos: Spooky)
Re: MWLL Alt. Online Launcher (Local UDP Forwarder)
« Reply #11 on: April 13, 2015, 09:10:50 AM »
Or even this:

I can't help but like Elemental BA ;) it just kicks pants with AC2 at close range

Offline Bruno_007

  • Apprentice Dev
  • Star Captain
  • *
  • Posts: 833
  • l33tp0intz: +90/-0
  • Osiris hats: sold out. ~Str1k3r
Re: MWLL Alt. Online Launcher (Local UDP Forwarder)
« Reply #12 on: April 14, 2015, 12:30:18 AM »
Yes, feedback is appreciated.

-A cool Mechwarrior style skin (c'mon it's plain boring?  ::) )

All cool pictures! But I favour function over form. Or I ignore design because I'm really not lucky with other people tastes. Everyone disagrees with me, experience told me that. :P

Eh well, truth is, I would need to give transparency to the controls I used. The old Visual Studio Express I'm using atm probably doesn't supports that, and I don't have a reason to upgrade just yet. I'm still a guy using Windows XP, so you can draw your own conclusions about me with that. I'm not against someone taking the source code though.

-When i get kicked from the server (on game end -> begin) the time to re-connect (=cold_restart) is double compared to old launcher.

Not sure if I got that. If by cold restart you mean exiting MWLL, launching again MWLL to connect to a new server, that can be avoided of course, using the console or Multiplayer->Local Game.
Tools and I:
   - MWLL Online Launcher (LAN UDP Forwarder) - evolution of past "Le Proof of Concepto" project: connect without Gamespy via packet redirection;
   - Vehicle Browser - "Pocket Wiki" ©okaolias (not really that though);
   - Rconnect 4.3 - Server tools: map manager/player voting add-ons;
   - CryHammer - Validates Patch/CDKey of Crysis Wars (now unable to validate CDKey due to turned off Gamespy servers).

Offline cest73

  • Lance Captain
  • ***
  • Posts: 717
  • l33tp0intz: +21/-15
  • there are links in my signature -->
    • MW:LL game status online (kudos: Spooky)
Re: MWLL Alt. Online Launcher (Local UDP Forwarder)
« Reply #13 on: April 15, 2015, 05:12:15 PM »
 :'( :-\ :-[ :-\ :'(
 :'(   :'(   :'(
 :'( . . . .  :'(

anyone cool skin please?  :-[

Such a usefull tool yet so no-eye-candy  :'( :'( :'(

And when You skin it, please make :D pretty  :o scrolling :o credits  ;D etc  ;D ?

Offline Fury9er

  • Recruit
  • *
  • Posts: 191
  • l33tp0intz: +20/-4
Re: MWLL Alt. Online Launcher (Local UDP Forwarder)
« Reply #14 on: April 15, 2015, 08:33:26 PM »
It could just be left as is but with Comstar HPG Redirect as the application name ;)