56 Commits

Author SHA1 Message Date
Atemo
cc8edaaac6 Merged novice academie from Hercules 21564acf13
-> All Credit to Kisuka for this big work.

Added news commands to alter questinfo conditions :
- setquestinfo_level : Add level range criteria for quest info with quest id 'quest_id'.
- setquestinfo_req : Add quest requirement for quest info with quest id 'quest_id'.
   -> Player have / doesn't have the required quest.
- setquestinfo_job : To add additionnal job criteria.
-> Credit to Cydh !
2015-11-16 00:34:00 +01:00
Euphy
df6fb01739 Small fixes in Eclage scripts and code style changes.
- Fixed some minor bugs.
- Added GM NPC function.

Signed-off-by: Euphy <euphy.raliel@rathena.org>
2015-01-15 13:01:12 -05:00
Skormie
e8d0d35324 Eclage update with minor error fix. r2 2015-01-14 10:54:03 -05:00
Skormie
03249a0430 Eclage update with minor error fix and added optimizations. 2015-01-13 20:38:54 -05:00
Skormie
a4cac34dc6 Eclage update with minor error fix. 2015-01-13 18:19:32 -05: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
364c7edb90 Added official names as comments in many newer scripts.
Signed-off-by: Euphy <euphy@rathena.org>
2014-01-22 15:59:21 -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
97687ca10c Global_Function updates.
* Added the following functions:
  - "F_GetPlural" (returns plural of noun) / "F_InsertPlural" (returns plural if arg != 1)  [credits: EnglishClub for formation rules]
  - "F_InsertArticle" (returns 'a' or 'an' preceding word)
  - "F_InsertComma" (formats number with commas)
  - "F_GetNumSuffix" (formats number with '-st', '-nd', '-rd', or '-th' suffix)
* Added and removed new functions where necessary. (incomplete)
* Added new types to "F_GetArmorType" function, and weapons will now pass to "F_GetWeaponType".
* Reformatted comments.

Other changes:
* Removed some garbage text from scripts.
* Slight edits to custom warper script.

Signed-off-by: Euphy <euphy.raliel@rathena.org>
2014-01-03 20:13:44 -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
cd3cb9fa95 * Follow-up to pull request #8 and #10.
* Fixed a missing 'delitem' in Port Malaya quests. (bugreport:8168)
http://rathena.org/board/tracker/issue-8168-secret-in-the-woods-port-malaya-quest/
* Fixed an official quest time message mistake in El Dicastes quests. (bugreport:8167)
http://rathena.org/board/tracker/issue-8167-bouy-from-dicastes/

Signed-off-by: Euphy <euphy.raliel@rathena.org>
2013-10-20 12:15:10 -04:00
Cahyadi Ramadhan Togihon
0c5f83ba54 Fixed bugreport:8164 http://rathena.org/board/tracker/issue-8164-dicastestxt/ 2013-10-20 22:50:48 +07:00
SkittleNugget
90f6221719 Updates to Dicastes 2013-09-15 02:48:42 +01: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
cbdbda1f0e * Script updates.
- Added Malangdo Card Separation NPC "Richard", who refines weapons and shields.
- Added new "Job Repair" script, which fixes potential errors with job data (RE).
- Marriage script changes:
-- Permanent global variables are now temporary.
-- Added GM NPCs (The King of Midgart, Divorce Staff, Remarry Staff), commented. (bugreport:6795)
- Added some missing [Official Conversion] comments.

Signed-off-by: Euphy <euphy@rathena.org>
2013-08-14 02:19:57 -04:00
Euphy
0202126185 * Script updates.
- Added questlog support for Amatsu, Ayothaya, Hugel, Louyang, Lighthalzen, Niflheim, and Rachel quests.
- Updated Turbo Track with Renewal mounts; file split due to an NPC rename.
- Added missing cutins to Rekenber Job Quest.
- Added new "Stone Change" script (RE).
- Added Renewal coordinates to Juno's Airship Representative.
- Added Renewal sprites for Juno Soldiers (8W_SOLDIER -> 4_M_EIN_SOLDIER).
- Added Renewal Izlude Bulletin Board, but disabled unless valid coordinates are found.
- Minor updates to Malangdo Enchants dialogue.

Signed-off-by: Euphy <euphy@rathena.org>
2013-08-13 18:24:01 -04:00
Euphy
11860e2e1f * Script updates:
- Added warpers and duplicates for Izlude (izlude_[a-d]) and Prontera Field 8 (prt_fild08[a-d]) maps.
- Updated Eden Group warpers and added new duplicates.
- Changed "Kelitula Academy" to "Cryptura Academy".
- Added a missing OnMyMobDead label in Buwaya Cave instance. (bugreport:7929)
- Added version information to Airport script headers.

* Mob spawn organization:
- Split "City Cleaners" into Pre-Renewal and Renewal directories.
- Restored Thief Bug (Pre-Renewal) vs. Thief Bug Egg (Renewal) spawns.
- Created "Town" spawn files, holding all city spawns not in "City Cleaners" files.
- Added Prontera Training Dummies and Alberta Ship Mouses.
- Moved Jawaii spawns from "fields/" into "towns.txt".
- Moved Brasilis spawns from its own directory into "towns.txt".

