118 Commits

Author SHA1 Message Date
Euphy
3b2762ca3c Enable NPC logging through 'logmes' by default.
- Commented some unnecessary log messages.

Bug fixes:
- M_DOPPELGANGER had too much HP. (Hercules 9cd3ec0)
- Huuma_Swirling_Petal should not have an element. (bugreport:9073)
http://rathena.org/board/tracker/issue-9073-huuma-swirling-petal/

Signed-off-by: Euphy <euphy.raliel@rathena.org>
2014-08-22 16:06:32 -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
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
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
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
euphyy
fdd0fd1d72 * Standardized label names and converted all labels to Pascal case. (temp. fix for bugreport:6988)
* Many fixes to Izlude Arena scripts.
* Other misc. standardization.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17410 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-07-10 07:25:44 +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
8f20df9e5a * Updated RUS map_msg translation, and switched encoding from UTF-8 to Windows-1251. (credits: Jarek)
* Fixed "View Equip" bug. (bugreport:7628)
* Follow-up r17305, applied proper fix for functions_kafra.txt.
* Follow-up r17308, minor formatting changes and added prop eol-style:native.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17309 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-05-02 03:16:01 +00:00
euphyy
0cb9ee98ef * Added documentation for cashshop.c functions. (credits: Lighta)
* Fixed a duplicate 'next' call for cart function in functions_kafras.txt.
* Updated item bonuses for LV5 Assumptio Scroll (12218) and Chemical Protection scrolls. (Hercules 7a625b9, 854851c; incl. bugreport:6396)
* Replaced current SPN map_msg translation by jaBote/Tragedy with one by Leeg.
* Updated FRN, CHN map_msg translations. (credits: Capuche, Goddameit)
* Changed '@newmount' to '@mount2' in atcommand documentation.
* Other misc. changes.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17305 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-04-29 22:39:28 +00:00
euphyy
e6dfa8ab65 * Updated RUS and SPN map_msg translations. (credits: Lilith and jaBote)
* Fixed a quest entry and NPC name for Eden Quests 71-85. (bugreport:7551)
* Added missing barrier resets in Poring War script, credits to Zopokx. (bugreport:7241)
* Removed nonexistant function "SetPalete" from item scripts. (bugreport:7409)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17267 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-04-17 04:17:47 +00:00
lemongrass3110
8e66a430df Fixed a pre-re function call in the byalan island kafra and removed some leftovers in the prontera culverts kafra.
Fixed bugreport:7538 blame on r16660

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17258 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-04-14 20:21:55 +00:00
euphyy
fdeb3e605d * Minor updates to Console Commands system. (follow-up r17255).
* Updated IDN map_msg translation. (credits: Cydh/nanakiwurtz)
* Fixed a function call in Yuno Kafra. (bugreport:7531)
* Applied eol-style:native property to newly added files.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17257 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-04-14 02:01:31 +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
9f1a84dfd3 * Updated Rune Knight and Ranger job quests to their latest versions. This completes the recent third job updates (r17024, r17010, r16991, r16990).
* Fixed quest_db name typos (bugreport:7011).
* Added Wolf Flute Trader script to re\merchants\falcon_flute.txt, and renamed to re\merchants\flute.txt.
* Optimized Falcon Flute Trader script.
* Added constants in El Dicastes quests.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17028 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-12-17 22:05:04 +00:00
euphyy
35a5ef2a9e * Updated Minstrel and Shadow Chaser job quests to their latest versions.
* Fixed more Izlude RE coordinates (bugreport:6285).
* Disabled "Fish Tails" NPC in El Dicastes quests until Izlude RE coordinates are found; also, fixed a small mistake.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17024 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-12-15 21:06:35 +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
brianluau
9b08202837 - Standardized headers of /doc files.
- Added svn:eol-style=native property on some recently added text files.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16726 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-31 21:49:48 +00:00
j-tkay
897797722b - Merged and cleaned up Kafras. (kafras/kafras.txt)
- Added Warp Points / View Points Function. (kafras/functions_kafras.txt)
- Updated dialogue for Shadow Chaser Job Change Quest. (jobs/3-2/shadow_chaser.txt)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16699 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-24 18:30:31 +00:00
euphyy
5ccf2f288f * Standardized Kafra Employee headers and comments (/kafras/)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16616 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-10 05:26:23 +00:00
daegaladh
887515619a Follow up r16609. Optimized kafra warps a bit more.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16610 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-08 17:12:02 +00:00
j-tkay
744b6e5be5 - Optimized kafras/functions_kafras.txt.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16609 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-08 15:17:41 +00:00
daegaladh
55dcd04631 Rescripted Moscovia Kafra to use the Kafra functions.
Removed unofficial Guide option in functions_kafras.txt.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16583 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-05 14:26:10 +00:00
daegaladh
b4629cd5d5 Re-added Brasilis Kafra, that was removed by mistake.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16576 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-04 11:22:24 +00:00
daegaladh
6a72153c12 Follow up r16545. Fixed some mistakes I made.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16548 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-01 05:06:59 +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
brianluau
4dda26754e - Changed more duplicates so the source is a floating/mapless npc. (bugreport:1335)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15798 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-26 18:57:18 +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
jmanfffreak
51f1fce0df Fixed Comodo Kafra saving players with the wrong description.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15465 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-15 22:01:11 +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
L0ne_W0lf
ebfc42b8d5 * Implemented remaining Brasilis NPCs.
* Added remaining database modifications for Brasilis.
- Added the skills for the Brasilis monsters.
- Added remaining entries for Bathroom Ghost quest.
- Added stats for the Suspicious Hydra monsters.
- Corrected the capture rate for Suspicious Hydra.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14928 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-08-09 20:08:47 +00:00
ai4rei
e560ba458b * Revised argument declaration of all script commands according to the actual functions' argument usage.
- Fixed many script commands with fixed amount of optional parameters to no longer accept any amount of arguments (faulty declaration).
- Corrected use of dummy parameter for guildopenstorage in scripts.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14573 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-12-10 22:29:12 +00:00
L0ne_W0lf
f9f50d8c09 * Fixed Flavius only needing 1 person on either side to start.
* Updated the level 4 weapon quest to aegis conversion.
* Corrected a variable typo in the dts_warper script.
* Fixed a script hang in Hugel Temple Excavation quest.
* Fixed Cat Hand Agent checks, and mysterious rock#31.
* Corrected the two hour time limit for Sealed Shrine.
* Corrected a few other minor issues in Sealed Shrine.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14376 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-08-16 17:09:33 +00:00
L0ne_W0lf
94ebad5ce0 * Follow up to r13895, added a battle.conf setting to control if ranges should be checked with autocasts.
'autospell_check_range', by default is set to no, as this is official behavior. This does not affect autospellwhenhit.
* Sonic Blow autocast now stops players attacking when it triggers. It's possible there is more depth to this
on official servers, and should 'stop' attacking on regular casts as well. It appears so far that this is the
only skill that behaves this way.
* Modified the default value for homunculus_auto_vapor in source to 1.
* pvp_points are no longer calculated in the gvg_dungeon flagged maps.
* Corrected a view ID and an equip location in the item database. (bugreport:4330)
* Corrected a typo in the DTS_Warper script.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14356 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-06-28 01:10:58 +00:00
L0ne_W0lf
f48c41a1c1 Added some Brasilis basic NPCs.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14299 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-05-21 01:30:36 +00:00
brianluau
db6bee1b4f - Added a missing 'close' in kafras_alde.txt (bugreport:4164)
- Fixed a variable type in Koshei the Immortal quest. (bugreport:4163)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14279 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-04-02 19:31:00 +00:00
brianluau
219a527c17 - Fixed some 'input' max value checks not working after r12192. (bugreport:3436)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13982 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-07-30 23:18:21 +00:00
brianluau
9cc789d234 - Added svn:eol-style native for some conf/css/html/pl/sql/txt files.
- Added svn:executable property for several batch/shell scripts.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13972 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-07-27 16:56:26 +00:00
L0ne_W0lf
572b75c9de * Another Episode 12 change, and more 13.1 content. [L0ne_W0lf]
- Moved Voting staff in Morroc to Morroc Ruins.
- Added Manuk/Slpendide mob spawn files (commented out.)


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13970 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-07-27 10:23:48 +00:00
brianluau
0b9d0db035 - Fixed a spelling typo in Kafras' dialog. (bugreport:3145)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13823 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-29 20:14:34 +00:00
L0ne_W0lf
0143414445 * Completely rescripted the DTS warp service based on the aegis 11.3 file.
- Updated F_ClearGarbage to erase obsolete DTS player variables.
- Moved Cool Corp. Staff NPCs to Lighthalzen (cities/lighthalzen.txt.)
- Now everyone can enjoy the global broadcast "every-hour-nag" to vote!
- Note: Upon loading ALL prior DTS global variables are erased.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13764 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-12 21:52:11 +00:00
ultramage
bae7ecf012 Reverted the "The md5() of their kafra code is now stored in #kafra_code$" change from r13728.
Added md5calc to vs8/vs7/vs6 project files.
Applied svn:eol-style to the new sql upgrade file.

