summaryrefslogtreecommitdiff
path: root/src/map
AgeCommit message (Collapse)AuthorFilesLines
2014-12-08HPM Hooks UpdateHercules.ws1-7/+7
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2014-12-08fix /mineffect or /minimize when change mapMichieru1-7/+8
This commit was made by Master Ind
2014-12-06Merge pull request #405 from 4144/clifextHaruna7-177/+169
Extend clif.c
2014-12-06initialize missing variable in clif_changelook.Andrei Karas1-1/+1
2014-12-06into mapindex add variable with default map and position.Andrei Karas1-3/+3
2014-12-06add channels config into clif interface.Andrei Karas7-137/+141
2014-12-06Add function for actual packet sending from clif_send_sub.Andrei Karas2-0/+7
2014-12-06Move actual 0xc3 and 0x1d7 packets sending into one function.Andrei Karas2-40/+21
2014-12-04Merge pull request #400 from 4144/pcequipHaruna2-136/+152
Split functions pc_equipitem and pc_unequipitem.
2014-12-02Replace some direct methods usage to interfaces.Andrei Karas2-2/+2
2014-12-02Split functions pc_equipitem and pc_unequipitem.Andrei Karas2-136/+152
2014-12-02Add item attribute what prevent item removing on use.Andrei Karas3-2/+6
New item attribute: KeepAfterUse
2014-12-02Removed checkquest commandHaru1-18/+0
- Follow-up to 3ad4a9d Signed-off-by: Haru <haru@dotalux.com>
2014-12-02Removed petheal commandHaru4-101/+11
- Follow-up to 8bb0078 Signed-off-by: Haru <haru@dotalux.com>
2014-12-02Removed jump_zero commandHaru1-1/+0
- Follow-up to bcf7a77 Signed-off-by: Haru <haru@dotalux.com>
2014-12-02Merge pull request #392 from 4144/npcextHaruna3-51/+46
Add functions for report/parse unknown map flags and script objects + sepate function for create npc
2014-12-02Follow-up to 26cdd53, 0623d4fHaru2-2/+2
Whitespace cleanup Signed-off-by: Haru <haru@dotalux.com>
2014-11-28Add function for create npc.Andrei Karas3-46/+24
2014-11-27Fix npc->parse_unknown_object usage.Andrei Karas1-1/+1
2014-11-27Add function for parse or report about unknown object in parsing script file.Andrei Karas2-3/+11
2014-11-27Add function for parse/report unknown map flag.Andrei Karas2-2/+11
2014-11-26Update Fire Expansion to official formula for all levelMichieru3-20/+38
Fix Full Throttle Order of Calculations For Stat Increase/Decrease By Status's Mega Thanks to Rytech
2014-11-26AIHOHAAAAAAA (!!!!) addressing susus interfacing thing overlookshennetsind1-7/+1
Signed-off-by: shennetsind <ind@henn.et>
2014-11-24Correction, safetywall still consumes sp when cast on LP.GrumpyLittlePanda1-1/+6
2014-11-24* 1st Transcendent Spirit, monster position lag fixesMichieru6-29/+102
- 1st Transcendent Spirit will now work as on official servers (#116) * The max total stat that is granted by the skill is now BaseLevel-10 with a maximum of 50 instead of always 50 * It will now work as Marionette Control and calculate the bonus at cast time rather than overwrite all existing bonuses * Agi Up and Blessing will now cancel the soul link - Fixed various problems that caused position lags on the client (#118) * Added a define ACTIVEPATHSEARCH in mob.c; if active (default and official), monsters will only grab targets if the walk path to the target is shorter or equal their search range; search range depends on whether the monster is moving or not (range2 for standing monsters and range3 for walking monsters); this requires a lot of CPU load, if it causes trouble, just comment the define for old behavior * Fixed a bug that made monsters display "irregular movement with position lag" continuously when a status change ended that changed their walk speed * OFFICIAL_WALKPATH now also applies to monsters * If the path search fails while a unit is already moving, we will now issue of fixpos packet so that the unit does not only stop moving on the server, but also on the client * Direction fixes - Updated the config setting attack_direction_change from 15 to 0 (official value); that means that a unit's direction will no longer change when it attacks; knock-back effects from e.g. Firewall will depend on the last direction the target walked into instead (bugreport:1322) - Ensured that the default direction of a monster is always "north", so that immobile monsters will now always be knocked back to the south by e.g. Firewall on default settings, unless a skill like e.g. Backstab changes their direction (bugreport:1322) - Fixed a bug that stopped characters server-sided and caused position lag when closing a skill menu * Magnum Break damage fixed - Targets two cells away will now only take 100%+10%*level damage (#108)
2014-11-17(Bugs 5237 and 7979)GrumpyLittlePanda4-17/+15
- Land Protector now behaves more like on official servers * Land Protector now protects from units being placed on it, no matter if they have splash range or not * Land Protector no longer protects from damage from units not outside Land Protector that splash inside * Meteor Storm no longer shows meteors falling if they would land on Land Protector * Pneuma can no longer be placed next to Land Protector * Safety wall no longer consumes gem if cast on LP. * Also cleaned up the code a bit, so the checks are done where they should be done - Ground skill splash ranges updated to their official values * Lord of Vermilion places units in a 11x11 area with 3x3 splash range each * Storm Gust places units in a 9x9 area with 3x3 splash range each * Heaven's Drive places units in a 5x5 area with no splash range * Venom Dust now has a splash range of 3x3 and is consequently larger than before - Storm Gust's knock-back behavior updated to official * Each of Storm Gust's units will knock back "Away from center" * As units in the south-west are processed first, the knock-back direction will usually be north-east * At the edges the knock-back direction will be "to the outside" * Land Protector and Ganbantein will influence the knock-back behavior strongly, e.g. if Storm Gust has a hole in the middle, it will have a "suck in" effect * Added a config option for those who want the old "random direction" behavior from eAthena
2014-11-16Whitespace cleanup (no code changes)Haru52-3608/+3728
This includes, and is not limited to: mixed or wrong indentation, excess whitespace (horizontal and vertical), misalignment, trailing spaces. Signed-off-by: Haru <haru@dotalux.com>
2014-11-16Moved duel_s into duel.cHaru2-1/+3
Signed-off-by: Haru <haru@dotalux.com>
2014-11-15Add support for plugin options in map server config (script.conf).Andrei Karas1-1/+4
2014-11-15Add support for plugin options in map server config (logs.conf).Andrei Karas1-0/+3
2014-11-15Add support for plugin options in map server config (inter-server.conf).Andrei Karas1-0/+2
2014-11-14Add ability to add deprecated command from scripts and plugins.Andrei Karas2-3/+3
2014-11-11Corrected some uninitialized interface functionsHaru1-3/+0
- Detected through the just merged validation tool, special thanks to Andrei Karas. - Added validation tool to the Travis tests. Signed-off-by: Haru <haru@dotalux.com>
2014-11-10Merge pull request #386 from 4144/fixpluginsHaruna11-41/+41
Fix interfaces methods usage.
2014-11-10Fix interfaces methods usage.Andrei Karas11-41/+41
In some places was used direct methods.
2014-11-09Follow git rev: cf18e5578f85bc6c368a2ad4d7c746af8687c7f0Michieru1-0/+1
This fix bug: 8430 Sorry for this I forgot this in my revert... Thanks to Playtester
2014-11-06revert Git:10e6f1a189f20ca346ada2f6199378869b370442Michieru2-21/+6
For now MD_RANDOMTARGET is not use and create problem with clone http://hercules.ws/board/tracker/issue-8424-taekwon-stanceskill-transfered/
2014-11-03Fix compile warning in VC++Michieru1-1/+1
Thanks to Ind
2014-11-03Merge pull request #363 from EPuncker/masterMichieru5-2/+19
Added 4 new permissions
2014-11-03Adjusted roulette logic ( see 239d480487e24294975f35ed55f210837ad1088e )shennetsind1-14/+14
Special Thanks to Yommy and Ziu for the adjusted logic! This commit also introduces the proper coins to obtain the roulette points, thanks to Michieru. Signed-off-by: shennetsind <ind@henn.et>
2014-11-03HPM Hooks UpdateHercules.ws5-115/+115
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2014-11-03* No cell stacking implemented (official version)Michieru9-29/+147
- Split config cell_stack_limit into custom_cell_stack_limit (previous feature) and official_cell_stack_limit (see below) - Expanded map_count_oncell by a flag parameter, currently only one flag is supported: only count standing units (needed for official cell stack feature) - Added a new function map_closest_freecell that will return the closest free cell using the same order that official servers use - Monsters will now actively search for a free cell when starting to walk randomly and when unlocking target - When any unit finishes walking (regularly) and is not on a free cell, it will now actively search for a free cell - Step actions will be delayed until a suitable cell was found, they will even be executed when the player walked slightly out of attack range - Monsters will now stop instantly if their target is completely non-existent * This is mainly for looters that had their loot taken * Hide and most other situations still use the configuration setting monster_chase_refresh Mega Thanks to Playtester
2014-11-03Re-issuing conflicted-out content on battle.c (see history/follow up)shennetsind1-0/+8
Signed-off-by: shennetsind <ind@henn.et>
2014-11-03Merge branch 'master' of github.com:HerculesWS/Herculesshennetsind20-234/+236
Signed-off-by: shennetsind <ind@henn.et> Conflicts: src/map/battle.c
2014-11-03Introducing 2014-10-22, Roulette and Per-Char Gender!shennetsind9-15/+555
Details in http://hercules.ws/board/topic/7618-2014-10-22-roulette-and-per-char-gender/ Special Thanks to the all-mighty Yommy, Ziu and Haruna! Signed-off-by: shennetsind <ind@henn.et>
2014-11-03Missing 'type' field in itemdb now defaults to IT_ETC rather than IT_UNKNOWNshennetsind1-1/+1
Signed-off-by: shennetsind <ind@henn.et>
2014-11-03Added missing type check to skill_delunitgroupshennetsind1-1/+1
Signed-off-by: shennetsind <ind@henn.et>
2014-11-02Merge pull request #379 from 4144/irccrashHaruna1-2/+3
Fix possible buffer overflow in irc channel name parsing.
2014-11-02Marked commands 'enablearena' and 'disablearena' as deprecated.Haru1-2/+2
- Note: The commands will be completely removed after about a month. Custom, third party scripts will require updates, in case they were using these commands. Please see the commands documentation. Signed-off-by: Haru <haru@dotalux.com>
2014-11-02Marked command 'cmdothernpc' as deprecated.Haru1-1/+1
- Note: The command will be completely removed after about a month. Custom, third party scripts will require updates, in case they were using this command. Please see the 'cmdothernpc' documentation. Signed-off-by: Haru <haru@dotalux.com>