71 Commits

Author SHA1 Message Date
Lemongrass3110
c4df5caa00
Added support for level 2 armors (#6251)
Thanks to @Atemo and @aleos89 for their help.

Co-authored-by: Atemo <capucrath@gmail.com>
Co-authored-by: Aleos <aleos89@users.noreply.github.com>
2021-10-06 16:57:25 +02:00
Lemongrass3110
2c0283d0e0 Follow up to 525ec33 [ci-skip]
Thanks to @reunite-ro
2021-04-25 14:58:31 +02:00
Lemongrass3110
525ec334ee
Removed refine UI state during warp (#5894)
Additionally fixed some leftover refine_db.txt references

Fixes #5869

Thanks to @reunite-ro and @RadianFord
2021-04-25 01:53:39 +02:00
Lemongrass3110
1a8cfbffc0
Initial release of the refine UI (#2494)
Overhaul of the refine database
Added blacksmith blessing to existing NPCs.

Thanks to @Atemo, @aleos89, @cydh and everyone who tested it.

Co-authored-by: Atemo <capucrath@gmail.com>
2021-04-11 00:05:15 +02:00
Daegaladh
354c632732
Fixed place names and other typos (#4475)
* Fixed common misspelled names from iRO and other typos.
2019-12-15 20:55:19 +01:00
Atemo
6e8599cd5b
Extra npc checks (#3274)
* Extra checks
- Added some extra check in npcs script to prevent wrong behaviour
2018-07-03 23:24:04 +02:00
Atemo
ea88ea5054
Emoticons constant name (#2527)
This PR change the emoticons constant name to match emoticonlist from client side.
Note: the previous emoticons names are now deprecated.

Additionnally emotion and unitemote scripts commands are being merged together to the new format
-> emotion <emotion number>{,<target>};
Where target use the target Game ID (GID) of the unit (npc, pet, character etc..).

* unitemote is now deprecated.
* Additionnally fixed incorrect variable in quests_brasilis.txt

Thanks to @aleos89 and @Lemongrass3110 !
2017-11-10 18:35:21 +01:00
aleos
76923ac506 Corrected some refiner checks
* Follow up to e24d30a.
* Fixes #2505 and fixes #2507.
* Added a missing material check for Suhnbi.
* Added a missing safe limit check for normal refiners. Safe limit was always 0.
Thanks to @mazvi, @Mickosis, and @cydh!
2017-10-14 09:11:30 -04:00
Jittapan Pluemsumran
e24d30a711 Refine overhaul (#2295)
* Converted refine_db.txt to refine_db.yml
* Refine success rates can now be set in refine_db.yml. rAthena's default NPCs will respect this database by default.
* Added shadow equipment refiner
Thanks to @Akkarinage @aleos89 @Atemo and @Mikegyver for their inputs.
2017-09-18 21:52:52 +07:00
Lemongrass3110
d0ca637ddd Fixed vip_status command (#2184)
Fixed different return types for the same function call
Also introduced constants for better function usage.

Fixes #2183
Thanks to @anacondaqq
2017-06-20 19:22:46 +02:00
Atemo
7d6be7e21e Add F_getpositionname to return the EQI_* name 2016-04-18 15:50:28 +02:00
Lemongrass3110
7046cf8fc5 Fixed two npcs which used hardcoded EQI_ values
Follow up to 2bf64c9
2016-04-16 11:14:36 +02:00
Atemo
3a45dd97f9 Another clean-up 2015-12-09 23:09:17 +01:00
Euphy
14fddd3790 Added script checks against swapping items using third-party hacks.
- Follow-up to 416f6d7, as further protection against item exploits.

Contains a few other fixes.

Signed-off-by: Euphy <euphy.raliel@rathena.org>
2014-08-22 15:36:23 -04:00
Euphy
cad0a57865 Replaced 'getserverdef' command with 'script_hardcoded_constants' function in source. These constants can now be directly accessed in scripts. (Hercules 950e3eb)
- Relocated 'Option_*' constants from 'db/const.txt' to source; added OPTION_COSTUME compound. (Hercules a5728fd)
- Added MAX_CHAT_USERS define. (Hercules 950e3eb)
- Follow-up ca9642a: applied 'Loc' changes to Pre-Renewal database.

Signed-off-by: Euphy <euphy.raliel@rathena.org>
2014-03-01 15:42:49 -05:00
Euphy
90b187ff3e Changed all "Compatible With" fields to "rAthena Project".
Edited a handful separately, as appropriate.

Signed-off-by: Euphy <euphy.raliel@rathena.org>
2014-01-12 16:24:38 -05:00
Euphy
d2ee0dd55f * Implemented VIP system in many official scripts.
- VIP players gain two more badges after Battleground matches.
- VIP players pay ten times less for transportation to Brasilis and Dewata.
- VIP players get free buffs and mercenary rentals in the Eden Group Headquarters. (iRO only, disabled)
- Non-VIP players must use a Reset Stone to begin the third job quests.
- Non-VIP players must have a Marriage Covenant to get married.
- Non-VIP players pay double for Kafra and Cool Event Corp. Teleport Services.
- Non-VIP players pay considerably more for refining equipment.
- Non-VIP players gain less quest reward items in Port Malaya quests.
- Non-VIP players gain less EXP rewards in Brasilis quests.
- Non-VIP players cannot access all towns in Acolyte Warpers script. (iRO only, disabled)
- A Reset Stone is required for Bossnia entry.
Note that official servers run different VIP/premium systems; the changes above are based on euRO, unless otherwise stated.

* Other script changes:
- Adding Marriage Covenant item in marriage script.
- Fixed some EXP values in Brasilis quests.
- Minor updates to Kafra functions.
- Turned Cool Event Corp. scripts into a basic function.
- Turned Battleground badge rewards into basic functions.

Signed-off-by: Euphy <euphy.raliel@rathena.org>
2013-11-18 23:54:17 -05: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
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
akinari1087
88f9e9318c Super Novices are now auto-revived correctly - Fixes bugreport:7683
Skulls are able to be dropped - Fixes bugreport:7588
Added simple identifyall atcommand - Suggestion topic tid:76702
-> Added documentation
Some sc_start script command cleanup
Removed useless script command getequipisidentify

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17341 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-06-01 17:01:49 +00:00
euphyy
3a330a455a * Part one of fixing bugreport:6527. This does not yet change functionality.
-- Added 'disable_items' to all applicable scripts.
-- Added preliminary source modifications. (Hercules 137cc43)
* Raised max stat for third jobs to 125 (follow-up r17133, bugreport:7295).
* Fixed logical issue with r17151. (Hercules 5c667cc)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17160 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-02-25 03:04:33 +00:00
euphyy
f54be649cd > Pre-Renewal fixes, major credits to Deep Forest for his detailed reports:
* Separated Renewal Alberta features with checkre() and new files, follow-up r16125 (bugreport:7041).
* Moved remaining Renewal shops out of pre-Renewal file, follow-up r16138 / r16104 (bugreport:7042).
* Moved Renewal refining features to a separate file, and made some changes, follow-up r16126 (bugreport:7043).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17042 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-12-24 17:30:14 +00:00
euphyy
2adc9cdf28 * Follow-up r16726, more standardization on docs.
* Replaced and added dividers in many script files with one standard divider.
* Other misc. cleaning...

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16727 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-09-01 00:37:36 +00:00
daegaladh
f49b3d6f55 Full npc folder reorganization. (I hope I didn't break anything D:)
-Now common scripts goes to the main npc folder, and pre-re-only/re-only ones goes to their respective folders.
-NPCs with practically the same script but little differences have been left in the main folder and uses the command checkre() for the differences.
-For those NPCs with different coordinates but same script, the script has been left in the main folder but the NPCs splitted as duplicates.
-All pre-renewal files has been reverted back to their pre-renewal behavior.

TODO:
-Correct pre-re quest rewards.
-Check for pre-re/re differences in mapflags.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16545 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-01 04:29:56 +00:00
shennetsind
086af74531 Okie ladies and gentleman if this commit breaks anything it's jman's and maki's fault, yes, blame them.
Fixing pre-re / re npc support, moving /config/ folder to src root so other servers may also make use of the #define renewal dir and other stuff.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16382 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-08 19:30:07 +00:00
masao87
1568380815 - Fixed typo in the new refining NPC Bestry. bugreport:5836
- Enabled Gryphon renter NPC and added Magic Gear Master NPC (Mado Gear renter). bugreport:5754

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16156 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-27 12:50:46 +00:00
masao87
df766d8374 - Added +11 and above refiner NPC.
- Added NPC to refine Oridecons / Eluniums to Cardium / Bradium.
- Added downrefitem script command and updated script_commands.txt with it.
- Updated refine_db.txt with probably custom values for +11 to +20 values. Source : http://ratemyserver.net/index.php?page=misc_table_refine
- Some little script improvements to Suhnbi. (Enriched Elunium / Oridecon Upgrader.)
* Further improvements for the refinement system and refinement NPC's will come within the next few days.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16126 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-17 20:39:42 +00:00
brianluau
00367cd7b7 - Removed more trailing tabs.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15527 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-30 20:17:55 +00:00
brianluau
3aede46965 - Removed trailing tabs, and fixed some spacing.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15524 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-30 16:02:55 +00:00
xantara
7bba350eb2 ` Updated Refiners and Repairers
- Updated several NPC names and locations.
- Added WoE map Refiners.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15282 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-26 08:14:48 +00:00
mercurial123
0f47604f2d - Replaced all occurrences of "eAthena" to "rAthena" string
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15251 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-24 21:30:42 +00:00
brianluau
ed034c17f5 - Fixed a variable in refine.txt not being used. (bugreport:2882)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13723 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-03 05:26:59 +00:00
L0ne_W0lf
8ac8481d25 Happy boxing day, eAthena! Here have a massive update.
* Implemented the first round of episode 12.1 change which include:
- Many Morroc NPCs have been moved to Morroc Ruins.
- The addition of new of NPCs to the ruins of Morroc.
- Several warp points leading around Morroc altered.
- The implementation of the continental Guard Quest.
- The removal of the 'Dandelion's Request" quest.
- This update contains several changes, as Morroc and several fields no longer exist in one sense of the word. AS such, many NPCs have been moved, there may be quests that no longer function because of NPCs on inaccessable maps.
* Commented out maps no longer accessable with 12.1 in maps_athena.conf
* Updated mob_skill_db episode 12.1 skills to official.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13415 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-12-26 06:58:19 +00:00
Paradox924X
a7a09d6c3d Small update to fix merchant Paul Spanner from giving item 612 instead of .@item. (bugreport:2418)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13351 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-11-04 08:27:18 +00:00
L0ne_W0lf
0c8ec88edc * More boredom and bugfixing to various scripts. :D
- Updated an outdated comment in refine.txt. (bugreport:2370)
- Fixed two bad event calls in arug_cas04/05. (bugreport:2386)
- Fixed wrong check in haire dresser script. (bugreport:2392)
- Fixed infinite loop in archer quest scropt. (bugreport:2393)
- Bonus: Updated the blacksmith supply dealer in Einbroch


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13330 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-10-28 04:29:37 +00:00
samuray22
03e543b35a * Changed An nonexistent variable in Refine NPC. (bugreport:2340)
* Fixed a Exploit in Thief Quest Skill. (bugreport:2332)
* Fixed donpcevent to doevent. (bugreport:2311)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13288 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-10-12 17:30:44 +00:00
L0ne_W0lf
8fc9735a1f * Fixed DZeroX's fix! (Missing ;'s)
* Added Guild PVP NPC, and seal progress NPC.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13222 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-09-20 19:13:08 +00:00
DZeroX
d2751ca57c - Fixed zeny exploit on the refiner (bugreport:2248)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13221 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-09-20 18:17:37 +00:00
L0ne_W0lf
b783278576 *Slew of bugreport fixage. Figured I should do something.
* Fixed copy/paste errors in Aru castles. (bugreport:2012)
* Updated Trans-only warp in thanatos tower. (bugreport:2227)
* Fixed improper variable in airship quest (bugreport:2238)
* Fixed a minor bug in updated repairmain. (bugreport:2245)
* Updated Giant Enyclopedia bonus. (bugreport:2053)
* Removed Snap from nocast_db in WoE SE


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13219 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-09-18 19:26:01 +00:00
L0ne_W0lf
a5f781a533 *Updated refiner function to allow for addition features per npc.
* Updated repairmen positions and function. Now repairs all items at once.
* Added a missing close2 to the meg seal NPC Rebarev Doug (bugreport:2228)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13208 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-09-14 12:39:20 +00:00
Paradox924X
3bd1214fb8 Changed a couple close2;'s to close;'s in the Refine NPC. (bugreport:2229)
On a side note: WHAT? PARADOX924X IS MAKING A COMMIT? THIS IS MADNESS! Madness? No... THIS... IS... IRONY!!!

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13207 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-09-14 08:39:23 +00:00
L0ne_W0lf
fea4f97b37 Fixed bug in refiner merchants. (bugreport:2168)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13187 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-09-03 10:17:07 +00:00
ultramage
cf57c2fc20 Removed hardcoded equip position names from getequipname (bugreport:2156).
Now it's the npc's responsibility to store and display the names.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13171 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-09-01 08:06:46 +00:00
L0ne_W0lf
04bdc02cb9 Updated refiner and related merchants.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13168 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-09-01 00:58:01 +00:00
L0ne_W0lf
4973178f4f * Updated Refiner function. cleaner, and less dated.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12940 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-12 00:51:19 +00:00
L0ne_W0lf
1607b50c59 Uncommented the ShowWarning and ShowDebug from rev. 11508, and cleaned up the warnings it produced.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11516 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-18 22:04:47 +00:00
samuray22
43e5652fb6 * Changed name from "Pharacon" to "Phracon" in refine.txt.
- Thanks to Barron-Monster.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10920 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-07-27 18:22:11 +00:00
samuray22
d1a2214ff9 * Changed name from "Emvertacon" to "Emveretarcon" in refine.txt.
- Thanks to Barron-Monster.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10908 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-07-25 00:31:48 +00:00
ultramage
b82ca5eea8 small npc header adjustments, eol setting
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10676 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-06-04 08:24:45 +00:00
Lupus
c6d5f38b75 removed all .GAT from all the scripts and tested
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10018 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-15 20:32:55 +00:00