[Ava2.ORG] Serverfiles and Source FULL VERSION

Baldwin
Member
Mar
Threads
136
267
3,181
93
HubMoney
3,520
resim_2023-01-15_145117731.png
134247_717a2a7dc1613c440a1b43ddbe1d7c52.jpg 134249_5be68e85fdafd5340b6b72303ad9f9c1.jpg
134245_d295b27632b454bfcb8df337ca21cc6d.jpg
134243_21730b91a5146e94c6cf0dd503c08d54.jpg
134317_03921785479523fe50ddd9d3f5993383.png
C++:
Locale_inc.h

#pragma once

//////////////////////////////////////////////////////////////////////////
// ### Default Ymir Macros ###

/*        Discord - Defines        */
/*    https://discord.com/developers/applications    */
//#define ENABLE_FAST_MOB_MOVE_SPEED
#define ENABLE_LOCK_ATTR
#define ENABLE_COPY_ATTR_ITEM
#    define ENABLE_MINI_GAME_CATCH_KING                    // Schnapp den K�nig
#define ENABLE_VOTE4BUFF
#define ENABLE_DISCORD_RPC
#ifdef ENABLE_DISCORD_RPC
#define DISCORD_CLIENT_ID 0
#define DISCORD_IMAGE_KEY "dracarys_image"
#define DISCORD_HOMEPAGE_LINK "dracarys.work"
#endif
/*        Discord - Defines        */

#define RENEWAL_MISSION_BOOKS

#define ENABLE_EXPANDED_MONEY_TASKBAR
#define ENABLE_GEM_SYSTEM
#define ENABLE_MAP_OBJECT_OPTIMIZATION
#define ENABLE_EXCHANGE_LOG
#define ENABLE_FISH_GAME
#define ENABLE_ULTIMATE_REGEN
#define ENABLE_TRACK_WINDOW
#define ENABLE_MELEY_LAIR_DUNGEON
#ifdef ENABLE_MELEY_LAIR_DUNGEON
    #define MELEY_LAIR_DUNGEON_STATUE 6230
#endif
#define ENABLE_ZODIAC_MISSION
#define ENABLE_MOUNT_SKIN
#define ENABLE_DISCORD_STUFF
#define ENABLE_GRAPHIC_ON_OFF
#define ENABLE_SPECIAL_COSTUME_ATTR
#define LOCALE_SERVICE_EUROPE
#define ENABLE_COSTUME_SYSTEM
#define ENABLE_ENERGY_SYSTEM
#define ENABLE_DRAGON_SOUL_SYSTEM
#define ENABLE_NEW_EQUIPMENT_SYSTEM
#define ENABLE_ANTICHEAT
#define ENABLE_DEFENSAWESHIP
#define ENABLE_RARITY
#ifdef ENABLE_RARITY
    #define CLOSE_ATTACK_DEFENSE_DECREASE_VALUE
#endif




#define ENABLE_NEW_DETAILS_GUI
#define ENABLE_ANTI_EXP
#define ENABLE_NEW_GAMEOPTION
//#define ENABLE_VERSION_SYSTEM
//#define ENABLE_CSHIELD

#define ENABLE_NEW_LOADING
#define ENABLE_NPC_WEAR_ITEM
#define ENABLE_RENDER_TARGET

#define ENABLE_WIKI

//#define ENABLE_ANIMATED_WINDOW
#define ENABLE_AUTO_SELECT_SKILL
#define ENABLE_ITEMSHOP
#define ENABLE_EVENT_MANAGER
#define ENABLE_DRAGONSOUL_THINGS

#define ENABLE_EMOTICONS
#define ENABLE_DS_GRADE_MYTH
#define ENABLE_BATTLE_PASS
#define DISABLE_OLD_MINUS
#define ENABLE_CHANNEL_CHANGE

#define ENABLE_NEW_NAME_ITEM
#define ENABLE_NEW_PET_SYSTEM

