1332 Commits

Author SHA1 Message Date
euphyy
058a7b4f4e > Hercules merges:
* 7e72f0c, 3bba651:
Improvements all over the place.

* 327a46d:
Arrullo no longer crashes the server when used by monsters.

* 1093763:
Fixed official behiavior of WZ_SIGHTBLASTER dealing with HW_MAGICPOWER.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17139 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-02-18 23:54:33 +00:00
euphyy
f3e4ef5067 * Updated "Calyon" NPC in El Dicastes quests, fixing an incorrect condition.
> Hercules merges:
* 2bc8562, 126225b:
Skills granted through scripts are now permanent, until this date they were not relog persistent. (bugreport:5018)
Note that you will need to execute /sql-files/upgrades/upgrade_svn17136.sql for this change.

* b8379d2:
@skillid now supports partial search.

* d7ce0c1:
Character's online states are now updated as soon as they attempt a char select, instead of at the end of the procedure. This improves reliability with 3rd party software e.g. control panels. (bugreport:7269)

* d828000:
Login and Char servers will now exit when failing to bind to the port (as map server has always done).

* 003ed2c:
Moved "Honeymoon Helper" and "Odgnalam" NPCs to official RE coordinates.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17136 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-02-17 21:13:33 +00:00
aleos
634ba6516a * Applied suggestion in tid:76925. Added script command checkidle.
- Idle timer now resets when player sits/stands.
- Idle timer resets when sending a chat message (global, main, guild, party, or battleground).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17126 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-02-09 22:35:14 +00:00
euphyy
84d500ea2c > Hercules merges:
* 5b37805:
Items are no longer unequipped when a card within them is blacklisted (e.g. item_unequip.txt), instead the card's effect is nullified.

* cc8e005:
item_noequip overhaul.
Items are no longer unequipped when disabled by item_noequip.txt, instead their effects are nullified -- however cards in them, unless also disabled, wont have its effect nullified.
Consumables will be consumed even while disabled, unless you modify the new config item_restricted_consumption_type.

* 7192b10:
SECURE_NPCTIMEOUT should be fully functional now, fixed remaining known issues. (bugreport:5343)

* 63145d6:
Where casting MO_EXTREMITY to untargetable targets causes the caster to move in fixed location/coordinate.

* 17f2e6a:
Fixed clif.c::clif_parse_NpcSelectMenu.  SECURE_NPCTIMEOUT is always defined; the check is wrong.

* 125b758:
Added New Char-Server Rename Packet.

* d6d49c4:
Updated Safety Wall Renewal behavior, when taking damage higher than the health of the safety wall, excess damage will no longer be passed to the player.
Fixes bugreport:6243, bugreport:6697.

* 7626b14:
Fixed wrong 'if' condition in checking CELL_CHKNOPASS for the OFFICIAL_WALKPATH where clear path is considered to be limited to 14 cells it should only be with obstacles. (follow-up r17091, bugreport:7239)

* 0dbbe22:
Fixed magical reflection behavior, user reflecting now visually casts the skill back at the caster, instead of caster casting it on itself.

* 4671a39:
Monsters in stone curse pre-stone state no longer are able to attack.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17119 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-02-04 00:08:19 +00:00
euphyy
6aa1beed27 * Changed remaining bEquipmentMatk bonuses to bMatk in item_combo_db (follow-up r16981).
* Reverted r17116.
* Merged eAthena ea:15231, ea:15232 by ai4rei.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17117 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-02-02 05:45:09 +00:00
euphyy
d030e8cfd4 > Hercules merges:
* 620b36d:
Fixing a typo on skill_trap_type description.

* 13317f0:
Spider web no longer triggers on players on non-pvp maps. (bugreport:7234)
(also fixed tab align on switch and a logical thing on skill_additional_effect)

* fc2e159:
@follow will not stop immeadily when turned off, instead of waiting for the current walk path to be complete. (bugreport:6918)

* 638e2b5:
Replaced strncpy with safestrncpy where I found would be beneficial. (bugreport:3080)

* 74ed3ed:
Players in chatrooms can now equip/unequip gear, can talk to NPCS, and can't use consumable items. (bugreport:6097)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17114 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-01-31 22:32:19 +00:00
flaid
7baefc8b95 > Hercules merges:
* e9d07bd:
Fixed bug with garments not displaying properly. (bugreport:7018)

* 9f75e12:
Fixed Ankle Snare to behave as in official servers, you only stop walking when you reach your destination and activates all other traps in the path. (bugreport:4832)

