Foruma hoş geldin, Ziyaretçi

Forum içeriğine ve tüm hizmetlerimize erişim sağlamak için foruma kayıt olmalı ya da giriş yapmalısınız. Foruma üye olmak tamamen ücretsizdir.

Turkgame Online

.
.
.
Asterion2 Metin2 Pvp Server Files

Asterion2 Metin2 Pvp Server Files 2022-04-22

indirmek için izniniz yok
Pamera2
1198bb4bfa0e3f551.jpg


4.jpg


3.jpg


2.jpg


Locale_inc:

Kod:
#pragma once

//////////////////////////////////////////////////////////////////////////
// ### Default Ymir Macros ###
[HASH=1]#define[/HASH] LOCALE_SERVICE_EUROPE
[HASH=1]#define[/HASH] ENABLE_COSTUME_SYSTEM
[HASH=1]#define[/HASH] ENABLE_ENERGY_SYSTEM
[HASH=1]#define[/HASH] ENABLE_DRAGON_SOUL_SYSTEM
[HASH=1]#define[/HASH] ENABLE_NEW_EQUIPMENT_SYSTEM
// ### Default Ymir Macros ###
//////////////////////////////////////////////////////////////////////////

//////////////////////////////////////////////////////////////////////////
// ### New From LocaleInc ###
[HASH=1]#define[/HASH] ENABLE_PACK_GET_CHECK
[HASH=1]#define[/HASH] ENABLE_CANSEEHIDDENTHING_FOR_GM
[HASH=1]#define[/HASH] ENABLE_PROTOSTRUCT_AUTODETECT

[HASH=1]#define[/HASH] ENABLE_PLAYER_PER_ACCOUNT5
[HASH=1]#define[/HASH] ENABLE_LEVEL_IN_TRADE
[HASH=1]#define[/HASH] ENABLE_DICE_SYSTEM
[HASH=1]#define[/HASH] ENABLE_EXTEND_INVEN_SYSTEM
[HASH=1]#define[/HASH] ENABLE_LVL115_ARMOR_EFFECT
[HASH=1]#define[/HASH] ENABLE_SLOT_WINDOW_EX
[HASH=1]#define[/HASH] ENABLE_TEXT_LEVEL_REFRESH
[HASH=1]#define[/HASH] ENABLE_USE_COSTUME_ATTR

[HASH=1]#define[/HASH] WJ_SHOW_MOB_INFO
[HASH=2]#ifdef[/HASH] WJ_SHOW_MOB_INFO
[HASH=1]#define[/HASH] ENABLE_SHOW_MOBAIFLAG
[HASH=1]#define[/HASH] ENABLE_SHOW_MOBLEVEL
[HASH=3]#endif[/HASH]
// ### New From LocaleInc ###
//////////////////////////////////////////////////////////////////////////

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

// [HASH=1]#define[/HASH] ENABLE_MAGIC_REDUCTION_SYSTEM
[HASH=1]#define[/HASH] ENABLE_MOUNT_COSTUME_SYSTEM
[HASH=1]#define[/HASH] ENABLE_WEAPON_COSTUME_SYSTEM
// ### From GameLib ###
//////////////////////////////////////////////////////////////////////////


/*
    ###        New System Defines - Extended Version        ###
*/

// if is define ENABLE_ACCE_SYSTEM the players can use shoulder sash
// if you want to use object scaling function you must defined ENABLE_OBJ_SCALLING
[HASH=1]#define[/HASH] ENABLE_ACCE_SYSTEM
[HASH=1]#define[/HASH] ENABLE_OBJ_SCALLING

// if you want use SetMouseWheelScrollEvent or you want use mouse wheel to move the scrollbar
[HASH=1]#define[/HASH] ENABLE_MOUSEWHEEL_EVENT

//if you want to see highlighted a new item when dropped or when exchanged
[HASH=1]#define[/HASH] ENABLE_HIGHLIGHT_NEW_ITEM

//### - New system - ###