#define __CHAT_SETTINGS__

#define ENABLE_BIYOLOG
#define ENABLE_NEW_AUTOPOTION

#define ENABLE_OFFLINESHOP_SYSTEM
#ifdef ENABLE_OFFLINESHOP_SYSTEM
    #define ENABLE_SHOP_SEARCH_SYSTEM
#endif

#define ENABLE_MULTILANGUAGE_SYSTEM
#define NEW_BONUS

// ### Default Ymir Macros ###
//////////////////////////////////////////////////////////////////////////

//////////////////////////////////////////////////////////////////////////
// ### New From LocaleInc ###
#define ENABLE_PACK_GET_CHECK
//#define ENABLE_CANSEEHIDDENTHING_FOR_GM
#define ENABLE_PROTOSTRUCT_AUTODETECT

#define ENABLE_PLAYER_PER_ACCOUNT5
#define ENABLE_LEVEL_IN_TRADE
#define ENABLE_DICE_SYSTEM
#define ENABLE_EXTEND_INVEN_SYSTEM
#define ENABLE_LVL115_ARMOR_EFFECT
#define ENABLE_STONEMINIMAP
#define __BL_67_ATTR__

#define WJ_SHOW_MOB_INFO
#ifdef WJ_SHOW_MOB_INFO
#define ENABLE_SHOW_MOBAIFLAG
#define ENABLE_SHOW_MOBLEVEL
#endif

//#define ENABLE_ENVIRONMENT_EFFECT_OPTION
//#define WJ_COMBAT_ZONE
//#define WJ_COMBAT_ZONE_HIDE_INFO_USER // Disable if you want for people can see names of players, align, level in map, target, minimap name etc.

//#define    ENABLE_FEATURES_REFINE_SYSTEM
#define ENABLE_BIOLOG_SYSTEM
//#define ENABLE_OFFLINE_SHOP
#define ENABLE_HIGHLIGHT_SYSTEM // disabled because its bug
// #define ENABLE_SOULBIND_SYSTEM
// ### New From LocaleInc ###
//////////////////////////////////////////////////////////////////////////

//////////////////////////////////////////////////////////////////////////
// ### From GameLib ###
//#define ENABLE_WOLFMAN_CHARACTER

#define dracaryS_DUNGEON_LIB
#define ENABLE_SIMPLE_REFINED_EFFECT_CHECK

// #define ENABLE_MAGIC_REDUCTION_SYSTEM
#define ENABLE_MOUNT_COSTUME_SYSTEM
#define ENABLE_WEAPON_COSTUME_SYSTEM
// ### From GameLib ###
#define ENABLE_SEND_TARGET_INFO
#define ENABLE_EXTENDED_ITEMNAME_ON_GROUND
#define NAMECOLOR_BOSS_CLIENT
//#define NEW_PET_SYSTEM
#define ENABLE_SASH_SYSTEM
#define ENABLE_WHISPER_FLASHING
#define RACE_HEIGHT
//#ifndef _DEBUG
    #define USE_FOX_FS
    #ifdef USE_FOX_FS
        #define __HIDE_STUPID_FOXFS_NOT_FOUND
    #endif
//#endif
//#define START_WITH_ARGUMENT
#define ENABLE_REFINE_RENEWAL
#define ENABLE_MANAGER_BANK_SYSTEM
#define ENABLE_SPECIAL_STORAGE
#define ENABLE_SHOW_CHEST_DROP
#define WJ_ENABLE_TRADABLE_ICON
//#define ENABLE_SUPPORT_SYSTEM
#define ENABLE_MULTI_TEXTLINE
//////////////////////////////////////////////////////////////////////////
#define ENABLE_CALENDAR_SYSTEM
//#define ENABLE_OPTION_COLLECT_EQUIPMENT
#define ENABLE_SNOW_MODE
#define ENABLE_NEW_AFFECT_POTION
//#define LINK_IN_CHAT
#define ENABLE_BUY_ITEMS_WORLDARD
#define HIDE_OBJECTS
#define ENABLE_DUNGEON_INFO
#define VERSION_162_ENABLED
#define ENABLE_FULL_YANG
#define ENABLE_DRAGON_SOUL_CHANGE_BONUS_WORLDARD
#define ENABLE_NEW_EVENTS
#ifdef ENABLE_NEW_EVENTS
    #define ENABLE_KINGDOMS_WAR
