11434 Commits

Author SHA1 Message Date
Mauro Di Girolamo
356f13315a Fixes bug report #007981.
Signed-off-by: Mauro Di Girolamo <maurodigirolamo@web.de>
2013-09-06 21:27:40 +02:00
Euphy
c610f5b15c * Added some iRO Eden Group NPCs. (credits: -SkittleNugget-)
- This consists of a few traders, warpers, cashshop-related scripts, and duplicates from various locations.
- There are a lot of placeholders and some entirely missing scripts; these may be added later, but we don't intend to implement all of iRO's custom features.
- Some of the item sprites may be unviewable without iRO's data.grf.

* Minor database updates:
- Corrected all *_C (rental) equipment entries; to be updated later on with VIP bonuses.
- Fixed some bHpDrainRate item_db entries. (incl. bugreport:8049)
- Fixed a mob_skill_db entry. (bugreport:8050)

* Other changes:
- Renamed 'F_RandMes' to 'F_Rand', to clear up any confusion. (follow-up 66a2bfd)
- Small changes in Armor Enchanter script (thanks to Emistry for pointing it out :p).

Signed-off-by: Euphy <euphy@rathena.org>
2013-09-06 00:22:41 -04:00
Xynvaroth
96b53cd204 Merged translations done by Rynbef and bakka and corrected them starting from 1 to - including - 100. 2013-09-05 22:29:11 +02:00
Brian
d7742937a8 - Updated F_RandMes with getargcount().
Follow up to 66a2bfd7c24bb617d27cc0a3e8db903cb000f3de
2013-09-05 13:07:54 -07:00
Euphy
66a2bfd7c2 Merge pull request #6 from nanakiwurtz/master
Updated to the new 'F_RandMes' command.
2013-09-05 12:32:19 -07:00
nanakiwurtz
f44ae34734 Updated to the new 'F_RandMes' command.
Signed-off-by: nanakiwurtz <nanakiwurtz240@gmail.com>
2013-09-05 14:12:42 +07:00
lighta
03ada4b547 Quickfixs
Fix bugreport:8035 (SC_ENERVATION altening twice watk)
Upd config.pl enable coredump part to reload sysconfig once altered.
2013-09-04 18:45:11 -04:00
Euphy
102f1c5d63 * Follow-up e805baa: updated SQL table.
Signed-off-by: Euphy <euphy@rathena.org>
2013-09-04 18:05:36 -04:00
Euphy
e805baafc4 Merge pull request #5 from SkittleNugget/master
Added renewal item database entries
2013-09-04 14:40:59 -07:00
SkittleNugget
3136764b97 Added missing item trade abilitys 2013-09-04 20:58:32 +01:00
SkittleNugget
e17ce647e2 Updates to renewal item database
Added missing item entrees and item trade ability.
2013-09-04 20:57:45 +01:00
SkittleNugget
9411559f0b Small update to renewel item database.
Added a few entries that were missing into the item_db of renewel.
2013-09-04 20:28:15 +01:00
Euphy
17d000640d * Added 'breakequip' script command. (tid:86732)
* Fixed return value for delequip. (since r17469/8bd0985)
* Fixed a bug with Mercenary Rentals. (credits: TTest)

Signed-off-by: Euphy <euphy@rathena.org>
2013-09-04 15:07:26 -04:00
Cahyadi Ramadhan Togihon
7d72060430 * Follow-up 15074d8
- Fix item restriction check that should only prevent the item script. ATK, DEF, and MATK for RE should be calculated (Thank Euphy)
- Added item restriction check for combo items
- Added some missing item restriction checks
2013-09-04 12:17:20 +07:00
Cydh Ramdh
a705e67684 Merge pull request #4 from cydh/master
* Updated IDN until latest commit
2013-09-03 16:48:09 -07:00
Euphy
11f500792e Merge pull request #3 from Miloeve/patch-1
Create map_msg_grm.conf
2013-09-03 14:48:32 -07:00
Euphy
e5d9fc8fa5 * Script updates.
- Updated dialogue for advanced and Renewal refiners.
- Added an extra check in the main refiner scripts to prevent empty menus from appearing.
- Renamed Renewal NPCs to "Vestri" and "Austri".
- Slightly updated dialogue for the Catalog Magician script.

