25 Commits

Author SHA1 Message Date
JohnnyPlayy
1bbde6248d Adding NPC Lighthalzen (#4020)
* Adding NPC, Cool Event Corp Staff Lighthalzen
2019-03-18 23:41:46 +01: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
Cydh Ramdh
2896d894d1 Official Random Coordinates for Savepoint (#1756)
* Added parameters for `savepoint are range for `x` and `y` for random savepoint coordinates.
* Added documentation for new savepoint params. Credits to @aleos89
* Updated savepoint on script to follow official behaviour (random save in 3x3). All credits to @Atemo
2016-12-20 17:16:42 +07:00
Jittapan Pluemsumran
bd6539a9ba Follow up to c23688c
Unify all checks into one function.
Suggested by @Cydh.
2016-03-26 10:52:30 +07:00
Jittapan Pluemsumran
c23688cea4 Clean up basic skill checks 2016-03-23 21:11:57 +07:00
Atemo
3a45dd97f9 Another clean-up 2015-12-09 23:09:17 +01: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
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
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
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
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
shadow
a98253bcc4 Converted skill commands integers to strings. Follow up on r12814
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12819 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-06-13 10:13:14 +00:00
L0ne_W0lf
3011bdb9d9 * Added Veins Cool Event Corp. Rep. and Inn master.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11303 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-09-25 22:20:19 +00:00
Lupus
1c43d4d48d fixed copy/paste bug
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11160 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-09-10 05:58:59 +00:00
Lupus
4d5c7cc604 fixed storage access w/o password trough Cool Corp. Staff. Yup. We don't have packet/client based Storage password yet. So fixed it due to many complains.
Also added cutins into Cool Evnt.Staff NPC

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11159 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-09-10 05:33:07 +00:00
Playtester
18f389ec0e Fixed typos
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10975 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-08-10 13:18:01 +00:00
toms
de0785955e Removed duplicates in cool_event_corp
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10325 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-04-23 16:56:22 +00:00
Playtester
a83cb8f5ac * Added Cool Corp Event Staff in Rachel
- some skilled script dev should combine them into one function, though

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10211 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-04-11 10:26:57 +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
Lupus
98e02fdf62 redo "bugfix" in cool_event_corp.txt
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9941 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-01 12:41:08 +00:00
Lupus
2185be65f1 added Cool Event Corp. Staff Hugel
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9896 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-22 07:17:26 +00:00