* cba3bef:
New skill config - After due consideration we thought it'd be in the best interest of the community to provide a switch to this official feature since it drastically change the way traps can be used.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17109 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-01-29 03:57:58 +00:00
flaid
0f04fdf03a > Hercules merges:
* cf690d4:
Star Gladiator's map data is now cleared upon job changing outside star gladiator lineage, that way the database will no longer store these vars when they're not used (bugreport:6689).

* 7911e5e:
Making signal.h available throughout the whole source when in DEBUG mode so that developers (and users debugging) can easily raise signals from anywhere. Extremely handy with gdb, for example.

* 18b2468:
Basilica can only be placed when there are no other units (no mobs/players) within the range of which the basilica will spawn (bugreport:6644).

* 0af9e03:
Support for 2012-04-18a.
Special Thanks to Judas for providing the new packet info.

* 234bbe2:
Normal Boss/mini-boss attacks no longer can hit trick-dead'd players (bugreport:4339).

* e6ac0ec:
Fixed 3 logical errors (1 that would cause CH_PALMSTRIKE to crash the server when either caster or target were out of sc data).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17108 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-01-28 05:41:00 +00:00
rud0lp20
f7de20c88b Fixed bugreport:7182 where GN_MIX_COOKING is limited in creating 1 food item.
Fixed bugreport:7172 missing elemental resistance bonus of NC_RESEARCHFE.
Recoded RA_FEARBREEZE.(bugreport:7188).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17101 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-01-16 14:45:42 +00:00
rud0lp20
52209c0839 Fixed bugreport:7159 where cooking formula and creation effect is not working properly.
Fixed bugreport:7129 where GN_MANDRAGORA is not working with other skills.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17093 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-01-11 16:10:00 +00:00
rud0lp20
74e46ab011 Fixed bugreport:7105 where pierce defense must ignore def and add (def/2) as additional ATK damage.
Fixed bugreport:7148 where r17072 broke the ability of smiths to forge weapons.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17089 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-01-09 15:23:25 +00:00
markzd
63c37cb385 * Fixed a compiling error which happened when PACKATVER was set as < 7. (tid:76890)
1. Also a merge of eAthena: https://trac.paradoxsystems.net/changeset/15166

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17082 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-01-07 07:40:28 +00:00
glighta
25c1cf6691 -Follow up r17065
--removing useless check on skill_id
--fix few broken atcommand due to failed sscanf
-Change skill_amotion_leniency as pointed out on tid:76492 so amotion delay wont be twice by default, (also increase intervall if you do want higher acd)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17072 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-01-02 09:40:01 +00:00
glighta
0cdba10793 -Harmonize skillid, skill_num, skillnum, skill, to skill_id and same for skill_lv
-Optimise type from int to int16 in order to reduce ram consumtion.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17065 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-12-30 16:00:24 +00:00
glighta
f82e7eb077 Old Eleanor work :
-Implement  MH_TINDER_BREAKER, STYLE_CHANGE

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17059 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-12-29 04:41:25 +00:00
momacabu
6f8f38db35 * Fixed bugreport:4687, @lostskill was removing the skill from skill tree and not disabling it (making it grey);
* Fixed mercenary window not showing up critical (bugreport:2369).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17050 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-12-27 19:16:31 +00:00
rud0lp20
aa7031075c Happy Holidays and Happy 12/12/12 :)
Update Elemental summon to its official behavior
  - Fixed missing skill features of Ventus(bugreport:6792,bugreport:6723,bugreport:6511)
  - Note: upgrade_svn17014.sql
  - And other elemental skills are to follow :)
