SC2Mapster Forums

Development > Miscellaneous Development

Starting your map with a link out of a webbrowser

  • 4 posts
    #1 Nov 05, 2012 at 09:23 UTC - 0 likes

    Hi sc2mapster community,

    saying "hi" to you because this is my first post here and I'm glad that you pose such a rich source of knowledge here. This post comes with a thought and a question I just had.

    Is it possible to start a SC2 game that opens a specific map and has fixed settings out of a webbrowser?

    Why I'm asking:

    Let's say you want to start a typical SC2 Melee Map on the players computer. His enemy should automatically be a computer player on normal level, playing a random race. You want to do that out of a typical modern web application (written in ajax/php for example).

    I doubt there already exists an easy solution for this problem, because theoretically this requires the player's computer's SC2 game to accept a call from the web application. However, especially if SC2 is running already, I can't come up with the way I'd do it.

    An application like Teamspeak3 takes links in a specific format as input if you open them with it. It then automatically connects the user to the server described in the link. Could you teach SC2 to do that without "cracking it too hard"?

    Guess, this will open up the discussion. Maybe we can find a way to do this.

    Imagine what one could do if this problem got solved, you could use this in many places on the web: league platforms, cup platforms, browsergames, whatever people can come up with...

    thanks for "thinking in" ~

    #2 Nov 06, 2012 at 21:09 UTC - 0 likes

    It would seemingly be impossible... however, there is this: http://www.sc2mapster.com/forums/general/general-chat/44775-list-new-features-in-2-0-1-hot-s-beta-editor/#p1

    Quote:

    Page Link
    In the new Battle.net interface, you can copy link of certain pages in-game to the clipboard. This include map info pages. So you can copy a link of your map, and give it to other player. Clicking this link would navigate the player to your map info page (If SC2 isn't running, it would launch the StarCraft II first, the player still need to enter name/password to login though).

    So it looks like HotS is providing support for you to do this already.

    #3 Nov 07, 2012 at 23:38 UTC - 0 likes

    You need to refer to a bug found in WC3 which allowed the source code to access third party programs. This was a major security flaw in that it allowed scammers and hackers to install nasties onto your computer via a map (had about 3 russian maps that tried that). This feature was removed because of the the potential malicious exploits.

    #4 Nov 08, 2012 at 00:17 UTC - 0 likes

    Yup HotS is adding that. If you've the beta installed try this: http://tinyurl.com/bnavu4w which links to starcraft://profile/98/12493841885883793408. For some reason the dircet stacraft link didn't work for me at first, but the tinyurl did.

    Last edited Nov 08, 2012 by Exaken

    So basically, generally and obviously... add more rocks.
    Hope is just deferred disapointment.
    Dropbox is an easy way to share maps between project members.

  • 4 posts

You must login to post a comment. Don't have an account? Register to get one!