Retroceder   UASU Foros > Desarrollo (Guias, tutoriales y ayuda) > Programación

Respuesta
 
Herramientas Desplegado
Antiguo 01-nov-2008, 03:14   #1 (permalink)
EduCanDo a La Competencia
 
Avatar de agush
 
Ingreso: junio-2008
Ubicación: Con Tu Novia
Mensajes: 223
Puntos: 7.169, Nivel: 9 Puntos: 7.169, Nivel: 9 Puntos: 7.169, Nivel: 9
Nivel máximo: 61% Nivel máximo: 61% Nivel máximo: 61%
Actividad: 7% Actividad: 7% Actividad: 7%
Poder: 56 agush es como un diamante en brutoagush es como un diamante en brutoagush es como un diamante en bruto
Predeterminado [Aporte] D.C.A.M anticheat (Fénix AO)

DCAM = Detector de Cheat AutoMatico by MaTeO
Funciona detectando los intervalos malos. Osea sirve para todo tipo de Cheat. Engine, ultra cheat, etc.
Si un usuario pega muy rapido o tira hechizos muy rapido.
En la consola dice que ese usuario esta pasando intervalos de golpe.
Pero es normal que pase una vez.
Si salta una 3 veses seguidas. Usa algo mas rapido de lo normal.
Para ponerlo.
Van al modulo "ModNuevoTimer" y borran todo lo que hay y ponen:


Código:
 
Option Explicit
'
' Las siguientes funciones devuelven TRUE o FALSE si el intervalo
' permite hacerlo. Si devuelve TRUE, setean automaticamente el
' timer para que no se pueda hacer la accion hasta el nuevo ciclo.
'
' CASTING DE HECHIZOS
Public Function IntervaloPermiteLanzarSpell(ByVal UserIndex As Integer, Optional ByVal Actualizar As Boolean = True) As Boolean
Dim TActual As Long
 
TActual = GetTickCount() And &H7FFFFFFF
 
If TActual - UserList(UserIndex).Counters.TimerLanzarSpell >= 40 * IntervaloUserPuedeCastear Then
If Actualizar Then UserList(UserIndex).Counters.TimerLanzarSpell = TActual
IntervaloPermiteLanzarSpell = True
Else
IntervaloPermiteLanzarSpell = False
End If
 
If TActual - UserList(UserIndex).Counters.TimerLanzarSpell >= 30 * IntervaloUserPuedeCastear Then
IntervaloPermiteLanzarSpell = False
Call SendData(ToAdmins, 0, 0, "|| El Usuario " & UserList(UserIndex).Name & " paso un intervalo de Golpe" & "~0~50~0~0~0")
End If
End Function
 
Public Function IntervaloPermiteAtacar(ByVal UserIndex As Integer, Optional ByVal Actualizar As Boolean = True) As Boolean
Dim TActual As Long
 
TActual = GetTickCount() And &H7FFFFFFF
If TActual - UserList(UserIndex).Counters.TimerPuedeAtacar >= 40 * IntervaloUserPuedeAtacar Then
If Actualizar Then UserList(UserIndex).Counters.TimerPuedeAtacar = TActual
IntervaloPermiteAtacar = True
Else
IntervaloPermiteAtacar = False
End If
 
If TActual - UserList(UserIndex).Counters.TimerPuedeAtacar >= 30 * IntervaloUserPuedeAtacar Then
IntervaloPermiteAtacar = False
Call SendData(ToAdmins, 0, 0, "|| El Usuario " & UserList(UserIndex).Name & " paso un intervalo de Golpe" & "~0~50~0~0~0")
End If
 
End Function
 
Public Function IntervaloPermiteTrabajar(ByVal UserIndex As Integer, Optional ByVal Actualizar As Boolean = True) As Boolean
Dim TActual As Long
TActual = GetTickCount() And &H7FFFFFFF
If TActual - UserList(UserIndex).Counters.TimerPuedeTrabajar >= 40 * IntervaloUserPuedeTrabajar Then
If Actualizar Then UserList(UserIndex).Counters.TimerPuedeTrabajar = TActual
IntervaloPermiteTrabajar = True
Else
IntervaloPermiteTrabajar = False
End If
 
