Lorenzo Posted September 14, 2016 Posted September 14, 2016 (edited) Hello, https://luac.multitheftauto.com - API not work! my PHP code: $ch = curl_init(); $post_params = array( 'luasource' => new CurlFile('test.lua', 'application/octet-stream', 'test.lua'), 'compile' => 1, 'debug' => 0, 'obfuscate'=> 1 ); $options = array( CURLOPT_URL => 'https://luac.multitheftauto.com', CURLOPT_RETURNTRANSFER => true, CURLOPT_POST => true, CURLOPT_POSTFIELDS => $post_params ); curl_setopt_array($ch, $options); $data = curl_exec($ch); var_dump($data); Response: ERROR Could not sign file Please help, or FIX this... Edited September 14, 2016 by Lorenzo
EstrategiaGTA Posted September 14, 2016 Posted September 14, 2016 Use that compiler for Lua scripts...
NegativeIQ Posted September 14, 2016 Posted September 14, 2016 https://luac.multitheftauto.com change https to http. I think your curl does not support secured connections or it require some config. 1
Simple0x47 Posted September 15, 2016 Posted September 15, 2016 I'm trying to compile .lua files on the web compiler and it doesn't work.
MTA Team ccw Posted September 18, 2016 MTA Team Posted September 18, 2016 Upload the lua file you are trying to compile: https://upload.mtasa.com/ And post the link here.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now