#endif

#define ENABLE_AUTOMATIC_PICK_UP_SYSTEM
#define ENABLE_HIDE_COSTUME_SYSTEM
#define ENABLE_HIDE_COSTUME_SYSTEM_ACCE
#define ENABLE_HIDE_COSTUME_SYSTEM_WEAPON_COSTUME
#define ENABLE_NEW_BONUS_WORLDARD

//////////////////////////////////////////////////////////////////////////
#define LSS_SECURITY_KEY        "1234abcd5678efgh"
//////////////////////////////////////////////////////////////////////////


#define ENABLE_DROP_ITEM_WORLDARD
#define ENABLE_CUBE_RENEWAL_WORLDARD
#define ENABLE_MOB_SCALE_SYSTEM
#define ENABLE_MULTI_REFINE_WORLDARD

#define ENABLE_SWITCHBOT
//#define ELEMENT_SPELL_WORLDARD
#define ELEMENT_NEW_BONUSES
#define ENABLE_MINIMAP_WHITEMARK_NEW
#define ENABLE_QUIVER_SYSTEM
#define __ENABLE_SHAMAN_ATTACK_FIX__
// #define ENABLE_DISCORD_RPC
#define ENABLE_SHINING_SYSTEM            // Enable/Disable ITEM_SHINING
#define ADD_NEW_BONUS_INTO_COSTUME
#define ENABLE_NEW_RINGS
#define ENABLE_MAINTENANCE_SYSTEM
#define ENABLE_SASH_COSTUME_SYSTEM
#define RENEWAL_DEAD_PACKET
#define ENABLE_DSS_ACTIVE_EFFECT_BUTTON // Enable dragon soul effect button when enabled
#define BATTLEPASS_WORLDARD
#define CHANGE_EQUIP_WORLDARD
//#define TOURNAMENT_PVP_SYSTEM

//Installed systems
#define ENABLE_CONQUEROR_LEVEL
#define ENABLE_GLOVE_SYSTEM
#define ITEM_TALISMAN_EQUIPMENT
#define ELEMENT_TARGET
#define ENABLE_78_SKILLS

// #define ENABLE_CARTOF_LIB

// if you want use SetMouseWheelScrollEvent or you want use mouse wheel to move the scrollbar
#define ENABLE_MOUSEWHEEL_EVENT
#define ENABLE_MULTI_FARM_BLOCK
#define ENABLE_OBJ_SCALLING

#if defined(ENABLE_FIX_MOBS_LAG)
    // -> The define ENABLE_FIX_MOBS_LAG have problems in device reseting.
    // -> With this new define all this problems are fixed.
    #define FIX_MOBS_LAG_FIX
#endif

#define ENABLE_MOBS_WITHOUT_COLLISIONS
Code:
CommonDefine.h

