summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
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
2009-03-26* Fixed Spirit of Assassin not reducing the aftercast delay of Sonic BlowPlaytester1-12/+26
* Assumptio can neither be cast nor dispelled on monsters anymore git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13629 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-03-25Added correct packets for the food item creation window.ultramage3-1/+78
Added script command 'cooking' to activate this window and applied it to the 5 cooking kit items. Renamed the cooking quest variable to cooking_q to avoid a naming collision with the new script command. (You need to manually rename all occurences of this variable in your txt-savefile/sql-database if you want to preserve player progress.) The code still relies on the messy skill_produce_mix logic and still uses completely custom equations. To be fixed in a separate commit. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13628 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-03-25Fixed skill delay paw print icons showing for far too long.Sara2-4/+14
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13624 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-03-24Ghetto-fixed the status timer packet for now.Sara1-1/+3
For some reason, packet lengths as high as 0x43f are not reading properly, despite being fine in the packet database. It works fine right now, but it should be changed when the packet database reading is fixed. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13622 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-03-24Some more fixes to my buggy commit -.-;Sara1-1/+4
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13621 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-03-24:)akrus1-3/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13619 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-03-24Some fixes to my previous commit.Sara2-6/+6
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13618 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-03-24sorry for so many commits, have no time to testakrus1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13617 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-03-24Lol :xakrus1-3/+3
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13616 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-03-24Yet another fix...akrus1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13615 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-03-24Quick fix for Sara's commitakrus1-2/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13614 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-03-24* Added support for new status change packet, uses new setting ↵Sara9-20/+46
display_status_timers in client.conf. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13613 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-03-18- Implemented new item and bonuses for Kreiger Von Midgard rewards.zephyrus8-38/+282
* Execute script on skill (bonusautoscript3) * Add effect on skill (bAddEffOnSkill) * Execute skill on skill (bAutoSpellOnSkill) - Fixed some boxes Rental time according to item descriptions. - Implemented SC_ITEMSCRIPT, a status that gives you temporally the effect of an item. Check items 14597 to 14605 if you want to get the idea. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13596 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-03-17- Battleground mapflags:zephyrus1-3/+12
* 1 = no scoreboard (as Tierra Valley is). * 2 = scoreboard enable (as Flavius and KvM requires). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13594 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-03-17- Implemented official battlechat packets (thanks to Pakpil).zephyrus5-29/+153
- Implemented the scoreboard packets (thanks to Pakpil). - Updates to Tierra Valley according to official info. * There are no barricades around each base, barricades are in the middle left path. * There is another graveyard used for the owners of the middle base, with faster spawn (each 20 seconds). * I added a flag respawn in the middle, currently I don't know if this if official or not, but it allows each team recapture the middle base. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13593 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-03-16Fixed a logic typo in one empty string check (from r4823).ultramage1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13584 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-03-13Corrected a potentially uninitialized variable in sv_parse (bugreport:2860).ultramage1-1/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13581 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-03-10* Results of client behavior investigation when mes/next/close/menu/input is ↵FlavioJS1-18/+63
used. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13575 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-03-08Fixed statpoint table-based stat reset code using 'short' instead of ↵ultramage1-12/+10
'unsigned int' and messing up stat calculation (followup to r13541) (bugreport:2841). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13573 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-03-08* Fixed a couple bugs with marionette controlultramage3-143/+59
- Reduces caster max hp by 1000. - Job and Equipment bonuses counts toward the 99 limit. - Fixed stat overflow on baby targets with stats over 80 (bugreport:2232). - Fixed clowns being able to cast it on another bard/clown (same for gypsy/dancer) (bugreport:166). - Caster is no longer blocked from using items. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13572 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-03-08Added several mail id checks to prevent a map server crash (bugreport:2837).ultramage1-3/+16
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13571 54d463be-8e91-2dee-dedb-b68131a5f0ec