
Originally Posted by
Navine
@
larsxd1234 Using camera the same way as in v5 doesn't work... I ported Blunk's v5 MUS to Woodpecker C# and at the LOGIN packet I receive as content string:
1 7580690011900000
In Blunk, the content string is split like:
String[] credentials = request.contentString.split(" ", 2);
Where index 0 is the username and index 1 is the password. I'm curious about what the content string means.
The first ID is your user ID, the second is your machine ID. 
Code:
on checkConnection(me)
if not multiuserExists(pConnectionId) then
return(error(me, "MUS connection not found:" && pConnectionId, #checkConnection, #minor))
end if
if getMultiuser(pConnectionId).connectionReady() and pHandshakeFinished then
tUserID = getObject(#session).GET(#user_user_id)
tMachineID = getSpecialServices().getMachineID()
if pUseCrypto then
tUserID = pCrypto.encipher(tUserID)
tMachineID = pCrypto.encipher(tMachineID)
end if
getMultiuser(pConnectionId).send("LOGIN" && tUserID && tMachineID)
me.next()
else
me.delay(1000, #checkConnection)
end if
exit
end