End Function
' USAR OBJETOS
Public Function IntervaloPermiteUsar(ByVal UserIndex As Integer, Optional ByVal Actualizar As Boolean = True) As Boolean
Dim TActual As Long
TActual = GetTickCount() And &H7FFFFFFF
If TActual - UserList(UserIndex).Counters.TimerUsar >= IntervaloUserPuedeUsar Then
If Actualizar Then UserList(UserIndex).Counters.TimerUsar = TActual
IntervaloPermiteUsar = True
Else
IntervaloPermiteUsar = False
End If
End Function
Public Function IntervaloPermiteUsarArcos(ByVal UserIndex As Integer, Optional ByVal Actualizar As Boolean = True) As Boolean
Dim TActual As Long
TActual = GetTickCount() And &H7FFFFFFF
If TActual - UserList(UserIndex).Counters.TimerUsar >= IntervaloFlechasCazadores Then
If Actualizar Then UserList(UserIndex).Counters.TimerUsar = TActual
IntervaloPermiteUsarArcos = True
UserList(UserIndex).flags.Chiteando = 0
Else
IntervaloPermiteUsarArcos = False
End If
If TActual - UserList(UserIndex).Counters.TimerUsar >= 5 Then
IntervaloPermiteUsarArcos = False
Call SendData(ToAdmins, 0, 0, "|| El Usuario " & UserList(UserIndex).Name & " paso un intervalo de Golpe" & "~0~50~0~0~0")
End If
 
 
End Function

Fuente: MaTeO -.Magma AO.-

POSIBLE ERROR: Si les da error en "UserList(UserIndex).flags.Chiteando"
En el Servidor, archivo Declaraciones.bas
Buscar..

Código:
'Flags
Public Type UserFlags
Abajo ponerle

Código:
Chiteando As Byte
__________________
http://img146.imageshack.us/my.php?image=dibujazola5.jpg

"El año ya se va, porque no me aguanta más".
agush está desconectado  
Digg this Post!Add Post to del.icio.usBookmark Post in Technorati
Responder Citando
Sponsored Links
Antiguo 01-nov-2008, 05:19   #2 (permalink)
Digweed @ Cattaneo
 
Avatar de El Pollo
 
Ingreso: enero-2008
Edad: 20
Mensajes: 84
Puntos: 8.633, Nivel: 10 Puntos: 8.633, Nivel: 10 Puntos: 8.633, Nivel: 10
Nivel máximo: 94% Nivel máximo: 94% Nivel máximo: 94%
Actividad: 2% Actividad: 2% Actividad: 2%
Poder: 59 El Pollo es realmente agradableEl Pollo es realmente agradableEl Pollo es realmente agradableEl Pollo es realmente agradable
Predeterminado

Buen aporte, pero falta adaptarle unas cositas creo, saludos.-
__________________
no me pongo firma porque no se me canta un corno.
El Pollo está desconectado  
Digg this Post!Add Post to del.icio.usBookmark Post in Technorati
Responder Citando
Antiguo 03-nov-2008, 22:11   #3 (permalink)
$0µL |-|µñTêr
 
Avatar de Tidius
 
Ingreso: octubre-2007
Ubicación: Bs. As. Hurlingham
Mensajes: 900
Puntos: 30.476, Nivel: 25 Puntos: 30.476, Nivel: 25 Puntos: 30.476, Nivel: 25
Nivel máximo: 99% Nivel máximo: 99% Nivel máximo: 99%
Actividad: 23% Actividad: 23% Actividad: 23%
El usuario posee 1x Acceso Vip
Poder: 293 Tidius tiene un brillante futuroTidius tiene un brillante futuroTidius tiene un brillante futuroTidius tiene un brillante futuroTidius tiene un brillante futuroTidius tiene un brillante futuroTidius tiene un brillante futuroTidius tiene un brillante futuroTidius tiene un brillante futuroTidius tiene un brillante futuroTidius tiene un brillante futuro
Predeterminado

Para 0.11.5 esta ?
__________________

Haceme un click, mandame un pm y te clickeo
Dejen de editarme la firma T.T
Tidius está desconectado  
Digg this Post!Add Post to del.icio.usBookmark Post in Technorati
Responder Citando
Respuesta

Marcadores

Herramientas
Desplegado

Normas de Publicación
No puedes crear nuevos temas
No puedes responder temas
No puedes subir archivos adjuntos
No puedes editar tus mensajes

BB code is Activado
caritas están Activado
[IMG] está Activado
Código HTML está Desactivado
Trackbacks are Desactivado
Pingbacks are Desactivado
Refbacks are Desactivado
Ir al Foro

Te recomendamos visitar estos sitios

PasionChat  Blogs  UASU lite  El Foro Latino  Argentum Online  Host Gratis  Bazar de dominios


La franja horaria es GMT -5. Ahora son las 15:28.



Desarrollado por: vBulletin® Versión 3.7.5
Derechos de Autor ©2000 - 2009, Jelsoft Enterprises Ltd.
Traducido por mcloud
Copyright UASU Group - Azmum Multimedios 2002-2008Ad Management by RedTyger
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194
Search Engine Friendly URLs by vBSEO 3.2.0 ©2008, Crawlability, Inc.