summaryrefslogtreecommitdiff
path: root/src/map
AgeCommit message (Collapse)AuthorFilesLines
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
2010-06-29* Follow up to r14357. Moved where sd is checked for existance in ↵L0ne_W0lf1-4/+2
specialeffect2. * Fixed Bubble Gum again. (200 = +100%, 300 = +200%, etc.) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14358 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-06-28* Updated specialeffect2 to accept player names. (follow up to r14353)L0ne_W0lf2-2/+5
* Bascilica now allows boss-flagged monsters to knock you back as per official. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14357 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-06-28* Follow up to r13895, added a battle.conf setting to control if ranges ↵L0ne_W0lf5-15/+12
should be checked with autocasts. 'autospell_check_range', by default is set to no, as this is official behavior. This does not affect autospellwhenhit. * Sonic Blow autocast now stops players attacking when it triggers. It's possible there is more depth to this on official servers, and should 'stop' attacking on regular casts as well. It appears so far that this is the only skill that behaves this way. * Modified the default value for homunculus_auto_vapor in source to 1. * pvp_points are no longer calculated in the gvg_dungeon flagged maps. * Corrected a view ID and an equip location in the item database. (bugreport:4330) * Corrected a typo in the DTS_Warper script. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14356 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-06-22* Added support for NPC names in the 'specialeffect' script command, go go ↵L0ne_W0lf1-1/+8
copy/paste! * Updated several NPCs to use the updated specialeffect command, updated more NPCs to use the updated emotion command. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14353 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-06-20Fixed codepage indicators being included in NPCs' whispervars. (bugreport:4325)Gepard1-0/+3
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14349 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-06-18Added support for NPC/PC names in 'emotion' script command. (topic:249193)Gepard1-3/+14
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14345 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-06-14* Blocked being able to use the skill CR_DEVOTION on players under the ↵L0ne_W0lf4-6/+13
status SC_HELLPOWER. - Additionally, users afflicted by the status can also no longer use Token of Siegfried to self-res. * Added Manuk, Splendide and SC_HELLPOWER statuses to the status effects that can't be dispelled. * Changed SC_SPEEDUP0 to use the correct status icon SI_MOVHASTE_HORSE. * Changed SI_SPEEDUP1 to use the correct status icon SI_SPEEDPOTION1. * Added updated 13.2 drops to existing monsters. (Most rates are unknown, and set to 0.1%) * And time to squish database bug reports! - Fixed guild event quest log entry time limit. (Bugreport:4204) - Fixed Musika healing while attacking and not when attacked. (Bugreport:4211) - Corrected the Int and HP/SP reduction on the Dead Tree Cane. (Bugreport:4217) - Fixed the non-set bonus for Glorious Ring's heal increase. (Bugreport:4223) - Fixed Death Guidance not casting NPC_HELLPOWER on the user. (Bugreport:4250) - Changed the usable job for Bone Plate from all to thief class. (Bugreport:4286) - Changed the bonus on alternate large bapho horns to subrace. (Bugreport:4291) - Added slots to blu and pink night caps, and a couple others. (Bugreport:4301) - Removed an extra comma from the Mini_Propeller_M headgear. (Bugreport:4307) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14342 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-06-14'clif_hpmeter' shouldn't send the packet to the player himself.Inkfish1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14341 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-06-10* Updated SC_ITEMBOOST to work similar to how it used to in r11351.L0ne_W0lf1-3/+4
- Will not boost drop rates past 90%, but ignores those already greater than. - Now uses val2 in the sc_start as the drop rate modifier, see item_db for example. * Corrected number of slots on several newer items. * Added HE Bubble Gum and adjusted existing gum bonuses. * Removed monster chat for porings npc_emotion skill use. * Updated several modes for monsters episode 13.1+ git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14336 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-06-09* Added support for packet 0x7fe which changes the bgm temporarily for a ↵Yommy3-1/+89
single player. * Added 2 script commands, playBGM and playBGMall, documented use in doc/script_commands.txt git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14335 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-06-02* Corrected warnings (and errors on some compilers) from r14327.L0ne_W0lf2-4/+4
* Actually added Manul/Splendide shop files from r14327. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14329 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-06-02- Fixed item script of Chicken_Hat (5431). (bugreport:4174)brianluau3-501/+501
- Fixed a typo in script_commands.txt (bugreport:4270) - Fixed some links in the README html files. - Fixed the range of 'max_guild_alliance' in battle.c (0 to 3). - Set svn:eol-style=native for some recently added text files. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14328 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-06-01* Implemented the Manuk and Splendide item status effects, thanks to Epoque.L0ne_W0lf5-1/+73
* Implemented Manuk and Splendide consumable items. * Added Splendide and Manuk merchants. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14327 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-06-01Rewrote the autotrade mapflag check and display from r14322.Paradox924X1-2/+5
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14324 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-06-01Fixed a few typos from r14322.Paradox924X2-6/+6
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14323 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-06-01Added support for using 'town', 'autotrade', 'allowks', ↵Paradox924X2-136/+168
'monster_noteleport', 'pvp_nocalcrank' and 'battleground' mapflags in scripts (bugreport:4226). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14322 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-06-01Replaced all occurrences of 'leaved' with 'withdraw'.Paradox924X7-15/+15
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14319 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-06-01Rewrote and optimized clif_hpmeter to employ map_foreachinarea() rather than ↵Paradox924X2-34/+34
an iteration over every session (bugreport:3956). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14318 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-05-31Rewrote and reorganized checks in @autotrade to check and display most ↵Paradox924X1-22/+22
useful information first (bugreport:4253). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14317 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-05-30Damaged reflected from skills will now be shown as multiple hits if the ↵Paradox924X1-1/+1
skill used was multi-hit. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14314 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-05-29Added a pc_isdead check to warpparty. Only warp and mapwarp (moveto, ↵L0ne_W0lf1-1/+4
warpallpcinthemap, and warpwaitingpc aegis script equivilents) should revive players when placing them on new maps. Updated F_CashPartyCall to use warpparty. Renamed original function to F_CashPartyCall2 and commented out. Fixed an error in the monster race npcs calling a nonexistant OnEnable. Renamed 'Tabb' in the 13.1 Draco egg daily quest to 'Taab'. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14313 54d463be-8e91-2dee-dedb-b68131a5f0ec