#pragma once
/*
#define ENABLE_CSHIELD
#ifdef ENABLE_CSHIELD
    //#define ENABLE_AUTOBAN // enables autoban if player has too many CShield Async reports # no activar

    #define ENABLE_CHECK_ATTACKSPEED_HACK //checks if player is attacking too fast
    #define ENABLE_CHECK_MOVESPEED_HACK //checks if player is moving too fast
    #define ENABLE_CHECK_WAIT_HACK // checks if player is using waithack


    // enable this checks if you have time to test it

    //#define ENABLE_CHECK_PICKUP_HACK 100 //checks if player using pickup hack //important: check CPythonPlayer::SendClickItemPacket for pickup time. if you dont have that just disable this define # no activar
    #define ENABLE_CHECK_GHOSTMODE //checks if player is using ghostmode
    //#define ENABLE_CHECK_WALLHACK //checks player position for wallhack # no activar

#endif
*/
#define ENABLE_LOCK_ATTR
#define ENABLE_COPY_ATTR_ITEM
#define RENEWAL_MISSION_BOOKS
#define ENABLE_MINI_GAME_CATCH_KING                    // Catch the King
#define ENABLE_VOTE4BUFF
#define ENABLE_DUNGEON_BOSS_ICON_IN_MAP
#define __GEM_SYSTEM__
#define ENABLE_MOB_MOVE_SPEED
#define ENABLE_EXCHANGE_LOG
#define ENABLE_FISH_GAME
#define ENABLE_CHECK_GHOSTMODE
#define ENABLE_ADD_REALTIME_AFFECT
#define ENABLE_ULTIMATE_REGEN
#define ENABLE_TRACK_WINDOW

#define ENABLE_MELEY_LAIR_DUNGEON
#define ENABLE_ZODIAC_MISSION
#define ENABLE_MOUNT_SKIN
#define ENABLE_MULTI_CHEST
#define ENABLE_BOSS_KILL_FLOOD
#define ENABLE_ANTI_PACKET_FLOOD
#define ENABLE_FLOOD_PRETECTION

#define ENABLE_SPECIAL_COSTUME_ATTR
#define ENABLE_VERSION_SYSTEM
#define ENABLE_NEW_DETAILS_GUI
#define FULL_MAX_YANG
#define ENABLE_NEW_NAME_ITEM
#define ENABLE_NEW_PET_SYSTEM
#define NEW_COMMON_DROP
#define ENABLE_SHOW_CHEST_DROP
#define NEW_BONUS
#define ENABLE_BIYOLOG
#define ENABLE_DEFENSAWE_SHIP
#define ENABLE_RARITY
#define ENABLE_MULTI_FARM_BLOCK
#ifdef ENABLE_RARITY
    // These functions when value 0 which things is close.
    #define CLOSE_RARITY_APPLY_BONUS
    #define CLOSE_RARITY_ATTR_BONUS
    #define CLOSE_RARITY_METIN_BONUS
    #define CLOSE_ATTACK_DEFENSE_DECREASE_VALUE
    //#define GIVING_RANDOMLY_RARITY_VALUE//if this define close giving every time %100 percent.
#endif
#define __CHAT_SETTINGS__
#define ENABLE_EVENT_MANAGER
#define ENABLE_BATTLE_PASS
#define ENABLE_AUTO_SELECT_SKILL
#define ENABLE_DRAGON_LAIR
#define ENABLE_CUBE_RENEWAL_COPY
#define ENABLE_ANTI_EXP
#define ENABLE_ITEMSHOP
#define ENABLE_ITEMSHOP_TO_INVENTORY//buying item directly from inventory


#define DISABLE_OLD_MINUS
#define ENABLE_CHANNEL_CHANGE

#define dracaryS_DUNGEON_LIB

#define ENABLE_DS_GRADE_MYTH

//////////////////////////////////////////////////////////////////////////
// ### General Features ###
//#define ENABLE_QUEST_CATEGORY
#define ENABLE_D_NJGUILD
#define ENABLE_FULL_NOTICE
#define ENABLE_NEWSTUFF
#define ENABLE_PORT_SECURITY
#define ENABLE_NEW_AUTOPOTION
#define ENABLE_BELT_INVENTORY_EX
enum eCommonDefines {
    MAP_ALLOW_LIMIT = 40, // 32 default
};
// ### General Features ###
//////////////////////////////////////////////////////////////////////////

