ALBANDER Posted March 6, 2022 Share Posted March 6, 2022 وش الخطا في هذا الكود المود هو anti cheat فتحت debugscript 3 وجدت هذا الخطا الكود هو setServerConfigSetting( "enablesd", "12,14,15,16,22,23,28,31,32,33,34,35,36,37,38,39,40", true ) setServerConfigSetting( "minclientversion_auto_update", "2", true ) setServerConfigSetting( "keysync_mouse_sync_interval", "50", true ) setServerConfigSetting( "player_sync_interval", "50", true ) allowVM = { ["None"] = true, ["None"] = true, ["None"] = true } function handleOnPlayerACInfo( detectedACList, d3d9Size, d3d9MD5, d3d9SHA256 ) for _,acCode in ipairs( detectedACList ) do if acCode == 31 or acCode == 32 then local serial = getPlayerSerial(source) if not allowVM[serial] then kickPlayer( source, "AutoHotkey hacker" ) end end end end addEventHandler( "onPlayerACInfo", root, handleOnPlayerACInfo ) -- Ensure no one gets missed when the resource is (re)started addEventHandler( "onResourceStart", resourceRoot, function() for _,plr in ipairs( getElementsByType("player") ) do resendPlayerACInfo( plr ) end end ) Link to comment
MR.Mosa Posted March 6, 2022 Share Posted March 6, 2022 (edited) اعرض جميع الاكواد detectedACList , اين Edited March 6, 2022 by MR.Mosa Link to comment
ALBANDER Posted March 6, 2022 Author Share Posted March 6, 2022 هذا هو الكود لكن الديبغ سكربت يقول فشل تحميل السكربت Link to comment
ALBANDER Posted March 7, 2022 Author Share Posted March 7, 2022 16 hours ago, MR.Mosa said: اعرض جميع الاكواد detectedACList , اين هذا هو الكود شوف الصورة في الموضوع يقول فيه خطا Link to comment
MR.Mosa Posted March 7, 2022 Share Posted March 7, 2022 (edited) 2 hours ago, ALBANDER said: هذا هو الكود شوف الصورة في الموضوع يقول فيه خطا mtaserver.conf روح ملف روح عند هاذا السطر اتاكد بانه بهاذا الشكل <!-- Comma separated list of disabled anti-cheats. For details see https://wiki.multitheftauto.com/wiki/Anti-cheat_guide e.g. To disable anti-cheat #2 and #3, use: 2,3 --> <disableac></disableac> اذا ما زبط ادخل هاذي الصفحة فيها جميع المعلومات https://wiki.multitheftauto.com/wiki/Anti-cheat_guide Edited March 7, 2022 by MR.Mosa Link to comment
ALBANDER Posted March 7, 2022 Author Share Posted March 7, 2022 (edited) لا لا ماله دخل في خطا بالكود ابيه يتصلح لان مكتوب loading script failed Edited March 7, 2022 by ALBANDER Link to comment
TheFixeR Posted March 8, 2022 Share Posted March 8, 2022 allowVM = { ["None"] = true} Link to comment
ALBANDER Posted March 8, 2022 Author Share Posted March 8, 2022 Just now, TheFixeR said: allowVM = { ["None"] = true} هات الكود كامل بعد ما تصلح Link to comment
TheFixeR Posted March 8, 2022 Share Posted March 8, 2022 setServerConfigSetting( "enablesd", "12,14,15,16,22,23,28,31,32,33,34,35,36,37,38,39,40", true ) setServerConfigSetting( "minclientversion_auto_update", "2", true ) setServerConfigSetting( "keysync_mouse_sync_interval", "50", true ) setServerConfigSetting( "player_sync_interval", "50", true ) allowVM = { ["None"] = true} function handleOnPlayerACInfo( detectedACList, d3d9Size, d3d9MD5, d3d9SHA256 ) for _,acCode in ipairs( detectedACList ) do if acCode == 31 or acCode == 32 then local serial = getPlayerSerial(source) if not allowVM[serial] then kickPlayer( source, "AutoHotkey hacker" ) end end end end addEventHandler( "onPlayerACInfo", root, handleOnPlayerACInfo ) -- Ensure no one gets missed when the resource is (re)started addEventHandler( "onResourceStart", resourceRoot, function() for _,plr in ipairs( getElementsByType("player") ) do resendPlayerACInfo( plr ) end end ) Link to comment
ALBANDER Posted March 8, 2022 Author Share Posted March 8, 2022 (edited) شكرا بجربه وبرد لك مشكور الكود اشتغل Edited March 8, 2022 by ALBANDER Link to comment
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