summaryrefslogtreecommitdiff
path: root/src/map
AgeCommit message (Collapse)AuthorFilesLines
2010-12-02* Added clif_starskill (packet 0x20e, ZC_STARSKILL) to host the packet ↵ai4rei2-37/+60
previously implemented by clif_feel_info, clif_hate_info, clif_mission_info and clif_feel_hate_reset (related r4352, r4375 and r9162). - This also fixes sd->bl.id being sometimes supplied for monster_id in this packet. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14543 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-12-02* Various additions and updates to the comments and documentation of packets ↵ai4rei3-34/+81
in clif. - Renamed clif_01ac to clif_skillunit_update to make it look less 'mysterious'. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14542 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-12-02* Removed clif_weather_sub and clif_misceffect2 in favor of ↵ai4rei7-47/+20
clif_specialeffect_single and clif_specialeffect (all of them are ZC_NOTIFY_EFFECT2). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14541 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-12-02Monsters spawned with mob-generating items now have MD_ANGRY applied to them.L0ne_W0lf1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14540 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-12-02* Added packet 0x1b1 (ZC_SHOWDIGIT).ai4rei2-0/+19
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14539 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-12-01* Confirmed packet 0x291 (ZC_MSG) to be general-purpose msgstringtable.txt ↵ai4rei3-14/+16
packet and updated all functions using it (related r12245 and r13126). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14538 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-12-01* Fixed using main chat nick longer than 15 characters would cause a buffer ↵ai4rei1-1/+1
overflow (bugreport:2671, since r5013). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14537 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-12-01* Fixed bAutoSpellOnSkill bonuses could not be chained (bugreport:4421, ↵ai4rei2-9/+10
since r13596). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14536 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-12-01* Fixed NPC_TALK message being displayed with EOL character attached ↵ai4rei1-1/+19
(bugreport:4596, since r14270). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14535 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-12-01* Reverted change from r14533 and restored the 3rd field of mob_avail.txt ↵ai4rei1-2/+2
being optional (bugreport:4599, since r14532). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14534 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-12-01* Monster database reading now utilizes sv_readdb.ai4rei1-232/+99
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14532 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-30* Fixed out-of-bound access to percentrefinery array causing refine bonuses ↵ai4rei1-1/+1
stop working (bugreport:4598, since r14526). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14531 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-30* Fixed class being used instead of idx in status_readdb_job2 ↵ai4rei1-1/+1
(bugreport:4597, since r14526). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14530 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-30* Made job_db1.txt, job_db2.txt, size_fix.txt and refine_db.txt reading use ↵ai4rei1-126/+98
sv_readdb. - NOTE: Any MAX_LEVEL (map.h) increase requires at least same increase of SV_READDB_MAX_FIELDS as well. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14526 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-30* Made skill_tree.txt reading use sv_readdb. [Ai4rei]ai4rei5-57/+64
- Added define for skill entry requirements. - Reports duplicate skills within same job class. - Updated comments for skill Berserk in skill_tree.txt, among others because they would cause errors the way they are read now. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14524 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-30* Added a define for star gladiator feel/hate info array length (follow up ↵ai4rei5-9/+10
to r8721 and r11840). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14523 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-30* Fixed script command getusers causing 'player not attached' errors when ↵ai4rei1-9/+9
asking for character count in entire server (bugreport:4591, since r14495). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14522 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-29* Resolved issues with item delay system.ai4rei2-23/+29
- Fixed random crashes caused by map_session_data corruption due to out-of-bounds access to item_delay array (bugreport:4568, since r14455). - Fixed item delay database not being compatible with @reloaditemdb. Item delays are now reset upon reloading, much like a restart would do (bugreport:4589). - Fixed trailing commented lines in db/item_delay.txt could cause 'too many entries' error to be displayed. - Fixed last entity of a cash food item not being recognized as cash food, thus not receiving use delay, due to access to deleted inventory slot (since r14426). - These changes also fix a warning regarding variable 'i' in pc_useitem being potentionally uninitialized (bugreport:4559). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14521 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-29* Insignificant code tweaks: removal of excess function declarations and ↵ai4rei6-10/+2
self assignments. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14520 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-28* Added an option to re-roll the /dice emotion server-side, to prevent ↵ai4rei3-2/+11
cheats during events (bugreport:4194). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14519 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-28* Added emotion_type enumeration for clif_emotion constants.ai4rei8-33/+115
- Made clif_parse_Emotion use clif_emotion, rather than having it's code inlined. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14518 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-28* Added clr_type enumeration for vanish effect constants.ai4rei18-140/+149
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14517 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-28* Resolved multiple issues with the party booking system (bugreport:4573, ↵ai4rei4-59/+28
since r14412). - Fixed recruitments were limited to party leaders. - Fixed recruitment index was party id instead of an auto-increment value, causing sorting by age not working. - Fixed search result packet being sent on recruitment creation (probably to work-around next problem). - Fixed packet 0x0805 not getting sent, because of commented entries in packet_db.txt (packet ver. restriction of clif_send). - Fixed recruitment creation notice being sent to the recruiter only. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14516 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-28* Removed 'negative clrtype is used for skipping unauthed objects from ↵ai4rei1-30/+19
saving' introduced in r9975, as it is no longer required/used (follow up to r12223). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14515 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-28* Made the party booking search pass results as array of pointers, rather ↵ai4rei4-22/+11
than array of indexes, which require further lookup. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14514 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-28* Replaced literal constants related to the party booking system with defines.ai4rei3-13/+16
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14513 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-28* Fixed pets derived from immobile monsters not being able to walk ↵ai4rei1-1/+9
(bugreport:3377, since r13789). - This also fixes pets using original monster walk speed, instead of the one defined in pet db. - Fixed pets not being able to attack (pet_attack_support and pet_damage_support) when derived from a monster, which is not able to attack. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14512 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-28* Fixed a crash uncovered with r14501, caused by outdated local variables ↵ai4rei2-58/+81
when a script is about to suspend or terminate (bugreport:4577). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14511 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-28* Fixed a crash when using food status bonuses with cash food status bonuses ↵ai4rei1-24/+24
(bugreport:4582, since r14437). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14510 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-26Reverted r14504, the old value is correct due to how the equation works.ultramage1-6/+4
Fixed an ancient off-by-one mistake in the statpoint calc equation, details are in bugreport:4575. This will affect players with levels above 99, now giving them one stat point a level later. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14508 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-26Changed 'killerrid' and 'killedrid' from player vars to player params ↵ultramage4-5/+17
(bugreport:3249). Now stored in player session data, so they don't get saved on logout anymore. Added sql upgrade script 'upgrade_svn14507.sql' to remove the now unused player variables. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14507 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-26* Fixed base and job exp not getting reset on (de)leveling through commands ↵ai4rei2-11/+21
(bugreport:85). - Fixed level up related functions not updating client-side exp information, causing the exp percent value display random values. - Fixed party system not getting notified of level-ups through parameter changes. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14505 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-26* Fixed auto-generated statpoint table missing 3 status points (since r1107).ai4rei1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14504 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-25* Fixed a crash when an unknown map is encountered during parsing a 'script' ↵ai4rei1-2/+12
npc and the script has mismatched curly braces (bugreport:4423, since r11502). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14502 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-25* Fixed script commands attachrid and detachrid not updating the attached ↵ai4rei1-3/+29
character's information about currently running script, causing errors with dialog-based scripts or preventing characters from walking (bugreport:4571). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14501 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-25* Fixed party booking search not interpreting level 0 as 'all levels' and ↵ai4rei1-1/+1
using level as upper rather than lower bound (bugreport:4537, since r14412). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14500 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-24Display a message showing the user where to change MAX_ITEMDELAYS when they ↵Paradox924X1-1/+1
have too many entries in the item_delays db. Follow-up to r14455. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14499 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-24* Fixed calls to pc_delautobonus assuming map_session_data::autobonus2 and ↵ai4rei2-4/+4
map_session_data::autobonus3 arrays having the same size as map_session_data::autobonus (since r13915). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14497 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-24* Fixed pets with player sprites causing the client to crash while looking ↵ai4rei1-2/+2
for non-existing resources (topic:260895, follow up to r14488). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14496 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-23* Fixed script command getusers causing map server to crash when called with ↵ai4rei1-6/+31
type 0 without attached character (bugreport:4565). - Lack of character is now reported like other script commands do. Additionally invalid types are reported as well. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14495 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-23* Labels longer than 23 characters will no longer cause the server to exit ↵ai4rei1-9/+10
immediately (bugreport:4563, since r1213). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14494 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-23* Various small cleanups.ai4rei3-47/+113
- Fixed truncation warnings in @statuspoint, @skillpoint and @str/@agi/@vit/@int/@dex/@luk (since r14436). - Fixed data type inconsistency in @statuspoint and @skillpoint (since r5762, related r13541). - Silenced truncation warnings in CR_ACIDDEMONSTRATION damage calculation and cardfix application (since r13700). - Reformatted unit_blown to make it look cleaner (follow up to r14492). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14493 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-23* Added script command pushpc, which is required by newer scripts.ai4rei4-39/+90
- Moved knockback-part of skill_blown into unit_blown, to allow unconditional knockback required by pushpc without copy-pasting code. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14492 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-23* Fixed map-server displaying 'PK Mode' notice only for pk_mode 1 (since r8402).ai4rei1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14491 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-22* Fixed Rogue skill Steal Coin working on boss monsters (bugreport:2442).ai4rei1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14489 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-22* Fixed disguising as player clone causing the client to crash while looking ↵ai4rei1-2/+2
for non-existing NPC sprites (bugreport:4428, since r14387, related r14383). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14488 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-22* Fixed guild and guild member exp truncation issue (bugreport:4130, since ↵ai4rei5-14/+13
r14242). - Fixed guild member position, hair, hair color, gender, class and level could potentially become corrupted due to shorts being read as ints (partially since r2986). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14487 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-22* mail_deliveryfail no longer attempts to log (since r12910) and give items ↵ai4rei1-5/+8
(since r11855), when there is no item attached to the mail (bugreport:3239). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14482 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-21* Added enumeration RC2_* for mob data 'race2' (bugreport:4561).ai4rei5-6/+17
- Fixed race2-related bonus arrays using RC_MAX, rather than race2 maximum (since r6221, related r1277). - Fixed bSubRace2 lacking bounds check (since r1257). - Fixed bSubRace2 being documented as bSPSubRace2 (since r1257). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14480 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-20* Made atcommand declarations use ACMD_FUNC macro (bugreport:4252, related ↵ai4rei1-225/+225
r11607). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14477 54d463be-8e91-2dee-dedb-b68131a5f0ec