summaryrefslogtreecommitdiff
path: root/src/map/atcommand.c
AgeCommit message (Collapse)AuthorFilesLines
2019-05-05Implement Refinery UIIbrahim Zidan1-0/+17
Signed-off-by: Ibrahim Zidan <brahem@aotsw.com>
2019-05-05Fix variables shadowing refine interface variable map-server sourceIbrahim Zidan1-14/+14
Signed-off-by: Ibrahim Zidan <brahem@aotsw.com>
2019-05-05Removal of refine database code from status.c and moving it respectfully to ↵Ibrahim Zidan1-0/+1
its own files Signed-off-by: Ibrahim Zidan <brahem@aotsw.com>
2019-05-05Add missing checks for prevend flagAndrei Karas1-3/+3
2019-05-05Merge pull request #2425 from hemagx/hercules_signed_items_fixHaru1-3/+3
Fix an issue with named/brewed/forged items getting saved with the wrong character id
2019-04-29Update dropall atcommand drop item based on type.Emistry Haoyan1-5/+30
- Enable to drop items based on item type.
2019-04-08Fix an issue with named/brewed/forged items getting saved with the wrong ↵Ibrahim Zidan1-3/+3
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>
2019-04-07Rename clif_charnameack into clif_blname_ackAndrei Karas1-4/+4
2019-03-11Move local variables in atcommand.c into interfaceAndrei Karas1-0/+3
Also move defines from map.h inot mapdefines.h for fix cycle include issue.
2019-02-11Change type for class variables from short to intAndrei Karas1-1/+1
2018-12-14Add inventory size field into db and using it in server.Andrei Karas1-16/+8
2018-11-16Merge pull request #2322 from MishimaHaruna/fix-allychat-leaveguildHaru1-29/+19
Fix allychat leaveguild
2018-11-15Merge pull request #2321 from 4144/packetlenHaru1-3/+7
Add complete packet len table
2018-11-14Use an enum as flag for status->heal() and related functionsHaru1-3/+3
This introduces the `enum status_heal_flag`. No functional changes are made. Signed-off-by: Haru <haru@dotalux.com>
2018-11-14Use new packet tables for packets len.Andrei Karas1-3/+6
2018-11-14Add interface for packets in common.Andrei Karas1-0/+1
For now supported only packet length fields.
2018-11-13Remove a duplicate output line from the help message for the channel atcommandHaru1-3/+1
Signed-off-by: Haru <haru@dotalux.com>
2018-11-13Fix an issue that caused some guild channels not to be left when leaving ↵Haru1-7/+5
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>
2018-11-13Replace sd->channels with a VECTORHaru1-23/+17
This removes some shady array compaction code and prepares the ground for some further fixes. Signed-off-by: Haru <haru@dotalux.com>
2018-11-13Merge pull request #2287 from EyesOfAHawk/hcs_opt_msg_delayHaru1-2/+2
Add config for '@channel setopt MessageDelay <delay>'
2018-10-22Merge pull request #2264 from Asheraf/pr5Haru1-12/+1
update at_bodystyle allowed jobs check
2018-10-16Add config for '@channel setopt MessageDelay <delay>'.EyesOfAHawk1-2/+2
2018-10-06update at_bodystyle allowed jobs checkAsheraf1-12/+1
2018-10-05Add at command @camerainfo.Andrei Karas1-0/+19
2018-09-19Update inventory packet for 2018-09-12 RE.Andrei Karas1-1/+1
2018-08-26Merge pull request #2164 from mekolat/addvariableHaru1-10/+10
always set the type to C_NAME when adding variables through script->add_str
2018-07-30always set the type when doing script->add_strgumi1-10/+10
2018-07-29add atcommand_setzonegumi1-0/+58
2018-07-29add MF_TOWN to atcommand_mapflagCarlos Henrique1-1/+2
2018-07-28Add support for chat commands /changedress and /nocosplay for remove costumesAndrei Karas1-0/+9
Also add at command for remove costumes @changedress and @nocosplay. Thanks @Lemongrass3110 and @Everade.
2018-07-28Merge pull request #2067 from dastgirp/1-achievementHaru1-0/+6
Implemented Achievement System and Title System
2018-07-24Implementation of the official Achievement System.smokexyz1-0/+6
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>
2018-07-24Correct wrong attribute used for pet evolution egg hidingAsheraf1-0/+2
2018-07-19Replace item id shorts to int in map server.Andrei Karas1-1/+1
2018-07-01Change functions to static where possible (Part 4 - map)Haru1-128/+243
This fixes issues with plugins defining symbols with the same names Signed-off-by: Haru <haru@dotalux.com>
2018-07-01Merge pull request #2114 from marky291/patch-1Haru1-1/+1
Updated text to match new exp file.
2018-07-01Updated text to match new exp file.Mark Hester1-1/+1
2018-06-30add support for send target in unittalkAsheraf1-4/+4
2018-06-02Fix map flag pvp_nocalcrank if use at or script command for enable pvp.Andrei Karas1-1/+2
Fixes #2056
2018-06-02Merge pull request #842 from AnnieRuru/request_6Haru1-3/+5
Add new *pcblock script command
2018-05-312012-2018 !Maytichai Saowa1-1/+1
2018-05-07Merge pull request #2027 from MishimaHaruna/sa_summonmonsterHaru1-8/+10
Fix the name of monsters summoned through SA_SUMMONMONSTER
2018-05-07Merge pull request #1998 from Asheraf/private_airshipHaru1-0/+4
Implementation of Private AirShip
2018-05-04Implementation of Private AirShipAsheraf1-0/+4
2018-05-04Add setpcblock & checkpcblock script commandsAnnieRuru1-3/+5
thanks to @MishimaHaruna for the updated syntax
2018-05-02Fix possible buffer overflow in atcommand.cAndrei Karas1-3/+3
2018-05-01Replace "--ja--" and "--en--" with constants (source only)Haru1-8/+10
- Use `DEFAULT_MOB_NAME` instead of a literal "--en--" - Use `DEFAULT_MOB_JNAME` instead of a literal "--ja--" Signed-off-by: Haru <haru@dotalux.com>
2018-03-11Merge pull request #1541 from Normynator/masterHaru1-13/+12
Changed Kafrapoints calculation.
2018-02-27Fix use after free error in @reloadatcommand gm command.Andrei Karas1-1/+4
2018-02-19Changed Kafrapoints calculation.Normynator1-13/+12
Kafrapoints should now be used correctly. Issue #1540 Changed opening braces according to coding styl. Changed some lines according to coding styl. new-line-before-return ? more styling code changes changes in coding style coding style changes Fixed message output on acted cash. Removed unsupported and not needed var ret. Update pc.c Update atcommand.c Coding style added function description added return validation used wrong method in validation Fixed typo in clif.c Moved temp var to block start