PDA

View Full Version : Error With Usernames Under 2.4.1



Foen
June 23rd, 2009, 15:37
(The following relates to test client sessions connected to the localhost under 2.4.1, running CoC and SW rulesets, on Vista Business x64).

I'm having difficulty with user names, they seem to be present for some purposes but not for others.

When typing to the chat window, using /o, the indentity label is reported in brackets as normal, but the user name is missing from the start of the 'sender' field.

The player session fails to acquire ownership of the charsheet node at login, so the character sheet isn't editable and any onInit scripts that try to create or edit database nodes throw errors.

I haven't been able to test if this works fine under a remote client session, but it is very painful if I cannot test ruleset construction using localhost sessions.

Stuart

Foen
June 23rd, 2009, 16:09
I placed the following script in characterlist_entry.lua (createWidgets):


if not User.isHost() then
print("User: "..User.getUsername());
print("Identity: "..User.getCurrentIdentity().." ("..identityname..")");
print("Identity owner: "..User.getIdentityOwner(User.getCurrentIdentity()) );
print("Label: "..User.getIdentityLabel());
end

And it reports the following:


Script Notice: User:
Script Notice: Identity: id-00001 (id-00001)
Script Notice: Identity owner:
Script Notice: Label: id-00001

I also notice that the console windows no longer show the user name in parentheses, just empty parentheses.

Stuart

Oberoten
June 23rd, 2009, 16:12
It is confirmed that this error is persistant even with remote people.
This needs to be fixed ASAP.


- Obe