Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
105 commits
Select commit Hold shift + click to select a range
a34af67
Add the 'ninjac' alias for ninja, providing colorful output
MishimaHaruna Sep 12, 2026
06e1158
Fix HPMHooks data check generator marking API server as unknown type
hemagx Sep 17, 2026
4d6e609
HPM Hooks Update
hemagx Sep 17, 2026
b0773c1
Fix a call to mob_db() bypassing the mob->db() interface
hemagx Sep 17, 2026
fe623b7
Fix a conflicting enum name used in test_equippos
MishimaHaruna Aug 22, 2026
780f451
Remove the use of gcc extensions in test_equippos
MishimaHaruna Aug 22, 2026
3feba1b
Fix missing initializer warnings in test_equippos in gcc
MishimaHaruna Aug 22, 2026
88c8ebb
Change WFIFO2PTR/WP2PTR macros to take an additional type argument an…
MishimaHaruna Aug 15, 2026
6b8894b
Change RFIFO2PTR/RP2PTR macros to take an additional type argument an…
MishimaHaruna Aug 15, 2026
53380c8
Change the WBUFP macro to take an additional type argument and automa…
MishimaHaruna Aug 15, 2026
3131867
Change the RBUFP macro to take an additional type argument and automa…
MishimaHaruna Aug 15, 2026
a8ee10e
Change the WFIFOP macro to take an additional type argument and autom…
MishimaHaruna Aug 15, 2026
d14ab6e
Change the RFIFOP macro to take an additional type argument and autom…
MishimaHaruna Aug 15, 2026
50982ef
Replace WFIFOP() with WP2PTR() where appropriate
MishimaHaruna Aug 15, 2026
06f153f
Replace RFIFOP() with RP2PTR() where appropriate
MishimaHaruna Aug 15, 2026
0d157f0
Add explicit casts from the void* result of DB->data2ptr() to the app…
hemagx Sep 17, 2026
2d66d07
Add explicit casts from the void* result of the {*}db_get() family of…
hemagx Sep 17, 2026
8fc60f1
Add explicit casts from the void* result of the {*}db_ensure() family…
hemagx Sep 17, 2026
d505bef
Add explicit casts from the void* result of the idb_{first,last,next,…
hemagx Sep 17, 2026
458ddf9
Add explicit casts from the void* result of the aMalloc/aCalloc/aReal…
hemagx Sep 17, 2026
f5cce4d
Add explicit casts from the void* sockt->session[fd]->session_data to…
hemagx Sep 17, 2026
ee4046d
Add explicit casts between void* and other pointer types
hemagx Sep 17, 2026
6be224c
Add missing enums to the HPMHookGen script
MishimaHaruna Aug 22, 2026
79bc87b
HPM Hooks Update
MishimaHaruna Sep 14, 2026
4a64724
Rework ACMD(changelook) to clarify types and avoid reusing variables …
MishimaHaruna Sep 13, 2026
0783c85
Fix the default values of the battle config flags skillrange_by_dista…
hemagx Sep 17, 2026
9d4c343
Change skill->get_hit() to return the appropriate enum type enum batt…
MishimaHaruna Sep 13, 2026
264b049
HPM Hooks Update
MishimaHaruna Sep 13, 2026
7e14c53
Change skill->get_casttype() to return the appropriate enum type enum…
MishimaHaruna Sep 13, 2026
54126d4
HPM Hooks Update
MishimaHaruna Sep 13, 2026
9ce23df
Fix skill->strip_equip() attempting to start SC_NONE for strip types …
hemagx Sep 17, 2026
ba07ed1
Fix a variable in skill_attack() getting overwritten with unrelated data
MishimaHaruna Sep 13, 2026
000bfa4
Update the signatures of skill->attack_display_unknown() skill->attac…
MishimaHaruna Sep 13, 2026
f6c99d2
HPM Hooks Update
MishimaHaruna Sep 13, 2026
d443f97
Add explicit casts between integral types and enums
hemagx Sep 17, 2026
7149a1c
Add a 'zero' value QMT_NONE to enum quest_mobtype
MishimaHaruna Sep 13, 2026
ed816fd
Add a 'zero' value LABEL_NOFLAGS to enum script_label_flags
MishimaHaruna Sep 13, 2026
fdc586e
Add spaces between string literals and macros
hemagx Sep 17, 2026
da5d3aa
Change several strings that are used to point to string literals, to …
hemagx Sep 17, 2026
8dd4b05
HPM Hooks Update
MishimaHaruna Aug 17, 2026
38e3bae
Fix several nullpo assertions returning the wrong type
hemagx Sep 17, 2026
67ed0a7
Add a missing scope in a switch case that declares local variables
MishimaHaruna Sep 14, 2026
0dcb208
Add missing FALLTHROUGH annotations to many swith cases in skill_cast…
MishimaHaruna Sep 14, 2026
d2fa2bb
Fix a fallthrough annotation not used directly before the next label
MishimaHaruna Sep 15, 2026
84cbae9
Ensure that both branches of min() and max() resolve to the same type
hemagx Sep 17, 2026
1b1ed07
Define NOMINMAX in MSVC builds to prevent definition of min and max a…
hemagx Sep 17, 2026
b955b40
Define the HSWAP, HSWAP_PTR, HMAX, HMIN macros, to help with the c++ …
MishimaHaruna Sep 13, 2026
9591d3a
Replace swap_ptr calls with HSWAP_PTR
MishimaHaruna Sep 13, 2026
e9ac831
Replace swap calls with HSWAP
MishimaHaruna Sep 13, 2026
e8d7e7f
Replace min calls with HMIN
MishimaHaruna Sep 13, 2026
ac79caf
Replace max calls with HMAX
MishimaHaruna Sep 13, 2026
93fdf26
Rename the not-for-public-use internal swap, swap_ptr, max, min to de…
MishimaHaruna Sep 13, 2026
ba1a8b5
Ensure that min/max pairs of configuration settings define a valid range
MishimaHaruna Sep 19, 2026
301fd44
Update the minimum values of some configuration entries to match what…
MishimaHaruna Sep 19, 2026
ce2033a
Detect invalid min-max ranges passed to the script commands input() a…
MishimaHaruna Sep 19, 2026
a6832ec
Sanitize the min-max ranges passed to cap_value()
MishimaHaruna Sep 19, 2026
9f57b21
Rename itemdb->typename() to itemdb->type_to_name() to avoid c++ keyw…
hemagx Sep 17, 2026
debfd61
HPM Hooks Update
hemagx Sep 19, 2026
3c0c18e
Rename some internal methods to avoid name conflicts with structs
hemagx Sep 17, 2026
33cb5b1
Avoid useless initialization of some char * pointers (*_CONF_NAME) wi…
MishimaHaruna Sep 14, 2026
0c2d345
Add a zero-initializer macro for structs (ZERO_INITIALIZED)
hemagx Sep 17, 2026
419dae9
HPM Hooks Update
hemagx Sep 19, 2026
1b4ddd7
Make the char * pointers in sysinfo always own their pointed data
hemagx Sep 17, 2026
2773717
Add some missing returns to silence some compiler diagnostics false p…
hemagx Sep 17, 2026
9e01860
Add a helper macro for declaring the underlying type of enums in futu…
hemagx Sep 17, 2026
b47fc89
Update the HPMHooking generator to include explicit casts for the hoo…
hemagx Sep 17, 2026
2353704
HPM Hooks Update
hemagx Sep 19, 2026
a9521ce
Fix missing apisessiondata.h and mimepart.h from HPMapi.c
hemagx Sep 17, 2026
9ef3410
Fix incorrect integer returns from bool functions
hemagx Sep 17, 2026
17c7963
Remove unused switch in lapiif_parse_fromapi_api_proxy
hemagx Sep 17, 2026
1378b3e
Fix mixing of integer and bool operations in map server
hemagx Sep 17, 2026
588f807
Comment non-implemented tests in test_libconfig
hemagx Sep 17, 2026
de5a9e8
Move the suggest-attribute=format warning suppression in HPMHooking t…
MishimaHaruna Sep 15, 2026
9bee0aa
Remove the unused HERCULES_CORE_HPMI_SKIP macro
MishimaHaruna Sep 15, 2026
c8119c0
Add the HPM_DECLARE_PLUGIN() macro replacing the manual definition of…
MishimaHaruna Sep 15, 2026
5be0e6a
Update HPMDataCheck with better C++ compatibility
MishimaHaruna Sep 16, 2026
a963e2a
HPM Hooks Update
MishimaHaruna Sep 16, 2026
ef74124
Move the HPMHooking symbols to the HPM_DECLARE_PLUGIN macro (autodete…
MishimaHaruna Sep 16, 2026
90cbeb0
Implement required code changes for common target to compile as C++
hemagx Jun 30, 2026
cce8d8f
Implement type aware C++ versions of WFIFO_CHUNKED_BLOCK_START_RAW1 a…
hemagx Sep 17, 2026
fdc50ef
Implement type aware version of RFIFO_CHUNKED_COMPLETE for C++
hemagx Sep 17, 2026
062b0d5
Implement C++ replacements for the const-correct strchr, strrchr, str…
MishimaHaruna Sep 15, 2026
e2b622c
Implement required code changes for api-server target to compile as C++
hemagx Jul 21, 2026
af98660
Implement required code changes for login-server target to compile as…
hemagx Jul 21, 2026
0973811
Implement required code changes for char-server target to compile as C++
hemagx Aug 10, 2026
01e7be0
Implement required code changes for map-server target to compile as C++
hemagx Sep 19, 2026
b9d3693
Change GUARD_MAP_LOCK to use class instead of gcc `__cleanup__` exten…
hemagx Aug 21, 2026
1af6a2a
Temporary disable C4611 warning on _setjmp until we move to exception…
hemagx Sep 10, 2026
3442912
Apply required changes for tests to compile as C++
hemagx Sep 10, 2026
ef2db4e
Implement required code changes for plugins to compile as C++
hemagx Aug 22, 2026
cd7ab04
Replace HMIN, HMAX, HSWAP, HSWAP_PTR with their STL counterparts and …
MishimaHaruna Sep 13, 2026
674b76d
Replace the custom cap_value() macro with std::clamp() and remove the…
MishimaHaruna Aug 17, 2026
2f674b2
Remove the no longer necessary ZERO_INITIALIZED macro, replacing it w…
MishimaHaruna Sep 13, 2026
4684e69
HPM Hooks Update
MishimaHaruna Sep 14, 2026
33f6e89
Remove usage of the CXX_ENUM_TYPE macro in favor of the native C++ sy…
MishimaHaruna Sep 14, 2026
5977208
Remove the now unnecessary CXX_ENUM_TYPE macro
MishimaHaruna Sep 14, 2026
19ed1a9
Replace STATIC_ASSERT() with the C++ syntax, static_assert()
MishimaHaruna Sep 14, 2026
bcf2d9e
Replace FALLTHROUGH macro calls with an empty statement with the C++ …
MishimaHaruna Sep 15, 2026
e3a6725
Remove several no longer necessary extern C blocks
MishimaHaruna Sep 15, 2026
2b0dd2e
Remove some old C specific code that is no longer in use
MishimaHaruna Sep 15, 2026
ba89c56
Change script parsing errors from a longjmp to a C++ exception
hemagx Sep 19, 2026
d8cc74e
Addition of a .clang-format file with currently recommended coding style
hemagx Sep 19, 2026
d7686bf
Mark disp_error_message2() as noreturn and remove dead code that foll…
MishimaHaruna Sep 19, 2026
a07fad0
Remove the now no longer useful analyzer_noreturn attribute
MishimaHaruna Sep 19, 2026
47be818
Rename C++ source files to *.cpp
MishimaHaruna Sep 19, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
120 changes: 120 additions & 0 deletions .clang-format
Original file line number Diff line number Diff line change
@@ -0,0 +1,120 @@
---
BasedOnStyle: LLVM
Language: Cpp
AccessModifierOffset: -6
AlignAfterOpenBracket: Align
AlignArrayOfStructures: Right
AlignConsecutiveAssignments:
Enabled: true
AcrossEmptyLines: false
AcrossComments: true
AlignCompound: true
PadOperators: true
AlignConsecutiveBitFields:
Enabled: true
AcrossEmptyLines: false
AcrossComments: true
AlignCompound: false
PadOperators: false
AlignConsecutiveDeclarations:
Enabled: false
AcrossEmptyLines: false
AcrossComments: false
AlignCompound: false
PadOperators: false
AlignConsecutiveMacros:
Enabled: true
AcrossEmptyLines: false
AcrossComments: true
AlignCompound: false
PadOperators: false
AlignEscapedNewlines: Left
AlignOperands: AlignAfterOperator
AlignTrailingComments: true
AllowAllArgumentsOnNextLine: true
AllowShortEnumsOnASingleLine: false
AllowShortBlocksOnASingleLine: Never
AllowShortCaseLabelsOnASingleLine: false
AllowShortFunctionsOnASingleLine: None
AllowShortLambdasOnASingleLine: Inline
AllowShortIfStatementsOnASingleLine: Never
AllowShortLoopsOnASingleLine: false
AlwaysBreakAfterReturnType: None
AlwaysBreakBeforeMultilineStrings: true
AlwaysBreakTemplateDeclarations: Yes
BinPackArguments: false
BinPackParameters: true
BreakBeforeBinaryOperators: All
BreakBeforeConceptDeclarations: Allowed
BreakBeforeBraces: Linux
BreakBeforeTernaryOperators: true
BreakConstructorInitializers: BeforeColon
BreakStringLiterals: true
ColumnLimit: 120
QualifierAlignment: Left
CompactNamespaces: true
ConstructorInitializerIndentWidth: 8
ContinuationIndentWidth: 8
Cpp11BracedListStyle: true
DeriveLineEnding: false
DerivePointerAlignment: false
DisableFormat: false
EmptyLineAfterAccessModifier: Leave
EmptyLineBeforeAccessModifier: LogicalBlock
PackConstructorInitializers: NextLine
FixNamespaceComments: true
IncludeBlocks: Preserve
IndentAccessModifiers: false
IndentCaseLabels: false
IndentCaseBlocks: false
IndentGotoLabels: false
IndentPPDirectives: AfterHash
IndentExternBlock: NoIndent
IndentRequiresClause: true
IndentWidth: 8
IndentWrappedFunctionNames: true
InsertBraces: false
InsertTrailingCommas: None
KeepEmptyLinesAtTheStartOfBlocks: false
LambdaBodyIndentation: OuterScope
MaxEmptyLinesToKeep: 1
NamespaceIndentation: None
PointerAlignment: Right
PPIndentWidth: 2
ReferenceAlignment: Right
ReflowComments: true
RequiresClausePosition: OwnLine
SeparateDefinitionBlocks: Always
ShortNamespaceLines: 0
SortIncludes: CaseInsensitive
SortUsingDeclarations: true
SpaceAfterCStyleCast: false
SpaceAfterLogicalNot: false
SpaceAfterTemplateKeyword: false
SpaceBeforeAssignmentOperators: true
SpaceBeforeCaseColon: false
SpaceBeforeCpp11BracedList: false
SpaceBeforeCtorInitializerColon: true
SpaceBeforeInheritanceColon: true
SpaceBeforeParens: ControlStatements
SpaceAroundPointerQualifiers: Default
SpaceBeforeRangeBasedForLoopColon: true
SpaceInEmptyBlock: false
SpaceInEmptyParentheses: false
SpacesBeforeTrailingComments: 1
SpacesInAngles: Never
SpacesInConditionalStatement: false
SpacesInContainerLiterals: true
SpacesInCStyleCastParentheses: false
SpacesInLineCommentPrefix:
Minimum: 1
Maximum: -1
SpacesInParentheses: false
SpacesInSquareBrackets: false
SpaceBeforeSquareBrackets: false
BitFieldColonSpacing: Both
Standard: c++20
TabWidth: 8
UseCRLF: false
UseTab: ForIndentation
...
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
* text=auto
*.c diff=cpp
*.cpp diff=cpp
*.sh text eol=lf
*.bat text eol=crlf

Expand Down
8 changes: 8 additions & 0 deletions 3rdparty/mt19937ar/mt19937ar.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@
email: m-mat @ math.sci.hiroshima-u.ac.jp (remove space)
*/

#ifdef __cplusplus
extern "C" {
#endif

/* initializes mt[N] with a seed */
void init_genrand(unsigned long s);

Expand Down Expand Up @@ -70,3 +74,7 @@ double genrand_real3(void);

/* generates a random number on [0,1) with 53-bit resolution*/
double genrand_res53(void);

#ifdef __cplusplus
}
#endif
5 changes: 4 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ project(hercules LANGUAGES C CXX)
set(CMAKE_C_STANDARD 11)
set(CMAKE_C_STANDARD_REQUIRED ON)
set(CMAKE_C_EXTENSIONS ON)
set(CMAKE_CXX_STANDARD 20)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_EXTENSIONS NO)
set(CMAKE_EXPORT_COMPILE_COMMANDS ON CACHE BOOL "Enable compile commands" FORCE)
if(NOT CMAKE_SYSTEM_NAME STREQUAL "Windows")
set(CMAKE_INSTALL_LIBDIR "lib")
Expand Down Expand Up @@ -164,7 +167,7 @@ if(MSVC)
add_compile_options(/wd4100) # Disable unused parameter warning mostly due to BUILDIN and similar functions having unused parameters
add_compile_options(/wd4312) # Disable conversion to greater size warning (see 0xdeadbeef pointers)
# Definations
add_compile_definitions(WIN32 _WIN32 __WIN32 _CRT_SECURE_NO_DEPRECATE _CRT_NONSTDC_NO_DEPRECATE FD_SETSIZE=4096 WIN32_LEAN_AND_MEAN)
add_compile_definitions(WIN32 _WIN32 __WIN32 _CRT_SECURE_NO_DEPRECATE _CRT_NONSTDC_NO_DEPRECATE FD_SETSIZE=4096 WIN32_LEAN_AND_MEAN NOMINMAX)
else()
# Check for mandatory compile flags
include(CompilerFlagHelpers)
Expand Down
20 changes: 20 additions & 0 deletions cmake_modules/CompilerFlagHelpers.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,26 @@ function(testadd_warning_compiler_flag _name)
endif()
endfunction()

function(testadd_warning_compiler_flag_target _target_name _name)
set(options REQUIRED)
cmake_parse_arguments(PARSE_ARGV
1
arg
"${options}"
""
""
)

string(REGEX REPLACE "[^A-Za-z0-9_]" "_" _TESTADD_WARNING_FLAG_NAME _TESTADD_WARNING_FLAG_${_name})
set(CMAKE_REQUIRED_FLAGS "-Werror -Wfatal-errors")
check_c_compiler_flag("-W${_name}" ${_TESTADD_WARNING_FLAG_NAME}_FOUND)
if(${_TESTADD_WARNING_FLAG_NAME}_FOUND)
target_compile_options(${_target_name} PRIVATE "-W${_name}")
elseif(${arg_REQUIRED})
message(FATAL_ERROR "Compiler warning flag -W${_name} is required")
endif()
endfunction()

# Tests for compiler flag
# _name flag name
# REQUIRED flag to fail if check doesn't pass
Expand Down
1 change: 1 addition & 0 deletions conf/map/battle/battle.conf
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ undead_detect_type: 0
attribute_recover: false

// What is the minimum and maximum hit rate of normal attacks?
// min must not be greater than max.
min_hitrate: 5
max_hitrate: 100

Expand Down
1 change: 1 addition & 0 deletions conf/map/battle/client.conf
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ packet_obfuscation: 2
min_chat_delay: 0

// Valid range of dyes and styles on the client.
// min must not be greater than max.
min_hair_style: 0
max_hair_style: 29
min_hair_color: 0
Expand Down
9 changes: 9 additions & 0 deletions conf/map/battle/drops.conf
Original file line number Diff line number Diff line change
Expand Up @@ -61,51 +61,60 @@ mvp_item_third_get_time: 2000
// Item drop rates (Note 2)

// The rate the common items are dropped (Items that are in the ETC tab, besides card).
// min must not be greater than max.
item_rate_common: 100
item_rate_common_boss: 100
item_drop_common_min: 1
item_drop_common_max: 10000

// The rate healing items are dropped (items that restore HP or SP).
// min must not be greater than max.
item_rate_heal: 100
item_rate_heal_boss: 100
item_drop_heal_min: 1
item_drop_heal_max: 10000

// The rate at which usable items (in the item tab) other then healing items are dropped.
// min must not be greater than max.
item_rate_use: 100
item_rate_use_boss: 100
item_drop_use_min: 1
item_drop_use_max: 10000

// The rate at which equipment is dropped.
// min must not be greater than max.
item_rate_equip: 100
item_rate_equip_boss: 100
item_drop_equip_min: 1
item_drop_equip_max: 10000

// The rate at which cards are dropped.
// min must not be greater than max.
item_rate_card: 100
item_rate_card_boss: 100
item_drop_card_min: 1
item_drop_card_max: 10000

// The rate adjustment for the MVP items that the MVP gets directly in their inventory.
// min must not be greater than max.
item_rate_mvp: 100
item_drop_mvp_min: 1
item_drop_mvp_max: 10000

// The rate adjustment script-granted single drop bonuses
// min must not be greater than max.
item_rate_adddrop: 100
item_drop_add_min: 1
item_drop_add_max: 10000

// The rate adjustment for items declared in item_chain.conf
// min must not be greater than max.
item_rate_add_chain: 100
item_drop_add_chain_min: 1
item_drop_add_chain_max: 10000

// Rate adjustment for Treasure Box drops (these override all other modifiers)
// min must not be greater than max.
item_rate_treasure: 100
item_drop_treasure_min: 1
item_drop_treasure_max: 10000
Expand Down
7 changes: 7 additions & 0 deletions conf/map/battle/limits.conf
Original file line number Diff line number Diff line change
Expand Up @@ -28,29 +28,36 @@
//=========================================================================

// basic attack limits
// min must not be greater than max.
batk_min_limit: 0
batk_max_limit: 65535

// magic attack limits
// min must not be greater than max.
matk_min_limit: 0
matk_max_limit: 65535

// weapon attack limits
// min must not be greater than max.
watk_min_limit: 0
watk_max_limit: 65535

// flee limits
// min must not be greater than max.
flee_min_limit: 1
flee_max_limit: 32767

// flee2 limits
// min must not be greater than max.
flee2_min_limit: 10
flee2_max_limit: 32767

// critical attack limits
// min must not be greater than max.
critical_min_limit: 10
critical_max_limit: 32767

// hit limits
// min must not be greater than max.
hit_min_limit: 1
hit_max_limit: 32767
2 changes: 2 additions & 0 deletions conf/map/script.conf
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,14 @@ script_configuration: {

// Default value of the 'min' argument of the script command 'input'.
// When the 'min' argument isn't provided, this value is used instead.
// 'min' must not be greater than 'max'.
// Defaults to 0
input_min_value: 0

// Default value of the 'max' argument of the script command 'input'.
// When the 'max' argument isn't provided, this value is used instead.
// Max allowed value that can be used is INT_MAX (2147483647).
// 'min' must not be greater than 'max'.
// Defaults to 10000000
input_max_value: 10000000

Expand Down
12 changes: 6 additions & 6 deletions conf/messages.conf
Original file line number Diff line number Diff line change
Expand Up @@ -1507,7 +1507,7 @@
1391: You do not possess a cart to be removed
1392: Cart Added.

// atcommand.c::is_atcommand
// atcommand.cpp::is_atcommand
1393: You can't use commands while dead.

// @clearstorage
Expand Down Expand Up @@ -1607,19 +1607,19 @@
1472: - Available Costumes
1473: Costume '%s' removed.

//src/map/pc.c::pc_isUseitem
//src/map/pc.cpp::pc_isUseitem
1474: You cannot use this item while sitting.
1475: You cannot use this item while your storage is open.

1476: You are already mounting something else.

//src/map/pc.c::pc_isUseitem
//src/map/pc.cpp::pc_isUseitem
1477: Item cannot be opened when inventory is full.

//@homlv
1478: Homunculus reached its maximum level of '%d'.

//src/map/clif.c::clif_parse_GlobalMessage
//src/map/clif.cpp::clif_parse_GlobalMessage
1479: Dear angel, can you hear my voice?
1480: I am %s Super Novice~
1481: Help me out~ Please~ T_T
Expand All @@ -1628,10 +1628,10 @@
1482: You can't withdraw that much money.
1483: Banking is disabled.

//src/map/atcommand.c::ACMD(auction)
//src/map/atcommand.cpp::ACMD(auction)
1484: Auction is disabled.

// src/map/clif.c::clif_change_title_ack
// src/map/clif.cpp::clif_change_title_ack
1485: Title is not yet earned.

// Monster Transformation
Expand Down
2 changes: 1 addition & 1 deletion conf/plugins.conf
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ plugins_list: [
]
-----------------------------------------
Please note that your scripts need to be saved
in the .c (source code) extension and placed in the /src/plugin/ folder.
in the .cpp (source code) extension and placed in the /src/plugin/ folder.
-----------------------------------------
*/
plugins_list: [
Expand Down
2 changes: 1 addition & 1 deletion db/cashshop_db.conf
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
// Cashshop does not work with ragexeRE clients.
// Categories can be empty or even missing, but, if present, their names
// must be kept as cat_<n>, where <n> is a valid tab index, as described
// in 'enum CASH_SHOP_TABS' in clif.c (normally 0 through 7)
// in 'enum CASH_SHOP_TABS' in clif.cpp (normally 0 through 7)
//=========================================================================

cash_shop: (
Expand Down
2 changes: 1 addition & 1 deletion db/constants.conf
Original file line number Diff line number Diff line change
Expand Up @@ -471,7 +471,7 @@ constants_db: {
bDropAddRace: 2067

comment__: "Equip index"
/* reference to script.c::script_defaults():equip[] array used for easy-conversion */
/* reference to script.cpp::script_defaults():equip[] array used for easy-conversion */
EQI_HEAD_TOP: 1
EQI_ARMOR: 2
EQI_HAND_L: 3
Expand Down
Loading
Loading