11128 Commits

Author SHA1 Message Date
euphyy
a75c0475a2 > Hercules merges:
* 9b5ec24:
@accinfo update -- added pincode support and changed group_id to group_level as to respect the level hierarchy on whether to display passwords or not.
Updated GeoIP Database to March 2013.

* 9aded8a:
Introducing Costume Garment Slot 8192.
Also updated getlook script command to support Robe/Garment (val 12 Look_Robe).

* 691b3e6:
Fixed Tetra Vortex client crash. (bugreport:7302)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17218 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-03-27 21:57:45 +00:00
flaid
ef17b6e927 Quick SQL name fix for Dolomedes Card.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17217 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-03-27 15:26:45 +00:00
lemongrass3110
ffbaa8a876 Fixed a critical issue for all melee attacks, where the damage was reduced twice if a player attacked another player.
Might be related to: bugreport:6991

Thanks to playtester for helping me to test my fix.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17216 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-03-26 22:19:43 +00:00
brianluau
d1b19ed790 - Fixed a typo in r17209. (bugreport:7420)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17215 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-03-26 18:00:56 +00:00
daegaladh
d51c97a420 Follow-up r17210, fixed missing curly bracket.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17214 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-03-26 13:25:59 +00:00
glighta
dad4da7241 -upd homonS skills with Yommy leak infos, thx !
-fix summon_legion multiple spawn exploit and set summon stats.
-fix MH_LIGHT_OF_REGENE being broken since eleanor upd (typo)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17213 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-03-26 12:01:07 +00:00
glighta
9a1076b7e9 -Hotfixs for :
--bugreport:7364 null SC_STYLE_CHANGE crashing serv (when eleanor die and try to skill afterward)
--bugreport:7352 skillnotok_hom typo, checking other case.
-Remove unwanted debuginfo from r17211 

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17212 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-03-26 06:56:01 +00:00
glighta
55686799e4 -Follow up r17206, transfert *src on status_get_sc_def to properly calculate defense.
nb : 
NULL is transmitted for atcommand and npc call since they shouldn't be reduced.
src = direct user, so we can compare directly, if you want to compare to master please cast so.
saved status from char won't have *src currently since I don't believe we need to recalculate def.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17211 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-03-26 06:04:04 +00:00
daegaladh
8f40768611 Started fixing exp, texts, requirements and stuff for pre-renewal in all the quests.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17210 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-03-25 22:34:46 +00:00
euphyy
ba798de7ab * Follow-up r17205, added new mercenary skills and scrolls.
* Updated item_db and some related functions.
* Updated item_trade table.
* Fixed two item scripts with bMagicAtkEle. (bugreport:7385)
* Fixed minor issue in guild storage sample script. (bugreport:7406)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17209 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-03-25 04:17:45 +00:00
lemongrass3110
b30258ea45 Found an issue with pc_jobchange.
Not a problem if you use the standard job changing actions, but if you switch jobs via @job command.

