summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2009-05-03* Fix several npctimer issues (bugreport:1619, bugreport:1730)Inkfish1-55/+66
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13718 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-03* Fix 'awake' not working (bugreport:2580)Inkfish1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13717 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-03* Do not log damage if it's done by mob itself (bugreport:2933) [Inkfish]Inkfish1-0/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13716 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-02svn:eol-style native for char_sql's int_mercenary code (missing in r13166).ultramage2-241/+241
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13715 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-02* Spirit of Bard and Dancer now only works for mastered skills (bugreport:3037)Playtester2-1/+5
- also fixed an outdated comment in the source code git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13714 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-02- Fixed some typos in the script command documentation. (bugreport:2547)brianluau5-8/+8
- Fixed a misleading message in the custom Job Changer. (bugreport:682) - Updated some NPC's facing directions. (bugreport:3030) - Added missing newline in some ShowWarning(). (bugreport:2940) - Fixed SC_BOSSMAPINFO time being off by 1 minutes (bugreport:3035) Now, the seconds are rounded up to the next whole minute. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13713 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-04-30Added missing case SC_ONEHAND (from r5227) and case SC_MERC_QUICKEN (from ↵ultramage2-66/+104
r13203) to function status_change_start. Added missing case SC_AURABLADE (from r13693) to function status_change_end. Added symbolic names for all OPT3 values and replaced the OPT1/OPT2/OPT3/OPTION defines with corresponding enums. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13709 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-04-28- Avoid setting the canwalk delay after being hit if the target is already ↵skotlex1-2/+2
unable to move. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13706 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-04-27* Fixed break equipment debuff working on bosses (bugreport:3023)Playtester1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13703 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-04-25* Fixed Monster Spiral Pierce not being reduced by Ghostring CardPlaytester1-2/+11
- it is forced neutral as its a MISC skill for monsters and doesn't take weapon element git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13702 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-04-25* First attempt to fix up the strip skills, please make sure these fixes ↵Playtester2-16/+15
work (bugreport:3011) - the minimum rate of strip skills is now 5% for all levels - duration of strip skills depends on the dex difference between target and caster and can be reduced to 0 - strip skills can now affect bosses (if duration doesn't get reduced to 0 due to their high dex) - strip skills do a fixed -25% ATK, -15% DEF, -40% VIT or -40% INT independant of skill level - autocasting Full Strip has a duration now (if dex is high enough) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13701 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-04-25Added an int64 typecast to both the acid demonstration equation (which ↵ultramage1-3/+3
couldn't handle 1000-ish stats), and the misc damage reduction code (followup to r13694). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13700 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-04-25Filled in missing SI_ (status icon) names based on official info.ultramage1-22/+159
This is just for completeness, since nothing will display on the client until icon files are associated with these ids. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13699 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-04-25Correction to some status icons based on official informationultramage2-19/+38
- Added SI_S_LIFEPOTION and SI_L_LIFEPOTION and their corresponding new status changes to deal with the fact that Small_Life_Potion and Med_Life_Potion each use a different status icon. - Left the duplicate SC_HPREGEN status in fof backwards compatibility, but removed its icon. - Corrected the status icon id for SC_INCCRI from 292 to 295. - Corrected the status icon id for SC_INCHEALRATE from 293 to 292. - Added status icons for SC_INCFLEE2, SC_SPCOST_RATE and SC_COMMONSC_RESIST. - Removed icon from SC_ARMOR_RESIST since officially it is a bonus, not a status, and thus doesn't (and can't) have an icon. - Renamed the status icon name of SC_ELEMENTALCHANGE from SI_ARMOR_RESIST to SI_ARMOR_PROPERTY. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13698 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-04-24Fixed a small typo I did in my last Spiral Pierce fix, thanks to Inkfish for ↵Playtester1-1/+1
pointing it out (bugreport:3013) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13697 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-04-24* Lil fix for my last commit. Sorry :)akrus1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13696 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-04-24Renamed Happy Break's status name from SC_TKREST to SC_EARTHSCROLL, since ↵ultramage3-6/+5
that's its official purpose and it doesn't do anything else. Also removed the associated SI_TKREST since this status doesn't actually have an icon. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13695 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-04-24* Fixed Acid Demonstration (and probably some other skills) working wrong on ↵akrus1-1/+1
high-rate servers (thanks to [Funt] for the idea) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13694 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-04-24Filled in missing OPT3 change for LK's Aura Blade.ultramage1-4/+9
Added comments for OPT3 values 0x100 and 0x20000, which are currently unused. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13693 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-04-23Added length check to functions clif_parse_CreateChatRoom and ↵ultramage2-6/+11
clif_parse_ChatRoomStatusChange (bugreport:2999). This prevents a signed/unsigned integer overflow when calling the safestrncpy function. Also added a note regarding a potential out-of-bounds access issue in these functions. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13690 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-04-23Fixed several occurences of map_freeblock() being used before map_deliddb() ↵ultramage3-4/+4
(caused by r13503, r13505 and r13508) (bugreport:2959). This would cause object ids (chatrooms / ground items) to never be removed when DEBUG_MEMMGR was turned on, ultimately causing a 'no free object id' fatal error. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13689 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-04-23Made some adjustments to the land skill code, based on official information:ultramage3-25/+31
- Expanded and corrected the land skill view id enum in skill.h - Renamed UNT_ATTACK_SKILLS to UNT_DUMMYSKILL and UNT_KAENSIN to UNT_KAEN (official terminology) - changed GS_DESPERADO to use the UNT_DUMMYSKILL view id instead of UNT_KAENSIN (and is it supposed to be a land skill at all?) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13688 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-04-21- Now when the mob picks and attacks a player target, he is added to the ↵skotlex1-0/+3
"log" of attacked chars (counts for the total number of attackers bonus) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13685 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-04-21Crashfix for negative skill id values (bugreport:2984)akrus1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13684 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-04-20* Fixed safestrncpy trashing the memory before dst when n == 0. (since ↵FlavioJS2-7/+18
r10667, bugreport:2996) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13681 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-04-20Adjusted the exploit crashfix from r13678 to abort when invalid input is ↵ultramage1-2/+2
detected. Script text input packets of length 8 are now also invalid since there must be at least a zero byte (end of string) present. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13680 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-04-17- Critical crash fix. Please update your servers.zephyrus1-0/+3
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13678 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-04-16- Corrected the attack_attr_none setting to behave as it should: for those ↵skotlex1-2/+3
whom it is set, their "innate" attack element is "not elemental", meaning it deals 100% against all elements (rather than making only NEUTRAL attacks become not elemental). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13676 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-04-15* Monster Spiral Pierce is now a ranged misc attackPlaytester1-3/+4
- it always gets blocked by Pneuma, but never by Safety Wall - Defender doesn't reduce its damage - Range-Def item bonuses reduce its damage git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13672 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-04-14* Cooking success chance is now affected by DEX and LUKPlaytester2-2/+4
- "cooking exp" still needs to be implemented - also fixed a small issue when whispering to someone in autotrade git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13671 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-04-12* Took care of some warnings. (marionette formulas and *INTPTR_* macros)FlavioJS2-14/+18
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13670 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-04-11Inverted the way monster_ai 0x200 works, default is 0 again (followup to ↵ultramage1-1/+1
r13667). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13668 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-04-10- Set mob delay to a max of 24 hours so that mob_skill_db entries with huge ↵skotlex1-7/+10
delay values won't cause the skill to never trigger. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13666 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-04-07Berserk Pitcher can now be used on characters that have bows equipped (fix ↵ultramage1-2/+2
to r4371) (bugreport:2412). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13665 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-04-06Modified the lazy mob AI code to fix some very annoying behavior ↵ultramage1-28/+13
(bugreport:2258) - mobs will no longer get scattered across the whole map as soon as the last player leaves - mobs will now random-walk indefinitely even if there are no players on the map (might have a performance impact) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13664 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-04-05The dynamic mobs system will no longer de-spawn mvps (because it's annoying ↵ultramage1-0/+3
as hell). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13662 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-04-03Quick-fixed a bug that let anyone kick any online character from the ↵ultramage1-11/+2
mapserver (bugreport:2939). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13656 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-04-01* Removed online_check config options. (always active now)FlavioJS6-145/+147
* Clarified char_maintenance config option. * Changed packet 0x2712. (added request_id) * Changed packet 0x2713. (added sex, request_id, version, clienttype; removed email, expiration time, gmlevel) * Delayed user count check and mmo_char_send006b to when the account data arrives. * Created auxiliary function MD5_Salt. (split from a future commit that was getting to big for my taste) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13652 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-03-31(bugreport:2836) A correction of a typographical error with GM command logging.sketchyphoenix1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13646 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-03-31Gunslinger Tracking can be canceled if you get hit.ultramage1-5/+5
Gunslinger Disarm always shows skill animation. Removed custom firetrap effect from Gunslinger mines. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13644 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-03-30Fixed atcommand_param() using a hardcoded @ symbol, which broke on ↵ultramage1-5/+3
charcommands and changed atcommand_symbol (bugreport:2918). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13642 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-03-30Defined new server-side PACKETVER 20081126 to add support for the modified ↵ultramage2-1/+9
pet information packet (topic:197874). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13641 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-03-30Added packet 0x43f's length to the packet len table and adjusted related ↵ultramage1-7/+6
code (followup to r13622). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13640 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-03-30Extended the hardcoded packet length table values up to MAX_PACKET_DB (0x500).ultramage1-52/+92
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13639 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-03-29- Missing cleanup from the previous BG code removal.zephyrus1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13637 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-03-29- Implementing official battleground "emblem" crossed swords icon.zephyrus7-345/+67
- Removing the custom guild packets from Battleground as they are not needed anymore. - Scripts updated. - In this way, you get "battle cursor" over your same team, but that's how official does. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13635 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-03-29Enhanced the 'hack on npc menu' message in clif_parse_NpcSelectMenu.ultramage1-7/+10
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13633 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-03-27* Fixed a problem that blockskill timer failed when there was more than one ↵Playtester2-5/+6
on a skill - please test this, now Asura should be blocked 2 seconds after EVERY Snap git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13632 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-03-27- Added Flavius Battleground scripts.zephyrus1-221/+220
- Fixed the last commit about Assumptio, it's only player to monsters, but it can be used on mercenaries. - Added new JapanRO pets. - Fixed Valorous Assaulter's Katzbalger missing str bonus. - Medal of Mage (battleground reward) can also be used by Soul linkers. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13631 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-03-26Quickfix to last commitPlaytester1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13630 54d463be-8e91-2dee-dedb-b68131a5f0ec