Lacewing Server Extension: Change Requested Name
In an "On Name Set Request" event, it seems that calling the "Change Requested Name" action is not working as it should. I have enabled the trigger and verified that the event is triggered.
Trying to select the client before calling the action did not see to help either.
What I'm trying is a quick authentication by receiving "username:password" and if password is correct set the name to "username".
Is this a bug in the extension or am I missing something?
Re: Lacewing Server Extension: Change Requested Name
Might be a bug - are you sure the condition is enabled as interactive?
Re: Lacewing Server Extension: Change Requested Name
Yes, and the "Deny" branch works to prevent the change.
Re: Lacewing Server Extension: Change Requested Name
Ok, must be a bug then! I'll fix it for the next build.
Re: Lacewing Server Extension: Change Requested Name
I did a little workaround on that. Might not be that good, but it works.
In short, if the username matches, set the username to a global string.
then disconnect and reconnect using the username from the global stirng on another screen that goes straight through.
There is no verification from that screen, but the user had to be verified to get there.
Re: Lacewing Server Extension: Change Requested Name
It worked for me! I just made a small test and the change requested name feature works fine.
Re: Lacewing Server Extension: Change Requested Name
LB, are you using beta 14?
Can you send me the .mfa file?
Re: Lacewing Server Extension: Change Requested Name
Re: Lacewing Server Extension: Change Requested Name
1 Attachment(s)
Re: Lacewing Server Extension: Change Requested Name
The minimal example attached actually "crashes" the server when I set the name. This should make it easy to track down the bug (or the misuse in my code if any).