Commit Graph

7 Commits

Author SHA1 Message Date
Lemongrass3110
4ffb1b043a Reverted 0184671
This commit broke the "clear" command, which only required 2 columns.
2018-04-25 22:17:52 +02:00
Aleos
0184671094 Updated item_group_db column requirements (#3068)
Fixes #3065.
Should require 3 columns, not 2.
Thanks to @RadianFord!
2018-04-23 23:22:16 +02:00
Vincent Stumpf
ec1470b613 Corrected item_db script curly parsing (#2998)
* Fixes #2964
* Correctly finds the last right curly.
Thanks to @ecdarreola
2018-04-07 15:32:59 -07:00
Lemongrass3110
d7f226a66b Fixed a few issues with TXT item db parsing (#2940)
Fixed an issue with comments in the middle of the line
Fixed the curly mismatches not being reported

Fixes #2938

Thanks to @kaninhot004
2018-03-06 08:54:00 +01:00
Cydh Ramdh
32950ecead Updated Item Group features (#2692)
* Added config to hide last chars of player's name `broadcast_hide_name` and its default value is 2.
* Fixed `getgroupitem` that should give unidentified item for equipment types.
* Added optional param for `getgroupitem` and `getrandgroupitem` to always give player identified item, ignores the `itemdb_isidentified`'s check.
* Thanks to @aleos89 @Lemongrass3110
2018-01-02 12:55:52 +07:00
Lemongrass3110
b2ab9724fe Implemented new monster range (#2604)
With this the internal static array was changed to a std::map which manages it's memory dynamically when needed.

Dropped mob_dummy since it was useless to have it in the first place.

Replaced a lot of direct accesses to the mob db by the "get" function.

With this you can now use 20021-31998 for monsters and also 4000-20020 will be used for player clones whenever needed.

Dropped mobdb_exists
Replaced almost all references to MAX_MOB_DB

Moved MAX_MOB_DB from the header directly into the source file to make it only visible to the .cpp file itself and not to any other.

Moved the mob drop calculation function from itemdb.cpp into mob.cpp, because it needs to iterate over the whole mob db.

Added a few missing clone checks.

Thanks to @lighta, @Jeybla and @aleos89.
2017-11-19 01:22:29 +01:00
Aleos
c4a364be2c Initial work for map server to C++ (#2565)
* Initial progression of moving the map-server to C++ format.
* Converted all core files to .cpp and header files to .hpp.
* Refactored the refine database parser to utilize native YAML C++.
Thanks to @Jeybla and @lighta for their help!
2017-11-02 17:39:03 -04:00