Age | Commit message (Collapse) | Author | Files | Lines |
|
- The correct amount of dropped items should be displayed.
- Included skipped amount.
|
|
Fixed several issues in itemdb_search_name function
|
|
Partial match is now disabled in all the internal (source) and script
lookups, while it's enabled for the lookups requested by atcommands and
client.
Signed-off-by: Haru <haru@dotalux.com>
|
|
Rewrote item name checks in both functions to be more readable
Changed flag to be enum item_name_search_flag and made itemdb_searchname_array_sub respect flag given to parent function
Corrected item count returned by parent function when dbmap search is performed
Fixed a memory violation caused by the old code when dbmap search is performed
Fixed dbmap searching having static array size which did not adhire to the size passed to the function
Signed-off-by: Ibrahim Zidan <brahem@aotsw.com>
|
|
New at command: @changecharsex
|
|
Signed-off-by: Haru <haru@dotalux.com>
|
|
Signed-off-by: Haru <haru@dotalux.com>
|
|
Update refine atcommand
|
|
- list of costume and shadow equipments
- refine all equipments option
|
|
- using `@refresh` during NPC conversation will caused player stucked
due to unable to close the NPC dialog that no longer visible.
|
|
Signed-off-by: Haru <haru@dotalux.com>
|
|
Add new atcommand *reloadnpc
|
|
Mapflag nostorage and nogstorage
|
|
- `@reloadnpc <path>` - unloads all NPCs in a file and reload it again.
- Be aware that mapflags and monster spawned directly are not removed.
|
|
Signed-off-by: Ibrahim Zidan <brahem@aotsw.com>
|
|
Signed-off-by: Ibrahim Zidan <brahem@aotsw.com>
|
|
its own files
Signed-off-by: Ibrahim Zidan <brahem@aotsw.com>
|
|
|
|
Fix an issue with named/brewed/forged items getting saved with the wrong character id
|
|
- Enable to drop items based on item type.
|
|
character id
The isue was triggered by the refactoring of old undocumented code that
relied on the overflow behavior during assignment from int32 to int16
and from uint16 to int16, and by a subsequent clamping to SMALLINT range
operated by the SQL server.
Credits: Haru <haru@dotalux.com>
Fixes #2409
Signed-off-by: Ibrahim Zidan <brahem@aotsw.com>
|
|
|
|
Also move defines from map.h inot mapdefines.h for fix cycle include issue.
|
|
|
|
|
|
nostorage 1 -- blocks only @storage
nostorage 2 -- blocks only openstorage();
nostorage 3 -- blocks @storage and openstorage()
nogstorage 1 -- blocks only @gstorage
nogstorage 2 -- blocks only guildopenstorage();
nogstorage 3 -- blocks @gstorage and guildopenstorage()
|
|
Fix allychat leaveguild
|
|
Add complete packet len table
|
|
This introduces the `enum status_heal_flag`. No functional changes are
made.
Signed-off-by: Haru <haru@dotalux.com>
|
|
|
|
For now supported only packet length fields.
|
|
Signed-off-by: Haru <haru@dotalux.com>
|
|
allychat
- The issue was caused by an array compaction while iterating through the array members.
- A visible effect was that under certain conditions (depending on the
alliance size), a character that left a guild could still see allychat
messages from some of the allied guilds.
Signed-off-by: Haru <haru@dotalux.com>
|
|
This removes some shady array compaction code and prepares the ground
for some further fixes.
Signed-off-by: Haru <haru@dotalux.com>
|
|
Add config for '@channel setopt MessageDelay <delay>'
|
|
update at_bodystyle allowed jobs check
|
|
|
|
|
|
|
|
|
|
always set the type to C_NAME when adding variables through script->add_str
|
|
|
|
|
|
|
|
Also add at command for remove costumes @changedress and @nocosplay.
Thanks @Lemongrass3110 and @Everade.
|
|
Implemented Achievement System and Title System
|
|
Source: http://ro.gnjoy.com/news/update/View.asp?seq=163&curpage=1
Script Commands -
```
achievement_progress(<ach_id>,<obj_idx>,<progress>,<incremental?>{,<char_id>});
```
Includes an achievement_db.conf generator that reads from the item_db, mob_db (server side) and achievement_list.lub files to determine valid achievement entries based on item/monster availability. Achievements containing unsupported entries are commented out.
This feature, although renewal-only in official servers, is capable of being used in pre-renewal mode on Hercules.
Does not include the title system yet.
A big thanks to -
@MishimaHaruna for constantly reviewing.
@4144 for all the support.
@Asheraf for a lot of official information.
Co-authored-by: "Dastgir" <dastgirp@gmail.com>
|
|
|
|
|
|
This fixes issues with plugins defining symbols with the same names
Signed-off-by: Haru <haru@dotalux.com>
|