This site has been archived and made available for preservation purposes. No edits can be made.

Page 2 of 2 FirstFirst 12
Results 11 to 15 of 15

Thread: OnClientAuthenticate

  1. #11
    String maybe need to be cRawString because function not called

  2. #12
    no i took the default vaultmp c++ script

  3. #13
    Administrator
    Join Date
    Jun 2011
    Location
    Germany
    Posts
    1,057
    Blog Entries
    5
    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;
    }

  4. #14
    Administrator
    Join Date
    Jun 2011
    Location
    Germany
    Posts
    1,057
    Blog Entries
    5
    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.

  5. #15
    Okay, thanks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •