12639 Commits

Author SHA1 Message Date
lighta
402170c018 -Update doc/souce_doc.txt for refactoring change
-Add doc/packet_interserv.txt and doc/packet_client.txt, to refer packets
-Upd src inner documentation, map/intif mostly
-Add  common::utils::check_filepath(), fixing bugreport:9131 @loadnpc crash
-Fix pc_level_penalty_mod not using mob_class correctly
-Fix db/import/ for produce, arrow, abra, impro db...
-Upd install script (config.pl) to use mariadb for fedora/centos distrib
2014-08-20 20:58:48 -04:00
Cydh Ramdh
3efe5375f3 - Added check to clear skill unit group that created by NPC/script before the NPC/script unloaded.
- Changed enum for NPC subtype, added prefix NPCTYPE_. See map.h::npc_subtype.
- Changed Channel_Config struct usage to -> extern struct Channel_Config channel_config.
- Added restriction for atcommand that cannot be executed when Player is in autotrade, to prevent map crash. (bugreport:9196) TODO: Check other atcommand or change this behavior.
- Added enum for atcommand restriction with prefix ATCMD_NO. See atcommand.c::e_atcmd_restict.
- Updated atcommand documentations.
- Changed dummy_sd's attributes to group_id & group_level 99, and gives all permissions (PC_PERM_ALLPERMISSION). dummy_sd is being used by 'atcommand' or 'useatcmd' script when no rid/player attached.

Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
2014-08-18 19:59:16 +07:00
Euphy
880903bdab Updated Renewal Izlude Magazine & Bullet dealer locations.
- Coordinates taken from a recent iRO update.

Signed-off-by: Euphy <euphy.raliel@rathena.org>
2014-08-17 15:13:24 -04:00
Euphy
17bace0ae6 Script bug fixes.
- Added Renewal location for "Knight De Thomas" NPC (previously inaccessible), and upgraded the script to the latest version.
- Fixed Pre-Renewal Merchant Quest questlog commands. (bugreport:9218)
http://rathena.org/board/tracker/issue-9218-merchant-quest-add-error-quest-add-1010/
- Corrected a handful of 'rand(1)' statements.

Signed-off-by: Euphy <euphy.raliel@rathena.org>
2014-08-16 19:10:19 -04:00
aleos89
191f65bdcd Merge pull request #94 from anubisK/else_correction
Follow up to adabedb. Preprocessor cleanup.
2014-08-16 18:35:05 -04:00
aleos89
25969358e4 Merge branch 'master' of https://github.com/rathena/rathena 2014-08-16 16:16:40 -04:00
aleos89
60b0ed9c8b Bug Fixes
* Fixed mouse cursor displaying incorrectly for PvP scenarios. Thanks to Napster. (bugreport:8605)
* Fixed summons getting stuck when master gets too far off screen or changes maps. (bugreport:9152)
* Added a battle_config 'spawn_direction' for keeping a  character's face direction when teleporting/changing maps/logging in. Default is always North (official). (bugreport:8754)
* Cast sensor mobs should always target the caster whenever any skill is used. (bugreport:8555)
* Added a packet version check to char_del_option based on client date. (bugreport:8521)
* Script command query_sql will now return -1 on an empty result or failed result. (bugreport:5937)
2014-08-16 16:15:50 -04:00
Cydh Ramdh
d270047312 * Fixed bugreport:9211. Basilica causes map-server crashed when caster changing map
* Some source docs for skill.c/h

Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
2014-08-17 00:00:19 +07:00
Cristian Gonzalez
5936a67cb3 Enhancement to a if else... sounds better I guess 2014-08-12 20:55:36 +02:00
aleos89
adabedba23 Bug Fixes
* Fixed Shield Spell not being able to be casted. Can now be casted even with skill_unconditional permission while wearing no shield. (bugreport:9198)
* Fixed divest chance of Earth Strain to official. (bugreport:8999)
* Cleaned up ATK and WATK calculation for some skills to only work in pre-renewal.
* Fixed Magnum Break not giving 20% Fire property damage. (bugreport:9199)
2014-08-12 12:33:34 -04:00
Cydh Ramdh
a0cefe9479 Follow up fea3489, just 'char' to 'uint8'
Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
2014-08-11 21:52:41 +07:00
Cydh Ramdh
98c83eeb7f * EXP updates for Renewal
-- Base Level 150 ~ 175 for 3rd classes & Expanded classes (256 ~ 1000 use custom gap 10m)
-- Job Level 50 ~ 60 for 3rd classes (61 ~ 255 use custom gap 5m)
Reference: http://www.divine-pride.net/database/experience

