summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
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.ai4rei7-43/+62
- 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).Gepard3-6/+4
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.ai4rei3-81/+117
- 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-26* Reduced MAX_GUILD_STORAGE from 1000 to 600 (like MAX_STORAGE), since ↵ai4rei1-1/+1
storage with 1000 items causes too large packets that are dropped then, which in turn gives the impression that the items are lost (follow up to r14503). - Note: When updating an existing server, keep in mind that excess items in guild storage get lost, when MAX_GUILD_STORAGE is reduced. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14725 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
2011-02-19* Removed '.txt' from log config info messages, as the values already have ↵ai4rei1-7/+7
an extension (since r197, related r196). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14717 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-02-19* Fixed gcc compile warnings in char-server and console plug-in ↵ai4rei3-7/+5
(bugreport:4771, topic:208746, since r9631 and r14700). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14716 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-02-19* Fixed buying stores could be opened and sold to regardless of distance ↵ai4rei1-0/+11
between seller and buyer (since r14713). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14715 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-02-19* Fixed 'feature.conf' not getting loaded and a typo buying store feature ↵ai4rei1-1/+1
setting name (follow up to r14713). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14714 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-02-19* Implemented buying store system (aka. reverse vending, purchase shop) ↵ai4rei19-21/+808
together with related skill and items, without NPCs. - For SQL apply upgrade_svn14713_log.sql to upgrade tables `picklog` and `zenylog`; for TXT no action is necessary. - Requires 2010-04-20aRagexeRE or later and can be disabled in 'conf/battle/feature.conf'. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14713 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-02-17* Merged enumeration update from renewal [14699/branches/renewal] for a ↵ai4rei2-10/+414
future commit. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14709 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-02-16* Updated configure/make scripts to resolve various issues.ai4rei2-3/+6
- Added detection whether or not -fPIC switch is required when compiling shared objects (plug-ins) to resolve compile issues on 64-bit platforms (topic:208746). - Native 'strnlen' implementations are now detected and disable the one in strlib (bugreport:1261). - Define 'DB_MANUAL_CAST_TO_UNION' is now set when necessary (bugreport:1261). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14708 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-02-15* Added support for client GM command /check (related r12076).ai4rei3-6/+63
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14707 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-02-14* Fixed drop list of map flag 'pvp_nightmaredrop' not getting cleared upon ↵ai4rei1-0/+1
@reloadscript (bugreport:4282, follow up to r14668). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14706 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-02-14* Fixed GMs with GM level equal to 'lowest_gm_level' being treated as normal ↵ai4rei1-2/+2
players in 'gm_can_party' check (bugreport:4162, since r13143). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14705 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-02-14* Fixed a crash when script 'npctalk' is given too long string ↵ai4rei2-7/+25
(bugreport:4759, related r2145). - Fixed related buffer overflows in message related clif functions (since r1182, r14270). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14704 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-02-09* Fixed script command 'bpet' (Pet Incubator) displaying an empty egg list ↵ai4rei2-9/+12
when attempting to hatch a pet while already having one out (bugreport:3313). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14702 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-02-08* Moved script constant manipulation code into separate functions ↵ai4rei2-10/+40
script_get_constant / script_set_constant. [Ai4rei] - Added protection against overwriting existing names in script constant creation code. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14701 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-02-08* Added support for new delayed character deletion.ai4rei5-25/+574
- Asks for birth date associated with the account and has a waiting time of 24 hours by default (setting). - For SQL apply upgrade_svn14700.sql to upgrade table `char`; for TXT no action is necessary, as it upgrades itself. - This completes support for clients 2010-08-03aRagexeRE and later. * Updated login sql engine version, missed during `birthdate` addition (follow up to r14672). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14700 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-02-08* Updates to various client packets.ai4rei5-82/+77
- Renamed clif_set0199 and clif_send0199 to clif_map_property and clif_map_property_mapall respectively and added an enumeration for currently known map properties. - Renamed clif_set01D6 to clif_map_type and added an enumeration for currently known map types. - Resolved undocumented field of packet 0x22e (ZC_PROPERTY_HOMUN) to attack range. - Fixed aspd field of packet 0xbd (ZC_STATUS) getting filled with karma value. - Removed commented clif_skillinfo (duplicate of clif_item_skill). - Other minor comment updates and 'FIXME' assignments. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14698 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-02-06* Replaced 'nameid < 500' checks in script commands 'countitem', ↵ai4rei1-35/+52
'countitem2' and 'autoequip' with stricter ones. - This should stop meaningless itemdb_search warnings from said commands when an invalid item id is used. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14696 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-02-06* Fixed NPCs with closing parenthesis in their name could not be duplicated ↵ai4rei1-2/+7
(bugreport:3235). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14695 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-02-06* Fixed closing 'switch' curly not causing script EOL processing to trigger, ↵ai4rei1-1/+3
leading to the script line after the switch being handled as belonging to the curly-less statement block (bugreport:3273, since r3422). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14694 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-02-02* Fixed non-windows 'findfile' utils function missing a 'closedir' call ↵ai4rei1-0/+2
(bugreport:4739, since r1629). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14692 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-01-31* Inventory and Cart item arrays are no longer getting compacted on each ↵ai4rei1-37/+19
log-in/teleport/warp. - This also resolves yet another issue caused by r14685 (bugreport:2604). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14691 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-01-31* Various accumulated cleanups and fixes.ai4rei6-15/+23
- Improved the compile speed for files which include common/socket.h on windows builds (related r10471). - Moved FIFOSIZE_SERVERLINK define from common/mmo.h to common/socket.h (since it is a server connection FIFO size setting). - Fixed script command 'areamobuseskill' canceling monster's skill cast before it determined it's new target, which could be 'none' (bugreport:3272, since r13897). - Added a protection against attempts to read an empty backup / write to a full backup in skill_dance_switch as per TODO from r11347. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14690 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-01-31* Fixed faulty WFIFO reallocation causing memory exhaustion (bugreport:4737, ↵ai4rei1-3/+3
since r1816, related r11503, r11571, r11886 and r12232). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14689 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-01-30* Fixed equipped items' bonus no longer working after log-in until next ↵ai4rei1-0/+1
status recalc, due to missing pc_setequipindex which was previously called by pc_checkitem (bugreport:2604, since r14685). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14688 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-01-29* Removed @aw/@away which duplicates and collides with client's /am (away ↵ai4rei3-41/+0
message) (bugreport:1235, topic:163083, since r4351). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14686 54d463be-8e91-2dee-dedb-b68131a5f0ec