[HASH=1]#define[/HASH] ENABLE_EMOJI_SYSTEM //Emoji system by peng3r
[HASH=1]#define[/HASH] ENABLE__SELL_ITEM__ //Enable sell item with system emoji
[HASH=1]#define[/HASH] ENABLE__DELETE_ITEM__ //Enable deleted item with system emoji
[HASH=1]#define[/HASH] ENABLE_RENEWAL_ADD_STATS //### Add +10 stats
[HASH=1]#define[/HASH] AUTO_PICKUP //### Sys pick up
[HASH=1]#define[/HASH] SKILL_COOLTIME_UPDATE //### Fix - When kill restore skill (No wait restore)100%
[HASH=1]#define[/HASH] ENABLE_INPUT_IGNORE //### Disable windows on quest
[HASH=1]#define[/HASH] ENABLE_SELECT_HAB //### Choose skill when up level 5
[HASH=1]#define[/HASH] CHAT_YANG_NEW //### Chat yang a part
[HASH=1]#define[/HASH] BUY_ITEM_SHOW_FREE //### When buy items "0 yang" to "Free"
[HASH=1]#define[/HASH] ENABLE_MESSENGER_TEAM //### Messenger Teams GM list
[HASH=1]#define[/HASH] ENABLE_HIDE_COSTUME_SYSTEM // ### Costume hide
[HASH=1]#define[/HASH] ENABLE_FOV_OPTION //### New Modifiable Ingame Perspective
[HASH=1]#define[/HASH] ENABLE_HAIR_SPECULAR //### Specular on hair costume
[HASH=1]#define[/HASH] ENABLE_EMOTION_HIDE_WEAPON //### Hide Weapon when emotion
[HASH=1]#define[/HASH] TELEPORT_MINIMAP_GM_ENABLE //### Enable teleport gm on minimap
[HASH=1]#define[/HASH] SPECULAR_NPCS_MOBS_MOUNTS //### Specular on npcs, mobs, mounts
[HASH=1]#define[/HASH] ENABLE_SHOW_MAP_BOSS_AND_STONE //### Enable show stone and boss in minimap
[HASH=1]#define[/HASH] ENABLE_EFFECT_BOSS //### Show effect boss on head
[HASH=1]#define[/HASH] __EXTENDED_SAFEBOX__ //### Enable extended warehouse/safebox
[HASH=1]#define[/HASH] _EXTENDED_EXCHANGE_PLAYERS //### Enable extended exchange with players
[HASH=1]#define[/HASH] ENABLE_SEND_TARGET_INFO //### Enable send target info drops mobs
[HASH=1]#define[/HASH] ENABLE_ANTI_EXP //### Ring Non-Exp
[HASH=1]#define[/HASH] ENABLE_AGGREGATE_MONSTER_EFFECT //### Effect cape
[HASH=1]#define[/HASH] BUTTON_OFICIAL //### Button oficial systtem deposite and teleport
[HASH=1]#define[/HASH] ALERT_TASKBAR_ICON //### When recive a chat private alert on icon metin2
[HASH=1]#define[/HASH] ENABLE_STOP_COLISSION_GLOBAL //### Colission global
[HASH=1]#define[/HASH] ENABLE_SAFEZONE_STOP_COLLISION //### Colission safezone city
[HASH=1]#define[/HASH] ENABLE_STOP_COLLISION_PLAYER_OX //### Colission ox map
[HASH=1]#define[/HASH] ENABLE_ADD_BONUS_DECRIPTION //### Decription bonus "You can add new bonus"
[HASH=1]#define[/HASH] ENABLE_BLOCK_AUTO_ATTACK //### Auto attack block on players
[HASH=1]#define[/HASH] MEMORY_LEAK //### Memory leak
[HASH=1]#define[/HASH] READ_FROM_PACK //### Reading from pack, instead of drive D
[HASH=1]#define[/HASH] MEMORY_LEAK02 //### Memory leak
[HASH=1]#define[/HASH] ENABLE_KNOCKBACK_BOSS //### knockback boss
[HASH=1]#define[/HASH] BL_OFFLINE_MESSAGE //### Offline Message System
[HASH=1]#define[/HASH] ENABLE_VIEW_TARGET_DECIMAL_HP //### View targets decimal hp
[HASH=2]#ifdef[/HASH] ENABLE_VIEW_TARGET_DECIMAL_HP
    [HASH=1]#define[/HASH] ENABLE_VIEW_TARGET_PLAYER_HP //### View target player's hp
    [HASH=1]#define[/HASH] ENABLE_PERCENT_IN_HEALTH //### View Percent % in helth