Signed-off-by: Euphy <euphy@rathena.org>
2013-09-03 12:53:39 -04:00
Cahyadi Ramadhan Togihon
16d94e770a * Updated IDN until latest commit 2013-09-03 21:36:08 +07:00
Miloeve
065923eb34 Create map_msg_grm.conf 2013-09-03 15:53:26 +02:00
Euphy
02d67498b1 * Script updates.
- Added Renewal features to PVP script and removed duplicate warps.
- Added "Acolyte Warpers" script (Keiki and Isalei), disabled since it may be an event script.
- Added "Mergician" NPC, but it currently doesn't function and is disabled.
- Moved "Stone Change" script from merchants/ to other/.
- Follow-up 8acde7e: further bug fixes.

Signed-off-by: Euphy <euphy@rathena.org>
2013-09-02 00:18:49 -04:00
Euphy
8acde7ed96 Merge pull request #2 from Toshiro90/master
* Fixed several for-loops in Falicious Okolnir whose variables weren't incremented correctly, causing too many monster spawns or invalid checkitem() calls.
2013-09-01 18:59:07 -07:00
Toshiro90
8bd41ee949 * Fixed several for-loops in Falicious Okolnir whose variables weren't incremented correctly, causing too many monster spawns or invalid checkitem() calls. 2013-09-02 02:18:47 +02:00
Akinari1087
ba58eb020f Some cleanup of reflecting damage - Concerning bugreport:8029
Change Cart Tornado to use base strength - Fixes bugreport:7237
2013-09-01 18:25:09 -04:00
Euphy
397e1e5132 * Fixed some compiler warnings from recent commits. (credits: Lighta, Cydh)
* Umbala Spirit doesn't have a slot. (bugreport:8039)

Signed-off-by: Euphy <euphy@rathena.org>
2013-08-31 13:18:10 -04:00
Euphy
a4fdc72e6d * Created src/custom/ folder for custom atcommands and script commands.
- A short, simple extension of atcommand.c and script.c that should help cut down on conflicts while updating.
- Concept credits to brAthena.

Signed-off-by: Euphy <euphy@rathena.org>
2013-08-31 02:04:32 -04:00
Euphy
f6f1bcaeb9 * Updated FRN and RUS map_msg translations. (credits: Capuche, Jarek)
* Added some maps to the custom warper.

Signed-off-by: Euphy <euphy@rathena.org>
2013-08-30 21:46:45 -04:00
Euphy
454781a24d * Fixed a WOE:SE issue with 2nd Guardian Stone respawn. (tid:86918)
* A couple of other tiny fixes.

Signed-off-by: Euphy <euphy@rathena.org>
2013-08-30 18:02:48 -04:00
Euphy
1c7c002e46 * Follow-up cd9a776: documentation edits.
Signed-off-by: Euphy <euphy@rathena.org>
2013-08-30 17:03:08 -04:00
Euphy
0fe7006883 * Added jRO Eclage mob spawns. (credits: refis, Auriga)
* Fixed an overflow in custom wedding script. (bugreport:8032)

Signed-off-by: Euphy <euphy@rathena.org>
2013-08-30 15:26:44 -04:00
Akinari1087
fb74928700 Enable TravisCI building 2013-08-29 20:35:46 -04:00
Cahyadi Ramadhan Togihon
cd9a776f23 *Added Skill Damage Adjustment!
- Disabled by default on src/config/core.h. Uncomment '#define ADJUST_SKILL_DAMAGE' to enable this skill damage adjustment
- Added skill_damage_db.txt (thank Lilith for 'Manage Skill Damage')
- Added new mapflag: 'skill_damage'. Please read 'doc/mapflags.txt' for more details
*Fixed bugreport:8029 (thank exneval for testing and reporting) (Akinari)
*Follow-up 647f99f (Akinari)
*Follow-up 15074d8: optimized item_isNoEquip check parts
*and some mirror changes
2013-08-30 02:55:11 +07:00
Akinari1087
da390cae2f Fix pre-re Ensemble songs ignoring Land Protector - Fixes bugreport:8013
Re-add Solo songs to ignore Land Protector in Renewal
Blame a9b48ba for the confusion

