35 Commits

Author SHA1 Message Date
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
Lemongrass3110
9b1b7b1a2b Replaced hardcoded genders with constants (#1730)
* Replaced hardcoded gender codes in source

Introduced a new constant for the account based gender and replaced all hardcoded gender references to code 99 with it.

* Replaced hardcoded gender codes in npcs

Exported the gender constants into the script engine and replaced all usages with references to the constants instead of expecting a value behind them.

* Corrected a typo

Thanks to Machiezmo from Discord.

* Fixed an inverted gender logic

Thanks to @secretdataz
2016-11-22 21:20:03 +01:00
Atemo
d62f422e3d Corrected OnTouch/OnTouch_ in NPC script (#1548)
Some leftover from aegis convertion..

Skipped pre-re folder, I don't have old data.
2016-09-07 21:35:14 +02: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
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
7cb4145691 * Cleaned up some unnecessary global ($) and temporary character (@) variables in scripts.
* Removed unnecessary labels, particularly those in warp scripts.
* Some optimization of the Hugel Bingo script.
* Fixed a mob_db error. (bugreport:8051)
* Fixed incorrect/incomplete random Glast Heim warp.
* Removed useless 'getJobName' function from GlobalFunctions.txt.

Signed-off-by: Euphy <euphy@rathena.org>
2013-09-06 19:37:14 -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
be95412ae2 * Updated Renewal EXP and re-added Pre-Renewal EXP support to lots of scripts. (blame: r15060, fixes bugreport:6288, completes r16545 update)
- Local quests: Alberta, Ayothaya, Einbroch/Einbech, Hugel, Lighthalzen, Louyang, Morroc, Moscovia, Nameless Island, Prontera, Rachel, Veins, Episode 13.1, Episode 13.2
- Other quests: Airship, Eye of Hellion, Kiel Hyre, Wandering Minstrel, Juperos, Brisingamen Seal, Megingard Seal, The Sign, Party Relay
- Mini-games: Hugel Monster Races, Turbo Track
* Deleted some useless 'break' commands and replaced some 'menu' commands in scripts.
* Documented the <NAVI> and <URL> tags. (Hercules 7e58225)
* Added documentation for "OnTouchNPC" in the special labels section.

Signed-off-by: Euphy <euphy@rathena.org>
2013-07-20 02:48:46 -04:00
j-tkay
9c9eb668af - Fixed bugreport:6738, missing checks for How the Airship Works quest. (npc/quests/quests_airship.txt)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16861 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-05 10:27:35 +00:00
brianluau
36e361c36b - Fixed a small typo in Airship announcements. (bugreport:6687)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16777 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-09-13 17:17:36 +00:00
daegaladh
178bfb2839 Fixed a bunch of bugs and typos, and made some little optimizations in various quests.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16604 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-08 04:19:17 +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
gepard1984
7da6590aad Proper fix for r15641 (reference to non-existant NPC).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15646 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-01 23:35:13 +00:00
masao87
4defbd1e6f - Follow up r15636, removed an warning where the Script trys to hide an Non-Existant NPC named "Staff#airplane_01".
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15641 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-01 14:13:19 +00:00
gepard1984
202909582c Updated Airship NPCs to official.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15636 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-02-28 20:11:46 +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
479efa216d Updated most active NPCs that give EXP to renewal standards.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/renewal@14920 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-07-21 20:57:57 +00:00
L0ne_W0lf
85a4250060 * Added quest log support for the following quests.
- Factory Quest, Murder Quest, Cursed Spirit Quest, Juno Remedy Quest, Airship Ticket Quest, How the Airship Works, Ice Necklace Quest, Siblings Quest, Thor Volcano Base Quest, Muff's Loan, Broken Diamond, and the Z-Gang Quest


git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/renewal@14490 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-23 00:42:25 +00:00
L0ne_W0lf
56def26c05 Mob chat now strips "#unique" names off monsters, curtosy of Daegaladh.
Touched up the Airship scripts. Fixed up some content based on official files.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14392 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-08-22 02:31:17 +00:00
L0ne_W0lf
84cf9ff2c9 Applied patch from Dani to change NPC emotion events to use the updated emotion command. (bugreport:4318)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14347 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-06-18 16:19:48 +00:00
brianluau
7b835b0b4e - Changed some variables to scope instead of permanent char. (bugreport:3248)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13890 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-06-15 03:38:20 +00:00
samuray22
f78f7d20f6 * Continues replacing of specialeffect/2 numerics with constants.
* Corrected an If to continue the President's Quest. (bugreport:2276)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13241 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-09-27 12:41:13 +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
Paradox924X
19415079fa Fixed a bug allowing Ferlock#Lab to get disabled mid-speech. (bugreport: 1129)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12366 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-03-14 23:47:51 +00:00
samuray22
39d2d8fba7 * Corrected a bad duplicate name in Kafra Bank (Custom). (bugeport:921)
* Corrected a lot of ";;" Typo errors.
-Some of this are in the bugreport:919
* Corrected a Cutin Problem in Cooking Quest and a Delitem. (bugreport:911)
* Corrected some typo error with "rouge". (bugreport:909)
* Moved Custom Event folder to Custom Folder.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12177 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-02-05 17:54:03 +00:00
FlavioJS
b3fe52fa6b * Removed double tabs from mapflag/warp/script/function/duplicate declarations.
(avoid script errors in a future commit)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11871 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-12-08 17:14:57 +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
ultramage
406a525402 Added proper end-of-line encoding properties for some files that were neglected... again...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11202 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-09-14 13:28:37 +00:00
SinSloth
ad714380f4 * The Sign Quest is now more accurate, some bugs have been fixed and an exploit has been too.
- It is no longer possible for players helping in the last part to complete the quest at the same time.
* Fixed some bugs in various quests.
- Einbroch laboratory now correctly checks for players entrance
- Small fix with Laboratory device to make it more understandable.
- Fixed a misorder with some checkings of a Rachel quest.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10980 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-08-11 09:34:00 +00:00
SinSloth
2c86752e59 * Added all Hugel-related quests. Thanks to MasterOfMuppets for scripting most of them.
- Updated some Hugel, Lighthalzen, Einbroch and Airship NPCs regarding those new quests.
- Moved a lot of Hugel NPCs to proper quest file.
* Added Odin Temple Excavation quest.
- Updated Hugel warps and Odin Temple Sailor according to the quest.
* Added Heart Fragment quest.
* Updated Ayothaya's Ring quest to official. Credits to MasterOfMuppets.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10772 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-06-15 16:01:40 +00:00
ultramage
0826609dbd NPC typo fixes, eol style definitons, newline at end of file
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10738 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-06-10 08:45:19 +00:00
samuray22
0434ca3152 * Removed unofficial spawns form airship.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10427 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-05-01 17:16:31 +00:00
samuray22
14b3d73a3e *Created quests_airship.txt for all Airship-Related Quests.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10423 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-04-30 20:35:20 +00:00