[HASH=3]#endif[/HASH]
[HASH=1]#define[/HASH] ENABLE_CONQUEROR_LEVEL //### New skill oficial + windows
[HASH=1]#define[/HASH] ENABLE_SWITCHBOT_MIJAGO //### Switchbot Mijago
[HASH=1]#define[/HASH] ENABLE_SWITCH_HOOK //### Enable switch hook
[HASH=1]#define[/HASH] DESCRIPTION_ITEMS_REFINE //### Description items on trade
[HASH=1]#define[/HASH] DESCRIPTION_ITEMS_DROP //### Description drops items on trade
[HASH=1]#define[/HASH] DESCRIPTION_ITEMS_EVOLUTIONS //### Description evolution items
[HASH=1]#define[/HASH] ENABLE_UPDATE_GYEONGGONG_SKILL //### Official assassin bow skill update
[HASH=1]#define[/HASH] PERMAMENT_BLENDS //### Permament blend potion
[HASH=1]#define[/HASH] ENABLE_AFFECT_BUFF_REMOVE //### Remove skill affect
[HASH=1]#define[/HASH] ENABLE_MULTI_LANGUAGE //### Multilang system
[HASH=1]#define[/HASH] ENABLE_FLAG_WHISPER //### Flag on whisper
[HASH=1]#define[/HASH] ENABLE_MOVE_CHANNEL //### Move game channel
[HASH=1]#define[/HASH] ENABLE_SHOW_CHEST_DROP //### Chest/box drop view
[HASH=1]#define[/HASH] ENABLE_DUNGEON_INFO_SYSTEM //### Info dungeon system
[HASH=1]#define[/HASH] GLOBAL_RANKING_V2 //### Global ranking Version 2
[HASH=1]#define[/HASH] MANA_EXP_PERCENTAGE_GROUP //### Mana and exp percentage group party Update

//### - FIX - ###
[HASH=1]#define[/HASH] CUBE_RELOAD_FIX //### Fix command reload c
[HASH=1]#define[/HASH] ENABLE_HAB_AIR_FIX //### Fix skill when mount horse
[HASH=1]#define[/HASH] ENABLE_FOG_FIX //### Fix Fog ingame
[HASH=1]#define[/HASH] ENABLE_FIX_ERROR_HAB //### Fix skill error
[HASH=1]#define[/HASH] FIX_AUTOATTACK_01 //### Fix Autoattack
[HASH=1]#define[/HASH] ENABLE_FIX_RACE_HEIGHT //### Fix Race height
//#define ENABLE_LINK_FROM_HYPERLINK // Enable copy a item link from hyperlink with ALT+CLICK.
[HASH=1]#define[/HASH] ENABLE_FIX_MOBS_LAG //### Fix mobs lag ingame
[HASH=1]#define[/HASH] BLACKWINDOW_FIX //### Black window fix

//### - INFINITE ITEMS - ###
[HASH=1]#define[/HASH] ARROW_INFINITE //### Arrow infinite

//### - DISABLE FUNCTION - ###
//#define ENABLE_FIX_D_YMIR_WORK //### Fix Disk local D

//### - NEW EVENTS - ###
[HASH=1]#define[/HASH] LETTER_EVENT


//### Add 4ยบ bonus on item_proto
//#define __EXTENDED_APPLY__


/*
    ###        New Debugging Defines
*/
// [HASH=1]#define[/HASH] ENABLE_PRINT_RECV_PACKET_DEBUG


[HASH=1]#define[/HASH] ENABLE_RENDER_TARGET
[HASH=1]#define[/HASH] ENABLE_SPECIAL_STORAGE
[HASH=1]#define[/HASH] ENABLE_SWITCHBOT

    //OFFSHOP
    [HASH=1]#define[/HASH] __ENABLE_NEW_OFFLINESHOP__
    //#define ENABLE_OFFLINESHOP_DEBUG
    [HASH=1]#define[/HASH] ENABLE_NEW_SHOP_IN_CITIES
    [HASH=1]#define[/HASH] ENABLE_NEW_OFFLINESHOP_NOTIFICATION
    #if defined(ENABLE_OFFLINESHOP_DEBUG) && defined(_DEBUG)
    #    define OFFSHOP_DEBUG(fmt , ...) Tracenf("%s:%d >> " fmt , __FUNCTION__ , __LINE__, __VA_ARGS__)
    [HASH=2311]#else[/HASH]
    #    define OFFSHOP_DEBUG(...)
    [HASH=3]#endif[/HASH]