* Follow up fea3489
- Got extra ';' there fea348968c (commitcomment-7332456)
- Reduce w1's length

* Added some newline at end of file

Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
2014-08-11 01:06:19 +07:00
Cydh Ramdh
fea348968c Some CPPCheck clean ups
Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
2014-08-10 23:49:24 +07:00
Akkarinage
45be1808a3 Merge pull request #93 from cydh/idea
Updated README files
2014-08-10 12:45:22 +01:00
Cydh Ramdh
b52ef77205 Updated README files
Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
2014-08-10 18:37:32 +07:00
nanakiwurtz
7e3ecadb15 [Updated] item_combo_db.txt
-- Commented some unfinished lines

Signed-off-by: nanakiwurtz <nanakiwurtz240@gmail.com>
2014-08-10 18:14:05 +07:00
nanakiwurtz
8fc758f741 Item DB updates:
-- kRO 2014-05-21
-- kRO 2014-05-28
-- kRO 2014-06-11
-- kRO 2014-06-18
-- kRO 2014-06-25

Signed-off-by: nanakiwurtz <nanakiwurtz240@gmail.com>
2014-08-10 16:31:26 +07:00
Cydh Ramdh
453b6d0023 * Bug Fixes:
- Added base level modifier for Great Echo. (bugreport:9179).
- Fixed Max HP/SP rate reduction, should be limited to -100% if the value less than it. (bugreport:9195).
- Fixed Knuckle Arrow (SR_KNUCKLEARROW, Sura) knockback damage bonus behavior. (bugreport:9096).
- Fixed Knuckle Arrow (SR_KNUCKLEARROW, Sura) knockback direction by saving last direction before attacker slides to target first.
- Fixed Overbrand (LG_OVERBRAND_BRANDISH, Royal Guard) knockback damage bonus behavior. (bugreport:9096).
- Fixed knockback direction for Arrow Shower (AC_SHOWER, Archer), now using target to attacker direction. (bugreport:1709).

* Misc:
- Added new flags for Skill Unit to remove hardcoded checks:
--- UF_NOKNOCKBACK: Cannot be knocked back (only unit that can be damaged).
--- UF_REM_CRAZYWEED: Removed if be overlapped by GN_CRAZYWEED.
--- UF_REM_FIRERAIN: Removed if be overlapped by RL_FIRE_RAIN.
- Implemented knockback damage bonus for Round Trip (RL_R_TRIP, Rebellion).

Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
2014-08-10 15:16:20 +07:00
Capuche
5f8a451913 Little clean-up
Signed-off-by: Capuche <capucrath@gmail.com>
2014-08-09 22:16:24 +02:00
Capuche
99769b8283 Update fallen angel wing item script (bugreport 9192)
Signed-off-by: Capuche <capucrath@gmail.com>
2014-08-09 21:51:11 +02:00
Cydh Ramdh
05d3c6bd43 Fixed skill unit effect issue, wrong used packet for newer client. Causing some skills shows wrong animation. (Partial merge from 3CeAM 2.0 r16, r17, & r18)
Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
2014-08-09 05:16:50 +07:00
Cydh Ramdh
a1e53caa71 Merge pull request #89 from anubisK/master
Typo on doc/script_commands.txt
2014-08-05 16:38:39 +07:00
Cristian Gonzalez
eb7d77debd typo 2014-08-05 10:55:11 +02:00
Cristian Gonzalez
bf7e0960db typo 2014-08-05 10:52:01 +02:00
anubisK
78f9f797ae Merge pull request #2 from rathena/master
rathena -> fork
2014-08-05 10:47:39 +02:00
Cydh Ramdh
45a8e8fec0 Bug fixes:
- Wrong message when attempt to open boxes while inventory is full. (bugreport:9170)
- Revert a change on d670952, wrong commented line makes misc damage won't be relected. (bugreport:9185)
- Fixed 'devotion_rdamage' doesn't work for Magic Skill. (bugreport:8906)
- Follow up 8a81940, use vending/buyingstore db accessor on searchstore_query() for db_iterator()

