11306 Commits

Author SHA1 Message Date
lemongrass3110
48431ee9db New NPC range now working.
Sorry guys, back in my days it was as easy as this, but I did not test it. So now tested and working. :)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17246 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-04-10 15:02:11 +00:00
glighta
53d1292de4 -Follow up r17244 r17229 typo on blewcount handler
-Follow up r17242 upd Cmakefile for cmake build
-Apply Baalberith fix for chan system leaks, thx =) 

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17245 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-04-10 08:58:33 +00:00
akinari1087
0ccd53156b Fixes Palm Push Strike to push characters in Safety Wall - bugreport:7500
Ventus - Zephyr (defensive state) no longer nullifies magic damage - bugreport:7506

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17244 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-04-10 07:03:07 +00:00
lemongrass3110
a08015cb16 Fixed a typo for r17242, should have tried compiling it with a non 2013 client.
Thanks to lighta. =)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17243 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-04-10 02:31:30 +00:00
lemongrass3110
386f0ae36e Cashshop support
Since our neighbors were a little earlier with releasing the cash shop system, here is our version of it.
It supports TXT and SQL databases and even features kafra point support.
Don't forget to run your SQL updates, since this feature needs another log table for your own security. ;)

Follow up to r17240 finalizing pincode feature. Should be stable now - no beta anymore. Fixes bugreport:7505

Fixed guild creation bug bugreport:7502