Hermode's Rod is now a Solo song - Fixes bugreport:8001
2013-08-29 00:48:18 -04:00
Akinari1087
647f99f805 Reflect damage even when damage is blocked by a status - Fixes bugreport:6938
Also separate status reflect damage from item reflect damage
Fix float value for strength stat in weapon attack (Baalberith) - Fixes bugreport:7957
Use stored weapon attack value for damage calculation rather than recalculate
2013-08-28 22:25:46 -04:00
lighta
866f66ccf8 Merge branch 'master' of https://github.com/rathena/rathena 2013-08-28 20:12:44 -04:00
lighta
55e776076b Safecheck atcommand
-Add restriction for atcommand to prevent possible mapcrash from script
or console usage while waiting full portability.
-Upd athena-start for new default binname.
-Remove petstat as it was similar to getpetinfo and copy only missing
attribute level atribute into getpetinfo.
-Merge useatcmd and atcommand as they shared quite the same code, also
properly differenciate useatcmd from normal player call.
--Upd script-documentation about it thx Euphy.
2013-08-28 20:07:45 -04:00
Euphy
4a4fab0298 * Database updates:
- Updated Renewal item_combo_db with new item entries.
- Updated Renewal item_noequip with Vellum gears/siege items.
- Some small updates to Renewal item_db.

* Other changes:
- Added some towns to various Renewal mapflag files.
- Fixed two typos in Nameless Island quest. (bugreport:8021)
- Fixed an error with the '+=' operator on string variables. When attempting to concatenate and assign to a previously empty string with +=, it'd throw a memory manager error. (Hercules 1afeabf)

