...:::XBOX:::...
¿Quieres reaccionar a este mensaje? Regístrate en el foro con unos pocos clics o inicia sesión para continuar.

...:::XBOX:::...

Bienvenidos a XBOX, el foro solo sobre juegos.
 
ÍndiceÍndice  Últimas imágenesÚltimas imágenes  RegistrarseRegistrarse  ConectarseConectarse  
Conectarse
Nombre de Usuario:
Contraseña:
Entrar automáticamente en cada visita: 
:: Recuperar mi contraseña
Mejores posteadores
XBOX
[Aporte]Anti Cheat LAC Vote_lcap[Aporte]Anti Cheat LAC Voting_bar[Aporte]Anti Cheat LAC Vote_rcap 
francoo27
[Aporte]Anti Cheat LAC Vote_lcap[Aporte]Anti Cheat LAC Voting_bar[Aporte]Anti Cheat LAC Vote_rcap 
darkk knight
[Aporte]Anti Cheat LAC Vote_lcap[Aporte]Anti Cheat LAC Voting_bar[Aporte]Anti Cheat LAC Vote_rcap 
NaraK
[Aporte]Anti Cheat LAC Vote_lcap[Aporte]Anti Cheat LAC Voting_bar[Aporte]Anti Cheat LAC Vote_rcap 
Gonza
[Aporte]Anti Cheat LAC Vote_lcap[Aporte]Anti Cheat LAC Voting_bar[Aporte]Anti Cheat LAC Vote_rcap 
Neamiah
[Aporte]Anti Cheat LAC Vote_lcap[Aporte]Anti Cheat LAC Voting_bar[Aporte]Anti Cheat LAC Vote_rcap 
Standelf
[Aporte]Anti Cheat LAC Vote_lcap[Aporte]Anti Cheat LAC Voting_bar[Aporte]Anti Cheat LAC Vote_rcap 
RedFire
[Aporte]Anti Cheat LAC Vote_lcap[Aporte]Anti Cheat LAC Voting_bar[Aporte]Anti Cheat LAC Vote_rcap 
AuRiii
[Aporte]Anti Cheat LAC Vote_lcap[Aporte]Anti Cheat LAC Voting_bar[Aporte]Anti Cheat LAC Vote_rcap 
Sunt
[Aporte]Anti Cheat LAC Vote_lcap[Aporte]Anti Cheat LAC Voting_bar[Aporte]Anti Cheat LAC Vote_rcap 
Estadísticas
Tenemos 74 miembros registrados
El último usuario registrado es BkKnight

Nuestros miembros han publicado un total de 336 mensajes en 98 argumentos.
¿Quién está en línea?
En total hay 2 usuarios en línea: 0 Registrados, 0 Ocultos y 2 Invitados

Ninguno

El record de usuarios en línea fue de 19 durante el Mar Feb 15, 2011 5:19 am

 

 [Aporte]Anti Cheat LAC

Ir abajo 
2 participantes
AutorMensaje
Gonza

Gonza


Cantidad de envíos : 22
Fecha de inscripción : 05/10/2008
Edad : 30

[Aporte]Anti Cheat LAC Empty
MensajeTema: [Aporte]Anti Cheat LAC   [Aporte]Anti Cheat LAC Icon_minitimeDom Oct 05, 2008 6:51 am

Bueno ak les traigo un sencillo pero efectivo Anti Cheat hecho x loopzer

En Declaraciones arriba de todo.. (o si es AoR abajo de las declaraciones de Gs)
Ponemos
Código:

'Anti-Cheats Lac(Loopzer Anti-Cheats)
Public SLac As Byte ' es el switch on/off

Public Lac_Camina As Long
Public Lac_Pociones As Long
Public Lac_Pegar As Long
Public Lac_Lanzar As Long
Public Lac_Usar As Long
Public Lac_Tirar As Long

Public Type TLac

LCaminar As New Cls_InterGTC
LPociones As New Cls_InterGTC
LPegar As New Cls_InterGTC
LUsar As New Cls_InterGTC
LTirar As New Cls_InterGTC
LLanzar As New Cls_InterGTC
End Type
'[/Loopzer]


