Foros DeCeMuLaDoReS

Retroceder   Foros DeCeMuLaDoReS > Diseño de Juegos > RPG Maker

RPG Maker Si tienes dudas o quieres compartir con nosotros tu juego, adelante, este es tu foro

Respuesta
 
LinkBack Herramientas
  #1 (permalink)  
Antiguo 06-Oct-2007, 13:00
Avatar de Doest
Doest es algo digno de comtemplar Doest es algo digno de comtemplar Doest es algo digno de comtemplar Doest es algo digno de comtemplar Doest es algo digno de comtemplar Doest es algo digno de comtemplar Doest es algo digno de comtemplar
Paseante nocturno ◕ ‿ ◕
 
Fecha de Ingreso: 16-August-2007
Ubicación: Unknown...
Mensajes: 980
Posts agradecidos: 355
Agradecido 226 veces en 165 posts
Enviar un mensaje por AIM a Doest Enviar un mensaje por MSN a Doest Enviar un mensaje por Yahoo  a Doest Enviar un mensaje por Skype™ a Doest
Icon14 Pasos para AntiHack del RPG Maker Xp

Esto sirve ayudar aquellos que no quieren que sus juegos sean hackeados.



Spoiler para Script:

#================================================= =============================
# ** TDS Anti Hack
#------------------------------------------------------------------------------
# Defines a different variable for some testing purposes.
#================================================= =============================

# Variable Name
ANTI_HACK_VARIABLE = true

#================================================= =============================
# ** Scene_Map
#------------------------------------------------------------------------------
# This class performs map screen processing.
#================================================= =============================

class Scene_Map
#--------------------------------------------------------------------------
# * Debug Call
#--------------------------------------------------------------------------
def call_debug
# Clear debug call flag
$game_temp.debug_calling = false
if ANTI_HACK_VARIABLE == false
# Play decision SE
$game_system.se_play($data_system.decision_se)
# Straighten player position
$game_player.straighten
# Switch to debug screen
$scene = Scene_Debug.new
end
end
end

#================================================= =============================
# ** Game_Player
#------------------------------------------------------------------------------
# This class handles the player. Its functions include event starting
# determinants and map scrolling. Refer to "$game_player" for the one
# instance of this class.
#================================================= =============================

class Game_Player < Game_Character
#--------------------------------------------------------------------------
# * Passable Determinants
# x : x-coordinate
# y : y-coordinate
# d : direction (0,2,4,6,8)
# * 0 = Determines if all directions are impassable (for jumping)
#--------------------------------------------------------------------------
alias tds_anti_hack_passable? passable?
def passable?(x, y, d)
tds_anti_hack_passable?(x, y, d)
# Get new coordinates
new_x = x + (d == 6 ? 1 : d == 4 ? -1 : 0)
new_y = y + (d == 2 ? 1 : d == 8 ? -1 : 0)
# If coordinates are outside of map
unless $game_map.valid?(new_x, new_y)
# Impassable
return false
end
# If debug mode is ON and ctrl key was pressed
if $DEBUG and Input.press?(Input::CTRL)
# Passable
return true if ANTI_HACK_VARIABLE == false
end
super
end
end


Solo ponlo arriba de Main y cambia el nombre de la variable constante si quieres.

Bueno espero que esto les ayude y no pienso mencionar donde lei sobre los hacks solo los lei y me molesto mucho.

Tambiem pienso buscar entre otros hacks para tratar de prevenirlos.

Y recuerda hackear programas de $800 no es malo... Hackear un juego echo a corazon y sangre si.

Saludos
__________________
<- Doest has played 400 hours of S4 League!
Responder Citando
Los siguientes usuarios agradecieron a Doest este mensaje:
SketchDeluxe (06-Oct-2007)
Respuesta


(0 miembros y 1 visitantes)
 
Herramientas

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

Los Códigos BB están Activado
Las Caritas están Activado
[IMG] está Activado
El Código HTML está Desactivado
Trackbacks are Activado
Pingbacks are Activado
Refbacks are Activado

Ir al Foro

Temas Similares
Tema Autor Foro Respuestas Último mensaje
Traduccion juegos psx\ps2 Sr. Goya PS2 2 08-Nov-2008 21:02
ayuda porfavor no se ke hacer dematik GBA, GBC Y GB 15 26-Sep-2007 17:23
Creacion de Paletas Para Servers RO democracy Juegos en general 0 17-Aug-2007 19:54


Torneo DC 2012
Torneo DC 2012

La franja horaria es GMT +1. Ahora son las 20:52.


Desarrollado por: vBulletin® Versión 3.8.2
Derechos de Autor ©2000 - 2012, Jelsoft Enterprises Ltd.
Traducido por mcloud de vBhispano.com
 

Content Relevant URLs by vBSEO 3.2.0