Signed-off-by: Euphy <euphy@rathena.org>
2013-08-28 14:34:16 -04:00
Cahyadi Ramadhan Togihon
15074d8c37 Follow-up fc48f92, which is oppsite of r17119. (Euphy's fault :P)
- Config naming changed: 'item_restricted_consumption_type' to 'allow_consume_restricted_item' (conf/battle/items.conf)
- Add 'allow_equip_restricted_item' config to allow/disallow player use item that restricted. Default is yes, restricted item can be equipped but gives no script effect (related r17119) (conf/battle/items.conf)
- Moves item_nouse check to itemdb_isNoEquip
- PC_PERM_USE_ALL_EQUIPMENT is now can be used to bypass item no_equip flag for equipment (also card) to run the item script
- PC_PERM_ITEM_UNCONDITIONAL is now can be used to bypass item no_equip flag for consumable item to run the item script

Fixed typo issue on ef4fd59
(ef4fd59996 (commitcomment-3962459))
2013-08-28 20:01:15 +07:00
lighta
ef4fd59996 Update configure.in
Add some requested option :
 --enable-prere, --with-outputchar --with-outputlogin --with-outputmap
This allow to try in prere/re mode and to chose binary name for output
file easily.
2013-08-28 07:17:40 -04:00
Cahyadi Ramadhan Togihon
fc48f925bc Fixed item_noequip.txt check when player try to equip an item (broken since hmm, I don't know) 2013-08-28 13:25:18 +07:00
Akinari1087
362d8264fe Fix MSVC conversion warnings - Fixes bugreport:8014
Added support for bSetDefRace and bSetMdefRace for Vellum Weapons
2013-08-27 14:27:26 +00:00
Euphy
fe95610ba8 * Added an integer overflow check on literal values in the script parser. (Hercules 8351881, 86602bb, 3d19c2d, 184ad8a)
- When attempting to use a value greater than INT_MAX or smaller than INT_MIN (about +/- 2 billions), a warning message will be shown and the values capped to INT_MAX or INT_MIN.
- Corrected some scripts that were attempting to use such values.
- Fixed some possible issues when using literal negative values in scripts.
* Added a note to @job documentation.

Signed-off-by: Euphy <euphy@rathena.org>
2013-08-27 13:46:02 -04:00
Euphy
558b5a175d * Updated Airship Ticket Quest with some missing parts and bug fixes.
* Two follow-ups to bf68cce.

Signed-off-by: Euphy <euphy@rathena.org>
2013-08-27 04:18:17 -04:00
Euphy
bf68ccefa3 * Script style standardization.
- Standardized cases on constants (Zeny, Sex, BaseLevel, etc.).
- Replaced numerics with constants.
- Standardized parts of script headers.
- Changed some script styles to K&R.
- Added some official script file names as comments.
- Replaced most 'misceffect' commands with 'specialeffect'.

Signed-off-by: Euphy <euphy@rathena.org>
2013-08-27 03:28:41 -04:00
Euphy
1083475207 * Some follow-ups to 5ab4d5e:
- Added Renewal changes to "God Seal Status" signpost and moved from "npc/other/sealstatus.txt" to "npc/quests/seals/seal_status.txt".
- Applied item_db changes to Pre-Renewal and SQL databases.
* Fixed issue in Cursed Spirit quest where an OnTouch NPC wouldn't activate.

Signed-off-by: Euphy <euphy@rathena.org>
2013-08-26 11:34:18 -04:00
Euphy
5ab4d5ea90 * Script updates:
- Updated Nameless Island quests and added questlog support in quests_nameless and quests_prontera. (fixes bugreport:7992)
- Updated "God Item Creation" scripts to their latest versions: seals roll at 25/50 instead of 50/100 in Renewal.
- Updated Soul Linker job quest with new checks.
- Fixed an untranslated Manuk NPC.
- Some follow-ups to previous commits.

* GM Management System:
- Enabled all official GM Management NPCs and wrote a function to control their usage.
- Implemented some missing GM Management NPCs (still incomplete).

Signed-off-by: Euphy <euphy@rathena.org>
2013-08-25 20:56:46 -04:00
Akinari1087
f05667e4fb Removed RENEWAL_EDP option as it is no longer necessary and is not supported between Pre-Renewal and Renewal
Updated La'cryma Stick - Fixes bugreport:7980
2013-08-25 00:31:39 -04:00
Akinari1087
f884d30c1f Correct some skill formulas (Axe Boomerang, Power Swing, Triangle Shot and Feint Bomb) - Fixes bugreport:7996
Update Shield Press formula to 2011 re-balance - Fixes bugreport:8010

Partial merge of Hercules:7f9f6e1
Fix conversion warnings - Fixes bugreport:7987
2013-08-24 23:16:00 -04:00
lighta
8bd0985159 More hardcoding cleaning with inf3
-Add skill lists for :
--spell blocked by statis
--spell blocked by kagehumi
--spell range affected by
AC_VULTURE|GS_SNAKEEYE|NJ_SHADOWJUMP|WL_RADIUSRA_RESEARCHTRAP
--spell that can't be copied
--spell that can be using while riding warg|mado
-Add a boolean return value for delequip (script cmd)
-Fix monster (script cmd) hardcoded cap for ai. (was preventing to put
ai_faw)
2013-08-24 15:39:26 -04:00
Cahyadi Ramadhan Togihon
1cf5283dcf - Added GD_ITEMEMERGENCYCALL skill for Emergencycall Scroll items (12968, 12969, 12970).
- Change hardcoded delay time 'guild_skill_relog_delay' for guild skill (conf/battle/guild.conf).
2013-08-21 16:47:39 +07:00
Cahyadi Ramadhan Togihon
5f123519f6 Added item check for third classes (as partial merge from Hercules: 1caae98).
- 1:Normal, 2:Trans/Upper, 4:Baby, 8:Third, 16:Trans.Third, 32:Third Baby (see 'doc/item_db.txt' for detail)
- Changed almost all items class on 'db/re/item_db.txt'
- Updated 'sql-files/item_db_re.sql', also fixed SQL error (bugreport:7998)
Added 'item_unconditional' as group permission, default is 'false' (see 'doc/permissions.txt' for detail).
2013-08-21 11:33:34 +07:00