Jump to content

وش الخطا في هذا الكود


Recommended Posts

وش الخطا في هذا الكود

 

 

المود هو

 

anti cheat

 

فتحت debugscript 3

 

 

وجدت هذا الخطا

 

 

spacer.png

 

 

الكود هو

 

 

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
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 by MR.Mosa
Link to comment
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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...