summaryrefslogtreecommitdiff
path: root/src/map
AgeCommit message (Collapse)AuthorFilesLines
2011-05-08* Script command 'query_logsql' now throws a warning when SQL logs are ↵ai4rei1-0/+7
disabled (related r11892). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14811 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-05-08* Updated/revised description of instance-related script commands ↵ai4rei2-9/+8
(bugreport:4880). - Fixed 'instance_create' would return -4 (party already instancing) when the requested party was not found. - 'instance_create' return value -2 now means 'party not found' rather than 'missing parameter'. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14809 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-05-01* Removed functions 'decode_zip' (ancient) and 'encode_zip' (from r824) from ↵ai4rei1-1/+1
grfio. These were outdated copies of zlib's 'uncompress' and 'compress' respectively (related r1530 and r5152). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14808 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-04-28* Fixed @makehomun not checking for existing homunculus properly and thus ↵ai4rei1-1/+1
allowing to create a homunculus when one is already present but inactive (bugreport:4879, since r10272). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14806 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-04-28* Code cleaning and reformatting in functions responsible for sending guild ↵ai4rei2-24/+27
expel information packets (follow up to r14718 and r14804). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14805 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-04-28* Updated packet 0x163 (ZC_BAN_LIST) to reflect change in packet layout ↵ai4rei1-5/+14
introduced with 2010-08-03aRagexeRE (bugreport:4881, follow up to r14718). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14804 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-04-28* Fixed formatted broadcast messages not working with 2010-11-24aRagexeRE ↵ai4rei1-5/+0
and later (bugreport:4872, since r14120). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14803 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-04-21* Extended debugging code for bugreport:3504 (related r14599).ai4rei3-4/+28
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14801 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-04-20* Fixed quest_check checking exactly 3 quest objectives instead of ↵Gepard1-12/+8
MAX_QUEST_OBJECTIVES (since r13959). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14800 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-04-18* Updated packet for the view players' equip feature for ↵ai4rei1-27/+37
2010-11-24aRagexeRE+ and made it support robes (follow up to r14797). - Fixed spawn/walking packets using wrong variable for shifting buffer reference (since r14797). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14799 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-04-16* Added support for visible garments/robes.ai4rei5-10/+72
- For SQL apply upgrade_svn14797.sql to upgrade table `char`; for TXT no action is necessary, as it upgrades itself. - This also fixes NPCs not being visible with clients 2011-01-11aRagexeRE+ (bugreport:4865). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14797 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-04-16* Some cleanups related to player and monster states.ai4rei10-120/+122
- Moved user_font and bg_id out of states as they are data, not states. - Reordered members of state structs so that bitfields are packed together (less memory gets wasted). - Other insignificant code tweaks. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14795 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-04-10* Added more packets for clients 2010-11-23aRagexeRE+ provided by Shinryo.ai4rei1-1/+1
- Fixed missed updates for packet version bump in previous revision. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14792 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-04-10* Fixed switching between musical weapons would cancel ongoing dance skills ↵ai4rei1-1/+1
(bugreport:4756, since r3538). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14790 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-04-10* Fixed @changegm not updating guild window interface after changing the ↵ai4rei1-2/+13
guild leader (bugreport:408, since r2622, related r3185). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14788 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-04-09* Moved duel code into a separate file.ai4rei8-188/+226
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14785 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-04-09* Changed pc_jobid2mapid to use a 1:1 mapping which is less prone to errors ↵ai4rei1-86/+83
and faster than the previous method (follow up to r14755). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14782 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-04-07* Fixed monster skill associated emotions were always ignored when having ↵ai4rei1-1/+1
less than three digits ( = all ) (bugreport:4842). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14778 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-04-07* Throwing around with packet updates.ai4rei1-52/+57
- Clarified the description for role-change chatroom packets 0xe0 (CZ_REQ_ROLE_CHANGE) and 0xe1 (ZC_ROLE_CHANGE). - Fixed auction window opening packet 0x25f (ZC_AUCTION_WINDOWS) had also a close button packet attached (since r12270). - Fixed auction search results packet 0x252 (ZC_AUCTION_ITEM_REQ_SEARCH) obtaining only a WFIFO buffer of 20 bytes, regardless of the amount of results (since r12301). - Fixed auction search result item type was .W instead of .L, which also eliminates the unknown field after it (since r12301). - Fixed an odd packet in clif_Auction_close, which is supposed to have layout of 0x25e, while using 0x25d as packet type (since r12323). - Resolved unconfirmed fields in clif_party_show_picker (follow up to r13987). - Updated packet layouts for auction in packet_db. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14777 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-04-06- Changed 'specialeffect' when <send_target> is SELF, it will display the ↵brianluau1-2/+12
effect to the attached RID (if there is one) instead of the npc. (topic:243842) - Changed 'movenpc' to accept an optional argument for direction. (topic:206973) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14776 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-04-06* Resolved some pc_setparam issues.ai4rei1-12/+30
- Fixed HP/MaxHP/SP/MaxSP could be set to arbitrary values, thus disregarding configuration limits and causing client crashes on certain conditions (bugreport:4177). - Fixed HP/SP not getting adjusted to MaxHP/MaxSP respectively, when the max. value is reduced below the value of the cur. value. - Fixed STR/AGI/VIT/INT/DEX/LUK values could be set beyond character's max. stat limit. - Fixed Gender not being limited to male/female. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14774 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-04-06* Improved changes to script command 'waitingroom' from r14772.ai4rei1-38/+13
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14773 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-04-06* Fixed script command 'warpwaitingpc' not checking, whether or not the ↵ai4rei1-5/+33
player still has required amount of Zeny (since r14765). - Fixed warping through 'warpwaitingpc' to savepoint would take the fee twice ( missing {} ). - Fixed random warping through 'warpwaitingpc' would not take away fee Zeny at all. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14772 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-04-05* Paying and obtaining Zeny (pc_payzeny/pc_getzeny) no longer silently ↵ai4rei1-2/+8
reverses the effect for negative amounts, that is, getting Zeny instead of paying up and vice versa (since r8273, related r8072). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14766 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-04-05- Completed L0ne's 2007 request for 'waitingroom' to support required zeny ↵Kisuka3-46/+51
and level. - Updated NPC files which required the waitingroom update. - Added Poring War script. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14765 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-03-28Prevented SC_EXPBOOST, SC_JEXPBOOST and SC_ITEMBOOST (used by Battle Manuals ↵Paradox924X1-0/+3
and Bubble Gum) from being dispelled by Gospel. (bugreport:4836) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14763 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-03-27* Added separate character state for vending (like for buyingstore), instead ↵ai4rei12-38/+37
of vender_id != 0 (follow up to r14682, related r14713). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14762 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-03-27* Added support for tracking state of client command /effect through packet ↵ai4rei2-0/+22
0x21d (CZ_LESSEFFECT). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14761 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-03-25* Fixed battlegrounds chat packet 0x2dc (ZC_BATTLEFIELD_CHAT) being sent ↵ai4rei3-5/+8
with the battleground id rather than the account id of the talking player (since r13593). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14760 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-03-22* Fixed possible client crash when monster is class-changing to mob_avail'd one.Gepard1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14754 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-03-20* Random accumulated tweaks and fixes.ai4rei6-42/+61
- Added a error message to npc_enable, to spot disablenpc/enablenpc/hideoffnpc/hideonnpc on non-existing NPCs (related r14750). - Replaced inlined npc_name2id code with calls to npc_name2id. - Open Buying Store skill is now exempted from noskill mapflag like Vending as well (bugreport:4815, follow up to r14713). - Fixed signed constant being returned as unsigned value in get_percentage (bugreport:4765, since r12679). - Replaced strlen checks, which checked whether or not a string is empty, with first-byte checks. - Fixed enabling 'fakename' not clearing party and guild name and cleaned up atcommand 'fakename' code. - Cleaned up party/guild name code in clif_charnameack (follow up to r14737). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14751 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-03-19Removed leftovers of old charcommand config (follow-up to r13403).Gepard2-5/+2
Added check to ensure character `rename` status will be saved if changed. Fixed Beast Strafing (HT_POWER) damage formula and SP requirement provided by Playtester (bugreport:4675, since r4392). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14748 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-03-15* Fixed pet database reading displaying wrong amount of read entries per ↵ai4rei1-3/+4
file (bugreport:4797). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14746 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-03-15* Fixed canceling item appraisal window (Magnifier and Identify) would ↵ai4rei1-0/+1
prevent players from using any follow up skills (bugreport:4809, since r14545). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14745 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-03-15* Fixed monsters getting warped when stepping on an NPC warp when at least ↵ai4rei1-1/+1
one of the bits of setting 'mob_warp' was set (bugreport:4766, since r12757). - Fixed option 'monster_ai' referring to setting 'mob_npc_warp' rather than 'mob_warp' (follow up to r8135). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14744 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-03-14* Fixed a typo in npc_touchnext_areanpc (NPC's map being used as it's ↵ai4rei1-1/+1
x-coordinate), which caused ::OnTouch_ invokation to affect different area than intended (bugreport:4814, since r14097). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14743 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-03-08* Fixed @item2 and script command 'getitem2' not taking MAX_REFINE define ↵ai4rei2-3/+3
into consideration (bugreport:4804). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14739 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-03-08* Fixed @str/@agi/@vit/@int/@dex/@luk commands setting a stat to 0 (rather ↵ai4rei1-1/+1
than 1), when exact amount is subtracted (bugreport:4803, since r14493). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14738 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-03-08- Added official behavior of displaying party names.Kisuka3-4/+16
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14737 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-03-07* Cleaned up packet dumping code.ai4rei1-58/+67
- Replaced utils function 'dump' with 'WriteDump' (files) and 'ShowDump' (console), and used those to replace inlined code in clif (related r10947). - Fixed clif_parse_debug not printing anything, when it is used with a variable length packet. - Added ability to dump invalid packets through define DUMP_INVALID_PACKET (clif.c). - Removed code to dump all incoming packets, as that can be achieved with the DUMP_UNKNOWN_PACKET code as well when needed (from r1009, related r10947). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14734 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-03-06* Minor clean-ups to buyingstore and searchstore code (follow up to r14732).ai4rei2-3/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14733 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-03-06* Implemented search store info system (aka. vending and buying store ↵ai4rei14-9/+881
search) together with related items. - Requires 2010-08-03aRagexeRE or later and can be disabled in 'conf/battle/feature.conf'. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14732 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-03-05* Fixed possible crash in script_reportdata, when a script string becomes NULL.ai4rei1-1/+8
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14731 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-03-04* Fixed recursive map_quit invocation when a buying store is auto-closed ↵ai4rei1-8/+13
(login when @autotrade/logout) (bugreport:4796, since r14724). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14730 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-03-02* Updates to the super novice's guardian angel prayer effect and related ↵ai4rei2-52/+24
handling code. - Removed the server-side chat tracking code (since r492) responsible for invoking the effect, since this functionality is handled by the client (invocation also processed by the server). This also fixes the missing 7 lines requirement on the server-side handling (bugreport:4786). - Updated the checks in the client-invoked code part and documented the packet. - Now only the prayer in client-side data\msgstringtable.txt (lines 791~794) applies. - The prayer is no longer blocked by noskill-restrictions. - Exp at 0% and 100% no longer causes the effect to trigger. - Fixed the exp percent check to also check one digit after the decimal point (requirement is 10.0% not 10%). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14729 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-03-01* Fixed packet 0x839 (new guild member expel notification) was expected on ↵ai4rei1-2/+2
clients 2010-06-08aRagexeRE~2010-07-30aRagexeRE, although those do not implement it (bugreport:4789, since r14718, related r14368). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14728 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-02-23* Updates to various custom stuff that buying stores might/are expected to ↵ai4rei3-3/+32
support (follow up to r14713). - Buying store no longer works on novending maps/cells (bugreport:4778). - MANNER_NOROOM mute flag now affects buying stores as well (like vending). - Enabled @autotrade for buying stores. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14724 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-02-23* Fixed whispering to NPCs (::OnWhisperGlobal) not working for NPCs whose ↵ai4rei1-1/+1
unique name is different from the display name (bugreport:4776, since r2624). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14723 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-02-21* Fixed SP regen not stopping when Maximize Power (BS_MAXIMIZE) is in effect.ai4rei1-1/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14720 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-02-20* Updated guild expel notification packet 0x15c (ZC_ACK_BAN_GUILD) for ↵ai4rei1-3/+10
clients 2010-06-08aRagexeRE and newer to 0x839. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14718 54d463be-8e91-2dee-dedb-b68131a5f0ec