//////////////////////////////////////////////////////////////////////////
// ### CommonDefines Systems ###
#define ENABLE_WOLFMAN_CHARACTER
#ifdef ENABLE_WOLFMAN_CHARACTER
#define USE_MOB_BLEEDING_AS_POISON
#define USE_MOB_CLAW_AS_DAGGER
// #define USE_ITEM_BLEEDING_AS_POISON
// #define USE_ITEM_CLAW_AS_DAGGER
//#define USE_WOLFMAN_STONES
//#define USE_WOLFMAN_BOOKS
#endif

#define ENABLE_PLAYER_PER_ACCOUNT5
#define ENABLE_DICE_SYSTEM
#define ENABLE_EXTEND_INVEN_SYSTEM
#define ENABLE_2LOOT

#define ENABLE_MOUNT_COSTUME_SYSTEM
#define ENABLE_WEAPON_COSTUME_SYSTEM

// #define ENABLE_MAGIC_REDUCTION_SYSTEM
#ifdef ENABLE_MAGIC_REDUCTION_SYSTEM
// #define USE_MAGIC_REDUCTION_STONES
#endif
#define ENABLE_MULTILANGUAGE_SYSTEM
#define __SEND_TARGET_INFO__
#define ENABLE_EXTENDED_ITEMNAME_ON_GROUND

//#define WJ_COMBAT_ZONE // Enable the combat zone
//#define WJ_COMBAT_ZONE_HIDE_INFO_USER // If you have this enabled on server, players can't use chat and whisper on combat zone map. (Disable with "//")

//#define ENABLE_FEATURES_REFINE_SYSTEM
#define ENABLE_BIOLOG_SYSTEM
#define WJ_ENABLE_TRADABLE_ICON

#define FULL_YANG // Enable support for yang type long long

/* OFFLINE SHOPS
#define OFFLINE_SHOP // Offline shops system
#define GIFT_SYSTEM // gift system enable
#define SHOP_TIME_REFRESH 1*60 // time for cycle checking older shops
#define SHOP_BLOCK_GAME99 //Blocking create shops on channel 99
//#define SHOP_DISTANCE // Show shops in pos distance like WoM2
#define SHOP_AUTO_CLOSE //Enable auto closing shop after sell last item
#define SHOP_ONLY_ALLOWED_INDEX //Enable limiting for other map index which is not defined in player.shop_limit
//#define SHOP_HIDE_NAME // Enable hidding shop npc names like "Player's shop"
#define SHOP_GM_PRIVILEGES GM_IMPLEMENTOR //Minimum GM privileges to using Shop GM Panel
// #define NO_YANG_ON_GIFT_SYSTEM // no recoge el yang del sistema de gift, solo del banco
*/


//#define UNLOCK_INVENTORY // item para inventario
//#define CHANGE_CHANNEL
#define __HIGHLIGHT_SYSTEM__ // disabled because its bug
#define ENABLE_NEWITEM_AFFECT
//#define ENABLE_MOUNT_SYSTEM
#define MOUNT_SYSTEM_BONUS
//#define SEACH_PRIVATE_SHOP
//#define STONE_INTO_COSTUMES // piedras en atuendos (no funciona)
#define ADD_BONUS_INTO_COSTUMES
#ifdef ADD_BONUS_INTO_COSTUMES
    #define ADD_NEW_BONUS_INTO_COSTUME
#endif
#define HORSE_FIX
#define ENABLE_IGNORE_LOWER_BUFFS
//#define ENABLE_SORT_INVEN
#define ENABLE_PLAYERS_ONLINE
//#define __NEWPET_SYSTEM__
#define __SASH_SYSTEM__
#ifdef __SASH_SYSTEM__
    #define FIX_19_PERCENT
#endif
#define __ANTI_EXP__
#define FIX_SyncPosition
//#define ENABLE_MANAGER_BANK_SYSTEM
#define ENABLE_SPECIAL_STORAGE

