ID:159619
 
How can I stop link from shutting down the world?
I discussed it with my friend and pretty much all it seems I can do is host another invisible world in the background automatically, and then that world will turn into the url.
In response to Choka
wtf are you talking about o.O
link() shouldn't be shutting down the world. The only reason it would do that is if you were the host, in which case just host in daemon; assuming you're just trying to test something.
Choka wrote:
How can I stop link from shutting down the world?

It's not shutting down the world, unless your host is in DS. You can get around this by using an invisible browser, and outputting some javascript to it. Someone gave me this, and I have no idea how it works, but it does:

    src << output("<script type='text/javascript'>window.location.href='byond://byondurl?topicdata'</script>","window.browser")


I assume you're trying to open another game window, without closing the first one, right?
In response to Falacy
Hmm.. Looks like none of you really read the DM Reference, It says word for word

"Format:
O << link(url)

This causes the recipient (O) to view the specified url. The url could be a web or BYOND address. In the latter case, the player will disconnect from the current world and connect to the specified one. "
In response to World Build
World Build wrote:
Hmm.. Looks like none of you really read the DM Reference, It says word for word
...In the latter case, the player will disconnect from the current world and connect to the specified one. "

And? Every time you disconnect from a BYOND game the entire world shuts down? As I said, that would/should only be happening if he was the host, and he could avoid it by hosting in daemon.