9679 Commits

Author SHA1 Message Date
jmanfffreak
000d0e777c Added King Dramoh to mal_dun01 (bugreport:5381)
Corrected NPC sprite in minstrel job quest (bugreport:5387)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15660 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-06 02:02:26 +00:00
eathenabot
76f6cffc57 * Merged changes up to eAthena 15076.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15659 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-05 13:57:01 +00:00
gepard1984
47fc6d2fe2 - Guild Castle code cleanup:
- all changes to guild castle data are now handled first by map-server and only sent to char-server for saving
  - ensured that changes made to guild castle during char-server disconnection time will be resent on reconnect
  - actually removed definition of `MAX_GUILDCASTLE` (r15657)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15658 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-05 00:08:28 +00:00
gepard1984
f810293de3 - Guild Castle code cleanup:
- removed `MAX_GUILDCASTLE` limit
  - char-server now caches guild castles in `DBMap`
  - improved guild castle SQL queries to support non-default values of `MAX_GUARDIANS`
  - disallowed declaring guild castles on maps that are on other map-servers 
  - map-server now requests data for all guild castles from char-server on initial connect (bugreport:287)
  - removed ''guildcastleinfo events'' as they were esentially duplicated ''OnAgitInit''
  - optimized castle data load packets (bugreport:287)
  - updated WoE scripts to reflect source changes (scripts no longer need or should request castle or guild data)
  - updated related docs
