This site has been archived and made available for preservation purposes. No edits can be made.
-
Member
String maybe need to be cRawString because function not called
-
Member
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.
-
Member
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules