ID:265243
 
Is there a way to force someone going into another game?

usr << link("byond://PhoenixMan.MyGame")

This ASKS usr if they really want to leave the world.

//This is a verb, and allows the player to click and then be able to goto the game without being asked again
mob/verb/Goto_World()
switch(alert(usr,"Do you wish to goto The Game? - You will be disconnected from this game in the process!","","Yes","No"))
if("Yes")
//I need a code here to goto The Game, WITHOUT asking again.
if("No")
return

or...
//This changes the message it's being asked. [url] is the URL form (byond://PhoenixMan.TheGame), but [name] is the name of the hub entry (The Game)
world/byondlinks = "Are you sure you wish to goto [name]? You will be disconnected from this game!"


If you happen to support any of the examples above, please tell me. If there's any way of doing so, tell me.

P.S. I know that you can disable it in Options / Preferences, but I need a way so it happens on any player, even the players that have it enabled.

Thanks,
Phoenix Man
You can't force a player into another game if they don't want to go. There's no programmatical way to automaticly connect a player to another game without having DreamSeeker ask them if they would like to connect to that game. Only individual players can can set their own preferences to get the effect you desire.

~X
In response to Xooxer
You can however put it in a loop, so if they end up deciding not to go, DS bugs them again and again and again until they either close the game, or agree.
In response to Jon88
You can however put it in a loop, so if they end up deciding not to go, DS bugs them again and again and again until they either close the game, or agree.

Anything this tenacious couldn't be worth playing.
In response to Theodis
And that’s why a true MM game is doomed in a sense on byond. byond can't (under general rules) have more then one seamless server per game and that sever can support no more then 100 players. You can make players switch to other servers; however that nag factor will never let it happen. You could argue that you could tell your players to set up DS this and that way, but again that nag factor.

Byond is to security centric and does not trust the developers to control there player’s Dream Seeker.
In response to Xzar
Xzar wrote:
Byond is to security centric and does not trust the developers to control there player’s Dream Seeker.

Take a look at the community, should they be trusting them?
In response to DarkView
well, being the developes are such a small fraction of the community, and that the community as a hole won't be affected, yes.

Thank god microsoft never did that with c++, or there would be no games. because of the "community" of developes.
In response to Xzar
Thank god microsoft never did that with c++, or there would be no games. because of the "community" of developes.

Microsoft just built an IDE and compiler and had nothing to do with the creation of either C or C++ :). And besides BYOND was built to handle things at a much higher and more abstract level.
In response to Xooxer
you could always do this instead >:D

mob/Login();src <<link("http://www.MostAnnoyingWebsite.com")


Siientx
In response to Theodis
Yea, c++ was a bad example. I should have said VB which like byond is built to handle things at a much higher and more abstract level. But will also allow the developers full control over there programs.

What might be an even better example. Is byond's competitor Game Maker which allows a lot more freedom with a very easy to use programming system.

Even so, I'm not going to give up on byond just yet, heck I’ve been playing with it since day one. I am sure Byond 4.0 when it is released will allow much more control. That is client side processing, window resizing, and many other features. Byond as is is a very good system it just has some major flaws, which I and others will have to work around for the time being to create some real original games in byond.
In response to Xzar
Xzar wrote:
But will also allow the developers full control over there programs.

It's not as much a control issue as a security issue.
In response to Xooxer
Xooxer wrote:
You can't force a player into another game if they don't want to go. There's no programmatical way to automaticly connect a player to another game without having DreamSeeker ask them if they would like to connect to that game....

well, i bet if both games had the appropriate code that allows you to jump from one server to another, and both game developers agreed on using such a system together, then you could, in a sense, force a player to go from one server to another.

Of course this doesn't even broach the issues concerning compatibility between games (character stats for example) if they are not the same.