CommonDefines:
Kod:
#ifndef __INC_METIN2_COMMON_DEFINES_H__
[HASH=1]#define[/HASH] __INC_METIN2_COMMON_DEFINES_H__
///////////////////////////////////////////////////////////
// ### General Features ###
//#define ENABLE_QUEST_CATEGORY
[HASH=1]#define[/HASH] ENABLE_D_NJGUILD
[HASH=1]#define[/HASH] ENABLE_FULL_NOTICE
[HASH=1]#define[/HASH] ENABLE_NEWSTUFF
[HASH=1]#define[/HASH] ENABLE_PORT_SECURITY
[HASH=1]#define[/HASH] ENABLE_BELT_INVENTORY_EX
[HASH=1]#define[/HASH] ENABLE_CMD_WARP_IN_DUNGEON
// [HASH=1]#define[/HASH] ENABLE_ITEM_ATTR_COSTUME
// [HASH=1]#define[/HASH] ENABLE_SEQUENCE_SYSTEM

enum eCommonDefines {
    MAP_ALLOW_LIMIT = 32, // 32 default
};
// ### General Features ###
//////////////////////////////////////////////////////////////////////////

//////////////////////////////////////////////////////////////////////////
// ### CommonDefines Systems ###
//#define ENABLE_WOLFMAN_CHARACTER
[HASH=2]#ifdef[/HASH] ENABLE_WOLFMAN_CHARACTER
[HASH=1]#define[/HASH] USE_MOB_BLEEDING_AS_POISON
[HASH=1]#define[/HASH] USE_MOB_CLAW_AS_DAGGER
// [HASH=1]#define[/HASH] USE_ITEM_BLEEDING_AS_POISON
// [HASH=1]#define[/HASH] USE_ITEM_CLAW_AS_DAGGER
[HASH=1]#define[/HASH] USE_WOLFMAN_STONES
[HASH=1]#define[/HASH] USE_WOLFMAN_BOOKS
[HASH=3]#endif[/HASH]

[HASH=1]#define[/HASH] ENABLE_PLAYER_PER_ACCOUNT5
[HASH=1]#define[/HASH] ENABLE_DICE_SYSTEM
[HASH=1]#define[/HASH] ENABLE_EXTEND_INVEN_SYSTEM

[HASH=1]#define[/HASH] ENABLE_MOUNT_COSTUME_SYSTEM
[HASH=1]#define[/HASH] ENABLE_WEAPON_COSTUME_SYSTEM

// [HASH=1]#define[/HASH] ENABLE_MAGIC_REDUCTION_SYSTEM
[HASH=2]#ifdef[/HASH] ENABLE_MAGIC_REDUCTION_SYSTEM
// [HASH=1]#define[/HASH] USE_MAGIC_REDUCTION_STONES
[HASH=3]#endif[/HASH]


/*
    ###        New Defines Extended Version        ###
*/
// todo : coding GLOBAL GIFT SYSTEM
// if ENABLE_GLOBAL_GIFT is defined, the GMs can use the quest global_gift_management.quest to set a global gift
//#define ENABLE_GLOBAL_GIFT