Signed-off-by: Euphy <euphy@rathena.org>
2013-08-05 19:42:00 -04:00
Euphy
d32e3c89ae * Renewal Izlude updates:
- Updated warp scripts and removed disabled warps.
- Implemented Renewal Hypnotist, which resets stats and skills; moved old file to Pre-Renewal path.
- Moved and added Bullet Dealer and Magazine Dealer duplicates. (bugreport:6410)
- Moved Dorian (quests_nameless) NPC to Pre-Renewal/Renewal paths and shifted Cuskoal (izlude) RE NPC.
- Corrected some coordinates and NPC facing directions.

* Updated all 3rd_trader scripts:
- Players can now purchase multiple items at once.
- Added many new Point Merchants.
- Moved Poison Herb Merchant in Morroc out of a wall (temp. fix).

* Other script updates:
- Added Eden Group Kafra (storage only).
- Added some missing announcements in Endless Tower.
- Added exit warp scripts to three 2nd job quests (Renewal only).
- Added official Morroc coordinates in Warlock job quest. (follow-up r17224)
- Minor updates to Comodo Gambling script.
- Fixed a Zeny bug in Payon town script, and changed some 'close' commands to 'end'. (bugreport:7893)
- Renamed npc/pre-re/kafras/kafras_izl.txt to .../kafras.txt.

Signed-off-by: Euphy <euphy@rathena.org>
2013-07-25 02:32:30 -04:00
deadlysilence
8cdb71e6da [Malaya]
- added Jeepney script and Tribe Blacksmith script


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17383 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-06-23 19:15:31 +00:00
euphyy
cc701c83bb * Implemented Eclage town NPCs from iRO.
* Implemented Eclage guides.
* Implemented Eclage coin traders (equipment NPCs and herb seller).
* Implemented Eclage skills. (3CeAM 705)
* Added Eclage quest_db entries (missing times).
* Added placeholder NPCs for Eclage quests -- most quests are not functional.
* Moved custom Warper and Healer coordinates for Eclage.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17373 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-06-18 01:13:19 +00:00
euphyy
9d3b1ec38d * Follow-up on Item Bound System. (r17351, r17361)
* Moved Optamara Crew coordinates to match new Alberta map. (credits: M45T3R)
* Updated FRN and IDN map_msg translations. (credits: Capuche, Cydh)
* Switched THA map_msg encoding from UTF-8 to TIS-620. (credits: Boneskung)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17364 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-06-13 23:13:06 +00:00
euphyy
112030451a * Implemented all Mora quests (excluding instance-related quests and Mora Enchants).
* Updated Mora town NPCs, Quiver Maker, and guides.
* Updated Bifrost spawns and warps.
* Fixed a small error in the new refiners - thanks, Joseph!
* Other misc. changes.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17340 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-06-01 02:28:42 +00:00
euphyy
105beac9d0 * Implemented Blessed ore refiner "Blacksmith Dister" and Refine Ticket NPC. Since these were event NPCs, they are disabled by default.
* Updated item_db and item_trade with HD/Blessed ores/boxes and Guarantee Refine Tickets.
* Added remaining Port Malaya generic town NPCs.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17338 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-05-28 23:55:09 +00:00
euphyy
87c832625c * Added more Port Malaya NPCs, adapted from Masao's conversion.
* Optimized Sage skills quest and cleaned Rogue skills quest.
* Small edit to mapflag documentation - thanks, Lighta!
* Code by Zopokx:
-- Optimized Eden Quests 56-70 (adapted).
-- Moved "Dollshoi" and "Ponka-Hontas" NPCs (Morroc and Payon Solutions) out of Pre-Renewal directory to npc/quests/mage_solution.txt.
-- Added support for Baby Novices in Novice Skills quest.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17335 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-05-27 05:54:54 +00:00
euphyy
54f41e69bc * Updated "Fish Tails" NPC in El Dicastes quests and some adjusting of official coordinates (Hercules).
* Updated custom Warper to v1.3, which adds full support for both Pre-Renewal and Renewal.
* Shifted some coordinates in custom Warper and Healer scripts to more closely match @go.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17331 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-05-21 23:05:53 +00:00
euphyy
af8ef75a53 * Added "Cat Gamers" to Malangdo quests. This marks the completion of the Malangdo episode.
* Implemented Port Malaya Kafras, guides, sailors, and Eden teleporter.
* Edited documentation for 'sc_start' and 'addmonsterdrop'/'delmonsterdrop' commands. (follow-up r17326, r17237)
* Updated atcommand documentation and help file.
* Minor organizing of script locations.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17328 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-05-15 05:16:19 +00:00
euphyy
f967a8de53 * Implemented Mora town NPCs from iRO.
* Implemented Mora guides.
* Implemented Mora official warp scripts.
* Added Mora Points NPC and removed a wrong shop item.
* Added placeholder NPCs for Mora quests -- no quests are currently functional.
* Rewrote documentation for 'recovery' command. (follow-up r17321)
* Updated RUS, SPN, IDN map_msg translations. (credits: Jarek, Leeg, Cydh)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17325 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-05-10 00:10:45 +00:00
glighta
8d605f89c3 - Follow up r17296
-- capped CAMOUFLAGE effect, (defs should be lower then 0, atk bonus max 300, fix cri bonus  (base is 1000 not 100))
-- fix bugreport:7601 and add new mapflad for clif_maptypeproperty2 (nomineeffect, nolockon, noitemconsumption, nousecart, nosumstarmiracle) still investgating full effect
-- harmonize script_ref source


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17297 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-04-26 14:38:54 +00:00
euphyy
de86d74dc5 * Implemented Malangdo NPCs "Cat Invest Helper" and "Storekeeper".
* Added official and/or improved dialogue for many Malangdo NPCs.
* Added missing Malangdo Points Merchant.
* Removed reference to nonexistent 'checkpeco' command. (bugreport:7566)
* Follow-up r17274, minor documentation/name changes.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17275 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-04-20 04:03:04 +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
euphyy
214ef07db2 * Updated Renewal item database and exp.txt. (Hercules 7bafb75)
* Some misc. fixes.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17179 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-03-07 02:24:19 +00:00
lemongrass3110
0acdc668f0 Updated dewata to match the official scripts.
This commit includes a optional SQL upgrade file, that will reset all the dewata quests and the related variables, that your users have done.