Might be related to bugreport:7388

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17208 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-03-24 20:44:38 +00:00
playtester
a15ec01109 - Merged a fix from Herculus which is supposed to fix the Taekwon Ranker skill tree problem (bugreport:7327)
- Fixed the order of parameters in a nullpo_retr call (bugreport:7402)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17207 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-03-23 16:06:22 +00:00
playtester
afd58bbb45 - Fixed chances for inflicting status changes on Spectral Spear (self), Ivory Lance and Pagdayaw
- Fixed Raid to deal damage in a 7x7 area in renewal (bugreport:7381)
- Fixed success chance of Storm Gust's freeze status change in pre-renewal, iROwiki says 150% and feedback from official server players confirmed that it is indeed 150%
- Second phase of the big status resistance update:
* Created a structure to consider status change source (we are still missing the information and use a copy of target instead right now, lighta is working on a solution)
* Entered the fully official formulas of all status changes based on an Aegis leak (since source is not in right now the level difference will always give "0")
* As tick_def2 is never equal to sc_def2, it will not use it by default anymore
* Applied Deep Sleep's kRO balance update, duration can now be reduced by 50ms for each int and each base level, minimum duration is 5000ms
* The final chance for the status change will now consider Aegis accuracy (everything between 0.01% and 0.09% should actually be 0.1%, etc.)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17206 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-03-22 22:27:45 +00:00
euphyy
263aa1fc7f * Updated mob spawns for Undersea Tunnel floor 6. (ea:15236)
* Added new mercenaries to mercenary_db. No skills as of yet. (ea:15235)
* Fixed bug where 'unequip' command would override 'disable_items'. (Hercules d642604)
* Minor changes to Moscovia quests.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17205 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-03-21 22:33:07 +00:00
brianluau
474ea165e2 - Fixed a CMake build error, since r17181.
- Fixed a 'replacestr' example in script_commands.txt

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17204 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-03-21 07:16:39 +00:00
euphyy
c77b6ef1c3 * Fixed some issues in Moscovia quests. (bugreport:7361)
* Added official warper for Undersea Tunnel floor 6; added shops for Mora and Port Malaya; added some Izlude RE warp coordinates. (ea:15236)
* Fixed Arrow Storm cast time and cooldown. (Hercules 54b5ec9)
* Cleaned and updated README.txt.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17203 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-03-19 21:47:32 +00:00
lemongrass3110
2c99894e5a Follow up to r17201.
Fixed a small logic issue.
Related to: bugreport:7377

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17202 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-03-18 20:50:00 +00:00
playtester
a3dc2d9cf4 - Strongly improved the structure of status_get_sc_def so it's a lot easier to apply official formulas and make sure the checks are applied in the correct order
- In the process, fixed the effect of luk on status changes and removed the static 3% resistance that has been proven to not exist (97 vit, 1 luk can get stunned on officials)
- As there is no general luk resistance as it depends on each status change, removed the luk_status_def configurations
- Updated the success chance of Decrease Agi to the formula that was extracted from Aegis (blevel/5 + int/5 + skill_lv*3 + 50)

Note: I tested all the status changes thoroughly, but as this is a quite large update, it would be nice if someone could cross-check it.

Note2: Renewal status resistances (for pre-renewal status changes) are currently not implemented in rAthena at all. They need to be added in another update.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17201 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-03-16 20:53:23 +00:00
glighta
94d2acd0ad -Fix EDP pre-re not adding bonus (for grimtooth and venomknife) bugreport:6259
-Fix Invisibility remove by ruwach / sight / impr_concentration bugreport:7285
-Fix Dispel not removing dance, (inversed area check)
-Fix Cmake compilation broken since r17189

-Upd check-doc, athena-start to ask arg if none given.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17200 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-03-15 21:10:06 +00:00
playtester
74fb8599b5 - Then % ASPD bonus from Spear Quicken now depends on RENEWAL_ASPD rather than RENEWAL, this should fix the problem that there is no ASPD bonus at all if RENEWAL is activated but RENEWAL_ASPD is not (bugreport:7357)
- Added missing critical bonus on Valorous Assaulter's Katzbalger, it was only missing in the renewal db (bugreport:7355)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17199 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-03-15 20:37:30 +00:00
lemongrass3110
e08eac2966 Start to standardize the database files.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17198 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-03-14 14:55:31 +00:00
lemongrass3110
813a515408 Removing all the curly mismatches from the RE TXT db.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17197 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-03-13 16:36:51 +00:00
lemongrass3110
c3572cd2c8 Fixed duplicate message output bugreport:7349
Fixed a issue with a SQL value bugreport:7346

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17196 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-03-13 14:16:40 +00:00
lemongrass3110
dfa3bdbe17 Forgot to merge the changes into the main file again.
And also forgot to restore the default values before commiting. It is getting late here. -_-

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17195 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-03-13 00:21:15 +00:00
lemongrass3110
cd8d185f8e Another char-server related BETA release.
If you happen to find any errors feel free to report them, I tested it for some hours now and it should be working as intended.