[HASH=1]#define[/HASH] DISABLE_STOP_RIDING_WHEN_DIE //    if DISABLE_TOP_RIDING_WHEN_DIE is defined , the player does not lose the horse after his death
[HASH=1]#define[/HASH] ENABLE_ACCE_SYSTEM //fixed version
[HASH=1]#define[/HASH] ENABLE_HIGHLIGHT_NEW_ITEM //if you want to see highlighted a new item when dropped or when exchanged
[HASH=1]#define[/HASH] __ENABLE_KILL_EVENT_FIX__ //if you want to fix the 0 exp problem about the when kill lua event (recommended)
//### - New system - ###
[HASH=1]#define[/HASH] __DELETE_ITEM__ //### Enable sell item with system emoji
[HASH=1]#define[/HASH] __SELL_ITEM__ //### Enable sell item with system emoji
[HASH=1]#define[/HASH] ENABLE_RENEWAL_ADD_STATS //### Add +10 stats
[HASH=1]#define[/HASH] SKILL_COOLTIME_UPDATE //### Fix - Cuando mueres puedes hacer skill sin esperar a que termine el tiempo de las habilidades
[HASH=1]#define[/HASH] RELOAD_DROP_FLASH //### Reload mob drop item, special
[HASH=1]#define[/HASH] TIME_MOBS_DEAD //### Time when dead disappear
[HASH=1]#define[/HASH] ENABLE_AUTO_RELOAD_ADMIN_DATA //### Reload GM fast without close server
[HASH=1]#define[/HASH] ENABLE_MESSENGER_TEAM //### Messenger Teams GM list
[HASH=1]#define[/HASH] BUFF_PARTY //### Party buff chaman all pjs
[HASH=1]#define[/HASH] BLOCK_CHAT_OX //### Block chat on map ox
[HASH=1]#define[/HASH] ENABLE_IGNORE_LOWER_BUFFS //### Ignore lower buffs
[HASH=1]#define[/HASH] __HIDE_COSTUME_SYSTEM__ //### Hide costume part
[HASH=1]#define[/HASH] __EXTENDED_SAFEBOX__ //### Enable extended warehouse/safebox
[HASH=1]#define[/HASH] _EXTENDED_EXCHANGE_PLAYERS //### Enable extended exchange with players
[HASH=1]#define[/HASH] __SEND_TARGET_INFO__ //### Enable send target info drops mobs
[HASH=1]#define[/HASH] ENABLE_ANTI_EXP //### Ring Non-Exp
[HASH=1]#define[/HASH] ENABLE_AGGREGATE_MONSTER_EFFECT //### Effect cape
[HASH=1]#define[/HASH] REVIVED_MAX //### Revived without seconds with max HP and SP
[HASH=1]#define[/HASH] BUTTON_OFICIAL //### Button oficial systtem deposite and teleport
[HASH=1]#define[/HASH] ENABLE_FLOOD_PRETECTION //### Protect flood
[HASH=1]#define[/HASH] BL_OFFLINE_MESSAGE //### Offline Message System
[HASH=1]#define[/HASH] __VIEW_TARGET_DECIMAL_HP__ //### View targets decimal hp
[HASH=2]#ifdef[/HASH] __VIEW_TARGET_DECIMAL_HP__ //### View target players' hp
    [HASH=1]#define[/HASH] __VIEW_TARGET_PLAYER_HP__ //### View target players' hp
[HASH=3]#endif[/HASH]
[HASH=1]#define[/HASH] ENABLE_CONQUEROR_LEVEL //### New skill oficial + windows
[HASH=1]#define[/HASH] CHANGE_ATTRIBUTE_IMPROVEMENT //### Change bonus improvement
[HASH=1]#define[/HASH] ENABLE_SWITCH_HOOK //### Enable switch hook
[HASH=1]#define[/HASH] NEW_SKILL_KNOCKBACK //### Enable new skill knockback
[HASH=1]#define[/HASH] SKILL_PAERYONG_CENTER //### Skill shaman roar of the dragon target to center
[HASH=1]#define[/HASH] ENABLE_UPDATE_GYEONGGONG_SKILL //### Update assassin skill bow
[HASH=1]#define[/HASH] PERMAMENT_BLENDS //### Permament blend potions
[HASH=1]#define[/HASH] ENABLE_AFFECT_BUFF_REMOVE //### Remove skill affect
[HASH=1]#define[/HASH] ENABLE_MULTI_LANGUAGE //### Multilang system
[HASH=1]#define[/HASH] ENABLE_FLAG_WHISPER //### Flag on whisper
[HASH=1]#define[/HASH] __MOVE_CHANNEL__ //### Move channel system
[HASH=1]#define[/HASH] ENABLE_SHOW_CHEST_DROP //###Chest/box drop view
[HASH=1]#define[/HASH] ENABLE_DUNGEON_INFO_SYSTEM //###Info dungeon system
[HASH=1]#define[/HASH] GLOBAL_RANKING_V2 //### Global Ranking version 2
[HASH=1]#define[/HASH] ENABLE_BOSS_TRACKING //### Boss Tracking
[HASH=1]#define[/HASH] MANA_EXP_PERCENTAGE_GROUP //### Mana and exp percentage group party Update
[HASH=1]#define[/HASH] CHAT_PM_LOG //### PM log chat

