Ok I fixed the first problem by moving the Client command to start the
server from a command class into the panel it self (WTF?) and I think the
loading screen only comes up when the maxplayers is set to two or more.

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mark Chandler
Sent: Friday, December 07, 2007 3:13 AM
To: [email protected]
Subject: [hlcoders] VGUI problems and starting a map

Hi guys,

Im looking at rewriting the create server panel due to wanting to put better
options on there (i.e. be able to interface with some script parsers loading
settings and what not) but I have run into a problem. Well when I send the
client command to launch the server the server launches but all input for
every panel is locked (console, main menu and my panel), so I added the
function input()->ReleaseAppModalSurface(); which works but still locks some
panels. Another method I had was unloading my panel first then launching the
server but this crashes the game (because its trying to change focus to a
panel that doesn't exist yet [team menu]). But if I type the same command
into the console it works fine. So any one know how to fix this?


Also it doesn't show the loading screen like normal if it works.

Mark

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives,
please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to