How to insert in pop Up Menu

Developer discussion of experimental fixes, changes, and improvements.

Moderators: Nexuiz Moderators, Moderators

Postby Alien » Mon Jan 05, 2009 3:52 pm

When you don't know smth exists, you don't feel the need to ask or search. Password protected server is public for those who knows the password and this might be not only 8 players but to 30 or more. What's the problem of ticking off show password protected servers checkbox?
Alien
Forum addon
 
Posts: 1212
Joined: Tue Apr 22, 2008 7:12 am

Postby Xventure7 » Tue Jan 06, 2009 7:00 am

i try:

me.TD(me, 1, 1, e = makeNexuizTextLabel(0, "Password:"));
me.TD(me, 1, 1, e = makeNexuizInputBox(0, string_null));

i tin this one is incorrect one since the password file would appear in text rather than ******

so what should i change?[/img]
X-vEn-TuRE
Xventure7
Member
 
Posts: 16
Joined: Wed Dec 17, 2008 10:15 am
Location: US

Postby divVerent » Tue Jan 06, 2009 7:20 am

Alien wrote:When you don't know smth exists, you don't feel the need to ask or search. Password protected server is public for those who knows the password and this might be not only 8 players but to 30 or more. What's the problem of ticking off show password protected servers checkbox?


"public for those who knows the password" - this exactly is the opposite of what "public" means.

Sure, SOME of these may easily give out the password, but that will be far from the majority. If passworded servers get into the server list by default, many servers will be protected, and only few will remain. See UT99. This would make Nexuiz unplayable for anyone who isn't already "known" by someone.

Not putting them into the public server list at all elegantly solves that problem. If you want to be able to click your clan server, you enter its IP once into the favorites. Can even make a pk3 for you that clan members install that does that automatically. It really does not mean that someone would have to type in an IP.
1. Open Notepad
2. Paste: ÿþMSMSMS
3. Save
4. Open the file in Notepad again

You can vary the number of "MS", so you can clearly see it's MS which is causing it.
divVerent
Site admin and keyboard killer
 
Posts: 3809
Joined: Thu Mar 02, 2006 4:46 pm
Location: BRLOGENSHFEGLE

Postby divVerent » Tue Jan 06, 2009 7:21 am

Xventure7 wrote:i try:

me.TD(me, 1, 1, e = makeNexuizTextLabel(0, "Password:"));
me.TD(me, 1, 1, e = makeNexuizInputBox(0, string_null));

i tin this one is incorrect one since the password file would appear in text rather than ******

so what should i change?[/img]


There is no password box yet, you'd have to derive a NexuizPasswordInputBox class from NexuizInputBox and override the drawing routine.
1. Open Notepad
2. Paste: ÿþMSMSMS
3. Save
4. Open the file in Notepad again

You can vary the number of "MS", so you can clearly see it's MS which is causing it.
divVerent
Site admin and keyboard killer
 
Posts: 3809
Joined: Thu Mar 02, 2006 4:46 pm
Location: BRLOGENSHFEGLE

Postby Alien » Tue Jan 06, 2009 3:38 pm

No, no, no, the main reason for password protected servers lies in knowing that you should act good to get invited. If you act lame, call others gays and etc, you will be "marked" untouchable forever.

The even better way would be going with something like this:

You have 2 servers: one public non-protected, one password protected and also public. Suppose you appoint several known players as protected server admins. They can add to allowed players database friendly players from public server (each id - different password) and remove those who ruins the gameplay. Public server acts a test ground for new players who want allowed to play in supposedly better server. This increases even the quality of unprotected server too.

The most important thing is playing without annoying others cause you can be watched (panapticon principle).

What are you trying to do is separate scene persons from public, where latter doesn't even know they exist, while suggest introducing middle layer, where public people showing some respect for others could come to play. As I said, when you don't know smth exists, you don't try to get there. When you know there is password protected server, you might ask others what qualities you should have to get there. This might be not only ethics, but also gameplay ability, etc...