"the packets used by this feature are still unknown to us", I guess not. :P

Thanks again Yommy and enjoy it Ind.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17194 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-03-12 23:05:36 +00:00
brianluau
9e2bf9e2e2 - Added svn:eol-style=native property.
- Added missing newline at EOF (bugreport:7347)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17193 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-03-12 17:23:45 +00:00
lemongrass3110
b7d35015e1 Bugfixes for the Pincode system.
Features:
- Pincode Force Mode(users need to use a PIN)
- Character switching without being asked for the PIN
- Pincode change time is now in days(yeah Ind, seconds were for testing purposes)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17192 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-03-12 12:00:09 +00:00
lemongrass3110
099ffbc171 Some minor but important cleanup of the item databases.
More will follow tomorrow.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17191 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-03-11 23:14:47 +00:00
euphyy
7d0ea0c5c0 * Fixed an incorrect loop in El Dicastes quests (bugreport:7343).
* Follow-up r17188, temporarily restored OPTION_MOUNTING to fix compiling errors and fixed a few other issues (bugreport:7342).
* Updated Hunting Missions script to v1.3, which adds a blacklist for rare monsters.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17190 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-03-11 22:04:56 +00:00
playtester
c870898a13 - Fixed mobs not unlocking their target when they change their mode with NPC_EMOTION (bugreport:7334)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17189 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-03-11 20:05:47 +00:00
technote24
402a955b63 =General
*Updated a bunch of enum tables and other things.
-New NPC's, skill tags, status tags, equip masks, etc. are added with this update.
-Equip masks for costume robe and floor, will remain disabled until support for them is added.
-Shadow equips will require a newer client before they can be coded in.
-Hanbok costume job is added but is currently unusable since not all the coding to handle
-them is in.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17188 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-03-10 18:54:37 +00:00
euphyy
e59e1d99d3 * Fixed an error in pincode system (follow-up r17183).
* Revised/added 'npc_isnear' to check if an NPC is nearby when opening chat rooms or using vending. (Hercules bc63ef1)
* Misc. fixes.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17187 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-03-10 05:25:54 +00:00
euphyy
0194584f6d * Added remaining Malangdo coin traders.
* Renewal item database update:
-- Implemented nearly all remaining Malangdo items.
-- Added Upg_* boxes (follow-up r17180).
-- Corrected many kRO names.
* Updated Renewal item_trade database for Dewata, Malangdo, and Upg_* boxes.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17186 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-03-09 20:55:52 +00:00
lemongrass3110
ef8519546c Merged the PIN columns into main.sql
Some formating optimizations to parse_fromchar in login.c, credits to Ind for the idea.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17185 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-03-09 11:48:47 +00:00
playtester
dc2d314c56 - Correct implementation of NPC_PIERCINGATT, NPC_COMBOATTACK and NPC_RANDOMATTACK (bugreport:7331):
* NPC_PIERCINGATT deals 75% damage, ignoring DEF
* NPC_COMBOATTACK deals 100%+25%*level damage spread on level+1 hits (note: it's not 100% fixed because of rA handling soft DEF wrong)
* NPC_RANDOMATTACK deals 100%*level damage with a random element

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17184 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-03-09 09:32:36 +00:00
lemongrass3110
0fc28289b5 Beta Release of PIN Code system.
Thanks to Yommy for his help with the basic packet information and LightFighter for the PIN decrypt function.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17183 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-03-08 18:43:15 +00:00
glighta
3f28476cd2 -Alpha release for eleanor skill (use with caution)
--Implement : MH_TINDER_BREAKER, MH_CBC, MH_EQC, MH_SONIC_CRAW, MH_SILVERVEIN_RUSH, MH_MIDNIGHT_FRENZY
--Fix style_change not giving sphere when eleanor attacking, and auto set to fighting mode when created.
--Add display msg to know in wich mode we are.
--Remove state check not working well with homon since ??
--Upd MH_SUMMON_LEGION to use summon mob declaration rather then real mob, and set them as agressive by default

-Mob doesn't have fixed casttime anymore bugreport:5697
-Fix few typos
--Enforce logs.sql to check if table not existing. (remove fail at import)
--fix bloodylust effect (temp)
--slave now return final master when killing mob

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17182 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-03-08 10:30:52 +00:00
glighta
709e4dd394 -Implement suggestion from tid:79293
--Upd Makefiles and configure
--Upd shell scripts and remove old unmaintenained one. 
-Upd tools/config.pl, add FreeBSD install package support


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17181 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-03-08 03:38:39 +00:00
euphyy
8bd646e20b * Renewal item database update:
-- Implemented all Upg_* weapons.
-- Corrected many kRO names.
-- Misc. additions and fixes.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17180 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-03-08 03:24:20 +00:00
euphyy
214ef07db2 * Updated Renewal item database and exp.txt. (Hercules 7bafb75)
* Some misc. fixes.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17179 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-03-07 02:24:19 +00:00
lemongrass3110
0acdc668f0 Updated dewata to match the official scripts.
This commit includes a optional SQL upgrade file, that will reset all the dewata quests and the related variables, that your users have done.

Thanks to Euphy for helping me and additionally thanks to Flaid for taking his time to test our conversion.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17178 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-03-06 21:38:39 +00:00
playtester
14f5ae2290 - Finally after 5 years, implemented the correct formula for Spiral Pierce when used by monsters in pre-renewal (bugreport:2505)
- When bosses use level 48 decrease agi, it will now have a base duration of 65 seconds on players (bugreport:5085)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17177 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-03-06 21:26:03 +00:00
euphyy
d238a8ae67 > Hercules merges:
* 0241d01:
Introducing account-dependent character slot count.
Available player slots can be limited in the `character_slots` column of `login`.
Existent characters on slots above the limit will still be accessible but will have a red "premium service" in the background.

* 5d6c1c5:
Updated values for first levels in exp.txt and exp_guild.txt.
Updated Renewal item database with new healing items.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17176 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-03-06 21:19:13 +00:00
brianluau
2886a2b39a - Fixed some spelling errors in /doc/script_commands.txt
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17175 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-03-06 19:33:59 +00:00
aleos
7bbd35a052 * Applied suggestion in tid:76276. Added script commands sit and stand.
- Added a new parameter to readparam, Sitting.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17174 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-03-06 15:15:37 +00:00
aleos
290638c829 > Follow up to r16337 and completed suggestion (tid:76250). Drop and EXP rates now take player and mob level into consideration for specific information commands.
- Added RENEWAL_EXP level penalty mod to @mobinfo.
- Added RENEWAL_DROP level penalty mod that got removed from @mobinfo.
- Added RENEWAL_DROP level penalty mod to @showmobs.
- Enabled atcommand_mobinfo_type by default (needs RENEWAL_EXP or RENEWAL_DROP to be enabled to work).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17173 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-03-06 03:10:58 +00:00
euphyy
7f6fc0c7a9 * Initial implementation of Archangel Wing Enchants script.
* Added some Malangdo coin exchange NPCs, more will come later.
* Updated Malangdo warp portals.
* Fixed item ID 12220 and clarified documentation of 'getiteminfo' types 11 and 14 (bugreport:7256).
* Minor Renewal item database update.
* Applied changes from r17171 to SQL databases.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17172 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-03-06 02:04:59 +00:00
playtester
e09b342882 - Added the script for Gingerbread as well as fixed Guarana_Candy stacking with other potions (it should work like a normal concentration potion)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17171 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-03-05 16:58:14 +00:00
aleos
5e8119efcc > Follow up to r17169.
- Added missing fix for Clearance in pre-re.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17170 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-03-04 22:33:18 +00:00
aleos
be14e9c2e9 * Fixed Clearance checking for guild members when it shouldn't and failing to cast correctly. (bugreport:7299)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17169 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-03-04 22:28:07 +00:00