summaryrefslogtreecommitdiff
path: root/src/map
AgeCommit message (Collapse)AuthorFilesLines
2010-11-07'Exp gained' packets are now sent regardless of @showexp. @showexp can be ↵Gepard1-7/+6
enabled regardless of PACKETVER. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14450 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-07Applied clif_equiplist fix by Ai4rei to prevent client crash when equipment ↵Gepard1-0/+6
is broken/repaired and PACKETVER >= 20100629. Follow-up to r14368. (bugreport:4459) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14449 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-02Applied patch by xazax to clean up various bits of code across mapserver ↵Paradox924X7-29/+8
code. (bugreport:4512) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14438 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-02Changed Normal and Cash Food statuses so they do not stack and overwrite the ↵Paradox924X1-0/+96
other if the level (val1) is the same or higher. (bugreport:4519) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14437 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-02Modified certain atcommands to use 64 bit arithmetic before capping a value ↵Paradox924X1-3/+3
to correct boundary logic for overflowing values. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14436 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-10-21 * Removed unused 'indoors' mapflag (follow-up to r3729).Gepard4-10/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14434 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-10-13Prevented direct transformation into dummy jobs via @jobchange command. ↵Paradox924X1-14/+16
(bugreport:4227) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14429 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-10-13Prevented @stpoint and @skpoint from causing overflows.Paradox924X1-2/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14428 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-10-11Implemented official cash food behavior, including use delay, not being ↵Paradox924X8-35/+91
dispelled (including on death), distinct status effects and icons from the ordinary food types. Updated items accordingly. (bugreport:2560) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14426 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-10-11Applied ultramage's fix to prevent a segfault when a mob dead event ↵Paradox924X1-0/+3
triggered by a land-based skill causes the player to warp. (bugreport:4426) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14425 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-10-11Applied Ai4rei's patch to prevent an invalid rid from being attached to the ↵Paradox924X1-2/+7
execution of a script. (bugreport:4470) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14424 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-10-11Added NULL initialization to info variable in map_readfromcache() to satiate ↵Paradox924X1-1/+1
compiler. (bugreport:4399) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14422 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-10-11Applied Ai4rei's patch to eliminate unnecessary and redundant castle data ↵Paradox924X1-34/+0
saving. (bugreport:4471) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14420 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-10-11Added a missing const qualifier to a variable. (bugreport:4472)Paradox924X1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14419 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-10-11Follow up from r14413, should take care of the errors from bugreport:4472.L0ne_W0lf1-0/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14418 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-10-09Replaced all nullpo_retr() calls which returned 0 with nullpo_ret() calls.Paradox924X22-492/+492
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14414 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-10-06* Touched up the party booking patch, seems I forgot some lines in ↵L0ne_W0lf2-1/+6
clif.c...and managed to duplicate a line in map.c. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14413 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-10-05* Added Spira's Party Booking System implementationL0ne_W0lf5-1/+326
- Added two additional mercenaries and updated data. - Added place holder values to the item database. - Added packets for the party booking system. - Updated the 13.2 monster skills to official. - Updated stats and drop rates on several monsters. - Fixed Lullaby working on allies/party members. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14412 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-09-20Fixed when devoter is killed by the redirected damage, devotee takes the ↵Inkfish2-34/+35
whole damage. (follow up to r14406) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14410 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-09-18* Added bard/dancer songs and duets to the nodispell list. (bugreport:4411)L0ne_W0lf3-7/+10
* Applied Ai4rei's patch for the skill WE_CALLPARTNER (bugreport:4437) * Lots of updates to monster stats/drops, all fairly minor. * Updated the price and weight of a handful of etc items. * Removed drops for quest-spawned Satan Morroc. (bugreport:4425) * Changed weight on novice consumable items to 0 (bugreport:4442) * Updated Sage quest skill quest with the file curtosy of 5511. * Fixed the Pink Crystal being named Blue Crystal in Flavius. * Touched up the archer tutorial, and phantasmic arrow quests. * Fixed Turbo Track records for 8 and 16 normal saving as expert. (bugreport:4433) * Corrected the positions for the arug castle 04 exterior flags. (bugreport:4436) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14409 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-09-12All direct damages such as reflected damage or Tarot Card damage should not ↵Inkfish3-34/+46
be redirected. (follow up to r14400) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14406 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-09-09All mobs whose display sprites are those of a job id will now appropriately ↵Paradox924X1-1/+1
be identified to the client as players, not mobs. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14405 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-09-07Added MD_TARGETWEAK to list of modes not to give a player when calculating ↵Paradox924X1-1/+1
player data. This makes evilclones aggressive towards players. (bugreport:3280) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14402 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-09-07Ensure a pointer is valid within map_readfromcache() before attempting to ↵Paradox924X1-1/+1
access its members. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14401 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-09-06* Implemented Icescope's fix for devotion, reflect damage is no longer ↵L0ne_W0lf3-5/+18
absorbed by the devoter. (bugreport:3189) * As a folow up to r14301, increased MAX_REG_NUM to 256, to prevent possible data loss. * Touched up the endless tower script slightly. - Added ends to several NPCs which would allow you to restart timers. - Added some missing stopnpctimers to npcs. (bugreport:4418) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14400 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-08-29Force a map_quit() call on the session data after a block/ban/changesex/acc ↵Paradox924X1-0/+3
deletion to remove leftovers of a player's session caused by when the fd has already been set to eof (player is not connected) but session data is kept (e.g. autotrading). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14398 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-08-28Replaced a map_moveblock() call with a call to unit_movepos() to prevent an ↵Paradox924X1-1/+1
exploit. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14396 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-08-26* instance_npcname will now error if the NPC being looked up is not found, ↵L0ne_W0lf1-1/+7
care of ramsey. * delitem/2 will now send the close button when failing to find all neccecary items to delete. - Still do to, items should not be deleted as-found, and should be deleted once counted and in the event of delitem failure, nothing should be consumed. This is a design flaw in eathena, and should be fixed as soon as possible. * Implemented the Endless Tower instance. * Updated announces and dialogs in KVM. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14395 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-08-26- Fixed duration of Box_Of_Sunlight. (bugreport:4408)brianluau1-0/+4
- Fixed some small typos in KVM scripts. (bugreport:4403) - Fixed @refresh leaving you stuck if you had a chat window open. - Changed @refresh to also send your facing direction. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14394 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-08-22Follow up to r14392, forgot to remove the old snprintf.L0ne_W0lf1-1/+0
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14393 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-08-22Mob chat now strips "#unique" names off monsters, curtosy of Daegaladh.L0ne_W0lf1-0/+4
Touched up the Airship scripts. Fixed up some content based on official files. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14392 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-08-20* Commented out code from r14388, as this breaks NPCs that rely on running ↵L0ne_W0lf1-1/+1
global events in duplicates. (IE: WoE scripts) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14390 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-08-20Removed processing for undocumented and unused event 'OnCharIfInit' which is ↵Paradox924X2-2/+0
essentially an alias for event 'OnInterIfInit'. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14389 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-08-20Made it so global events don't get executed in duplicates to prevent ↵Paradox924X1-1/+1
unnecessary reprocessing of events that only need to be run once. This potentially reduces the total number of global events by hundreds, even thousands. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14388 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-08-20- Added a few missing updates to the last packet update to properly support ↵Skotlex1-2/+6
player clones and disguising. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14387 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-08-20Fixed a typo in clif_storagelistInkfish1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14386 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-08-19* Follow up to r14383, changed use of clif_font_area to clif_font, seems ↵L0ne_W0lf2-3/+3
Skotlex forgot them. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14384 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-08-19- Implemented usage of packets 0x7fa and 0x7f7, 0x7f8, 0x7f9. These are used ↵Skotlex17-104/+203
for proper deletion of items as well as movement/spawn packets for Renewal clients. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14383 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-08-18* Added bonus3 bAdd/SubEle, which allows you to specify a battle flag as ↵L0ne_W0lf4-13/+204
well! Dun dun dun! - The bonuses are addititive to existing bAdd/SubEles, as that's how it appears to work. - Updated Asprika to use new bonus3 bSubEle. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14381 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-08-17Fixed an exploit where unauthorized GMs can give zeny through auction.Inkfish1-0/+6
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14379 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-08-17* Attempting to tackle, and fix some simple errors in skills.L0ne_W0lf3-19/+14
- Stormgust hit counter no longer resets under new casts of stormgust. - RG_STEALCOIN will now cause the monster to aggro player on success. (bugreport:3547) - SL_WIZARD will now consume one crystal fragement per reflected hit. (bugreport:3603) - WZ_FROSTNOVA will now ignore targets in area that are already frozen. (bugreport:3980) - SL_KAAHI will no longer uses SP if player has full health already. (bugreport:3918) - CG_TAROTCARD "The Lovers" will heal source player instead of target. (bugreport:4171) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14378 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-08-16- Merged Shinryo's patch to speed up map-cache loading.Skotlex2-38/+81
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14377 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-08-14* Quest log kill count now updated properly. (Added from topic 253813)L0ne_W0lf1-11/+13
* More battleground editing, and some bug fixes. - * ALL BATTLEGROUNDS ARE NOW ACTIVE BY DEFAULT. PLEASE CONTINUE TESTING * - Rewrote the Badge Exchange NPC in bg_common.txt, is official now. - Other changes to the bg_common folder, including disabled GM NPC. - Completely rewrote Flavius for the most part, from ground up. - Moved old Flavius battlegrounds to /custom/battleground folder. - Restored original bg_common, and KVM to /custom/battleground - Fixed wall bugs in Tierra Gorge, and added an oninit to the timers. - Other minor tweaks to both Tierra Gorge and KVM scripts. - Fixed the pseudo-cooldown on KVM not working properly, I hope. - Added global time2str function which will be used later in Endless tower. * Applied Epoque's mapflag clean up, which removes flags from scripts. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14374 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-08-10Updated several buffers to use an appropriate size of CHAT_SIZE_MAX rather ↵Paradox924X1-19/+19
than 200 or 256. This will help prevent buffer overflows with long atcommands. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14372 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-08-10Made the rates command much more verbose.Paradox924X1-5/+14
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14371 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-08-10Ensure exp rate changes from a reloadbattleconf cause a call to mob_reload().Paradox924X1-1/+3
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14370 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-08-03- Merged a few minor bugfixesSkotlex3-81/+215
- Merged in a bunch of the eA renewal support patch. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14368 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-07-31* Implemented three new mercenary skills.L0ne_W0lf4-2/+18
* Added two new monster mercenaries. - Added information for the three new mercenary skills. - Added mercenary skills with cast times to castnodex. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14367 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-07-28* Rev. 14365 Updated npc_randomattack, it now does 100*skillevel percent damage.L0ne_W0lf1-2/+8
* Added patch from Paradox to allow a skill to use a random element for damage. See skill DB for info. * Updated entry for npc_randomattack in the skill database, now uses the newly added -3 element. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14365 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-07-16* Added two new item groups, and implemented the remaining in the item database.L0ne_W0lf1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14364 54d463be-8e91-2dee-dedb-b68131a5f0ec