Note for 'devotion_rdamage' for magic reflect.
- When this active to reflect magic damage, it still displays dummy damage value on devoted player, and this is custom config at first place. :P

Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
2014-08-04 22:03:43 +07:00
Capuche
77549f76ab Updated to match official version & clean-up in quests_airship.txt
Signed-off-by: Capuche <capucrath@gmail.com>
2014-08-03 02:54:02 +02:00
Cydh Ramdh
3fcc7e7f3a Follow up 7fd6776, update main.sql for buyingstores & vendings table following https://github.com/rathena/rathena/blob/7fd6776/sql-files/upgrades/upgrade_20140723.sql
Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
2014-08-03 06:11:03 +07:00
Cydh Ramdh
8a819403c1 Bug fixes & misc:
- Follow up 7fd6776, correcting how to make player sit by autotrade persistance.
- Follow up 7fd6776, pc_setstand() does a check if player can stand or not.
- bugreport:9174, buyingstore_close() doesn't clear buyingstores data on table.
- Fixed "missing" buyingstore search (purchase type search) in searchstore, by adding DBMap *buyingstore_db.
- Added nullpo checks on some buyingstore.c functions.
- Added do_init_buyingstore() and do_final_buyingstore().
- Failing autotrader from pc_setpos(). (Since autotrade doesn't have 'fd'? FIXME later)

Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
2014-08-02 11:07:26 +07:00
Capuche
caa80ecfc7 Clean-up in quests/first_class folder
Signed-off-by: Capuche <capucrath@gmail.com>
2014-08-01 16:20:24 +02:00
aleos89
4eeb10042c Added some options for idletime. (Herules e08c05a) 2014-07-31 09:54:22 -04:00
Euphy
42491cee08 A few item_db updates. (incl. bugreport:9171)
http://rathena.org/board/tracker/issue-9171-snowier-card/

Signed-off-by: Euphy <euphy.raliel@rathena.org>
2014-07-30 01:11:31 -04:00
lighta
032c06c6cd Merge pull request #88 from anubisK/master
skill_changematerial_db : repeated line ereased
2014-07-27 17:07:42 -04:00
anubisK
f7c2a199f8 Update skill_changematerial_db.txt
One line was twice.
2014-07-27 12:16:54 +02:00
Akkarinage
fd14754846 Merge pull request #87 from nanakiwurtz/master
Documentation Update: /doc/atcommands.txt (@reload)
2014-07-26 12:52:40 +01:00
nanakiwurtz
cc5625eee2 Documentation Update: /doc/atcommands.txt (@reload)
Signed-off-by: nanakiwurtz <nanakiwurtz240@gmail.com>
2014-07-26 18:16:51 +07:00
Cydh Ramdh
07a6795d13 Follow up a24da6d, bugreport:9155
Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
2014-07-25 09:33:06 +07:00
aleos89
c8758478b4 Bug Fixes
* Fixed the stun effect from Berkana Rune. (bugreport:9057)
* Adjusted Thorn Wall to be a placeable skill and to ignore caster's % damage cards.
* Field Manuals (SC_EXPBOOST and SC_JEXPBOOST) now increase EXP gained from NPC quests (through the getexp script command). (bugreport:9091)
* Lif's Mental Change no longer fully restores her HP and SP upon activation.
* Fixed fakename atcommand not working while disguised. (bugreport:8896) (Hercules 1e492e3)
* Fixed speed atcommand resetting when swapping equipment/changing maps. (bugreport:8915) (Hercules 37fdcba)
* Cleaned up some compile warnings.
2014-07-24 11:45:57 -04:00
Cydh Ramdh
7fd6776194 - SC_BANANA_BOMB_SITDOWN & SC_SITDOWN_FORCE force player to wait unti duration ended before standing. (bugreport:9074) Confirmed by @raynra & reigneil
- Corrected check to finalizing vending/buyingstore autotrader datas, follow up 171e2f2. Thank Stingor
- Autotrade persistance updates: (suggestion from Napster)
--- Kicked player will be removed from vending or buyingstore table. This also avoid 'confusion' lookup when server restarted after the kicked player logged back and does autotrade.
--- feature.autotrade_direction, added -1 value to use last player's direction
--- feature.autotrade_head_direction, added for player's head direction
--- feature.autotrade_sit, added -1 value to use last player's condition (standing/sitting)
--- Please import/execute upgrade_20140723.sql

Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
2014-07-23 13:26:04 +07:00
Cydh Ramdh
20ac4c9d7a Merge pull request #84 from nanakiwurtz/master
Added skill_require_db.txt documentation.
2014-07-22 16:00:54 +07:00
Capuche
5dc6b749e1 Bug fixes in quests/quests_moscovia.txt
-- Added questlog support on The Moving Island, Help Mikhail, Banish Winter quests
-- fixed bugreport 8532

Signed-off-by: Capuche <capucrath@gmail.com>
2014-07-22 03:30:21 +02:00
nanakiwurtz
679c92efdf skill_require_db.txt documentation update 2. 2014-07-19 23:44:19 +07:00
nanakiwurtz
c03fd2b21f skill_require_db.txt documentation update. 2014-07-19 23:09:01 +07:00
Cydh Ramdh
2bfe1d6f6e - Fixed bugreport:9146, wrong message for msg 380. Thank Napster
- Changed Monster, Mercenary, & Elemental defense element check, from %10 to %20, to support 10 custom elements. Thank @Atemo
- Updated some arrays in ACMD_FUNC(mobinfo)
- Removed element number limit for each level in db/[pre-]re/attr_fix.txt
- Allowing 'getitembound' and 'getitembound2' to put bound type 0 (no bound) for scripting easier
- Updated doc/mob_db.txt, follow up ca4a0ea
- Updated map_msg_idn.conf

Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
2014-07-19 13:50:46 +07:00
nanakiwurtz
fdbd1b53ab Added skill_require_db.txt documentation.
Signed-off-by: nanakiwurtz <nanakiwurtz240@gmail.com>
2014-07-19 02:26:59 +07:00
lighta
ca4a0ea1a2 Merge pull request #83 from nanakiwurtz/master
Added mob_db.txt documentation.
2014-07-18 14:36:29 -04:00
nanakiwurtz
b93a17da1c Added mob_db.txt documentation.
As suggested by Cydh on IRC.

Signed-off-by: nanakiwurtz <nanakiwurtz240@gmail.com>
2014-07-19 01:11:48 +07:00
Capuche
0cdc85cd4d Quick fix in cluckers.txt
The players could talk to clucker without dying.

Signed-off-by: Capuche <capucrath@gmail.com>
2014-07-17 21:52:00 +02:00
Cydh Ramdh
9e0d78a3c0 Follow up a24da6d, bugreport:9143
Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
2014-07-17 18:46:33 +07:00
Cydh Ramdh
401a7161ce * Follow up 462b2be, wrong check for itemdb_isstackable(). Thank Napster
* Follow up 171e2f2, added battle config 'at_monsterignore' at conf/battle/misc.conf to makes autotrader cannot be attacked. Thank @Lemongrass3110

Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
2014-07-16 22:03:36 +07:00