Age | Commit message (Collapse) | Author | Files | Lines |
|
Implement support for switching madogear type
|
|
|
|
|
|
src/map/atcommands.c.
* Applied code style to touched @commands.
* Added file path validation where fopen() is used to make sure a TXT file is passed.
* Added new messages for file name validation to conf/messages.conf.
* increased MAX_MSG to be able to use the new messages.
|
|
* Added new message 1517 (Script could not be unloaded.)
* Applied code style to several functions I touched.
* Added some minor improments to the function where I applied code style.
|
|
(non-permanent monster spawns) [Issue #2530]
Mobs spawned by NPC will be removed on @reloadnpc, @unloadnpc, and @unloadnpcfile.
Additionally OnNPCUnload NPC label was added, to revert other changes made by NPC. For example set/removed mapflags or added mob drops.
|
|
- Able to set cooldown in "seconds" format.
- New `duel_time_interval` value will be applied to any existing cooldown
if new value is reloaded in-game using `@reloadbattleconf`.
- Display the cooldown tick before can create new duel.
|
|
|
|
Signed-off-by: Haru <haru@dotalux.com>
|
|
|
|
|
|
- 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
|
|
|
|
|
|
|