missing name field in userinfo


(KGB_admin) #1

Hi
i have a NQ server.
but now when someone changes name and empty’s the field he gets:
missing name field in userinfo

how do i prevent this form happening to the client ?


(IndyJones) #2

tell the user not to clean the name in user menu, or at least not when they are on the server. i don’t know if this has been fixed/changed, but back in time the changes in user menu where applied in real time, ie if u removed one character from ur name, u were immediatly renamed, without applying changes. wich version of nq are u running?


(KGB_admin) #3

it is NQ 1.2.7

and punkbuster has pb_sv_emptyname 1 to allow empty name


(dwe_flame) #4

i have seen this same thing happen on my own server. (ET 2.60b server)
once a player removes all caracters, he gets kicked.
for myself, i know what to do to fix it, but i can understand many people dont know.
is there some way to prevent them from getting kicked ?


(hellreturn) #5

[QUOTE=dwe_flame;229438]i have seen this same thing happen on my own server. (ET 2.60b server)
once a player removes all caracters, he gets kicked.
for myself, i know what to do to fix it, but i can understand many people dont know.
is there some way to prevent them from getting kicked ?[/QUOTE]

A little confused bro. You mean to say some players on server, gets empty names and then PB kicks them and you are asking what to do so they don’t get kicked?


(dwe_flame) #6

no its like:
player is not happy with current name
player hits ESC => options => game
in the name field, he clears the field to be able to write down a new name
player gets kicked for empty name field (NQ 1.2.7 on 2.60b server)

and same as KGB_admin, i also have “pb_sv_emptyname 1” so PB would allow the empty name. so in this case it seems like NQ is the one kicking for the empty name field.
in the noquarter.cfg is no Cvar to disable this.

so, as i have multiple servers, i would logically want to prevent the players from getting kicked for such a thing.


(dutchmeat) #7

Are you certain those are JUST empty names instead of names with disallowed characters/or perhaps duplicate names ?


(dwe_flame) #8

for me, yes
im the server owner of the server i have tested it on :stuck_out_tongue:


(stealth6) #9

The names are update in real time so this is in the console:
stealth changed name to stealt
stealt changed name to steal
steal changed name to stea
stea changed name to ste
ste changed name to st
st changed name to s
s changed name to
kicked name not allowed

I don’t know what causes it since I’ve never had this problem, but I’ve see it quite a few times. That’s why I always tell people to use the /name command instead


(IndyJones) #10

guys, i said it all in my first post here. :stuck_out_tongue: the only bad thing about console is that u can’t use capital characters - they are simply treated as small ones (or that has been fixed as well?).


(dutchmeat) #11

Just curious, what’s your g_censorNames and g_censorPenalty


(IRATA) #12

The player gets kicked if return key is pressed and no user name is entered. That’s ok since empty user names don’t make sense. But we will change the code to use the default ET player name if the above case occured. The guys getting any name change reported into console even if they only change one character without pressing the return key should update their servers …


(Undead_fly) #13

That bug only affects strings bound to keys, not things typed directly in the console. /name Undead would keep the capitals, but /bind n name Undead would not. A simple workaround is to store it in a variable instead: /set namescript name Undead; bind n vstr namescript.

And while we’re on the subject of changing names through console/cfg… Is there any way to get a space in your name that way? Wrapping it in quotation marks won’t work, it keeps interpreting the second part of the name as a new parameter, and ignores it.


(warren the ape) #14

Yes, it kinda boggles the mind why someone would press enter while his name is still blank (either in the options menu or limbo) :rolleyes: Probably the same people that try to jam a USB stick into a Firewire slot…

/set name nickname with spaces

Or am I missing your point? :slight_smile:


(dwe_flame) #15

actually it already happens when you just clear the field with backspace.
than when you remove the last character -> kicked
so its even previous of hitting the return


(warren the ape) #16

[QUOTE=dwe_flame;229810]actually it already happens when you just clear the field with backspace.
than when you remove the last character -> kicked
so its even previous of hitting the return[/QUOTE]

At least not in 1.2.7. Just clearing out your name (options or limbo) doesn’t kick you.


(stealth6) #17

what do you mean update? I’ve seen this on 2.60b servers :eek: since that’s the only place I play.

Also to get spaces in your name the only solution I’ve found is using 2 cfg’s
cfg1:
bind x “exec cfg2”
cfg2:
name “stealth is cool”


(IRATA) #18

I’m not talking about the ET version. NQ 1.2.7 doesn’t do a name change until enter key is pressed.