Ahora en el m?dulo ES
buscamos
Código:

Call ConsultaPopular.LoadData

abajo ponemos
Código:

LoadAntiCheat

Y al final Agregamos
Código:

'Anti-Cheats Lac(Loopzer Anti-Cheats)
Public Sub LoadAntiCheat()
Dim i As Integer
SLac = CByte(val(GetVar$(App.Path & "\AntiCheats.ini", "CONFIGURACION", "AntiCheats")))

Lac_Camina = CLng(val(GetVar$(App.Path & "\AntiCheats.ini", "INTERVALOS", "Caminar")))
Lac_Lanzar = CLng(val(GetVar$(App.Path & "\AntiCheats.ini", "INTERVALOS", "Lanzar")))
Lac_Usar = CLng(val(GetVar$(App.Path & "\AntiCheats.ini", "INTERVALOS", "Usar")))
Lac_Tirar = CLng(val(GetVar$(App.Path & "\AntiCheats.ini", "INTERVALOS", "Tirar")))
Lac_Pociones = CLng(val(GetVar$(App.Path & "\AntiCheats.ini", "INTERVALOS", "Pociones")))
Lac_Pegar = CLng(val(GetVar$(App.Path & "\AntiCheats.ini", "INTERVALOS", "Pegar")))

For i = 1 To MaxUsers
ResetearLac i
Next

End Sub
'[/Loopzer]

En el M?dulo General
Buscamos
Código:

Public Sub LogCriticEvent(Desc As String)
On Error GoTo errhandler
abajo de:

Dim nfile As Integer
nfile = FreeFile ' obtenemos un canal
Open App.Path & "\logs\Eventos.log" For Append Shared As #nfile
Print #nfile, Date & " " & Time & " " & Desc
Close #nfile

Exit Sub

errhandler:

End Sub

Y abajo Agregamos
Código:

'Anti-Cheats Lac(Loopzer Anti-Cheats)
Public Sub LogAntiCheat(texto As String)
On Error GoTo errhandler

Dim nfile As Integer
nfile = FreeFile ' obtenemos un canal
Open App.Path & "\logs\AntiCheat.log" For Append Shared As #nfile
Print #nfile, Date & " " & Time & " " & texto
Print #nfile, ""
Close #nfile

Exit Sub

errhandler:

End Sub
'[/Loopzer]

Ahora lo ?ltimo que tenemos que hacer es:
En la carpeta del servidor crear un "ini" con el nombre "AntiCheats"
y adentro le ponemos
Código:

//LAC(Loopzer Anti-cheats)
//1 es Activado
// 0 es DesActivado
[CONFIGURACION]
AntiCheats=0
[INTERVALOS]
//en milisegundos son los intervalos
//Tirar es para tirar items o oro ,y dados

Caminar=250
Lanzar=1200
Usar=1000
Pociones=2000
Pegar=2000
Tirar=270
//
//

y Listo.. ya tenemos un anti cheat efectivo..
Los intervalos son configurables a su gusto..
By Lopzer
Volver arriba Ir abajo
https://xbox.forosactivos.net/
Standelf
Moderador
Moderador
Standelf


Cantidad de envíos : 11
Fecha de inscripción : 05/10/2008
Edad : 31
Localización : En este momento en tu mente

[Aporte]Anti Cheat LAC Empty
MensajeTema: Re: [Aporte]Anti Cheat LAC   [Aporte]Anti Cheat LAC Icon_minitimeDom Oct 05, 2008 7:33 am

Buen aporte Very Happy

Pero esta incompleto Razz

Mañana o completo asi editas
Volver arriba Ir abajo
http://www.geo-ao.com.ar
 
[Aporte]Anti Cheat LAC
Volver arriba 
Página 1 de 1.
 Temas similares
-
» [Aporte] Sistema de MiniMapa
» [Aporte] Mu Register Beta 5
» [Aporte] Clientes De Mu Online
» [Aporte] Diferentes Descargas de Mu
» [Aporte] Consola en el Servidor

Permisos de este foro:No puedes responder a temas en este foro.
...:::XBOX:::... :: Argentum Online :: Programacion-
Cambiar a: