Jump to content

TheFixeR

Members
  • Posts

    4
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

TheFixeR's Achievements

Vic

Vic (3/54)

2

Reputation

  1. Is passwordHash and passwordVerify the recommended functions for this or they're used in the tutorial for their simplicity ?
  2. 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 )
×
×
  • Create New...