#define CHANGE_DS_ATRIBUTES
#define ENABLE_SORT_INVENTORY
#define ENABLE_NEW_AFFECT_POTION
#define ENABLE_SUPPORT_SYSTEM
// ### CommonDefines Systems ###
#define ENABLE_CALENDAR_SYSTEM
#define EXCHANGE_LOG
#define SHOW_DROPS_IN_DB
#define SHOUT_LOG_EXPANDED
#define ENABLE_BUY_ITEMS_WORLDARD
#define ENABLE_DUNGEON_INFO
//////////////////////////////////////////////////////////////////////////
#define __VERSION_162__
#ifdef __VERSION_162__
    #define HEALING_SKILL_VNUM 265
#endif

#define __NEW_EVENTS__
#ifdef __NEW_EVENTS__
    #define __KINGDOMS_WAR__
#endif
#define ENABLE_AUTOMATIC_EVENT
#define ENABLE_NEW_OX_FEATURES
#define ENABLE_AUTOMATIC_PICK_UP_SYSTEM

#define ENABLE_HIDE_COSTUME_SYSTEM
#define ENABLE_HIDE_COSTUME_SYSTEM_ACCE
#define ENABLE_HIDE_COSTUME_SYSTEM_WEAPON_COSTUME
//#define ENABLE_HIDE_COSTUME_SYSTEM_TRANSMUTACION
#define ENABLE_CHANGE_FONT_SYSTEMS

#define LSS_SECURITY_KEY        "1234abcd5678efgh"
#define ENABLE_NEW_BONUS_WORLDARD
#define ENABLE_DROP_ITEM_WORLDARD

#define ENABLE_CUBE_RENEWAL_WORLDARD

//#define ENABLE_VOTE_COINS_WHILE_PLAYING
#define ENABLE_MULTI_REFINE_WORLDARD
//#define ELEMENT_SPELL_WORLDARD
#define ELEMENT_NEW_BONUSES

#define UNLOCK_INVENTORY_WORLDARD
#define __ITEM_SHINING__
#define ENABLE_NEW_RINGS
#define ENABLE_MAINTENANCE_SYSTEM
#define ENABLE_SASH_COSTUME_SYSTEM
#define RENEWAL_DEAD_PACKET
#define BATTLEPASS_WORLDARD
#define CHANGE_EQUIP_WORLDARD
//#define TOURNAMENT_PVP_SYSTEM

//Installed Systems
#define ENABLE_CONQUEROR_LEVEL
#define ENABLE_GLOVE_SYSTEM
#define ITEM_TALISMAN_EQUIPMENT
#define ELEMENT_TARGET
#define ENABLE_78_SKILLS
#define ENABLE_OFFLINESHOP_SYSTEM
#ifdef ENABLE_OFFLINESHOP_SYSTEM
    #define ENABLE_SHOP_SEARCH_SYSTEM
#endif

#define __BL_67_ATTR__



Hidden content
You need to reply to this thread in order to see this content.
 

Attachments

  • 134273_74ca5e04c51592b09d88d8ef104a729d.jpg
    134273_74ca5e04c51592b09d88d8ef104a729d.jpg
    1,020.2 KB · Views: 3,779
  • 134249_5be68e85fdafd5340b6b72303ad9f9c1.jpg
    134249_5be68e85fdafd5340b6b72303ad9f9c1.jpg
    175.7 KB · Views: 2,792
Last edited:
Metin2Hub Bot
M2Hub Bot
Feb
Threads
65
2,152
2
992
113
HubMoney
1,364
View attachment 790
Hidden content
You need to reply to this thread in order to see this content.

Hello dear user,

Your post will be under surveillance by bots for the next few hours.

Forum description : Metin2 private server, Metin2 download, Metin2 support, Metin2 Forum, Metin2 Pvp Servers, Errors, Bugs, Requests, Metin2 Pvp Forum, Everything About Metin2.
 
Last edited by a moderator: