summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2014-11-03Merge pull request #363 from EPuncker/masterMichieru6-2/+23
Added 4 new permissions
2014-11-03ItemDB SQL SyncHercules.ws2-4/+6
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2014-11-03Adjusted roulette logic ( see 239d480487e24294975f35ed55f210837ad1088e )shennetsind3-30/+119
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-03Follow up 239d480487e24294975f35ed55f210837ad1088eshennetsind1-0/+1
Added missing sql upgrade index entry Signed-off-by: shennetsind <ind@henn.et>
2014-11-03Fixed mmo_char_tobuf for < 20141022shennetsind1-1/+1
Follow up 239d480487e24294975f35ed55f210837ad1088e Special Thanks to Valo! Signed-off-by: shennetsind <ind@henn.et>
2014-11-03HPM Hooks UpdateHercules.ws9-122/+154
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2014-11-03* No cell stacking implemented (official version)Michieru12-36/+159
- 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-03HPM Hooks UpdateHercules.ws3-0/+218
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
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/Herculesshennetsind490-17238/+21643
Signed-off-by: shennetsind <ind@henn.et> Conflicts: src/map/battle.c
2014-11-03Introducing 2014-10-22, Roulette and Per-Char Gender!shennetsind15-26/+699
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.Haru2-4/+13
- 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.Haru2-1/+9
- 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>
2014-11-02ItemDB SQL SyncHercules.ws2-88/+88
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2014-11-02Fixed an error in the HPMHookGenHaru1-1/+1
Signed-off-by: Haru <haru@dotalux.com>
2014-11-02Marked command 'save' as deprecated.Haru2-2/+11
- 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 'save' documentation. Signed-off-by: Haru <haru@dotalux.com>
2014-11-02Replaced 'set' with direct assignment where applicable (item db)Haru2-112/+112
This also includes various other tweaks to the item db scripts, including the newly introduced min() and max() commands. Signed-off-by: Haru <haru@dotalux.com>
2014-11-02Replaced 'set' with direct assignment where applicable (quests folder)Haru43-4702/+4622
Signed-off-by: Haru <haru@dotalux.com>
2014-11-02Replaced 'set' with direct assignment where applicable (quests subfolders)Haru35-995/+985
Signed-off-by: Haru <haru@dotalux.com>
2014-11-02Replaced 'set' with direct assignment where applicable (re folder)Haru70-2207/+2230
Signed-off-by: Haru <haru@dotalux.com>
2014-11-02Replaced 'set' with direct assignment where applicable (re/quests folder)Haru20-1523/+1525
Signed-off-by: Haru <haru@dotalux.com>
2014-11-02Replaced 'set' with direct assignment where applicable (pre-re folder)Haru21-633/+572
Signed-off-by: Haru <haru@dotalux.com>
2014-11-02Replaced 'set' with direct assignment where applicable (common folder)Haru163-3824/+3819
Signed-off-by: Haru <haru@dotalux.com>
2014-11-02Added min() and max() script commandsHaru3-0/+48
- Special thanks to Streusel, Xgear Signed-off-by: Haru <haru@dotalux.com>
2014-11-01Fix clearance, should work only on mob, party or self and skill can't be ↵Michieru3-13/+8
cast on all players that are not in the party (bug:7050)
2014-11-01Merge pull request #380 from csnv/somefixesMichieru1-4/+3
Fixed ALL_RESURRECTION to not inflict damage on hidden undead type playe...
2014-10-31Follow-up to 1d0452110f4b02f6d771c61d5c3a944f82b155f3Haru4-9/+259
- Added HPMHooking plugin to the VS2010 project
2014-10-31- If you now cast Icewall on an existing ice wall cell, the duration (HP) ↵Michieru1-2/+3
will no longer be refreshed Thanks to Playtester
2014-10-31Follow-up to c6f102e (fixed a typo)Haru1-1/+1
Special thanks to kyeme Signed-off-by: Haru <haru@dotalux.com>
2014-10-31- Monster chase range updates (bugreport:7637)Michieru7-36/+68
* Updated monster_chase_range in monster.conf from 1 to 3; I originally thought official value is 1, but doing some in-depth tests myself I realized it's 3 for the most important situations * When a monster cannot issue new "move" commands because it was affected by a status change, but is still moving due to knockback immunity, it will no longer unlock its target and stop * Fixed a bug that always caused the chase path monsters calculated to be 1 cell too short causing them to recalculate their path one cell before their goal every single time - Fixed the direction calculation once again and optimized it at the same time (bugreport:9373) * Now the calculated direction is 100% official, really truly, checked it myself with every single cell and various skills * Added a new function map_calc_dir_xy that allows to check for a direction between two cells without the need of a block_list * map_calc_dir will now just use map_calc_dir_xy to avoid duplicate code * Improved Icewall walk block implementation - Moved the configuration setting "icewall_walk_block" to monster.conf - Split the configuration into mob_icewall_walk_block and boss_icewall_walk_block so it can be configured for bosses separately - Expanded the configuration * If the value is set to 1, monsters on an ice wall cell will behave like trapped monsters, that means they won't be able to move at all, they will use idle skills and if they are attacked while nobody is in their attack range, they will use their rudeattacked skills; this is equal to official behavior of bosses * If the value is set to 2-255, it will behave as before but monsters in the AI loop now use both idle and chase skills, but will no longer use their rudeattacked skills even if attacked from range; this is equal to official behavior of normal monsters * Official values would be "220" for normal monsters (loop until Icewall expiration) and "1" for bosses (behave like trapped monster) on most official servers, but as some official servers have a less exploitable implementation (from looping AI only a limited amount of times up to outright blocking Icewall on all maps with bosses) - Cleaned up the rudeattacked code a little so it's easier to read - Fire Pillar is no longer a trap and can no longer be hit or knocked back in renewal Thanks to Playtester (rathena b43b855d2, 902c920b734cd)
2014-10-31Follow up to 1d0452110f4b02f6d771c61d5c3a944f82b155f3Haru4-7/+259
- Added HPMHooking plugin to the VS2012 project
2014-10-31Follow-up to 1d0452110f4b02f6d771c61d5c3a944f82b155f3Haru4-9/+262
- Added HPMHooking plugin to the VS2013 project
2014-10-31Fixed some errors pointed out by clang's static analyzerHaru2-3/+2
Signed-off-by: Haru <haru@dotalux.com>
2014-10-31Follow-up to 1d0452110f4b02f6d771c61d5c3a944f82b155f3Haru4-26/+360
- Updated Xcode project Signed-off-by: Haru <haru@dotalux.com>
2014-10-31Follow up 1d0452110f4b02f6d771c61d5c3a944f82b155f3malufett14-0/+64
-Updated MVS VC++ project includes and filters. Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
2014-10-31Fix possible buffer overflow in irc channel name parsing.Andrei Karas1-2/+3
2014-10-31Merge pull request #378 from HerculesWS/hpmupdatesHaruna36-224/+932
Char and login server preliminary support for the HPM system
2014-10-30Fixed ALL_RESURRECTION to not inflict damage on hidden undead type playerscsnv1-4/+3
- Fixed bug report 8407: http://hercules.ws/board/tracker/issue-8407-resurrection-skill-cant-be-dodged-by-hide/ - Refactorized code
2014-10-30Fixed Bug#8012malufett2-4/+3
-http://hercules.ws/board/tracker/issue-8012-bonus-bvariablecastrate-and-bfixedcastrate-not-working-properly/?gopid=21893#entry21893 Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
2014-10-30ItemDB SQL SyncHercules.ws1-1/+18
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2014-10-29Added 2014 Halloween Event and made status change parameter optional on ↵Taylor Locke13-9/+2880
montransform.
2014-10-30Fixed Bug#7915malufett1-2/+2
-http://hercules.ws/board/tracker/issue-7915-mind-breaker/ Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
2014-10-30Fixed Bug#7736malufett2-1/+2
-http://hercules.ws/board/tracker/issue-7736-fist-spell-w-double-attack-and-similar-effects/?gopid=20575#entry20575 Fixed RE ATK random variance. Thanks to Angelmelody. Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
2014-10-30ItemDB SQL SyncHercules.ws1-3/+3
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2014-10-30Deprecated checkriding and setriding commandsHaru15-99/+81
Replaced their use in scripts with checkmount and setmount, respectively. Signed-off-by: Haru <haru@dotalux.com>
2014-10-30Deprecated checkdragon and setdragon commandsHaru5-13/+20
Replaced their use in scripts with checkmount and setmount, respectively. Signed-off-by: Haru <haru@dotalux.com>
2014-10-30Deprecated checkmadogear and setmadogear commandsHaru6-20/+31
Replaced their use in scripts with checkmount and setmount, respectively. Signed-off-by: Haru <haru@dotalux.com>