Search the Community
Showing results for tags 'luac'.
-
Boa tarde, caros usuários da F.MTA! Então pessoal, estou com um problema pra adicionar a função de comandos ao usar o chat local, eu gostaria de saber se algum programador poderia me explicar o que adicionar ou modificar? esse é o código / script: chat_range=100 addEventHandler("onPlayerJoin",getRootElement(), function () bindKey(source,"t","down","chatbox","LocalChat") end) addEventHandler("onResourceStart",getResourceRootElement(getThisResource()), function () for index, player in pairs(getElementsByType("player")) do bindKey(player,"t","down","chatbox","LocalChat") end end) function isPlayerInRangeOfPoint(player,x,y,z,range) local px,py,pz=getElementPosition(player) return ((x-px)^2+(y-py)^2+(z-pz)^2)^0.5<=range end function onChat(player,_,...) local px,py,pz=getElementPosition(player) local msg = table.concat({...}, " ") local nick=getPlayerName(player) local r,g,b = getTeamColor(getPlayerTeam(player)) for _,v in ipairs(getElementsByType("player")) do if isPlayerInRangeOfPoint(v,px,py,pz,chat_range) then outputChatBox("#00ff00[ Local ] #ffffff"..nick..": #FFFFFF"..msg,v,r,g,b,true) end end end addCommandHandler("LocalChat",onChat) Quem puder me ajudar agradeço dês de já. Att: ~ Zeus.
-
Привет всем! Помогите, пожалуйста! Вопрос к тем, кто разбирается в PHP. Собственно вопрос в следующем: На сайте luac.multitheftauto.com в разделе API имеется руководство по обфускации Lua скриптов через сам Lua скрипт: local FROM="example.Lua" local TO="compiled.Lua" fetchRemote( "https://luac.multitheftauto.com/?compile=1&debug=0&obfuscate=3", function(data) fileSave(TO,data) end, fileLoad(FROM), true ) Предположим, на моём сайте лежит скрипт: $file_name = "my_script.Lua"; Как можно "скомпилировать" данный скрипт на PHP? Возможно, что через curl, но как его использовать в PHP я не знаю. Прошу помощи! Спасибо.
-
Hello, I was wondering if a compiled script would affect the performance/FPS of players. I think the script would have to get "compiled" ANYWAY even when i do NOT compile it myself. So the answer could be that a compiled script makes it load even FASTER since it has to compile it anyway (CORRECT ME IF IM WRONG). So my question is if I am right with this or not.. And also: Does the "Extra obfuscation" reduce FPS? To me it seems logical that it COULD lead to some FPS loss, since it has to get decrypted all the time.
-
Hello, now i'm trying to learn coding by checking how they make it, but some code are encrypted, i need a way for decrypt them. That's a picture of which encrypted coding, https://imgur.com/a/agJZyki if there anyone a way which i can decrypt this encrypted coding please share it with us, and thanks.
-
Dear users, I have a ubuntu server, and I want to create my own LUA compiler. It's not that I don't trust yours, but I want to create my own. What do I have to do? Thanks
-
وش ذا ؟ Not starting resource 'resourcename' as server has come back from the future يجيبها في اف 8 بعد ما اشفر المود و اركبه يجيب لي الرسالة اللي فوق بس يجيب اسم المود بدل كلم ريسورس نيم و كمان المودات ما فيها اي هكر فوش السبب ؟ -- انتم اللي اشوفكم متفاعلين @iMr.WiFi..! @#Soking @#_iMr.[E]coo @#BrosS ملاحظة المودات ( نفسها ) بالتشفير شغالة بسيرفر آخر فوش مشكلة السيرفر الاول ؟
-
Attention I have created this topic to tell you everyone that I am going to freelance in MTA:SA. As you don't know I am working with MTA:SA since 2013 and I have a lot of experience. If you are interested in any of MTA:SA (like DayZ) resouces, scripts or other things, just tell me what you want and I will sell it to you. Also I can teach you how to make some kind of scripts/resources/models/etc. by yourself, how to add it to the server. I can be your server scripter/mapper/hacker/etc., just hire me. Don't be shy You can contact me via e-mail ([email protected]) or skype (herokileris), or here in the forum (this topic or pm). For example, some of the scripts I have made and I can sell you: Vip - (in DayZ) gets more blood, restorations when eating, using medics, drinking... Also gets more stats after each spawning in the map. Animals in the map spawning and has an inventory in which they drop randomly Raw Meat after death. Respawn timer works perfectly. Zombies changed their status from walking or running, how they walk like randomly in the game, they scream, moan, bite your neck, infect you. Also I have a lot of DAYZ zombie models and sounds. Weapons system - each weapon has own model and shooting sound, inventory space slots, the name, the spawning chances, damage, ammo use, crosshire (including and snipers). Hold your breath system - when you aim, your crosshire moves, you can hold your breath and stop moving crosshire by holding a key like for example: for a 5 seconds. There are sounds added also for it. Sounds for you and others when you use medics, food, drinks, etc. like in the real life depending on the distance. Armour, hats, helmets, masks, caps and other clothing systems. MORE AND MORE. Group system. Scoreboard system. Give/Set items system. Map bugs fixer. Radiators, engines, tires, rotors, scrap metals, tank parts, etc. system for vehicles. AND MORE. I have all .lua files.
-
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...