Thanks to Euphy for helping me and additionally thanks to Flaid for taking his time to test our conversion.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17178 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-03-06 21:38:39 +00:00
euphyy
a76db97c37 * Initial implementation of Malangdo Card Separation script.
* Added and documented 'delequip' command, used in new official scripts.
* Fixed issue in Guillotine Cross job quest where mobs did not properly reset (bugreport:7323).
* Minor cleaning of script_commands.txt.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17168 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-03-04 04:32:43 +00:00
euphyy
491759b578 * Initial implementation of Malangdo Enchants script.
* Quick fix for 'close' command freezing players, a better solution may be implemented in the future (bugreport:7307).
* Added missing boss immunity to Masquerade skills (bugreport:7314).
* Minor Renewal item database update.
* Minor dialogue update on cities/malangdo.txt.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17167 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-03-03 06:39:51 +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
euphyy
618a449636 * Renewal item updates, mostly misc items (incl. bugreport:7167).
* A couple of quest_db updates.
* Moved El Dicastes Guide to a separate file and fixed viewpoint syntax.
* Fixed bugreport:7238, two mob skill mode changes.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17122 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-02-07 01:07:46 +00:00
euphyy
ac430975a8 * Added more Malangdo scripts.
* Updated quest_db with more translated Malangdo entries.
* Added and updated some newer items.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17060 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-12-29 05:30:43 +00:00
euphyy
20edc406fe * Follow-up r17056.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17057 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-12-28 08:46:39 +00:00
euphyy
96e8979569 * Added a small portion of official Malangdo Episode scripts.
* Updated quest_db with translated Malangdo entries.
* Fixed strmobinfo() to output empty strings for 'name' instead of zeros (partly follow-up r17055).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17056 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-12-28 08:38:28 +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
j-tkay
841ca16db1 - Updated and adapted El Dicastes NPC from official script. Credits to Muad_Dib!
- Standardized header.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17009 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-12-08 17:11:22 +00:00
euphyy
7630c7eb61 * Added Guillotine Cross job quest, again thanks to Muad_Dib! (bugreport:5834)
* Follow-up r16941: added documentation.
* Updated WOE Controller script to v1.4, which modifies LoadEvent mapflag settings for easier cross-compatibility and standardizes script format.
* Minor tweaks here and there.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16947 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-23 03:22:28 +00:00
euphyy
10a23e1999 * Follow-up r16876, message text is now aligned properly.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16883 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-09 01:49:05 +00:00
flaid
669ae95e4a Added in some more Mora NPCs.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16876 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-08 22:07:50 +00:00
brianluau
f5dec09663 - Added svn:eol-style=native property.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16873 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-08 06:29:52 +00:00
euphyy
f6048fa23a * Follow-up r16870, standardization of Mora script.
* Changed version number in custom quest shop, from r16862.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16872 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-08 03:15:35 +00:00
flaid
ccf155ad38 Added in the first NPCs of Mora.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16870 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-08 02:19:55 +00:00
euphyy
05b65b91b3 * Updated Renewal 'Mjolnir' item (bugreport:6646)
* Updated slots on RWC 2008 Dragon Helms (bugreport:6645)
* Other minor changes...

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16765 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-09-08 19:58:00 +00:00
euphyy
197fe3a6eb * Cleaned up documentation of mob_skill_db a little bit.
* Added documentation on ancient code in mob_skill_db.txt, where skills will be treated as 'global' if a negative mob ID is specified.
* Follow-up r16694, reverted to official behavior (bugreport:6545)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16695 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-23 19:35:50 +00:00
j-tkay
cfd914e218 Follow up r16693, fixed incorrect minimum input. (npc/re/cities/dewata.txt)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16694 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-23 19:22:16 +00:00