ID:1456307
 
Problem description:
Goodnight to all, my problem is as follow:
When login in my game A welcome screen appears with a command to join while the window options and messages appears ¬¬, after giving click in the join command the window options and messages disappears...

What can I do to stop the Options and Messages window to appear


Code:
this is the code to login:
client
New()
winset(src, "Bienvenidos","is-visible = true")
winset(src, "VentanaGeneral", "is-visible = false")
..()

mob
verb/joingame()
set hidden = 1
winset(usr, "VentanaGeneral","is-visible = true")
winset(usr, "Bienvenidos", "is-visible = false")


images:

before clicking the join command
http://i1155.photobucket.com/albums/p553/JEY_SENSEY/ cosas%20privadas/dos.png

after clicking the join command
http://i1155.photobucket.com/albums/p553/JEY_SENSEY/ cosas%20privadas/uno.png

video:
http://youtu.be/FO1jiVV8u98

**thank you very much and sorry for my bad English**
Try executing default client/New() behaviour first

client
New()
..()
winset(src, "Bienvenidos","is-visible = true")
winset(src, "VentanaGeneral", "is-visible = false")
In response to Balborg
Balborg wrote:
Try executing default client/New() behaviour first

> client
> New()
> ..()
> winset(src, "Bienvenidos","is-visible = true")
> winset(src, "VentanaGeneral", "is-visible = false")
>


I have changed and the result is the same :(
Ok, try spawning before doing so:

client
New()
..()
spawn()
winset(src, "Bienvenidos","is-visible = true")
winset(src, "VentanaGeneral", "is-visible = false")
In response to Balborg
Balborg wrote:
Ok, try spawning before doing so:

> client
> New()
> ..()
> spawn()
> winset(src, "Bienvenidos","is-visible = true")
> winset(src, "VentanaGeneral", "is-visible = false")
>


the problem persists, thanks for your help.
I don't think it have to do with the codes. The problem that he have is that when he opens a game in offline, the Options and Messages windows appears and its very annoying. He wants to make that window stop from appearing when he launches a game in offline
I understand what the issue is, but from my experience this window popped up when I delayed client's New() proc.
up
The Options and Mesaages window will appear if the default window is not visible. This is sort of a safety measure so that games can still be closed if no wibdows are visible. You can change the window's default setting uaing winset.

winset(src,"the_window","is-default=true")


Setting a window to true will change the previous default window to false. If two wibdows are default in the interface editor, byond will pick one on startup.
thanks so much to all, particularly Makeii, Now the skin is working to perfection¡¡ :D

CLOSE TOPIC¡¡