Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ifndef __INC_SERVICE_H__
- #define __INC_SERVICE_H__
- #define ENABLE_AUTODETECT_INTERNAL_IP
- #define ENABLE_PROXY_IP
- #endif
- /*
- -----------------------============================-----------------------
- Server Defines
- -----------------------============================-----------------------
- */
- #define ENABLE_HEAVY_FIXES // @ All available fixes for ymir sources
- #define ENABLE_SERVERSIDE_SECURITY // @ Server-side anti-cheat: per-target hit rate limit (speed/BowHack) + teleport/WH distance check on every PC hit, blocked-hit counter written to hack_log on logout. Tunables in ServerConfig.h
- #define ENABLE_PRELOAD_ENTITIES // @ Preload a map's unique mob races on Entergame to kill the ~200ms first-meeting freeze
- #define ENABLE_SERVER_OPTIMIZATIONS // @ Inventory slots moved off CHARACTER into a heap PlayerSlotT allocated only for players (mobs no longer carry them)
- #define ENABLE_EXTEND_ITEM_AWARD // @ item_award (webshop delivery) hardening: item attributes, addon-type/skillbook/socket/count/blend sanity checks
- #define USE_ITEM_AWARD_CHECK_ATTRIBUTES // @ clamp webshop-delivered bonuses to the item_attr/item_attr_rare lv1-lv5 range for that item's attribute set, drop duplicates and bonuses illegal on that item type
- #define ENABLE_MULTI_FARMBLOCK // @ Per-machine cap on how many characters may collect loot at once (client and server MUST match: TPacketCGLogin2 grows a mac field). Cap in ServerConfig.h
- #define ENABLE_REGEN_RT // @ REAL TIME - Wall clock boss regen from real_time_regen.json / TXT/real_time_regen.txt: every N minutes, or at fixed hours. Tunables in ServerConfig.h
- #define ENABLE_PARTY_POSITION // @ Party member marks on the atlas even when out of view: 3s server tick sends every member x/y/rot (client and server MUST match: new packet). The client define has the SAME name
- #define ENABLE_NEW_EMOTIONS // @ 26 extra emotions (dance7-9, selfie, doze, exercise, pushup, ...).
- #define ENABLE_INVENTORY_PAGES // @ Inventory grows from 2 to INVENTORY_PAGE_COUNT (ServerConfig.h) The client define has the SAME name
- #define ENABLE_PVP_BALANCE_IMPROVING // @ Gyeonggong becomes a 1s damage aura (needs skill_proto 49 szPointPoly2 + dwSplashRange, see sql/migrations) + stun duration clamp. The client define has the SAME name
- #define ENABLE_PARTY_PROFICY // @ Party Proficiency (skill 133): the leader takes a share of every member role bonus, scaled by leadership tier + skill level. Needs skill_proto 133 + item_proto 50338-50340. The client define has the SAME name
- #define ENABLE_GUILD_RENEWAL_SHOW // @ Guild name on the text tail: rank prefix (Leader - Guild) + colour by ladder rank (top 1/2/3). Client and server MUST match: packet_char_additional_info, packet_update_char and packet_guild_name grow. The client define has the SAME name
- #define ENABLE_MAINTENANCE_SYSTEM // @ Maintenance system w/ blocking access to non-gm players
- #define ENABLE_MULTILANGUAGE_SYSTEM // @ In-game language switch, per-player country code, country/empire flags in chat
- /*
- -----------------------============================-----------------------
- /*
- -----------------------============================-----------------------
- Basic Systems Defines
- -----------------------============================-----------------------
- */
- #define ENABLE_MARKING_SYSTEM // @ Sends the source inventory cell of an item added to a trade so the client can mark it (client and server MUST match: packet_exchange grows)
- #define ENABLE_CHAT_SETTINGS // @ Multi-tab chat w/ per-tab filter profiles + exp/item/money chat types (client and server MUST match: the chat type enum is on the wire)
- #define ENABLE_GLOBAL_CHAT // @ Kingdoms can coordinate: shouts reach every empire (not just the shouters own) and the cross-empire text scrambling is off for map chat AND whisper, so the Language skills / Ring of Language stop mattering. The name in a chat line becomes a whisper hyperlink. Flags on the line come from ENABLE_MULTILANGUAGE_SYSTEM. Server only; the client python branch is inert without it
- #define ENABLE_QUEST_RENEWAL // @ Categorised quest page: server tags each quest with a category from questcategory.txt + a per-player seen flag (client and server MUST match: packet_quest_info grows)
- #define ENABLE_MOVE_CHANNEL // @ In-game channel switch (/change_channel). game and db MUST be rebuilt together: TMapLocation grows a channel byte
- #define ENABLE_OPTION_UNSTUCK // @ Unstuck button in the system menu: teleports a player off a blocked tile, or to town. Client side is python only. Tunables in ServerConfig.h
- #define ENABLE_TASKBAR_ANTIEXP // @ Taskbar toggle that blocks all exp gain (/anti_exp), state kept as a persistent affect (client and server MUST match). Cooldown in ServerConfig.h
- #define ENABLE_RESTART_DIALOG_TIMER // @ Countdown on the death/restart dialog: greys the restart buttons until the server accepts them and shows the auto revive timer (client and server MUST match: packet_dead grows). Tunables in ServerConfig.h
- #define ENABLE_TARGET_INFO // @ "?" on the target board: mob stats + its real drop table with a per-item chance and a drop-eligibility line (client and server MUST match: new packet). Cooldown in ServerConfig.h
- #define ENABLE_TARGET_HP_SYSTEM // @ Exact hp numbers on the target board, and other players get an hp bar at all (stock hides it) (client and server MUST match: packet_target grows). The client define has the SAME name
- #define ENABLE_SPECIAL_INVENTORY // @ Four extra type-sorted inventories (skill books / upgrade materials / stones / chests), SPECIAL_INVENTORY_PAGE_COUNT pages of 45 each, appended after the belt (client and server MUST match). The client define has the SAME name
- #define __PET_SYSTEM__
Add Comment
Please, Sign In to add comment