33 Commits

Author SHA1 Message Date
Atemo
78edf851a0
Suggestion of implementation of is_party_leader and is_guild_leader script commands. (#3617)
* Implemented is_party_leader and is_guild_leader script commands.

Thanks to @cydh !
2018-11-06 16:28:09 +01:00
Lemongrass3110
b9a8ab722e Added an additional parameter to instance_enter (#1720)
Added an additional parameter to instance_enter

This allows easier usage for instances in IM_NONE, where a player will never be attached to the instance.
All you have to do is remember the created instance id and supply this command with it. That way you do not have to use any workaround like the following anymore:
warp instance_mapname( <mapname>, <instance id> ), <hardcoded enter x coordinate>, <hardcoded enter y coordinate>;

Added usage of the new constants in the existing scripts

Fixed default checks and null pointer output
Thanks to @Atemo
2016-12-10 12:38:57 +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
aleos89
161a4c01c9 Small adjustments for the instance system
* Follow up to 32c829d.
* Added a missing break on guild type instance creation.
- Thanks to @Canoe!
* Added instance name back to script command instance_enter.
- This will present the proper error message when trying to enter another instance.
2016-05-26 09:06:49 -04:00
aleos89
c591586f2b Adjusted instance script's instance_enter to new format
* Follow up to c97be60.
* No longer requires instance name.
2016-05-23 14:20:55 -04:00
aleos89
9c89b0e06e Revert "Adjusted instance scripts to new format"
This reverts commit 8f7d2208a972d2bee603364a6069bf1e8127e59d.
2016-05-23 12:56:11 -04:00
aleos89
8f7d2208a9 Adjusted instance scripts to new format
* Follow up to c97be60.
* Adjusted script command instance_create to include owner ID.
2016-05-14 12:01:22 -04:00
Atemo
1b303d32ab Fixed issue #648 2015-09-27 20:36:28 +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
euphyy
78eb7d3793 * Added documentation for the instance system rewrite and modified some return values. (follow-up r17386)
* Gathered remaining dialogues for Pyramids Nightmare script. (follow-up r17382)
* Added missing items to "Guardian of Power" NPC from Mora Enchants.
* Updated Hunting Missions script to v1.3a, which adds some mission reset options.
* Added newline at end of files.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17387 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-06-26 20:36:30 +00:00
akinari1087
cd95d1cada Instance System Rewrite!
- Removed a bunch of script commands and replaced others
- Rewrote the way instances are created
- Added Instance Database files
- Fixed and rewrote instances scripts (Euphy)
- Added reloading to instancedb
- Instances are now persistent through @reloadscript
- Special thanks to Auriga (emulator) for the base of their system
- Special thanks to Euphy for doing major testing and script rewrites for this
- Special thanks to Lemongrass and Lighta for some help along the way

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17386 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-06-26 17:33:59 +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
j-tkay
0d6a1d9c58 - Fixed bugreport:6460 where players can enter instances without generating it. (EndlessTower.txt & SealedShrine.txt)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16628 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-13 12:03:21 +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
tr0n93
03116b1b21 - Fixed a bug in security check
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16159 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-27 23:59:40 +00:00
masao87
aa162958b4 - Added an security check for each player which is entering an instance to make sure that the cool down time can't be bypassed which would lead to abuses of the according instance dungeons. bugreport:5768
- Some minor additions to the Magic Gear renter NPC.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16158 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-27 23:53:46 +00:00
masao87
5b9994b9ec - Added 'instance_check_party' command to all instance scripts for proper checking if the invoking party meets the requirements to join the Memorial Dungeon. Thanks to malufett for creating the command.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16135 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-21 15:02:41 +00:00
masao87
47dc26c6cb - Follow up r16107 .
* Fixed the additional check for Players in a Party.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16111 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-13 21:37:44 +00:00
masao87
bf1f8a237f - Added an extra check to all instance script if there are actually 2 Players online in the Party to be able to enter the Dungeon. bugreport:3970
- Added a few new statuses to not disappear upon death. bugreport:2652


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16107 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-12 20:49:09 +00:00
masao87
b2324030b6 - Lot's of Bugreport fixes and stuff.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15352 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-02 19:37:08 +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
470a089218 * Have been working on this for months: Added Nidhoggr's Nest instance.
* Tweaks to how checkquest is used in orc's memory and sealed shrine.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14909 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-07-16 19:23:36 +00:00
L0ne_W0lf
d68eeba638 Corrected incorrect bonuses relating to bAddMonsterDropItem/Group. (burgerport:4569)
Updated the IG_Ore, IG_Food, IG_Recovery and IG_Jewel item groups to official items/rates.
As a result bAddMonsterDropItemGroup now uses the highest rate in group as it's base rate.
Updated instances with more proper English, care of Resplendent.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14555 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-12-03 16:14:07 +00:00
L0ne_W0lf
7475720d25 - Corrected a minor issue in sealed shrine, lock out should work now.* Added some 13.2 content, and more 13.1 content.
- Added "Otherworld language" quest.
- Added Cat Hand Trading NPCs for 13.2 maps.
- Added warps for Splendide and Manuk (town and field.)
- Added basic town NPCs for Manuk and Splendide.
- Added the guild dungeon SE events, though the pierre boxes do nothing.
- Corrected a minor issue in sealed shrine, lock out should work now.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14257 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-03-03 19:59:24 +00:00
L0ne_W0lf
6e3c96490e Fixed donpcevent calling non-existant npc in Orc Instance. (bugreport:4039)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14239 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-02-05 04:32:11 +00:00
brianluau
ed86db530d - Fixed a typo in Orc's Memory.
- Fixed a weight check in quests_13_1.
- Fixed some grouping variables in the sample PCRE npc.
- Updated SQL item/mob databases to latest.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14216 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-01-08 19:18:27 +00:00
L0ne_W0lf
f0c8ddc1bc * More Orc Instance updates, and some new 13.1 quests. :x
- Disabled an exploit related to the orc hero spawn.
- Corrected the variable type for party leader name.
- Commented out the assassin pub NPCs in quests_morroc.
- Cat Hand Agents no longer ignore you with 300+ points.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14211 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-12-21 01:48:46 +00:00
L0ne_W0lf
5158a2bf24 * More bugfixes, to orc dungeon instance, mostly typos. :O (bugreport:3944)
- Also fixed some of the varaibles (types/values) as well.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14209 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-12-20 21:45:40 +00:00
brianluau
5a8eac7887 - Fixed a 'next' and a window that didn't close in Orc's Memory.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14198 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-12-13 00:03:49 +00:00
L0ne_W0lf
ebafb13b4b * Second round of bugfixes for Orc's Memory. (bugreport:3928)
- Fixed first warp never enabling, issue not seen because of a local source mod.
- Corrected the IDs for the Vengeful Orc Spirit and Shaman Cargalache, copy/paste fail.
- Changed spawn point for dungeon according to spawn point on iRO.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14197 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-12-11 17:59:37 +00:00
L0ne_W0lf
80b7e9a504 * First round of bugfixes for Orc's Memory. (bugreport:3928)
- Fixed some npcs calling wrong events. 
- Fixed Depraved Orc Spirit spawn point
- Fixed an NPC that was never being enabled.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14196 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-12-11 16:37:37 +00:00
L0ne_W0lf
9d52d4f79f Minor update to the Orc Instance mob stats, very incomplete still.
Implemented the first version of Orc's Memory.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14194 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-12-11 04:01:23 +00:00