//### - FIX - ###
[HASH=1]#define[/HASH] FIX_YANG_BUY_0 //### Fix yang when buy 0
[HASH=1]#define[/HASH] CUBE_RELOAD_FIX //### Fix command reload c
[HASH=1]#define[/HASH] FIX_DISTANCE_ATTACK //### Distance attack with sword
[HASH=1]#define[/HASH] FIX_CHANGE_RACE //### Change race fix
[HASH=1]#define[/HASH] ENABLE_FLUSH_CACHE_FEATURE //### Flush cache
[HASH=1]#define[/HASH] FLUSH_AT_SHUTDOWN //### Flush when shutdown
[HASH=1]#define[/HASH] GET_POINT_MOVE_FIX //### Fix point movement
[HASH=1]#define[/HASH] FIX_STACK_BUY //### stack when buy

//### - INFINITE ITEMS - ###
[HASH=1]#define[/HASH] ARROW_INFINITE //### Arrow infinite
[HASH=1]#define[/HASH] ITEM_CAPE_OF_COURAGE_INFINITE // Cape infinite

//### - DISABLE FUNCTION - ###
[HASH=1]#define[/HASH] DISABLE_TIME_GUILD
//#define ENABLE_CHAT_SHOUT_LIMIT_HYPERLINK //### Limit Hyperlink on chat

//### - NEW EVENTS - ###
[HASH=1]#define[/HASH] LETTER_EVENT


/*
    ***  Defines To DEBUG  ***
*/
// [HASH=1]#define[/HASH] ENABLE_SYSLOG_PACKET_SENT



//### Add 4ยบ bonus on item_proto
//#define __EXTENDED_APPLY__

[HASH=1]#define[/HASH] ENABLE_SPECIAL_STORAGE
[HASH=1]#define[/HASH] ENABLE_SWITCHBOT

    //OFFLINESHOP
    [HASH=1]#define[/HASH] __ENABLE_NEW_OFFLINESHOP__
    [HASH=2]#ifdef[/HASH] __ENABLE_NEW_OFFLINESHOP__
        [HASH=1]#define[/HASH] ENABLE_NEW_SHOP_IN_CITIES
        [HASH=1]#define[/HASH] ENABLE_NEW_OFFLINESHOP_LOGS
        [HASH=1]#define[/HASH] ENABLE_NEW_OFFLINESHOP_NOTIFICATION
    [HASH=3]#endif[/HASH]
    // [HASH=1]#define[/HASH] ENABLE_OFFLINESHOP_DEBUG
    [HASH=2]#ifdef[/HASH] ENABLE_OFFLINESHOP_DEBUG
        [HASH=2]#ifdef[/HASH] __WIN32__
            [HASH=1]#define[/HASH] OFFSHOP_DEBUG(fmt , ...) sys_log(0,"%s:%d >> " fmt , __FUNCTION__ , __LINE__, __VA_ARGS__)
        [HASH=2311]#else[/HASH]
            [HASH=1]#define[/HASH] OFFSHOP_DEBUG(fmt , args...) sys_log(0,"%s:%d >> " fmt , __FUNCTION__ , __LINE__, [HASH=6564]##args[/HASH])
        [HASH=3]#endif[/HASH]
    [HASH=2311]#else[/HASH]
        [HASH=1]#define[/HASH] OFFSHOP_DEBUG(...)
    [HASH=3]#endif[/HASH]




// ### CommonDefines Systems ###
//////////////////////////////////////////////////////////////////////////

[HASH=3]#endif[/HASH]

FreeBSD 12.2
Visual-Studio 22
Yazar
Ruling
İndirilme
7
Görüntüleme
178
İlk yayınlama
Son güncelleme
Değerlendirme
0.00 yıldız 0 değerlendirme

Ruling ait diğer kaynakar

Tema düzenleyici