String maybe need to be cRawString because function not called
Printable View
String maybe need to be cRawString because function not called
no i took the default vaultmp c++ script
The above signature is outdated. Try the following:
Code cpp:
// note cRawString instead of String State VAULTSCRIPT OnClientAuthenticate(cRawString name, cRawString pwd) noexcept { if(String(pwd).compare("text") != 0) return False; return True; }
OK, I can confirm there is a bug in the C++ version of OnClientAuthenticate. I fixed it, will be included in the update the next days.
Okay, thanks