Implemented the new NPC range tid:81303

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17242 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-04-10 02:09:34 +00:00
akinari1087
5fdada6013 Updates Reflect Damage to official behavior - bugreport:7393
Fixes Weapon Crush to be an auto-attack skill - bugreport:7422

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17241 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-04-09 17:07:14 +00:00
glighta
bda715f6fe -Apply Lemongrass upd for pincode wich give pincode size > 4 possibility.
-Fix bugreport:7423 where pincode return invalide number for unix sys.
-Fix chan system leaks from iterator and incorect left count.
-Fix callfunc reallocating.
-Still leaking somewhere =(

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17240 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-04-09 05:56:07 +00:00
akinari1087
3648994a16 -Follow up to r17229 Fix for Graffiti causing crash when a player steps into view : Fixes bugreport:7495
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17239 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-04-09 02:35:16 +00:00
akinari1087
a705e066cf Fixes Phantom Thrust to work on monsters as well as allies. Fixes bugreport:7378
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17238 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-04-09 01:07:54 +00:00
glighta
ec36cfc036 -Follow up r17233 quick fix pc typo.
-Apply hercules  be07517 add ers_report. (need to readd console before permanent use).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17237 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-04-08 22:54:51 +00:00
aleos
4bd5674350 * Adjusted @speed so it is no longer reset when a player's status is recalculated. Log out or use @speed -1 to reset to default. (bugreport:7306)
> Follow up to r17220:
* Added an extra check if a player does not have a homunculus for 'hommutate' and 'morphembryo'

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17236 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-04-08 22:30:12 +00:00
lemongrass3110
927b1fdb47 Speeded up jobchange command. Partially fixes bugreport:7453
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17235 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-04-08 02:05:27 +00:00
euphyy
9711667c31 * Added "Malangdo Island" to Malangdo quests, and fixed the dialogue in other Malangdo scripts.
* Implemented status change timers for 2012-06-18 onwards; added packets for 2013-03-20Ragexe. (Hercules 267eb1f)
* Fixed a crash when def1 hit 400. (Hercules 7e35b76)
* Fixed a warning in clang related to the channel system. (Hercules 16dfef6)
* Fixed @disguise breaking with @refresh. (Hercules b804926)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17234 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-04-08 00:59:04 +00:00
glighta
6073dd60b9 -Follow up r17232 fix wrong index assignement in deleting chan. (issue created in r17232 sorry)
rechange unwanted chande for pincode default value.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17233 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-04-07 09:55:04 +00:00
glighta
29970729cf -Fix chat system not deleting all chan on logout. tid:80999
-Upd @mapinfo to count number of vendors in map
-Upd getrandgroupitem to check if valid itemit returned.
-Cleanup and KR style

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17232 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-04-07 08:24:15 +00:00
euphyy
1fa24b05a6 * Documented @fontcolor and fixed a related crashing issue. (Hercules 79ab86b)
* Characters now leave all channels upon @autotrade. (Hercules daccb6e)
* Re-enabled two Dewata warps. (bugreport:7454)
* Enabled BS_GREED in PvP/GvG maps. (bugreport:7463)
* Removed some misleading documentation for getrefine() and cardscnt(). (bugreport:7474)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17231 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-04-06 04:03:43 +00:00
technote24
1f4dfed80b =Database
*Added the latest NPC's tags and ID's.

*Added place holders for all of the latest existing monster tags and ID's.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17230 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-04-04 19:27:46 +00:00
glighta
7bc683e21e -fix bugreport:7458 (deleting associate timer before cleanup status)
-merge clif_guild_skillup and clif_skillup (old TODO)
-add implementation for packet : 0x8c7, 0x99f and 0x1c9, variant of ZC_SKILL_ENTRY (0x11f)
-replace some hardcoded skill_flag by enum values

-little cleanup in skill_attack and regroup some skill with same effect (blewcount, animation).
-rewritte combo handling to regroup info and not duplicate info.
-change eleanor skill to use SC_COMBO as memo instead SC_STYLE_CHANGE
-separate SC_TINDER_BREAKER from SC_CLOSE_CONFINE since they don't act same way
-change MH_SONIC_CRAW to one attack with multiple hit instead x attack.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17229 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-04-04 00:18:59 +00:00
euphyy
643861ba17 > Implemented Channel System to replace @main. See tid:80999 for full details. (Hercules 7ec1e8f, 1e87c09)
* Adds @join and @channel commands to manipulate chat channels. (see doc/atcommands.txt)
* Speak in a #channel by sending a whisper to #channel or binding your global chat to the channel (@channel bindto <#channel_name>).
* Automatically join local map channels (#map) and guild ally channels (#ally), with mapflag 'nomapchannelautojoin' to disable the channel for a map (optional).
* Allow users to create private channels if 'allow_user_channel_creation' is true.
* Set default channels, text colors, and other settings in conf/channels.conf.
> Other changes:
* Improved overall guild processing/lookup by creating a cached guild state.
* Fixed a bug where equipping a garment would override costume garment.
* Removed clif_message and merged it with clif_disp_overhead, since both use the same packet.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17228 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-04-03 22:52:25 +00:00
lemongrass3110
9c48f981a2 Fixed a debug error. bugreport:7452
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17227 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-03-31 16:02:18 +00:00
lemongrass3110
e4307c991e Fixed warpportal script. bugreport:7451
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17226 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-03-31 13:00:28 +00:00
lemongrass3110
ba76b0e753 Fixed monster status changes not getting reseted before respawning. bugreport:7449
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17225 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-03-31 10:04:40 +00:00
euphyy
1acf0192fc * Added "Play with Baby Cats" to Malangdo quests.
* Updated quest_db with all remaining Malangdo entries.
* Temporariliy added new coordinates to Warlock job quest to match new Morroc map. (tid:80650)
* Fixed some misplaced 'close2' commands in El Dicastes quests (incl. bugreport:7431).
* Moved equip index constants in pc.h so that equip_index no longer needs to updating. (follow-up r17221, Hercules ea42e92)
* Minor changes to script_commands.txt.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17224 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-03-31 01:19:36 +00:00
lemongrass3110
9b076614e1 Fixed place skills to target the caster when it should not.
Related mainly to dance skills and quagmire. Thanks again to playtester for showing me how to reproduce it and test the fix afterwards.

Related bugreports:
bugreport:7221
bugreport:6686

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17223 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-03-30 12:53:54 +00:00
playtester
aace543611 - Improved the format of battle_calc_cardfix so that it's actually readable and added various comments so others can actually understand what's going on there
- Reverted the change from r17216 and replaced it with another fix that will now work for all skills (still related to bugreport:6991)
- Implemented the official stun chance of Bash based on an Aegis leak; basically the base chance (5% per level above 5) will get multiplied by BaseLevel/50.0, so on level 50, it will be 1x, on level 75 it will be 1.5x and on level 99 it will be almost 2x (prior reductions), e.g. a level 99 knight using bash 10 will have a 49.5% base success chance to stun with it (if he has learned the quest skill)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17222 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-03-30 10:53:17 +00:00
euphyy
6eb7ce1f11 * Fixed map server crashing upon level changes, thanks Akinari! (bugreport:7428)
* Fixed a couple minor issues with r17220 (incl. bugreport:7427).
* Added documentation and constants for costume slots where missing.
* Removed references to TXT save files in script_commands.txt.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17221 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-03-29 05:20:53 +00:00
euphyy
5edd3e023a * Added official Homunculus S mutation quest (previous file renamed).
* Added 'checkhomcall' & 'morphembryo' commands and updated 'hommutate' command, as required by the Hom-S quest. (code by Aleos/lighta)
* Modified 'gethominfo' to work for Homunculi in 'rest' state, also needed for the Hom-S quest to run properly.
* Updated spawns for Scaraba Hole (dic_dun) and Dewata (dew_fild, dew_dun).
* Minor update to some item scripts.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17220 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-03-28 17:09:04 +00:00
playtester
b96b2bca27 - Fixed more chances on item status changes
- Fixed class requirements of Heart Breaker Hammerfall in renewal (bugreport:7418)
- Increased minimum respawn delay for monsters to 5000ms, this is needed to prevent the client from thinking the newly spawned monster is the same than the killed one; one problem it can cause is described in bugreport:7390, also at least in pre-renewal the minimum respawn time is 5 seconds officially and handling this via the code is much better than updating all spawn files
- Implemented the official formula for Potion Pitcher when used by monsters

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17219 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-03-28 14:43:29 +00:00
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