- Added `db_size` macro.
- Replaced manual counting of castles occupied by a guild with `guild_checkcastles()` calls.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15657 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-04 18:37:29 +00:00
lordttseven
d78313665c Assorted skill-related tidbits
* reduced network load for PC_PERM_ALL_SKILL
 * fixed @allskill setting skill ids too late
 * fixed skill reset giving free level 9 NV_BASIC

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15655 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-04 11:00:25 +00:00
lordttseven
272d3792c5 * fixed job change level not being recorded for 2nd -> 3rd class (bugreport:5383). the fix should be self-regenerating on existing 3rd job characters
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15653 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-03 23:39:20 +00:00
lordttseven
9f938e0c70 * fixed getiteminfo offset being off by one in REMODE (bugreport:5378)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15652 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-03 13:15:01 +00:00
gepard1984
e314187787 Updated CMakeLists (follow-up to r15572, r15586) (patch provided by Saithis, pid:82588).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15651 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-02 19:57:29 +00:00
gepard1984
654676b73e Replaced some magic numbers related to castle guardians with MAX_GUARDIANS.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15650 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-02 17:00:17 +00:00
lordttseven
ce45ab511f - reverted r15523 (broken workaround for an underlying issue, see bugreport:5237 again)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15649 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-02 16:24:29 +00:00
gepard1984
412c51b4bd Minor NPC code cleanup: timer labels.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15648 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-02 00:43:28 +00:00
gepard1984
14d2a44ea5 - Fixed dangling pointer caused by r15644 (partially reverted).
- Fixed possible memory leaks with guild castle script events.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15647 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-02 00:22:18 +00:00
gepard1984
7da6590aad Proper fix for r15641 (reference to non-existant NPC).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15646 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-01 23:35:13 +00:00
shennetsind
c971087af3 Follow up r15638: the 'sd' party is unnecessary -- when there is no player (e.g. killed by command/npc) the modifier is always 100%. also, the primary 'sd' in mob_dead is 'mvp_sd' and not 'sd'.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15645 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-01 23:22:19 +00:00
gepard1984
17bb9ae684 Enabled DB_OPT_RELEASE_DATA for several DBMaps to simplify data freeing.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15644 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-01 23:21:45 +00:00
gepard1984
57de7584e8 Fixed skillname->ID DBMap storing skill integer value in void pointer.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15643 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-01 21:27:57 +00:00
gepard1984
b4d04d7117 Enabled DB_OPT_RELEASE_DATA for atcommands DBMaps so they are able to free data automatically (as pointed out by Wildcard).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15642 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-01 17:50:26 +00:00
masao87
4defbd1e6f - Follow up r15636, removed an warning where the Script trys to hide an Non-Existant NPC named "Staff#airplane_01".
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15641 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-01 14:13:19 +00:00
gepard1984
1e31877e30 Some NPC code cleanup (event labels).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15640 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-02-29 23:53:22 +00:00
protimus
2b62d9c05d Fixed Bradium Brooch ASPD bonus.
Added town mapflag to brasilis.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15639 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-02-29 06:12:12 +00:00
protimus
d70e5562da Removed drop and exp penalties of bosses monsters in renewal. (bugreport:5377)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15638 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-02-29 05:52:53 +00:00
gepard1984
9e913e885f Updated Apple Gambling script to official.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15637 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-02-28 22:28:19 +00:00
gepard1984
202909582c Updated Airship NPCs to official.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15636 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-02-28 20:11:46 +00:00
shennetsind
4f28d3ef20 Fixed PA_SACRIFICE crash, bugreport:5371, present since r15277
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15635 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-02-27 22:29:59 +00:00
brianluau
3d8bd6c9c1 - Fixed a small typo in script_commands.txt
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15634 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-02-27 20:04:30 +00:00
gepard1984
7c60f9f8da Fixed Heal amount on skill levels 1~9 (since r15009, bugreport:5372).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15633 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-02-27 18:59:31 +00:00
gepard1984
f918aa8aad Fixed atcommands not being logged (follow-up to r15572)(bugreport:5370).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15632 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-02-27 13:04:34 +00:00
eathenabot
0041662145 * Merged changes up to eAthena 15075.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15631 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-02-27 03:15:59 +00:00
og2
31f640090e Strange Hydra Quest + Hydra Ball(bugreport:5339)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15630 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-02-25 16:18:40 +00:00
brianluau
3df0386889 - Clarified the comment about spaces in 'server_name' config. (bugreport:2656)
- Grouped all the log file/table settings together, follow up to r15253 (ea:15042).
- Added "DROP TABLE" statements to the mob_skill_db SQL files. (bugreport:5284)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15629 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-02-24 22:58:01 +00:00
gepard1984
8a541cdba3 Fixed va_list being reused in DBMap code (linkdb_foreach()) (bugreport:5367).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15628 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-02-24 16:50:34 +00:00
xantara
75d4b76993 Fixed Royal Guard's Banding skill & icon activation (bugreport:5210)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15627 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-02-22 02:13:09 +00:00
xantara
ef2e407b17 Applied renewal skill changes: (bugreport:5302)
- Arrow Shower's attack power (50+10*SkillLvl)
- Wind Blade's MATK per hit (from 100% to 150%)
- Storm Gust's chance of freezing (65-5*SkillLvl)
- Land Mine, Blast Mine, Claymore Trap's damage formula
- Spear Quicken's ASPD (fixed 7), CRIT (3*SkillLvl) and FLEE (2*SkillLvl)
- Holy Cross's double damage with 2-handed spear
- Axe Mastery's damage increase also applies to Sword class weapons
- Spiral Pierce's weapon requirement (now allows swords)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15626 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-02-22 02:08:57 +00:00
lordttseven
7ed49a2dad * fixed third class skill point allocation logic (follow-up to r15594, bugreport:5329)
* replaced some hard-coded constant values in the vicinity with DB lookups
- removed semi-sensible special scenarios for borked GM character's skill trees in pc_calc_skilltree_normalize_job

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15625 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-02-20 16:50:27 +00:00
lordttseven
6ca4baa006 * updated the custom job changer npc that ships with rA to support both branches of 3rd classes for easier testing proper job change mechanics
* updated const.txt with some job-system related values

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15624 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-02-20 15:08:06 +00:00
kenpachi2k11
7587a0d74b Follow up r15619: Added missing apostrophes in ATK field in item_db_re.sql. (Glorious Arc Wand)
Removed left over refine_db.txt in /db/ folder.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15623 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-02-19 23:04:39 +00:00
shennetsind
d982b4534b minor improvement on status_calc_<stat> for SL_HIGH soul link, being it does not stack with other status changes.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15622 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-02-19 21:28:51 +00:00
shennetsind
44f4a1ed41 Follow up r15620 (forgot to commit recursively =x added missing files)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15621 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-02-19 21:18:39 +00:00
shennetsind
779ab672a4 Updated Enchant Blade, bugreport:5346
- May only cast on self.
- Updated formula: [( ( Skill Lv x 20 ) + 100 ) x ( casterBaseLevel / 150 )] + casterInt

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15620 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-02-19 21:17:42 +00:00
kenpachi2k11
e4274bca68 Fixed Refined Quadrilles bonus script. (bugreport:4835)
Fixed Glorious Arc Wands MATK values and added its entry to item_db_re.sql. (bugreport:4708)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15619 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-02-19 21:04:29 +00:00
kenpachi2k11
b3fa441427 Fixed Battleground Guardian mob modes. (bugreport:4483)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15618 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-02-19 20:26:04 +00:00
kenpachi2k11
a47d176d8b Fixed skill tree for Lord Knights Concentration/Spear Dynamo skill (ID: 357). (bugreport:5082)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15617 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-02-19 19:50:04 +00:00
shennetsind
d2cf026ba2 Initial support for Wanderer and Minstrel, and a few adjustments here and there for other classes.
- credits to 3ceam for the base.
- should you step by any bugs let us know, http://rathena.org/board/tracker

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15616 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-02-19 17:49:23 +00:00
gepard1984
99e244448e Fixed /lb and /nlb commands displaying additional nickname (bugreport:5351).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15615 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-02-19 12:38:25 +00:00
kenpachi2k11
dd24c8297e Fixed Bradium Golems (2049) mode. (bugreport:4476)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15614 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-02-19 10:28:03 +00:00
lordttseven
27933caa3d - reverted part of r15609 since apparently the issue is purely limited to ZC_SKILLINFO_LIST, and this change breaks big storages
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15613 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-02-19 10:21:16 +00:00
shennetsind
ca34ad2ba9 Fixed /b and /nb bugreport:5351
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15612 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-02-19 04:34:56 +00:00
kenpachi2k11
0d64cd4e44 Updated Guillotines (1369) bonus script. (bugreport:4904)
Updated Hyuke's Black Cat Ears' (5360) bonus script. (bugreport:5055)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15611 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-02-19 00:22:32 +00:00
shennetsind
6a2e86ce84 Follow up r15609, fixed gcc warnings
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15610 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-02-18 22:30:19 +00:00
lordttseven
930048790b * adjusted socket_max_client_packet to a more accurate (if guessed) value to prevent undefined client behavior (may only affect more recent clients?)
+ added a workaround for too large ZC_SKILLINFO_LIST packets resulting from all_skill group permission by sending excess skills one by one (bugreport:5348 and bugreport:5349)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15609 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-02-18 22:05:21 +00:00