Fixed bugreport:6889 updated const.txt where it cause error to some items.
Fixed bugreport:6999 where matk damage deals miss atk to plant type targets.
Fixed status calculation where it doesn't give accurate result or how official calculation does.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17014 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-12-11 17:20:44 +00:00
glighta
b23cd26e57 - Re-committed r16987 (pid:161281).
-Re-commiting part is now ended

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17003 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-12-05 14:24:00 +00:00
rud0lp20
144bb14efc - Re-committed r16981/trunk/src/ and follow up r16988/trunk/src/ (pid:161281).
-Fix previous recommit since r16995

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16999 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-12-05 14:13:26 +00:00
momacabu
2e3e383ba2 - Re-committed r16974/trunk/src/ (pid:161281).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16996 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-12-05 05:49:10 +00:00
glighta
8486d7a5cd - Re-committed r16969/trunk/src/ (tid:74924).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16993 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-12-05 05:12:45 +00:00
brianluau
a2bdc47daf - Undid r16968: SVN Replaced with source:/trunk/src/@16966 (tid:74924).
[16969:16991/trunk/src/] will be re-committed in the next 24 hours.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16992 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-12-05 02:53:33 +00:00
glighta
14ecbcf666 -Fix old warnings. 1st step to get ride of -wno flag in configure.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16987 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-30 04:13:46 +00:00
rud0lp20
4129e5eb1c Fixed bugreport:5689 recoded/reimplement RE Matk formula(including RE Heal)
Fixed bugreport:5745 WL_RECOGNIZED us now functional.
Fixed bugreport:5663 where HW_MAGICPOWER shows glitch in status window.
Fixed bugreport:6759 where items granting matk bonus didn't work.
Follow up r16980 small performance enhancement...:)
Done some TODO in skill_cast_db.txt

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16981 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-29 16:03:55 +00:00
momacabu
7fd73dbee1 - Fixed bugreport:6304, where mail titles could be bypassed thus having no length.
- Applied old patch by Daegaladh on bugreport:6044 for mercenaries and elementals mimic master's speed.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16974 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-28 00:22:59 +00:00
glighta
de6556ebb1 -Fix bugreport:6930 heal -Hp,0; percentheal -100,0; causing crashmap
-Upd bugreport:6751 with MarkZD followup patch 

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16969 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-26 00:52:01 +00:00
greenboxal2
a7c32653f7 Applied AStyle code formating as discussed on tid:74602.
Removed /SAFESEH option from MSVC11 projects.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16968 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-25 21:20:43 +00:00
glighta
b147d57559 -Fix bugreport:6751 allow noseige to be casted while under status.
-Upd athena-start, save pid to not kill all other process with same name (annoying when multiple server)
-Harmonize setmapflag and @mapflag, flag value is always an int, and could be superior to 1 for some mapflag
-Fix bugreport:6923 for Windows
-Upd @zeny to remove rest of zeny if not enough money as requested

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16959 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-24 08:50:59 +00:00
momacabu
87696fb2f1 Partial fix for bugreport:4337.
A new field was added to homun_skill_tree.txt containing the minimum level of intimacy to unlock a skill. 
This is used in some skills where the homunculus has to reach a amount of 910 of intimacy. The default value is 0 and it should only affect evolved homunculus.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16954 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-23 18:15:21 +00:00
momacabu
1c7e4e1e0f Fixed bugreport:2307, if you get an mail attachment with the char-server offline it wouldn't be saved to your inventory and therefore the item would be lost.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16953 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-23 15:59:06 +00:00
glighta
805aedeff0 -Apply EvilPuncker path from tid:71756
-Fix and upd logzeny enumeration type bugreport:6897
-Upd @zeny to send a message when succed bugreport:6886
-Upd ChaosPanic to affect all bugreport:6893
-Upd bloodylust cooldown and disable endure effect bugreport:6547

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16940 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-22 01:13:28 +00:00
glighta
752776e4cc -Add Homon-S skills, 1st implementation (all done except Eleanors)
--Upd Skill conf to set land-limit for homonculus by default (ground skill limit)
--Mv MH_HEILIGE_STANGE and MH_ANGRIFFS_MODUS skill from Eleanor to Bayeri

