diff options
Diffstat (limited to 'src/config/secure.h')
-rw-r--r-- | src/config/secure.h | 33 |
1 files changed, 25 insertions, 8 deletions
diff --git a/src/config/secure.h b/src/config/secure.h index c57db018a..7f16ba55a 100644 --- a/src/config/secure.h +++ b/src/config/secure.h @@ -1,11 +1,12 @@ -// Copyright (c) rAthena Dev Teams - Licensed under GNU GPL -// For more information, see LICENCE in the main folder +// Copyright (c) Hercules Dev Team, licensed under GNU GPL. +// See the LICENSE file +// Portions Copyright (c) Athena Dev Teams #ifndef _CONFIG_SECURE_H_ #define _CONFIG_SECURE_H_ /** - * rAthena configuration file (http://rathena.org) - * For detailed guidance on these check http://rathena.org/wiki/SRC/config/ + * Hercules configuration file (http://hercules.ws) + * For detailed guidance on these check http://hercules.ws/wiki/SRC/config/ **/ /** @@ -16,11 +17,27 @@ * Optional NPC Dialog Timer * When enabled all npcs dialog will 'timeout' if user is on idle for longer than the amount of seconds allowed * - On 'timeout' the npc dialog window changes its next/menu to a 'close' button - * @values - * - ? : Desired idle time in seconds (e.g. 10) - * - 0 : Disabled + * Uncomment to enable **/ -#define SECURE_NPCTIMEOUT 0 +//#define SECURE_NPCTIMEOUT + +/** + * number of seconds to 'timeout' if the user is on idle for longer than the value allowed after a 'input' field is displayed. + * default: 180 + **/ +#define NPC_SECURE_TIMEOUT_INPUT 180 + +/** + * number of seconds to 'timeout' if the user is on idle for longer than the value allowed after a 'menu' is displayed. + * default: 60 + **/ +#define NPC_SECURE_TIMEOUT_MENU 60 + +/** + * number of seconds to 'timeout' if the user is on idle for longer than the value allowed after a 'next' button is displayed. + * default: 60 + **/ +#define NPC_SECURE_TIMEOUT_NEXT 60 /** * (Secure) Optional NPC Dialog Timer |