summaryrefslogtreecommitdiff
path: root/src/map
AgeCommit message (Collapse)AuthorFilesLines
2013-10-27Shadows System Baseshennetsind6-411/+552
http://hercules.ws/board/topic/581-implement-the-shadows-system/ Special Thanks to Yommy for all the client data, Haru for making it possible to get it out and rosfus for the details on the feature. Shadows Feature requires packetver 20120925 or newer. ---------- Also: Updated all packets related to the shadows system, improved memory/processing of inventory/cart/storage/viewequip packets Signed-off-by: shennetsind <ind@henn.et>
2013-10-25nocashshop mapflagshennetsind7-4/+32
As requested by the community in http://hercules.ws/board/topic/1477-mapflag-for-cash-shop/ and http://hercules.ws/board/topic/1476-disable-cashshop-in-pvp-woe/ 'nocashshop' mapflag disables the usage of the cashshop button as well as any attempts to purchase (in case the flag is turned on after someone gets the shop open). Signed-off-by: shennetsind <ind@henn.et>
2013-10-25Follow up e08c05a0f73d6e6ea4fe64a9b91291bc0a002251shennetsind1-1/+2
Fixed idletime from being updated on walk despite criteria, thanks to kyeme for pointing it out! Signed-off-by: shennetsind <ind@henn.et>
2013-10-24Fixed nullpo calls in script.c mismatching new macro return typeshennetsind1-8/+8
Thanks to Kisuka. Signed-off-by: shennetsind <ind@henn.et>
2013-10-24Merge pull request #189 from dastgirpojee/SkidConstshennetsind1-0/+1
During skill_db parse the skill names are now automatically turned into constants for use throughout any and all scripts, this improves processing speed during runtime and readability (as haruna demonstrates over #189). Thanks to dastgirpojee! Closes #188
2013-10-24Follow up f304c3637f82a5a3ab3a979c5d4b463ab26e7d72shennetsind1-1/+3
Fixed SC_AQUAPLAY_OPTION which was eaten away during the change, and removed a duplicate val2 set on SC_CRESCENTELBOW Signed-off-by: shennetsind <ind@henn.et>
2013-10-24Merge pull request #199 from ossi0110/mastermalufett1-0/+1
Follow UP Fixed Bug #7754
2013-10-24Fixed @cash/@points displayshennetsind1-18/+21
message would be displayed twice, when cashshop_show_points was enabled, with positive values Merge from e71a6cc7eca7d0c003c9cc6bf1965a0e07fdf505 Closes #157 Signed-off-by: shennetsind <ind@henn.et>
2013-10-24Added idletime optionsshennetsind5-6/+62
There have been requests for the extension of the feature, I was reluctant given more options would cause features relying on the feature to be easier to counter (less accurate), with the modification of the feature to employ options the feature is now configurable at the server owners discretion. Special Thanks to Haruna Signed-off-by: shennetsind <ind@henn.et>
2013-10-24Follow UP Fixed Bug #7754ossi01101-0/+1
Follow Up Fixed Bug #7754 there was the SC_CASH_RECIVEITEM line missing in Inds Commit. added case SC_CASH_RECEIVEITEM: so it will display the correct % value.
2013-10-24Fixed Bug #7759shennetsind5-28/+87
Modified how @commands from HPM plugins are handled so that they are persistent to @reloadatcommand (also prepares for the future load/unload during runtime feature) http://hercules.ws/board/tracker/issue-7759-reloadatcommand/ Signed-off-by: shennetsind <ind@henn.et>
2013-10-24Fixed Bug #7781shennetsind1-0/+3
Item parsing was missing a check for IDs beyond maximum and allowing them to remain in the system which can cause numerous issues including the one in the report http://hercules.ws/board/tracker/issue-7781-mapcrash-when-add-itemid-above-50k-in-itemdb2/ Signed-off-by: shennetsind <ind@henn.et>
2013-10-24Fixed Bug #7754shennetsind1-0/+2
Fixed Field Manuals not display the proper boost percentage on the client. http://hercules.ws/board/tracker/issue-7754-field-manuals-issue/ Thanks to Frost Signed-off-by: shennetsind <ind@henn.et>
2013-10-22Fixed bug with status visual effects on relogshennetsind1-66/+124
val_flag was being set only when status were being created, not loaded, moved them into its own switch so its set regardless of flag&4 being set or not. Signed-off-by: shennetsind <ind@henn.et>
2013-10-21Minor identation fixes on status_change_startshennetsind1-2348/+2348
Signed-off-by: shennetsind <ind@henn.et>
2013-10-20Bug:7723 and Skill Cooldownsshennetsind5-56/+72
Fixed 7723, skill cooldowns are no longer have concurrent duplicates, when adding cooldown for a skill already in cooldown the timer is modified instead. http://hercules.ws/board/tracker/issue-7723-skill-blockpc-end-error Special Thanks to Haru, Wend and Beret. Also fixed skill cooldown duration/total display for characters that relog with a skill cooldown on clients 20120604 or higher Signed-off-by: shennetsind <ind@henn.et>
2013-10-19Merge branch 'master' of https://github.com/HerculesWS/Herculesshennetsind1-47/+36
2013-10-19Instance Dungeons Updateshennetsind5-8/+165
As requested by the community in http://hercules.ws/board/topic/1702-implement-rathena-npc/ we're merging in the latest of rAthena's dungeons, this includes the rewriting of all instance dungeons and the addition of 4 dungeons that were not present previously (BakonawaLake, BangungotHospital, BuwayaCave and OldGlastHeim). Update also includes the ability for instances to reset (or be destroyed if instance files were disabled/removed) upon @reloadscript, instance scripts are able to control to what stage the instances are to be reset via the instance_set_respawn (reload spawn) script command, OnInstanceInit labels are now triggered when the instance starts via instance_init (and upon reload), they may be used alongside instance variables (which are persistent to @reloadscript) to save players' progress. - NPC Changelog: -- npc/instances/EndlessTower.txt --- 2.2 Instance system rewrite. [Euphy] --- 2.3 Added some missing announcements. [Euphy] --- 2.4 Added GM management function. [Euphy] -- npc/instances/NydhoggsNest.txt --- 1.5 Instance system rewrite. [Euphy] --- 1.6 Added GM management NPCs. [Euphy] -- npc/instances/OrcsMemory.txt --- 1.7 Instance system rewrite. [Euphy] -- npc/instances/SealedShrine.txt --- 2.3 Instance system rewrite. [Euphy] -- npc/other/gm_npcs.txt --- 1.0 First version. [Euphy] -- npc/re/instances/BakonawaLake.txt --- 1.0 First version. [Euphy] --- 1.1 Added GM management NPC. [Euphy] -- npc/re/instances/BangungotHospital.txt --- 1.0 First version. [Euphy] --- 1.1 Added GM management function. [Euphy] -- npc/re/instances/BuwayaCave.txt --- 1.0 First version. [Euphy] -- npc/re/instances/HazyForest.txt --- 1.1 Instance system rewrite. [Euphy] -- npc/re/instances/MalangdoCulvert.txt --- 1.0b Fixed incorrect use of 'close'. [Joseph] --- 1.1 Instance system rewrite. [Euphy] -- npc/re/instances/OctopusCave.txt --- 1.1 Instance system rewrite. [Euphy] -- npc/re/instances/OldGlastHeim.txt --- 1.0 First version. [Euphy] Special Thanks to Haru, Uziel for their contributions to this update, and ossi0110 for helping us debug it. Signed-off-by: shennetsind <ind@henn.et>
2013-10-19Added support for missing or empty categories in cashshop_db.confHaru1-47/+36
- If a category in cashshop_db.conf is empty or missing, it will no longer show an error and/or insert an apple (dummy item). - Corrected a mapserver startup crash in case cashshop_db is missing elements. - Special thanks to Ind for providing official server/client info to handle the case of empty categories. Signed-off-by: Haru <haru@dotalux.com>
2013-10-18Minor HPM Updateshennetsind2-1/+16
Attempting to hook to a unknown hooking point will now display a message. Added support for item bonuses Check https://github.com/HerculesWS/StaffPlugins/tree/master/shennetsind/bCoolDownRate for a demonstration. Signed-off-by: shennetsind <ind@henn.et>
2013-10-18Merge branch 'master' of https://github.com/HerculesWS/Herculesshennetsind3-37/+99
2013-10-18Item Drop (from any source) Processing Improvementshennetsind2-12/+28
Signed-off-by: shennetsind <ind@henn.et>
2013-10-18Minor atcommand.c cleanupshennetsind1-284/+51
Removed many wrong/pointless nullpo_ calls, Special Thanks to Haruna, ossi0110 Signed-off-by: shennetsind <ind@henn.et>
2013-10-19Fixed Bug#7737malufett3-37/+99
-http://hercules.ws/board/tracker/issue-7737-shadow-form-and-interaction-with-multi-hit-skills/?gopid=20576#entry20576 Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
2013-10-17Merge remote-tracking branch 'upstream/master' into SkidConstDastgir Pojee10-43/+296
2013-10-16Fixed Bug #7771shennetsind1-1/+4
http://hercules.ws/board/tracker/issue-7771-compiling-errors/ Signed-off-by: shennetsind <ind@henn.et>
2013-10-16Fixed Bug#7770malufett4-2/+26
-split 'item_delay.txt'. Follow up @ 9692bc034537693d331148ae8bd15153265c6cf0 -implement PACKET_ZC_SHOWSCRIPT. Special thanks to Kyeme and super awesome Yommy. Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
2013-10-16Fixed Bug#7122malufett1-0/+2
-where 'bLongAtkDef' affects magic in RE. Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
2013-10-16Merge branch 'master' of https://github.com/HerculesWS/Herculesmalufett1-2/+2
2013-10-16Follow up @ ↵malufett1-15/+17
https://github.com/HerculesWS/Hercules/commit/9692bc034537693d331148ae8bd15153265c6cf0 -Should now accept mob id. Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
2013-10-16Fixed a variable going out of scope causing an invalid pointer accessHaru1-2/+2
- Follow-up to 20bdc01fa687b174a732be4483ddea4982d67ce9 - The issue was found thanks to gcc 4.7.3 on a 32 bit linux system, where the issue became evident and caused all sorts of parsing errors on argument-less command functions such as 'end', 'close', 'next', etc - Special thanks to Ind for quickly pointing me to the right place! Signed-off-by: Haru <haru@dotalux.com>
2013-10-16Fixed Bug#7374malufett7-2/+145
-Hercules now fully support Monster Transformation. Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
2013-10-15Fixed Bug#7738malufett1-1/+1
-where item bonuses 'bBreakWeapon' and 'bBreakArmor' or WS_MELTDOWN take effect in reflect damage. Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
2013-10-15Fixed Bug#7764malufett1-1/+0
-reverted r15787 where after warping char must face at north. Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
2013-10-15Follow up @ a4802eaef9d71283070f1f31c859da871a7c8d32malufett1-9/+6
-skill animation. Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
2013-10-14Added scriptcommands addmonsterdrop and delmonsterdrop (Missing documentation)EPuncker1-26/+108
[Edit by Haru: This commit has been amended in order for it to work properly in Hercules, and to correct some flaws of the original version, according to what I said in my review of issue #191. Credits to the original author have been moved to an "Original idea by" comment. Commit authorship is preserved. Documentation will be added in a follow-up commit] Signed-off-by: Haru <haru@dotalux.com>
2013-10-12Fixed Bug #7701shennetsind1-1/+2
Cashshop window wasn't visually updating the cashpoint count after purchasing pet eggs, Thanks to kyeme. http://hercules.ws/board/tracker/issue-7701-buying-egg-on-cash-shop/ Signed-off-by: shennetsind <ind@henn.et>
2013-10-12Merge branch 'master' of https://github.com/dastgirpojee/Hercules into SkidConstDastgir Pojee1-1/+1
2013-10-12Skill ID Constant AddedDastgir Pojee1-0/+1
2013-10-12Fixed Bug #7758shennetsind1-1/+1
http://hercules.ws/board/tracker/issue-7758-latest-version-map-crash/ Signed-off-by: shennetsind <ind@henn.et>
2013-10-11Merge branch 'master' of https://github.com/HerculesWS/Herculesshennetsind1-9/+4
2013-10-11Follow up 646f7e2f4ea4bd6b07e66d2949817ebdc18f3484shennetsind1-1/+1
Adjusted range, thanks to haruna realising the feature had been fixed on recent clients. Special Thanks to ossi0110 for testing the feature on multiple 2013 clients, which allowed us to restrict the date range more accurately. Signed-off-by: shennetsind <ind@henn.et>
2013-10-11Fixed the 'Received unsupported packet' message when using obfuscationHaru1-9/+4
- Now it reports the correctly decoded packet instead of 0x0000 - Follow-up to 38b8bf02b69f3841fd496f8d628bf71040c99709, thanks to Ind for bringing this up Signed-off-by: Haru <haru@dotalux.com>
2013-10-10Merge branch 'master' of https://github.com/HerculesWS/Herculesshennetsind1-10/+12
2013-10-10Added code to disable auction for clients it is no longer stableshennetsind4-2/+33
Regarding http://hercules.ws/board/topic/414-auction-feature-all-screwed-up Signed-off-by: shennetsind <ind@henn.et>
2013-10-10Merge pull request #186 from cannelle/mastershennetsind1-10/+12
Added WE_BABY distance check.
2013-10-10Homun-S Quest Updatedshennetsind9-60/+111
Partial Merge of 0b68607 Quest Changelog: - 1.2 Replaced with official script. [Euphy] Closes #177 Closes #178 Signed-off-by: shennetsind <ind@henn.et>
2013-10-10Added WE_BABY distance check.cannelle1-3/+3
2013-10-10Fixed Bug #7570shennetsind1-6/+13
Thanks to frenzmu06. Added code into the item db parser to throw a warning when there is more than one version of a item from within the same file, thanks to EvilPuncker. Closes #183 Signed-off-by: shennetsind <ind@henn.et>
2013-10-10Introducing Bank Supportshennetsind10-1/+219
http://hercules.ws/board/topic/2455-introducing-bank-support/ Thanks to Yommy, Haru! Signed-off-by: shennetsind <ind@henn.et>