-Enforce all zeny transaction to use pc_payzeny and pc_getzeny handlers, (auto log and clif)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16914 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-12 00:06:25 +00:00
shennetsind
18438448bf Fixed bugreport:6876 / Reverting r16891
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16896 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-10 04:51:03 +00:00
shennetsind
60656ff312 1. Follow up r16891 small improvement over there by dropping a pointless entry in the trace hierarchy
2. Modified DNSBL check on login server to stop looking up addresses on the first match, also applied my curly brace love in the way.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16893 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-09 19:17:17 +00:00
eathenabot
e929098917 * Merged eAthena changeset ea:15119.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16891 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-09 18:15:02 +00:00
eathenabot
1bcfcc8f64 * eAthena changeset ea:15117 (already fixed in r15823).
* eAthena changeset ea:15118 (already fixed in r16500).
http://rathena.org/board/index.php?act=findpost&pid=124218

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16890 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-09 18:01:00 +00:00
eathenabot
fcd0930a22 * Merged eAthena changeset ea:15115.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16888 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-09 10:31:05 +00:00
shennetsind
35884acb9e Fixed bugreport:6870 buying store zeny limit now displays properly; special thanks to Napster and mkbu95
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16869 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-08 00:48:36 +00:00
glighta
e41effbc4b -Fix bugreport:6547 (bloodylust) upd bloodylust effect to berserk
-Fix bugreport:6208, bugreport:6805 (chaos panic) fix range effect
-Partial Fix bugreport:5275 (toxin now won't interupt unbreackable castskill)
-Folllow up r16847 fix UNT_ZEPHYR get some unwanted bonus, fix Insignia unit range

-Add UF_RANGEDSINGLEUNIT unit propriety thx to 3ceam, workaround to fix ranged unit without timer.
-Prevent WM_SOUND_OF_DESTRUCTION, SC_MANHOLE, WM_LULLABY_DEEPSLEEP being cast in non pvp map
-Fix SC_MAGICMUSHROOM shouldn't force skill if sit
-Replace some hardcoded mobid by enum
-add some mob_is definition for quicker search (gvg and treasure)
-Remove some duplicate check for status_heal (if berserk already done in status heal)
-Upd few documentation

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16855 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-01 01:40:29 +00:00
shennetsind
3122ac3bc1 bugreport:6830 / follow up r16848, dropped flag param in skill_select_menu as we do not rely on it.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16849 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-10-31 02:24:34 +00:00
glighta
7a6a529548 -Add some src basic documentation.
-Change some remaining -1 for status ending timer.
-Move some hardcoded msg in msg_athena
-Small optimisation on battle_attr_fix

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16835 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-10-29 06:33:43 +00:00
shennetsind
0b9d2f15d8 Minor improvements on pm processing ( prompted by data i found when testing bugreport:6740 ), also applied my curly brace love on the way.
1. removed double min_chat_delay check in the case of a @main message
2. moved autotrade check over the ignore list check, so that if user is in autotrade it doesnt waste time going thru the characters ignore list array.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16811 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-10-03 09:21:54 +00:00
brianluau
b4409ed5f0 - Re-added a 'sprintf' that was accidentally removed in r16495. (bugreport:6729)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16793 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-09-24 14:59:02 +00:00
shennetsind
779d97c1cb Hello! few things.
1) fixed bugreport:6603 - delayed clearunit now makes use of the ERS which is quite convenient for it speeds up due to the previous amount of mallocs that function would spend.
2) added extra debug information to the ERS system (before on any of its warnings we'd go OH MY GOD WHICH ONE OF THEM DID IT!!!), now upon allocation you give it a const, human-readable, name.
3) added support for options in the ERS system to save multiple/redudant processing in battle_delayed_damage and clif_clearunit_delayed and perhaps also in the future.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16736 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-09-02 23:02:35 +00:00
brianluau
f8a4c8b82f - Fixed @item so it only displays message "Item created" on success.
- Changed @raisemap to also function as "@healmap".
- Changed txt_time() to omit days/hours/seconds if there are none.
- Also applied the 'min_chat_delay' to @main, @pettalk and @homtalk.
- Fixed a warning in skill.c (bugreport:6593)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16722 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-31 01:44:18 +00:00
rud0lp20
5bd2f6f4f2 Fixed bugreport:6516 where duplicate entry in produce_db.txt is been ignored when both required skills are present in a character (ex. AM_PHARMACY w/ GN_CHANGEMATERIAL)
Updated all Genetic's item creation skills to its official behavior and added all missing items used for GN_CHANGEMATERIAL.(bugreport:6539)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16712 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-27 11:41:16 +00:00
rud0lp20
5896647207 Follow up r16669 updated the new monster hp to its official behavior.
Follow up r16661 added missing configuration for variable cast time reduction through stats.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16704 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-25 17:19:57 +00:00
shennetsind
1beef8ba89 Major cleanup all over the place, made possible by mkbu95's scan-build report he provided us with.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16687 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-22 20:33:06 +00:00
shennetsind
111a20dbc4 Added support for the new monster purple hp bar packet (packetver >= 20120404), make sure to toggle /monsterhp in the client to show the bar. Special Thanks to EvilPuncker and scriptor for the packet structure
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16669 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-20 11:59:22 +00:00
shennetsind
c282d08040 Follow up r16632, added check on level up so that the equip is automatically unequipped when you leave the elvmax range, special thanks to mistah_j for pointing out.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16633 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-14 09:45:56 +00:00