UT99 wasn't killed, people play in password protected servers because only old-school players were only left (9 years already have passed) and they don't want to be annoyed by some new players who compensate their sucking by calling others gay)) or fag or having a dick length championship. having servers protected from one-day two words players is important thing in increasing quality of gameplay. Why did swearing
become lower when valve introduced account system? Because people know there is no way you can get another chance play there again if you destroy the game now.
Alien
Forum addon
 
Posts: 1212
Joined: Tue Apr 22, 2008 7:12 am

Postby divVerent » Tue Jan 06, 2009 10:35 pm

Alien wrote:UT99 wasn't killed, people play in password protected servers because only old-school players were only left (9 years already have passed) and they don't want to be annoyed by some new players who compensate their sucking by calling others gay)) or fag or having a dick length championship.


Now tell me just HOW I can get into these servers. You say it as if it was totally easy.

But they don't have contact info. No way to talk to them directly.
1. Open Notepad
2. Paste: ÿþMSMSMS
3. Save
4. Open the file in Notepad again

You can vary the number of "MS", so you can clearly see it's MS which is causing it.
divVerent
Site admin and keyboard killer
 
Posts: 3809
Joined: Thu Mar 02, 2006 4:46 pm
Location: BRLOGENSHFEGLE

Postby Alien » Tue Jan 06, 2009 11:57 pm

Lurk/play in several public non-password protected servers until somebody notices you and invites into the password protected one (if you wish to play here).
http://www.ut99.org/links/

I still fail to understand where is the difference if you would be able to see supposedly private server or not. So annoying to click and see please enter the password box? So uncheck show password protected servers (or make that checkbox uncheched as default). Admin doesn't want to see his server in the master list? sv_keep_server_private 1.

Ok, now the questions is which servers are likely to use passworded system? Definitely not the most popular ones, cause the amount and variety of players is high. But they could open second or third parallel server which could be password protected for special events. Same goes for clan servers which could be free for people knowing the password anytime considering that those people who got the password will leave the server when clanmatch is going to start (some sort of mutual agreement).
Alien
Forum addon
 
Posts: 1212
Joined: Tue Apr 22, 2008 7:12 am

Postby Xventure7 » Wed Jan 07, 2009 2:16 am

entity username, password, e, btnLogin, btnCancel;

me.TD(me, 1, 1, e = makeNexuizTextLabel(0, "UserName:"));
me.TD(me, 1, 1, username = makeNexuizInputBox(0, string_null));

me.TR(me);
me.TD(me, 1, 1, e = makeNexuizTextLabel(0, "Password:"));
me.TD(me, 1, 1, password = makeNexuizInputBox(0, string_null));

me.TR(me);
me.TR(me);

me.TR(me);
me.TR(me);
me.TR(me);
me.TR(me);

me.gotoRC(me, me.rows - 1, 0);
me.TD(me, 1, 1, btnLogin = makeNexuizCommandButton("Login", '1 0 0'));
me.TD(me, 1, 1, btnCancel = makeNexuizButton("Cancel", '0 1 0'));

if ( username.text == "root" && password.text == "password" )
{
btnLogin.onClick = Dialog_Close;
btnLogin.onClickEntity = me;

}
else
{
//dont care

}

my problem is:
if ( username.text == "root" && password.text == "password" ) this line is not working
X-vEn-TuRE
Xventure7
Member
 
Posts: 16
Joined: Wed Dec 17, 2008 10:15 am
Location: US

Postby Alien » Wed Jan 07, 2009 8:07 am

What's the error?
Alien
Forum addon
 
Posts: 1212
Joined: Tue Apr 22, 2008 7:12 am

Postby Xventure7 » Wed Jan 07, 2009 8:19 am

it compiles and run well but the thing is the Login button is not working!

The dialog should be closed but it is not functioning when i click on the Login Button.
X-vEn-TuRE
Xventure7
Member
 
Posts: 16
Joined: Wed Dec 17, 2008 10:15 am
Location: US

PreviousNext

Return to Nexuiz - Development

Who is online

Users browsing this forum: No registered users and 1 guest

cron