780 Commits

Author SHA1 Message Date
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
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
Lemongrass3110
e2eadcfbd8 Implemented mapflag nolockon correctly
Fixed #1736
Thanks to @GrumpyLittlePanda for reporting and @Playtester for pointing me into the right direction.
2016-12-07 23:09:53 +01:00
Cydh Ramdh
342443bf61 Added new mapflag hidemobhpbar (#1537)
* Added new mapflag `hidemobhpbar` to hides monster's HP bar on a map.
* Added maps for this mapflag, credits to @Atemo and @Lemongrass3110 

Signed-off-by: Cydh Ramdh <cydh@pservero.com>
2016-12-04 10:52:14 +07:00
Atemo
d7e5f1b5d9 Fix issue #1758
- Players were warped outside the instance
2016-11-30 21:12:41 +01:00
Lemongrass3110
9040613fa6 Added missing empty newlines to a lot of files 2016-11-23 13:54:45 +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
Lemongrass3110
ecc8cf9f0b Initial release of the clan system
Thanks to @cydh, @RagnarokNova and @aleos89 for their help.
2016-11-16 15:36:08 +01:00
Atemo
6216bfbbfd Fixed Kafra length name follow up 7a011ecd3491adcd8ff82305d8e6fa9915c2a0d9 2016-10-01 22:14:14 +02:00
aleos89
42ce38c286 Renamed WoE:TE directory and files
* Now matches WoE:FE and WoE:SE format
* Now reflects respective script commands.
2016-10-01 10:17:21 -04:00
Atemo
14628e2d4d Corrected function name in the comment 2016-09-29 20:15:30 +02:00
aleos89
fed68141fa Cleaned up the WoE:TE NPC dialogues 2016-09-29 13:09:41 -04:00
Lemongrass3110
30647011e2 Small cleanups 2016-09-29 15:04:35 +02:00
Lemongrass3110
2661b7a23d Added missing script changelog entries 2016-09-29 09:41:51 +02:00
Lemongrass3110
644e294699 Merge branch 'master' into woe_te-restrictions
# Conflicts:
#	npc/re/mapflag/nobranch.txt
#	npc/re/mapflag/nomemo.txt
#	npc/re/mapflag/noteleport.txt
#	npc/re/scripts_athena.conf
#	src/map/atcommand.c
#	src/map/map.h
#	src/map/script.c
#	src/map/script_constants.h
2016-09-29 08:13:31 +02:00
Cydh Ramdh
7d72a70c5c Follow up 61a57668ed30b30b2eb43798e97d5f82e3610cde
* Missing semicolon

Signed-off-by: Cydh Ramdh <cydh@pservero.com>
2016-09-15 09:38:19 +07:00
Lemongrass3110
61a57668ed Nightmare Glastheim (#1541)
Originally released by @Ridley8819 on HerculesWS/Hercules@114767c

Additions:
Added drops for Baphomet and Chimera
Removed duplicated champion monsters

@aleos89 cleaned up NPC dialogue and some of the grammar.
2016-09-14 08:19:14 +02:00
Jittapan Pluemsumran
64e15932aa
Cleaned up Dimensional Gap NPCs 2016-09-12 20:55:43 +07:00
Cydh Ramdh
6aed7e0245 Added WOE TE monsters and spawn
* Monsters for Godly Quest, Guild Dungeons, missions, and treasure
* Thanks to http://Divine-Pride.net and @aleos89

NOTES:
* Monster English names following db.irowiki.org
* Need official name for monsters 2428 ~ 2440
* Monster modes are from various informations

Signed-off-by: Cydh Ramdh <cydh@pservero.com>
2016-09-12 14:23:42 +07:00
Jittapan Pluemsumran
bc7f2037ca
Fixed Bakonawa spawn coordinate. Fixes #1544.
* Thanks to @Indigo000
2016-09-09 09:22:55 +07:00
Jittapan Pluemsumran
8d60ed2205
Adjusted Nightmare Clock Tower warper to use scope variable instead of temporary char variable 2016-09-09 08:46:31 +07:00
RagnarokNova
7d0c7d8b24
Initial Release of Dimensional Gap (dali) NPCs 2016-09-08 22:54:15 +07:00
Jittapan Pluemsumran
d074cf67a7
Revert "Corrected Mora Daily Quest Job EXP formula"
This reverts commit 3607efd5c692faa783e85cc56aa69b3a209da7d9.
2016-09-08 13:18:52 +07: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
Atemo
bbb2945858 The mobs shouldn't be killed when the emperium is broken. Thanks @cydh 2016-09-05 16:15:55 +02:00
Lemongrass3110
a7be32f754 Nightmare clocktower (#1518)
* Nightmare clocktower

This is a merge from HerculesWS/Hercules@88c5a47 originally done by @Ridley8819.
All the credits belong to him.

@aleos89 cleaned up some of the grammar and removed duplicate texts.
@secretdataz added the missing mapflags.
@Atemo adjusted Cursed Book item script
2016-09-04 22:41:47 +02:00
Jittapan Pluemsumran
fb85ce207d
Fixed a bug in Theore's Request quest that allows the player to bypass some steps.
Closes #1533. Thanks to @Indigo000
2016-09-03 22:35:58 +07:00
Jittapan Pluemsumran
3607efd5c6
Corrected Mora Daily Quest Job EXP formula 2016-09-03 15:18:17 +07:00
Atemo
2995ba0908 Mapflag:
- added monster_noteleport in TE castle (need official info)
Missions:
- corrected playtime check value
God quest TE:
- Changed $@2012_tegod_kafra -> $2012_tegod_kafra ; $@2012_tegod_gloria -> $2012_tegod_gloria as it should be
- Corrected lowest economy set to 1
- Minor debug and standardise script
WOE main script:
- Added a condition for mobs spawn (case guildbreak)
2016-09-02 01:36:16 +02:00
Lemongrass3110
818727f7ef Fixed wrong usages of specialeffect (#1529)
* Fixed wrong usages of specialeffect

* Missing fix
2016-08-31 20:36:17 +02:00
Lemongrass3110
547a8e657a Applied new npctalk syntax to the existing scripts (#1528)
* Applied new npctalk syntax to Old Glast Heim

* Applied new npctalk syntax to Sara's Memory
2016-08-31 19:26:18 +02:00
Atemo
58c0920e5d Applied new npctalk syntax to the existing scripts 2016-08-31 19:12:12 +02:00
Atemo
55b30623fc Fix a small typo 2016-08-31 19:02:09 +02:00
Cydh Ramdh
0df1ba0a20 TE Updates
* Implemented `job_noenter_map.txt` for TE maps.
* Added job list that cannot enter TE Castles and Guild Dungeons.
* Replaced `getpermissionwoete` with `jobcanentermap`.
* Added missing quest `7516`.
* Fixed typo in TE Mission NPC.

Signed-off-by: Cydh Ramdh <cydh@pservero.com>
2016-08-31 14:42:49 +07:00
Cydh Ramdh
65a90ff84c Merge branch 'master' into woe_te-restrictions 2016-08-31 08:03:34 +07:00
Cydh Ramdh
fa16e30593 TE updates:
* Change God Item final broadcast from `mapannounce` to `announce`.
* Fixed variable typo in `#tequest_master_prt01` NPC. `$@2012_tegod_kafra` to `$@2012_tegod_gloria`
* Missing `OnMyMobDead` label in `#tequest_master_prt01` NPC.
* Corrected the castle Economy and Defense lowest level is 1, not 0.

Signed-off-by: Cydh Ramdh <cydh@pservero.com>
2016-08-30 19:36:13 +07:00
Atemo
b83bfd06f5 Rental merchant:
- shouldn't count equipped item (allowing to rent multiple item)
2016-08-28 22:36:58 +02:00
Atemo
e0550db4d8 Changed maprespawnguildid flag on emperium broken.
All monsters were removed, now don't remove monsters.
2016-08-28 17:50:18 +02:00
Cydh Ramdh
8805e7e1d8 Merge branch 'master' into woe_te-restrictions 2016-08-27 07:04:41 +07:00
Cydh Ramdh
682f9184ac Follow up e6f3bf20352c80311da7b7c5a3aeb06d903cad8f
* Revert removed `noequip` flags
* Typo fix

Signed-off-by: Cydh Ramdh <cydh@pservero.com>
2016-08-27 06:21:43 +07:00
Atemo
55edbc14ef Hazy Forest:
- Added missing initnpctimer for npc 'Tired Rem's Garden Tree' and 'Spyder's Garden Tree' (issue #1517)
2016-08-26 19:26:53 +02:00
Jittapan Pluemsumran
3678fca3d4
Removed text effects from NPC titles 2016-08-23 13:26:00 +07:00
Jittapan Pluemsumran
7a3c390fb1
Add proper credit to @RagnarokNova in the script header. 2016-08-23 12:45:23 +07:00
Jittapan Pluemsumran
9b52803581
Follow up to 75b0b43bc277579e4ab7e47703b5ac51a5790869
* Changed script header format. Suggested by @Cydh.
2016-08-23 08:55:56 +07:00
Jittapan Pluemsumran
75b0b43bc2
Implemented Heroes' Trail Part 1 - Sara's Memory instance
* Special thanks to @RagnarokNova!
* Relevant issue: #1312
2016-08-21 10:07:59 +07:00
Atemo
c488268d8c Juperos Ruins History Quest:
- Added default arguments in function Func_JupHist to avoid being stuck (fixes #1444)
- Implemented quest log

Investment Rewards:
- Added missing Elemental Converter menu selection
2016-08-11 21:59:25 +02:00
Lemongrass3110
d017e24cd2 Adjusted some scripts to the new syntax
Follow up to fd48238
Thanks to @Everade and @Jeybla for reporting this problem in #1468
2016-08-05 00:28:23 +02:00
Jittapan Pluemsumran
2f9d44c3b1
Changed Job_SuperNovice to Job_Super_Novice in scripts to match source-side constant. 2016-07-08 14:32:10 +07:00
Atemo
22bc0907d6 Fixed: Disable Loki NPC at entrance of Hazy Forest after the defeat of Wandering Purple Dragon. 2016-07-03 21:20:11 +02:00
Atemo
85f44a587d Removed useless lines 2016-06-22 15:50:40 +02:00