OTClientV8 & Tibia Forum
Setting up OTC V8 RSA source editing error - Printable Version

+- OTClientV8 & Tibia Forum (http://otclient.net)
+-- Forum: OTClientV8 (http://otclient.net/forumdisplay.php?fid=1)
+--- Forum: Support (http://otclient.net/forumdisplay.php?fid=4)
+--- Thread: Setting up OTC V8 RSA source editing error (/showthread.php?tid=415)



Setting up OTC V8 RSA source editing error - henkas - 09-22-2020

Hello
so im trying to install otc v8 and doing those source edits from commits and im already stuck with the first one
https://github.com/OTCv8/forgottenserver/commit/2839d4d7a8ad3597eff6c786f4ceb9b1b4b4456b

so im getting 
1>..\src\rsa.cpp(76): error C3861: 'find_first_not_of': identifier not found
1>..\src\rsa.cpp(77): error C3861: 'find_last_not_of': identifier not found


Manged to fix most of these errors and these ones left so this is how my rsa.cpp edited code looks now

Code:
    // fixes "Missing RSA private key footer." error
    mpz_clear(0, find_first_not_of(" \t\f\v\n\r"));
    mpz_clear(find_last_not_of(" \t\f\v\n\r") + 1);

USING TFS 1.2 DOWNGRADED BY NINJA 8.60