Note that if you already applied the sql upgrade, your kafra passwords are lost.
Also note that txt users will still have to implement their own migration code into the kafra scripts since it was omitted in the previous commits.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13729 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-04 12:29:54 +00:00
brianluau
53998c9f3d * Added the md5() script command. (follow up to r13719)
- Changed kafra storage password to be stored as md5 hash in #kafra_code$.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13728 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-04 08:22:53 +00:00
brianluau
791429c7b0 * Removed the obfuscation of the #kafra_code password. (bugreport:2323)
TODO: add a 'md5()' script command and use that instead.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13719 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-03 04:30:20 +00:00
brianluau
a11e789e0a - Fixed some typos in the script command documentation. (bugreport:2547)
- Fixed a misleading message in the custom Job Changer. (bugreport:682)
- Updated some NPC's facing directions. (bugreport:3030)
- Added missing newline in some ShowWarning(). (bugreport:2940)
- Fixed SC_BOSSMAPINFO time being off by 1 minutes (bugreport:3035)
Now, the seconds are rounded up to the next whole minute.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13713 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-02 20:23:30 +00:00
Playtester
da39fb587d * A few quest updates due to bugreports
- added a missing close in the Kiel Hyre Quest (bugreport:2885)
- added L0ne_W0lf's Cool Event Corp script + a few fixes to it (bugreport:3019)
- fixed a small typo in rachel.txt (bugreport:3029)

Also I really have to ask the developers again to document all the changes they do on item bonuses!

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13704 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-04-28 16:16:11 +00:00
Kisuka
df1e61b6e0 - Fixed typo on Sprint Set item (bugreport:2679)
- Fixed typo on Poison Bottle Box item (bugreport:2715)
- Fixed Kafra coordinates for moc_ruins kafra (bugreport:2714)
- Added items 14228 - 14241 (bugreport:2716)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13496 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-01-26 21:46:50 +00:00
Kisuka
de3008f248 - Moscovia NPCs. (All the generic, kafra, and guide NPCs.)
(Moscovia quest npcs still have horrible english, so that's why they aren't being committed yet.)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13466 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-01-21 02:35:38 +00:00