Compare commits

...

1055 Commits

Author SHA1 Message Date
Lemongrass3110
59184b9e79 Introducing short-circuiting logic
Fixes #1863

Thanks to @Tokeiburu
2020-02-17 22:46:05 +01:00
rAthenaAPI
390eb9772a Effect State Update 2020-02-16 11:05:27 +01:00
rAthenaAPI
1e091cd58a Effect State Update 2020-02-14 02:20:45 +01:00
Lemongrass3110
b681339529 Revert "Effect State Update"
This reverts commit cee7242623.

Fixes #4635
2020-02-13 00:35:43 +01:00
rAthenaAPI
cee7242623 Effect State Update 2020-02-12 15:05:53 +01:00
Aleos
2931c00bd4 Implemented the Battleground Queue System (#3995)
* Fixes #1310.
* Added a battle config which allows toggling of the Battleground Queue client feature and also toggles between the modes of scripts.
* Added script commands bg_reserve, bg_unbook, and bg_desert.
* Removed old custom Battleground scripts.
Thanks to @Lemongrass3110, @Locien, @secretdataz, @InusualZ, @Normynator, @Atemo, @iubantot, @admkakaroto, and @noobzter003!
2020-02-12 08:26:59 -05:00
rAthenaAPI
c292794154 Effect State Update 2020-02-12 14:05:44 +01:00
rAthenaAPI
653631dfe1 Effect State Update 2020-02-12 14:05:30 +01:00
Lemongrass3110
d12b4fdca0 Added support for RSW 2.2 (#4627)
Merged mapserver and mapcache RSW reading code
2020-02-11 23:49:47 +01:00
aleos
9b6976ea7b Removes some warnings from script command mail
* Follow up to e5c22b3.
* Remove the warnings for refine and bound options as these aren't mandatory fields.
Thanks to @Lemongrass3110!
2020-02-11 17:25:38 -05:00
Aleos
1c653616a0 Corrects Feint Bomb knockback (#4632)
* Fixes #4631.
* Feint Bomb should make the user backslide cells equal to the level used.
Thanks to @reunite-ro!
2020-02-11 17:05:20 -05:00
vakhet
1ec101b9a4 Changed dummy item id (#4625)
Fixes #4616
2020-02-11 22:37:22 +01:00
Aleos
35102c3059 Quest data should be cleared on char deletion (#4633)
* Fixes #4628.
* Player quest data should be deleted when the character is deleted.
Thanks to @Tokeiburu!
2020-02-11 14:33:20 -05:00
Jason L
e5c22b360f Added refine and bound options for mail command (#4272)
* Added refine and bound option for mail script command.
* Made some slight corrections to the script_commands document.
* Note: Any custom scripts that use this command and give some sort of card or random option bonus need to be adjusted as refine and bound come before these options now.
Thanks to @Skormie!
Co-authored-by: Daegaladh <Daegaladh@users.noreply.github.com>
2020-02-11 10:18:59 -05:00
Aleos
986f8b0595 Fixes Land Protector not removing some units
* Fixes Land Protector not removing units with the RangedSingleUnit flag.
Thanks to @teededung!
2020-02-11 08:30:57 -05:00
Aleos
86d72dfd78 Resolves Tetra Vortex AoE (#4624)
* Fixes #4623.
* Resolves Tetra Vortex levels 6-10 not doing an AoE.
* Adds placeholder for missing cast time for levels 6-10.
Thanks to @Miraakol!
2020-02-10 17:39:28 -05:00
Lemongrass3110
39f7d28872 Fixed some compiler warnings on prere (#4626)
Fixes #4621

Thanks to @Litro
2020-02-10 23:37:26 +01:00
Lemongrass3110
4acd690fca Fixed a missing colour ending
Fixes #4620

Thanks to @ElinhoPP
2020-02-10 20:47:19 +01:00
Aleos
a74978b258 Fixes SpiritSphereCost negative values
* SphiritSphereCost has potential -1 value to remove all available spirit spheres.
Thanks to @teededung!
2020-02-10 10:57:16 -05:00
SeravySensei
b3e85ebe8d Fixed Spiritual Ring + Wizardry Staff combo (#4618) 2020-02-10 13:19:39 +07:00
aleos
e4046f9d18 Fixes Duration1 and Duration2 negative values
* Duration1 and Duration2 have potential -1 value to send infinite tick for statuses.
Thanks to @teededung!
2020-02-09 11:54:19 -05:00
Aleos
47131b4585 Fixes import directory skill conversions
* Fixes an issue where skill databases read from the import directory were not being read properly.
Thanks to @Daegaladh!
2020-02-08 16:04:01 -05:00
vakhet
cdce4cd794 Correcting import due to compiler warning (#4613) 2020-02-08 16:35:38 +01:00
Lemongrass3110
ee96438607 Fixed a map-server crash
Fixes #4614

Thanks to @reunite-ro
2020-02-08 16:35:02 +01:00
JohnnyPlayy
735c76e3d3 Updates 3rd Trader NPC according to KRO Sakray (#4387)
* Updates Poison Herb, Rune Stone, and Point Merchants to a simple shop that doesn’t give discounts.
Thanks to @JohnnyPlayy!
Co-authored-by: Lemongrass3110 <lemongrass@kstp.at>
2020-02-07 18:15:42 -05:00
Daegaladh
77dd729d77 Fixed SA_FREECAST aspd calculation (#4570)
* Thanks to @Lemongrass3110
2020-02-07 22:05:33 +01:00
JohnnyPlayy
9f365b737d Implements Kafra and Zonda Extended Services (#4447)
* Adds the Kafra Corporation and Zonda Corporation NPC.
Thanks to @JohnnyPlayy!
2020-02-07 16:02:56 -05:00
Akkarinage
55e1a54ce3 Removed SQL Upgrade files older than 2 years (#4608)
There's no reason at all that anyone's emulator is 2 years out of date and still requires these.
2020-02-07 17:44:38 +00:00
rAthenaAPI
9c7d43c8d3 SQL synchronization 2020-02-07 18:38:06 +01:00
Aleos
c6fe237ed8 Corrects Soul Staff and Wizardry Staff view ID (#4610)
* Fixes #4599.
* Corrects the view ID for Soul Staff and Wizardry Staff to be 2H
Staves.
Thanks to @NeutralDev!
2020-02-07 12:37:49 -05:00
Aleos
e6a6c0533c Updated 3rd class from RO 16th Anniversary Patch (#3659)
* Fixes #3602 and fixes #3653.
* Updated the 3rd class skills according to the RO 16th Anniversary Patch.
* Complete changelog here: http://ro.gnjoy.com/news/devnote/View.asp?category=1&seq=3890090&curpage=1
Thanks to @Badarosk0, @OptimusM, @Victor214, @Rytech2 and @laziem!
2020-02-07 10:39:35 -05:00
Lemongrass3110
b0ac1717f2 Added an option to block discount in shop (#4606)
This is required for the correct implementation of #4387
2020-02-07 00:29:33 +01:00
Lemongrass3110
83da86c301 Fixed ITEM_ENCHANTARMS and LG_SHIELDSPELL
Fixes #4604
Also fixes csv2yaml for highly customized skill databases.

Thanks to @mazvi
2020-02-05 23:40:59 +01:00
Lemongrass3110
57e50a1906 Fixed remove trap skills
Fixes #4605

Thanks to @Angelic234 and @mazvi
2020-02-05 23:29:01 +01:00
Sader Fawall
5386a5bcf4 Fixed some skill crit bonuses (#4454)
* Fixes #4128, fixes #4453, and fixes #4460.
* Resolves critical item bonus not applying to skills.
Thanks to @sader1992!
Co-Authored-By: Cydh Ramdh <cydh@pservero.com>
Co-authored-by: Lemongrass3110 <lemongrass@kstp.at>
2020-02-05 14:38:56 -05:00
Maz-V
404e9f81ab Renamed upgrade 20200125.sql to correct date (#4603) 2020-02-05 16:56:43 +01:00
Daegaladh
4a1e904149 Fixed Hocus and Improvised Song ignoring mapflags (#4488)
* Fixed skills casted by SA_ABRACADABRA and WM_RANDOMIZESPELL ignoring critical mapflags
2020-02-05 15:15:14 +01:00
rAthenaAPI
4329b8688e SQL synchronization 2020-02-05 00:11:47 +01:00
Lemongrass3110
0786412906 Fixed view id of 19381 (#4602)
Fixes #4580

Thanks to @hederod
2020-02-05 00:11:26 +01:00
userid0
f76bc09fbe Fixed a compiler warning in pc.cpp (#4601)
fix warning C4804: '>': unsafe use of type 'bool' in operation
2020-02-04 22:04:43 +01:00
Atemo
884e77dadc Updated the last room instance to match official script (#4591) 2020-02-04 20:36:32 +01:00
Atemo
ac0d17f4aa Corrected getfreecell command for flag 2 (#4491)
* Little simplification of the code
* Extends the target type for flag 2 to match the docs (target applicable for player, monster, pet, homunculus)
Thanks to @Lemongrass3110
2020-02-04 19:58:04 +01:00
rAthenaAPI
99f42b26a4 SQL synchronization 2020-02-04 17:18:29 +01:00
Amir Azman
468d6f4d96 Corrected script of Velum_Flail (#4593)
* Correction for vellum flail item script
2020-02-04 17:18:11 +01:00
rAthenaAPI
73d9df8b46 SQL synchronization 2020-02-04 16:33:15 +01:00
Atemo
03e0cc5ec8 Pushcart Decoration npc (#4560)
* Added the official npc to acquire the skill Pushcart Decoration

Thanks to @aleos89 for the review
2020-02-04 16:32:59 +01:00
Atemo
78eb1bcd7b Additional check in map_mapid2mapname (#4373)
* The mapid2name script command didn't check if the map existed (potential crash)
2020-02-04 15:01:00 +01:00
rAthenaAPI
6c8840ca54 Effect State Update 2020-02-04 05:05:35 +01:00
Aleos
fb30275e89 Added SA_TAMINGMONSTER to pre-renewal (#4595)
* Added Taming Monster to pre-renewal Abra database.
Thanks to @mrjnumber1!
2020-02-03 21:54:02 -05:00
Aleos
2e39deecc8 Removed leftover Improvised Song database (#4594) 2020-02-03 21:22:24 -05:00
Lemongrass3110
0b3430c777 Fixed some database redundencies (#4565)
Cleaned redundancies in guild members and friends table

Fixes #4564

Thanks to @Everade
2020-02-03 20:27:11 +01:00
Lemongrass3110
b86926a7a2 Fixed a compiler warning in script.cpp (#4586)
Fixes #4582

Thanks to @idk-whoami and @aleos89
2020-02-03 14:44:58 +01:00
Lemongrass3110
a323474433 Fixed a few hard coded element checks 2020-02-02 20:01:55 +01:00
aleos
abc027b47f Skill YAML fixes
* Fixes an issue with knockback converting the wrong column.
* Fixes an issue with skills containing multiple elements converting the wrong column.
Thanks to @mazvi and @Lemongrass3110!
2020-02-02 13:42:53 -05:00
rAthenaAPI
c279c009ad SQL synchronization 2020-02-02 18:34:29 +01:00
Everade
be9549f33a Item DB fixes (#4573)
* Various itemDB fixes
- Added missing item effects
- Added missing jRO and twRO items
- Typo fixes
- Effect fixes
- Name corrections
- Weight corrections
- Costume location corrections

Fixes #4572
2020-02-03 00:34:14 +07:00
Lemongrass3110
0105116338 Fixed variable cast times
Thanks to @mazvi again.
2020-02-02 17:58:44 +01:00
Lemongrass3110
5cf7aceb2a Fixed some bugs with the new skill db
Fixes #4590

Thanks to @mazvi
2020-02-02 16:04:11 +01:00
Lemongrass3110
990c81f024 Fixed a few bugs in the mob avail converter
Thanks to @Everade
2020-02-02 15:06:45 +01:00
aleos
7bdfe81867 Skill Ammo requirement fixes
* Fixes #4589.
* Resolves an issue with the skill converter outputting the incorrect ammo type requirement.
* Also fixes an issue with physically attacking targets while having a status option active.
Thanks to @mazvi!
2020-02-01 16:06:13 -05:00
Lemongrass3110
6f9c931efe Fixed wrong equip descriptions in refiners (#4581)
Fixes #4577

Thanks to @reunite-ro and @Atemo
2020-02-01 16:20:25 +01:00
Aleos
1b8c2e517d Cleaned up CSV2YAML skill database label (#4585)
* Strips the "_Skill" from TargetType.
* Cleaned up documentation header to match.
2020-02-01 09:53:27 -05:00
aleos
ecd2a9af87 Fixes script command resetskill
* Follow up to dca3797.
* Resolves a missing skill index lookup during skill reset.
Thanks to @mmanlapat!
2020-02-01 08:54:34 -05:00
rAthenaAPI
201d6c4c5b SQL synchronization 2020-02-01 03:01:05 +01:00
Amir Azman
91cce837fc Changed base status condition of Paladin Card from bLuk to bInt (#4584) 2020-02-01 09:00:49 +07:00
Aleos
dca3797d44 Converted the skill database to YAML (#4531)
* Combines skill_cast_db, skill_castnodex_db, skill_copyable_db, skill_nonearnpc_db, skill_require_db, and skill_unit_db into skill_db.
* Introduces a cached YAML class for quicker lookups.
* General cleanups and optimizations.
* Includes CSV2YAML conversion tool.
Thanks to @Lemongrass3110!
Co-authored-by: Lemongrass3110 <lemongrass@kstp.at>
2020-01-31 14:14:08 -05:00
Aleos
de9f667d2f Corrects Max Baby Third Parameter issue (#4578)
* Fixes #4576.
* Added missing case for returning battle config for Baby Third classes.
Thanks to @reunite-ro!
2020-01-29 17:03:24 -05:00
Daegaladh
ed51647311 Fixed hom_idle_no_share exp check (#4557)
* Follow up to 921b3e2c3e
2020-01-28 21:29:30 +01:00
Jittapan Pluemsumran
082766defc Revert "Overed Boost now decreases homun's hunger level by half (#4218)"
This reverts commit 77fa9dbcbe.
2020-01-26 23:33:32 +07:00
yoonjunho1994
77fa9dbcbe Overed Boost now decreases homun's hunger level by half (#4218)
Fixes #4217
2020-01-26 22:37:11 +07:00
rAthenaAPI
53b912c776 SQL synchronization 2020-01-26 15:49:30 +01:00
Joam
de9fd0ae1b Itemdb Racing hat and Racing enchant (#4361) 2020-01-26 21:49:13 +07:00
rAthenaAPI
45de3cc3a7 SQL synchronization 2020-01-26 05:36:22 +01:00
Akaineko
dc7c4e0d24 Updated nightmare bio lab (#4536)
Fixes #3785

Thanks to @Atemo and @Lemongrass3110
2020-01-26 05:36:09 +01:00
Lemongrass3110
d11ab77a2e Fixed storage size of the counting columns (#4568)
Fixes #4567
2020-01-26 01:05:33 +01:00
Lemongrass3110
97894a627a Fixed SG_FEEL dialog cancel (#4566)
Fixes #3535

Thanks to @anacondaq
2020-01-25 23:45:39 +01:00
Lemongrass3110
e1c40cc741 Fixed a pvp bug with option invisible (#4563)
Fixes #4230

Thanks to @Stingor
2020-01-25 17:23:08 +01:00
Atemo
0362e3a50b Added missing close in Fili npc (#4562)
Fixes #4561 
Thanks to @Indigo000
2020-01-25 17:07:06 +01:00
gamingmagic
e2a1bb3f0c Fixed sitting issue for devoted players (#4538)
Fixes #1927

If aplayer is under devotion and gets attacked he will remain sitting server side, while standing up client side. This will result in the player not being able to move anymore, until he sat down/stood up again.

Since this is the real behavior on AEGIS we added a configuration for the fix, which will be enabled by default, since we think this is broken behavior. You can always turn it off in case you want to mimic official behavior.

Additionally fixed the devoting player as well:
The devoting player should also stand up when the devoted player is hit.
If the player is missed or he lucky dodges and no damage is dealt, no damage packet should be sent to the devoter.
Additionally fixed that the devoter did not use the waving damage animation, because the amotion and dmotion values were not sent.

Co-authored-by: Lemongrass3110 <lemongrass@kstp.at>
2020-01-25 13:57:28 +01:00
rAthenaAPI
8eae62aae2 SQL synchronization 2020-01-24 18:22:15 +01:00
Lemongrass3110
80ca99cd00 Fixed Duneyrr card (#4556)
Fixes #4554

Thanks to @Everade
2020-01-24 18:21:54 +01:00
Aleos
bd2d82157a Fixed Expanded Baby parameter cap (#4551)
* Fixes #4350.
* Resolved Expanded Baby classes parameter cap defaulting to the upper class.
* Fixes baby parameters for Summoners as well.
* Removed redundant baby checks due to correct order now.
Thanks to @bgamez23!
Co-authored-by: Lemongrass3110 <lemongrass@kstp.at>
2020-01-24 10:56:39 -05:00
Aleos
271489960a Corrected Feint Bomb infinite status (#4550)
* Fixes #4508.
* Resolves an issue where Feint Bomb was giving users infinite duration from AoE statuses.
Thanks to @laziem!
2020-01-23 16:09:52 -05:00
Daegaladh
921b3e2c3e Added conf option for homunculus idle no share (#4548)
* Added conf option to make characters stop receiving exp/drop from homunculi when they are idle
2020-01-22 18:55:59 +01:00
Lemongrass3110
a4c75d4771 Fixed compilation on GCC < 5.1 (#4552)
Fixes #4544
2020-01-22 16:06:58 +01:00
rAthenaAPI
87f66ed0f0 Effect State Update 2020-01-22 14:05:38 +01:00
rAthenaAPI
5b5e352945 Effect State Update 2020-01-22 13:05:22 +01:00
rAthenaAPI
ef9cbc3459 Effect State Update 2020-01-21 07:05:38 +01:00
rAthenaAPI
441ebcffc8 SQL synchronization 2020-01-21 07:00:57 +01:00
rAthenaAPI
585056cb84 Mob and NPC Identity Update 2020-01-21 07:00:37 +01:00
rAthenaAPI
858c9bf4f7 Effect State Update 2020-01-21 05:05:32 +01:00
Atemo
79a5a5b32f Fixes an issue in eclage quest (#4547)
* The script should stop when the quest is not active
* Fixes issue #4540

Thanks to @Indigo000
2020-01-20 22:35:52 +01:00
Atemo
148519b47a Fixes issue #4539 (#4546)
* Corrected a menu offset
Thanks to @Indigo000
2020-01-18 17:05:47 +01:00
Sader Fawall
fc1c05aee9 Announce Accept Char id (#4203)
Adjusted script command announce to accept charID
* Fixes #3901.
* Script command announce will now accept a character ID to display locally.
Thanks to @sader1992!
Co-authored-by: Atemo <Atemo@users.noreply.github.com>
Co-authored-by: Lemongrass3110 <lemongrass@kstp.at>
2020-01-17 21:22:49 -05:00
Aleos
bf9a3b47fe Removed an extra status calculation for players (#4525)
* Follow up to 2732176.
* Fixes #4150.
* Removed an extra status calculation for players resulting in some status data being nullified.
* Adjusted status calculation for autobonus and unequipping items.
* Cleaned up delayed damage logic.
Thanks to @cydh, @Hatfun, and @NeutralDev!
2020-01-17 20:30:35 -05:00
Aleos
69b68bc2f5 Fixed CSV2YAML not freeing memory (#4542)
* Fixes #4541.
* CSV2YAML tool will now free the memory on each database conversion.
Thanks to @Lemongrass3110!
2020-01-17 19:13:47 -05:00
Sader Fawall
4f0894c4f9 Fixed unitwalk with the same event name (#4204)
Fixes #4118
2020-01-18 00:29:56 +01:00
rAthenaAPI
bacaff8383 SQL synchronization 2020-01-17 23:31:03 +01:00
Lemongrass3110
b05f9af559 Fixed invalid usage of bRegenPercentHP/SP (#4517)
Fixes #4516
2020-01-17 23:30:45 +01:00
Mael
9bc8b77e78 Update socket_enchant2.txt (#4543) 2020-01-17 23:04:13 +01:00
rAthenaAPI
a3f3b94f10 SQL synchronization 2020-01-15 05:00:55 +01:00
rAthenaAPI
136aee9e48 Mob and NPC Identity Update 2020-01-15 05:00:33 +01:00
rAthenaAPI
f449a5443a SQL synchronization 2020-01-15 04:00:47 +01:00
rAthenaAPI
4d195e5d9d Mob and NPC Identity Update 2020-01-15 04:00:27 +01:00
Lemongrass3110
8f512d8abb Fixed a newly introduced stack bug
Fixes #4537

Thanks to @Triedge
2020-01-14 09:47:28 +01:00
Lemongrass3110
e72c7360cf Added int64 support to the script engine (#4522)
Added support for signed 64 bit integer value computation into the script engine.
This is required because newer official features require support for bigger numbers inside the scripts.

This also cleans up a lot of messy code and fixes a few issues like script stack corruptions.

Thanks to @aleos89 and everyone who supported me with this.
2020-01-13 14:44:48 +01:00
Aleos
3142863a13 Cleaned up Storage Database documentation (#4521)
* Adjusted documentation to match standard.
* Removed double quote from Table as there are no special characters used for these.
* Added license to import file.
2020-01-13 08:12:25 -05:00
Daegaladh
939761a02d Fixed Magazine Dealer coordinates in pre-re (#4512)
* Also switched the main npc in renewal in case they change the duplicates again in the future
2020-01-11 15:41:44 +01:00
Daegaladh
78a02330b2 Follow up to e27aa8b2d8 (#4509)
* Additional configs for boss idle AI
2020-01-11 15:14:33 +01:00
Lemongrass3110
fb8a752320 Follow up to f2a1b6e
Thanks to @mazvi and @Daegaladh
2020-01-08 21:00:02 +01:00
rAthenaAPI
f4dd8eb96a SQL synchronization 2020-01-08 05:00:57 +01:00
rAthenaAPI
4452833ca4 Mob and NPC Identity Update 2020-01-08 05:00:38 +01:00
rAthenaAPI
0de934d088 SQL synchronization 2020-01-07 23:10:11 +01:00
crazyarashi
55aeebc3c5 Costume Update (#4473)
* Update renewal costumes
2020-01-08 07:09:55 +09:00
Daegaladh
9993639177 Updated Cat Paw texts and name (#4515) 2020-01-05 19:01:52 +01:00
Daegaladh
305c51ede9 Fixed official Cat Paw addition exploit (#4514)
* Fixes an exploit where you could save in Manuk and Splendide fields and open Warp Portal to these maps for other players
2020-01-05 18:13:28 +01:00
~Neutral~
bc5b147644 Fixed bonus2 bRegenPercentHP and SP (#4511) 2020-01-05 00:08:19 +01:00
Atemo
7a77a2cbbc Small correction of ritual of blessing instance (#4413)
* Corrected the touch event
* Added missing text
* Corrected and improved some timers
2020-01-04 15:23:15 +01:00
Daegaladh
2533408bad Added missing sub-races to pre-renewal (#4510) 2020-01-04 13:02:01 +01:00
Lemongrass3110
eb9ae813b5 Fixed pet eggs as mail attachments (#4506)
Fixes #4327

Thanks to @RadianFord
2020-01-04 03:22:10 +01:00
Daegaladh
e27aa8b2d8 Additional configs for mobs idle AI (#4503)
* Added conf options to enable/disable monsters using idle skills and move when there's no players nearby.

Thanks to @aleos89
Co-authored-by: Lemongrass3110 <lemongrass@kstp.at>
2020-01-03 00:20:50 +01:00
Aleos
c52b3b784a Expanded a couple baby job names (#4500)
* Expanded Job_Baby_Rune -> Job_Baby_Rune_Knight, Job_Baby_Bishop -> Job_Baby_Arch_Bishop, Job_Baby_Cross -> Job_Baby_Guillotine_Cross, Job_Baby_Guard -> Job_Baby_Royal_Guard, and Job_Baby_Chaser -> Job_Baby_Shadow_Chaser.
* Expanded related MAPID/EAJ constants as well.
* Added deprecation notice for old constants.
* Updated database and NPC scripts to use new constants.
2020-01-01 22:53:40 -05:00
Aleos
6f52f6794f Corrected mob availability database sprite lookup (#4502)
* Fixes #4495.
* Adjusted the monster sprite lookup to ignore any restrictions based on monster data.
Thanks to @sader1992!
Co-authored-by: Lemongrass3110 <lemongrass@kstp.at>
2020-01-01 22:30:12 -05:00
Aleos
50715f92e3 Corrected mob warp check (#4501)
* Fixes #4499.
* Corrected mob warp check failing to determine validity of target map.
Thanks to @ai4rei!
2020-01-01 21:53:02 -05:00
rAthenaAPI
e1f9483807 Effect State Update 2019-12-31 20:05:31 +01:00
Daegaladh
6a81238959 Follow up to bcf1ff19fe (#4496)
* Forgot to add the shop in the pre-re shops file.
2019-12-30 14:10:33 +01:00
Aleos
1884f4d503 Corrected Gatling Fever damage (#4493)
* Fixes #4492.
* Damage no longer depends on the target's size.
Thanks to @kyurejl!
2019-12-30 07:44:13 -05:00
rAthenaAPI
0e8fab0c82 SQL synchronization 2019-12-24 18:00:42 +01:00
rAthenaAPI
7211db3249 Mob and NPC Identity Update 2019-12-24 18:00:27 +01:00
Aleos
464fd40607 Corrected Vacuum Extreme behavior (#2526)
* Fixes #2497.
* Vacuum Extreme will now pull players into the center.
* Vacuum Extreme should only pull in players that stop within it's AoE.
* It will now ignore "no knockback" bonuses players have.
Thanks to @esu1214, @cydh and @exneval!
2019-12-23 18:36:54 -05:00
Aleos
b0119631a4 Allow NPC view data modifications (#4385)
* Fixes #4289.
* Updated script commands setunitdata and getunitdata to support the modification of NPC view data.
* Converted mob_avail database to YAML.
Thanks to @Lemongrass3110, @4144, @exneval, @Balferian, @cahya1992 and @teededung!
Co-authored-by: Lemongrass3110 <lemongrass@kstp.at>
2019-12-22 10:27:43 -05:00
Jittapan Pluemsumran
f2a1b6e784 Added primary key to tables that lack them & Dropped sstatus table (#4306)
* Added primary key to tables that lack them

* Dropped table sstatus

* Changed some primary keys and dropped no longer needed indexes

* Indent upgrade file with spaces
[ci skip]

* Fixed upgrade query on bonus_script table

* Renamed to current date

* Added missing table to engine conversion script

Co-authored-by: Lemongrass3110 <lemongrass@kstp.at>
2019-12-22 20:04:31 +07:00
Daegaladh
1bd33fb108 Fixed 'Finding the Moving Island' quest spawning the wrong monsters on pre-renewal (#4490) 2019-12-22 01:46:30 +01:00
Lemongrass3110
64b5c3082b Migrated atcommand aliases and help to YAML (#4487)
Merges atcommand_athena.conf and help.txt into a single file.
Removed some leftover settings that were removed before.
Removed CLI support for modifying the atcommand configuration file.
Moved atcommand and charcommand symbol definition into conf/battle/gm.conf
Removed some messages that are not needed anymore

Co-authored-by: Aleos <aleos89@users.noreply.github.com>
2019-12-21 19:19:19 +01:00
JohnnyPlayy
b967439fa7 Adding Missing Portals (#4396)
Added some missing portals to yuno and lighthalzen.

Thanks to @Daegaladh for confirming it on ASB 5.5

Co-authored-by: Lemongrass3110 <lemongrass@kstp.at>
2019-12-21 13:49:26 +01:00
Jittapan Pluemsumran
3a7b832906 Threshold for blacksmith refine fame points (#4409)
* Made refine threshold for giving Blacksmith ranking point configurable. Fixes #4408
2019-12-21 16:45:00 +07:00
Daegaladh
bcf1ff19fe Moved Material Seller shop to Renewal (#4489) 2019-12-21 10:32:24 +01:00
Aleos
77d86c6da5 Converted Reading Spellbook Database to YAML (#4440)
* Split database between pre-renewal and renewal.
Co-authored-by: Lemongrass3110 <lemongrass@kstp.at>
2019-12-20 12:37:16 -05:00
Aleos
77045ef287 Converted Improvised Song Database to YAML (#4481)
* Split database into pre-renewal and renewal.
Co-authored-by: Lemongrass3110 <lemongrass@kstp.at>
2019-12-19 18:06:37 -05:00
Aleos
beec1c2766 Corrected Enchant Arms for older clients (#4484)
* Follow up to 754274b.
* Resolved the status icon not clearing for each element.
Thanks to @Daegaladh!
2019-12-19 17:02:19 -05:00
Lemongrass3110
deb0615639 Follow up to 2fc7472
Fixed an issue with random calculation on abra in some cases.
Moved some commonly used functions into util and yaml database for global usage.

Thanks to @Daegaladh and @aleos89
2019-12-19 22:12:55 +01:00
Aleos
2fc7472001 Converted Abra Database to YAML (#4480)
* Removed useless skill name usage in the database.
2019-12-18 18:40:50 -05:00
aleos89
84bdf59e36 Removed pre-renewal Magic Mushroom database 2019-12-18 12:27:57 -05:00
Daegaladh
28c70cde3d Fixed SC_KEEPING and SC_BARRIER exploit after classchange (#4486)
* Fixed monsters affected by SC_KEEPING and SC_BARRIER not moving or attacking after classchange
* Thanks to @aleos89
2019-12-17 23:40:46 +01:00
Aleos
d56553775a Converted Magic Mushroom Database to YAML (#4482)
* Split database into pre-renewal and renewal.
* Left pre-renewal database empty.
2019-12-17 16:07:17 -05:00
Aleos
c4c31d418a Corrected Rock Ridge monster spawn (#4485)
* Fixes #4474.
* Corrected an incorrect monster spawn for White Plant.
Thanks to @RagnaWay!
2019-12-17 14:14:03 -05:00
rAthenaAPI
4e5f82b344 SQL synchronization 2019-12-15 20:55:40 +01:00
Daegaladh
354c632732 Fixed place names and other typos (#4475)
* Fixed common misspelled names from iRO and other typos.
2019-12-15 20:55:19 +01:00
Cydh Ramdh
5bcbed556a * Fixed equip view to only send equipped item (#4450)
Fixed equip view to only send equipped item
Limiting only can view player's equip only at same map
2019-12-12 17:04:53 +01:00
Stolao
7f6f241a12 Added Conf setting to Enable mob-warping when standing on Dimensional Door (#4472) 2019-12-12 11:03:03 -05:00
rAthenaAPI
bf4ff739eb SQL synchronization 2019-12-11 18:03:37 +01:00
rAthenaAPI
d058dc8d8e Mob and NPC Identity Update 2019-12-11 18:01:13 +01:00
rAthenaAPI
119825e142 SQL synchronization 2019-12-09 14:40:07 +01:00
Joam
94c35a5f7e Biolab Edda Weapon (#4362)
* Implemented items from Biolab Edda
2019-12-09 14:39:48 +01:00
Sader Fawall
3058d10a4e Fix several issues with pets (#4422)
* Fixes #4422.
* Resolves an issue hatching eggs when trading and eggs not being deleted after the pet is lost.
Thanks to @sader1992!
2019-12-06 21:56:34 +01:00
Atemo
d9a4a8f6d0 Fixed typo in academy.txt (#4469)
* Fixes #4464
* Fixes #4463
Thanks to @zeffen
2019-12-05 16:22:59 +01:00
rAthenaAPI
991b23776f SQL synchronization 2019-12-04 04:00:43 +01:00
rAthenaAPI
5f0bfd09c4 Mob and NPC Identity Update 2019-12-04 04:00:28 +01:00
Atemo
662a3e597d Corrected Horror Toy Factory treasure drop
* Fixed an issue where the treasure  chest gave Red Lantern instead of Bloody Coins.
* Fixes #4466
Thanks to @Triedge
2019-12-01 22:55:50 +01:00
rAthenaAPI
9124d5600f Effect State Update 2019-11-27 04:05:57 +01:00
rAthenaAPI
769c6c533c SQL synchronization 2019-11-27 04:02:21 +01:00
rAthenaAPI
429f95c16e Mob and NPC Identity Update 2019-11-27 04:00:30 +01:00
rAthenaAPI
5b5f7fef97 SQL synchronization 2019-11-26 04:02:26 +01:00
rAthenaAPI
20aba23fb8 Mob and NPC Identity Update 2019-11-26 04:00:26 +01:00
Aleos
bf9e97b4f0 Corrected Bacsojin Pet (#4458)
* Added back the previous Bacsojin pet.
* Added the new Bacsojin pet; commented out as the mob entry doesn't exist yet.
Thanks to @Everade!
2019-11-20 14:34:57 -05:00
Aleos
b8a12cca3e Updated the CSV2YAML tool to utilize YAML Emitter (#4448)
* Processing performance increases by an order of magnitudes.
* Generalized the path vector names to be used for future conversion functions.
* Fixed new lines.
* Added header templates.
Thanks to @Lemongrass3110!
2019-11-20 08:15:54 -05:00
Cydh Ramdh
9a4648ebbf Fixed #4452 (#4457)
* Correction for checking SLS's days
2019-11-20 07:47:30 +07:00
rAthenaAPI
02fa8e3c98 Effect State Update 2019-11-19 04:05:36 +01:00
Lemongrass3110
9389b7d425 Fixed appveyor building (#4451) 2019-11-15 18:21:31 +01:00
rAthenaAPI
ea5467004a SQL synchronization 2019-11-14 04:22:33 +01:00
Cydh Ramdh
ef81cefd56 Fixed #4437 (#4438)
* 2177,MD_CORNUTUS attr 2 => mode added 0x020000
* 2178,MD_SHELLFISH attr 5 => mode added 0x050000
* 2181,MD_SWORD_FISH attr 5 => mode added 0x050000
* 2183,MD_ANOLIAN attr 2 => mode added 0x020000
2019-11-14 10:20:31 +07:00
Aleos
1d5364bd13 Corrected Succession of the Prince quest (#4445)
* Fixes #4443.
* Added a missing space in the disablenpc event.
Thanks to @Indigo000!
2019-11-12 08:30:12 -05:00
crazyarashi
34e5f537b7 quest_16_1 typo fix (#4423)
* quest_16_1 typo fix

* Fixed some more spelling mistakes

Thanks to @aleos89 for his help!
2019-11-06 01:45:41 +09:00
Lemongrass3110
2cc4402b49 Added progress for loading yaml databases (#4441) 2019-11-05 17:10:17 +01:00
Lemongrass3110
159ce4e3cd Added unsigned rate support for yaml (#4442)
Added core functions to supported reading unsigned rates.
By default rates are values between 0 and 10000, if no other maximum is defined.
2019-11-04 22:04:16 +01:00
Lemongrass3110
f10fdf5aa0 Added support for constants in csv2yaml (#4433) 2019-11-04 16:20:49 +01:00
Cydh Ramdh
e6bf2d18f9 bonus bVariableCast and bonus2 bSkillVariableCast for Pre-renewal (#4268)
* `bonus bVariableCast,t;` now works in pre-renewal to increase casting time
* `bonus2 bSkillVariableCast,sk,t;` now works in pre-renewal to increase casting time by skill name
* Item bonus documentation update
2019-11-04 08:03:15 +07:00
Lemongrass3110
930f52e31f Partial revert of 01f61cf
Reverts unintentional renaming of a variable
2019-10-29 21:35:48 +01:00
Aleos
7c385f43bf Corrected Gentle Touch skills (#4420)
* Follow up to 24c4c49.
* Gentle Touch - Convert and Gentle Touch - Revitalize should not be able to be stacked with one another; only Gentle Touch - Energy Gain can stack with them.
Thanks to @teededung!
2019-10-28 08:51:34 -04:00
Joam
375aea6b86 Fix item bonus SkillUseSPRate (#4418)
* Resolves item bonus SkillUseSPRate not decreasing SP usage.
Thanks to @attackjom!
2019-10-25 09:28:40 -04:00
Sader Fawall
c1079cd44a Fixed script command getunits (#4417)
* Fixes #4416.
* Resolves an issue with script command getunits returning failure on a valid map index.
Thanks to @javirst and @sader1992!
2019-10-24 12:32:01 -04:00
rAthenaAPI
d9e0409176 Effect State Update 2019-10-23 06:05:33 +02:00
Aleos
abec31f320 Updated Ninja Skills (#4267)
* Fixes #4114.
* kRO Changelog: http://ro.gnjoy.com/news/notice/View.asp?seq=7084
Thanks to @SeravySensei and @Tokeiburu!
2019-10-21 14:37:32 -04:00
Aleos
24c4c49610 Job Improvement Project - Sura (#4256)
* Fixes #4210.
* kRO Changelog: http://ro.gnjoy.com/news/notice/View.asp?seq=7099
Thanks to @flamefury, Sigma, and @attackjom!
2019-10-18 13:10:17 -04:00
Aleos
2e3e8b83f5 Fixed renewal ASPD passive modifiers (#4405)
* Fixes #3735.
* Fixed Demon of the Sun Moon and Stars ASPD to now increase by a rate of 1 + skill_level.
* Cavalier Mastery and Dragon Training to be properly calculated.
Thanks to @poporing and @Balferian!
2019-10-17 08:38:06 -04:00
Aleos
9da3ad141c Corrected Dual Monster Race wager check (#4342)
* Fixes #4338.
* Follow up to f73fa23.
* Dual Monster Race wager should apply if either of the monsters chosen win in any order.
Thanks to @Indigo000!
2019-10-16 08:01:36 -04:00
rAthenaAPI
e02ed40728 SQL synchronization 2019-10-16 06:00:58 +02:00
rAthenaAPI
d686c666c7 Mob and NPC Identity Update 2019-10-16 06:00:42 +02:00
rAthenaAPI
a43139da61 SQL synchronization 2019-10-16 05:01:02 +02:00
rAthenaAPI
60749dc4f0 Mob and NPC Identity Update 2019-10-16 05:00:41 +02:00
Aleos
fb6dbc306a Corrected battle config default_fixed_castrate (#4341)
* When default_fixed_castrate is set to 0, it should not replace the value of the databases' fixed value when greater than 0.
Thanks to @SeravySensei!
2019-10-15 13:48:41 -04:00
Aleos
72338366c9 Corrected atcommand mobinfo for VIP (#4404)
* Fixes #4403.
* The EXP results for atcommand mobinfo return an incorrect adjustment for VIP status.
2019-10-15 10:25:17 -04:00
JohnnyPlayy
7e89c0523d Added official Malangdo Guide (#4328)
* Added the guide NPC in Malangdo.
2019-10-15 09:41:54 -04:00
Jittapan Pluemsumran
4806f66e9c Ignore files generated by CMake in CMakeFiles directory (#4407) 2019-10-13 17:01:06 +07:00
Daegaladh
b87d050829 Fixed SG_FRIEND not increasing TK_COUNTER's rate when MO_COMBOFINISH is used (#4411) 2019-10-12 22:04:22 +02:00
JohnnyPlayy
081b7cd388 Lighthalzen Quest NPC ID Fix (#4392)
* Changed NPC view ID to constants.
2019-10-12 12:15:01 -04:00
Aleos
783009d642 Updated Achievement EXP to official values (#4326)
* Added the official values for the AG_GOAL_ACHIEVE.
* Refactored the leveling logic for Achievements to account for the new values.
* Moved achievement EXP to a database file.
* Added AchievementLevel player variable to allow for easy tracking in the achievement condition checks.
* Cleaned up player GUI EXP progression.
* Added a check to not save achievements that made no changes.
* Added first login achievement.
Thanks to @Lemongrass3110!
2019-10-11 09:42:01 -04:00
Atemo
bb6e583a03 Added game ID check for Horror toy factory instance (#4383)
* Some parts of the script needed to check if the monster still exists
2019-10-10 21:34:09 +02:00
rAthenaAPI
469183771b SQL synchronization 2019-10-10 20:30:57 +02:00
Atemo
5cda733587 Updated nightmare biolab monsters drops (#4282)
* The rates and drops are from playing
* Added a note in nightmare_biolab.txt about missing monster drops
2019-10-10 20:30:43 +02:00
rAthenaAPI
f6ed41562e SQL synchronization 2019-10-10 18:31:41 +02:00
Jittapan Pluemsumran
be82cf261e Lowered Eden Uniform Tier 1 level requirement to level 7 Fixes #4009 (#4401)
Thanks to @zackdreaver
2019-10-10 23:31:28 +07:00
Aleos
995fb2a0a1 Corrected NPC view constant verification (#4398)
* Fixes #4397.
* Corrected NPC view constant verification stopping at the first digit found resulting in invalid results.
Thanks to @Lemongrass3110!
2019-10-09 12:05:08 -04:00
Kisuka
3c78691d2d Removed jAthena 1082 legacy code regarding castle defense rate. (#4400)
Fixes #4399
2019-10-09 17:49:04 +02:00
Aleos
e54b68a4c3 Updated EditorConfig (#4394)
* Set character set to UTF-8 for all files.
* Use tabs in C related files.
2019-10-07 08:54:08 -04:00
lemongrass3110
29e753ce83 Fixed small mistake in VS filters 2019-10-06 23:19:48 +02:00
JohnnyPlayy
9100e6b615 Payon script header fix (#4395) 2019-10-06 17:48:42 +02:00
Atemo
b412c4fcab questinfo requirement update (#4168)
* The <quest ID> is now removed, all the conditions are handled by a <condition> argument. The <condition> is using the achievement_check_condition (like in achievement_db.yml) so any condition (in theory) can be used to display the icon.
* A new script command has been added to refresh the bubble for the given player anytime.

Thanks to @aleos89 and @secretdataz for the review!
2019-10-06 17:15:46 +02:00
Lemongrass3110
df6385fd4a Fixed reply for adding to equip switch (#4384)
Fixes #4031

Thanks to @sctnightcore
2019-10-02 11:26:14 +02:00
Lemongrass3110
0e793e0c12 Fixed memory management for achievements (#4381)
Fixes #4380
2019-10-02 09:17:53 +02:00
Lemongrass3110
f290bc97be Fixed achievementexists script command (#4379)
Fixes #4378

Thanks to @ecdarreola and @teededung
2019-10-02 08:19:03 +02:00
rAthenaAPI
58f1fdf206 SQL synchronization 2019-10-02 07:00:49 +02:00
rAthenaAPI
285071dd3b Mob and NPC Identity Update 2019-10-02 07:00:35 +02:00
rAthenaAPI
136f21272e Effect State Update 2019-10-02 06:05:38 +02:00
Lemongrass3110
cb5833776c Added new missing hateffects (#4382) 2019-10-02 01:45:37 +02:00
Cydh Ramdh
ac03cea31d Corrected RDMOPT_DAMAGE_PROPERTY_element_USER (#4337)
The effect is based on enemy element, not the element's attack
2019-10-01 10:12:38 +07:00
Cydh Ramdh
dda63f517c Fixes #4311 (#4312)
* Added item with GUID flag as `CHKADDITEM_NEW` in pc_checkadditem
* Adjust inventory blank check for guid item to `+n`
* Moved slot check as item_data function
* Removed quantity force-set-to-1 check for buying equip from cashshop, it will gives the item to player just like item with GUID flag
2019-10-01 07:49:23 +07:00
Aleos
bbca9efd57 Added new achievements (#4368)
* Added new achievements
* Reordered some older achievements by ID.
* Fixed memory management on duplicate achievements.
Thanks to @Lemongrass3110!
2019-09-30 11:27:49 -04:00
JohnnyPlayy
752d3143f5 Portals Correction - yuno_in03 (#4360) 2019-09-21 11:42:52 +02:00
Aleos
e3fd7a6ff0 Fixed Escape not working with bNoKnockback (#4353)
* Fixes #4344.
* Resolved Escape not letting the player backslide when wearing items that give bNoKnockback bonus.
Thanks to @Badarosk0!
2019-09-20 13:59:04 -04:00
Aleos
78b2f10964 Corrected Fame Points for level 3 weapons (#4354)
* Fixes #4346.
* Level 3 forged weapons should give 1,000 fame points instead of 10,000.
Thanks to @Indigo000!
2019-09-20 10:50:16 -04:00
rAthenaAPI
d2aebaf0a5 SQL synchronization 2019-09-20 01:00:21 +02:00
JohnnyPlayy
62fa1b86cf Added items for Advanced Potions NPC (#4313)
* Included respective item delays.
2019-09-19 18:59:46 -04:00
Aleos
81c5dc9aaa Cleaned up left handed checks (#4358)
* Fixes #4347.
* Cleaned up left handed weapon checks.
* Fixed a potential crash.
Thanks to @laziem!
2019-09-19 13:02:38 -04:00
Aleos
0d1eb99483 Corrected Brasilis Sign Post location (#4355)
* Fixes #4349.
* Moved the sign post to the correct location.
Thanks to @bgamez23 and @JohnnyPlayy!
2019-09-19 12:43:42 -04:00
rAthenaAPI
af2433a82d SQL synchronization 2019-09-19 15:22:44 +02:00
SeravySensei
5fb6dd7ed5 Removed obsolete Novice Rod bonus (#4357)
* Fixes #4356.
* Removed +16 MATK% from Novice Rod in renewal mode.
2019-09-19 09:22:34 -04:00
Jittapan Pluemsumran
08d160aaac Added multi-hit critical damage display support (#2982)
* Fixed #1788.
* Double Attack and Fear Breeze can now critically strike.
2019-09-17 14:48:29 +07:00
JohnnyPlayy
ce42168b0d Updated Young Man Position (#4319)
* Updated Young Man position for Renewal.
2019-09-16 10:44:14 -04:00
Radian
3126bd8a0b Corrected custom Job Changer quest item reward (#4339)
* Gunslinger and Ninja class will now properly receive their job reward item.
2019-09-15 20:27:44 -04:00
Atemo
ddb9e814a2 Corrected dandelion request script (#4309)
An undefined label was called

Thanks to @dragonis1701 !
2019-09-14 19:03:02 +02:00
rAthenaAPI
0ac53a72a3 SQL synchronization 2019-09-12 17:01:45 +02:00
Aleos
479cc28ab5 Corrected Pet bonuses (#4134)
* Fixed Pet bonuses based on their intimacy level.
* Added new pet evolutions: Aliot, Alicel, and Aliza.
2019-09-12 11:01:33 -04:00
JohnnyPlayy
c1112c2854 Correct Position of Shrimp Trader (#4320)
* Correct NPC Position.
2019-09-10 10:29:03 -04:00
Balfear
8dfdac3298 Update duration for Purring
* Fixed wrong duration time for skill SU_PURRING.
2019-09-10 09:25:54 -04:00
Aleos
63c4c9c31d Corrected Joint Beat damage formula (#4325)
* Fixes #4305.
* Follow up to cb2c553.
* Corrected Joint Beat damage formula.
Thanks to @Indigo000!
2019-09-10 09:13:23 -04:00
Lemongrass3110
4664e88b91 Fixed item removal in RODEX (#4332)
Fixes #4317

Thanks to @voyfmyuh
2019-09-05 23:26:36 +02:00
rAthenaAPI
9c05cb8b6f Effect State Update 2019-09-05 18:05:52 +02:00
rAthenaAPI
659b01511b Effect State Update 2019-09-05 17:05:31 +02:00
Lemongrass3110
beb6b579f2 Fixed dropall counter (#4331)
Fixes #4330
2019-09-03 20:32:48 +02:00
rAthenaAPI
a03d80e9b6 SQL synchronization 2019-08-27 10:09:11 +02:00
Jittapan Pluemsumran
9f4e40d490 Fixed typo in item 5330's script (#4307) 2019-08-27 15:08:07 +07:00
rAthenaAPI
b8cfdaf725 SQL synchronization 2019-08-26 11:11:37 +02:00
Kanin Temsrisuk
df930fdb55 Minor item_db fix (#4318) 2019-08-26 16:11:26 +07:00
rAthenaAPI
92ba773dee SQL synchronization 2019-08-20 12:00:42 +02:00
rAthenaAPI
506a88a506 Mob and NPC Identity Update 2019-08-20 12:00:29 +02:00
rAthenaAPI
5ef1e5e89b Effect State Update 2019-08-20 06:05:46 +02:00
Atemo
378e44d85d Removed the option ID requirement for countitem3, rentitem3, getitem3, makeitem3 and delitem3 (#4270)
* These functions now accept the option ID array fill with 0
* They don't throw a warning anymore when the item doesn't have option ID
2019-08-16 14:52:09 +02:00
Jittapan Pluemsumran
bc15f5ce14 Dropped ragsrvinfo functionality (#4301) 2019-08-15 19:08:22 +07:00
CairoLee
76698145e3 Make appveyor use the tools/ci/sql.bat batch script 2019-08-15 13:44:05 +07:00
Atemo
786186f728 Small isequippedcnt script command update (#4229)
* Updated the command to only count the unique ID

Thanks to @cydh, @secretdataz and @aleos89 for the reviews !
2019-08-14 23:27:09 +02:00
Atemo
a83e9f34e7 Updated Euphy's WoE controller using the new mail script command (#4243)
* Splitted the item reward and zeny to support multi-reward by mail

Thanks to @burningFlower74, @Lemongrass3110 !
2019-08-14 16:24:14 +02:00
Balfear
152bdb0e15 Fixed typos channel.hpp comments (#4299) 2019-08-14 21:17:59 +07:00
Jittapan Pluemsumran
8431410a5c Reduce list field length in ipbanlist table from 255 to 15 (#4300)
* Update main.sql

* ipban_cleanup no longer uses hardcoded table name

* Create upgrade_20190814.sql
2019-08-14 20:57:45 +07:00
Atemo
b7f38cf85e Updated instance_warpall script side
Follow-up 21a5854c16 (#4298)

Thanks to @Indigo000
2019-08-14 15:48:15 +02:00
Aleos
aa63c855c0 Corrected pet bonuses not applying (#4292)
* Fixes #4283.
* Corrected pet bonuses not applying on intimacy changes.
* Removed pet_equip_min_friendly battle config as bonuses are determined on intimacy in the bonus script.
Thanks to @teededung!
2019-08-14 08:56:48 -04:00
Aleos
9b11301fa2 Added quest checks for Geffen Magic Tournament (#4291)
* Fixes #4278.
* Added a couple checkquest checks to avoid warnings.
Thanks to @Badarosk0!
2019-08-13 15:34:12 -04:00
Atemo
be1194e4b4 Empty message in announce script command (#4200)
Added a check to fail silently when the message in the *announce script commands is ""
2019-08-13 19:05:29 +02:00
rAthenaAPI
48ec057410 Effect State Update 2019-08-13 09:05:32 +02:00
rAthenaAPI
970dadac4d Effect State Update 2019-08-13 08:05:32 +02:00
rAthenaAPI
fce885e81e SQL synchronization 2019-08-08 15:15:26 +02:00
Jittapan Pluemsumran
ebc61dfbd7 Fixed Old Money Pocket being unusable (#4295) 2019-08-08 20:15:10 +07:00
rAthenaAPI
b2904a6425 SQL synchronization 2019-08-08 06:38:56 +02:00
Jittapan Pluemsumran
1658067fa6 Synced Geffen Magic Tournament mob_skill_db name with mob_db name (#4294) 2019-08-08 11:38:12 +07:00
Aleos
6db35cd6ce Corrected Clock Tower Gatekeeper dialog (#4290)
* Fixes #4277.
* Corrected the display for the floor level on the Gatekeeper's dialog.
Thanks to @Indigo000!
2019-08-07 08:19:29 -04:00
rAthenaAPI
c1b1df9f3a SQL synchronization 2019-08-07 08:00:45 +02:00
rAthenaAPI
3b7effeba8 Mob and NPC Identity Update 2019-08-07 08:00:30 +02:00
rAthenaAPI
492084a72a SQL synchronization 2019-08-06 06:47:08 +02:00
Joam
3fa8da13b4 Old Driver band Yellow script fix (#4287) 2019-08-06 11:46:44 +07:00
rAthenaAPI
0604fb79a1 SQL synchronization 2019-08-03 09:53:08 +02:00
Joam
7d3d952f40 Item Database Update - Lava set and Glast Heim Castle F3 weapon (#4285) 2019-08-03 14:52:55 +07:00
rAthenaAPI
51b78e9d22 SQL synchronization 2019-08-01 20:49:41 +02:00
Aleos
8b4306e6f3 Corrected Tornado Axe equip level (#4281)
* Fixes #4280.
* Tornado Axe's equip level is now 100 instead of 130.
Thanks to @Questune09!
2019-08-01 14:49:07 -04:00
Aleos
90d603d141 Removed leftover variable (#4275)
* Removed an unused variable.
Thanks to @pigati23!
2019-07-30 15:42:22 -04:00
rAthenaAPI
a00660a4ae SQL synchronization 2019-07-30 21:01:51 +02:00
rAthenaAPI
7ef3f45b4d Mob and NPC Identity Update 2019-07-30 21:01:10 +02:00
Aleos
8050f7c84e Properly free function script counter (#4269)
* Fixes #3613.
* Script functions will now properly reset the script instance counter when the function terminates the script.
Thanks to @Tokeiburu!
2019-07-29 19:16:07 -04:00
Aleos
3dd388ac66 Corrected a compile warning on GCC 8 (#4263)
* Fixes #4158.
Thanks to @gengstergile!
2019-07-25 09:56:34 -04:00
Aleos
3caf66870f Corrected pre-renewal Heal formula (#4261)
* Fixes #4258.
* Partial reversions in formulas for pre-renewal to be multiplicative.
Thanks to @Indigo000!
2019-07-25 08:42:48 -04:00
Aleos
d476934c93 Corrected RENEWAL_ASPD macro processing (#4259)
* Resolves an issue with the RENEWAL_ASPD macro processing the wrong database as it would go off the current compiled mode.
Thanks to @rfperuch!
2019-07-25 08:06:40 -04:00
Aleos
4ea1b25483 Corrected Strip duration (#4257)
* Fixes #4214.
* Corrected Strip duration becoming negative which results in the status not expiring.
Thanks to @Stingor!
2019-07-25 07:45:01 -04:00
Maz-V
bf52c52a63 Fixed quest cooldown display bug for Quest Board NPC (#4247)
thanks to @mazvi
2019-07-25 11:44:48 +07:00
naffej
d9db877d2f Fixed typo with wrong password length (#4262) 2019-07-24 23:42:34 +02:00
rAthenaAPI
d27b391c47 SQL synchronization 2019-07-24 05:02:09 +02:00
rAthenaAPI
36e927f2bc Mob and NPC Identity Update 2019-07-24 05:01:21 +02:00
Cydh Ramdh
17f32a1756 Fixed CZ_STANDING_RESURRECTION check (#4242)
* Fixed CZ_STANDING_RESURRECTION check
* Player can force to resurrect as long as they have valid Token of Siegfried even in auto respawn maps
* Added command `@resurrect` to resurrect using first matched Token of Siegfried item in inventory clients that don't show Resurrect button
* Set `respawn_tid` to int
2019-07-22 22:27:35 +07:00
Cydh Ramdh
0b1184e4ed Small doc/script_commands.txt correction (#4250) 2019-07-22 22:26:49 +07:00
Aleos
5702dc3c85 Corrected another potential crash with Joint Beat (#4255)
* Follow up to cb2c553.
Thanks to @teededung!
2019-07-22 08:40:49 -04:00
Aleos
ac46920e73 Fixed Achievement Level progression (#4156)
* Fixes #4131.
* Changed the behavior of achievement experience to roll over remaining experience rather than check from the total amount.
* Cleaned up achievement level logic.
Thanks to @daisyanne1380 and @SeravySensei!
2019-07-19 10:25:28 -04:00
Cydh Ramdh
68e98a87e5 Update README.md (#3333)
* Updated the overall formatting and details of the readme.
2019-07-18 14:37:17 -04:00
Aleos
6d199ca7d2 Corrected a potential crash with Joint Beat (#4251)
* Follow up to cb2c553.
Thanks to @teededung and @cahya1992!
2019-07-18 12:25:57 -04:00
Aleos
cb2c553f34 Cleaned up Joint Beat behavior (#4123)
* Fixes #4122.
* Added missing rate and duration reduction based on the targets stats.
* Confirmed that double damage only applies to BREAK_NECK.
* Cleaned up skill to remove jb_flag from status_change struct.
Thanks to @mrjnumber1!
2019-07-17 09:28:24 -04:00
Aleos
2ca417b61f Fixed STR affecting mob damage in pre-renewal (#4228)
* Follow up to fe197bf.
* STR should not affect monster's damage.
* Split battle config between pre-renewal and renewal.
Thanks to @Playtester!
2019-07-16 12:17:11 -04:00
Aleos
fc2c6e021d Corrected Magnum Break delay (#4248)
* Fixes #4191.
* Magnum Break should have an aftercast delay of 2 seconds which can be reduced by Bragi (like all other skills) and no cooldown.
Thanks to @Playtester!
2019-07-16 11:07:14 -04:00
Lemongrass3110
d80e111e5f Made mob sprite column unique (#4239)
Make the Sprite column for the SQL monster databases unique.

Fixes #4223.

Thanks to @Indigo000!
2019-07-08 23:17:42 +02:00
Lemongrass3110
8bb6b119b4 Fixed invalid item errors in achievements (#4240)
Fixes #4236

Thanks to @RadianFord
2019-07-08 08:35:29 +02:00
Sader Fawall
454163c48f prevent moving/dropping the pet egg if it's hatched (#4179)
Fixes #4178
2019-07-07 20:17:40 +02:00
Kakaroto
87b858199b Pet Fix Client after 20180704 (#4202)
A minor fix that corrects a problem when hatching eggs from pets to clients after 20180704.

Fixes #4190 

Thanks @4144 and @Asheraf
2019-07-07 20:13:24 +02:00
Lemongrass3110
e6eaa9fe63 Fixed pet evolution upgrade script (#4232)
This re-adds the missing eggs from before the change into the inventories.

Fixes #4116

Thanks to @Indigo000, @Badarosk0 and @Everade
2019-07-07 16:36:11 +02:00
Aleos
32525bad55 Corrected autospell stacking (#4227)
* Resolves an issue with autospell bonuses stacking too generously.
Thanks to @Playtester!
2019-07-03 10:15:26 -04:00
rAthenaAPI
b49bc103fe Effect State Update 2019-07-03 05:06:20 +02:00
rAthenaAPI
812fb69bb7 SQL synchronization 2019-07-03 05:01:59 +02:00
rAthenaAPI
3a8a741513 Mob and NPC Identity Update 2019-07-03 05:01:17 +02:00
Atemo
912d97e460 Fixed a clone issue (#4226)
* Fixed a potential crash when using a clone
* Fixed #4225

Thanks to @laziem and @aleos89 !
2019-07-01 22:15:01 +02:00
Atemo
5fae7c26c1 convertpcinfo script command (#3924)
Implemented convertpcinfo script command
* The command allows to convert more easily a player data to another.
* It fails silently if the character is not found/online.

Thanks to @aleos89, @Normynator, @cydh !
2019-07-01 21:06:55 +02:00
Atemo
c1975d7ea3 instance_live_info command (#3099)
Implemented instance_live_info script command to retrieve some data of running instances

Thanks to @Jeybla, @cydh, @Lemongrass3110 and @aleos89 for the review !
2019-06-25 21:48:44 +02:00
rAthenaAPI
90f7cf03a9 SQL synchronization 2019-06-25 20:04:14 +02:00
Joam
aae31a19a5 Update Itemdb (JRO item) (#4161)
* The items implementation is based on JRO description instead of IRO description
* Yinyang combo items will be implemented later when more infos will be available
2019-06-25 20:03:33 +02:00
rAthenaAPI
1e0e3c32fc SQL synchronization 2019-06-25 17:05:31 +02:00
Atemo
a16f0ebb07 Implemented the Paramarket shops (#4154)
Thanks to @jenkijo (#2467) and https://www.divine-pride.net !
Thanks to @aleos89 for reviewing the items price !
2019-06-25 17:05:17 +02:00
rAthenaAPI
5ee25f4d8d SQL synchronization 2019-06-25 14:58:12 +02:00
Atemo
5c1ef3945e Removed the duplicate item ID from item_db.txt (#4220)
Thanks to @aleos89 !
2019-06-25 14:58:01 +02:00
flamefury
19835b638b Sense - show 0 for negatives (#4213)
* Fixes #4212.
* Sense's negative informational stats will now be capped to 0.
Thanks to @flamefury!
2019-06-24 13:41:37 -04:00
Atemo
34971e57fa Wounded Morroc cooldown (#4207)
* Fixed an issue with a cooldown after killing Wounded Morroc
* Fixed #4205 

Thanks to @Tokeiburu !
2019-06-11 15:44:12 +02:00
Aleos
a548f20c94 Corrected PK Mapflag assignment (#4165)
* Fixes an issue with different player versus player mapflags not being checked before applying the PK mapflag.
Thanks to @LiamKarlMitchell!
2019-06-04 09:34:30 -04:00
Atemo
f8ea43ebc7 getmapflag MF_RESTRICTED (#4193)
* Corrected the value returned by getmapflag script command for MF_RESTRICTED
2019-06-03 20:45:19 +02:00
Atemo
3cb23fd5aa Corrected the map name for announcing the entrance in the Morse cave instance (#4201) 2019-06-03 19:58:59 +02:00
Aleos
052a4fd1e4 Corrected Weapon Forging inventory search (#4192)
* Fixes an issue with Weapon Forging not checking for index 0.
Thanks to @Tokeiburu!
2019-06-03 11:49:08 -04:00
Aleos
754274bc58 Corrected Enchant Arms for older clients (#4196)
* Fixes Enchant Arms displaying an incorrect status icon for clients older than 2015-11-04.
Thanks to @Daegaladh and @Lemongrass3110!
2019-06-03 10:32:12 -04:00
Aleos
8cfee2c872 Corrected a potential crash from equip switch (#4198)
* Resolves a potential crash with the equip switch feature and invalid items.
Thanks to Melvo and @functor-x!
2019-06-03 09:04:25 -04:00
norm
8ed3d0583a Fixes problem with PR #4148. (#4176)
* Fixes the disappearing item mentioned in PR #4148.
* Should now mirror kRO behavior when cart is full.
Thanks to @Normynator!
2019-05-31 13:30:54 -04:00
rAthenaAPI
2cb496c204 SQL synchronization 2019-05-30 23:23:21 +02:00
Atemo
e48c149511 Corrected Rice_Cake_Soup (ID 669) item script (#4189)
* Fixed #4056
Thanks to @tkporreta
2019-05-30 23:22:55 +02:00
norm
eb4b46255f Changed renewal start coordinates (#4172)
* Fixes #4171.
Thanks to @Badarosk0 and @Normynator!
2019-05-30 16:22:13 -04:00
Sader Fawall
a3fc44ef8a viewpoint command update (#4143)
* Added the optional parameter 'char ID' to the command
2019-05-23 20:11:45 +02:00
rAthenaAPI
7d2c1a662c SQL synchronization 2019-05-23 18:02:26 +02:00
Aleos
0b9d760386 Corrected new hats (#4188)
* Fixes #4177.
* Resolved some comments getting stripped from the SQL converter.
* Corrected Costume Camellia Hair Pin ending the wrong hat effect.
* Added the view ID for Costume Fluttering Feathers and Costume Show Me The Zeny.
Thanks to @CyberDevil75 and @lChyztl!
2019-05-23 18:01:55 +02:00
rAthenaAPI
c5ed00b342 SQL synchronization 2019-05-23 16:57:29 +02:00
Tuan Anh Nguyen
13db834c0c Update new items weight from kRO (#4187)
Update new items weight from kRO Changelog May-22-2019
Thanks to https://www.divine-pride.net
2019-05-23 16:57:17 +02:00
rAthenaAPI
5330df2b2d SQL synchronization 2019-05-23 15:22:07 +02:00
Atemo
47ef1ea030 Updated Death Fire (ID 13192) and Rolling Thunder (ID 13193) according to KRO description (#4186)
* Fixed #4153

Thanks to @SeravySensei
2019-05-23 15:21:53 +02:00
Sader Fawall
ddb7d90396 Fix getareaunits coordinates (#4155)
Co-Authored-By: AnnieRuru <annieruru@users.noreply.github.com>
2019-05-20 16:36:16 +02:00
Sader Fawall
317146c0d0 Fix maintenance and gm_allow_group config (#4042)
* Adjusted maintenance and gm_allow_group config to support a range of Group ID rather than just one group.
Thanks to @sader1992!
2019-05-20 09:18:15 -04:00
SeravySensei
b9fb0d5a1e Login Server console command issue (#4126)
* Fixes #4124.
* Resolved an issue with the Login Server console commands: lan-config, login-config, and msg-config
Thanks to @SeravySensei!
2019-05-20 08:43:26 -04:00
rAthenaAPI
40cc613418 SQL synchronization 2019-05-17 22:12:32 +02:00
Aleos
1bd524a72d Corrected Twin Pompom By JB item bonus (#4157)
* Fixes #4142.
* Corrected Twin Pompom By JB item bonus to match kRO description.
Thanks to @AzarthMZintos!
2019-05-17 16:11:56 -04:00
rAthenaAPI
4ba54838fe SQL synchronization 2019-05-15 20:07:45 +02:00
Atemo
164dc9a687 Added shadow items - ID range 24320~24424 (#4166)
Added shadow items according to KRO description.
Thanks to https://www.divine-pride.net !
2019-05-15 20:06:54 +02:00
rAthenaAPI
e2ec714c43 SQL synchronization 2019-05-15 16:31:47 +02:00
Atemo
f8a1427d01 autobonus correction (#4167)
* Some variable in the bonus_script were undefined
2019-05-15 16:31:32 +02:00
rAthenaAPI
464d6109b4 SQL synchronization 2019-05-14 22:32:19 +02:00
Joam
097ed5eb53 Update KRO Class-Shadow costume (#4162)
* Added items data for the ID in the range 24256~24319 and 24402~24415
Thank to "Sigma" for the translation in divine-pride forum !
2019-05-14 22:31:53 +02:00
Jittapan Pluemsumran
7ad1b32d7d Additional fixes for cart exploit (#4148)
* Fixes #4146.
* Reverted some of 7f772c3 as this falls into a larger refactor scope.
* Resolved an issue where items could not be picked up from the cart when the overweight message was sent to the player.
* Added missing e_additem_result constants.
Thanks to @secretdataz, @Normynator, and @cydh!
2019-05-14 14:19:26 -04:00
rAthenaAPI
3ad276c9ef SQL synchronization 2019-05-14 05:47:12 +02:00
flamefury
656bcf314c Gigantic Bow supposed to subtract HIT instead of add 2019-05-14 10:46:46 +07:00
rAthenaAPI
1db461d79f SQL synchronization 2019-05-12 15:12:54 +02:00
Atemo
e9297658d4 Resolved sql synchronization follow-up 9a7b1780c2 (#4163) 2019-05-12 15:12:40 +02:00
rAthenaAPI
556eb59ee4 SQL synchronization 2019-05-11 15:53:09 +02:00
crazyarashi
9a7b1780c2 Renewal item database update (#4100)
* Fixed #4111 
** Removed some costume refinability
* Fixed #4112
** Corrected Elemental Robe (ID 15177) and Elemental Cape (ID 20820) job mask
* Added missing item db for renewal.

Thanks to @mazvi
2019-05-11 15:52:58 +02:00
Aleos
69843289c9 Fixed some bonuses getting capped (#4137)
* Fixes #4135.
* Fixes several item bonuses getting their bonus capped when they shouldn't be.
Thanks to @Badaroks0!
2019-05-10 08:41:16 -04:00
rAthenaAPI
120ffc122b SQL synchronization 2019-05-08 06:02:18 +02:00
rAthenaAPI
932353b48f Mob and NPC Identity Update 2019-05-08 06:01:25 +02:00
Jittapan Pluemsumran
7f772c32d3 Fixed potential race-condition possibility in cart item transaction (#4139)
Co-authored-by: Cydh Ramdh <cydh@users.noreply.github.com>
Co-Authored-By: Aleos <aleos89@users.noreply.github.com>
2019-05-02 21:01:18 +07:00
rAthenaAPI
1832fdf67a SQL synchronization 2019-05-02 05:01:21 +02:00
rAthenaAPI
6916375162 Mob and NPC Identity Update 2019-05-02 05:00:54 +02:00
rAthenaAPI
8906dc9762 Effect State Update 2019-05-01 08:05:31 +02:00
rAthenaAPI
94c4e9f471 Effect State Update 2019-05-01 07:06:02 +02:00
rAthenaAPI
21e7a35b72 SQL synchronization 2019-04-27 05:34:46 +02:00
Aleos
884043b7ad Fixed a SQL item database error (#4129)
* Fixes a conversion error.
* Follow up to 79ba5aa.
2019-04-26 23:34:16 -04:00
rAthenaAPI
e41ce87213 SQL synchronization 2019-04-27 00:06:02 +02:00
Joam
79ba5aa991 Renewal hateffect update (#4102)
* Updated items with new hat effects.
Thanks to @attackjom!
2019-04-26 18:05:35 -04:00
Tuan Anh Nguyen
67e1583f9f Fix loop issue on Ice Cream Maker NPC (#4127)
* Fixed infinity loop issue if user input any number except 0.
2019-04-25 15:25:59 +02:00
Atemo
3d8c20f6b9 unitwarp npc - issue #4087 (#4104)
* Fixed issue #4087 
* Added an extra map check in npc_touch_areanpc
* Move the npc warped by unitwarp to the new map.

Thanks to @aleos89 for the review and @Litro for testing !
2019-04-25 15:07:20 +02:00
Aleos
53cedb72af Corrected Cross Slash (#4121)
* Fixed Kagerou/Oboro Cross Slash div_ check looking for the status change rather than the skill ID.
Thanks to @mrjnumber1!
2019-04-23 09:59:51 -04:00
Yashim Wong
d05c6035f2 Corrected checks for weapon attack calculation (#3469)
* Fixes #3371.
* Fixed instruments (W_MUSICAL, W_WHIP) not receiving attack bonus from DEX.
Thanks to @Rayvis and @yashimwong!
2019-04-23 08:51:12 -04:00
Aleos
ce1508a01c Corrected Enchant Arms status icon (#3661)
* Enchant Arms should display a status icon depending on the element (skill level) being used.
Thanks to @mrjnumber1!
2019-04-19 21:30:03 -04:00
Aleos
53f5013149 Added an item group for Token of Siegfried (#4047)
* Fixes #4041.
* Created an item group used to remove hard coding of Token of Siegfried.
* Added the other Token of Siegfried's to work with this feature.
Thanks to @daisyanne1380!
2019-04-19 10:33:35 -04:00
Aleos
21a5854c16 Cleaned up instance script commands (#4090)
* Script command instance_id now supports an instance mode argument. If no mode is given it will return the attached script's instance.
* Script commands instance_destroy, instance_npcname, instance_mapname, instance_announce now attach themselves to the script's instance by default.
* Script commands instance_enter and instance_warpall attach themselves to the player's IM_PARTY instance by default.
* Added getvariableofinstance command (similar to getvariableofnpc) to retrieve the instance variable outside the instance.
* Update documentation to match changes.
Thanks to @vykimo, @Atemo, and @Lemongrass3110!
2019-04-19 09:02:42 -04:00
Aleos
c264d3e94a Corrected script command logmes (#4103)
* Fixed a potential crash with attempting to log a message with a floating NPC.
Thanks to @Akkarinage!
2019-04-18 14:28:49 -04:00
JohnnyPlayy
a3bd4c3964 Updating official Kafra information from Rock Ridge (#4096)
* Updating End Functions Kafra
* Adding official text and official savepoint position
* Changing IDs to Names
2019-04-18 13:51:46 +02:00
Maz-V
4d05e09ef3 Fixed Aigu's cutin (#4108) 2019-04-17 18:28:55 -04:00
CairoLee
94324bc2d7 Ensure the mysql server host support full length domain (#4092) 2019-04-17 17:59:42 -04:00
Aleos
7e7a28315e Reduced MAX_MAP_SERVERS and MAX_SERVERS size (#4099)
* Reduced MAX_MAP_SERVERS down to 2.
* Reduced MAX_SERVERS down to 5.
2019-04-17 14:47:55 -04:00
Aleos
8df036c428 Fixed AG_BATTLE and AG_TAMING achievements (#4065)
* Fixes #4015.
* Fixes a potential crash from AG_BATTLE and AG_TAMING achievements.
* General cleanups.
Thanks to @Atemo!
2019-04-17 12:23:43 -04:00
Atemo
8975682fed Corrected countitem_sub return value (#4110)
* Corrected countitem_sub return value in case of failure
2019-04-17 17:50:30 +02:00
rAthenaAPI
6c8142a6db SQL synchronization 2019-04-17 05:01:42 +02:00
rAthenaAPI
84a59276fc Mob and NPC Identity Update 2019-04-17 05:01:07 +02:00
Aleos
3057af757d Corrected a compile error (#4107)
* Fixes a compile error for clients older than 2014-10-08 which don't support pet autofeed.
Thanks to @Normynator!
2019-04-15 13:42:47 -04:00
rAthenaAPI
a348016058 SQL synchronization 2019-04-13 15:12:44 +02:00
Atemo
04c6303eb9 Implemented (the old) Nightmarish Jitterbug instance (#4061)
* Implemented NPC_REVERBERATION (some parts are from https://github.com/idathena/trunk credit to @exneval)

Credit to @RagnarokNova for some texts correction and for the monster spawn ([source](https://rathena.org/board/topic/104496-nightmareish-jitterbug-episode-143/))
Credit to https://www.divine-pride.net/ for the monsters datas.
2019-04-13 15:12:30 +02:00
Aleos
f047a6a510 Cleaned up countitem-type script commands (#3657)
* Fixes #3612.
* Separated the countitem-type script commands into their own functions.
* Created a global count function to be used between them.
Thanks to @kisuka, @Normynator and @Atemo!
2019-04-12 13:13:35 -04:00
Aleos
06020502b8 Adjusted pet walk speed (#4083)
* Added battle config pet_walk_speed.
* Resolves some pets walking too slow.
2019-04-11 18:49:07 -04:00
Atemo
9aa5f7d834 Added several warning messages (#4062)
* enablenpc / disablenpc / hideoffnpc / hideonnpc now display the npc source when the npc named doesn't exist
* Added the NPC source to status_set_viewdata when no view data has been found
* Added export_deprecated_constant3 to display the constant name replacing the deprecated
* Removed the debug message from `@ warp` when the map name is wrong
* Added clif_name_area to UMOB_LEVEL on setunitdata and a capvalue to UPET_HUNGER
* areamonster now checks if the monster ID exists

Thanks to @Normynator and @aleos89 for the review!
2019-04-10 15:59:42 +02:00
Aleos
c772262469 Corrected guild level increases (#4094)
* Resolves guild levels being capped to various hard coded limits rather than using the constant.
Thanks to @datleeroy!
2019-04-10 09:15:54 -04:00
rAthenaAPI
26ebaf732c Effect State Update 2019-04-09 13:05:32 +02:00
rAthenaAPI
5cbbec78b9 Effect State Update 2019-04-09 12:06:41 +02:00
Aleos
a0bcb92b8a Added caps to item bonus rates (#4081)
* Fixes #4069.
* Added caps to item bonus rates so that they don't exceed the -10000~10000 range.
* Added warning messages when initial rate exceeds range.
* Added a missing vector size check for HP/SP Vanish bonus.
Thanks to @Litro and @Lemongrass3110!
2019-04-08 10:11:56 -04:00
rAthenaAPI
e2b4e0d588 SQL synchronization 2019-04-07 19:07:57 +02:00
Aleos
4a6a545a63 Added Hanbok Bag item script (#4084)
* Fixes #4054.
* Added the item script to Hanbok Bag.
Thanks to @JohnnyPlayy!
2019-04-07 13:07:25 -04:00
rAthenaAPI
edfbf3f5a6 SQL synchronization 2019-04-07 18:16:46 +02:00
Aleos
7c0d9bf300 Corrected Gunslinger shops (#4086)
* Fixes #4076.
* Updated renewal Gunslinger shops to the new bullets.
* Adjusted name of older bullets. Now called Surplus.
Thanks to @mazvi!
2019-04-07 12:16:19 -04:00
rAthenaAPI
de421d8f16 SQL synchronization 2019-04-07 16:26:49 +02:00
Aleos
b6e383b8ed Corrected Sword Stick equip requirements (#4091)
* Fixes #4089.
* Sword Stick can be equipped by all Mage-based classes, not just Wizards.
Thanks to @cahya1992!
2019-04-07 10:26:40 -04:00
Lemongrass3110
ee2f49509a Fixed the upgrade script for pet evolution (#4082)
Fixes #4075

Thanks to @mazvi
2019-04-07 14:17:11 +02:00
rAthenaAPI
4ef5764d8d Effect State Update 2019-04-06 10:05:39 +02:00
rAthenaAPI
c2fbfdd4b7 Effect State Update 2019-04-06 09:18:47 +02:00
Cydh Ramdh
a8185e6294 Fixes #4066 (#4070)
* Fixed Defending Aura effect taking twice as incorrect Devotion behavior (leftover from old fixes)
2019-04-05 07:32:35 +07:00
Aleos
7c313a776a Updated Firewall cast check (#3556)
* Firewall should check at cast begin if unit max count has been reached.
* Removed redundancy with the unit max count checks by merging into a single function.
Thanks to @mrjnumber1!
2019-04-04 18:57:17 -04:00
Aleos
1504507e71 Fixed pre-renewal pet fullness values (#4074)
* Fixes #4073.
* Corrected the fullness values for pets.
Thanks to @sader1992!
2019-04-04 07:42:06 -04:00
Aleos
c977558cfd Adjusted OnTouch overlap behavior (#2382)
* Fixes #1939 and fixes #2274.
* OnTouch NPC are now able to overlap one another and properly trigger as they do on official servers.
* When entering an overlap area it should trigger both NPC.
* Walking from overlap area to either NPC should trigger neither.
* Walking from one NPC to the other (skipping the overlap area) should trigger the NPC area you enter.
* Entering an OnTouch area will no longer stop the player from walking unless a message or menu window opens (or other events that should stop the player).
* Resolves OnTouch_ overlapping issues.
* Dead players don't trigger OnTouch_ anymore.
* Hidden players don't trigger NPC clicks when OnTouch_ label is defined.
Thanks to @Tokeiburu, @Lemongrass3110, @Atemo, and @Normynator!
2019-04-03 19:25:47 -04:00
rAthenaAPI
98a685d706 Effect State Update 2019-04-03 07:05:57 +02:00
rAthenaAPI
83a0ae9480 Effect State Update 2019-04-03 05:06:00 +02:00
Atemo
66b8273221 Corrected block_action behaviour (#4071)
* Corrected block_action behaviour
* reloadscript command doesn't remove PCBLOCK_IMMUNE anymore
* Corrected a typo on MorseCave.txt

Thanks to @CairoLee and @ElinhoPP !
2019-04-02 18:48:46 +02:00
Atemo
e172c4365d Added setpcblock to some official scripts (#4067)
* Added setpcblock to official scripts to mimic some npc interaction.
* Clean-up the docs.
* Added the WORK_IN_PROGRESS message when PCBLOCK_USEITEM and PCBLOCK_SKILL are enabled.

Thanks to @aleos89 for the review!
2019-04-02 02:12:10 +02:00
userid0
8580287286 Little update in aldebaran.txt (#4055)
Add missing facing to follow the others warps definition.
2019-04-01 23:51:43 +02:00
Atemo
7dde174c83 setpcblock script command (#4052)
* Added setpcblock and getpcblock script commands.
'setpcblock' command prevents/allows the player from doing the given type of action.
'getpcblock' command return the bit-mask value of the currently enabled block flags.

The available type are:
	PCBLOCK_MOVE
	PCBLOCK_ATTACK
	PCBLOCK_SKILL
	PCBLOCK_USEITEM
	PCBLOCK_CHAT
	PCBLOCK_IMMUNE
	PCBLOCK_SITSTAND
	PCBLOCK_COMMANDS
	PCBLOCK_NPCCLICK
	PCBLOCK_EMOTION
	PCBLOCK_ALL

Thanks to @sigtus, @secretdataz, @Lemongrass3110 and @aleos89 for the help and reviews !
Credit to https://github.com/HerculesWS/Hercules/pull/842 for the idea.
2019-03-31 18:28:55 +02:00
rAthenaAPI
cad9678aa6 SQL synchronization 2019-03-31 11:20:10 +02:00
Cydh Ramdh
eb88f0ce4f Fixes #4034 (#4036)
* Move HP/SP Vanish bonuses to vector
* Corrected the BF flags usage
* Immaterial Swords, Mental Destroyer, and Dark Priest trigger SPVanish by any attack types

Co-Authored-By: cydh <cydh@users.noreply.github.com>
2019-03-31 16:19:57 +07:00
Aleos
159691398a Capped rate value for status_get_sc_def (#4050)
* Fixes #4046.
* Cap the rate value between 0~10000.
Thanks to @Litro and @Lemongrass3110!
2019-03-29 09:07:41 -04:00
Sader Fawall
c2abd6d1fe Implementing atcommand_disable_npc config (#4043) 2019-03-29 08:32:07 +01:00
Sader Fawall
ed37a53360 Add some missing Warning (#4044) 2019-03-29 08:09:25 +01:00
rAthenaAPI
1e64346241 SQL synchronization 2019-03-29 01:31:15 +01:00
Atemo
b245e0f693 Added some missing monsters' drops of monsters around rockridge (stats from playing). (#4060)
Fixed #3795 

3736 : Buffalo Bandit Sharpshooter
Drop:
    25279  ~  25.00%     Crude Ammo
    7054   ~  10.00%     Brigan
    18145  ~   0.50%     Vigilante Bow

3737 : Buffalo Bandit Duelist
Drop:
    25278  ~  25.00%     Bandit's Scarf
    7054   ~  10.00%     Brigan
    580    ~   5.00%     Bread
    28721  ~   0.50%     Monokage
    13332  ~   0.50%     Huuma Shuriken of Dancing Petals

3738 : Bowie Buffalo Bandit
Drop:
    25283  ~  25.00%     Brown Muffler
    7054   ~  10.00%     Brigan
    538    ~   2.00%     Well-baked Cookie
    28608  ~   0.50%     Elemental Origin

3739 : Coyote
Drop:
    25276  ~  25.00%     Clean Bone
    7564   ~  15.00%     Rotten Meat
    702    ~   5.00%     Animal Gore
    2531   ~   0.50%     Ulfhedinn

3740 : Gaster
Drop:
    25277  ~  25.00%     Deadly Poison Powder
    7001   ~  15.00%     Mould Powder
    6214   ~   3.00%     Smoke Powder
    6215   ~   3.00%     Tear Gas
    6213   ~   2.50%     Explosive Powder
    605    ~   0.30%     Anodyne
    756    ~   0.10%     Rough Oridecon
    757    ~   0.10%     Rough Elunium

3747 : Elite Buffalo Bandit Sharpshooter
Drop:
    25280  ~  25.00%     Broken Shotgun
    7054   ~  20.00%     Brigan
    18145  ~   1.00%     Vigilante Bow
    1944   ~   1.00%     Hippie Guitar
    26200  ~   0.50%     Hippie Rope

3748 : Elite Buffalo Bandit Duelist
Drop:
    25282  ~  30.00%     Worn Revolver
    7054   ~  20.00%     Brigan
    13332  ~   2.50%     Huuma Shuriken of Dancing Petals
    28721  ~   1.00%     Monokage

3749 : Bowie Elite Buffalo Bandit
Drop:
    25281  ~  30.00%     Crude Scimitar
    7054   ~  20.00%     Brigan
    28608  ~   1.50%     Elemental Origin
    11706  ~   0.30%     Steak
    11707  ~   0.30%     Roast Beef
    28116  ~   0.10%     Mine Worker's Pickaxe

3787 : Swamp Arclouze
Drop:
    25284  ~  25.00%     Swamp Bug Shell
    938    ~  15.00%     Sticky Mucus
    943    ~   1.50%     Solid Shell
    1944   ~   0.50%     Hippie Guitar

3788 : Brown Rat
Drop:
    25285  ~  30.00%     Brown Rat Tail
    517    ~   5.00%     Meat
    528    ~   1.50%     Monster's Feed
    26200  ~   0.10%     Hippie Rope
2019-03-29 01:30:58 +01:00
JohnnyPlayy
a334b02617 NPC coordinate changes (#4059) 2019-03-28 22:24:18 +01:00
rAthenaAPI
06c8e0b490 SQL synchronization 2019-03-27 23:11:23 +01:00
Atemo
339e6c6718 eden_iro.txt update (#4051)
* Updated Merry Badger from eden_iro.txt
* Added Fallen_Angel_Wing Enchant npc
* Added Boarding_Halter_Box7 (ID 17162) item script
2019-03-27 23:10:52 +01:00
rAthenaAPI
fded1aa114 SQL synchronization 2019-03-26 16:52:08 +01:00
Jittapan Pluemsumran
ac558d7c1e Initial implementation of pet evolution system + Pet DB conversion to YAML (#3544)
* Implemented official pet evolution system
* Added evolved pets to pet database
* Corrected various pet system mechanics
* Migrated pet database to YAML format and the converter from CSV format

Thanks to @Lemongrass3110 @aleos89 and @Atemo for their suggestions and additional fixes
2019-03-26 22:51:57 +07:00
Atemo
e4b41ef7e0 Revert "Added pcblock and checkpcblock script commands. (#3951)" (#4048)
This reverts commit 3e0d3d2fe6.
2019-03-26 16:41:14 +01:00
Atemo
3e0d3d2fe6 Added pcblock and checkpcblock script commands. (#3951)
* Added getpcblock and setpcblock script commands.
* Added the docs
* Added the message 'This action is currently blocked.' when the player attempts to perform the following blocked actions
* PCBLOCK_USEITEM
* PCBLOCK_SITSTAND
* PCBLOCK_NPCCLICK
* The actions blocked are saved in state.block_action
* Click to the npc returns the WORK_IN_PROGRESS message when PCBLOCK_NPCCLICK is enabled
* Blocked action and reload script.
The player will return to his/her original state after reload script.

Thanks to @aleos89, @Lemongrass3110, @secretdataz
2019-03-26 22:18:59 +07:00
Atemo
7cc8c96467 Clean-up doc script commands (#4038)
* This commit changed the `@var` to `.@var` in the doc as it would promote bad scripting behavior.
2019-03-26 16:09:57 +01:00
rAthenaAPI
0c5f917d79 SQL synchronization 2019-03-26 16:06:29 +01:00
Atemo
0cfc3216d6 Updated item script of Test_Reagent (ID 22699) (#4039)
* Flee+100 during 5s
* Blind during 5s (100% chance, avoidable)
* Fixed #4039
2019-03-26 16:06:14 +01:00
Aleos
9f4a569ecc Implemented Magma Eruption Dot Damage (#3929)
* Fixes #3898.
* Implemented Magma Eruption Dot Damage which is the second attack for Magma Eruption.
Thanks to @exneval and @Balferian!
2019-03-25 10:29:21 -04:00
Aleos
972a14e4ed Corrected Rebellion cast times (#3928)
* Fixes #3858.
* Corrected cast times and duration for several Rebellion skills.
Thanks to @siriousb!
2019-03-23 17:38:13 -04:00
Aleos
9500c06dab Corrected unit calculation with setunitdata (#3978)
* Fixes #3953.
* Resolved an issue with monster's class not being properly recalculated when using script command setunitdata. For now, just allow switching between CLASS_NORMAL and CLASS_BOSS.
* Fixed HP and MaxHP adjustment for monster, homunculus, mercenary, elemental, and NPC.
* Fixed MaxSP adjustment for homunculus and elemental.
* Fixed Size adjustment for monster, homunculus, mercenary, and elemental.
* Fixed Race adjustment for monster, homunculus, mercenary, and elemental.
* Fixed the Map ID string check to support all unit types.
Thanks to @teededung and @SeravySensei!
2019-03-23 16:15:28 -04:00
rAthenaAPI
73758ef264 SQL synchronization 2019-03-23 20:03:21 +01:00
Aleos
ed83999de4 Corrected Vellum and Vanish item bonuses (#4030)
* Fixes #4016.
* Cleaned up the way Vellum damage and Vanish damage are calculated.
* Implemented bonus3 bSPVanishRate/bHPVanishRate.
* Updated Mental Destroyer item bonus.
* Cleaned up and added documentation.
Thanks to @Balferian!
2019-03-23 15:02:49 -04:00
Tuan Anh Nguyen
42810ad44a Update Geffen Magic Tournament Quest DB & Clean up (#4028)
* Corrected Geffen Magic Tournament Quest name DB
* Fix last match reward
2019-03-22 14:30:25 +01:00
Cydh Ramdh
bce4e0b660 Fixes #4026 (#4027)
* Fixed flag's overwritten for bonus3 bSubEle and bonus3 bAddEle
2019-03-22 07:09:14 +07:00
rAthenaAPI
29f38374f6 SQL synchronization 2019-03-21 20:08:52 +01:00
Tuan Anh Nguyen
b85af054c4 Fix Rock Ridge enchantment stones (#4029)
* Added missing item ID 29026 - Def20
* Corrected item bonus for 4893 - Def15
2019-03-21 20:08:25 +01:00
keitenai
b1e1dbfb31 Fix wrong next function call (#4021)
* Fixed a next script error for Guard Leader in the Buwaya Quests.
Thanks to @keitenai!
2019-03-21 08:55:43 -04:00
Aleos
d1b35db768 Corrected Summoner's base ASPD (#4008)
* Fixes #3716.
* Corrected Summoner's base ASPD rates.
* Removed rates for Dagger, Book, and 2H Staff.
Thanks to @Balferian!
2019-03-19 18:25:40 -04:00
Balfear
f0f94f0c1e Wrong NPC coordinate (#4023)
* Changed the coordinate of the last Piano Key Quest NPC.
Thanks to @Balferian!
2019-03-19 12:20:47 -04:00
rAthenaAPI
e6f1f21ddc Mob and NPC Identity Update 2019-03-19 04:00:47 +01:00
JohnnyPlayy
1bbde6248d Adding NPC Lighthalzen (#4020)
* Adding NPC, Cool Event Corp Staff Lighthalzen
2019-03-18 23:41:46 +01:00
Sean Allen
bf27041e7b Fixed LGTM formatting alert (#3987) 2019-03-18 00:02:25 +01:00
Lemongrass3110
232b3885b5 Fixed csv2yaml for guild skill tree (#4018)
It now properly uses skill names instead of the skill id.

Fixes #4017
2019-03-17 21:54:09 +01:00
JohnnyPlayy
264932c300 Update guides_comodo.txt (#4010)
* Fixed incorrect Roaming Bard Position
2019-03-16 19:06:46 +01:00
Atemo
cc11869a93 Corrected KVM Logistic Officer item ID (#4014)
* The npc traded the wrong item to point
2019-03-15 15:28:28 +01:00
Atemo
e74e1e1191 Corrected several npc name in quests_ein.txt (#4013)
Fixed #4012
Thanks to @Indigo000 !
2019-03-14 15:17:11 +01:00
SnakeDrak
46d04269fd Add SnakeDrak as author (#4011) 2019-03-12 22:18:25 +01:00
Daegaladh
cbe0d6b271 Splitted guild_skill_tree.txt into re and pre-re (#3841)
Converted Guild Skill Tree database to YAML

Please run csv2yaml to convert your existing databases if necessary.

Thanks to @aleos89, @Atemo and @Lemongrass3110
2019-03-11 19:57:52 +01:00
Aleos
54ac2ae132 Fixed an issue with AG_BATTLE and AG_TAMING (#4006)
* Added a missing assignment for achievement monster targets.
Thanks to @teededung and @Lemongrass3110!
2019-03-09 14:17:11 -05:00
sigtus
ed0e068c73 Updated tr0n's Quest Board (#3897)
Thanks to @aleos89 !
2019-03-06 21:29:33 +01:00
rAthenaAPI
bb2e5e95eb SQL synchronization 2019-03-06 20:10:15 +01:00
BrOgBr
bc99c24a82 Fixed missing item script of Castle_Treasure_Box (12399) (#4002)
Fixed #3984
Thanks @SeravySensei
2019-03-06 20:09:58 +01:00
Jittapan Pluemsumran
f5e8af0d9c Fixed possible null pointer dereference in Taekwon Mission skill logic. Fixes #3996
Thanks to @cydh
2019-03-05 15:00:04 +07:00
Lemongrass3110
a4bbb932de Added missing gitignores for csv2yaml 2019-03-03 23:15:36 +01:00
rAthenaAPI
36d47c70e4 SQL synchronization 2019-03-01 14:35:45 +01:00
zackdreaver
6d9b9d7631 Fixed item scripts (#3980)
* Fix Grand_Cross and Grand_Cross_ script to follow kRO

Signed-off-by: zackdreaver <zackdreaver@gmail.com>

* Changed 23038 contained itemID to 11573

Signed-off-by: zackdreaver <zackdreaver@gmail.com>

* Changed 23043 contained itemID to 23042, also added item script for 23042 (Note: missing item cooldown)

Signed-off-by: zackdreaver <zackdreaver@gmail.com>

* follow up 2059179c4c

Signed-off-by: zackdreaver <zackdreaver@gmail.com>

* Added item trade restriction for 23042

Signed-off-by: zackdreaver <zackdreaver@gmail.com>
2019-03-01 20:35:35 +07:00
zackdreaver
658d4207a4 Fix item and NPC names (#3979)
* Fix item and NPC names
2019-03-01 14:21:09 +01:00
rAthenaAPI
685a40eaff SQL synchronization 2019-03-01 03:16:12 +01:00
asdfghjkl
2f6a2c0207 Fixed renewal item database bugs. (#3989) 2019-03-01 09:15:58 +07:00
Lemongrass3110
56349cb5c4 Enabled a few achievement targets (#3981)
* Enabled monster targets as they have recently been added.
Thanks to @Lemongrass3110!
2019-02-28 19:24:03 -05:00
Lemongrass3110
c2899d754f Added the skeleton for the yaml converter (#3991)
Updated travis to build tools as well.

Thanks to @aleos89 for this help.
2019-03-01 00:41:20 +01:00
Aleos
78eed02273 Updated the YAML parsing method (#3694)
Synchronized the process of loading and parsing YAML databases.
Provides more robust parse warnings/errors.
Added Header checks to validate database versions.
Adjusted root keys to a standard name of Body.
Adjusted inter-server storages, achievements, and attendance to follow the new format.

Fixes #3483

Thanks to @Lemongrass3110!
2019-02-28 22:19:39 +01:00
BrOgBr
757a459320 Fixed a duplicate path status (#3975)
* Fixed a duplicate path status
Thanks to @zhqfdn
2019-02-24 16:01:47 +01:00
Mark Hester
ec6c36983c Better itemdb_read_flag error message (#3971)
* Removed a redundant message.
Thanks to @marky291!
2019-02-22 13:43:21 -05:00
Aleos
724bd3bfde Adjusted death event for Emperium Battleground (#3967)
* Fixes #3956.
* Adjusted the death event so players don't have to wait for the 1 second respawn timer before being revived.
Thanks to @AnnieRuru!
2019-02-22 09:20:02 -05:00
rAthenaAPI
0d65b0905d SQL synchronization 2019-02-22 15:11:53 +01:00
Daegaladh
4bf57de211 Fixed Eddga's HP (#3970) 2019-02-22 15:11:42 +01:00
Mark Hester
a5c93b60a6 Definitions for DB Pathing (#3964)
* Added the use of DBPATH/DBIMPORT definition for guild EXP, job information, level penalties, and map cache to remove hardcoded values.
Thanks to @marky291!
2019-02-22 09:02:08 -05:00
Aleos
7e64920191 Corrected RODEX message size (#3966)
* Fixes #3959.
* Increased the size of the mail message to 500 characters on the main SQL file.
Thanks to @Indigo000!
2019-02-21 17:01:36 -05:00
keitenai
bfb6b831f8 Minor clean up in clif_displaymessage function (#3957)
* Clean up `clif_displaymessage` function
2019-02-21 17:25:58 +01:00
Atemo
42920b2794 Uncommented progressbar part in Devil tower (#3954)
* The 'close' bug has been fixed in fc92a97978
2019-02-19 20:20:08 +01:00
Aleos
915c84f10f Fixed Taekwon Running fixed cast time (#3952)
* Fixes #3943.
* Fixed an issue with the level separator.
Thanks to @Epoque1!
2019-02-18 16:19:29 -05:00
Lemongrass3110
913cf8751f Added correct allocation info to strlib (#3946)
This way you can really see where your memory leaks from StringBuf, SQL Queries or other functions that use this really come from.
2019-02-18 20:10:03 +01:00
Lemongrass3110
fc92a97978 Fixed an issue with progressbars (#3945)
Additionally if progress was being canceled and a message window was active, the user would be stuck, because no close button would show.

Fixes #3944

Thanks to @teededung, @cahya1992 and @Atemo
2019-02-18 19:31:05 +01:00
rAthenaAPI
51d5d9f5ca SQL synchronization 2019-02-18 16:17:29 +01:00
Atemo
214573ed5a Corrected item DB of Wurst (ID 585) (#3950)
Thanks to @JohnnyPlayy
2019-02-18 16:17:15 +01:00
Aleos
377722116f Corrected loyal pet bonuses (#3942)
* Fixes #3937.
* Added missing RC_Player bonuses.
Thanks to @Indigo000!
2019-02-17 10:34:04 -05:00
rAthenaAPI
b10a69d41f SQL synchronization 2019-02-17 15:54:29 +01:00
valhein
6a522e7205 Fix some item script (#3940)
* Corrected Blue Bow's location.
* Corrected Ukulele_Of_Newoz, Floral_Mic_Of_Igu and Ukulele_Of_Newoz + Winged_Ring_Of_Newoz combo that should increase the SP usage of skills (instead of decrease).
2019-02-17 15:54:20 +01:00
Aleos
47866f6065 Cleaned up cmake output (#3941)
* Follow up to d649ede.
* Renamed svnversion.h to version.hpp.
2019-02-15 23:10:17 -05:00
Lemongrass3110
c80b8acf75 Added Epoque
Thanks to @Epoque1
2019-02-14 23:31:53 +01:00
rAthenaAPI
063892f20a Effect State Update 2019-02-14 11:05:43 +01:00
rAthenaAPI
06d68f4edb Effect State Update 2019-02-14 10:09:57 +01:00
rAthenaAPI
90d5b47025 Effect State Update 2019-02-13 05:05:58 +01:00
rAthenaAPI
df01a921ba Effect State Update 2019-02-13 04:05:57 +01:00
Aleos
5d69a4fee8 Fixed Camouflage (#3933)
* Fixes #3788.
* Fixes the Provoke icon getting removed when clif_changeoption is called and it's not an infinite duration.
Thanks to @Everade!
2019-02-12 10:53:10 -05:00
Aleos
d649ede46b Corrected script commands containing arrays (#3932)
* Corrects a potential map-server crash with script commands min, max, getpartymember, getguildmember, getunits, getmapunits, getareaunits, getunitdata, and channel_setgroup when a character variable is used when no character is attached to the script.
Thanks to @Tokeiburu and @Atemo!
2019-02-11 12:23:04 -05:00
Aleos
c5a5c54518 Converted remaining C comments (#3927)
* Converted remaining documentation that references .c or .h files.
2019-02-09 15:08:45 -05:00
Daegaladh
35611e78e1 Fixed Ice Wall units to match their official behavior (#3935) 2019-02-09 13:51:20 +01:00
zackdreaver
fc7e46e890 Adjusted some NPC names (#3896)
* follow up https://github.com/rathena/rathena/pull/3224

Signed-off-by: zackdreaver <zackdreaver@gmail.com>

* Changed "Cougar" to "Kuuga" in Ninja and KagerouOboro job change NPC

Signed-off-by: zackdreaver <zackdreaver@gmail.com>

* Changed "Gaebolg" to "Geoborg" in some NPC dialogues

Signed-off-by: zackdreaver <zackdreaver@gmail.com>

* changed "Kuuga" to "Kuuga Gai", thanks to @ Daegaladh

Signed-off-by: zackdreaver <zackdreaver@gmail.com>

* changed "Guide Gion" to "Leader Gion"

Signed-off-by: zackdreaver <zackdreaver@gmail.com>

* changed "Wildcat Joe" to "Red Leopard Joe"

Signed-off-by: zackdreaver <zackdreaver@gmail.com>

* changed "family" to "Clan"

Signed-off-by: zackdreaver <zackdreaver@gmail.com>

* revert 705ecc5069

Signed-off-by: zackdreaver <zackdreaver@gmail.com>

* adjusted capital letter

Signed-off-by: zackdreaver <zackdreaver@gmail.com>
2019-02-07 18:01:29 +01:00
Atemo
747781fb89 Fixed bg_get_data script command (#3921)
* In some cases the command didn't return the members ID for 'type 1'
2019-02-07 16:26:06 +01:00
Aleos
5908c0484f Corrected script command getmapxy (#3922)
* Fixed an issue with floating NPC being on an 'invalid' map and attempting to store the map name.
Thanks to @Atemo!
2019-02-06 12:34:13 -05:00
Atemo
ad2eabb906 Corrected the targets ID of some rockridge quest (issue #3794) (#3923)
Fixed issue #3794
2019-02-06 18:15:59 +01:00
rAthenaAPI
519bb52ae3 SQL synchronization 2019-02-06 15:43:54 +01:00
Aleos
ff04b3f919 Fixed Old Card Album and High Weapon Box scripts (#3844)
* Fixes #2806.
* Added Old Card Album script to give a random card and give a High Weapon Box.
* Added missing item bonus (Level Up Box) for High Weapon Box.
Thanks to @Everade!
2019-02-06 09:43:41 -05:00
Atemo
92de3065e2 gvg warning (#3919)
* pvpon, pvpoff, gvgon, gvgoff, gvgon3, gvgoff3 now display a message when the map doesn't exist
* The command don't return SCRIPT_CMD_FAILURE anymore when the mapflag is already in the state
2019-02-06 15:27:04 +01:00
aleos
42b71e6f6e Follow up to 1f97bea
* The skill ID check should only take place on parsing bonus2, bonus3, bonus4, or bonus5.
2019-02-05 22:16:28 -05:00
Aleos
360cc25cc9 Corrected some card combos (#3903)
* Fixes #3492.
* Resolved some item combo cards that transformed the wearer causing the stats to come awry.
* Cleaned up some documentation.
Thanks to @BrOgBr, @raelemagy, @mrjnumber1, and @Everade!
2019-02-05 16:39:06 -08:00
Aleos
2ae2f25f4b Fixed accessory equipping with cards (#3913)
* Fixes #3908.
* Accessories that have cards which require specific left/right locations must take priority.
* Sped up position checking.
Thanks to @Badarosk0 and @Lemongrass3110!
2019-02-05 19:08:04 -05:00
Aleos
1f97beae27 Cleaned up script command argument parsing (#3910)
* Cleaned up the way script commands parse arguments.
* script_isstring and script_isint will now properly check variable references.
* This allows script command arguments to contain variables without having to make source side adjustments.
* Reverted several script commands that reference the data directly.
Thanks to @Lemongrass3110!
2019-02-05 18:50:54 -05:00
rAthenaAPI
0fcc6c0028 SQL synchronization 2019-02-05 18:24:09 +01:00
Aleos
f235d89e76 Added item bonus bNoWalkDelay (#3906)
* Fixes #131 and fixes #2699.
* Added item bonus bNoWalkDelay to replace infinite SC_ENDURE bonus in items.
* Added a warning if INFINITE_TICK is detected in the item combo bonus.
* Included some minor cleanups and additions.
Thanks to @exneval, @c0nflicts, and @esu1214!
2019-02-05 12:23:36 -05:00
Lemongrass3110
8e325e4116 Fixed some more server crashes
Thanks to @functor-x
2019-02-05 00:06:09 +01:00
Atemo
b032aae30a Added the battle_config limits (from pc_changelook) to changelook script command (#3899) 2019-02-04 23:30:35 +01:00
Lemongrass3110
25aaeec135 Fixed a possible script exploit (#3920)
Thanks to @functor-x
2019-02-04 18:31:07 +01:00
Lemongrass3110
dd08423484 Fixed a possible pet server crash (#3912)
Thanks to @functor-x
2019-02-03 23:54:20 +01:00
Lemongrass3110
2c47569ffb Fixed a possible mail send server crash (#3914)
Thanks to @functor-x
2019-02-03 23:32:57 +01:00
rAthenaAPI
91e3cf73fb SQL synchronization 2019-02-02 19:32:36 +01:00
BrOgBr
727078a6f4 Items Update (#3892)
* Fixed some locations and scripts.
* Added new item.
* Added and corrected some combos.

Thanks @LemonGrass3110, @Atemo
2019-02-02 19:32:08 +01:00
Aleos
26720f041a Updated script command getmapxy parameters (#3890)
* Fixes #3100.
* Script command getmapxy will now allow integer values for the search value.
* Deprecated UNITTYPE constants as they were replaced by BL.
* Defaulted BL_PC as the target for script command getmapxpy.
* Updated script command getunittype return value to return BL constants.
* Updated scripts to new BL constants.
Thanks to @pajodex's suggestion and @Lemongrass3110!
2019-01-30 17:10:33 -05:00
norm
de8c707f07 Changed skip into error (#3698)
Problem:
if common fails target map/char/login will be disabled.

Solution:
if common fails stop cmake execution and throw an error, this will avoid building only mapcache and common_base.
2019-01-30 00:05:32 +01:00
rAthenaAPI
d75fab086b SQL synchronization 2019-01-29 23:50:36 +01:00
Aleos
fe12d6f016 Corrected Sling Item bonuses (#3845)
* Fixes #3810.
* Partial revert of eae1161.
* Removed the item database bonuses from Throwing Increase HP/SP Potions and moved them back to source as these items require the caster's Base Level.
* Concentrated White Potion Z should only increase HP regeneration rate (not the interval).
* Vitata 500 should increase SP regeneration rate (not the interval).
Thanks to @Everade!
2019-01-29 17:50:13 -05:00
Aleos
298cfefd2d Corrected status attack's element (#3873)
* Fixes #3861.
* Status attacks should always be forced to neutral.
Thanks to @Tokeiburu!
2019-01-29 17:19:16 -05:00
Lemongrass3110
19eef173c1 Disconnect player on map-server switch failure (#3895)
Fixes #3894

Thanks to @LunarSHINING
2019-01-29 16:08:40 +01:00
Aleos
626c2b7ff1 Updated Quagmire status removal list (#3802)
* Quagmire will now remove Crazy Uproar.
Thanks to @mrjnumber1!
2019-01-29 09:38:23 -05:00
rAthenaAPI
4be39b3f19 SQL synchronization 2019-01-29 14:59:16 +01:00
Aleos
9d272f8fe1 Corrected Sarah's Battle Robe bonus (#3826)
* Fixes #3817.
* Should give a 0.3% chance of increasing MATK by the equip's refine * 8 for 10 seconds when using magic attacks.
Thanks to @Everade and @Atemo!
2019-01-29 08:59:01 -05:00
rAthenaAPI
21c6325182 SQL synchronization 2019-01-29 04:01:07 +01:00
rAthenaAPI
80375c55f8 Mob and NPC Identity Update 2019-01-29 04:00:46 +01:00
Atemo
54b2cf3215 Update re/item_trade.txt based on itemmoveinfov5 (#3738)
Thanks to @Lemongrass3110 and @cydh !
2019-01-25 19:27:24 +01:00
sigtus
ad960e47b5 Fixed Hunting Missions (#3832)
Fixed getmapxy getting the first player map and coordinates in every instance
Optimization of shop by using inarray script command
Changed some values to constants
2019-01-25 18:52:25 +01:00
rAthenaAPI
caac76b037 SQL synchronization 2019-01-25 18:00:28 +01:00
BrOgBr
9cd9cab231 Item db update (#3803)
* Fixed some locations.
* Added new costumes.
* Improved some item scripts.

Thanks @Atemo and @Lemongrass3110 !
2019-01-25 17:59:59 +01:00
Atemo
43b3bc08be Fixed variable typo in agit_main_se.txt (#3889)
* Guardians were randomly spawn on the map
2019-01-25 17:42:00 +01:00
Lemongrass3110
db3267a868 Fixed a crash from MVP Ladder Warper (#3888)
Fixed a bug where 3 scripts would be running at the same time on the same character.

Fixes #3881

Thanks to @bgamez23
2019-01-24 20:10:53 +01:00
Aleos
6c86492764 Corrected a few potential crash points (#3874)
* Fixes #3872.
* Added a couple more map data validity checks on block list counting functions.
* QD Shot should no longer remove the read status.
* Dragon Trail should no longer end the Crimson Marker status.
* Some other minor optimizations/cleanups.
* Fixed a va_arg corruption
Thanks to @attackjom, @Lemongrass3110, and @teededung!
2019-01-23 20:27:41 -05:00
Daegaladh
a9f868f85f Fixed CDP not failing when haven't met the requirements (#3887) 2019-01-23 18:45:44 +01:00
Aleos
b1865b31fe Corrected skills that give bonuses while sitting (#3876)
* Fixes #3611.
* Corrected Gangster's Paradise not releasing the monster invulnerability state when standing up around multiple Rogue's that know Gangster's Paradise.
* Same fix goes for Taekwon's Peaceful Break and Happy Break.
* Cleaned up some various parts of these functions as well.
Thanks to @Indigo000!
2019-01-23 12:42:23 -05:00
rAthenaAPI
6e34f35ff4 SQL synchronization 2019-01-23 05:01:31 +01:00
rAthenaAPI
06aecbc90f Mob and NPC Identity Update 2019-01-23 05:00:58 +01:00
Lemongrass3110
a5fc39e0e3 Fixed a few more leftovers from 64bit tick (#3885)
Fixes #3864

Thanks to @darhylism, @nubspixel, @Daegaladh and @aleos89!
2019-01-22 23:14:50 +00:00
zackdreaver
b1b9720f2a Update NPC locations according client's navi file (#3859)
* Added renewal guide to Prontera and Lighthalzen.
* Updated file headers.
Thanks to @zackdreaver!
2019-01-22 13:51:02 -05:00
Atemo
53498865b0 OnTouch Royal messenger NPC (#3877)
Fixes #3860
* Updated OnTouch condition for Royal messenger NPC
* Added trigger area for Royal Messenger duplicates

Thanks to @zackdreaver!
2019-01-21 23:06:24 +01:00
Daegaladh
6c1d1a84d2 Fixed points command using negative numbers (#3867) 2019-01-20 22:42:44 +01:00
Atemo
79dffbd789 noicewall mapflag (#3878)
* Removed the mapflag from several instance maps. Icewall skill is already restricted with mapflag 'restricted' zone 6 which display the proper message "This skill cannot be used within this area".
2019-01-19 15:50:34 +01:00
Daegaladh
c96671fc2f Fixed wrong exp values on 13.1 and 13.2 quests and other minor fixes (#3847) 2019-01-18 16:04:42 +01:00
Lemongrass3110
e415e64264 Added MS support for the function macro (#3857)
Fixes #3855
2019-01-17 19:55:28 +01:00
Kezzo
de70e498dc Add missing unit type documentation (#3870)
Added missing unit type documentation
* Fixes #3869.
* Added missing unit type documentation to all battle config files.
Thanks to @Kezzo!
2019-01-17 10:10:31 -05:00
Aleos
6bea2da34d Corrected Card/Enchant Combos (#3856)
* Fixes #3644.
* Corrected the loop that counts card/enchant combos at login being limited to the number of slots on the main item instead of MAX_SLOTS.
Thanks to @Badarosk0!
2019-01-13 19:29:18 -05:00
rAthenaAPI
db9666e795 SQL synchronization 2019-01-13 23:14:59 +01:00
Aleos
f3bb7e4b44 Added new Rebellion Shops (#3853)
* Fixes #3809.
* Added new shops for Rebellions.
* Updated prices and Aegis names for a few weapons.
Thanks to @Everade and @Lemongrass3110!
2019-01-13 17:14:26 -05:00
Lemongrass3110
4706115d5b Refactored achievement conditions (#3831)
They now use the normal script engine and not a duplicated portion of code of it.
This is required for another pending update.

This also fixes atcommands not triggering status achievements.

Thanks to @aleos89 and @RadianFord
2019-01-13 17:26:25 +01:00
Aleos
444d7394c2 Adjusted reload item database (#3849)
* Reloading the item database will now properly force a recalc on all players.
* If new item combos were added to the database and players were wearing the item combo the players would never get the bonus until unequipping and reequipping.
Thanks to @Lemongrass3110!
2019-01-11 10:38:40 -05:00
Aleos
7282dd8735 Fixed Reflect Damage not reflecting damage (#3848)
* Fixes #3801.
* Fixed a timer type issue causing Reflect Damage to no properly distribute damage.
* Corrected some final tick leftovers that may cause issues with other skills.
Thanks to @Angelic234 and @rAthenaCN!
2019-01-11 10:15:12 -05:00
rAthenaAPI
13d814e7a8 SQL synchronization 2019-01-11 01:14:22 +01:00
Daegaladh
d5ca1c735a Fixed pre-re Barricade HP value (#3850) 2019-01-11 01:13:59 +01:00
Aleos
5959365263 Corrected item bonus FixedCastRate (#3808)
* Fixes #3804.
* Corrected FixedCastRate attempting to save into VariableCastRate bonus array.
Thanks to @laziem!
2019-01-10 16:40:43 -05:00
Lemongrass3110
7eed88c90f Fixed a server crash
Fixes #3665

Thanks to @laziem, @nubspixel, @teededung and @Badarosk0
2019-01-10 00:13:05 +01:00
Lemongrass3110
8ae788b643 Allow increasing connection limit on linux (#3799)
With this you can now support more connections on linux, even if your system header is still set to a smaller value.

Make sure to increase the limit of open file handles with ulimit or other resource related settings.
You can change the compile time value of supported connections with ./configure --with-maxconn=value

Windows default is still 4096.
2019-01-09 23:15:33 +01:00
Daegaladh
4ec0c0109f Fixed Full Blast delay on attack and using items (#3838) 2019-01-07 23:22:51 +01:00
Daegaladh
93a7a20f68 Fixed @alootid spanish usage message (#3839) 2019-01-06 23:31:15 +01:00
rAthenaAPI
712678d42d SQL synchronization 2019-01-06 03:44:57 +01:00
Aleos
ec305337dc Corrected Owl Viscount Silk Hat script error (#3823)
* Fixes #3814.
* Owl Viscount Silk Hat's special effect was missing a semi colon.
Thanks to @Everade!
2019-01-05 21:44:40 -05:00
rAthenaAPI
20494d1d5c SQL synchronization 2019-01-06 03:13:04 +01:00
Aleos
8839fe9528 Corrected Shadow Staff script error (#3822)
* Fixes #3813.
* Shadow Staff's special effect script was missing a semi colon.
Thanks to @Everade!
2019-01-05 21:12:51 -05:00
rAthenaAPI
4e7e04a864 SQL synchronization 2019-01-06 00:45:37 +01:00
Lemongrass3110
39906dac21 Fixed duration for items 12274 and 12275 (#3791)
Fixes #3790
2019-01-06 00:45:19 +01:00
Daniel Bernard
02c69f640b Change Magic Gear Master NPC name to Mado Gear Armourer for Renter Merchants (#3224)
* Fixes #3221

Thanks to @zackdreaver !
2019-01-05 21:45:19 +01:00
rAthenaAPI
b7d0c9622b SQL synchronization 2019-01-05 17:50:54 +01:00
Aleos
f49c68f726 Added missing Costume Flying Galapago (#3830)
* Fixes #3821.
* Added missing item: Costume Flying Galapago.
Thanks to @Everade!
2019-01-05 11:50:43 -05:00
Lemongrass3110
8ed8fd1a9d Added Clothing Effect Removal Service (#3793)
Fixes #3789

Thanks to @Everade and @Balferian
2019-01-05 14:35:27 +01:00
rAthenaAPI
4345daca5e SQL synchronization 2019-01-05 04:02:45 +01:00
Aleos
1a9c34503e Corrected Shell of Resistance equip restriction (#3829)
* Fixes #3820.
* Should be equippable by all classes.
* Added missing VIP bonus.
* Simplified elemental resistance bonus.
Thanks to @Everade and @Atemo!
2019-01-04 22:02:13 -05:00
rAthenaAPI
ce76da2e28 SQL synchronization 2019-01-05 03:11:06 +01:00
Aleos
24c121b742 Corrected Palace Guard Cap bonus (#3824)
* Fixes #3815.
* Should give Neutral resistance +5% and +1% per refine above 5.
* Added missing ranged resistance +5% and +1% per refine above 5.
Thanks to @Everade and @Atemo!
2019-01-04 21:10:32 -05:00
rAthenaAPI
c37a73e580 SQL synchronization 2019-01-04 23:33:50 +01:00
Aleos
394b16b868 Fixed Costume Pocketwatch Hair Ornament location (#3828)
* Fixes #3819.
* Costume Pocketwatch Hair Ornament's location should be middle.
Thanks to @Everade!
2019-01-04 17:33:22 -05:00
rAthenaAPI
08691436bc SQL synchronization 2019-01-04 22:45:35 +01:00
Aleos
6c6baff1af Corrected Cat Ear Beret bonus (#3827)
* Fixes #3818.
* Added missing damage increase/reduction to/from player race by 2% per refine above 4 with a max increase of 12%.
Thanks to @Everade!
2019-01-04 16:45:00 -05:00
rAthenaAPI
cab2887aa2 SQL synchronization 2019-01-04 22:22:03 +01:00
Aleos
1d0a22382a Corrected Faceworm Larva Card bonus (#3825)
* Fixes #3816.
* Should increase Water property magic damage by 3% per refine rate.
Thanks to @Everade!
2019-01-04 16:21:34 -05:00
rAthenaAPI
83a1080102 SQL synchronization 2019-01-04 21:03:17 +01:00
Aleos
246dd2aab6 Corrected Honor Token weight (#3812)
* Fixes #3811.
* Honor Token should have no weight.
Thanks to @Everade!
2019-01-04 15:02:45 -05:00
Lemongrass3110
46138645f6 Follow up to 01f61cf
Found some leftovers that were still using the wrong tick type and therefore screwing up the variable argument addresses.

Fixes #3807

Thanks to @zeffen
2019-01-02 15:17:17 +01:00
rAthenaAPI
65fc40f9f7 SQL synchronization 2019-01-02 04:01:12 +01:00
rAthenaAPI
01516a326c Mob and NPC Identity Update 2019-01-02 04:00:50 +01:00
Lemongrass3110
f5f377a7c9 Follow up to 818ff10
Thanks to @Encon21
2018-12-27 01:16:03 +01:00
Lemongrass3110
eb2e40c370 Added epoll support on linux (#3798)
Added epoll event dispatching support on linux systems.
You can enable it by adding the configure option --enable-epoll

Credits to Hercules.
2018-12-26 23:58:04 +01:00
rAthenaAPI
24dad2ee57 SQL synchronization 2018-12-26 06:01:11 +01:00
rAthenaAPI
a5200e6c49 Mob and NPC Identity Update 2018-12-26 06:00:51 +01:00
Lemongrass3110
818ff109f3 Initial Release of Equipment Switch (#3548)
Thanks to everyone who contributed to this release in any way, be it donations, information or testing.

Merry Christmas :-)
2018-12-24 14:10:29 +01:00
Lemongrass3110
8e58f2ce24 Fixed reloadmobdb status calculation (#3784)
Fixes #3783

Thanks to @Everade
2018-12-23 20:24:29 +01:00
rAthenaAPI
4d0f150159 SQL synchronization 2018-12-22 16:30:20 +01:00
Atemo
818f35ab60 Corrected job mask of some items (#3778)
* gunslinger could wear the items while rebellion job couldn't

Thanks to @Tokeiburu !
2018-12-22 16:30:11 +01:00
Lemongrass3110
63bfd61118 Added a missing check to TK_HIGHJUMP (#3776)
Fixes #1159

High Jump/Leap is meant to check the next cell for a wall as well.

Thanks to @Playtester and @aleos89
2018-12-22 00:33:35 +01:00
Lemongrass3110
01f61cfa4f Added support for 64bit ticks (#3768)
Fixes #3017

Thanks to Hercules for the idea and their implementation of it.

This deprecates Windows XP support. If you want to use it to run your server on it, you have to forcefully enable it now.
Since 64bit ticks do not exist on XP, you might encounter some issues that are already fixed on other OS.
2018-12-21 00:02:19 +01:00
Aleos
0d816975f7 Corrected some statuses and Mado Gear interaction (#3775)
* Fixes #3774.
* Resolved a few statuses getting removed when using Mado Gear that should be enabled.
* Added the ability to remove these statuses if the skills are disabled.
Thanks to @laziem and @Lemongrass3110!
2018-12-20 16:18:59 -05:00
Lemongrass3110
4944491228 Added support for viewpointvalue command (#3754)
Additionally added a script command to update the player's camera.
Added a new atcommand camerainfo for this, which is limited to admins.

Credits to @4144 for finding /setcamera
2018-12-20 19:26:02 +01:00
Lemongrass3110
1c987de71d Fixed unknown map in character select (#3761)
Fixes #1145

Credits to @4144 for finding this!

Thanks to @RadianFord for reporting.
2018-12-20 17:56:13 +01:00
Lemongrass3110
ec3b7077cb Switched supported client to Ragexe (#3765)
Fixes #3376

This adds support for clients after July 2018.
Since no unpacked RagexeRE exist anymore, we need to switch back over to Ragexe.

This should work without problems until 2018-11-21.
After this there are further changes required.

Thanks to @Haikenz
2018-12-20 17:31:09 +01:00
Lemongrass3110
fb81e2d7ad Fixed autobonus removal (#3767)
Fixes #3739

Thanks to @whupdo for finding the broken removal.

Fixes #3766

Since vector elements will be pushed around in the container when an element is removed,
the original pointer might be invalid at the time the end of the timer has been reached.

A big thank you to @teededung for being persistent and helping me to reproduce the issue.
2018-12-20 08:23:10 +01:00
Aleos
75aef6a544 Corrected AutospellOnSkill (#3770)
* Fixes #3769.
* Added a missing reference call.
* Defaulted item bonus entries to 0/nullptr.
Thanks to @laziem!
2018-12-19 18:09:24 -05:00
Lemongrass3110
7c271d7edc Disabled iterator sanity checks on VS (#3760)
Fixes #3750

Thanks to @teededung and @aleos89
2018-12-18 18:51:56 +01:00
rAthenaAPI
954cbd54ce SQL synchronization 2018-12-18 17:47:06 +01:00
Lemongrass3110
016d15b79a Unified infinite tick usage (#3755)
Introducing a new constant INFINITE_TICK
Changed current usages in items, npcs and source to use the new and correct constant.
Replaced some invalid usages of INVALID_TIMER and replaced them with the new constant.
2018-12-18 17:46:56 +01:00
Lemongrass3110
732059ac03 Fixed wrong replacements of CD_CURRENT_ECONOMY (#3764)
Follow up to 7045d58

Fixes #3763

Thanks to @nubspixel
2018-12-18 17:16:59 +01:00
Lemongrass3110
e3dd6238b5 Removed deprecated SI constants from src (#3762)
Froze their values by hardcoding them into the script engine exports.
Removed commented ones.
Removed a leftover reference to SI_BLANK.
2018-12-18 15:54:54 +01:00
Aleos
570c07d50c Corrected some Summoner skills (#3719)
* Fixes #3706.
* Resolved Blessing of Shrimp not boosting SP recovery properly.
* Resolved Tasty Shrimp Party not accounting for Fresh Shrimp level learned.
* Resolved Lope not placing the caster at the selected target location.
Thanks to @Everade and @exneval!
2018-12-17 21:51:50 -05:00
Lemongrass3110
742232d575 Fixed zero termination for bg messages (#3759)
Fixes #3104

Thanks to @Rolfxx and @vstumpf
2018-12-18 02:32:37 +01:00
Aleos
faee0cde45 Fixed CN Meteor and Lunatic Carrot Beat damage (#3746)
* Fixes #3734.
* Added missing battle cases.
Thanks to @teededung and @Playtester!
2018-12-17 19:47:34 -05:00
Lemongrass3110
200b55e0b9 Fixed Taekwon Jobchanger Location (#3757)
Fixes #3691

Thanks to @zackdreaver and @Balferian
2018-12-17 16:41:23 +01:00
Lemongrass3110
7fa903ce22 Fixed SU_GROOMING while being frozen (#3756)
Fixes #3728

Thanks to @Everade
2018-12-17 14:14:58 +01:00
Lemongrass3110
9183a54a0d Fixed homunculus auto feed for broken luas (#3758)
Fixes #3318

Thanks to @yoonjunho72, @AzarthMZintos and @admkakaroto
2018-12-17 13:53:37 +01:00
Lemongrass3110
e8a7daec9f Fixed pre-renewal atk (#3752)
Follow up fe197bfa12

Fixes #3623

Thanks to @mrjnumber1
2018-12-15 17:04:03 +01:00
Aleos
2d4a594948 Fixed Skill Damage Database parsing (#3747)
* Fixed Skill Damage Database parsing
* Fixes #3732.
* Resolved an issue with constants not being properly parsed for the caster type.
Thanks to @RadianFord, @reunite-ro, and @Lemongrass3110!
2018-12-14 16:05:58 -05:00
Lemongrass3110
9f880768a8 Fixed a documentation typo for bDropAddClass
Fixes #3748 

Thanks to @reunite-ro
2018-12-12 23:27:42 +01:00
Lemongrass3110
18f9574a52 Fixed missing login date for guild members (#3744)
Fixes #3743
2018-12-12 00:23:08 +01:00
rAthenaAPI
6fb680d5e6 SQL synchronization 2018-12-09 16:17:06 +01:00
Atemo
f5b546d67d Follow-up b87a1758a4 (#3736)
* Changed Thanatos gears to Thanos in item_db.txt
2018-12-09 16:16:55 +01:00
rAthenaAPI
047e001a3a SQL synchronization 2018-12-08 21:00:43 +01:00
Atemo
93cf1881ee Changed equippable jobs for some items in pre-re/item_db.txt (#3737)
* Rebellion and Summoner job shouldn't be able to equip these items
Thanks to @RadianFord!
2018-12-08 20:59:56 +01:00
Jittapan Pluemsumran
4cff45b881 Fixed clearing of sp_vanish_race (#3729) 2018-12-08 20:03:58 +01:00
Aleos
32c68c73bf Renewal bBaseAtk readparam returning wrong value (#3731)
* Corrects readparam returning the wrong value for bBaseAtk.
2018-12-07 10:23:46 -05:00
zackdreaver
b87a1758a4 [Proposal] Ghost Palace instance NPC name fixes (#3606)
* Changed Thanatos to Tartanos and Thanatos gears to Thanos,
to follow actual name from Ragnarok manhwa and kRO actual item name translation
* changed "Tartanos Magic Trace" to "Magic Sword Tartanos"

Signed-off-by: zackdreaver <zackdreaver@gmail.com>
2018-12-07 15:27:42 +01:00
Lemongrass3110
5597105451 Fixed an issue with bonus recalculation
Fixes #3725

Thanks to @jester-frost and @laziem
2018-12-06 22:26:35 +01:00
rAthenaAPI
08a45f5e8f SQL synchronization 2018-12-05 05:01:34 +01:00
rAthenaAPI
f233792f53 Mob and NPC Identity Update 2018-12-05 05:01:02 +01:00
MathReaper
2f5e1203eb Corrected vector issue (#3723) 2018-12-04 20:11:21 +01:00
rAthenaAPI
fdf2013a4e SQL synchronization 2018-12-03 14:58:48 +01:00
Atemo
9f24814a03 Lasagna Boss spawn (#3718)
* Takeover of https://github.com/rathena/rathena/pull/3424
* Added Big Eggring spawn and updated monster stats
Thank to @admkakaroto to bring up this
2018-12-03 14:58:37 +01:00
Lemongrass3110
40a4edc4f8 Follow up to e02e85b
Fixes #3721

Thanks to @teededung
2018-12-01 11:19:08 +01:00
Lemongrass3110
9dbd3cb17f Follow up to bff89bd
Thanks to @RadianFord
2018-12-01 00:03:09 +01:00
Atemo
756ef38bc9 Fix for issue #3701 (#3702)
Thanks to @teededung for reporting it
Fixed #3701
2018-11-30 15:53:07 +01:00
Aleos
6a49dc2b90 Corrected possible item loss during char login (#3714)
* Resolved a rare case if a player logs in and the server hasn't fully initialized all of the player's items that the auto-save timer fires off and saves the player with no items.
Thanks to @Tokeiburu!
2018-11-30 09:33:44 -05:00
Aleos
0bb279b64c Corrected Stone Hard Skin Rune effects (#3713)
* Fixes #3693.
* Stone Hard Skin should not end after taking full damage.
Thanks to @slyx88 and @flamefury!
2018-11-30 09:06:36 -05:00
Aleos
5cc368a177 Corrected a potential overflow in item bonuses (#3709)
* Fixes #3703.
* Fixed bHealPower, bHealPower2, bSPGainValue, bHPGainValue, bMagicSPGainValue, and bMagicHPGainValue having a chance to potentially overflow from signed short limit.
Thanks to @Everade!
2018-11-29 18:54:59 -05:00
Aleos
e02e85b65e Corrected White Imprison and reflected damage (#3685)
* Fixes #3634.
* Targets in White Imprison using reflect equipment or skills should not send damage back to those outside.
Thanks to @admkakaroto!
2018-11-29 18:13:06 -05:00
Aleos
a0d1087628 Corrected Electric Shocker versus MVP (#3660)
* Fixes #3649.
* Electric Shocker is able to stop MVP as well.
* Status should not stack with itself.
* Status should be cleared by normal means.
Thanks to @admkakaroto!
2018-11-29 17:51:00 -05:00
Aleos
9758a38f07 Updated CN Meteor and Lunatic CB behavior (#3603)
* Implements SU_CN_METEOR2 and SU_LUNATICCARROTBEAT2 skills.
* These skills are used as placeholders for the item requirements for skill bonuses.
Thanks to @Rytech2 and @exneval!
2018-11-29 17:23:09 -05:00
Lemongrass3110
bff89bd70e Fixed possible string out of bounds in configurations (#3631)
Added safestrncpy to char's inter configurations
Added safestrncpy to map's inter configurations
Added safestrncpy to message configurations
Adjusted some char configurations
Cleaned up logging configurations

Fixes #3624 

Thanks to @mrjnumber1
2018-11-29 22:56:17 +01:00
Lemongrass3110
bde580fdbd Add drop highlighting effect feature (#3710)
Fixes #3610

Thanks to @Balferian, @admkakaroto and credits to @Asheraf
2018-11-29 22:34:57 +01:00
Aleos
c71ef92fb0 Refactored item bonuses to utilize C++ features (#3235)
* Fixes #996 and fixes #3152.
* Refactored MAX_PC_BONUS item bonuses from static arrays to vectors.
* Increased MAX_PC_BONUS to 50.
* Frees up memory from players that may not ever utilize all their static MAX_PC_BONUS item bonuses.
* Expanded bonus ResEff to not be restricted to SC_COMMON* statuses.
* Removed old ERS usages.
* Removed code redundancy and general cleanups.
Thanks to @Angelic234, @Atemo, @Lemongrass3110, and @Everade!
2018-11-28 21:50:43 -05:00
Aleos
eafb1cb7f9 Corrected Absorb Spirit Sphere on self (#3689)
* Fixes #3534.
* Absorb Spirit Sphere should work on self on all map types.
Thanks to @FriggRM!
2018-11-28 13:11:35 -05:00
rAthenaAPI
64d0da45ca SQL synchronization 2018-11-28 16:56:08 +01:00
atemo
56f5333ac9 Added missing bracket for sql synchro
Thanks to @Lemongrass3110 !
2018-11-28 16:55:42 +01:00
Atemo
a8175337d6 KRO items november-07-2018 (#3708)
Thanks to the translation from Sigma and DP !
Additionally correct a typo in Ancient_Hero_Boots item reported by @Angelic234 from previous PR
2018-11-28 15:55:49 +01:00
Aleos
47d76205c0 Resolved Small and Large Life Potion Healing (#3712)
* Fixes #3705.
* Heal rate was comparing battle status versus base status.
Thanks to @Everade!
2018-11-27 22:26:16 -05:00
Aleos
505a0cd888 Fixed a potential crash on change map events (#3699)
* Fixes #3687.
* When changing to an unknown map (or one on another map-server) the instance checks attempted to check null data.
Thanks to @lelouch22!
2018-11-27 09:46:20 -05:00
Aleos
16c2f22fed Corrected Fire Charm and Exploding Dragon damage (#3700)
* Fixes #3695.
* Fire Charm was granting too much bonus damage when used with Exploding Dragon.
Thanks to @Balferian!
2018-11-27 09:26:43 -05:00
Atemo
348acd1870 Illusion of Labyrinth item DB (#3696)
Items from Illusion of Labyrinth : http://ro.gnjoy.com/news/update/View.asp?seq=231&curpage=1
Thanks to the translation from Sigma and DP https://www.divine-pride.net/forum/index.php?/topic/3505-kro-changelog-october-31-2018/
2018-11-24 23:17:36 +01:00
Atemo
795aa825e5 Equipments/weapons from ep17.1 (#3656)
Ref. https://www.divine-pride.net/forum/index.php?/topic/3288-kro-changelog-july-04-2018/
Thanks to Sigma for the translation.
2018-11-24 17:42:11 +01:00
vykimo
dbf2f23253 Prevent duplicate npc (#3682)
* Fixes #3677.
* Hide second "chatting" NPC at initialization.
Thanks to @vykimo!
2018-11-19 10:19:11 -05:00
rAthenaAPI
589cb50432 SQL synchronization 2018-11-19 15:42:22 +01:00
Aleos
d9b00bd73e Corrected Platinum Shotel and Curved Sword (#3684)
* Fixes #3655.
* Corrected Platinum Shotel and Curved Sword to be limited to transcendent classes.
Thanks to @zackdreaver and @Atemo!
2018-11-19 09:42:11 -05:00
Aleos
5dbe3dbaee Added missing Phantasmagorika Spokesperson (#3688)
* Fixes #3686.
* Added missing Phantasmagorika Spokesperson to Alberta, Morocc, and Payon.
Thanks to @zackdreaver!
2018-11-19 09:24:28 -05:00
Aleos
7cc44e55ca Corrected trap splash count (#3683)
* Fixes #3675.
* Corrected the trap splash count to be a minimum of 1 to prevent divide by 0 attempts.
Thanks to @crazystorm2017!
2018-11-17 08:57:30 -05:00
Aleos
a8f01ecc0b Corrected Raid damage for renewal (#3648)
* Corrected Raid damage ratio for renewal.
* Raid does less damage vs Boss monsters.
Thanks to @mrjnumber1 and @Lemongrass3110!
2018-11-16 09:51:47 -05:00
Aleos
24dca1117e Corrected Reins of Mount interaction with hiding (#3621)
* Fixes #3614.
* Reins of Mount should not be applied to players who are in some sort of hidden state.
* Item delay is still applied.
Thanks to @admkakaroto and @cydh!
2018-11-16 09:17:42 -05:00
Aleos
0c6b772dd2 Updated Hammer of God behavior (#3595)
* Fixes #3559.
* Updated the cast range to 6 + skill_lv.
* Added Crimson Marker target checks to determine placement.
* No longer removes Crimson Marker on targets.
* Properly displays client effect.
Thanks to @Rytech2, @admkakaroto, @Tokeiburu and @exneval!
2018-11-16 08:47:37 -05:00
Aleos
404973f621 Corrected script command setunitdata HP/Max HP (#3669)
* Fixes #3668.
* Resolves an issue with adjusting HP/Max HP not properly applying it to the proper unit status.
Thanks to @Joao1905!
2018-11-13 09:33:58 -05:00
Aleos
78cda50e3b Corrected Ignition Break animation (#3670)
Corrected Ignition Break animation on newer clients (2018-02-07 and newer).

Fixes #3664.

Thanks to @Rytech2, @syracuase and @Lemongrass3110!
2018-11-11 23:03:59 +01:00
Lemongrass3110
91c87969c4 Revert "SQL synchronization"
This reverts commit d0be16f628.
2018-11-11 22:57:49 +01:00
rAthenaAPI
d0be16f628 SQL synchronization 2018-11-11 22:08:01 +01:00
Lemongrass3110
a4c8039c17 Added some additional guild loading checks (#3680)
Fixes #3591

Thanks to @Badarosk0, @laziem and @aleos89
2018-11-11 22:06:10 +01:00
Aleos
e8c116246e Implemented official buy/sell amount restrictions (#3673)
* Fixes #3666.
* When purchasing items from a NPC shop, the minimum purchase price is always 1 Zeny.
* When selling items to a NPC shop, the minimum sell price is always 0 Zeny.
Thanks to @Balferian and @dastgirp!
2018-11-08 16:44:46 -05:00
flamefury
fd91ab6284 Updated the list of skills usable in Madogear (#3672)
* Updated the list of skills usable in Madogear.
* Source: http://ro.gnjoy.com/news/notice/View.asp?seq=7034
Thanks to @flamefury!
2018-11-08 16:30:47 -05:00
Aleos
7045d585e4 Added constants for Castle Data manipulation (#3531)
* Fixes #3530.
* Added constants for script commands getcastledata and setcastledata.
* Adjusted the guardian constants to adjust based on MAX_GUARDIANS define value.
* Updated scripts to reflect changes.
Thanks to @keitenai, @Atemo, and @Lemongrass3110!
2018-11-08 16:27:03 -05:00
Lemongrass3110
75d24ad1ad Removed dbmap/ers from login-server (#3658)
Converted online_db to unordered_map
Converted auth_db to unordered_map
Removed ers_report option
2018-11-08 00:03:09 +01:00
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
rAthenaAPI
0bcd299311 Effect State Update 2018-11-06 04:06:04 +01:00
Lemongrass3110
caab654fbb Added login user count colorization (#3651)
Credits to @4144 for his implementation of the feature.
2018-11-05 21:42:25 +01:00
Aleos
13006e19a6 Corrected Concentration's status icon (#3647)
Corrected Lord Knight's Concentration status icon displaying the wrong one.

Thanks to @mrjnumber1!
2018-11-02 16:00:12 +01:00
Aleos
fc07588d60 Corrected Instance timers when entering a map (#3594)
* Fixes #3585.
* Resolves an issue when players change maps to instances (aside from script command instance_enter) and the active/idle timers are not adjusted.
* Cleaned up the entering and leaving checks for instances.
Thanks to @Atemo and @Lemongrass3110!
2018-11-01 20:10:29 -04:00
Andrew Carrazzone
2e55261ec7 Baby Summoner can use all Summoner skills. (#3642)
Fixes #3641
2018-11-02 00:53:41 +01:00
Aleos
ca1bd50465 Corrected renewal Steal formula (#3523)
* Fixes #3473.
* The steal bonus no longer modifies the item's drop rate but has it's own success chance into stealing an item.
Thanks to @mrjnumber1!
2018-11-01 19:40:24 -04:00
Aleos
f4acbd14de Corrected warping and OnTouch events (#3638)
* Fixes #1658, fixes #3620.
* Fixed script command warp2 or OnTouch NPC attempting to trigger OnTouch events a second time for players in a hidden state while warping to the destination map resulting in them being sent to an invalid location.
Thanks to @exneval, @mgksrt8, @admkakaroto, and @Zeloss!
2018-11-01 19:36:17 -04:00
Lemongrass3110
88d83a3030 Fixed instance id being lost for guilds (#3592)
This happens on each change that causes the guild to be reloaded from the character server.

Fixes #3571

Thanks to @cydh
2018-11-02 00:28:40 +01:00
Lemongrass3110
a47e6cb427 Added multi level up level caps (#3646) 2018-11-01 23:47:45 +01:00
Aleos
a7d8fbae14 Corrected atcommand reloadscript and NPC dialogs (#3643)
* Corrected atcommand reloadscript and NPC dialogs
* Fixes #3637.
* Force atcommand reloadscript to send a close button if a NPC dialog is active to any attached players.
* Fixed cutin removal as well.
Thanks to @kukuasir1 and @Lemongrass3110!
2018-11-01 16:08:53 -04:00
rAthenaAPI
1333db584b Effect State Update 2018-10-31 04:06:21 +01:00
rAthenaAPI
c0a354e7f1 SQL synchronization 2018-10-31 04:01:48 +01:00
rAthenaAPI
d0dcbbd36b Mob and NPC Identity Update 2018-10-31 04:01:17 +01:00
vykimo
98ba549022 Removed code duplication for Guild Skills (#3633)
* Fixes #3682.
* Remove code duplication for Guild Skills: Battle Orders, Regeneration and Restore.
Thanks to @vykimo!
2018-10-30 10:35:39 -04:00
Aleos
af205a8841 Fixed Water Evasion and Freezing Spear combo (#3618)
* Fixes #3615.
* Freezing Spear damage should increase when the caster is standing in Water Evasion.
Thanks to @Balferian!
2018-10-30 09:59:48 -04:00
Lemongrass3110
c0793a8072 Adding LGTM to CI tools (#3636)
Thanks to @aleos89 for his help.
2018-10-29 21:25:36 +01:00
rAthenaAPI
446217cbcd SQL synchronization 2018-10-29 15:18:29 +01:00
Aleos
87032fc95a Updated Gunslinger/Rebellion Bullet behavior (#3459)
* Fixes #2745.
* Disabled the ability to equip old spheres and old slugs.
* Corrected some of the newer bullets name, weight, price, and effects.
* Updated the ASPD for Gunslinger/Rebellion when equipping guns.
* Spread Attack and Ground Drift now only use bullets.
* Adjusted Slug Shot skill item requirement to the new Slug Bullet.
* Separated pre-renewal and renewal ammo NPC (Kenny and Tony).
-- Renewal no longer has Tony.
-- Kenny can now trade in the Sphere bullets for new bullets.
-- Kenny can now trade in the old Slugs for Slug Bullet.
-- Added new bullets into Kenny.
Thanks to @cydh and @exneval!
2018-10-29 10:18:19 -04:00
Lemongrass3110
7066cac9a4 Fixed some conditions in LV4 weapon quest (#3630)
Fixes #3627

Thanks to @SnotraRM
2018-10-28 16:30:40 +01:00
Jittapan Pluemsumran
84b4f09874 Added skill_duration mapflag. (#2171)
* Added skill_duration mapflag.
* This mapflag sets a skill unit time limit to n% of original duration.
* Implemented mapflags for Hunter's Traps in GVG, BG, and Novice Guild maps.

Signed-off-by: Cydh Ramdh <cydh@pservero.com>
2018-10-26 08:52:49 -04:00
Jittapan Pluemsumran
2140722743 Fixed potential map server crash in clif_parse_Mail_setattach (#3609) 2018-10-26 13:51:50 +07:00
Aleos
04f127fd7c Corrected equipment stripping success rates (#3597)
* Corrects Strip Weapon, Strip Armor, Strip Shield, Strip Helm, Weapon Crush, and Full Strip success rate.
Thanks to @Cydh!
2018-10-25 18:14:23 -04:00
rAthenaAPI
4fc056e065 SQL synchronization 2018-10-25 19:33:08 +02:00
Atemo
edfaa54605 Corrected some item combo bonus (#3616) 2018-10-25 19:32:38 +02:00
rAthenaAPI
b549e0fed5 SQL synchronization 2018-10-24 06:01:08 +02:00
rAthenaAPI
344637d24c Mob and NPC Identity Update 2018-10-24 06:00:49 +02:00
Jittapan Pluemsumran
180938d971 Fixed free purchase from cashshop NPC exploit (#3605) 2018-10-23 01:13:41 +07:00
rAthenaAPI
dcb6592f52 SQL synchronization 2018-10-21 08:15:14 +02:00
Jittapan Pluemsumran
b1200aa147 Updated amount of items given from certain scroll boxes. Closes #3600 (#3601)
* Updated amount of items given from certain scroll boxes. Closes #3600
Thanks to @zackdreaver
2018-10-21 13:15:05 +07:00
Jittapan Pluemsumran
5e7cb8a824 Miscellaneous documentation update (#3599) 2018-10-21 13:13:50 +07:00
Aleos
3b7fbb0d5f Reverted 8a504c6 (#3593)
* Guild Storage Log isn't a normal admin log since it's a client feature so it shouldn't be stored with the other logs.
2018-10-19 13:39:35 -04:00
Cydh Ramdh
d8e760fa78 Cleanup skill_damage mapflag for skill (#3583)
* Changed from vector to unordered_map with skill_id as key
2018-10-19 08:34:29 +07:00
rAthenaAPI
ab0046cf2c SQL synchronization 2018-10-18 15:53:35 +02:00
Cydh Ramdh
bcd419db02 Revert Renewal Mob DB updates (#3574)
* Follow up fe197bfa12
* All reverted except ATK1 and ATK2 columns
2018-10-18 20:53:27 +07:00
Maz-V
8a504c6905 Corrected Guild Storage Log SQL file (#3577)
* Moved guild_storage_log to the logs.sql and appended the "_log" suffix to the upgrade file.
Thanks to @mazvi!
2018-10-17 14:30:43 -04:00
Aleos
fece0abe5c Corrected an Imperial Set Combo (#3584)
* Follow up to 87e7e88.
* Should reduce SP required not increase SP required for some skills.
Thanks to @attackjom!
2018-10-17 13:55:09 -04:00
atemo
efbb9fed8f Follow-up 58c520eb07
Fixed #3587
2018-10-17 15:41:06 +02:00
rAthenaAPI
19d376cff1 SQL synchronization 2018-10-16 17:32:48 +02:00
atemo
a4fa805469 Added missing mode for nightmare biolab monsters 2018-10-16 17:32:26 +02:00
rAthenaAPI
8451d0f3ec SQL synchronization 2018-10-16 17:20:48 +02:00
Atemo
58c520eb07 Initial release of Devil Tower memorial (#2555)
Initial release of Devil Tower memorial (walkthrough conversion)
* TO DO:
** implement Dancingblade, Pulsestrike2 and adjust ice mine skills
** correct progressbar behaviour

Thanks to all the contributors !
Special thanks to Divine Pride !
2018-10-16 17:20:34 +02:00
rAthenaAPI
b38b56f4d0 SQL synchronization 2018-10-16 00:33:58 +02:00
Atemo
0b18fe4bed Update/moro vol npcs (#3002)
Updated npcs from ep 14.3 (official conversion)
* Adjusted permanent monster random spawn: xy are now optional
* TO DO: update questinfo to display the icon when the variable condition are met

Thanks to all the contributors !
Special thanks to https://www.divine-pride.net/ !
2018-10-16 00:33:37 +02:00
rAthenaAPI
b9a305be31 SQL synchronization 2018-10-15 21:39:44 +02:00
Atemo
33dcaddac5 Nightmare biolab (#3228)
Initial implementation of nightmare biolab.
The missing skills will eventually be implemented later.

Thanks to all the contributor, special thanks to https://www.divine-pride.net/ !
2018-10-15 21:39:28 +02:00
Atemo
e2763068e2 Malangdo enchant weapon update (#3417)
* Removed 'set' to the new syntax and slight change

* Added the slotted versions of cutlus and Crescent_Scythe
* Corrected Wizardy_Staff positioning
* Added more weapons to enchant

* Corrected possible enchants of Twin_Edge_B, Twin_Edge_R and Poison_Forged_Spear thanks to @admkakaroto !
2018-10-15 18:02:25 +02:00
rAthenaAPI
26dbf9e4c4 SQL synchronization 2018-10-15 18:00:33 +02:00
Atemo
8cecb04039 Corrected Airship_Boots item script (issue #3569) (#3573)
Corrected Old_Money_Pocket item type (issue #3568)
2018-10-15 18:00:13 +02:00
rAthenaAPI
75494cef95 SQL synchronization 2018-10-15 17:59:19 +02:00
Atemo
5c891c53c4 kRO items from 5/04/2016 (#3572) 2018-10-15 17:59:08 +02:00
rAthenaAPI
308dc275ea SQL synchronization 2018-10-14 03:28:25 +02:00
Cydh Ramdh
5322c563d8 Renewal Mob DB Correction
* A follow up of fe197bfa12
* Corrected some empty values to 0
* Changed Korean mob name to using Sprite Name
2018-10-14 08:28:10 +07:00
Atemo
441e8f9650 Follow up 01a70999e4 (#3562)
Changed items cost to the default value from item_db
THanks to @AzarthMZintos !
2018-10-13 17:56:20 +02:00
rAthenaAPI
aa275c57c9 SQL synchronization 2018-10-13 17:49:20 +02:00
Atemo
4c25aadfc0 Implemented item from kRO 20181002 (#3563)
Thanks to Dia, Sigma for the translation !
2018-10-13 17:49:09 +02:00
rAthenaAPI
3690d7085b Mob and NPC Identity Update 2018-10-13 15:00:36 +02:00
rAthenaAPI
7d9f9532e6 SQL synchronization 2018-10-13 14:00:24 +02:00
Cydh Ramdh
fe197bfa12 Renewal Monster Updates (#3541)
* Renewal Monster's ATK & MATK Calculation Updates
* Renewal Monster database updates
  * ATK1 is *base* ATK, the range 80%~120% is calculated in src
  * ATK2 is *base* MATK, the range 70%~130% is calculated in src
* Adjusted ATK range min~max in mobinfo atcommand
* Nothing was changed in pre-renewal system!
* Thanks to @aleos89, @slyx88 and Divine-Pride.net
2018-10-13 19:00:14 +07:00
Lemongrass3110
8e7b9a57c0 Change the default packetver to 20180620 (#3557)
We support all required features or have them ready in some pull requests.
The packet version after this will require a huge overhaul since item id sizes have been changed in all packets.
2018-10-11 10:33:55 +02:00
Lemongrass3110
55acdb9863 Initial release of the guild storage log (#3365)
Thanks to @aleos89 and @Everade
2018-10-10 17:51:49 +02:00
Sader Fawall
10e7035beb Added script command getunits (#3389)
* Closes #3159.
* Adds script commands getunits, getmapunits, and getareaunits.
* Replacement for script commands getusers, getmapusers, getareausers. (In a future commit)
Thanks to @sader1992, @Atemo, and @anacondaqq!
2018-10-10 10:33:01 -04:00
Aleos
2e9319afda Corrected some issues with Malaya Quests (#3554)
* Fixes #3552 and fixes #3553.
* Corrected Lesser Agimat not getting removed from Old Man in Dilemma and Tikbalang Expert.
* Corrected a Buwaya Guard not continuing with the proper conversation.
Thanks to @Indigo000!
2018-10-10 08:52:36 -04:00
Cydh Ramdh
e66dc4f62e Instance map fixes (#3539)
* Fixed #3517, new map from instance doesn't use unused map slots
* Fixed #3528, crashed on reloadscript if there is instance map
* Cleared map flags on reloadscript
2018-10-10 18:05:24 +07:00
rAthenaAPI
ed40872839 SQL synchronization 2018-10-10 05:01:33 +02:00
rAthenaAPI
f65925bb7e Mob and NPC Identity Update 2018-10-10 05:01:03 +02:00
rAthenaAPI
7aae476ae5 SQL synchronization 2018-10-09 23:36:59 +02:00
Atemo
a31b34baf5 Cards from ep14.3 (kRO 2018.09.21) (#3514)
* Corrected typo thanks to @zackdreaver
* Commented Despair_God_Morocc_Card and combo using unimplemented MM_MOROCC_ADT

Thanks to https://www.divine-pride.net/, Sigma for the translation
2018-10-09 23:36:38 +02:00
Atemo
7d8530e3b1 Fix for issue #3540 "IM_NONE idle timer" (#3550)
* Fix for issue #3540 "IM_NONE idle timer"

* Cleaned redundant map_getmapdata

Thanks to @aleos89 !
2018-10-09 22:58:41 +02:00
rAthenaAPI
92ecdd47b0 SQL synchronization 2018-10-09 19:16:47 +02:00
aleos89
5c031c7354 Corrected a SQL issue
* Follow up to 01a7099.
* Decreased Purple Ore monster level to 255 to fit within tinyint range.
2018-10-09 13:16:13 -04:00
rAthenaAPI
30363168d3 SQL synchronization 2018-10-08 23:25:56 +02:00
Atemo
01a70999e4 Initial release of Rock Ridge script (#3396)
Also updated Rock Ridge enchant list from kRO 2016.12.07

Thanks to @JohnnyPlayy, @OptimusM, @attackjom, @teededung and @admkakaroto !
Big thanks to https://www.divine-pride.net/ !
2018-10-08 23:25:39 +02:00
rAthenaAPI
129812d6a5 SQL synchronization 2018-10-05 19:41:51 +02:00
Aleos
77ace90656 Corrected Repair and Shape Shift requirements (#3546)
* Fixes #3545.
* Corrected the item requirements for Repair and Shape Shift.
* Synced pre-renewal skill requirements to match renewal.
* Added a couple Mechanic items that were missing from pre-renewal.
* Updated requirements on a couple items to match pre-renewal format.
Thanks to @Questune09!
2018-10-05 13:41:24 -04:00
zackdreaver
474cb7d900 item_buyingstore update (#3536)
* Updated item_buyingstore table.
Thanks to @zackdreaver!
2018-10-03 10:23:43 -04:00
Jittapan Pluemsumran
daebd30049 Corrected Solid Lunatic spawn amount at prt_fild08. Closes #3524 (#3537)
Thanks to @AzarthMZintos and @secretdataz!
2018-10-02 09:22:38 -04:00
rAthenaAPI
78aee03370 SQL synchronization 2018-10-02 08:00:46 +02:00
rAthenaAPI
f10dc2f4f9 Mob and NPC Identity Update 2018-10-02 08:00:34 +02:00
rAthenaAPI
c8dee7afd4 SQL synchronization 2018-10-02 06:01:32 +02:00
rAthenaAPI
d57d1b7620 Mob and NPC Identity Update 2018-10-02 06:01:01 +02:00
Cydh Ramdh
0f8ce36746 ers_destroy called too early in do_final_instance (#3533)
* Fixed #3532
2018-10-02 08:22:29 +07:00
zackdreaver
f16fc6c5df Changed "Royal Errand Boy" to "Royal Messenger" in quests_16_1.txt (#3529)
* Changed "Royal Errand Boy" to "Royal Messenger" in quests_16_1.txt

Signed-off-by: zackdreaver <zackdreaver@gmail.com>
2018-09-29 19:26:02 +02:00
Aleos
926e37cb65 Corrected some GCC 7.1+ compile warnings (#3522)
* Fixes #2787 and fixes #3513.
* Resolved some format-truncation warnings.
* The remaining will be fixed at a later time.
Thanks to @RadianFord and @Lemongrass3110!
2018-09-28 13:57:27 -04:00
Sader Fawall
b7ba7fe5a6 Autopot script improvment (#3477)
* Uses timer event now.
* Included item blacklist option.
* Included SP healing option.
Thanks to @sader1992!
2018-09-28 10:59:56 -04:00
Cydh Ramdh
3e1105b0cf Updates Item Sell checks (#3491)
* Added config values for `allow_bound_sell`
  * 0x4 allows bound item to be sold at NPC Shops
  * 0x8 restrict only guild leader who can sell guild bound item at NPC Shops or Itemshops
* Added config to allow rental items can be sold at NPC `rental_transaction` (planned for more config values based on #3490). Default to `yes` allowed to be sold, still can be restricted by item_trade, item id based.
* Fixed itemshop which ignores another item stack in inventory even for same item currency
* Fixed exploit potential by using Itemshop & Pointshop
* Now equipped item cannot be sold at NPC
* Typo and grammar fixes. Thanks to @aleos89 and @secretdataz
2018-09-27 13:54:28 +07:00
rAthenaAPI
79766cd99e Effect State Update 2018-09-25 22:06:43 +02:00
Aleos
7040057a9f Corrected Taekwon Mission mob generator (#3509)
* Fixes #3499.
* Corrected the way target monsters are generated for Taekwon Mission.
* Requires: The mob ID is in the range [MOBID_PORING, MOBID_GREEN_IGUANA], the mob must have below 30,000 HP, the mob must give Base EXP, the mob must be CLASS_NORMAL.
* Added a new mob group: MOBG_Taekwon_Mission
* Removed hard coded checks.
* Created constants for random monster group flags.
Thanks to @mrjnumber1, @Lemongrass3110, and @cydh!
2018-09-25 13:32:11 -04:00
Aleos
8fc790339d Corrected Union of the Sun Moon and Stars HP cost (#3507)
* Fixes #3500.
* Corrected the HP cost formula to reflect Aegis.
Thanks to @mrjnumber1 and @Lemongrass3110!
2018-09-25 13:04:50 -04:00
keitenai
7d546d3729 Minor correction in documentation (#3519)
* Corrected some grammar mistakes.
Thanks to @keitenai!
2018-09-25 12:45:55 -04:00
Aleos
147e8da2e4 Corrected Critical bonuses (#3506)
* Fixes #3501.
* Critical bonuses bCritAtkRate and bCriticalLong should not be applying to skills.
Thanks to @mrjnumber1!
2018-09-25 12:27:30 -04:00
Aleos
f0dfdf9219 Cleaned up equipment stripping skills (#3493)
* Fixes #3476.
* Centralized all equipment stripping skills to skill_strip_equip.
* Updated success rates and durations to match official.
Thanks to @mrjnumber1!
2018-09-24 14:51:51 -04:00
Cydh Ramdh
b614092b75 Updates inf3 in skill_db (#3488)
* Added inf3 0x100000 for skill is not blocked by SC_AUTOGUARD (physical-skill only)
* Added inf3 0x200000 for skill is not blocked by SC_UTSUSEMI or SC_BUNSINJYUTSU (physical-skill only)
* Changed `NK_NO_CARDFIX_ATK` check to the flag above
* Applied those new inf3 flags for skills which are `weapon`-type and have `0x8`-nk
2018-09-21 09:52:56 +07:00
Atemo
a12f1ce02f EDP renewal change (#3485)
This setting only affects renewal mode:
- Switch to a different weapon or unequip a weapon now cancel EDP
- EDP can't be used with fist (right hand check only)

Thanks to @aleos89 and @cydh !
2018-09-19 00:33:45 +02:00
Aleos
0d77398385 Cleaned up Banding behavior (#3486)
* Fixes #3478.
* Adjusted Banding to use proper party counting functions.
* Corrected the DEF and HP Regen bonus for Banding.
* Banding Defense will no longer stack on itself.
Thanks to @admkakaroto and @exneval!
2018-09-18 11:05:27 -04:00
rAthenaAPI
e49505472e Effect State Update 2018-09-18 05:06:10 +02:00
keitenai
3cd7717324 Update documentation typo error (#3489)
* Replace wrong spelling "errur" to "error"
* Thanks to @keitenai
2018-09-14 15:09:50 +07:00
Sader Fawall
ca83d35285 Fix some error and warning in the NPC sample folder (#3458)
* exported EQI_MAX for getequipid.txt
2018-09-12 23:14:46 +02:00
Aleos
e6e0511cf7 Corrected a check for skill usage restrictions (#3472)
* Resolves an issue where the usage of self skills while a storage is open was causing the entire check to fail.
Thanks to @Tokeiburu!
2018-09-12 11:03:14 -04:00
rAthenaAPI
3ac7781c9d Effect State Update 2018-09-12 04:05:57 +02:00
Aleos
d17ddf41fe Corrected some weapon bonuses (#3466)
* Fixes #3465.
* Item bonuses AddEle, AddRace, AddClass, and AddSize now work with shields.
Thanks to @laziem!
2018-09-05 13:46:20 -04:00
Aleos
d3d8f3c5a7 Implemented official ammo equip behavior (#3438)
* Fixes #1155.
* Added specific checks for weapons when equipping ammo.
* Ammo is removed if the required weapon is removed.
* Added battle configs to disable behavior.
Thanks to @Atemo, @exneval, and @benching!
2018-09-05 10:44:34 -04:00
Aleos
618fc37eab Resolved Dynamic Mobs issue (#3467)
* Fixes #3464.
* Fixes Dynamic Mobs not being properly reloaded.
Thanks to @Litro!
2018-09-05 10:22:30 -04:00
rAthenaAPI
3c157f221d Effect State Update 2018-09-05 04:06:07 +02:00
Jonathan Matheus
c4cb25b6c0 Update map_msg_por.conf (#3453)
A current translation is missing several messages, so I added the missing ones and translated as I was getting langtype errors on the map-server.
2018-09-04 21:04:06 +02:00
keitenai
d7d012c5c1 atcommand identifyall follow up (#3463)
Fixed unreferenced local variable "i"
2018-09-03 10:03:16 +07:00
rAthenaAPI
10b5965d1d SQL synchronization 2018-09-01 22:27:36 +02:00
Atemo
32b199040b Implement items from ep16_2 (kRO 2016.03.09 and 2017.06.21) (#3454)
Thanks to @admkakaroto !
2018-09-01 22:27:23 +02:00
Atemo
9780b461f5 Clean-up HTF instance and fixed a quest warning in High Laphine#grenouille npc (#3457) 2018-09-01 22:19:24 +02:00
rAthenaAPI
4d610cc8e6 SQL synchronization 2018-09-01 21:53:57 +02:00
Aleos
71b8cbe1a4 Corrected Kimi Possession combo set (#3456)
* Fixes #3051.
* Corrected Kind Heart and Evil Spirit Gloves item bonuses.
* Added Hurt Mind and Kind Heart combo bonus.
Thanks to @Everade and @kukuasir!
2018-09-01 15:53:39 -04:00
Aleos
386ee35507 Updated mob_drop parsing (#3452)
* Fixes #3172.
* Mob Drop Database now updates an item's values if it is already dropped by a monster.
Thanks to @teededung!
2018-08-31 19:01:40 -04:00
Aleos
048de6c90a Cleaned up map property functions (#3460)
* Follow up to da83e61.
* Stop players from attacking when disabling PvP/GvG from script commands.
* Removes redundancy.
2018-08-31 18:42:18 -04:00
rAthenaAPI
e960f245b0 SQL synchronization 2018-08-31 20:34:28 +02:00
Atemo
82171c58d3 Updated default items's items script of attendance.yml (#3428)
Fixed #3331
2018-08-31 20:34:15 +02:00
Atemo
ee6009ffbb Adjust playtime check (#3455)
Thanks to @AzarthMZintos
2018-08-31 20:31:45 +02:00
aleos89
24de06c7fc Corrected SQL upgrade format
* Added back the aliases.
Thanks to @Haikenz!
2018-08-31 10:04:43 -04:00
aleos89
b05ca3bc32 Corrected SQL upgrade format
* Fixed incorrect ticks.
Thanks to @Haikenz!
2018-08-31 09:52:38 -04:00
rAthenaAPI
132d2130f5 SQL synchronization 2018-08-31 15:20:10 +02:00
Aleos
d699defa74 Updated Arch Bishop skills from kRO maintenance (#3258)
* Fixes #3231.
* Updated Arch Bishop skills from kRO maintenance: http://ro.gnjoy.com/news/update/View.asp?seq=222&curpage=1.
* Added two new skills: Vituperatum and Convenio.
Thanks to @secretdataz, @Rytech2, @Angelic234, @ecdarreola, @redlightliu, @laziem, @xTakami, @admkakaroto, @Tokeiburu, and @flamefury!
2018-08-31 09:19:59 -04:00
Atemo
fd4f7ccd5c Suggestion: identifyall script command (#3419)
* Implemented script command identifyall.
Thanks to @secretdataz for suggestions!
2018-08-30 10:03:03 -04:00
rAthenaAPI
e44f717ca6 SQL synchronization 2018-08-30 15:28:05 +02:00
Atemo
555e0c699c Implemented cards from ep 17.1 (kRO 2018.08.13) (#3449) 2018-08-30 15:27:56 +02:00
Atemo
440b243a40 Corrected item ID on Illusion Hunter Bow + Hunting Arrow combo
Thanks to @yoonjunho72 !

Fixed #3451
2018-08-30 15:25:25 +02:00
rAthenaAPI
2d02aff84b SQL synchronization 2018-08-30 00:19:51 +02:00
Atemo
87338504a6 Implemented cards from Dreamy Shadow Instance and Royal Members Cards (#3447) 2018-08-30 00:19:28 +02:00
rAthenaAPI
3c23d0738e SQL synchronization 2018-08-29 22:52:03 +02:00
Atemo
9c0010f375 Implemented news items from Illusion of Luanda (kRO 2018.04.18) (#3446) 2018-08-29 22:51:43 +02:00
rAthenaAPI
a67a7e9e08 SQL synchronization 2018-08-29 21:28:30 +02:00
Atemo
24f6c5e9eb Implemented news items from Illusion of Teddy Bear kRO 2018.03.09 (#3445) 2018-08-29 21:28:10 +02:00
rAthenaAPI
aa72af63d0 SQL synchronization 2018-08-29 16:58:33 +02:00
Atemo
9c27a5cdd7 Implemented news items from Illusion of Abyss kRO 2017.04.18 (#3444) 2018-08-29 16:58:24 +02:00
rAthenaAPI
acc66942df SQL synchronization 2018-08-29 15:32:50 +02:00
Atemo
91f2b7cceb Implemented news items from Illusion of Frozen kRO 2017.02.21 (#3441)
Additionnally corrected a mistake in Illusion_Puente_Robe item script
2018-08-29 15:32:42 +02:00
Aleos
3569789ab0 Corrected server info display (#3434)
* Fixes #3431.
* Corrected the VIP EXP bonus amount being displayed incorrectly for the personal information packet.
Thanks to @hendra814!
2018-08-29 09:29:21 -04:00
rAthenaAPI
12b8731cf7 SQL synchronization 2018-08-29 05:01:09 +02:00
rAthenaAPI
fe9dbf4787 Mob and NPC Identity Update 2018-08-29 05:00:48 +02:00
Aleos
ae7cb65a96 Fixed a potential crash (#3439)
* Fixes #3413 and fixes #3437.
* Removed extra dynamic storage clearings.
Thanks to @ecdarreola and @mazvi!
2018-08-28 19:22:41 -04:00
rAthenaAPI
f14885bc9b SQL synchronization 2018-08-28 20:36:43 +02:00
Atemo
0a8b17a171 Implemented news items from Illusion of Vampire kRO 2017.01.25 (#3440) 2018-08-28 20:36:24 +02:00
rAthenaAPI
cec65d5a73 SQL synchronization 2018-08-28 17:21:09 +02:00
Atemo
95b81cf5ea Implemented news items from Illusion of Moon Light (kRO 2016.12.27) (#3429) 2018-08-28 17:18:51 +02:00
aleos
5581da4bc4 Follow up to e469f5f
* Corrected map loaded message when no maps are removed.
2018-08-28 11:03:34 -04:00
Aleos
da83e61738 Corrected some map property issues (#3435)
* Resolves PvP timers and effects not displaying properly.
* Resolves any GvG effects not displaying properly.
* If PvP or GvG is disabled, stop players from attacking.
* Moved PvP timer and attack functions to appropriate locations.
* Removed redundancy from atcommands.
2018-08-27 20:28:18 -04:00
Aleos
0f7f66396c Corrected Blast Mine and Claymore Trap behavior (#3373)
* Fixes #3362.
* Damage should be split among targets.
Thanks to @zakudam!
2018-08-27 19:19:36 -04:00
aleos
e469f5fb62 Corrected a map server notification
* Corrected the removed maps notification not displaying properly.
2018-08-27 18:22:23 -04:00
Aleos
bde33e762c Cleaned up map data checks (#3405)
* Fixes #3398 and fixes #3402.
* Sped up pc_isUseitem, pc_setpos, and pc_dead map data checks.
Thanks to @uddevil!
2018-08-27 18:03:38 -04:00
Aleos
a5af358bf7 Updated mapcache tool (#3406)
* Fixes #3046.
* Mapcache tool now reads the import directory.
Thanks to @secretdataz suggestion!
2018-08-27 14:16:08 -04:00
Atemo
c856b07c45 Suggestion of 'killedgid', variable set when a monster is killed containing the monster game ID (#3418) 2018-08-23 15:49:32 +02:00
Atemo
d8bcc912d8 Fix for issue #3412 'Global instance timer' (#3414)
On official server the instance timer starts when the instance is created.
2018-08-23 15:48:54 +02:00
Atemo
8e51117aaa Updated accessory enchants of ep16 according to kRO 2015.02.25 (#3415)
* Additionally fixed a potential warning in RoomOfConsciousness.txt
2018-08-23 15:48:06 +02:00
rAthenaAPI
da18243981 SQL synchronization 2018-08-23 15:47:40 +02:00
Atemo
68d53c1940 Added card in monster's card slot for monster in sarah and fenrir instance (#3416) 2018-08-23 15:47:32 +02:00
Aleos
7730160299 Corrected a compilation error (#3423)
* Fixes #3422.
* Resolves CELL_NOSTACK having a compile error when enabled.
Thanks to @SnotraRM!
2018-08-23 09:21:02 -04:00
rAthenaAPI
429541fb81 SQL synchronization 2018-08-20 17:09:04 +02:00
Atemo
2e133ed07f Item scripts from kRO 2017.05.10 update (#3411)
Item scripts from kRO 2017.05.10 update
* Iara Card
* Piranha Card
* Curupira Card
* Tucan Card
* Jaguar Card
* Headless Mule Card
* Boitata Card

* 'Tucan Card' have been changed to 'Toucan Card' to match the monster's name which drops the card
* Added the cards in the monster's card drop slot as suggested by @Lemongrass3110 !
2018-08-20 17:08:53 +02:00
Kakaroto
ef2bf5b0ef Insignia MATK Fix (#3404)
Fix of the magic attack bonus of the skills was not increasing.
2018-08-18 14:19:28 +07:00
Lemongrass3110
f42696bfd7 Added new quest info icons
Fixes #3374

Thanks to @Balferian
2018-08-18 00:08:20 +02:00
Lemongrass3110
0d4b351703 Added Lutie Kafra in renewal
Fixes #2976

Thanks to @AzarthMZintos
2018-08-17 23:33:12 +02:00
rAthenaAPI
3fc88fe6c6 SQL synchronization 2018-08-17 10:27:35 +02:00
zackdreaver
91667a9a11 Update Renewal and Pre-renewal Morocc NPCs (#2977)
Fixes #3392 

Thanks to @zackdreaver, @AzarthMZintos and @Lemongrass3110
2018-08-17 10:27:26 +02:00
Lemongrass3110
ae89b3a7b2 Fixed a possible mapserver crash 2018-08-16 21:15:25 +02:00
Atemo
3d8104d7fb Suggestion: checkwall script command (#3393)
* Added checkwall script command
- Included the checkwall in npc folder
2018-08-14 20:58:49 +02:00
Sader Fawall
9cba66c22e Fix string case in inarray command script (#3401)
* Fixes #3400.
Thanks to @anacondaqq and @sader1992!
2018-08-14 12:26:29 -04:00
Aleos
4befcf747f Corrected SECURE_NPCTIMEOUT behavior (#3394)
* Fixes #3381 and fixes #3391.
* Properly end NPC sessions when a player times out.
Thanks to @mazvi, @anacondaqq, and @gustavobrigo!
2018-08-11 16:13:24 -04:00
Aleos
9ca000a4a7 Official Spiritual Sphere Absorption behavior (#3367)
* Follow up to 4f97c74.
* Fixes #3357.
* Updated Sphere Absorption to official behavior
* Sphere Absorption will fail if casted on an ally.
* Should only succeed on self or enemy targets.
* Removed Cursed Circle check as it's not needed anymore.
2018-08-10 20:29:05 -04:00
Yashim Wong
c731465a52 Updated Acid Terror damage modifier for renewal (#3346)
* Renewal formula adjusted to 80 * skillLevel + 200.
Thanks to @syracuase and @mrjnumber1!
2018-08-10 17:54:12 -04:00
Aleos
2ab298076c Cleaned up header guard names (#3395)
* Fixes #3385.
* Updated the header guard names to C++ standards.
Thanks to @elfring's suggestion!
2018-08-10 15:57:50 -04:00
Aleos
48ae1a1e05 Cleaned up map storage type (#3384)
* Fixes #3369, fixes #3370, and fixes #3382.
* Converted maps storage container back to static array.
* Converted mapflag storage containers to unordered_map.
* Removed a lot of redundancy and recursive lookups.
* Fixed a couple short-circuit checks to help with performance.
* Fixed multiple instance creation/destruction issues.
* Fixed PK Mode attempting to set PvP on flags that are already active.
* Getting MF_RESTRICTED will return the map's zone value instead of the state.
* Converted mapflag macros to inline functions.
Thanks to @teededung, @lelouch22, @mazvi, @Lemongrass3110, and @cydh!
2018-08-10 13:52:07 -04:00
rAthenaAPI
11b255e0e9 SQL synchronization 2018-08-07 05:01:22 +02:00
rAthenaAPI
5032a5fb59 Mob and NPC Identity Update 2018-08-07 05:00:56 +02:00
Cydh Ramdh
83c8183a2e Added IG_PRIVATE_AIRSHIP (#3378)
* Item group for Private Airship tickets
2018-08-06 08:06:30 +07:00
rAthenaAPI
a0f55ac7e0 SQL synchronization 2018-08-05 00:39:06 +02:00
BrOgBr
f69d5d397d Fixed some items and combos (#3352)
* Fixed some items and combos

Thanks to https://divine-pride.net to provide them!
2018-08-05 00:38:52 +02:00
Atemo
fce5919bce Corrected npc's name (warnings from emotion command) (#3388) 2018-08-05 00:00:11 +02:00
Maz-V
7593ae52dd Fix No such NPC 'Sweet Married Couple#dew2' (#3380) 2018-08-04 22:04:49 +02:00
Maz-V
68fccf447b Fix wrong npc name for emotion in malangdo (#3375) 2018-08-01 23:11:24 +02:00
rAthenaAPI
374bfa72cb SQL synchronization 2018-08-01 06:01:25 +02:00
rAthenaAPI
b469e91616 Mob and NPC Identity Update 2018-08-01 06:00:59 +02:00
rAthenaAPI
aa40c3a7ba SQL synchronization 2018-08-01 04:01:28 +02:00
rAthenaAPI
0891da004e Mob and NPC Identity Update 2018-08-01 04:01:01 +02:00
Atemo
5f5df82d7f Wolfchev lab prerequisite (#3372)
Prerequisite is Cursed Spirit Quest

Thanks to @admkakaroto !
2018-08-01 00:30:48 +02:00
Jittapan Pluemsumran
3165e52123 Added .editorconfig file to force editor settings for certain file types (#3334) 2018-07-30 15:27:33 +07:00
Lemongrass3110
a05ed6e814 Fixed walk_choices's type (#3353)
Fixes #3310

Replaced some still hardcoded values with their define constants.
Added a function to check if a walk will be diagonal and fixed invalid calculation for it.

Thanks to @DavidPS92
2018-07-30 00:24:31 +02:00
Aleos
4f97c749c4 Corrected Spiritual Sphere Absorption and Cursed Circle interaction (#3358)
* Revert of 9a009bf.
* Spiritual Sphere Absorption should still take the spheres from the target even if Cursed Circle is used on the caster.
Thanks to @Raf4h!
2018-07-29 17:16:04 -04:00
rAthenaAPI
45dad2cd1d SQL synchronization 2018-07-29 20:11:29 +02:00
Lemongrass3110
8dea04a8b3 Initial release of private airship system (#3354)
Fixes #3314 

Thanks to @aleos89 for his help.
2018-07-29 20:11:15 +02:00
Cydh Ramdh
3de9a44f9a Fixes channel command crash (#3364)
* Fixed #3363
2018-07-29 17:48:24 +07:00
Aleos
584fcac43a Cleaned up map data storage (#3347)
Follow up to a942853.
Fixes #3336.
Moved map_data storage to std::map container.
Created map_getmapdata to obtain pointer to map_data.
Got rid of MAX_MAP_PER_SERVER define.
Resolved deletion of instances causing other instances to lose their intended map ID.
Refactored warp suggestions

Thanks to @teededung, @anacondaqq, @cydh and @Lemongrass3110!
2018-07-26 01:06:59 +02:00
Cydh Ramdh
62ac5be447 Update tools/config.pl (#3322)
* Corrected target config variables
2018-07-26 05:52:58 +07:00
Gustavo Brigo
952ac43e59 Fixed EXP bug and added failsafe to family check functions (#3350)
Fixes #3349
2018-07-25 21:58:58 +02:00
BrOgBr
fa4021d217 Fixed a mistake in 2008 headgear quest (#3344)
Fixes  #3343

Thank you @Kutikuti
2018-07-25 21:04:16 +02:00
rAthenaAPI
534b666ffa SQL synchronization 2018-07-25 06:01:00 +02:00
rAthenaAPI
90cef1e536 Mob and NPC Identity Update 2018-07-25 06:00:42 +02:00
Lemongrass3110
6b3f0717c7 Hotfix for issue 3277 (#3279)
Fixes #3277 

Thanks to @cydh and @aleos89
2018-07-24 22:55:17 +02:00
Lemongrass3110
95c3aed810 Fixing party death icon in newer clients
Fixes #2356

Thanks to @admkakaroto and @4144
2018-07-23 23:05:18 +02:00
Aleos
9313922656 Further cleanup to mapflags (#3332)
* Follow up to a942853.
* Removed ADJUST_SKILL_DAMAGE define so that the mapflag is always enabled.
* Cleaned up atcommand mapinfo and skill_damage mapflag interaction.
* Cleaned up atcommand mapflag to not allow setting of special mapflags that require extra arguments (Please use script command setmapflag).
* Using script command setmapflag for MF_NOSAVE will default to SavePoint.
* Using script command setmapflag for MF_PVP_NIGHTMAREDROP will default to normal official drop values.
* Exported constants for skill_damage mapflag types.
Thanks to @ecdarreola, @cydh, and @Lemongrass3110!
2018-07-23 13:40:35 -04:00
rAthenaAPI
1d88575f90 SQL synchronization 2018-07-20 18:51:26 +02:00
Atemo
7717c1e6bc Update Airship Assault Monster stats (#3338)
* Update Airship Assault Monster stats

Thanks to @Lemongrass3110, @gladio78 and https://www.divine-pride.net !
2018-07-20 18:51:11 +02:00
Lemongrass3110
58eadcda15 Fixed npc location for Lutie quest (#3329)
Fixes #3316

Thanks to @AzarthMZintos and @aleos89
2018-07-19 21:22:12 +02:00
Lemongrass3110
123303ef84 Fixed missing curly braces in reloadscript
Fixes #3330

Thanks to @hendra814
2018-07-19 08:26:06 +02:00
Aleos
a942853d55 Cleaned up the mapflag system (#2943)
* Created setter and getter functions.
* Adjusted all calls to use these functions.
* Converted mapflags to C++ map container.
* Converted drop_list to vector.
* Converted skill_damage ERS into vector and increased limit from UINT8 to UINT16.
* Cleaned up several functions to be more dynamic to reduce redundancy that was all over the place.
* Renamed nosumstarmiracle to nosunmoonstarmiracle.
* Adjusted skill_damage mapflag to use proper defined constants.
* Refactored map index into a vector.
Thanks to @Lemongrass3110 for a lot of help and @secretdataz!
2018-07-18 20:00:33 -04:00
Aleos
bbe552d1d3 Resolved Guild Storage Expansion not updating (#3321)
* Fixes #3317.
* Resolves the Guild Storage Expansion skill not refreshing the map server cached data.
* Updated some inter server checks to grab the proper max size of guild storages.
Thanks to @admkakaroto and @Lemongrass3110!
2018-07-18 17:10:07 -04:00
rAthenaAPI
8a353697b0 Effect State Update 2018-07-18 05:06:17 +02:00
rAthenaAPI
726f9302e5 SQL synchronization 2018-07-18 05:01:23 +02:00
rAthenaAPI
8a5b0a6aa4 Mob and NPC Identity Update 2018-07-18 05:00:56 +02:00
Aleos
b409936f8d Updated max recovery weight to 70% for renewal (#3309)
* Fixes #2622.
* Added a new battle config for renewal.
* Adjusted the battle config to support dropping the recovery weight to 0.
* Added the new weight limit packet.
Thanks to @functor-x and @Lemongrass3110!
2018-07-17 16:18:39 -04:00
rAthenaAPI
f85dc5762d SQL synchronization 2018-07-16 21:40:19 +02:00
Lemongrass3110
a5588dd9ab Initial Release of Attendance Feature (#3297)
Thanks to @secretdataz and @aleos89 for their help.
Thanks to @Haikenz and @admkakaroto for testing.
Thanks to @Daegaladh for his ideas.
2018-07-16 21:39:42 +02:00
flamefury
030443c9d3 Negative MDEF should not increase damage taken from magic (#3190)
* Fixes #3189.
* MDEF should never go below 0.
Thanks to @flamefury!
2018-07-16 12:43:29 -04:00
Atemo
f1f4709127 Added extra nowarpto on some maps (#3320) 2018-07-16 17:02:16 +02:00
flamefury
1a6bc209a8 Freezing and Burning can occur at the same time (#3313)
* Fixes #3312.
* Freezing and Burning should be able to be stacked.
Thanks to @flamefury!
2018-07-16 10:10:51 -04:00
Lemongrass3110
c4d7dc76d3 Hid timer function parameters in a macro (#3311) 2018-07-15 23:17:15 +02:00
rAthenaAPI
ec1d6d28d7 SQL synchronization 2018-07-13 15:49:41 +02:00
Atemo
7a8ac46421 Banquet for Heroes ep 16.1 (#3234)
Banquet for Heroes ep16.1 - walkthrough conversion
* Added main quests of ep16.1 and the quests entries
*** Walther's daily quest will be enabled after quest_db refactor
* Added instances Ritual of Blessing and Room of Consciousness
* Added monsters spawn and entries on prt_prison, prt_cas and prt_q maps
* Prontera castle map changed in this ep
- Moved some NPCs from prt_castle to prt_cas
- Added warps on prt_cas
- Succession of the Prince quest is removed in ep16.1

Thanks to @admkakaroto, https://www.divine-pride.net/ 
@yoonjunho72, @teededung, @ecdarreola, @spinzaku and to all the contributors !
2018-07-13 15:49:33 +02:00
rAthenaAPI
e832eb77e2 SQL synchronization 2018-07-11 00:00:34 +02:00
Atemo
cd05eb1500 Corrected TWO skills according to aegis datas (#3307) 2018-07-11 00:00:12 +02:00
Aleos
bfd7af3423 Fixed Guild Storage Expansion skill saving (#3306)
* Fixes #3301.
* Force the Guild Storage Expansion skill to save on level up so the next time the guild storage is opened the proper increase is shown.
Thanks to @spinzaku!
2018-07-10 16:46:20 -04:00
Aleos
042b88623b Pets should mimic master's walk speed (#3303)
* Pets should have the same walk speed as their master.
* Corrected homunculus speed check to use the proper battle config.
2018-07-09 17:29:55 -04:00
Aleos
eeb0192318 Adjusted Shield Chain range (#3299)
* Shield Chain should be melee skill, not ranged.
2018-07-08 20:39:18 -04:00
Aleos
3de5824757 Adjusted Amistr's Defense behavior (#3300)
* Effect should not be shown above master.
2018-07-08 18:28:09 -04:00
Aleos
fdd2475622 Corrected some item bonuses not triggering (#3298)
* Fixes #3265.
* Fixes bAddDamageClass, bAddMagicDamageClass, bAddDefMonster, and bAddMDefMonster not checking for the correct source/target class.
Thanks to @uddevil!
2018-07-08 17:44:20 -04:00
Lemongrass3110
b2c026d4b0 Cleaned up Summer 2 code (#3294)
Fixes #3293

Thanks to @Everade for reporting.
2018-07-08 11:58:50 +02:00
Aleos
f2437f4a63 Updated Masquerade effects (#3291)
* Masquerades are now unable to effect Boss monsters.
2018-07-07 19:49:51 -04:00
Aleos
20a72e0c6b Updated Axe Mastery behavior (#3292)
* Axe Mastery does not increase damage for 2H Swords.
2018-07-07 18:20:42 -04:00
Lemongrass3110
74efc7d65d Added empty packet functions for private airship
Thanks to @Daniel4rt
2018-07-07 18:47:38 +02:00
Atemo
12f62e6302 Quest warning in quests_amatsu.txt (#3296) 2018-07-07 15:53:25 +02:00
Sader Fawall
500cfdc41f Missing returns for inarray and countinarray (#3295)
Added some return cases if empty arrays are given to these two commands.

Thanks to @sader1992
2018-07-07 13:46:14 +02:00
rAthenaAPI
255baff290 SQL synchronization 2018-07-06 22:40:27 +02:00
Lemongrass3110
fe7c0a78ec Refactored roulette system (#3271)
Fixes #2887 - thanks to @Everade
Fixes #3292 - thanks to @admkakaroto

Added a script command to open the roulette window from server side.
Added support for clients >= 2018-05-16
Fixed losing behavior for roulette
Enabled roulette system by default
Added a server side delay
Added missing sql log enum value 'Y'

Thanks to @Everade, @admkakaroto, @V0rr, @ecdarreola, @Haikenz and everyone else who contributed to this.
2018-07-06 22:39:58 +02:00
Aleos
d612788ed7 Updated Shield Spell behavior (#3290)
* Fixes #3236.
* Shield Spell is now canceled when the user switches shields.
Thanks to @EthernalFriend and @MrLekkz!
2018-07-06 13:30:38 -04:00
Aleos
6b148d5c35 Corrected SC_MTF_CRIDAMAGE bonus not triggering (#3289)
* Resolves SC_MTF_CRIDAMAGE never triggering the critical damage bonus.
2018-07-06 10:42:55 -04:00
Lemongrass3110
cea5ad7199 Fixed a bug with warlock's spheres (#3288)
Fixes #3264

Thanks to @nornane for reporting this and coming up with a solution.
2018-07-06 07:52:04 +02:00
Atemo
4db212bf1b Academy monster re-spawn (#3280)
* This PR adds a custom delay to avoid abusive behaviour in the novice academy.
2018-07-06 01:46:56 +02:00
Lemongrass3110
91169d7ebc Fixed a few compiler warnings on clang (#3263)
Mostly pointer-bool-conversion and autological-pointer-compare
2018-07-05 22:53:20 +02:00
Atemo
532e043490 Fixed issue #3286 and corrected npc name (#3287)
Thanks to @AzarthMZintos !
Fixed #3286
2018-07-05 02:13:12 +02:00
Balfear
1b72f727b8 Fixed incorrect drop_id in quests (#3283)
Fixed incorrect drop_id in Eclage quests.
Fixed #3282
2018-07-04 15:54:27 +02:00
Atemo
6b19b72def Follow up 6e8599cd5b
Corrected wrong eq num

Thanks to @teededung !
2018-07-04 15:50:06 +02:00
rAthenaAPI
a0496c4817 SQL synchronization 2018-07-04 05:01:32 +02:00
rAthenaAPI
e06984a73e Mob and NPC Identity Update 2018-07-04 05:01:03 +02:00
rAthenaAPI
948c31d4b8 SQL synchronization 2018-07-04 04:01:38 +02:00
rAthenaAPI
3f1de9c45a Mob and NPC Identity Update 2018-07-04 04:01:06 +02:00
Atemo
6e8599cd5b Extra npc checks (#3274)
* Extra checks
- Added some extra check in npcs script to prevent wrong behaviour
2018-07-03 23:24:04 +02:00
Atemo
84299027bc Added comments in custom quest_shop.txt (#3270) 2018-07-03 19:56:03 +02:00
Atemo
f979710985 Fixed rate for HD material in shadow refiner npc (#3276)
- HD ore have normal rates on official
2018-07-03 16:04:18 +02:00
Aleos
e13ca63cc8 Added Guild Storage Expansion Skill (#3244)
* Fixes #499 and part of #1303.
* Implements Guild Storage Expansion Skill which requires client 2013-12-23 or newer (enable by default depending on client date in src/config/packets.hpp).
* Implements guild storage permission which requires client 2014-02-05 or newer.
* Expanded script command guildopenstorage return values.
2018-07-03 08:49:34 -04:00
Atemo
e4eddc3e61 Fixed for issue #3273 (#3275)
The npc should give Gunslinger Manual when the player doesn't have one
Fixed #3273

Thanks to @lRaikeNl !
2018-07-03 01:51:26 +02:00
Lemongrass3110
a8b7476c96 Updated travis script
Added MariaDB build template
Added early termination if one of the steps fails
2018-07-02 22:54:47 +02:00
Lemongrass3110
145b60f7b6 Added support for packet sending map data(0xAC5) 2018-07-02 22:39:06 +02:00
Lemongrass3110
3faf700443 Added possibility to log without attached player (#3260)
Fixes #2268

Thanks to @Akkarinage
2018-07-02 11:45:55 +02:00
Cydh Ramdh
ce9cbd2e65 Fixed logging of #CASHPOINTS and #KAFRAPOINTS (#3252)
* Fixes #2169
* #CASHPOINTS and #KAFRAPOINTS now will be logged correctly when used by scripting
* Fixed a bug where points removed cash as well
* Small cleanup for pc_paycash and pc_getcash
* Thanks to @Lemongrass3110, @ecdarreola
2018-07-02 13:21:41 +07:00
Lemongrass3110
b3a51eaa35 Fixed broken guild notices (#3262)
Fixes #641

Thanks to @tmav94, @RadianFord, @Akkarinage and @vykimo
2018-07-01 23:22:22 +02:00
Lemongrass3110
b3643bfe45 Added a 'force' option to attachrid (#3261)
Fixes #1763
2018-07-01 22:28:56 +02:00
Cydh Ramdh
e7fd6aa5bd Enable autobonus to be reactivated (#3199)
* Fixes #3039, #3158
* Thanks to @Raf4h @laziem
2018-06-28 20:56:39 +07:00
Lemongrass3110
a4336fd8ae Fixed compiler warnings in malloc.cpp on x86
Fixes #3248

Thanks to @laziem
2018-06-27 22:42:11 +02:00
Lemongrass3110
796a67be4b Fixed Silvervine Root Twist animation for players (#3255)
Fixed status changes that are displayed for players that walk into the area after status change start being sent out with an invalid duration, since the timer was not yet created and causing an infinite duration packet to be sent.

Fixes #3182

Thanks to @Everade
2018-06-27 22:08:52 +02:00
rAthenaAPI
f196304f0e SQL synchronization 2018-06-27 09:58:16 +02:00
Jittapan Pluemsumran
cd1dd886b1 Merge pull request #3243 from rathena/hotfix/refineable_acc 2018-06-27 14:58:05 +07:00
rAthenaAPI
abe46baa97 SQL synchronization 2018-06-27 09:56:38 +02:00
crazyarashi
8c4be8db03 Bunker Shield's item script fix. (#3250)
* Bunker Shield's item script fix.

Fix the Item ID: 28915 Bunker Shield's item script.

* ASPD Bonus Add

Added the missed ASPD bonus.

* Change ASPD Bonus to -

* Corrected Bonus.

Thanks to Atemo for noticing it :))
2018-06-27 14:56:27 +07:00
Lemongrass3110
55f1b01bd8 Removed useless debug variables for an old issue (#3247)
Closes #1986
2018-06-27 07:37:35 +02:00
rAthenaAPI
852f893a81 SQL synchronization 2018-06-27 05:01:02 +02:00
rAthenaAPI
9a7617cfc5 Mob and NPC Identity Update 2018-06-27 05:00:44 +02:00
Lemongrass3110
9a7e27b690 Added clan name display
Clients that do not support this ignore this anyway.
Party name is not displayed when you are in a clan unlike with a guild.
You can use display_party_name if you want to show it.
2018-06-27 00:29:35 +02:00
Atemo
915c15622c Typo fixed in guildcastles.txt (#3253) 2018-06-26 23:42:12 +02:00
rAthenaAPI
0047d4168d SQL synchronization 2018-06-25 23:42:07 +02:00
BrOgBr
1c9506277c Fixed and Improved 18673 script and Fixed Imperial Spear script (#3233)
* Fixed and Improved 18673 script and combo

Fixed #3240

Thanks @slyx88
Thanks Lemongrass3110 and @Atemo
2018-06-25 23:41:37 +02:00
Atemo
9c50cd7606 Follow-up 380dde040c
- Fixed more accessory being refineable
2018-06-25 19:40:52 +02:00
Lemongrass3110
3733044858 Added jTynne to mailmap 2018-06-25 02:43:21 +02:00
Lemongrass3110
4044966e38 Added a build test for GCC-8 (#3230) 2018-06-24 23:19:11 +02:00
Lemongrass3110
880e227ea2 Cleaned up some hardcoded variables (#3237) 2018-06-24 22:16:28 +02:00
Atemo
1887355536 Additionally removed refineable value from "Dungeon_Ticket" (usable item) 2018-06-24 16:36:39 +02:00
Jittapan Pluemsumran
380dde040c Fixed some accessory being refineable 2018-06-24 21:03:18 +07:00
Cydh Ramdh
d5a815a6e2 Added item random options into picklog (#3239)
* Fixes #3238
2018-06-24 21:00:32 +07:00
Lemongrass3110
23f7b945ec Fixed a map-server crash from getitem3 (#3122)
Fixes #3121

Wrong usage by supplying a non-array variable.
Using a non-server variable without having a player attached.

Thanks to @Everade
2018-06-23 18:49:38 +02:00
Lemongrass3110
4633ab5ca1 Fixed CMake on Windows (#3204)
It is now usable in Visual Studio as well
2018-06-21 00:26:40 +02:00
Aleos
11b42569fc Synchronized source file headers (#3212)
* Alphabetically sorted includes.
* Updated copyright and license text to match across all files.
* Removed pragma once define in header files in lieu of ifdef guards.
2018-06-20 18:08:30 -04:00
Aleos
aef2356134 Corrected Sightless Mind range (#3215)
* Fixes #3210.
* Sightless Mind splash range should be 9 cells.
Thanks to @Everade!
2018-06-20 17:42:27 -04:00
Lemongrass3110
21cb1a2260 Fixed MariaDB compilation problems
Credits to Sergei Golubchik on https://jira.mariadb.org/browse/MDEV-13773
2018-06-20 17:41:10 +02:00
Lemongrass3110
90083fc7f9 Another follow-up for 6c0da90
Added missing npc load.

Thanks to @BrOgBr and @Haikenz
2018-06-20 10:24:38 +02:00
Daniel Bernard
87913bcdc1 Corrected spelling and made name change in Rune Knight Job Change Quest (#3222)
* Fixes #3220.
* Correct Jungberg's name in Rune Knight Job Change Quest.
* Corrected spelling in Rune Knight job change quest.
Thanks to @danielbernard and @zackdreaver!
2018-06-19 12:13:42 -04:00
aleos89
8e9f7a59e3 Follow up to 375f0ae
* Crystallize Wind damage increase should only apply to Magic-type skills.
Thanks to @flamefury!
2018-06-19 12:10:27 -04:00
Aleos
375f0ae465 Corrected Crystallized state effect (#3226)
* Fixes #3225.
* While Crystallized Wind damage is increased 50%.
* Corrected an arrow state check for Crystallization on weapon damage reduction.
* Corrected elemental damage calculation for targets in pre-renewal mode.
Thanks to @flamefury!
2018-06-18 16:51:43 -04:00
Aleos
f3eab9dd4a Corrected Cloud Kill behavior (#3127)
* Fixes #2731.
* Corrected Cloud Kill status being removed and not damaging players who are in the AoE.
Thanks to @redlightliu!
2018-06-18 16:02:04 -04:00
flamefury
5e9a23de03 Updated Freezing effects (#3207)
* Fixes #3191.
* Adjusted movement speed reduction from -50% to -70%.
* Adjusted ASPD reduction from -15% to -30%.
* Adjusted physical DEF reduction from -10% to -30% for players only (mobs are still -10%).
* Adjusted variable cast time increase from +15% to fixed cast time +50%.
Thanks to @flamefury!
2018-06-18 13:13:27 -04:00
rAthenaAPI
f75b845430 SQL synchronization 2018-06-18 18:31:22 +02:00
Aleos
4a64eb49b3 Corrected End Sektura bonus (#3216)
* Fixes #3213.
* Should inflict Crystallization status, not Freeze.
Thanks to @flamefury!
2018-06-18 12:31:06 -04:00
Daniel Bernard
f67b353ac0 Corrected spelling issues in Dewata Quests (#3218)
* Fixes #3217.
* A number of spelling and grammatical issues across the Dewata quests fixed in addition to the above issue.
Thanks to @danielbernard and @teededung!
2018-06-18 10:56:45 -04:00
Cydh Ramdh
105cc3ab7d Fixed over refine bonus (#3194)
* Fixes #3193
* Overrefine never been calculated in renewal
2018-06-17 11:02:36 +07:00
rAthenaAPI
49ebb1a578 SQL synchronization 2018-06-17 03:22:29 +02:00
Aleos
a215ed97bd Corrected Devil Whisper Costume drops (#3214)
* Fixes #3211.
* The Angel and Demon drops were swapped.
Thanks to @Everade!
2018-06-16 21:22:06 -04:00
Aleos
1ce3792a3a Resolved some compile issues (#3206)
* Fixes #3205.
* Follow up to 801d3ed.
* Resolved some string literals requiring a space.
* Redefine my_bool for MySQL 8.0 or later.
Thanks to @bentheexo and @secretdataz!
2018-06-16 18:50:02 -04:00
Atemo
006efe11ed Updated custom mushroom script (#3202)
* Slight edits of custom Mushroom Event
- changed the monster count variable to mobcount script command
- changed killmonster label to only kill the mushrooms of the event
2018-06-16 19:49:52 +02:00
Atemo
967f28ed00 Follow-up 6c0da909d8
- Added missing checkweight and delitem

Thanks to @Balferian !
2018-06-15 21:34:15 +02:00
rAthenaAPI
64eaf0f2f5 SQL synchronization 2018-06-15 15:52:08 +02:00
Atemo
6c0da909d8 Hero ring exchanger and enchant npcs (#3203)
* Some texts and system are customs
2018-06-15 15:51:57 +02:00
rAthenaAPI
43513e9ba5 SQL synchronization 2018-06-14 23:28:29 +02:00
Aleos
dc413a3c57 Updated Mado Gear effects (#2103)
* Fixes #2099.
* Added Emergency Magic Gear.
-- Mounts the user to a Madogear.
-- Only usable by Mechanic class.
-- Has a reuse delay of 3 minutes.
* Increased maximum weight limit by 1500.
* HP naturally recovers similar to Swordman Moving HP-Recovery.
* Updated Emergency Cool's interaction with Overheat calculation.
* Added new Emergency Cool cooling devices.
* The three cooling devices now lower Overheat by 45, 75, and 105 respectively.
* Overheat now only increases on every attack by 1 or by 3 with Fire element.
* The Overheat limit is increased to 150, 200, 280, 360, and 450 respective to skill level.
* Updated the check for Acceleration, Self Destruction, Shape Shift, Emergency Cool, Magnetic Field, Neutral Barrier, and Stealth Field to also check inventory for required equipment.
* Updated Magic Gear Master NPC.
-- Added Emergency Magic Gear purchase option.
-- Added High Quality Cooler and Special Cooler upgrade options.
Thanks to @Felleonel, @Rytech2, @exneval and @mrjnumber1!
2018-06-14 17:28:16 -04:00
Lemongrass3110
801d3ed942 Moved common, config and mapcache to C++ (#3200)
Dropped BETA_THREAD_TEST and everything around it
Dropped mt19937
Replaced msinttypes with cinttypes
Removed IRC link and updated README name
2018-06-14 21:51:58 +02:00
Lemongrass3110
fc951469e7 Initial support for Star Emperor and Soul Reaper (#3184)
Merges 3CeAM/3CeAM@7df0f57 and 3CeAM/3CeAM@028d2e8
Credits to @Rytech2
2018-06-14 08:16:10 +02:00
aleos
3a918fa4a1 Removed an extra semicolon
Thanks to @Haikenz!
2018-06-13 17:24:01 -04:00
Aleos
7c4d769234 Added Old Glastheim Buffs (#3167)
* Fixes #2772.
* Added missing Old Glastheim buffs.
* Added buffs to Old Glastheim script.
* Renamed Glastheim -> Glast Heim.
Thanks to @Atemo and @mrjnumber1!
2018-06-13 15:55:30 -04:00
Cydh Ramdh
87db2326b4 Added missing maps to map_cache and its mapflags (#3198)
* Added missing maps to map_cache and its mapflags
* Added nowarp, nowarpto, pvp_noparty for RWC maps suggested by @Atemo 
* Added mapflag/gvg_noparty.txt file to ignores party alliances on GvG-enabled maps.
2018-06-13 20:35:26 +02:00
rAthenaAPI
5a4295ce73 SQL synchronization 2018-06-13 20:33:46 +02:00
Atemo
d388a7122b Initial release of morse cave instance (#3173)
* Initial release of morse cave instance
* Implemented NPC_JACKFROST skill

Thanks to @laziem, @ecdarreola, @Questune09 and https://www.divine-pride.net !
2018-06-13 20:33:36 +02:00
rAthenaAPI
7653d4f93a SQL synchronization 2018-06-13 16:44:09 +02:00
Daniel Bernard
e4a80565b8 Fix Bloody_Roar and Bloody_Roar_C item scripts (#3201)
* Fixes #3197.
* Bloody_Roar: Perfect dodge should not be affected, Flee should be reduced by Agi + BLvl instead of flat -160
* Bloody_Roar_C: Flee/Perfect dodge should not be affected, should restore 3 HP every 5 seconds
Thanks to @danielbernard!
2018-06-13 10:44:01 -04:00
Lemongrass3110
85413183d9 Added Valaris to mailmap 2018-06-13 01:30:22 +02:00
Atemo
acebcd38bc Added missing maps to map_cache (#3192)
* Added missing maps to map_cache
- additionnally removed the commented 'extra maps'
- Added mapflags on instances and dungeons maps

Credit to @zackdreaver for some map name
2018-06-12 16:19:56 +02:00
Lemongrass3110
98e2cfd22b Added Inkfish to mailmap 2018-06-12 10:27:55 +02:00
rAthenaAPI
52c5c18337 SQL synchronization 2018-06-12 05:00:35 +02:00
rAthenaAPI
723cdf87c4 Mob and NPC Identity Update 2018-06-12 05:00:23 +02:00
rAthenaAPI
6ca18bd2e8 SQL synchronization 2018-06-10 17:41:29 +02:00
BrOgBr
f7c62d28aa Many fixes at items databases (#3136)
* Many fixes at items databases pre-renewal and renewal
2018-06-10 17:41:22 +02:00
rAthenaAPI
076ef546e0 SQL synchronization 2018-06-10 17:38:54 +02:00
Daniel Bernard
00e518b24d Corrects Variable Cast Rate for Geffen Magic Robe (Renewal) (#3196)
* Correct Variable Cast Rate for Geffen Magic Robe
* Fixes #3195
* Geffen Magic Robe (Renewal) (15074) is currently set to reduce variable cast rate by 15%, with an additional 5% at refine level 9. This should be an increase of 15%, reduced to 10% at level 9.

Thanks to @Balferian !
2018-06-10 17:38:48 +02:00
Aleos
f4e8dee5d6 Corrected Tarot Card dispelling Clan buffs (#3186)
* Corrected Tarot Card dispelling Clan buffs
* Fixes #3179.
* Resolved Tarot Card dispelling Clan buffs from players.
* Added Doram buffs and RODEX from being Dispelled as well.
Thanks to @cahya1992!
2018-06-08 10:14:02 -04:00
rAthenaAPI
046d2e6c44 SQL synchronization 2018-06-07 19:39:07 +02:00
Aleos
f675895955 Fixed Chewy Ricecake and Oriental Pastry bonuses (#3187)
* Fixes #3180.
* Bonuses should last for 30 minutes, not 3 minutes.
Thanks to @Everade!
2018-06-07 13:38:56 -04:00
rAthenaAPI
92530045e2 SQL synchronization 2018-06-07 16:16:31 +02:00
Aleos
879ef2afaa Fixed Goldsmith Dagger class equip requirement (#3188)
* Fixes #3181.
* Should be able to be worn by 2-1 and 2-2 classes as well.
Thanks to @Everade!
2018-06-07 10:16:23 -04:00
Lemongrass3110
b2594f4842 Added new jRO hat effects 2018-06-06 23:38:29 +02:00
Aleos
ef046159d6 Updated Achievement database (#3165)
* Added new achievement.
* Updated score for Exploring Poring's life (2).
* Updated Reborn in Valhalla reward.
* Removed The Beginning of Outdoor and The First Step Becoming a Chef achievements as they are no longer listed.
2018-06-06 14:27:29 -04:00
rAthenaAPI
2e15fae725 SQL synchronization 2018-06-05 04:00:45 +02:00
rAthenaAPI
7c3158b367 Mob and NPC Identity Update 2018-06-05 04:00:32 +02:00
Atemo
f025be5f17 Added lhz_d_n2 map (#3183)
Added mapflags on several maps
2018-06-03 15:45:49 +02:00
rAthenaAPI
1b6aab3667 SQL synchronization 2018-05-30 23:13:49 +02:00
Atemo
d2b5222da6 Corrected airship monster item drop slot (#3174)
* Follow-up c1c308a1d4
- changed the item drop slot of some airship instance monsters
- added the Captain Felock Card to Felock
2018-05-30 23:13:38 +02:00
rAthenaAPI
c68da31f67 Effect State Update 2018-05-30 05:06:10 +02:00
rAthenaAPI
73584c6c9a Mob and NPC Identity Update 2018-05-30 05:00:31 +02:00
rAthenaAPI
dc3bac8245 SQL synchronization 2018-05-29 16:16:28 +02:00
Atemo
c1c308a1d4 Script/airship instance (#3141)
* Initiale release of Instance Airship Assault

Walkthrough of airship assault instance based on Ziu's work
Thanks to @aleos89, @secretdataz and https://www.divine-pride.net/ !
2018-05-29 16:16:21 +02:00
Aleos
9d176c9f1d Corrected B.S. Sacramenti behavior (#3149)
* Fixes #611.
* Status is now removed on player log out.
* Status is not given to targets who have the Undead/Demon element.
Thanks to @Atemo!
2018-05-28 12:52:30 -04:00
Aleos
fb951d2b7f Corrected Mora NPC name (#3170)
* Fixes #3155.
* Adjusted Mora NPC from General Good Deal -> General Goods Dealer.
Thanks to @teededung!
2018-05-28 12:37:14 -04:00
rAthenaAPI
6842798d6e SQL synchronization 2018-05-28 15:48:58 +02:00
Atemo
6c64fc9587 Imperial Set Combos BIS (#3166)
* Follow up 87e7e8891b

- combo 18823:19246 : value for bResEff should be 10000 to immune the status
- combo 18823:28372 : according to the description the cast reduction is 2s
- item Imperial_Feather : according to the description of ID 18823 the bonus apply when base agi is 108 too

* Reverted combo 18823:28372 to match the database value, thanks to @aleos89 !
2018-05-28 15:48:52 +02:00
rAthenaAPI
847fdc9e13 SQL synchronization 2018-05-28 13:14:26 +02:00
Cydh Ramdh
36c15d151d Corrected item type for Biscuit Sticks to usable item (#3153)
* Changes for Biscuit Sticks with id 14616-14621
2018-05-28 18:14:19 +07:00
Lemongrass3110
dd60f4c47e Added 2 new parameters for getpetinfo (#3164)
Fixed inter-server handling for creation of pets that are not incubated.

Thanks to @Everade for his idea.
2018-05-27 22:52:08 +02:00
Sader Fawall
151c8476af inarray script commands (#3071)
Thanks to @anacondaqq, @Lemongrass3110, @Jeybla, @secretdataz, @aleos89, @Atemo and @hurtsky for reviewing and testing.
2018-05-27 22:51:37 +02:00
Aleos
a12c79f782 Moved remaining refine NPC to the database (#3145)
* Fixes #2510.
* Added Holink and Wagjak values to their own entries in the refine database.
* Added several anti-hack checks to refine NPC.
Thanks to the suggestion from @mazvi and @Atemo!
2018-05-27 16:07:39 -04:00
Atemo
394fb8acff Added extra check in some renewal instances
* Added extra check in some renewal instances to prevent unexpected behaviour

Thanks to @Lemongrass3110 !
2018-05-27 21:55:34 +02:00
Atemo
a381d33314 Added missing quests parameters issue #3156 (#3160)
Thanks to @mazvi !
2018-05-27 19:56:10 +02:00
Atemo
8aa6e8d299 Removed duplicates and added some missing mapflags (#3161) 2018-05-27 19:44:34 +02:00
rAthenaAPI
1192beef44 SQL synchronization 2018-05-26 18:50:48 +02:00
Aleos
87e7e8891b Added missing Imperial Set Combos (#3151)
* Fixes #3031.
* Added missing Royal Guard Necklace and Imperial Glove.
* Added bSkillDelay bonus which increases delay of skill sk by t milliseconds.
Thanks to @iubantot and @Secret!
2018-05-26 12:50:39 -04:00
Lemongrass3110
ecbab96403 Fixed a possible crash
Follow up to 1e2032c

Thanks to @Everade
2018-05-26 00:22:53 +02:00
flamefury
e067815947 Changing bAtkRate to bAddClass,Class_All (#3147)
* Fixes #3146.
* Removed remaining bAtkRate bonuses from databases as it's not an official bonus.
Thanks to @flamefury!
2018-05-23 14:33:13 -04:00
Lemongrass3110
8202555514 Fixed client blocking mail deletion
Fixes #3144

Thanks to @kraaijmakers
2018-05-23 10:06:04 +02:00
rAthenaAPI
f2413307cf SQL synchronization 2018-05-23 05:00:39 +02:00
rAthenaAPI
9a84005d8f Mob and NPC Identity Update 2018-05-23 05:00:27 +02:00
Aleos
d060ff79dc Corrected refine bonus when importing (#3142)
* Fixes #2722.
* Properly reset refine bonuses before parsing the import file.
Thanks to @sader1992!
2018-05-22 12:09:27 -04:00
Aleos
42c3375693 Corrected Invisibility CRI bonus (#3138)
* Fixes #3133.
* Should be a static +100 not +100%.
Thanks to @redlightliu!
2018-05-22 10:36:35 -04:00
rAthenaAPI
0a939e9f00 SQL synchronization 2018-05-22 09:39:09 +02:00
Lemongrass3110
8d76d349b0 Fixed a few items having getrefine in script (#3140) 2018-05-22 09:39:02 +02:00
Aleos
1d1a179b72 Corrected QD Shot and Crimson Marker interaction (#3131)
* Fixes #2863.
* QD Shot should not remove Crimson Marker.
Thanks to @rye305 and Fyrus!
2018-05-21 10:43:10 -04:00
rAthenaAPI
0ac27e4eba SQL synchronization 2018-05-20 21:34:10 +02:00
Aleos
a80d9c6d41 Added Gambler Seal and Gambler Card item combo (#3128)
* Fixes #2958.
* Adjusted Gambler Seal equip level requirement.
* Added Gambler Card item.
* Added missing combo for both items.
Thanks to @AzarthMZintos, @teededung, and @Atemo!
2018-05-20 15:34:02 -04:00
rAthenaAPI
3453198c33 SQL synchronization 2018-05-20 02:08:12 +02:00
Daniel Bernard
f57022fb4b Correct Refinable State for Wandering Wolf Helm (Renewal) (#3135)
* Fixes #3134.
* Wandering Wolf Helm (Renewal) (5498) has refine-level based effects.
Thanks to @danielbernard and @MrAntares!
2018-05-19 20:08:04 -04:00
rAthenaAPI
9aa406e406 SQL synchronization 2018-05-19 18:09:01 +02:00
Aleos
a2b6cb6901 Corrected Baby Dragon hat bonus (#3126)
* Fixes #3020.
* Corrected the double attack bonus.
* Added missing pre-renewal entry.
Thanks to @MrAntares, @Daegaladh, and @BrOgBr!
2018-05-19 12:08:54 -04:00
Akkarinage
8dc049aa8b Removed City Cleaners from RE monster spawn files (#3082)
* Fixes #2978.
* Moved Wild Rose to PRE-RE spawn files.

Signed-off-by: Akkarinage <akkarin@rathena.org>
2018-05-19 11:36:59 -04:00
Lemongrass3110
d16e7e6160 Added support for changedress command (#3109)
This adds support for /changedress and /nocosplay by adding an atcommand for it and redirecting the client command to it.

Thanks to @Everade for finding this.
2018-05-19 00:37:41 +02:00
Lemongrass3110
bfe6266921 Fixed a few hardcoded limits in status.cpp (#3130)
Also fixed an array definition in battle.cpp/.hpp
2018-05-19 00:09:25 +02:00
Maytichai Saowa
a8fd92c6da Update/doc packet (#3111) 2018-05-18 20:12:37 +02:00
Lemongrass3110
09fd14c41f Fixed an invalid declaration of cached events (#3116)
Fixes #3108

Fixed wrong usage of EVENT_NAME_LENGTH, since this should have been UCHAR_MAX as well.
Converted C struct to C++ map/vector.
Removed limit of 255 events of a cached type.

Thanks to @ignizh and @secretdataz
2018-05-18 14:58:23 +02:00
rAthenaAPI
180866178c SQL synchronization 2018-05-18 11:57:27 +02:00
Lemongrass3110
6d351fa254 Added blueprints for excellion enchants
Thanks to @Daniel4rt
2018-05-18 11:57:16 +02:00
Lemongrass3110
3e269ace66 Added an option to disable homun autofeed notify (#3119)
Thanks to @haikenz for the suggestion.
2018-05-18 11:17:34 +02:00
Aleos
c4eae4b361 Corrected reflected damage applying twice (#3115)
* Fixes #2920.
* Follow up to 333f0dd.
* Corrected trap behavior reflect and slightly reverted previous commit.
Thanks to @Badarosk0.
2018-05-17 23:10:27 -04:00
Aleos
12c01b0b40 Cleaned up item broadcast code (#3117)
* Fixes #2847.
* Removed some unused variables.
Thanks to @anacondaqq!
2018-05-17 18:55:41 -04:00
Lemongrass3110
6d5ee67692 Fixed login mail notification (#3124)
Fixes #3123

Always update the top right icon and the N icon in the menu bar no matter what inter server call it was.

Thanks to @Everade.
2018-05-17 22:12:43 +02:00
Aleos
53d70b3e24 Corrected skills that lose mob targets (#3120)
* Fixes #2163, fixes #2720, and fixes #2761.
* Feint Bomb now closer mimics official behavior.
* Monsters now properly target the clone and refrain from attacking the Shadow Chaser.
* Shadow Chasers are now able to cast skills while in Feint Bomb hiding state.
* Removed extra skill cast value that wasn't used.
* Removed extra mob target release function as one already existed.
* Corrected Zanzou and Genwaku target release behavior as well.
Thanks to @ilovelemon, @redlightliu, and @MrAntares!
2018-05-17 15:58:55 -04:00
Lemongrass3110
923199d464 Removed old visual studio projects from gitignore (#3125) 2018-05-17 21:38:58 +02:00
Lemongrass3110
0a84542220 Added a template function for std::map search (#3107)
Thanks to @secretdataz for his help.
2018-05-16 08:26:48 +02:00
rAthenaAPI
620e397558 SQL synchronization 2018-05-14 16:10:35 +02:00
Aleos
39f7ae13cb Added Excellion Armor and Wing (#3110)
* Fixes #3066.
* Added missing items Excellion Armor and Excellion Wing.
2018-05-14 10:10:28 -04:00
Atemo
df9bac9b78 Clean-up and fixed quest issue of hunter.txt (#3059)
Thanks to @AzarthMZintos !
2018-05-11 15:59:35 +02:00
Lemongrass3110
ce324ad13d Added atcommand for limited sale (#3103)
Removed permission
Added state tracking instead to make sure player can use the atcommand

Thanks to @secretdataz for his idea.
2018-05-08 21:32:52 +02:00
Atemo
b0aa1f8756 Fixed #3105 (#3106)
- A wrong quest ID was erased for Monthly Brigan quest

Thanks to @teededung !
2018-05-08 20:18:13 +02:00
Aleos
14f6ce4c20 Fixed UF_RANGEDSINGLEUNIT skill interactions (#3098)
* Fixes #2969.
* Resolves unit skills that use UF_RANGEDSINGLEUNIT not being properly removed by other skills that clear unit types.
Thanks to @admkakaroto and @exneval!
2018-05-08 12:38:26 -04:00
Lemongrass3110
34adde7623 Added new hateffect HAT_EF_C_BLESSINGS_OF_SOUL 2018-05-08 00:01:06 +02:00
Lemongrass3110
953f7cf47e Follow up to 5b13dc7
Added missing flag for npc sent mails.
This will prevent showing the reply button on supported clients.
2018-05-06 17:21:41 +02:00
Akkarinage
8d638b9f72 Updated Readme.md (#3096)
* Fixes #3058.
* Updated links for prerequisites
* Updated Discord link as subdomain no longer exists
* Removed IRC links.. we haven't used this in forever!

Signed-off-by: Akkarinage <akkarin@rathena.org>
2018-05-03 14:09:29 -04:00
Aleos
7f8b9c43c5 Corrected Demonic Fire and FE Acid behavior (#3088)
* Fixes #1086, fixes #2799, and fixes #3049.
* Fire Expansion Level 1 now lasts 10 seconds longer with stacked with Demonic Fire.
* Fire Expansion Tear Gas will no longer damage players on non-PvP type maps.
* Fire Expansion Acid is now misc type instead of magic.
* Corrected a possible map crash with Demonic Fire and Fire Expansion interactions.
* Demonic Fire can only have one instance on the ground at a time.
* Miscellaneous cleanups.
Thanks to @jamon18, @uddevil, and @LolyAll!
2018-05-03 12:11:03 -04:00
rAthenaAPI
5d2a3e43a0 Effect State Update 2018-05-02 05:06:09 +02:00
rAthenaAPI
571ab431e6 SQL synchronization 2018-05-01 16:06:55 +02:00
Aleos
26c02e9a3f Updated Bullet Cartridges (#3075)
* Fixes #3052.
* Changed previous cartridges to item type 2 from item type 18.
* Added missing cartridges: Flare, Lightning, Ice, Poison, and Blind.
Thanks to @Questune09!
2018-05-01 10:06:47 -04:00
rAthenaAPI
924abed485 SQL synchronization 2018-04-29 19:19:20 +02:00
Atemo
fac4d9beb3 Corrected White_Slim_Pot_Box2 and White_Slim_Potion_Box item script (#3094)
Fixed #3092
2018-04-29 19:19:12 +02:00
rAthenaAPI
e07542136a SQL synchronization 2018-04-29 15:22:05 +02:00
Atemo
e7ccee76e4 Corrected NPC_COMET ratio and Hero_Judgement_Shawl / Hero_Taget_Suits item script (#3091)
Thanks to @kukuasir1 and @Akaineko-astasi !
2018-04-29 15:21:57 +02:00
Jittapan Pluemsumran
258069daff Added missing getpartymember calls in MVP ladder script
Thanks to @AnnieRuru
2018-04-28 10:05:24 +07:00
rAthenaAPI
f9e9741d88 SQL synchronization 2018-04-26 23:06:37 +02:00
Aleos
e23f06d6e9 Corrected Fidelity Necklace slot count (#3086)
* Fixes #3085.
* Added missing slot for Fidelity Necklace.
Thanks to @gegewu85!
2018-04-26 17:06:28 -04:00
rAthenaAPI
37c5399ac7 SQL synchronization 2018-04-26 16:49:31 +02:00
Aleos
72c0f9c8d0 Corrected Akaraje duration (#3081)
* Fixes #3079.
* Bonus should last for 20 minutes instead of 2 minutes.
Thanks to @gegewu85!
2018-04-26 10:49:25 -04:00
rAthenaAPI
86bb4912ce SQL synchronization 2018-04-26 16:26:51 +02:00
Aleos
33960fef3e Corrected some shadow equipment (#3080)
* Fixes #3078.
* Made some shadow equipment that were unable to be refined, refinable.
Thanks to @Angelic234!
2018-04-26 10:26:44 -04:00
970 changed files with 183648 additions and 61767 deletions

30
.editorconfig Normal file
View File

@@ -0,0 +1,30 @@
# rAthena EditorConfig file
# EditorConfig is awesome: https://EditorConfig.org
# This file should be encoded in UTF-8 with CRLF or LF line endings.
root = true
# Add a blank newline to the end of every file after saving
# Trim trailing whitespace
# Adjust character set
[*]
insert_final_newline = true
trim_trailing_whitespace = true
charset = utf-8
# Use tabs in source
[*.{cpp,c,hpp,h}]
indent_style = tab
# YAML does not support hard tabs.
[*.{yml,yaml}]
indent_style = space
indent_size = 4
# Use tabs in Makefiles
[Makefile*]
indent_style = tab
# Scripts should use hard tabs to prevent script header goofs.
[npc/**.txt]
indent_style = tab

3
.gitattributes vendored
View File

@@ -1,5 +1,6 @@
* text=auto
*.c diff=cpp
*.cpp diff=cpp
*.yml diff text eol=lf
*.sln merge=union
*.vcproj merge=union
*.vcxproj merge=union

61
.gitignore vendored
View File

@@ -29,6 +29,7 @@ Thumbs.db
*.a
*.vcxproj.user
/char-server
/csv2yaml
/config.log
/config.status
/core
@@ -46,10 +47,6 @@ Thumbs.db
/3rdparty/libconfig/*.o
/3rdparty/libconfig/obj
# /3rdparty/mt19937ar/
/3rdparty/mt19937ar/Makefile
/3rdparty/mt19937ar/*.o
# /3rdparty/yaml-cpp/
/3rdparty/yaml-cpp/Makefile
@@ -60,6 +57,9 @@ Thumbs.db
/conf/import
/conf/msg_conf/import
# /lib
/lib
# /log/
/log/*.log
/log/*.leaks
@@ -72,7 +72,7 @@ Thumbs.db
/src/common/Makefile
/src/common/obj_all
/src/common/obj_sql
/src/common/svnversion.h
/src/common/version.hpp
# /src/custom/
/src/custom
@@ -84,11 +84,7 @@ Thumbs.db
# /src/map/
/src/map/Makefile
/src/map/obj_sql
/src/map/pcre.h
# /src/test/
/src/test/Makefile
/src/test/obj
/src/map/pcre.hpp
# /src/tool/
/src/tool/Makefile
@@ -101,50 +97,11 @@ Thumbs.db
/tools/*.ilk
/tools/*.pdb
# /vcproj-15/
/vcproj-15/char-server
/vcproj-15/login-server
/vcproj-15/mapcache
/vcproj-15/map-server
/vcproj-15/*.user
# /vcproj-14/
# Visual Studio
.vs
*.VC.db
*.VC.opendb
/vcproj-14/char-server
/vcproj-14/login-server
/vcproj-14/mapcache
/vcproj-14/map-server
/vcproj-14/*.user
# /vcproj-13/
/vcproj-13/char-server
/vcproj-13/login-server
/vcproj-13/mapcache
/vcproj-13/map-server
/vcproj-13/*.user
# /vcproj-12/
/vcproj-12/char-server
/vcproj-12/login-server
/vcproj-12/mapcache
/vcproj-12/map-server
/vcproj-12/*.user
# /vcproj-10/
/vcproj-10/char-server
/vcproj-10/login-server
/vcproj-10/mapcache
/vcproj-10/map-server
/vcproj-10/*.user
# /vcproj-9/
/vcproj-9/*.user
/vcproj-9/char-server
/vcproj-9/login-server
/vcproj-9/map-server
/vcproj-9/mapcache
/.idea/.name
/.idea/misc.xml
/.idea/modules.xml
@@ -156,6 +113,7 @@ Thumbs.db
# bat tools
/charserv.bat
/csv2yaml.bat
/logserv.bat
/mapcache.bat
/mapserv.bat
@@ -166,3 +124,6 @@ Thumbs.db
/libmysql.dll
/pcre8.dll
/zlib.dll
# CMakeFiles
/CMakeFiles/

View File

@@ -25,6 +25,7 @@ brianluau <brianluau@users.noreply.github.com> <brianluau@54d463be-8e91-2dee-ded
cydh <cydh@users.noreply.github.com> <cydh@54d463be-8e91-2dee-dedb-b68131a5f0ec>
Daegaladh <Daegaladh@users.noreply.github.com> <daegaladh@54d463be-8e91-2dee-dedb-b68131a5f0ec>
Deadly Silence <mail@deadly-silence.de> <deadlysilence@54d463be-8e91-2dee-dedb-b68131a5f0ec>
Epoque1 <22254628+Epoque1@users.noreply.github.com> <epoque11@54d463be-8e91-2dee-dedb-b68131a5f0ec>
euphyy <euphy.raliel@rathena.org> <euphyy@54d463be-8e91-2dee-dedb-b68131a5f0ec>
flaviojs <flaviojs2005@gmail.com> <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec>
flaviojs <flaviojs2005@gmail.com> <flaviojs2005@54d463be-8e91-2dee-dedb-b68131a5f0ec>
@@ -32,10 +33,12 @@ functor-x <piotr.halaczkiewicz@gmail.com> <gepard1984@54d463be-8e91-2dee-dedb-b6
functor-x <piotr.halaczkiewicz@gmail.com> <Gepard@54d463be-8e91-2dee-dedb-b68131a5f0ec>
greenboxal <greenboxal@gmail.com> <greenboxal2@54d463be-8e91-2dee-dedb-b68131a5f0ec>
jguy1987 <jmish1987@gmail.com> <jmanfffreak@54d463be-8e91-2dee-dedb-b68131a5f0ec>
jTynne <decadenthearts06@gmail.com> <jtynne@54d463be-8e91-2dee-dedb-b68131a5f0ec>
j-tkay <joseph.tk.ea@gmail.com> <j-tkay@54d463be-8e91-2dee-dedb-b68131a5f0ec>
Kenpachi2k13 <Kenpachi.Developer@gmx.de> <kenpachi2k11@54d463be-8e91-2dee-dedb-b68131a5f0ec>
kisuka <kisuka@kisuka.com> <Kisuka@54d463be-8e91-2dee-dedb-b68131a5f0ec>
Lemongrass3110 <lemongrass@kstp.at> <lemongrass3110@54d463be-8e91-2dee-dedb-b68131a5f0ec>
lnkfish <lnkfish@hotmail.com> <Inkfish@54d463be-8e91-2dee-dedb-b68131a5f0ec>
Locien <masterofmuppets89@gmail.com> <MasterOfMuppets@54d463be-8e91-2dee-dedb-b68131a5f0ec>
lighta <lighta@users.noreply.github.com> <glighta@54d463be-8e91-2dee-dedb-b68131a5f0ec>
Masao87 <masao@gmx.ch> <masao87@54d463be-8e91-2dee-dedb-b68131a5f0ec>
@@ -47,13 +50,15 @@ Playtester <Kenji.Ito@gmx.de> <Playtester@54d463be-8e91-2dee-dedb-b68131a5f0ec>
Playtester <Kenji.Ito@gmx.de> <playtester@54d463be-8e91-2dee-dedb-b68131a5f0ec>
rAthenaAPI <administrator@rathena.org> <eathenabot@54d463be-8e91-2dee-dedb-b68131a5f0ec>
rAthenaAPI <administrator@rathena.org> <rathenabot@54d463be-8e91-2dee-dedb-b68131a5f0ec>
SeoRoman <RomanL0927@gmail.com> <script-Z3R0@54d463be-8e91-2dee-dedb-b68131a5f0ec>
SeoRoman <RomanL0927@gmail.com> <script-z3r0@54d463be-8e91-2dee-dedb-b68131a5f0ec>
shennetsind <ind@henn.et> <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>
theultramage <umage@netvor.sk> <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>
trojal <trojal@gmail.com> <trojal@54d463be-8e91-2dee-dedb-b68131a5f0ec>
Valaris <2738218+valaris@users.noreply.github.com> <valaris@54d463be-8e91-2dee-dedb-b68131a5f0ec>
Valaris <2738218+valaris@users.noreply.github.com> <Valaris@54d463be-8e91-2dee-dedb-b68131a5f0ec>
wilkemeyer <fw@f-ws.de> <blacksirius@54d463be-8e91-2dee-dedb-b68131a5f0ec>
Yommy <yomanda@gmail.com> <Yommy@54d463be-8e91-2dee-dedb-b68131a5f0ec>
SeoRoman <RomanL0927@gmail.com> <script-Z3R0@54d463be-8e91-2dee-dedb-b68131a5f0ec>
SeoRoman <RomanL0927@gmail.com> <script-z3r0@54d463be-8e91-2dee-dedb-b68131a5f0ec>
##################################################################
# Git Aliases #
@@ -118,7 +123,6 @@ skotlex <skotlex@mailforce.net> <Skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>
# Lance <Lance@54d463be-8e91-2dee-dedb-b68131a5f0ec>
# zephyrus <zephyrus@54d463be-8e91-2dee-dedb-b68131a5f0ec>
# amber <amber@54d463be-8e91-2dee-dedb-b68131a5f0ec>
# Inkfish <Inkfish@54d463be-8e91-2dee-dedb-b68131a5f0ec>
# toms <toms@54d463be-8e91-2dee-dedb-b68131a5f0ec>
# shadowlady <shadowlady@54d463be-8e91-2dee-dedb-b68131a5f0ec>
# codemaster <codemaster@54d463be-8e91-2dee-dedb-b68131a5f0ec>
@@ -130,14 +134,12 @@ skotlex <skotlex@mailforce.net> <Skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>
# mc_cameri <mc_cameri@54d463be-8e91-2dee-dedb-b68131a5f0ec>
# evera <evera@54d463be-8e91-2dee-dedb-b68131a5f0ec>
# SinSloth <SinSloth@54d463be-8e91-2dee-dedb-b68131a5f0ec>
# epoque11 <epoque11@54d463be-8e91-2dee-dedb-b68131a5f0ec>
# DracoRPG <DracoRPG@54d463be-8e91-2dee-dedb-b68131a5f0ec>
# littlewolf <littlewolf@54d463be-8e91-2dee-dedb-b68131a5f0ec>
# eaac <eaac@54d463be-8e91-2dee-dedb-b68131a5f0ec>
# ajarn <ajarn@54d463be-8e91-2dee-dedb-b68131a5f0ec>
# wizputer <wizputer@54d463be-8e91-2dee-dedb-b68131a5f0ec>
# Nasedo <Nasedo@54d463be-8e91-2dee-dedb-b68131a5f0ec>
# valaris <valaris@54d463be-8e91-2dee-dedb-b68131a5f0ec>
# blackhole89 <blackhole89@54d463be-8e91-2dee-dedb-b68131a5f0ec>
# protimus <protimus@54d463be-8e91-2dee-dedb-b68131a5f0ec> https://github.com/protimus
# Komurka <Komurka@54d463be-8e91-2dee-dedb-b68131a5f0ec>
@@ -160,7 +162,6 @@ skotlex <skotlex@mailforce.net> <Skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>
# kobra_k88 <kobra_k88@54d463be-8e91-2dee-dedb-b68131a5f0ec>
# shinomori <shinomori@54d463be-8e91-2dee-dedb-b68131a5f0ec>
# LuzZza <LuzZza@54d463be-8e91-2dee-dedb-b68131a5f0ec>
# Valaris <Valaris@54d463be-8e91-2dee-dedb-b68131a5f0ec>
# spre123 <spre123@54d463be-8e91-2dee-dedb-b68131a5f0ec>
# Chilly0123 <Chilly0123@54d463be-8e91-2dee-dedb-b68131a5f0ec>
# ediejohnny <ediejohnny@54d463be-8e91-2dee-dedb-b68131a5f0ec>
@@ -173,7 +174,6 @@ skotlex <skotlex@mailforce.net> <Skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>
# Mass <Mass@54d463be-8e91-2dee-dedb-b68131a5f0ec>
# Sara <Sara@54d463be-8e91-2dee-dedb-b68131a5f0ec>
# nana <nana@54d463be-8e91-2dee-dedb-b68131a5f0ec>
# jtynne <jtynne@54d463be-8e91-2dee-dedb-b68131a5f0ec> https://github.com/jtynne
# veider <veider@54d463be-8e91-2dee-dedb-b68131a5f0ec>
# Shinigami <Shinigami@54d463be-8e91-2dee-dedb-b68131a5f0ec>
# mercurial123 <mercurial123@54d463be-8e91-2dee-dedb-b68131a5f0ec>

View File

@@ -73,6 +73,17 @@ matrix:
env:
- MATRIX_EVAL="CC=gcc-7 && CXX=g++-7"
- CONFIGURE_FLAGS="--enable-prere=no --enable-vip=no --enable-buildbot=yes"
# Version 8
- os: linux
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-8
env:
- MATRIX_EVAL="CC=gcc-8 && CXX=g++-8"
- CONFIGURE_FLAGS="--enable-prere=no --enable-vip=no --enable-buildbot=yes"
# Clang
# Version 3.9
- os: linux
@@ -126,7 +137,7 @@ matrix:
## MacOS default MySQL configuration does not like our card seller(only full group by)
# - ./tools/ci/npc.sh
# - make clean
# - make server
# - make all
# - ./login-server --run-once
# - ./char-server --run-once
# - ./map-server --run-once
@@ -144,7 +155,20 @@ matrix:
- mkdir cbuild
- cd cbuild
- cmake -G "Unix Makefiles" ..
- make
- make || travis_terminate 1
# MariaDB
- os: linux
addons:
mariadb: '10.0'
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-5
- libmariadbclient-dev
env:
- MATRIX_EVAL="CC=gcc-5 && CXX=g++-5"
- CONFIGURE_FLAGS="--enable-prere=no --enable-vip=no --enable-buildbot=yes"
before_install:
- eval "${MATRIX_EVAL}"
@@ -154,10 +178,10 @@ before_script:
- ./tools/ci/sql.sh
script:
- ./configure $CONFIGURE_FLAGS
- ./configure $CONFIGURE_FLAGS || travis_terminate 1
- ./tools/ci/npc.sh
- make clean
- make server
- make clean || travis_terminate 1
- make all || travis_terminate 1
- ./login-server --run-once
- ./char-server --run-once
- ./map-server --run-once

View File

@@ -48,8 +48,6 @@ endmacro( CONFIGURE_WITH_LOCAL_OR_SYSTEM )
add_subdirectory( libconfig )
add_subdirectory( msinttypes )
add_subdirectory( mt19937ar )
add_subdirectory( mysql )
add_subdirectory( pcre )
add_subdirectory( zlib )

2
3rdparty/README.txt vendored
View File

@@ -2,8 +2,6 @@ This folder contains everything related to 3rdparty code or tools.
cmake - scripts for the cmake build system (http://www.cmake.org)
libconfig - library for processing structured configuration files (http://www.hyperrealm.com/libconfig/)
msinttypes - standard headers missing from Microsoft Visual Studio (http://code.google.com/p/msinttypes)
mt19937ar - code for Mersenne Twister pseudorandom number generator
mysql - library for MySQL Community Server (http://www.mysql.com)
pcre - library for Perl Compatible Regular Expressions (http://www.pcre.org)
zlib - library for DEFLATE lossless compression algorithm (http://www.zlib.net)

View File

@@ -106,7 +106,7 @@
</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>YY_USE_CONST;LIBCONFIG_STATIC;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;WIN32;_DEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PreprocessorDefinitions>YY_USE_CONST;LIBCONFIG_STATIC;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;WIN32;_DEBUG;_LIB;_ITERATOR_DEBUG_LEVEL=0;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
</ClCompile>
<Link>
@@ -120,7 +120,7 @@
</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>YY_USE_CONST;LIBCONFIG_STATIC;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;_DEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PreprocessorDefinitions>YY_USE_CONST;LIBCONFIG_STATIC;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;_DEBUG;_LIB;_ITERATOR_DEBUG_LEVEL=0;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
</ClCompile>
<Link>

View File

@@ -1,9 +0,0 @@
if( MSVC )
find_path( MSINTTYPES_INCLUDE_DIRS "inttypes.h"
PATHS "${CMAKE_CURRENT_SOURCE_DIR}/include"
NO_DEFAULT_PATH )
mark_as_advanced( MSINTTYPES_INCLUDE_DIRS )
message( STATUS "Adding global include directory: ${MSINTTYPES_INCLUDE_DIRS}" )
set_property( CACHE GLOBAL_INCLUDE_DIRS PROPERTY VALUE ${GLOBAL_INCLUDE_DIRS} ${MSINTTYPES_INCLUDE_DIRS} )
endif()

View File

@@ -1,305 +0,0 @@
// ISO C9x compliant inttypes.h for Microsoft Visual Studio
// Based on ISO/IEC 9899:TC2 Committee draft (May 6, 2005) WG14/N1124
//
// Copyright (c) 2006 Alexander Chemeris
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// 1. Redistributions of source code must retain the above copyright notice,
// this list of conditions and the following disclaimer.
//
// 2. Redistributions in binary form must reproduce the above copyright
// notice, this list of conditions and the following disclaimer in the
// documentation and/or other materials provided with the distribution.
//
// 3. The name of the author may be used to endorse or promote products
// derived from this software without specific prior written permission.
//
// THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
// WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
// EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
// OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
// WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
// OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
// ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
//
///////////////////////////////////////////////////////////////////////////////
#ifndef _MSC_VER // [
#error "Use this header only with Microsoft Visual C++ compilers!"
#endif // _MSC_VER ]
#ifndef _MSC_INTTYPES_H_ // [
#define _MSC_INTTYPES_H_
#if _MSC_VER > 1000
#pragma once
#endif
#include "stdint.h"
// 7.8 Format conversion of integer types
typedef struct {
intmax_t quot;
intmax_t rem;
} imaxdiv_t;
// 7.8.1 Macros for format specifiers
#if !defined(__cplusplus) || defined(__STDC_FORMAT_MACROS) // [ See footnote 185 at page 198
// The fprintf macros for signed integers are:
#define PRId8 "d"
#define PRIi8 "i"
#define PRIdLEAST8 "d"
#define PRIiLEAST8 "i"
#define PRIdFAST8 "d"
#define PRIiFAST8 "i"
#define PRId16 "hd"
#define PRIi16 "hi"
#define PRIdLEAST16 "hd"
#define PRIiLEAST16 "hi"
#define PRIdFAST16 "hd"
#define PRIiFAST16 "hi"
#define PRId32 "I32d"
#define PRIi32 "I32i"
#define PRIdLEAST32 "I32d"
#define PRIiLEAST32 "I32i"
#define PRIdFAST32 "I32d"
#define PRIiFAST32 "I32i"
#define PRId64 "I64d"
#define PRIi64 "I64i"
#define PRIdLEAST64 "I64d"
#define PRIiLEAST64 "I64i"
#define PRIdFAST64 "I64d"
#define PRIiFAST64 "I64i"
#define PRIdMAX "I64d"
#define PRIiMAX "I64i"
#define PRIdPTR "Id"
#define PRIiPTR "Ii"
// The fprintf macros for unsigned integers are:
#define PRIo8 "o"
#define PRIu8 "u"
#define PRIx8 "x"
#define PRIX8 "X"
#define PRIoLEAST8 "o"
#define PRIuLEAST8 "u"
#define PRIxLEAST8 "x"
#define PRIXLEAST8 "X"
#define PRIoFAST8 "o"
#define PRIuFAST8 "u"
#define PRIxFAST8 "x"
#define PRIXFAST8 "X"
#define PRIo16 "ho"
#define PRIu16 "hu"
#define PRIx16 "hx"
#define PRIX16 "hX"
#define PRIoLEAST16 "ho"
#define PRIuLEAST16 "hu"
#define PRIxLEAST16 "hx"
#define PRIXLEAST16 "hX"
#define PRIoFAST16 "ho"
#define PRIuFAST16 "hu"
#define PRIxFAST16 "hx"
#define PRIXFAST16 "hX"
#define PRIo32 "I32o"
#define PRIu32 "I32u"
#define PRIx32 "I32x"
#define PRIX32 "I32X"
#define PRIoLEAST32 "I32o"
#define PRIuLEAST32 "I32u"
#define PRIxLEAST32 "I32x"
#define PRIXLEAST32 "I32X"
#define PRIoFAST32 "I32o"
#define PRIuFAST32 "I32u"
#define PRIxFAST32 "I32x"
#define PRIXFAST32 "I32X"
#define PRIo64 "I64o"
#define PRIu64 "I64u"
#define PRIx64 "I64x"
#define PRIX64 "I64X"
#define PRIoLEAST64 "I64o"
#define PRIuLEAST64 "I64u"
#define PRIxLEAST64 "I64x"
#define PRIXLEAST64 "I64X"
#define PRIoFAST64 "I64o"
#define PRIuFAST64 "I64u"
#define PRIxFAST64 "I64x"
#define PRIXFAST64 "I64X"
#define PRIoMAX "I64o"
#define PRIuMAX "I64u"
#define PRIxMAX "I64x"
#define PRIXMAX "I64X"
#define PRIoPTR "Io"
#define PRIuPTR "Iu"
#define PRIxPTR "Ix"
#define PRIXPTR "IX"
// The fscanf macros for signed integers are:
#define SCNd8 "d"
#define SCNi8 "i"
#define SCNdLEAST8 "d"
#define SCNiLEAST8 "i"
#define SCNdFAST8 "d"
#define SCNiFAST8 "i"
#define SCNd16 "hd"
#define SCNi16 "hi"
#define SCNdLEAST16 "hd"
#define SCNiLEAST16 "hi"
#define SCNdFAST16 "hd"
#define SCNiFAST16 "hi"
#define SCNd32 "ld"
#define SCNi32 "li"
#define SCNdLEAST32 "ld"
#define SCNiLEAST32 "li"
#define SCNdFAST32 "ld"
#define SCNiFAST32 "li"
#define SCNd64 "I64d"
#define SCNi64 "I64i"
#define SCNdLEAST64 "I64d"
#define SCNiLEAST64 "I64i"
#define SCNdFAST64 "I64d"
#define SCNiFAST64 "I64i"
#define SCNdMAX "I64d"
#define SCNiMAX "I64i"
#ifdef _WIN64 // [
# define SCNdPTR "I64d"
# define SCNiPTR "I64i"
#else // _WIN64 ][
# define SCNdPTR "ld"
# define SCNiPTR "li"
#endif // _WIN64 ]
// The fscanf macros for unsigned integers are:
#define SCNo8 "o"
#define SCNu8 "u"
#define SCNx8 "x"
#define SCNX8 "X"
#define SCNoLEAST8 "o"
#define SCNuLEAST8 "u"
#define SCNxLEAST8 "x"
#define SCNXLEAST8 "X"
#define SCNoFAST8 "o"
#define SCNuFAST8 "u"
#define SCNxFAST8 "x"
#define SCNXFAST8 "X"
#define SCNo16 "ho"
#define SCNu16 "hu"
#define SCNx16 "hx"
#define SCNX16 "hX"
#define SCNoLEAST16 "ho"
#define SCNuLEAST16 "hu"
#define SCNxLEAST16 "hx"
#define SCNXLEAST16 "hX"
#define SCNoFAST16 "ho"
#define SCNuFAST16 "hu"
#define SCNxFAST16 "hx"
#define SCNXFAST16 "hX"
#define SCNo32 "lo"
#define SCNu32 "lu"
#define SCNx32 "lx"
#define SCNX32 "lX"
#define SCNoLEAST32 "lo"
#define SCNuLEAST32 "lu"
#define SCNxLEAST32 "lx"
#define SCNXLEAST32 "lX"
#define SCNoFAST32 "lo"
#define SCNuFAST32 "lu"
#define SCNxFAST32 "lx"
#define SCNXFAST32 "lX"
#define SCNo64 "I64o"
#define SCNu64 "I64u"
#define SCNx64 "I64x"
#define SCNX64 "I64X"
#define SCNoLEAST64 "I64o"
#define SCNuLEAST64 "I64u"
#define SCNxLEAST64 "I64x"
#define SCNXLEAST64 "I64X"
#define SCNoFAST64 "I64o"
#define SCNuFAST64 "I64u"
#define SCNxFAST64 "I64x"
#define SCNXFAST64 "I64X"
#define SCNoMAX "I64o"
#define SCNuMAX "I64u"
#define SCNxMAX "I64x"
#define SCNXMAX "I64X"
#ifdef _WIN64 // [
# define SCNoPTR "I64o"
# define SCNuPTR "I64u"
# define SCNxPTR "I64x"
# define SCNXPTR "I64X"
#else // _WIN64 ][
# define SCNoPTR "lo"
# define SCNuPTR "lu"
# define SCNxPTR "lx"
# define SCNXPTR "lX"
#endif // _WIN64 ]
#endif // __STDC_FORMAT_MACROS ]
// 7.8.2 Functions for greatest-width integer types
// 7.8.2.1 The imaxabs function
#define imaxabs _abs64
// 7.8.2.2 The imaxdiv function
// This is modified version of div() function from Microsoft's div.c found
// in %MSVC.NET%\crt\src\div.c
#ifdef STATIC_IMAXDIV // [
static
#else // STATIC_IMAXDIV ][
_inline
#endif // STATIC_IMAXDIV ]
imaxdiv_t __cdecl imaxdiv(intmax_t numer, intmax_t denom)
{
imaxdiv_t result;
result.quot = numer / denom;
result.rem = numer % denom;
if (numer < 0 && result.rem > 0) {
// did division wrong; must fix up
++result.quot;
result.rem -= denom;
}
return result;
}
// 7.8.2.3 The strtoimax and strtoumax functions
#define strtoimax _strtoi64
#define strtoumax _strtoui64
// 7.8.2.4 The wcstoimax and wcstoumax functions
#define wcstoimax _wcstoi64
#define wcstoumax _wcstoui64
#endif // _MSC_INTTYPES_H_ ]

View File

@@ -1,251 +0,0 @@
// ISO C9x compliant stdint.h for Microsoft Visual Studio
// Based on ISO/IEC 9899:TC2 Committee draft (May 6, 2005) WG14/N1124
//
// Copyright (c) 2006-2008 Alexander Chemeris
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// 1. Redistributions of source code must retain the above copyright notice,
// this list of conditions and the following disclaimer.
//
// 2. Redistributions in binary form must reproduce the above copyright
// notice, this list of conditions and the following disclaimer in the
// documentation and/or other materials provided with the distribution.
//
// 3. The name of the author may be used to endorse or promote products
// derived from this software without specific prior written permission.
//
// THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
// WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
// EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
// OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
// WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
// OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
// ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
//
///////////////////////////////////////////////////////////////////////////////
#ifndef _MSC_VER // [
#error "Use this header only with Microsoft Visual C++ compilers!"
#endif // _MSC_VER ]
#ifndef _MSC_STDINT_H_ // [
#define _MSC_STDINT_H_
#if _MSC_VER > 1000
#pragma once
#endif
#include <limits.h>
// For Visual Studio 6 in C++ mode and for many Visual Studio versions when
// compiling for ARM we should wrap <wchar.h> include with 'extern "C++" {}'
// or compiler give many errors like this:
// error C2733: second C linkage of overloaded function 'wmemchr' not allowed
#ifdef __cplusplus
#if _MSC_VER < 1300
extern "C++" {
#else
extern "C" {
#endif
#endif
# include <wchar.h>
#ifdef __cplusplus
}
#endif
// Define _W64 macros to mark types changing their size, like intptr_t.
#ifndef _W64
# if !defined(__midl) && (defined(_X86_) || defined(_M_IX86)) && _MSC_VER >= 1300
# define _W64 __w64
# else
# define _W64
# endif
#endif
// 7.18.1 Integer types
// 7.18.1.1 Exact-width integer types
// Visual Studio 6 and Embedded Visual C++ 4 doesn't
// realize that, e.g. char has the same size as __int8
// so we give up on __intX for them.
#if (_MSC_VER < 1300)
typedef signed char int8_t;
typedef signed short int16_t;
typedef signed int int32_t;
typedef unsigned char uint8_t;
typedef unsigned short uint16_t;
typedef unsigned int uint32_t;
#else
typedef signed __int8 int8_t;
typedef signed __int16 int16_t;
typedef signed __int32 int32_t;
typedef unsigned __int8 uint8_t;
typedef unsigned __int16 uint16_t;
typedef unsigned __int32 uint32_t;
#endif
typedef signed __int64 int64_t;
typedef unsigned __int64 uint64_t;
// 7.18.1.2 Minimum-width integer types
typedef int8_t int_least8_t;
typedef int16_t int_least16_t;
typedef int32_t int_least32_t;
typedef int64_t int_least64_t;
typedef uint8_t uint_least8_t;
typedef uint16_t uint_least16_t;
typedef uint32_t uint_least32_t;
typedef uint64_t uint_least64_t;
// 7.18.1.3 Fastest minimum-width integer types
typedef int8_t int_fast8_t;
typedef int16_t int_fast16_t;
typedef int32_t int_fast32_t;
typedef int64_t int_fast64_t;
typedef uint8_t uint_fast8_t;
typedef uint16_t uint_fast16_t;
typedef uint32_t uint_fast32_t;
typedef uint64_t uint_fast64_t;
// 7.18.1.4 Integer types capable of holding object pointers
#ifdef _WIN64 // [
typedef signed __int64 intptr_t;
typedef unsigned __int64 uintptr_t;
#else // _WIN64 ][
typedef _W64 signed int intptr_t;
typedef _W64 unsigned int uintptr_t;
#endif // _WIN64 ]
// 7.18.1.5 Greatest-width integer types
typedef int64_t intmax_t;
typedef uint64_t uintmax_t;
// 7.18.2 Limits of specified-width integer types
#if !defined(__cplusplus) || defined(__STDC_LIMIT_MACROS) // [ See footnote 220 at page 257 and footnote 221 at page 259
// 7.18.2.1 Limits of exact-width integer types
#define INT8_MIN ((int8_t)_I8_MIN)
#define INT8_MAX _I8_MAX
#define INT16_MIN ((int16_t)_I16_MIN)
#define INT16_MAX _I16_MAX
#define INT32_MIN ((int32_t)_I32_MIN)
#define INT32_MAX _I32_MAX
#define INT64_MIN ((int64_t)_I64_MIN)
#define INT64_MAX _I64_MAX
#define UINT8_MAX _UI8_MAX
#define UINT16_MAX _UI16_MAX
#define UINT32_MAX _UI32_MAX
#define UINT64_MAX _UI64_MAX
// 7.18.2.2 Limits of minimum-width integer types
#define INT_LEAST8_MIN INT8_MIN
#define INT_LEAST8_MAX INT8_MAX
#define INT_LEAST16_MIN INT16_MIN
#define INT_LEAST16_MAX INT16_MAX
#define INT_LEAST32_MIN INT32_MIN
#define INT_LEAST32_MAX INT32_MAX
#define INT_LEAST64_MIN INT64_MIN
#define INT_LEAST64_MAX INT64_MAX
#define UINT_LEAST8_MAX UINT8_MAX
#define UINT_LEAST16_MAX UINT16_MAX
#define UINT_LEAST32_MAX UINT32_MAX
#define UINT_LEAST64_MAX UINT64_MAX
// 7.18.2.3 Limits of fastest minimum-width integer types
#define INT_FAST8_MIN INT8_MIN
#define INT_FAST8_MAX INT8_MAX
#define INT_FAST16_MIN INT16_MIN
#define INT_FAST16_MAX INT16_MAX
#define INT_FAST32_MIN INT32_MIN
#define INT_FAST32_MAX INT32_MAX
#define INT_FAST64_MIN INT64_MIN
#define INT_FAST64_MAX INT64_MAX
#define UINT_FAST8_MAX UINT8_MAX
#define UINT_FAST16_MAX UINT16_MAX
#define UINT_FAST32_MAX UINT32_MAX
#define UINT_FAST64_MAX UINT64_MAX
// 7.18.2.4 Limits of integer types capable of holding object pointers
#ifdef _WIN64 // [
# define INTPTR_MIN INT64_MIN
# define INTPTR_MAX INT64_MAX
# define UINTPTR_MAX UINT64_MAX
#else // _WIN64 ][
# define INTPTR_MIN INT32_MIN
# define INTPTR_MAX INT32_MAX
# define UINTPTR_MAX UINT32_MAX
#endif // _WIN64 ]
// 7.18.2.5 Limits of greatest-width integer types
#define INTMAX_MIN INT64_MIN
#define INTMAX_MAX INT64_MAX
#define UINTMAX_MAX UINT64_MAX
// 7.18.3 Limits of other integer types
#ifdef _WIN64 // [
# define PTRDIFF_MIN _I64_MIN
# define PTRDIFF_MAX _I64_MAX
#else // _WIN64 ][
# define PTRDIFF_MIN _I32_MIN
# define PTRDIFF_MAX _I32_MAX
#endif // _WIN64 ]
#define SIG_ATOMIC_MIN INT_MIN
#define SIG_ATOMIC_MAX INT_MAX
#ifndef SIZE_MAX // [
# ifdef _WIN64 // [
# define SIZE_MAX _UI64_MAX
# else // _WIN64 ][
# define SIZE_MAX _UI32_MAX
# endif // _WIN64 ]
#endif // SIZE_MAX ]
// WCHAR_MIN and WCHAR_MAX are also defined in <wchar.h>
#ifndef WCHAR_MIN // [
# define WCHAR_MIN 0
#endif // WCHAR_MIN ]
#ifndef WCHAR_MAX // [
# define WCHAR_MAX _UI16_MAX
#endif // WCHAR_MAX ]
#define WINT_MIN 0
#define WINT_MAX _UI16_MAX
#endif // __STDC_LIMIT_MACROS ]
// 7.18.4 Limits of other integer types
#if !defined(__cplusplus) || defined(__STDC_CONSTANT_MACROS) // [ See footnote 224 at page 260
// 7.18.4.1 Macros for minimum-width integer constants
#define INT8_C(val) val##i8
#define INT16_C(val) val##i16
#define INT32_C(val) val##i32
#define INT64_C(val) val##i64
#define UINT8_C(val) val##ui8
#define UINT16_C(val) val##ui16
#define UINT32_C(val) val##ui32
#define UINT64_C(val) val##ui64
// 7.18.4.2 Macros for greatest-width integer constants
#define INTMAX_C INT64_C
#define UINTMAX_C UINT64_C
#endif // __STDC_CONSTANT_MACROS ]
#endif // _MSC_STDINT_H_ ]

View File

@@ -1,16 +0,0 @@
find_path( MT19937AR_INCLUDE_DIRS "mt19937ar.h"
PATHS "${CMAKE_CURRENT_SOURCE_DIR}"
NO_DEFAULT_PATH )
find_path( MT19937AR_SOURCE_DIR "mt19937ar.c"
PATHS "${CMAKE_CURRENT_SOURCE_DIR}"
NO_DEFAULT_PATH )
mark_as_advanced( MT19937AR_INCLUDE_DIRS )
mark_as_advanced( MT19937AR_SOURCE_DIR )
set( MT19937AR_HEADERS
"${CMAKE_CURRENT_SOURCE_DIR}/mt19937ar.h"
CACHE INTERNAL "mt19937ar headers" )
set( MT19937AR_SOURCES
"${CMAKE_CURRENT_SOURCE_DIR}/mt19937ar.c"
CACHE INTERNAL "mt19937ar sources" )

View File

@@ -1,26 +0,0 @@
MT19937AR_OBJ = mt19937ar.o
MT19937AR_H = mt19937ar.h
@SET_MAKE@
#####################################################################
.PHONY : all clean help
all: $(MT19937AR_OBJ)
clean:
@echo " CLEAN mt19937ar"
@rm -rf *.o
help:
@echo "possible targets are 'all' 'clean' 'help'"
@echo "'all' - builds $(MT19937AR_OBJ)"
@echo "'clean' - deletes $(MT19937AR_OBJ)"
@echo "'help' - outputs this message"
#####################################################################
%.o: %.c $(MT19937AR_H)
@echo " CC $<"
@@CC@ @CFLAGS_AR@ @CPPFLAGS@ -c $(OUTPUT_OPTION) $<

View File

@@ -1,175 +0,0 @@
/*
A C-program for MT19937, with initialization improved 2002/1/26.
Coded by Takuji Nishimura and Makoto Matsumoto.
Before using, initialize the state by using init_genrand(seed)
or init_by_array(init_key, key_length).
Copyright (C) 1997 - 2002, Makoto Matsumoto and Takuji Nishimura,
All rights reserved.
Copyright (C) 2005, Mutsuo Saito,
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
3. The names of its contributors may not be used to endorse or promote
products derived from this software without specific prior written
permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Any feedback is very welcome.
http://www.math.sci.hiroshima-u.ac.jp/~m-mat/MT/emt.html
email: m-mat @ math.sci.hiroshima-u.ac.jp (remove space)
*/
#include <stdio.h>
#include "mt19937ar.h"
/* Period parameters */
#define N 624
#define M 397
#define MATRIX_A 0x9908b0dfUL /* constant vector a */
#define UPPER_MASK 0x80000000UL /* most significant w-r bits */
#define LOWER_MASK 0x7fffffffUL /* least significant r bits */
static unsigned long mt[N]; /* the array for the state vector */
static int mti=N+1; /* mti==N+1 means mt[N] is not initialized */
/* initializes mt[N] with a seed */
void init_genrand(unsigned long s)
{
mt[0]= s & 0xffffffffUL;
for (mti=1; mti<N; mti++) {
mt[mti] =
(1812433253UL * (mt[mti-1] ^ (mt[mti-1] >> 30)) + mti);
/* See Knuth TAOCP Vol2. 3rd Ed. P.106 for multiplier. */
/* In the previous versions, MSBs of the seed affect */
/* only MSBs of the array mt[]. */
/* 2002/01/09 modified by Makoto Matsumoto */
mt[mti] &= 0xffffffffUL;
/* for >32 bit machines */
}
}
/* initialize by an array with array-length */
/* init_key is the array for initializing keys */
/* key_length is its length */
/* slight change for C++, 2004/2/26 */
void init_by_array(unsigned long init_key[], int key_length)
{
int i, j, k;
init_genrand(19650218UL);
i=1; j=0;
k = (N>key_length ? N : key_length);
for (; k; k--) {
mt[i] = (mt[i] ^ ((mt[i-1] ^ (mt[i-1] >> 30)) * 1664525UL))
+ init_key[j] + j; /* non linear */
mt[i] &= 0xffffffffUL; /* for WORDSIZE > 32 machines */
i++; j++;
if (i>=N) { mt[0] = mt[N-1]; i=1; }
if (j>=key_length) j=0;
}
for (k=N-1; k; k--) {
mt[i] = (mt[i] ^ ((mt[i-1] ^ (mt[i-1] >> 30)) * 1566083941UL))
- i; /* non linear */
mt[i] &= 0xffffffffUL; /* for WORDSIZE > 32 machines */
i++;
if (i>=N) { mt[0] = mt[N-1]; i=1; }
}
mt[0] = 0x80000000UL; /* MSB is 1; assuring non-zero initial array */
}
/* generates a random number on [0,0xffffffff]-interval */
unsigned long genrand_int32(void)
{
unsigned long y;
static unsigned long mag01[2]={0x0UL, MATRIX_A};
/* mag01[x] = x * MATRIX_A for x=0,1 */
if (mti >= N) { /* generate N words at one time */
int kk;
if (mti == N+1) /* if init_genrand() has not been called, */
init_genrand(5489UL); /* a default initial seed is used */
for (kk=0;kk<N-M;kk++) {
y = (mt[kk]&UPPER_MASK)|(mt[kk+1]&LOWER_MASK);
mt[kk] = mt[kk+M] ^ (y >> 1) ^ mag01[y & 0x1UL];
}
for (;kk<N-1;kk++) {
y = (mt[kk]&UPPER_MASK)|(mt[kk+1]&LOWER_MASK);
mt[kk] = mt[kk+(M-N)] ^ (y >> 1) ^ mag01[y & 0x1UL];
}
y = (mt[N-1]&UPPER_MASK)|(mt[0]&LOWER_MASK);
mt[N-1] = mt[M-1] ^ (y >> 1) ^ mag01[y & 0x1UL];
mti = 0;
}
y = mt[mti++];
/* Tempering */
y ^= (y >> 11);
y ^= (y << 7) & 0x9d2c5680UL;
y ^= (y << 15) & 0xefc60000UL;
y ^= (y >> 18);
return y;
}
/* generates a random number on [0,0x7fffffff]-interval */
long genrand_int31(void)
{
return (long)(genrand_int32()>>1);
}
/* generates a random number on [0,1]-real-interval */
double genrand_real1(void)
{
return genrand_int32()*(1.0/4294967295.0);
/* divided by 2^32-1 */
}
/* generates a random number on [0,1)-real-interval */
double genrand_real2(void)
{
return genrand_int32()*(1.0/4294967296.0);
/* divided by 2^32 */
}
/* generates a random number on (0,1)-real-interval */
double genrand_real3(void)
{
return (((double)genrand_int32()) + 0.5)*(1.0/4294967296.0);
/* divided by 2^32 */
}
/* generates a random number on [0,1) with 53-bit resolution*/
double genrand_res53(void)
{
unsigned long a=genrand_int32()>>5, b=genrand_int32()>>6;
return(a*67108864.0+b)*(1.0/9007199254740992.0);
}
/* These real versions are due to Isaku Wada, 2002/01/09 added */

View File

@@ -1,82 +0,0 @@
#pragma once
/*
A C-program for MT19937, with initialization improved 2002/1/26.
Coded by Takuji Nishimura and Makoto Matsumoto.
Before using, initialize the state by using init_genrand(seed)
or init_by_array(init_key, key_length).
Copyright (C) 1997 - 2002, Makoto Matsumoto and Takuji Nishimura,
All rights reserved.
Copyright (C) 2005, Mutsuo Saito
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
3. The names of its contributors may not be used to endorse or promote
products derived from this software without specific prior written
permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Any feedback is very welcome.
http://www.math.sci.hiroshima-u.ac.jp/~m-mat/MT/emt.html
email: m-mat @ math.sci.hiroshima-u.ac.jp (remove space)
*/
#ifdef __cplusplus
extern "C" {
#endif
/* initializes mt[N] with a seed */
void init_genrand(unsigned long s);
/* initialize by an array with array-length */
/* init_key is the array for initializing keys */
/* key_length is its length */
/* slight change for C++, 2004/2/26 */
void init_by_array(unsigned long init_key[], int key_length);
/* generates a random number on [0,0xffffffff]-interval */
unsigned long genrand_int32(void);
/* generates a random number on [0,0x7fffffff]-interval */
long genrand_int31(void);
/* These real versions are due to Isaku Wada, 2002/01/09 added */
/* generates a random number on [0,1]-real-interval */
double genrand_real1(void);
/* generates a random number on [0,1)-real-interval */
double genrand_real2(void);
/* generates a random number on (0,1)-real-interval */
double genrand_real3(void);
/* generates a random number on [0,1) with 53-bit resolution*/
double genrand_res53(void);
#ifdef __cplusplus
}
#endif

View File

@@ -1,403 +0,0 @@
1000 outputs of genrand_int32()
1067595299 955945823 477289528 4107218783 4228976476
3344332714 3355579695 227628506 810200273 2591290167
2560260675 3242736208 646746669 1479517882 4245472273
1143372638 3863670494 3221021970 1773610557 1138697238
1421897700 1269916527 2859934041 1764463362 3874892047
3965319921 72549643 2383988930 2600218693 3237492380
2792901476 725331109 605841842 271258942 715137098
3297999536 1322965544 4229579109 1395091102 3735697720
2101727825 3730287744 2950434330 1661921839 2895579582
2370511479 1004092106 2247096681 2111242379 3237345263
4082424759 219785033 2454039889 3709582971 835606218
2411949883 2735205030 756421180 2175209704 1873865952
2762534237 4161807854 3351099340 181129879 3269891896
776029799 2218161979 3001745796 1866825872 2133627728
34862734 1191934573 3102311354 2916517763 1012402762
2184831317 4257399449 2899497138 3818095062 3030756734
1282161629 420003642 2326421477 2741455717 1278020671
3744179621 271777016 2626330018 2560563991 3055977700
4233527566 1228397661 3595579322 1077915006 2395931898
1851927286 3013683506 1999971931 3006888962 1049781534
1488758959 3491776230 104418065 2448267297 3075614115
3872332600 891912190 3936547759 2269180963 2633455084
1047636807 2604612377 2709305729 1952216715 207593580
2849898034 670771757 2210471108 467711165 263046873
3569667915 1042291111 3863517079 1464270005 2758321352
3790799816 2301278724 3106281430 7974801 2792461636
555991332 621766759 1322453093 853629228 686962251
1455120532 957753161 1802033300 1021534190 3486047311
1902128914 3701138056 4176424663 1795608698 560858864
3737752754 3141170998 1553553385 3367807274 711546358
2475125503 262969859 251416325 2980076994 1806565895
969527843 3529327173 2736343040 2987196734 1649016367
2206175811 3048174801 3662503553 3138851612 2660143804
1663017612 1816683231 411916003 3887461314 2347044079
1015311755 1203592432 2170947766 2569420716 813872093
1105387678 1431142475 220570551 4243632715 4179591855
2607469131 3090613241 282341803 1734241730 1391822177
1001254810 827927915 1886687171 3935097347 2631788714
3905163266 110554195 2447955646 3717202975 3304793075
3739614479 3059127468 953919171 2590123714 1132511021
3795593679 2788030429 982155079 3472349556 859942552
2681007391 2299624053 647443547 233600422 608168955
3689327453 1849778220 1608438222 3968158357 2692977776
2851872572 246750393 3582818628 3329652309 4036366910
1012970930 950780808 3959768744 2538550045 191422718
2658142375 3276369011 2927737484 1234200027 1920815603
3536074689 1535612501 2184142071 3276955054 428488088
2378411984 4059769550 3913744741 2732139246 64369859
3755670074 842839565 2819894466 2414718973 1010060670
1839715346 2410311136 152774329 3485009480 4102101512
2852724304 879944024 1785007662 2748284463 1354768064
3267784736 2269127717 3001240761 3179796763 895723219
865924942 4291570937 89355264 1471026971 4114180745
3201939751 2867476999 2460866060 3603874571 2238880432
3308416168 2072246611 2755653839 3773737248 1709066580
4282731467 2746170170 2832568330 433439009 3175778732
26248366 2551382801 183214346 3893339516 1928168445
1337157619 3429096554 3275170900 1782047316 4264403756
1876594403 4289659572 3223834894 1728705513 4068244734
2867840287 1147798696 302879820 1730407747 1923824407
1180597908 1569786639 198796327 560793173 2107345620
2705990316 3448772106 3678374155 758635715 884524671
486356516 1774865603 3881226226 2635213607 1181121587
1508809820 3178988241 1594193633 1235154121 326117244
2304031425 937054774 2687415945 3192389340 2003740439
1823766188 2759543402 10067710 1533252662 4132494984
82378136 420615890 3467563163 541562091 3535949864
2277319197 3330822853 3215654174 4113831979 4204996991
2162248333 3255093522 2219088909 2978279037 255818579
2859348628 3097280311 2569721123 1861951120 2907080079
2719467166 998319094 2521935127 2404125338 259456032
2086860995 1839848496 1893547357 2527997525 1489393124
2860855349 76448234 2264934035 744914583 2586791259
1385380501 66529922 1819103258 1899300332 2098173828
1793831094 276463159 360132945 4178212058 595015228
177071838 2800080290 1573557746 1548998935 378454223
1460534296 1116274283 3112385063 3709761796 827999348
3580042847 1913901014 614021289 4278528023 1905177404
45407939 3298183234 1184848810 3644926330 3923635459
1627046213 3677876759 969772772 1160524753 1522441192
452369933 1527502551 832490847 1003299676 1071381111
2891255476 973747308 4086897108 1847554542 3895651598
2227820339 1621250941 2881344691 3583565821 3510404498
849362119 862871471 797858058 2867774932 2821282612
3272403146 3997979905 209178708 1805135652 6783381
2823361423 792580494 4263749770 776439581 3798193823
2853444094 2729507474 1071873341 1329010206 1289336450
3327680758 2011491779 80157208 922428856 1158943220
1667230961 2461022820 2608845159 387516115 3345351910
1495629111 4098154157 3156649613 3525698599 4134908037
446713264 2137537399 3617403512 813966752 1157943946
3734692965 1680301658 3180398473 3509854711 2228114612
1008102291 486805123 863791847 3189125290 1050308116
3777341526 4291726501 844061465 1347461791 2826481581
745465012 2055805750 4260209475 2386693097 2980646741
447229436 2077782664 1232942813 4023002732 1399011509
3140569849 2579909222 3794857471 900758066 2887199683
1720257997 3367494931 2668921229 955539029 3818726432
1105704962 3889207255 2277369307 2746484505 1761846513
2413916784 2685127085 4240257943 1166726899 4215215715
3082092067 3960461946 1663304043 2087473241 4162589986
2507310778 1579665506 767234210 970676017 492207530
1441679602 1314785090 3262202570 3417091742 1561989210
3011406780 1146609202 3262321040 1374872171 1634688712
1280458888 2230023982 419323804 3262899800 39783310
1641619040 1700368658 2207946628 2571300939 2424079766
780290914 2715195096 3390957695 163151474 2309534542
1860018424 555755123 280320104 1604831083 2713022383
1728987441 3639955502 623065489 3828630947 4275479050
3516347383 2343951195 2430677756 635534992 3868699749
808442435 3070644069 4282166003 2093181383 2023555632
1568662086 3422372620 4134522350 3016979543 3259320234
2888030729 3185253876 4258779643 1267304371 1022517473
815943045 929020012 2995251018 3371283296 3608029049
2018485115 122123397 2810669150 1411365618 1238391329
1186786476 3155969091 2242941310 1765554882 279121160
4279838515 1641578514 3796324015 13351065 103516986
1609694427 551411743 2493771609 1316337047 3932650856
4189700203 463397996 2937735066 1855616529 2626847990
55091862 3823351211 753448970 4045045500 1274127772
1124182256 92039808 2126345552 425973257 386287896
2589870191 1987762798 4084826973 2172456685 3366583455
3602966653 2378803535 2901764433 3716929006 3710159000
2653449155 3469742630 3096444476 3932564653 2595257433
318974657 3146202484 853571438 144400272 3768408841
782634401 2161109003 570039522 1886241521 14249488
2230804228 1604941699 3928713335 3921942509 2155806892
134366254 430507376 1924011722 276713377 196481886
3614810992 1610021185 1785757066 851346168 3761148643
2918835642 3364422385 3012284466 3735958851 2643153892
3778608231 1164289832 205853021 2876112231 3503398282
3078397001 3472037921 1748894853 2740861475 316056182
1660426908 168885906 956005527 3984354789 566521563
1001109523 1216710575 2952284757 3834433081 3842608301
2467352408 3974441264 3256601745 1409353924 1329904859
2307560293 3125217879 3622920184 3832785684 3882365951
2308537115 2659155028 1450441945 3532257603 3186324194
1225603425 1124246549 175808705 3009142319 2796710159
3651990107 160762750 1902254979 1698648476 1134980669
497144426 3302689335 4057485630 3603530763 4087252587
427812652 286876201 823134128 1627554964 3745564327
2589226092 4202024494 62878473 3275585894 3987124064
2791777159 1916869511 2585861905 1375038919 1403421920
60249114 3811870450 3021498009 2612993202 528933105
2757361321 3341402964 2621861700 273128190 4015252178
3094781002 1621621288 2337611177 1796718448 1258965619
4241913140 2138560392 3022190223 4174180924 450094611
3274724580 617150026 2704660665 1469700689 1341616587
356715071 1188789960 2278869135 1766569160 2795896635
57824704 2893496380 1235723989 1630694347 3927960522
428891364 1814070806 2287999787 4125941184 3968103889
3548724050 1025597707 1404281500 2002212197 92429143
2313943944 2403086080 3006180634 3561981764 1671860914
1768520622 1803542985 844848113 3006139921 1410888995
1157749833 2125704913 1789979528 1799263423 741157179
2405862309 767040434 2655241390 3663420179 2172009096
2511931187 1680542666 231857466 1154981000 157168255
1454112128 3505872099 1929775046 2309422350 2143329496
2960716902 407610648 2938108129 2581749599 538837155
2342628867 430543915 740188568 1937713272 3315215132
2085587024 4030765687 766054429 3517641839 689721775
1294158986 1753287754 4202601348 1974852792 33459103
3568087535 3144677435 1686130825 4134943013 3005738435
3599293386 426570142 754104406 3660892564 1964545167
829466833 821587464 1746693036 1006492428 1595312919
1256599985 1024482560 1897312280 2902903201 691790057
1037515867 3176831208 1968401055 2173506824 1089055278
1748401123 2941380082 968412354 1818753861 2973200866
3875951774 1119354008 3988604139 1647155589 2232450826
3486058011 3655784043 3759258462 847163678 1082052057
989516446 2871541755 3196311070 3929963078 658187585
3664944641 2175149170 2203709147 2756014689 2456473919
3890267390 1293787864 2830347984 3059280931 4158802520
1561677400 2586570938 783570352 1355506163 31495586
3789437343 3340549429 2092501630 896419368 671715824
3530450081 3603554138 1055991716 3442308219 1499434728
3130288473 3639507000 17769680 2259741420 487032199
4227143402 3693771256 1880482820 3924810796 381462353
4017855991 2452034943 2736680833 2209866385 2128986379
437874044 595759426 641721026 1636065708 3899136933
629879088 3591174506 351984326 2638783544 2348444281
2341604660 2123933692 143443325 1525942256 364660499
599149312 939093251 1523003209 106601097 376589484
1346282236 1297387043 764598052 3741218111 933457002
1886424424 3219631016 525405256 3014235619 323149677
2038881721 4100129043 2851715101 2984028078 1888574695
2014194741 3515193880 4180573530 3461824363 2641995497
3179230245 2902294983 2217320456 4040852155 1784656905
3311906931 87498458 2752971818 2635474297 2831215366
3682231106 2920043893 3772929704 2816374944 309949752
2383758854 154870719 385111597 1191604312 1840700563
872191186 2925548701 1310412747 2102066999 1504727249
3574298750 1191230036 3330575266 3180292097 3539347721
681369118 3305125752 3648233597 950049240 4173257693
1760124957 512151405 681175196 580563018 1169662867
4015033554 2687781101 699691603 2673494188 1137221356
123599888 472658308 1053598179 1012713758 3481064843
3759461013 3981457956 3830587662 1877191791 3650996736
988064871 3515461600 4089077232 2225147448 1249609188
2643151863 3896204135 2416995901 1397735321 3460025646
1000 outputs of genrand_real2()
0.76275443 0.99000644 0.98670464 0.10143112 0.27933125
0.69867227 0.94218740 0.03427201 0.78842173 0.28180608
0.92179002 0.20785655 0.54534773 0.69644020 0.38107718
0.23978165 0.65286910 0.07514568 0.22765211 0.94872929
0.74557914 0.62664415 0.54708246 0.90959343 0.42043116
0.86334511 0.19189126 0.14718544 0.70259889 0.63426346
0.77408121 0.04531601 0.04605807 0.88595519 0.69398270
0.05377184 0.61711170 0.05565708 0.10133577 0.41500776
0.91810699 0.22320679 0.23353705 0.92871862 0.98897234
0.19786706 0.80558809 0.06961067 0.55840445 0.90479405
0.63288060 0.95009721 0.54948447 0.20645042 0.45000959
0.87050869 0.70806991 0.19406895 0.79286390 0.49332866
0.78483914 0.75145146 0.12341941 0.42030252 0.16728160
0.59906494 0.37575460 0.97815160 0.39815952 0.43595080
0.04952478 0.33917805 0.76509902 0.61034321 0.90654701
0.92915732 0.85365931 0.18812377 0.65913428 0.28814566
0.59476081 0.27835931 0.60722542 0.68310435 0.69387186
0.03699800 0.65897714 0.17527003 0.02889304 0.86777366
0.12352068 0.91439461 0.32022990 0.44445731 0.34903686
0.74639273 0.65918367 0.92492794 0.31872642 0.77749724
0.85413832 0.76385624 0.32744211 0.91326300 0.27458185
0.22190155 0.19865383 0.31227402 0.85321225 0.84243342
0.78544200 0.71854080 0.92503892 0.82703064 0.88306297
0.47284073 0.70059042 0.48003761 0.38671694 0.60465770
0.41747204 0.47163243 0.72750808 0.65830223 0.10955369
0.64215401 0.23456345 0.95944940 0.72822249 0.40888451
0.69980355 0.26677428 0.57333635 0.39791582 0.85377858
0.76962816 0.72004885 0.90903087 0.51376506 0.37732665
0.12691640 0.71249738 0.81217908 0.37037313 0.32772374
0.14238259 0.05614811 0.74363008 0.39773267 0.94859135
0.31452454 0.11730313 0.62962618 0.33334237 0.45547255
0.10089665 0.56550662 0.60539371 0.16027624 0.13245301
0.60959939 0.04671662 0.99356286 0.57660859 0.40269560
0.45274629 0.06699735 0.85064246 0.87742744 0.54508392
0.87242982 0.29321385 0.67660627 0.68230715 0.79052073
0.48592054 0.25186266 0.93769755 0.28565487 0.47219067
0.99054882 0.13155240 0.47110470 0.98556600 0.84397623
0.12875246 0.90953202 0.49129015 0.23792727 0.79481194
0.44337770 0.96564297 0.67749118 0.55684872 0.27286897
0.79538393 0.61965356 0.22487929 0.02226018 0.49248200
0.42247006 0.91797788 0.99250134 0.23449967 0.52531508
0.10246337 0.78685622 0.34310922 0.89892996 0.40454552
0.68608407 0.30752487 0.83601319 0.54956031 0.63777550
0.82199797 0.24890696 0.48801123 0.48661910 0.51223987
0.32969635 0.31075073 0.21393155 0.73453207 0.15565705
0.58584522 0.28976728 0.97621478 0.61498701 0.23891470
0.28518540 0.46809591 0.18371914 0.37597910 0.13492176
0.66849449 0.82811466 0.56240330 0.37548956 0.27562998
0.27521910 0.74096121 0.77176757 0.13748143 0.99747138
0.92504502 0.09175241 0.21389176 0.21766512 0.31183245
0.23271221 0.21207367 0.57903312 0.77523344 0.13242613
0.31037988 0.01204835 0.71652949 0.84487594 0.14982178
0.57423142 0.45677888 0.48420169 0.53465428 0.52667473
0.46880526 0.49849733 0.05670710 0.79022476 0.03872047
0.21697212 0.20443086 0.28949326 0.81678186 0.87629474
0.92297064 0.27373097 0.84625273 0.51505586 0.00582792
0.33295971 0.91848412 0.92537226 0.91760033 0.07541125
0.71745848 0.61158698 0.00941650 0.03135554 0.71527471
0.24821915 0.63636652 0.86159918 0.26450229 0.60160194
0.35557725 0.24477500 0.07186456 0.51757096 0.62120362
0.97981062 0.69954667 0.21065616 0.13382753 0.27693186
0.59644095 0.71500764 0.04110751 0.95730081 0.91600724
0.47704678 0.26183479 0.34706971 0.07545431 0.29398385
0.93236070 0.60486023 0.48015011 0.08870451 0.45548581
0.91872718 0.38142712 0.10668643 0.01397541 0.04520355
0.93822273 0.18011940 0.57577277 0.91427606 0.30911399
0.95853475 0.23611214 0.69619891 0.69601980 0.76765372
0.58515930 0.49479057 0.11288752 0.97187699 0.32095365
0.57563608 0.40760618 0.78703383 0.43261152 0.90877651
0.84686346 0.10599030 0.72872803 0.19315490 0.66152912
0.10210518 0.06257876 0.47950688 0.47062066 0.72701157
0.48915116 0.66110261 0.60170685 0.24516994 0.12726050
0.03451185 0.90864994 0.83494878 0.94800035 0.91035206
0.14480751 0.88458997 0.53498312 0.15963215 0.55378627
0.35171349 0.28719791 0.09097957 0.00667896 0.32309622
0.87561479 0.42534520 0.91748977 0.73908457 0.41793223
0.99279792 0.87908370 0.28458072 0.59132853 0.98672190
0.28547393 0.09452165 0.89910674 0.53681109 0.37931425
0.62683489 0.56609740 0.24801549 0.52948179 0.98328855
0.66403523 0.55523786 0.75886666 0.84784685 0.86829981
0.71448906 0.84670080 0.43922919 0.20771016 0.64157936
0.25664246 0.73055695 0.86395782 0.65852932 0.99061803
0.40280575 0.39146298 0.07291005 0.97200603 0.20555729
0.59616495 0.08138254 0.45796388 0.33681125 0.33989127
0.18717090 0.53545811 0.60550838 0.86520709 0.34290701
0.72743276 0.73023855 0.34195926 0.65019733 0.02765254
0.72575740 0.32709576 0.03420866 0.26061893 0.56997511
0.28439072 0.84422744 0.77637570 0.55982168 0.06720327
0.58449067 0.71657369 0.15819609 0.58042821 0.07947911
0.40193792 0.11376012 0.88762938 0.67532159 0.71223735
0.27829114 0.04806073 0.21144026 0.58830274 0.04140071
0.43215628 0.12952729 0.94668759 0.87391019 0.98382450
0.27750768 0.90849647 0.90962737 0.59269720 0.96102026
0.49544979 0.32007095 0.62585546 0.03119821 0.85953001
0.22017528 0.05834068 0.80731217 0.53799961 0.74166948
0.77426600 0.43938444 0.54862081 0.58575513 0.15886492
0.73214332 0.11649057 0.77463977 0.85788827 0.17061997
0.66838056 0.96076133 0.07949296 0.68521946 0.89986254
0.05667410 0.12741385 0.83470977 0.63969104 0.46612929
0.10200126 0.01194925 0.10476340 0.90285217 0.31221221
0.32980614 0.46041971 0.52024973 0.05425470 0.28330912
0.60426543 0.00598243 0.97244013 0.21135841 0.78561597
0.78428734 0.63422849 0.32909934 0.44771136 0.27380750
0.14966697 0.18156268 0.65686758 0.28726350 0.97074787
0.63676171 0.96649494 0.24526295 0.08297372 0.54257548
0.03166785 0.33735355 0.15946671 0.02102971 0.46228045
0.11892296 0.33408336 0.29875681 0.29847692 0.73767569
0.02080745 0.62980060 0.08082293 0.22993106 0.25031439
0.87787525 0.45150053 0.13673441 0.63407612 0.97907688
0.52241942 0.50580158 0.06273902 0.05270283 0.77031811
0.05113352 0.24393329 0.75036441 0.37436336 0.22877652
0.59975358 0.85707591 0.88691457 0.85547165 0.36641027
0.58720133 0.45462835 0.09243817 0.32981586 0.07820411
0.25421519 0.36004706 0.60092307 0.46192412 0.36758683
0.98424170 0.08019934 0.68594024 0.45826386 0.29962317
0.79365413 0.89231296 0.49478547 0.87645944 0.23590734
0.28106737 0.75026285 0.08136314 0.79582424 0.76010628
0.82792971 0.27947652 0.72482861 0.82191216 0.46171689
0.79189752 0.96043686 0.51609668 0.88995725 0.28998963
0.55191845 0.03934737 0.83033700 0.49553013 0.98009549
0.19017594 0.98347750 0.33452066 0.87144372 0.72106301
0.71272114 0.71465963 0.88361677 0.85571283 0.73782329
0.20920458 0.34855153 0.46766817 0.02780062 0.74898344
0.03680650 0.44866557 0.77426312 0.91025891 0.25195236
0.87319953 0.63265037 0.25552148 0.27422476 0.95217406
0.39281839 0.66441573 0.09158900 0.94515992 0.07800798
0.02507888 0.39901462 0.17382573 0.12141278 0.85502334
0.19902911 0.02160210 0.44460522 0.14688742 0.68020336
0.71323733 0.60922473 0.95400380 0.99611159 0.90897777
0.41073520 0.66206647 0.32064685 0.62805003 0.50677209
0.52690101 0.87473387 0.73918362 0.39826974 0.43683919
0.80459118 0.32422684 0.01958019 0.95319576 0.98326137
0.83931735 0.69060863 0.33671416 0.68062550 0.65152380
0.33392969 0.03451730 0.95227244 0.68200635 0.85074171
0.64721009 0.51234433 0.73402047 0.00969637 0.93835057
0.80803854 0.31485260 0.20089527 0.01323282 0.59933780
0.31584602 0.20209563 0.33754800 0.68604181 0.24443049
0.19952227 0.78162632 0.10336988 0.11360736 0.23536740
0.23262256 0.67803776 0.48749791 0.74658435 0.92156640
0.56706407 0.36683221 0.99157136 0.23421374 0.45183767
0.91609720 0.85573315 0.37706276 0.77042618 0.30891908
0.40709595 0.06944866 0.61342849 0.88817388 0.58734506
0.98711323 0.14744128 0.63242656 0.87704136 0.68347125
0.84446569 0.43265239 0.25146321 0.04130111 0.34259839
0.92697368 0.40878778 0.56990338 0.76204273 0.19820348
0.66314909 0.02482844 0.06669207 0.50205581 0.26084093
0.65139159 0.41650223 0.09733904 0.56344203 0.62651696
0.67332139 0.58037374 0.47258086 0.21010758 0.05713135
0.89390629 0.10781246 0.32037450 0.07628388 0.34227964
0.42190597 0.58201860 0.77363549 0.49595133 0.86031236
0.83906769 0.81098161 0.26694195 0.14215941 0.88210306
0.53634237 0.12090720 0.82480459 0.75930318 0.31847147
0.92768077 0.01037616 0.56201727 0.88107122 0.35925856
0.85860762 0.61109408 0.70408301 0.58434977 0.92192494
0.62667915 0.75988365 0.06858761 0.36156496 0.58057195
0.13636150 0.57719713 0.59340255 0.63530602 0.22976282
0.71915530 0.41162531 0.63979565 0.09931342 0.79344045
0.10893790 0.84450224 0.23122236 0.99485593 0.73637397
0.17276368 0.13357764 0.74965804 0.64991737 0.61990341
0.41523170 0.05878239 0.05687301 0.05497131 0.42868366
0.42571090 0.25810502 0.89642955 0.30439758 0.39310223
0.11357431 0.04288255 0.23397550 0.11200634 0.85621396
0.89733974 0.37508865 0.42077265 0.68597384 0.72781399
0.19296476 0.61699087 0.31667128 0.67756410 0.00177323
0.05725176 0.79474693 0.18885238 0.06724856 0.68193156
0.42202167 0.22082041 0.28554673 0.64995708 0.87851940
0.29124547 0.61009521 0.87374537 0.05743712 0.69902994
0.81925115 0.45653873 0.37236821 0.31118709 0.52734307
0.39672836 0.38185294 0.30163915 0.17374510 0.04913278
0.90404879 0.25742801 0.58266467 0.97663209 0.79823377
0.36437958 0.15206043 0.26529938 0.22690047 0.05839021
0.84721160 0.18622435 0.37809403 0.55706977 0.49828704
0.47659049 0.24289680 0.88477595 0.07807463 0.56245739
0.73490635 0.21099431 0.13164942 0.75840044 0.66877037
0.28988183 0.44046090 0.24967434 0.80048356 0.26029740
0.30416821 0.64151867 0.52067892 0.12880774 0.85465381
0.02690525 0.19149288 0.49630295 0.79682619 0.43566145
0.00288078 0.81484193 0.03763639 0.68529083 0.01339574
0.38405386 0.30537067 0.22994703 0.44000045 0.27217985
0.53831243 0.02870435 0.86282045 0.61831306 0.09164956
0.25609707 0.07445781 0.72185784 0.90058883 0.30070608
0.94476583 0.56822213 0.21933909 0.96772793 0.80063440
0.26307906 0.31183306 0.16501252 0.55436179 0.68562285
0.23829083 0.86511559 0.57868991 0.81888344 0.20126869
0.93172350 0.66028129 0.21786948 0.78515828 0.10262106
0.35390326 0.79303876 0.63427924 0.90479631 0.31024934
0.60635447 0.56198079 0.63573813 0.91854197 0.99701497
0.83085849 0.31692291 0.01925964 0.97446405 0.98751283
0.60944293 0.13751018 0.69519957 0.68956636 0.56969015
0.46440193 0.88341765 0.36754434 0.89223647 0.39786427
0.85055280 0.12749961 0.79452122 0.89449784 0.14567830
0.45716830 0.74822309 0.28200437 0.42546044 0.17464886
0.68308746 0.65496587 0.52935411 0.12736159 0.61523955
0.81590528 0.63107864 0.39786553 0.20102294 0.53292914
0.75485590 0.59847044 0.32861691 0.12125866 0.58917183
0.07638293 0.86845380 0.29192617 0.03989733 0.52180460
0.32503407 0.64071852 0.69516575 0.74254998 0.54587026
0.48713246 0.32920155 0.08719954 0.63497059 0.54328459
0.64178757 0.45583809 0.70694291 0.85212760 0.86074305
0.33163422 0.85739792 0.59908488 0.74566046 0.72157152

View File

@@ -1,158 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug|x64">
<Configuration>Debug</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|Win32">
<Configuration>Release</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|x64">
<Configuration>Release</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
</ItemGroup>
<ItemGroup>
<ClInclude Include="mt19937ar.h" />
</ItemGroup>
<ItemGroup>
<ClCompile Include="mt19937ar.c" />
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{7AE31676-6137-4FB3-AE9C-AD47D8A861CF}</ProjectGuid>
<Keyword>Win32Proj</Keyword>
<RootNamespace>mt19937ar</RootNamespace>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>$(DefaultPlatformToolset)</PlatformToolset>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>$(DefaultPlatformToolset)</PlatformToolset>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>$(DefaultPlatformToolset)</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>$(DefaultPlatformToolset)</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<OutDir>$(SolutionDir).vs\build\</OutDir>
<IntDir>$(SolutionDir).vs\build\$(ProjectName)\$(Platform)\$(Configuration)\</IntDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<OutDir>$(SolutionDir).vs\build\</OutDir>
<IntDir>$(SolutionDir).vs\build\$(ProjectName)\$(Platform)\$(Configuration)\</IntDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<OutDir>$(SolutionDir).vs\build\</OutDir>
<IntDir>$(SolutionDir).vs\build\$(ProjectName)\$(Platform)\$(Configuration)\</IntDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<OutDir>$(SolutionDir).vs\build\</OutDir>
<IntDir>$(SolutionDir).vs\build\$(ProjectName)\$(Platform)\$(Configuration)\</IntDir>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<PrecompiledHeader>
</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>$(DefineConstants);WIN32;_DEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<ClCompile>
<PrecompiledHeader>
</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>$(DefineConstants);WIN32;_DEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<PrecompiledHeader>
</PrecompiledHeader>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>$(DefineConstants);WIN32;NDEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<PrecompiledHeader>
</PrecompiledHeader>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>$(DefineConstants);WIN32;NDEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
</Link>
</ItemDefinitionGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>

View File

@@ -1,65 +0,0 @@
/*
A C-program for MT19937, with initialization improved 2002/1/26.
Coded by Takuji Nishimura and Makoto Matsumoto.
Before using, initialize the state by using init_genrand(seed)
or init_by_array(init_key, key_length).
Copyright (C) 1997 - 2002, Makoto Matsumoto and Takuji Nishimura,
All rights reserved.
Copyright (C) 2005, Mutsuo Saito,
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
3. The names of its contributors may not be used to endorse or promote
products derived from this software without specific prior written
permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Any feedback is very welcome.
http://www.math.sci.hiroshima-u.ac.jp/~m-mat/MT/emt.html
email: m-mat @ math.sci.hiroshima-u.ac.jp (remove space)
*/
#include <stdio.h>
#include "mt19937ar.h"
int main(void)
{
int i;
unsigned long init[4]={0x123, 0x234, 0x345, 0x456}, length=4;
init_by_array(init, length);
printf("1000 outputs of genrand_int32()\n");
for (i=0; i<1000; i++) {
printf("%10lu ", genrand_int32());
if (i%5==4) printf("\n");
}
printf("\n1000 outputs of genrand_real2()\n");
for (i=0; i<1000; i++) {
printf("%10.8f ", genrand_real2());
if (i%5==4) printf("\n");
}
return 0;
}

View File

@@ -1,79 +0,0 @@
This is a Mersenne Twister pseudorandom number generator
with period 2^19937-1 with improved initialization scheme,
modified on 2002/1/26 by Takuji Nishimura and Makoto Matsumoto.
modified on 2005/4/26 by Mutsuo Saito
Contents of this tar ball:
readme-mt.txt this file
mt19937ar.c the C source (ar: initialize by ARray)
mt19937ar.h the C header file for mt19937ar
mtTest.c the C test main program of mt19937ar.c
mt19937ar.out Test outputs of six types generators. 1000 for each
1. Initialization
The initialization scheme for the previous versions of MT
(e.g. 1999/10/28 version or earlier) has a tiny problem, that
the most significant bits of the seed is not well reflected
to the state vector of MT.
This version (2002/1/26) has two initialization schemes:
init_genrand(seed) and init_by_array(init_key, key_length).
init_genrand(seed) initializes the state vector by using
one unsigned 32-bit integer "seed", which may be zero.
init_by_array(init_key, key_length) initializes the state vector
by using an array init_key[] of unsigned 32-bit integers
of length key_kength. If key_length is smaller than 624,
then each array of 32-bit integers gives distinct initial
state vector. This is useful if you want a larger seed space
than 32-bit word.
2. Generation
After initialization, the following type of pseudorandom numbers
are available.
genrand_int32() generates unsigned 32-bit integers.
genrand_int31() generates unsigned 31-bit integers.
genrand_real1() generates uniform real in [0,1] (32-bit resolution).
genrand_real2() generates uniform real in [0,1) (32-bit resolution).
genrand_real3() generates uniform real in (0,1) (32-bit resolution).
genrand_res53() generates uniform real in [0,1) with 53-bit resolution.
Note: the last five functions call the first one.
if you need more speed for these five functions, you may
suppress the function call by copying genrand_int32() and
replacing the last return(), following to these five functions.
3. main()
main() is an example to initialize with an array of length 4,
then 1000 outputs of unsigned 32-bit integers,
then 1000 outputs of real [0,1) numbers.
4. The outputs
The output of the mt19937ar.c is in the file mt19937ar.out.
If you revise or translate the code, check the output
by using this file.
5. Cryptography
This generator is not cryptoraphically secure.
You need to use a one-way (or hash) function to obtain
a secure random sequence.
6. Correspondence
See:
URL http://www.math.keio.ac.jp/matumoto/emt.html
email matumoto@math.keio.ac.jp, nisimura@sci.kj.yamagata-u.ac.jp
7. Reference
M. Matsumoto and T. Nishimura,
"Mersenne Twister: A 623-Dimensionally Equidistributed Uniform
Pseudo-Random Number Generator",
ACM Transactions on Modeling and Computer Simulation,
Vol. 8, No. 1, January 1998, pp 3--30.
-------
Copyright (C) 1997 - 2002, Makoto Matsumoto and Takuji Nishimura,
All rights reserved.
Copyright (C) 2005, Mutsuo Saito
All rights reserved.

View File

@@ -7,10 +7,17 @@ message( STATUS "Detecting local MYSQL" )
find_path( MYSQL_LOCAL_INCLUDE_DIRS "mysql.h"
PATHS "${CMAKE_CURRENT_SOURCE_DIR}/include"
NO_DEFAULT_PATH )
if(CMAKE_SIZEOF_VOID_P EQUAL 4)
find_library( MYSQL_LOCAL_LIBRARIES
NAMES libmysql
PATHS "${CMAKE_CURRENT_SOURCE_DIR}/lib"
PATHS "${CMAKE_CURRENT_SOURCE_DIR}/lib/Win32"
NO_DEFAULT_PATH )
else()
find_library( MYSQL_LOCAL_LIBRARIES
NAMES libmysql
PATHS "${CMAKE_CURRENT_SOURCE_DIR}/lib/x64"
NO_DEFAULT_PATH )
endif()
mark_as_advanced( MYSQL_LOCAL_LIBRARIES )
mark_as_advanced( MYSQL_LOCAL_INCLUDE_DIRS )

View File

@@ -7,10 +7,17 @@ message( STATUS "Detecting local PCRE" )
find_path( PCRE_LOCAL_INCLUDE_DIRS "pcre.h"
PATHS "${CMAKE_CURRENT_SOURCE_DIR}/include"
NO_DEFAULT_PATH )
if(CMAKE_SIZEOF_VOID_P EQUAL 4)
find_library( PCRE_LOCAL_LIBRARIES
NAMES pcre
PATHS "${CMAKE_CURRENT_SOURCE_DIR}/lib"
NAMES pcre8
PATHS "${CMAKE_CURRENT_SOURCE_DIR}/lib/Win32"
NO_DEFAULT_PATH )
else()
find_library( PCRE_LOCAL_LIBRARIES
NAMES pcre8
PATHS "${CMAKE_CURRENT_SOURCE_DIR}/lib/x64"
NO_DEFAULT_PATH )
endif()
mark_as_advanced( PCRE_LOCAL_LIBRARIES )
mark_as_advanced( PCRE_LOCAL_INCLUDE_DIRS )

View File

@@ -95,7 +95,7 @@
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<InlineFunctionExpansion>Disabled</InlineFunctionExpansion>
<AdditionalIncludeDirectories>$(SolutionDir)3rdparty\yaml-cpp\include\;$(SolutionDir)3rdparty\yaml-cpp\src\;</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;_WINDOWS;_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PreprocessorDefinitions>WIN32;_WINDOWS;_DEBUG;_ITERATOR_DEBUG_LEVEL=0;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
</ClCompile>
</ItemDefinitionGroup>
@@ -107,7 +107,7 @@
</SDLCheck>
<AdditionalIncludeDirectories>$(SolutionDir)3rdparty\yaml-cpp\include\;$(SolutionDir)3rdparty\yaml-cpp\src\;</AdditionalIncludeDirectories>
<InlineFunctionExpansion>Disabled</InlineFunctionExpansion>
<PreprocessorDefinitions>WIN32;_WINDOWS;_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PreprocessorDefinitions>WIN32;_WINDOWS;_DEBUG;_ITERATOR_DEBUG_LEVEL=0;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
</ClCompile>
</ItemDefinitionGroup>

View File

@@ -7,10 +7,17 @@ message( STATUS "Detecting local ZLIB" )
find_path( ZLIB_LOCAL_INCLUDE_DIRS "zlib.h"
PATHS "${CMAKE_CURRENT_SOURCE_DIR}/include"
NO_DEFAULT_PATH )
if(CMAKE_SIZEOF_VOID_P EQUAL 4)
find_library( ZLIB_LOCAL_LIBRARIES
NAMES zdll
PATHS "${CMAKE_CURRENT_SOURCE_DIR}/lib"
NAMES zlib
PATHS "${CMAKE_CURRENT_SOURCE_DIR}/lib/Win32"
NO_DEFAULT_PATH )
else()
find_library( ZLIB_LOCAL_LIBRARIES
NAMES zlib
PATHS "${CMAKE_CURRENT_SOURCE_DIR}/lib/x64"
NO_DEFAULT_PATH )
endif()
mark_as_advanced( ZLIB_LOCAL_LIBRARIES )
mark_as_advanced( ZLIB_LOCAL_INCLUDE_DIRS )

View File

@@ -227,6 +227,7 @@ Sirius_White
sk
SketchyPhoenix
Skotlex
SnakeDrak
spamrat
SPDFMember
spira

View File

@@ -145,7 +145,7 @@ message( STATUS "Detecting threads library" )
set( CMAKE_THREAD_PREFER_PTHREAD 1 )
find_package(Threads REQUIRED)
if( CMAKE_THREAD_LIBS_INIT )
message( STATUS "Adding global library: ${FUNCTION_FLOOR_LIBRARIES}" )
message( STATUS "Adding global library: ${CMAKE_THREAD_LIBS_INIT}" )
set_property( CACHE GLOBAL_LIBRARIES PROPERTY VALUE ${GLOBAL_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT} )
endif()
message( STATUS "Detecting threads library - done" )
@@ -164,6 +164,7 @@ endif()
#
# math library (FreeBSD/Linux/Solaris)
#
if( NOT WIN32 )
message( STATUS "Detecting math library (m)" )
CHECK_INCLUDE_FILE( math.h HAVE_MATH_H )
if( NOT HAVE_MATH_H )
@@ -176,6 +177,7 @@ if( FUNCTION_FLOOR_LIBRARIES )
set_property( CACHE GLOBAL_LIBRARIES PROPERTY VALUE ${GLOBAL_LIBRARIES} ${FUNCTION_FLOOR_LIBRARIES} )
endif()
message( STATUS "Detecting math library (m) - done" )
endif()
#
@@ -469,10 +471,7 @@ set( DEVELOPMENT_FILES
"${CMAKE_CURRENT_SOURCE_DIR}/CMakeLists.txt"
"${CMAKE_CURRENT_SOURCE_DIR}/configure"
"${CMAKE_CURRENT_SOURCE_DIR}/configure.in"
"${CMAKE_CURRENT_SOURCE_DIR}/rAthena-9.sln"
"${CMAKE_CURRENT_SOURCE_DIR}/rAthena-10.sln"
"${CMAKE_CURRENT_SOURCE_DIR}/rAthena-12.sln"
"${CMAKE_CURRENT_SOURCE_DIR}/rAthena-13.sln"
"${CMAKE_CURRENT_SOURCE_DIR}/rAthena.sln"
)
set( DEVELOPMENT_DIRECTORIES
"3rdparty"
@@ -480,8 +479,6 @@ set( DEVELOPMENT_DIRECTORIES
"conf/msg_conf/import-tmpl"
"db/import-tmpl"
"src"
"vcproj-9"
"vcproj-10"
)
set( RUNTIME_FILES
"${CMAKE_CURRENT_SOURCE_DIR}/athena-start"

View File

@@ -5,10 +5,10 @@ OMAP=@OMAP@
ifeq ($(HAVE_MYSQL),yes)
ALL_DEPENDS=server tools
SERVER_DEPENDS=common login char map import
COMMON_DEPENDS=mt19937ar libconfig yaml-cpp
LOGIN_DEPENDS=mt19937ar libconfig common
CHAR_DEPENDS=mt19937ar libconfig common yaml-cpp
MAP_DEPENDS=mt19937ar libconfig common yaml-cpp
COMMON_DEPENDS=libconfig yaml-cpp
LOGIN_DEPENDS=libconfig common
CHAR_DEPENDS=libconfig common yaml-cpp
MAP_DEPENDS=libconfig common yaml-cpp
else
ALL_DEPENDS=needs_mysql
SERVER_DEPENDS=needs_mysql
@@ -22,7 +22,6 @@ endif
#####################################################################
.PHONY: all server sql \
common \
mt19937ar \
login \
char \
map \
@@ -50,9 +49,6 @@ char: $(CHAR_DEPENDS)
map: $(MAP_DEPENDS)
@$(MAKE) -C src/map server
mt19937ar:
@$(MAKE) -C 3rdparty/mt19937ar
libconfig:
@$(MAKE) -C 3rdparty/libconfig
@@ -79,7 +75,6 @@ import:
clean:
@$(MAKE) -C src/common $@
@$(MAKE) -C 3rdparty/mt19937ar $@
@$(MAKE) -C 3rdparty/libconfig $@
@$(MAKE) -C 3rdparty/yaml-cpp $@
@$(MAKE) -C src/login $@
@@ -91,7 +86,6 @@ help:
@echo "most common targets are 'all' 'server' 'conf' 'clean' 'help'"
@echo "possible targets are:"
@echo "'common' - builds object files used for the three servers"
@echo "'mt19937ar' - builds object file of Mersenne Twister MT19937"
@echo "'libconfig' - builds object files of libconfig"
@echo "'yaml-cpp' - builds object files of yaml-cpp"
@echo "'login' - builds login server"

237
README.md
View File

@@ -1,209 +1,72 @@
rAthena
=======
<img src="branding/logo.png" align="right" height="90" />
Build Status: [![Build Status](https://travis-ci.org/rathena/rathena.png?branch=master)](https://travis-ci.org/rathena/rathena) [![Build status](https://ci.appveyor.com/api/projects/status/8574b8nlwd57loda/branch/master?svg=true)](https://ci.appveyor.com/project/rAthenaAPI/rathena/branch/master)
# rAthena
[![Build Status](https://travis-ci.org/rathena/rathena.png?branch=master)](https://travis-ci.org/rathena/rathena) [![Build status](https://ci.appveyor.com/api/projects/status/8574b8nlwd57loda/branch/master?svg=true)](https://ci.appveyor.com/project/rAthenaAPI/rathena/branch/master) [![Total alerts](https://img.shields.io/lgtm/alerts/g/rathena/rathena.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/rathena/rathena/alerts/) [![Language grade: C/C++](https://img.shields.io/lgtm/grade/cpp/g/rathena/rathena.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/rathena/rathena/context:cpp) ![GitHub](https://img.shields.io/github/license/rathena/rathena.svg) ![GitHub repo size](https://img.shields.io/github/repo-size/rathena/rathena.svg)
> rAthena is a collaborative software development project revolving around the creation of a robust massively multiplayer online role playing game (MMORPG) server package. Written in C, the program is very versatile and provides NPCs, warps and modifications. The project is jointly managed by a group of volunteers located around the world as well as a tremendous community providing QA and support. rAthena is a continuation of the eAthena project.
Table of Contents
---------
1. What is rAthena?
2. Prerequisites
3. Installation
4. Troubleshooting
5. Helpful Links
6. More Documentation
7. How to Contribute
[Forum](https://rathena.org/board)|[Discord](https://rathena.org/discord)|[Wiki](https://github.com/rathena/rathena/wiki)|[FluxCP](https://github.com/rathena/FluxCP)|[Crowdfunding](https://rathena.org/board/crowdfunding/)|[Fork and Pull Request Q&A](https://rathena.org/board/topic/86913-pull-request-qa/)
--------|--------|--------|--------|--------|--------
1. What is rAthena?
---------
rAthena is a collaborative software development project revolving around the
creation of a robust massively multiplayer online role playing game (MMORPG)
server package. Written in C, the program is very versatile and provides NPCs,
warps and modifications. The project is jointly managed by a group of volunteers
located around the world as well as a tremendous community providing QA and
support. rAthena is a continuation of the eAthena project.
### Table of Contents
1. [Prerequisites](#1-prerequisites)
2. [Installation](#2-installation)
3. [Troubleshooting](#3-troubleshooting)
4. [More Documentation](#4-more-documentation)
5. [How to Contribute](#5-how-to-contribute)
6. [License](#6-license)
2. Prerequisites
---------
Before installing rAthena there are certain tools and applications you will need.
This differs between the varying operating systems available, so the following
is broken down into Windows and Linux prerequisites.
## 1. Prerequisites
Before installing rAthena there are certain tools and applications you will need which
differs between the varying operating systems available.
* Windows
* MySQL ( http://www.mysql.com/downloads/mysql/ )
* MySQL Workbench ( http://www.mysql.com/downloads/workbench/ )
* MS Visual C++ ( http://www.microsoft.com/visualstudio/en-us/products/2010-editions/visual-cpp-express )
* TortoiseGIT ( http://code.google.com/p/tortoisegit/ )
* MSysGit ( http://msysgit.github.io/ or https://github.com/msysgit/git/releases )
### Hardware
Hardware Type | Minimum | Recommended
------|------|------
CPU | 1 Core | 2 Cores
RAM | 1 GB | 2 GB
Disk Space | 300 MB | 500 MB
* Linux (names of packages may require specific version numbers on certain distributions)
* gcc
* g++
* make
* mysql
* mysql-devel
* mysql-server
* pcre-devel
* zlib-devel
* git
### Operating System & Preferred Compiler
Operating System | Compiler
------|------
Linux | [gcc-5 or newer](https://www.gnu.org/software/gcc/gcc-5/) / [Make](https://www.gnu.org/software/make/)
Windows | [MS Visual Studio 2013, 2015, 2017](https://www.visualstudio.com/downloads/)
3. Installation
---------
This section is a very brief set of installation instructions. For more concise guides
relevant to your Operation System, please refer to the Wiki (links at the end of this file).
### Required Applications
Application | Name
------|------
Database | [MySQL 5 or newer](https://www.mysql.com/downloads/) / [MariaDB 5 or newer](https://downloads.mariadb.org/)
Git | [Windows](https://gitforwindows.org/) / [Linux](https://git-scm.com/download/linux)
* Windows
* Install prerequisites
* Create a folder to download rAthena into (e.g. C:\rAthena)
* Right click this folder and select "Git Clone"
* Paste the GitHub URL into the box:
### Optional Applications
Application | Name
------|------
Database | [MySQL Workbench 5 or newer](http://www.mysql.com/downloads/workbench/)
https://github.com/rathena/rathena.git
* Open MySQL Workbench and create an instance to connect to your MySQL Server
* Create a database (rathena), a user (rathena), give permissions (GRANT SELECT,INSERT,UPDATE,DELETE)
and then login using the new user
* Use MySQL Workbench to run the .sql files in /sql-files/ on the new rathena database
## 2. Installation
* Linux
* Type:
* (For CentOS)
### Full Installation Instructions
* [Windows](https://github.com/rathena/rathena/wiki/Install-on-Windows)
* [CentOS](https://github.com/rathena/rathena/wiki/Install-on-Centos)
* [Debian](https://github.com/rathena/rathena/wiki/Install-on-Debian)
* [FreeBSD](https://github.com/rathena/rathena/wiki/Install-on-FreeBSD)
yum install gcc g++ make mysql mysql-devel mysql-server pcre-devel zlib-devel git
* (For Debian)
## 3. Troubleshooting
apt-get install git make gcc g++ libmysqlclient-dev zlib1g-dev libpcre3-dev
* Type:
mysql_secure_installation
* Start your MySQL server
* Setup a MySQL user:
CREATE USER 'rathena'@'localhost' IDENTIFIED BY 'password';
* Assign permissions:
GRANT SELECT,INSERT,UPDATE,DELETE ON `rathena\_rag`.* TO 'rathena'@'localhost';
* Clone a GIT repository:
git clone https://github.com/rathena/rathena.git ~/rathena
* Insert SQL files:
mysql --user=root -p rathena_rag < trunk/sql-files/main.sql (and others)
* Configure and compile:
./configure && make clean && make server
* Configure and compile (for Centos 64 bit with Maria DB):
./configure --enable-64bit --with-MYSQL_LIBS=/usr/lib64/libmysqlclient.so && make clean && make server
* When you're ready, start the servers:
./athena-start start
* Optional
* If you want to have your own forked version but still get updates from the main rAthena repository
* Fork this repository to your GitHub account
* List the current configured remote repository for your fork:
git remote -v
* Specify a new remote upstream repository that will be synced with your fork:
git remote add upstream https://github.com/rathena/rathena.git
* Verify the new upstream repository you've specified for your fork:
git remote -v
* You should see the main rAthena repository as well as your forked repository
* Now, when you want to get updates from rAthena, simply do:
git pull upstream master
* Remember that rAthena falls under [GNU GPLv3](https://github.com/rathena/rathena/blob/master/LICENSE).
4. Troubleshooting
---------
If you're having problems with starting your server, the first thing you should
do is check what's happening on your consoles. More often that not, all support issues
can be solved simply by looking at the error messages given.
can be solved simply by looking at the error messages given. Check out the [wiki](https://github.com/rathena/rathena/wiki)
or [forums](https://rathena.org/forum) if you need more support on troubleshooting.
Examples:
* You get an error on your map-server that looks something like this:
[Error]: npc_parsesrcfile: Unable to parse, probably a missing or extra TAB in
file 'npc/custom/jobmaster.txt', line '17'. Skipping line...
* w1=prontera,153,193,6 script
* w2=Job Master
* w3=123,{
* w4=
If you look at the error, it's telling you that you're missing (or have an extra) TAB.
This is easily fixed by looking at this part of the error:
* w1=prontera,153,193,6 script
If there was a TAB where it's supposed to be, that line would have prontera,153,193,6 at w1
and 'script' at w2. As there's a space instead of a TAB, the two sections are read as a
single parameter.
* You have a default user/password warning similar to the following:
[Warning]: Using the default user/password s1/p1 is NOT RECOMMENDED.
[Notice]: Please edit your 'login' table to create a proper inter-server user/pa
ssword (gender 'S')
[Notice]: and then edit your user/password in conf/map_athena.conf (or conf/impo
rt/map_conf.txt)
Relax. This is just indicating that you're using the default username and password. To
fix this, check over the part in the installation instructions relevant to the `login` table.
* Your map-server outputs the following:
[Error]: make_connection: connect failed (socket #2, error 10061: No connection
could be made because the target machine actively refused it.
)!
If this shows up on the map server, it generally means that there is no Char Server available
to accept the connection.
5. Helpful Links
---------
* rAthena Forums
* https://rathena.org/
* GIT Repository
* https://github.com/rathena/rathena
* Full Installation Instructions
* [Windows](https://github.com/rathena/rathena/wiki/Install-on-Windows)
* [CentOS](https://github.com/rathena/rathena/wiki/Install-on-Centos)
* [Debian](https://github.com/rathena/rathena/wiki/Install-on-Debian)
* [FreeBSD](https://github.com/rathena/rathena/wiki/Install-on-FreeBSD)
* rAthena IRC Channel
* irc://irc.rizon.net/rathena
* Web Chat: https://rathena.org/board/page/chat.html
* rAthena Discord Chat
http://discord.rathena.org
* rAthena Wiki
https://github.com/rathena/rathena/wiki
* Fork and Pull Request Q&A
https://rathena.org/board/topic/86913-pull-request-qa/
6. More Documentation
---------
## 4. More Documentation
rAthena has a large collection of help files and sample NPC scripts located in the /doc/
directory. These include detailed explanations of NPC script commands, atcommands (@),
group permissions, item bonuses, and packet structures, among many other topics. We
recommend that all users take the time to look over this directory before asking for
assistance elsewhere.
7. How to Contribute
---------
## 5. How to Contribute
Details on how to contribute to rAthena can be found in [CONTRIBUTING.md](https://github.com/rathena/rathena/blob/master/.github/CONTRIBUTING.md)!
## 6. License
Copyright (c) rAthena Development Team - Licensed under [GNU General Public License v3.0](https://github.com/rathena/rathena/blob/master/LICENSE)

View File

@@ -26,8 +26,12 @@ build_script:
services: mysql
test_script:
- cmd: >-
rem ========================================================================
rem Set up the environment variables we need
rem ========================================================================
set DB_HOST=127.0.0.1
set DB_ROOT=root
@@ -44,53 +48,28 @@ test_script:
cd C:\projects\rathena
rem TODO should be replace with tools\ci\sql.bat as soon as possible
rem ========================================================================
rem MySQL database setup
%MYSQL% -u %DB_ROOT% -p%DB_ROOTPW% -e "CREATE DATABASE %DB_NAME%;"
rem ========================================================================
%MYSQL% -u %DB_ROOT% -p%DB_ROOTPW% %DB_NAME% -e "source sql-files\main.sql"
call tools\ci\sql.bat
%MYSQL% -u %DB_ROOT% -p%DB_ROOTPW% %DB_NAME% -e "source sql-files\logs.sql"
%MYSQL% -u %DB_ROOT% -p%DB_ROOTPW% %DB_NAME% -e "source sql-files\item_cash_db.sql"
%MYSQL% -u %DB_ROOT% -p%DB_ROOTPW% %DB_NAME% -e "source sql-files\item_cash_db2.sql"
%MYSQL% -u %DB_ROOT% -p%DB_ROOTPW% %DB_NAME% -e "source sql-files\item_db.sql"
%MYSQL% -u %DB_ROOT% -p%DB_ROOTPW% %DB_NAME% -e "source sql-files\item_db2.sql"
%MYSQL% -u %DB_ROOT% -p%DB_ROOTPW% %DB_NAME% -e "source sql-files\item_db_re.sql"
%MYSQL% -u %DB_ROOT% -p%DB_ROOTPW% %DB_NAME% -e "source sql-files\item_db2_re.sql"
%MYSQL% -u %DB_ROOT% -p%DB_ROOTPW% %DB_NAME% -e "source sql-files\mob_db.sql"
%MYSQL% -u %DB_ROOT% -p%DB_ROOTPW% %DB_NAME% -e "source sql-files\mob_db2.sql"
%MYSQL% -u %DB_ROOT% -p%DB_ROOTPW% %DB_NAME% -e "source sql-files\mob_db_re.sql"
%MYSQL% -u %DB_ROOT% -p%DB_ROOTPW% %DB_NAME% -e "source sql-files\mob_db2_re.sql"
%MYSQL% -u %DB_ROOT% -p%DB_ROOTPW% %DB_NAME% -e "source sql-files\mob_skill_db.sql"
%MYSQL% -u %DB_ROOT% -p%DB_ROOTPW% %DB_NAME% -e "source sql-files\mob_skill_db2.sql"
%MYSQL% -u %DB_ROOT% -p%DB_ROOTPW% %DB_NAME% -e "source sql-files\mob_skill_db_re.sql"
%MYSQL% -u %DB_ROOT% -p%DB_ROOTPW% %DB_NAME% -e "source sql-files\mob_skill_db2_re.sql"
%MYSQL% -u %DB_ROOT% -p%DB_ROOTPW% %DB_NAME% -e "source sql-files\roulette_default_data.sql"
%MYSQL% -u %DB_ROOT% -p%DB_ROOTPW% -e "GRANT SELECT,INSERT,UPDATE,DELETE ON %DB_NAME%.* TO '%DB_USER%'@'%DB_HOST%' IDENTIFIED BY '%DB_USERPW%';"
rem ========================================================================
rem Activate all custom and test scripts
rem ========================================================================
start /d tools\ci npc.bat
rem ========================================================================
rem Start the map server
rem ========================================================================
login-server.exe --run-once
char-server.exe --run-once

BIN
branding/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

View File

@@ -1,71 +0,0 @@
/* Atcommands and charcommands configuration file */
/* The symbol that will be used to recognize commands.
You can set any one character except:
- control-characters (0x00-0x1f),
- '%' (party chat symbol)
- '$' (guild chat symbol)
- '/' (client commands symbol)
atcommand_symbol represents @commands used locally.
charcommand_symbol represents #commands used on other players.
*/
atcommand_symbol : "@"
charcommand_symbol: "#"
/* Command aliases
You can define aliases for any command. Aliases work just like original
command.
Format is
<commandname>: ["<alias>", ...]
*/
aliases: {
mobinfo: ["monsterinfo", "mi"]
iteminfo: ["ii"]
time: ["date", "serverdate", "servertime"]
autotrade: ["at"]
help: ["h"]
jumpto: ["goto", "warpto"]
mount: ["mountpeco"]
who: ["whois"]
npctalk: ["npctalkc"]
gvgon: ["gpvpon"]
gvgoff: ["gpvpoff"]
jobchange: ["job"]
load: ["return"]
warp: ["rura", "mapmove"]
dye: ["ccolor"]
hairstyle: ["hstyle"]
haircolor: ["hcolor"]
monster: ["spawn"]
blvl: ["lvup", "blevel", "baselvl", "baselvup", "baselevel", "baselvlup"]
jlvl: ["jlevel", "joblvl", "joblvup", "joblevel", "joblvlup"]
glvl: ["glevel", "guildlvl", "guildlvup", "guildlevel", "guildlvlup"]
resetstat: ["streset"]
resetskill: ["skreset"]
allskill: ["allskills", "skillall", "skillsall"]
allstats: ["allstat", "statall", "statsall"]
ban: ["banish"]
unban: ["unbanish"]
unjail: ["discharge"]
homlevel: ["hlvl", "hlevel", "homlvl", "homlvup"]
homevolution: ["homevolve"]
mutearea: ["stfu"]
monsterignore: ["battleignore"]
raise: ["revive"]
kill: ["die"]
guildstorage: ["gstorage"]
accinfo: ["accountinfo"]
itemreset: ["clearinventory"]
channel: ["main"]
autoloottype: ["aloottype"]
cloneequip: ["eqclone"]
clonestat: ["stclone"]
reloadnpcfile: ["reloadnpc"]
}
/* Commands help file */
help: {
@include "conf/help.txt"
}

961
conf/atcommands.yml Normal file
View File

@@ -0,0 +1,961 @@
# This file is a part of rAthena.
# Copyright(C) 2017 rAthena Development Team
# https://rathena.org - https://github.com/rathena
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
###########################################################################
# Atcommand Database
###########################################################################
#
# Atcommand Settings
#
###########################################################################
# - Command Command name.
# Aliases: Aliases for the command. (Optional)
# - <AliasName>
# Help Help message for the command. (Optional)
###########################################################################
Header:
Type: ATCOMMAND_DB
Version: 1
Body:
- Command: help
Aliases:
- h
Help: |
Params: <command>
Shows help for specified command.
- Command: noask
Help: |
Auto rejects deals/invites.
- Command: gmotd
Help: |
Broadcasts the Message of The Day to all players.
- Command: me
Help: |
Params: <message>
Displays normal text as a message in this format: *name message* (like /me in mIRC).
- Command: fakename
Help: |
Params: <name>
Changes your name to your choice temporarily.
- Command: npctalk
Aliases:
- npctalkc
Help: |
Params: <NPC name> <message>
Forces a NPC to display a message in normal chat.
- Command: broadcast
Help: |
Params: <message>
Broadcasts a message with your name (in yellow).
- Command: kami
Help: |
Params: <message>
Broadcasts a message without your name (in yellow).
- Command: kamib
Help: |
Params: <message>
Broadcasts a message without your name (in blue).
- Command: localbroadcast
Help: |
Params: <message>
Broadcasts a message with your name (in yellow) only on your map.
- Command: commands
Help: |
Displays a list of commands that you can use.
- Command: rates
Help: |
Displays the server's current rates.
- Command: uptime
Help: |
Displays how long the server has been online.
- Command: showdelay
Help: |
Shows/hides the "There is a delay after this skill" message.
- Command: exp
Help: |
Displays current levels and % progress.
- Command: mobinfo
Aliases:
- monsterinfo
- mi
Help: |
Params: <monster name|ID>
Shows monster info (stats, exp, drops etc).
- Command: iteminfo
Aliases:
- ii
Help: |
Params: <item name|ID>
Shows item info (type, price etc).
- Command: whodrops
Help: |
Params: <item name|ID>
Shows who drops an item (monster with highest drop rates).
- Command: version
Help: |
Displays SVN version of the server.
- Command: email
Help: |
Params: <current email> <new email>
Changes your account e-mail address.
- Command: where
Help: |
Params: <char name>
Tells you the location of a character.
- Command: time
Aliases:
- date
- serverdate
- servertime
Help: |
Shows the date and time of the server.
- Command: showexp
Help: |
Displays/hides experience gained.
- Command: showzeny
Help: |
Displays/hides Zeny gained.
- Command: mobsearch
Help: |
Params: <monster name|ID>
Shows the location of a certain mob on the current map.
- Command: who
Aliases:
- whois
Help: |
Params: [<name>]
Shows a list of online players and their party and guild.
- Command: who2
Help: |
Params: [<name>]
Shows a list of online players and their job.
- Command: who3
Help: |
Params: [<name>]
Shows a list of online players and their location.
- Command: whomap
Help: |
@whomap/@whomap2/@whomap3 [map] - like @who/@who2/@who3 but only for specified map.
- Command: whogm
Help: |
Params: [match_text] - Like @who+@who2+who3, but only for GM.
- Command: guildspy
Help: |
Params: <guild name|id> - You will receive all messages of the guild channel (Chat logging must be enabled)
- Command: partyspy
Help: |
@partyspy <party name|id> - You will receive all messages of the party channel (Chat logging must be enabled)
- Command: mapinfo
Help: |
Params: [<0-3> [map]] - Give information about a map (general info +: 0: no more, 1: players, 2: NPC, 3: chatrooms).
- Command: go
Help: |
Params: <city name|number>
Warps you to a city.
-3: (Memo point 2) 14: louyang 31: mora
-2: (Memo point 1) 15: start point 32: dewata
-1: (Memo point 0) 16: prison/jail 33: malangdo island
0: prontera 17: jawaii 34: malaya port
1: morocc 18: ayothaya 35: eclage
2: geffen 19: einbroch 36: lasagna
3: payon 20: lighthalzen
4: alberta 21: einbech
5: izlude 22: hugel
6: aldebaran 23: rachel
7: xmas (lutie) 24: veins
8: comodo 25: moscovia
9: yuno 26: midgard camp
10: amatsu 27: manuk
11: gonryun 28: splendide
12: umbala 29: brasilis
13: niflheim 30: el dicastes
- Command: jumpto
Aliases:
- goto
- warpto
Help: |
Params: <char name>
Warps you to selected character.
- Command: follow
Help: |
Params: <char name>
Follow a player.
- Command: mount
Aliases:
- mountpeco
Help: |
Give/remove a job-based mount (class is required, but not the skill).
- Command: mount2
Help: |
Give/remove a cash mount.
- Command: disguise
Help: |
Params: <monster name|ID>
Change your appearence to other players to a mob.
- Command: undisguise
Help: |
Restore your normal appearance.
- Command: disguiseguild
Help: |
Disguises all online characters of a guild.
- Command: undisguiseguild
Help: |
Restore the normal appearance of all characters of a guild.
- Command: model
Help: |
Params: <hair ID: 0-17> <hair color: 0-8> <clothes color: 0-4> - Changes your characters appearence.
- Command: size
Help: |
Params: <0-2> Changes your size (0-Normal 1-Small 2-Large)
- Command: sizeall
Help: |
Changes the size of all players.
- Command: sizeguild
Help: |
Changes the size of all online characters of a guild.
- Command: hide
Help: |
Makes you character invisible (GM invisibility). Type again to become visible.
- Command: save
Help: |
Sets respawn point to current spot.
- Command: load
Aliases:
- return
Help: |
Warps you to your save point.
- Command: warp
Aliases:
- rura
- mapmove
Help: |
Params: <mapname> [<x> <y>]
Warps you to the selected map and position.
- Command: jump
Help: |
Params: [<x> [<y>]]
Randomly warps you like a flywing.
- Command: jobchange
Aliases:
- job
Help: |
Params: <job name|ID>
Changes your job.
----- Novice / 1st Class -----
0 Novice 1 Swordman 2 Magician 3 Archer
4 Acolyte 5 Merchant 6 Thief
----- 2nd Class -----
7 Knight 8 Priest 9 Wizard 10 Blacksmith
11 Hunter 12 Assassin 14 Crusader 15 Monk
16 Sage 17 Rogue 18 Alchemist 19 Bard
20 Dancer
----- High Novice / High 1st Class -----
4001 Novice High 4002 Swordman High 4003 Magician High 4004 Archer High
4005 Acolyte High 4006 Merchant High 4007 Thief High
----- Transcendent 2nd Class -----
4008 Lord Knight 4009 High Priest 4010 High Wizard 4011 Whitesmith
4012 Sniper 4013 Assassin Cross 4015 Paladin 4016 Champion
4017 Professor 4018 Stalker 4019 Creator 4020 Clown
4021 Gypsy
----- 3rd Class (Regular) -----
4054 Rune Knight 4055 Warlock 4056 Ranger 4057 Arch Bishop
4058 Mechanic 4059 Guillotine Cross 4066 Royal Guard 4067 Sorcerer
4068 Minstrel 4069 Wanderer 4070 Sura 4071 Genetic
4072 Shadow Chaser
----- 3rd Class (Transcendent) -----
4060 Rune Knight 4061 Warlock 4062 Ranger 4063 Arch Bishop
4064 Mechanic 4065 Guillotine Cross 4073 Royal Guard 4074 Sorcerer
4075 Minstrel 4076 Wanderer 4077 Sura 4078 Genetic
4079 Shadow Chaser
----- Expanded Class -----
23 Super Novice 24 Gunslinger 25 Ninja 4045 Super Baby
4046 Taekwon 4047 Star Gladiator 4049 Soul Linker 4050 Gangsi
4051 Death Knight 4052 Dark Collector 4190 Ex. Super Novice 4191 Ex. Super Baby
4211 Kagerou 4212 Oboro 4215 Rebellion 4218 Summoner
4239 Star Emperor 4240 Soul Reaper
----- Baby Novice And Baby 1st Class -----
4023 Baby Novice 4024 Baby Swordman 4025 Baby Magician 4026 Baby Archer
4027 Baby Acolyte 4028 Baby Merchant 4029 Baby Thief
---- Baby 2nd Class ----
4030 Baby Knight 4031 Baby Priest 4032 Baby Wizard 4033 Baby Blacksmith
4034 Baby Hunter 4035 Baby Assassin 4037 Baby Crusader 4038 Baby Monk
4039 Baby Sage 4040 Baby Rogue 4041 Baby Alchemist 4042 Baby Bard
4043 Baby Dancer
---- Baby 3rd Class ----
4096 Baby Rune Knight 4097 Baby Warlock 4098 Baby Ranger 4099 Baby Arch Bishop
4100 Baby Mechanic 4101 Baby Glt. Cross 4102 Baby Royal Guard 4103 Baby Sorcerer
4104 Baby Minstrel 4105 Baby Wanderer 4106 Baby Sura 4107 Baby Genetic
4108 Baby Shadow Chaser
---- Expanded Baby Class ----
4220 Baby Summoner 4222 Baby Ninja 4223 Baby Kagero 4224 Baby Oboro
4225 Baby Taekwon 4226 Baby Star Glad 4227 Baby Soul Linker 4228 Baby Gunslinger
4229 Baby Rebellion 4241 Baby Star Emperor 4242 Baby Soul Reaper
---- Modes And Others ----
22 Wedding 26 Christmas 27 Summer 28 Hanbok
29 Oktoberfest 30 Summer 2
4048 Star Gladiator (Union) 4238 Baby Star Glad (Union)
- Command: option
Help: |
Params: <param1> <param2>(stackable) <param3>(stackable)
Adds different visual effects on or around your character.
<param1> <param2> <param3>
01: Stone 01: Sight 01: Sight 512: Cart Lv. 4
02: Frozen 02: Curse 02: Hiding 1024: Cart Lv. 5
03: Stun 04: Silence 04: Cloaking 2048: Orc Head
04: Sleep 08: Signum 08: Cart Lv. 1 4096: Wedding
06: Petrify 16: Blind 16: Falcon 8192: Ruwach
07: Burning 32: Angelus 32: Riding 16384: Chasewalk
08: Imprison 64: Bleeding 64: Invisible
16: (Nothing) 128: D. Poison 128: Cart Lv. 2
32: (Nothing) 256: Fear 256: Cart Lv. 3
- Command: heal
Help: |
Params: [<HP> <SP>]
Heals the desired amount of HP and SP. No value specified will do a full heal.
- Command: dye
Aliases:
- ccolor
Help: |
Params: <clothes palette no.>
Changes your characters clothes color.
- Command: hairstyle
Aliases:
- hstyle
Help: |
Params: <hairstyle no.>
Changes your hair style.
- Command: haircolor
Aliases:
- hcolor
Help: |
Params <hair palette no.>
Changes your hair color.
- Command: speed
Help: |
Params: <1-1000>
Changes you walking speed. 1 being the fastest and 1000 the slowest. Default is 150.
- Command: effect
Help: |
Params: <effect id> [<flag>]
Give an effect to your character.
- Command: dropall
Help: |
Params: [<item type>]
Throws all your possession on the ground. No type specified will drop all items.
- Command: storeall
Help: |
Puts all your possessions in storage.
- Command: killable
Help: |
Make your character killable.
- Command: memo
Help: |
Params: [memo position]
Set/change a memo location (no position: display memo points).
- Command: spiritball
Help: |
Params: <1-100>
Gives you "spirit spheres" like from the skill "Call Spirits".
- Command: questskill
Help: |
Params: <#>
Gives you the specified quest skill
Novice = 142: First Aid, 143: Act Dead
Archer = 147: Create Arrow, 148: Charge Arrow
Swordman = 144: Moving HP Recovery, 145: Attack Weak Point, 146: Auto Berserk
Acolyte = 156: Holy Light
Thief = 149: Throw Sand, 150: Back Sliding, 151: Take Stone, 152: Throw Stone
Merchant = 153: Cart Revolution, 154: Change Cart, 155: Crazy Uproar, 2535: Open Buying Store
Magician = 157: Energy Coat
Hunter = 1009: Phantasmic Arrow
Bard = 1010: Pang Voice
Dancer = 1011: Wink of Charm
Knight = 1001: Charge Attack
Crusader = 1002: Shrink
Priest = 1014: Redemptio
Monk = 1015: Ki Translation, 1016: Ki Explosio
Assassin = 1003: Sonic Acceleration, 1004: Throw Venom Knife
Rogue = 1005: Close Confine
Blacksmith = 1012: Unfair Trick, 1013: Greed
Alchemist = 238: Basis of Life
Wizard = 1006: Sight Blaster
Sage = 1007: Create Elemental Converter, 1008: Elemental Change (Water), 1017: Elemental Change (Earth), 1018: Elemental Change (Fire), 1019: Elemental Change (Wind)
- Command: lostskill
Help: |
Params: <#>
Takes away the specified quest skill from you
Novice = 142: First Aid, 143: Act Dead
Archer = 147: Create Arrow, 148: Charge Arrow
Swordman = 144: Moving HP Recovery, 145: Attack Weak Point, 146: Auto Berserk
Acolyte = 156: Holy Light
Thief = 149: Throw Sand, 150: Back Sliding, 151: Take Stone, 152: Throw Stone
Merchant = 153: Cart Revolution, 154: Change Cart, 155: Crazy Uproar, 2535: Open Buying Store
Magician = 157: Energy Coat
Hunter = 1009: Phantasmic Arrow
Bard = 1010: Pang Voice
Dancer = 1011: Wink of Charm
Knight = 1001: Charge Attack
Crusader = 1002: Shrink
Priest = 1014: Redemptio
Monk = 1015: Ki Translation, 1016: Ki Explosio
Assassin = 1003: Sonic Acceleration, 1004: Throw Venom Knife
Rogue = 1005: Close Confine
Blacksmith = 1012: Unfair Trick, 1013: Greed
Alchemist = 238: Basis of Life
Wizard = 1006: Sight Blaster
Sage = 1007: Create Elemental Converter, 1008: Elemental Change (Water), 1017: Elemental Change (Earth), 1018: Elemental Change (Fire), 1019: Elemental Change (Wind)
- Command: skillid
Help: |
Params: <name>
Look up a skill by name
- Command: useskill
Help: |
Params: <skillid> <skillv> <target>
Use a skill on target
- Command: skilltree
Help: |
Params: <skillnum> <charname>
Prints the skill tree needed to get a skill for the target player.
- Command: marry
Help: |
Params: <player name>
Marry another player.
- Command: divorce
Help: |
Divorce player.
- Command: alive
Help: |
Revives yourself from death.
- Command: blvl
Aliases:
- lvup
- blevel
- baselvl
- baselvup
- baselevel
- baselvlup
Help: |
Params: <number of levels>
Raises your base level the desired number of levels.
- Command: jlvl
Aliases:
- jlevel
- joblvl
- joblvup
- joblevel
- joblvlup
Help: |
Params: <number of levels>
Raises your job level the desired number of levels.
- Command: allskill
Aliases:
- allskills
- skillall
- skillsall
Help: |
Give you all skills.
- Command: stpoint
Help: |
Params: <number of points> - Gives you the desired number of stat points.
- Command: skpoint
Help: |
Params: <number of points> - Gives you the desired number of skill points.
- Command: zeny
Help: |
Params: <amount> - Gives you desired amount of Zeny.
- Command: cash
Help: |
Params: <amount> - Gives you the specified amount of cash points.
- Command: points
Help: |
Params: <amount> - Gives you the specified amount of Kafra Points.
- Command: str
Help: |
Params: <amount>
Raises STR by given amount.
- Command: agi
Help: |
Params: <amount>
Raises AGI by given amount.
- Command: dex
Help: |
Params: <amount>
Raises DEX by given amount.
- Command: vit
Help: |
Params: <amount>
Raises VIT by given amount.
- Command: int
Help: |
Params: <amount>
Raises INT by given amount.
- Command: luk
Help: |
Params: <amount>
Raises LUK by given amount.
- Command: allstats
Aliases:
- allstat
- statall
- statsall
Help: |
Params: <value>
Adds value in all stats (maximum if no value).
- Command: addwarp
Help: |
Params: <map name> <x coord> <y coord> <NPC name>
- Command: killmonster2
Help: |
Kills all monsters of your map (without drops).
- Command: monster
Aliases:
- spawn
Help: |
Params: <monster name|ID> [<number to spawn> [<desired_monster_name> [<x coord> [<y coord>]]]]
@monster2 <desired_monster_name> <monster name|ID> [<number to spawn> [<x coord> [<y coord>]]]
@spawn/@monster/@summon/@monster2 "desired monster name" <monster name|ID> [<number to spawn> [<x coord> [<y coord>]]]
@spawn/@monster/@summon/@monster2 <monster name|ID> "desired monster name" [<number to spawn> [<x coord> [<y coord>]]]
Spawns the desired monster with any desired name.
- Command: monstersmall
Help: |
Params: <monster name|ID>
Spawns a smaller version of a monster.
- Command: monsterbig
Help: |
Params: <monster name|ID>
Spawns a larger version of a monster.
- Command: killmonster
Help: |
Params: <map>
Kill all monsters of the map (they drop)
- Command: autoloot
Help: |
Params: <on|off|#>
Makes items go straight into your inventory.
- Command: autotrade
Aliases:
- at
Help: |
Allows you to vend while you are offline.
- Command: changegm
Help: |
Params: <charname>
Changes the leader of your guild (You must be guild leader)
- Command: changeleader
Help: |
Params: <charname>
Changes the leader of your party (You must be party leader)
- Command: request
Help: |
Params: <message>
Sends a message to all connected GMs (via the gm whisper system)
- Command: sound
Help: |
Params: <path to file in data folder or GRF file>
Plays a sound from the data folder or GRF file located on the client.
- Command: clone
Help: |
Params: <charname>
Spawns a supportive clone of the given player.
- Command: slaveclone
Help: |
Params: <charname>
Spawns a supportive clone of the given player that follows the creator around.
- Command: evilclone
Help: |
Params: <charname>
Spawns an aggressive clone of the given player.
- Command: changesex
Help: |
Changes your gender.
- Command: duel
Help: |
Starts a duel.
- Command: invite
Help: |
Invites a player to a duel.
- Command: accept
Help: |
Accepts an invitation to a duel.
- Command: reject
Help: |
Rejects an invitation to a duel.
- Command: leave
Help: |
Leaves a duel.
- Command: mail
Help: |
Open mail box.
- Command: storage
Help: |
Opens storage.
- Command: itemreset
Aliases:
- clearinventory
Help: |
Remove all your items.
- Command: guildstorage
Aliases:
- gstorage
Help: |
Opens guild storage.
- Command: idsearch
Help: |
Params: <part_of_item_name>
Search all items that name have part_of_item_name
- Command: refine
Help: |
Params: <equip position> <+/- amount>
- Command: produce
Help: |
Params: <equip name or equip ID> <element> <# of very's>
Element: 0=None 1=Ice 2=Earth 3=Fire 4=Wind
You can add up to 3 Star Crumbs and 1 element
- Command: repairall
Help: |
Repair all items of your inventory
- Command: item
Help: |
Params: <item name or ID> <quantity>
Gives you the desired item.
- Command: item2
Help: |
Params: <item name or ID> <quantity> <identified_flag> <refine> <broken_flag> <Card1> <Card2> <Card3> <Card4>
Gives you the desired item.
- Command: pvpon
Help: |
Turns pvp on on the current map
- Command: pvpoff
Help: |
Turns pvp off on the current map
- Command: gvgon
Aliases:
- gpvpon
Help: |
Turns gvg on on the current map
- Command: gvgoff
Aliases:
- gpvpoff
Help: |
Turns gvg off on the current map
- Command: agitstart
Help: |
Starts War of Emperium
- Command: agitend
Help: |
End War of Emperium
- Command: party
Help: |
Params: <party_name>
Create a party.
- Command: guild
Help: |
Params: <guild_name>
Create a guild.
- Command: glvl
Aliases:
- glevel
- guildlvl
- guildlvup
- guildlevel
- guildlvlup
Help: |
Params: <# of levels>
Raise Guild by desired number of levels
- Command: guildrecall
Help: |
Params: <guild name|ID>
Warps all online characters of a guild to you.
- Command: partyrecall
Help: |
Params: <party name|ID>
Warps all online characters of a party to you.
- Command: petrename
Help: |
Re-enable pet rename
- Command: pettalk
Help: |
Params: <message>
Makes your pet say a message.
- Command: petfriendly
Help: |
Params: <#>
Set pet friendly amount (0-1000) 1000 = Max
- Command: pethungry
Help: |
Params: <#>
Set pet hungry amount (0-100) 100 = Max
- Command: hatch
Help: |
Create a pet from your inventory eggs list.
- Command: makeegg
Help: |
Params: <pet_id>
Gives pet egg for monster number in pet DB
- Command: kick
Help: |
Params: <char name>
Kicks specified character off the server
- Command: unjail
Aliases:
- discharge
Help: |
Params: <char name>
Discharges specified character/prisoner
- Command: kill
Aliases:
- die
Help: |
Kills player.
- Command: recall
Help: |
Params: <char name>
Warps target character to you.
- Command: raise
Aliases:
- revive
Help: |
Params: <char name>
Revives target character.
- Command: block
Help: |
Params: <char name>
Permanently blocks an account.
- Command: unblock
Help: |
Params: <char name>
Unblocks an account.
- Command: ban
Aliases:
- banish
Help: |
Params: <time> <name>\n" "Temporarily ban an account.
time usage: adjustment (+/- value) and element (y/a, m, d/j, h, mn, s)
Example: @ban +1m-2mn1s-6y testplayer
- Command: unban
Aliases:
- unbanish
Help: |
Params: <name> - Unban a account
- Command: jail
Help: |
Params: <char name> - Sends specified character in jails
- Command: trade
Help: |
Params: <char name> - Open a trade window with a another player
- Command: recallall
Help: |
Warps every character online to you.
- Command: doom
Help: |
Kills all NON GM chars on the server.
- Command: doommap
Help: |
Kills all non GM characters on the map.
- Command: raisemap
Help: |
Resurrects all characters on the map.
- Command: night
Help: |
Enables night mode on all maps, all characters are affected.
- Command: day
Help: |
Disables night mode and restores regular lighting, all characters are affected.
- Command: skillon
Help: |
Turn skills on for a map.
- Command: skilloff
Help: |
Turn skills off for a map.
- Command: snow
Help: |
Makes all maps to have the snow weather effect.
- Command: clouds
Help: |
Makes all maps to have the cloudy weather effect.
- Command: clouds2
Help: |
Makes all maps to have another cloudy weather effect.
- Command: fog
Help: |
Makes all maps to have the fog weather effect.
- Command: fireworks
Help: |
Makes all maps to have the fireworks weather effect.
- Command: sakura
Help: |
Makes all maps to have the sakura weather effect.
- Command: leaves
Help: |
Makes all maps to have the leaves weather effect.
- Command: shownpc
Help: |
Params: <NPC name>
Enable a NPC.
- Command: hidenpc
Help: |
Params: <NPC name>
Disable a NPC.
- Command: npcmove
Help: |
Params: <x coord> <y coord> <NPC name>
Move a NPC.
- Command: loadnpc
Help: |
Params: <path to script>
Load the specified script file path.
- Command: unloadnpc
Help: |
Params: <NPC name>
Unload the specified NPC according to name.
- Command: unloadnpcfile
Help: |
Params: <path>
Unload the specified script file path.
- Command: adjgroup
Help: |
Params: <level> <char name>
Do a temporary adjustment of the group level of a player.
- Command: addperm
Help: |
Params: <permission_name>
Temporarily add a permission to a player.
- Command: rmvperm
Help: |
Params: <permission_name>
Temporarily remove a permission from a player.
- Command: kickall
Help: |
Kick all characters off the server
- Command: mapexit
Help: |
Kick all players and shut down map-server.
- Command: gat
Help: |
For debugging (you inspect around gat)
- Command: send
Help: |
Params: <Hex Number> [<value>]
For debugging (packet variety)
- Command: nuke
Help: |
Params: <char name>
Blow somebody up, including those surrounding them.
- Command: reloadatcommand
Help: |
Reload atcommand settings.
- Command: reloadbattleconf
Help: |
Reload battle settings.
- Command: reloaditemdb
Help: |
Reload item database.
- Command: reloadmobdb
Help: |
Reload monster database.
- Command: reloadmotd
Help: |
Reload Message of the Day.
- Command: reloadmsgconf
Help: |
Reload message configuration.
- Command: reloadpcdb
Help: |
Reload player settings.
- Command: reloadquestdb
Help: |
Reload quest database.
- Command: reloadscript
Help: |
Reload all scripts.
- Command: reloadskilldb
Help: |
Reload skills definition database.
- Command: reloadstatusdb
Help: |
Reload status settings.
- Command: reload
Help: |
Params: <type>
Reload a database or configuration file.
itemdb mobdb skilldb
atcommand battleconf statusdb
pcdb motd script
questdb msgconf packetdb
- Command: langtype
Help: |
Params: <language>
Changes your language setting.
- Command: limitedsale
Help: |
Opens the limited sale window.
- Command: changedress
Aliases:
- nocosplay
Help: |
Removes all character costumes.
- Command: camerainfo
Aliases:
- viewpointvalue
- setcamera
Help: |
Shows or updates the client's camera settings.
- Command: resetstat
Aliases:
- streset
- Command: resetskill
Aliases:
- skreset
- Command: homlevel
Aliases:
- hlvl
- hlevel
- homlvl
- homlvup
- Command: homevolution
Aliases:
- homevolve
- Command: mutearea
Aliases:
- stfu
- Command: monsterignore
Aliases:
- battleignore
- Command: accinfo
Aliases:
- accountinfo
- Command: channel
Aliases:
- main
- Command: autoloottype
Aliases:
- aloottype
- Command: cloneequip
Aliases:
- eqclone
- Command: clonestat
Aliases:
- stclone
- Command: reloadnpcfile
Aliases:
- reloadnpc
Footer:
Imports:
- Path: conf/import/atcommands.yml

View File

@@ -6,11 +6,12 @@
// Note 1: Value is a config switch (on/off, yes/no or 1/0)
// Note 2: Value is in percents (100 means 100%)
// Note 3: Value is a bit field. If no description is given,
// assume unit types (1: Pc, 2: Mob, 4: Pet, 8: Homun, 16: Mercenary)
// assume unit types (1: Pc, 2: Mob, 4: Pet, 8: Homun, 16: Mercenary, 128: NPC, 512: Elemental)
//--------------------------------------------------------------
// Who should have a baseatk value (makes str affect damage)? (Note 3)
enable_baseatk: 9
enable_baseatk: 0x9
enable_baseatk_renewal: 0x29F
// Who can have perfect flee? (Note 3)
enable_perfect_flee: 1
@@ -141,6 +142,14 @@ delay_battle_damage: yes
// skills should consume ammo when it's acquired via a card or plagiarize)
arrow_decrement: 1
// Should ammo be unequipped when unequipping a weapon?
// Official behavior is "yes".
ammo_unequip: yes
// Should a suitable weapon be equipped when equipping ammo?
// Official behavior is "yes".
ammo_check_weapon: yes
// Should the item script bonus 'Autospell' check for range/obstacles before casting?
// Official behavior is "no", setting this to "yes" will make skills use their defined
// range. For example, Sonic Blow requires a 2 cell distance before autocasting is allowed.

View File

@@ -6,7 +6,7 @@
// Note 1: Value is a config switch (on/off, yes/no or 1/0)
// Note 2: Value is in percents (100 means 100%)
// Note 3: Value is a bit field. If no description is given,
// assume unit types (1: Pc, 2: Mob, 4: Pet, 8: Homun)
// assume unit types (1: Pc, 2: Mob, 4: Pet, 8: Homun, 16: Mercenary, 128: NPC, 512: Elemental)
//--------------------------------------------------------------
// Melee damage adjustments (non skills) for Battleground maps (Note 2)

View File

@@ -18,6 +18,12 @@ job_exp_rate: 100
// Turn this on to allow a player to level up more than once from a kill. (Note 1)
multi_level_up: no
// Allow multi level up until a certain level?
// This only triggers if multi_level_up is enabled.
// Default: 0 (Unlimited)
multi_level_up_base: 0
multi_level_up_job: 0
// Setting this can cap the max experience one can get per kill specified as a
// % of the current exp bar. (Every 10 = 1.0%)
// For example, set it to 500 and no matter how much exp the mob gives,

View File

@@ -4,7 +4,7 @@
// Note 1: Value is a config switch (on/off, yes/no or 1/0)
// Note 2: Value is in percents (100 means 100%)
// Note 3: Value is a bit field. If no description is given,
// assume unit types (1: Pc, 2: Mob, 4: Pet, 8: Homun)
// assume unit types (1: Pc, 2: Mob, 4: Pet, 8: Homun, 16: Mercenary, 128: NPC, 512: Elemental)
//--------------------------------------------------------------
// Buying store (Note 1)
@@ -59,15 +59,51 @@ feature.autotrade_sit: 1
// Delay in miliseconds to open vending/buyingsotre after player logged in.
feature.autotrade_open_delay: 5000
// Battlegrounds queue interface. Makes it possible to queue for a battleground anywhere using the battle menu.
// Requires: 2012-04-10aRagexe or later
feature.bgqueue: on
// Roulette (Note 1)
// Requires: 2014-10-22bRagexe or later
// Off by default while test version is out; enable at your own risk.
feature.roulette: off
feature.roulette: on
// Achievement (Note 1)
// Requires: 2015-05-13aRagexe or later
feature.achievement: on
// Equipment Switch (Note 1)
// Requires: 2017-02-08bRagexeRE or later
feature.equipswitch: on
// Pet evolution (Note 1)
// Requires: 2014-10-08aRagexe or later
feature.petevolution: on
// Automatic Pet Feeding (Note 1)
// Requires: 2014-10-08aRagexe or later
feature.petautofeed: on
// At which hunger rate should pet autofeeding trigger? (Note 2)
// Default: 89
feature.pet_autofeed_rate: 89
// Homunculues Autofeeding (Note 1)
// Requires: 2017-09-20bRagexeRE or later
feature.homunculus_autofeed: off
feature.homunculus_autofeed: on
// At which rate should homunculus autofeeding trigger? (Note 2)
// Default: 30
//
// NOTE:
// This setting only applies, if your client side LUAs are bugged.
// By default the client triggers the feeding packet itself once
// it reaches the limit that is hardcoded in the client.
feature.homunculus_autofeed_rate: 30
// Attendance System (Note 1)
// Requires: 2018-03-07bRagexeRE or later
feature.attendance: on
// Private Airship System (Note 1)
// Requires: 2018-03-21aRagexeRE or later
feature.privateairship: on

View File

@@ -7,6 +7,17 @@
// Note 2: Value is in percents (100 means 100%)
//--------------------------------------------------------------
// The symbol that will be used to recognize commands.
// You can set any one character except:
// - control-characters (0x00-0x1f),
// - '%' (party chat symbol)
// - '$' (guild chat symbol)
// - '/' (client commands symbol)
// atcommand_symbol represents @commands used locally.
// charcommand_symbol represents #commands used on other players.
atcommand_symbol: @
charcommand_symbol: #
// The maximum quantity of monsters that can be summoned per GM command (0 denotes an unlimited quantity)
atcommand_spawn_quantity_limit: 100
@@ -24,7 +35,7 @@ partial_name_scan: yes
// Duration of the ban, in minutes (default: 5). To disable the ban, set 0.
ban_hack_trade: 5
// requires RENEWAL_EXP or RENEWAL_DROP to be enabled (src/config/renewal.h)
// requires RENEWAL_EXP or RENEWAL_DROP to be enabled (src/config/renewal.hpp)
// modifies @mobinfo to display the users' real drop rate as per renewal_drop formula
// modifies @iteminfo to not display the minimum item drop rate (since it can't tell the mob level)
// modifies @whodrops to display the users' real drop rate as per renewal_drop formula
@@ -34,3 +45,9 @@ atcommand_mobinfo_type: 1
// This option is for @baselevelup and @joblevelup
// Default: no
atcommand_levelup_events: no
// Disable atcommands while a player is attached to a npc? (Note 1)
// This can be changed by script commands 'enable_command' and 'disable_command'.
// Anyone with the 'command_enable' permission in the 'conf/group.conf' can bypass this.
// Default: yes
atcommand_disable_npc: yes

View File

@@ -20,9 +20,6 @@ guild_max_castles: 0
// Official setting is 5 minutes (300000 ms), otherwise allow guild leaders to relog to cancel the 5 minute delay.
guild_skill_relog_delay: 300000
// Damage adjustments for WOE battles against defending Guild monsters (Note 2)
castle_defense_rate: 100
// Melee damage adjustments (non skills) for WoE battles (Guild Vs Guild) (Note 2)
gvg_short_attack_damage_rate: 80

View File

@@ -6,7 +6,7 @@
// Note 1: Value is a config switch (on/off, yes/no or 1/0)
// Note 2: Value is in percents (100 means 100%)
// Note 3: Value is a bit field. If no description is given,
// assume unit types (1: Pc, 2: Mob, 4: Pet, 8: Homun)
// assume unit types (1: Pc, 2: Mob, 4: Pet, 8: Homun, 16: Mercenary, 128: NPC, 512: Elemental)
//--------------------------------------------------------------
// Homunculus setting (Note 3)
@@ -57,3 +57,16 @@ homunculus_S_max_level: 150
// Without this, a shuffle causes all levels of a Homunculus S to use their
// growth tables, causing imbalanced stats
homunculus_S_growth_level: 99
// Send auto-feed notice even if OFF (Note 1)
// Official: yes
homunculus_autofeed_always: yes
// Is getting exp/item from the homunculus disabled when you're idle?
// Set to no, or the amount of seconds (NOT milliseconds) that need to pass before considering
// a character idle.
// Characters in a chat/vending are always considered idle.
// A character's idle status is reset upon item use/skill use/attack (auto attack counts too)/movement.
// You will only receive items if 'homunculus_autoloot' is activated,
// otherwise they will be dropped on the ground as usual.
hom_idle_no_share: no

View File

@@ -6,7 +6,7 @@
// Note 1: Value is a config switch (on/off, yes/no or 1/0)
// Note 2: Value is in percents (100 means 100%)
// Note 3: Value is a bit field. If no description is given,
// assume unit types (1: Pc, 2: Mob, 4: Pet, 8: Homun)
// assume unit types (1: Pc, 2: Mob, 4: Pet, 8: Homun, 16: Mercenary, 128: NPC, 512: Elemental)
//--------------------------------------------------------------
// The highest value at which an item can be sold via the merchant vend skill. (in zeny)
@@ -112,9 +112,12 @@ item_flooritem_check: yes
default_bind_on_equip: 4
// Allow selling of bound/sell restricted items as Itemshop currency? (Note 3)
// 0x0 = Bound/sell restricted items are unable to be sold at Itemshops
// 0x1 = Bound items are able to be sold at Itemshops
// 0x2 = Sell restricted items are able to be sold at Itemshops
// 0x0 = Bound/sell restricted items are unable to be sold to Itemshops/Shops
// 0x1 = Bound items are able to be sold to Itemshops
// 0x2 = Sell restricted items are able to be sold to Itemshops
// 0x4 = Bound items are able to be sold to Shops,
// because most of trade restricted items are still able to be sold to Shops
// 0x8 = Only Guild Leader can sell BOUND_GUILD items to Shops or Itemshops (if 0x1 or 0x4 set)
allow_bound_sell: 0x0
// Turn on event refine chance (see db/{pre-}re/refine_db.yml)
@@ -127,3 +130,14 @@ event_refine_chance: no
// Note: Players with short names can be fully converted to asterisks if this
// config value is set high.
broadcast_hide_name: 2
// Enable to sell rental item to NPC shop? (Note 1)
rental_transaction: yes
// Minimum purchase price of items at a normal Shop
// Officially items cannot be purchased for less than 1 Zeny
min_shop_buy: 1
// Minimum sell price of items at a normal shop
// Officially items can be sold for 0 Zeny
min_shop_sell: 0

View File

@@ -6,7 +6,7 @@
// Note 1: Value is a config switch (on/off, yes/no or 1/0)
// Note 2: Value is in percents (100 means 100%)
// Note 3: Value is a bit field. If no description is given,
// assume unit types (1: Pc, 2: Mob, 4: Pet, 8: Homun)
// assume unit types (1: Pc, 2: Mob, 4: Pet, 8: Homun, 16: Mercenary, 128: NPC, 512: Elemental)
//--------------------------------------------------------------
// PK Server Mode. Turns entire server pvp(excluding towns). Experience loss is doubled if killed by another player.
@@ -99,7 +99,7 @@ duel_only_on_same_map: no
// Set to 0 for no cell stacking checks and free movement.
// Custom - This variation will make every full cell to be considered a wall.
// NOTE: For the custom setting to take effect you have to use a server compiled
// with Cell Stack Limit support (see src/map/map.h)
// with Cell Stack Limit support (see src/map/map.hpp)
official_cell_stack_limit: 1
custom_cell_stack_limit: 1

View File

@@ -6,7 +6,7 @@
// Note 1: Value is a config switch (on/off, yes/no or 1/0)
// Note 2: Value is in percents (100 means 100%)
// Note 3: Value is a bit field. If no description is given,
// assume unit types (1: Pc, 2: Mob, 4: Pet, 8: Homun)
// assume unit types (1: Pc, 2: Mob, 4: Pet, 8: Homun, 16: Mercenary, 128: NPC, 512: Elemental)
//--------------------------------------------------------------
// The HP rate of MVPs. (Note 2)
@@ -71,6 +71,7 @@ monster_chase_refresh: 3
// 1: Enable mob-warping when standing on NPC-warps
// 2: Enable mob-warping when standing on Priest Warp Portals
// 4: Disable warping when the target map is a 'nobranch' map.
// 8: Enable mob-warping when standing on Dimensional Door
mob_warp: 0
// If these are set above 0, they define the time (in ms) during which monsters
@@ -262,3 +263,16 @@ monster_hp_bars_info: yes
// This can be legit gameplay (e.g. players keeping an MVP stuck inside icewall), but if you want to prevent any
// exploits and be notified about them, you can set this to yes.
monster_stuck_warning: no
// Rate at which monsters use their idle skills when there are no players nearby (Note 2)
// On official servers monsters use their idle skills if they have been spotted once, even if there are no players nearby anymore.
// On small-medium sized servers this can cause all monsters like eggs and Fabre/Pupa to metamorph.
// To switch it off, set it to 0.
mob_nopc_idleskill_rate: 100
boss_nopc_idleskill_rate: 100
// Rate at which monsters move when there are no players nearby (Note 2)
// On official servers monsters always move if they have been spotted once, even if there are no players nearby anymore.
// To switch it off, set it to 0.
mob_nopc_move_rate: 100
boss_nopc_move_rate: 100

View File

@@ -6,7 +6,7 @@
// Note 1: Value is a config switch (on/off, yes/no or 1/0)
// Note 2: Value is in percents (100 means 100%)
// Note 3: Value is a bit field. If no description is given,
// assume unit types (1: Pc, 2: Mob, 4: Pet, 8: Homun)
// assume unit types (1: Pc, 2: Mob, 4: Pet, 8: Homun, 16: Mercenary, 128: NPC, 512: Elemental)
//--------------------------------------------------------------
// Rate for catching pets (Note 2)
@@ -21,11 +21,8 @@ pet_friendly_rate: 100
// The rate at which a pet will become hungry. (Note 2)
pet_hungry_delay_rate: 100
// If your pet is hungry by how much will the friendlyness decrease by. (Default is 5)
// Note: The friendlyness is 0-1000 total, at 0 the pet runs away.
pet_hungry_friendly_decrease: 5
// Does the pet need its equipment before it does its skill? (Note 1)
// These bonuses are unofficial and found in the import/pet_db.yml
pet_equip_required: yes
// When the master attacks a monster, whether or not the pet will also attack. (Note 1)
@@ -39,9 +36,6 @@ pet_damage_support: no
// At max (1000) support rate is 150%.
pet_support_min_friendly: 900
// Same as above, but this is to use the pet_script field with official pet abilities.
pet_equip_min_friendly: 900
// Whether or not the pet's will use skills. (Note 1)
// Note: Offensive pet skills need at least pet_attack_support or
// pet_damage_support to work (they trigger while the pet is attacking).
@@ -81,3 +75,13 @@ pet_ignore_infinite_def: yes
// Whether or not the pet will continue to attack when the master is dead. (Note 1)
pet_master_dead: no
// Send auto-feed notice even if the client setting is OFF (Note 1)
// Official: yes
pet_autofeed_always: yes
// Pet walk speed.
// 1: Master's walk speed (official)
// 2: DEFAULT_WALK_SPEED value
// 3: Mob database walk speed
pet_walk_speed: 1

View File

@@ -6,7 +6,7 @@
// Note 1: Value is a config switch (on/off, yes/no or 1/0)
// Note 2: Value is in percents (100 means 100%)
// Note 3: Value is a bit field. If no description is given,
// assume unit types (1: Pc, 2: Mob, 4: Pet, 8: Homun)
// assume unit types (1: Pc, 2: Mob, 4: Pet, 8: Homun, 16: Mercenary, 128: NPC, 512: Elemental)
//--------------------------------------------------------------
// Players' maximum HP rate? (Default is 100)
@@ -61,7 +61,9 @@ natural_healsp_interval: 8000
natural_heal_skill_interval: 10000
// The maximum weight for a character to carry when the character stops healing naturally. (in %)
// For renewal: Requires client 20171025 or newer to display properly
natural_heal_weight_rate: 50
natural_heal_weight_rate_renewal: 70
// Maximum atk speed. (Default 190, Highest allowed 199)
max_aspd: 190
@@ -242,9 +244,11 @@ fame_taekwon_mission: 1
// Refined own forged weapon to +10
fame_refine_lv1: 1
fame_refine_lv2: 25
fame_refine_lv3: 10000
fame_refine_lv3: 1000
// Success to forge a lv3 weapon with 3 additional ingredients
fame_forge: 10
// Refine threshold for giving point for refining forged weapon to +10
blacksmith_fame_refine_threshold: 10
// Success to prepare 'n' Condensed Potions in a row
fame_pharmacy_3: 1
fame_pharmacy_5: 3

View File

@@ -196,6 +196,14 @@ devotion_rdamage: 0
// But if the target is being devoted, it ONLY reflects the damage for melee skill. (Note 1)
devotion_rdamage_skill_only: yes
// On AEGIS there is a bug when the player who is under devotion is sitting and getting hit.
// The player stands up on client side, but will still remain sitting on server side.
// Because of this the player will not be able to walk anymore, until the player sat down/stood up again or used @refresh.
// You can read more about it on https://github.com/rathena/rathena/issues/1927
// Default: yes (because it is a recommended bug fix from our side)
// Official: no
devotion_standup_fix: yes
// If no than you can use the ensemble skills alone. (Note 1)
player_skill_partner_check: yes
@@ -375,3 +383,11 @@ banana_bomb_duration: 0
// Official: no
// Legacy rAthena logic: yes
skill_drop_items_full: no
// EDP setting: (Note 3)
// When switching/unequipping a right hand weapon, should EDP be removed? EDP can't be used with bare hand.
// 0: Disabled (rAthena legacy and pre-renewal behavior).
// 1: Enabled on pre-renewal.
// 2: Enabled on renewal.
// 3: 1+2
switch_remove_edp: 2

View File

@@ -6,7 +6,7 @@
// Note 1: Value is a config switch (on/off, yes/no or 1/0)
// Note 2: Value is in percents (100 means 100%)
// Note 3: Value is a bit field. If no description is given,
// assume unit types (1: Pc, 2: Mob, 4: Pet, 8: Homun)
// assume unit types (1: Pc, 2: Mob, 4: Pet, 8: Homun, 16: Mercenary, 128: NPC, 512: Elemental)
//--------------------------------------------------------------
// Should skill casting be cancelled when inflicted by curse/stun/sleep/etc (includes silence) (Note 3)?

View File

@@ -85,7 +85,7 @@ char_maintenance: 0
// Enable or disable creation of new characters.
// Now it is actually supported [Kevin]
char_new: 1
char_new: yes
// Display (New) in the server list.
char_new_display: 0
@@ -109,7 +109,7 @@ save_log: yes
// Starting point for new characters
// Format: <map_name>,<x>,<y>{:<map_name>,<x>,<y>...}
// Max number of start points is MAX_STARTPOINT in char.h (default 5)
// Max number of start points is MAX_STARTPOINT in char.hpp (default 5)
// Location is randomly picked on character creation.
// NOTE: For Doram, this requires client 20151001 or newer.
start_point: iz_int,18,26:iz_int01,18,26:iz_int02,18,26:iz_int03,18,26:iz_int04,18,26
@@ -117,7 +117,7 @@ start_point_pre: new_1-1,53,111:new_2-1,53,111:new_3-1,53,111:new_4-1,53,111:new
start_point_doram: lasa_fild01,48,297
// Starting items for new characters
// Max number of items is MAX_STARTITEM in char.c (default 32)
// Max number of items is MAX_STARTITEM in char.cpp (default 32)
// Format: <id>,<amount>,<position>{:<id>,<amount>,<position>...}
// To auto-equip an item, include the position where it will be equipped; otherwise, use zero.
// NOTE: For Doram, this requires client 20151001 or newer.
@@ -141,7 +141,7 @@ guild_exp_rate: 100
unknown_char_name: Unknown
// To log the character server?
log_char: 1
log_char: yes
// Allow or not identical name for characters but with a different case (upper/lower):
// example: Test-test-TEST-TesT; Value: 0 not allowed (default), 1 allowed

View File

@@ -86,14 +86,15 @@ groups: (
level: 0
inherit: ( /*empty list*/ )
commands: {
/* no commands by default */
changedress: true
resurrect: true
}
permissions: {
/* without this basic permissions regular players could not
trade or party */
can_trade: true
can_party: true
command_enable: true
attendance: true
}
},
{
@@ -135,6 +136,7 @@ groups: (
langtype: true
}
permissions: {
attendance: false
}
},
{
@@ -282,6 +284,7 @@ groups: (
permissions: {
can_trade: true
can_party: true
command_enable: true
all_skill: false
all_equipment: false
skill_unconditional: false
@@ -293,7 +296,6 @@ groups: (
item_unconditional: false
bypass_stat_onclone: true
bypass_max_stat: true
cashshop_sale: true
/* all_permission: true */
}
}

View File

@@ -1,323 +0,0 @@
// This is help file that contains help messages for atcommands/charcommands.
// Format:
// <command>: "<help message>"
// This file uses libconfig syntax.
help: "Params: <command>\n" "Shows help for specified command."
noask: "Auto rejects deals/invites."
gmotd: "Broadcasts the Message of The Day to all players."
me: "Params: <message>\n" "Displays normal text as a message in this format: *name message* (like /me in mIRC)."
fakename: "Params: <name>\n" "Changes your name to your choice temporarily."
npctalk: "Params: <NPC name> <message>\n" "Forces a NPC to display a message in normal chat."
broadcast: "Params: <message>\n" "Broadcasts a message with your name (in yellow)."
kami: "Params: <message>\n" "Broadcasts a message without your name (in yellow)."
kamib: "Params: <message>\n" "Broadcasts a message without your name (in blue)."
localbroadcast: "Params: <message>\n" "Broadcasts a message with your name (in yellow) only on your map."
commands: "Displays a list of commands that you can use."
rates: "Displays the server's current rates."
uptime: "Displays how long the server has been online."
showdelay: "Shows/hides the \"There is a delay after this skill\" message."
exp: "Displays current levels and % progress."
mobinfo: "Params: <monster name|ID>\n" "Shows monster info (stats, exp, drops etc)."
iteminfo: "Params: <item name|ID>\n" "Shows item info (type, price etc)."
whodrops: "Params: <item name|ID>\n" "Shows who drops an item (monster with highest drop rates)."
version: "Displays SVN version of the server."
email: "Params: <current email> <new email>\n" "Changes your account e-mail address."
where: "Params: <char name>\n" "Tells you the location of a character."
time: "Shows the date and time of the server."
showexp: "Displays/hides experience gained."
showzeny: "Displays/hides Zeny gained."
mobsearch: "Params: <monster name|ID>\n" "Shows the location of a certain mob on the current map."
who: "Params: [<name>]\n" "Shows a list of online players and their party and guild."
who2: "Params: [<name>]\n" "Shows a list of online players and their job."
who3: "Params: [<name>]\n" "Shows a list of online players and their location."
whomap: "@whomap/@whomap2/@whomap3 [map] - like @who/@who2/@who3 but only for specified map."
whogm: "Params: [match_text] - Like @who+@who2+who3, but only for GM."
guildspy: "Params: <guild name|id> - You will receive all messages of the guild channel (Chat logging must be enabled)"
partyspy: "@partyspy <party name|id> - You will receive all messages of the party channel (Chat logging must be enabled)"
mapinfo: "Params: [<0-3> [map]] - Give information about a map (general info +: 0: no more, 1: players, 2: NPC, 3: chatrooms)."
go: "Params: <city name|number>\n" "Warps you to a city.\n"
" -3: (Memo point 2) 14: louyang 31: mora\n"
" -2: (Memo point 1) 15: start point 32: dewata\n"
" -1: (Memo point 0) 16: prison/jail 33: malangdo island\n"
" 0: prontera 17: jawaii 34: malaya port\n"
" 1: morocc 18: ayothaya 35: eclage\n"
" 2: geffen 19: einbroch 36: lasagna\n"
" 3: payon 20: lighthalzen\n"
" 4: alberta 21: einbech\n"
" 5: izlude 22: hugel\n"
" 6: aldebaran 23: rachel\n"
" 7: xmas (lutie) 24: veins\n"
" 8: comodo 25: moscovia\n"
" 9: yuno 26: midgard camp\n"
" 10: amatsu 27: manuk\n"
" 11: gonryun 28: splendide\n"
" 12: umbala 29: brasilis\n"
" 13: niflheim 30: el dicastes\n"
jumpto: "Params: <char name>\n" "Warps you to selected character."
follow: "Params: <char name>\n" "Follow a player."
mount: "Give/remove a job-based mount (class is required, but not the skill)."
mount2: "Give/remove a cash mount."
disguise: "Params: <monster name|ID>\n" "Change your appearence to other players to a mob."
undisguise: "Restore your normal appearance."
disguiseguild: "Disguises all online characters of a guild."
undisguiseguild: "Restore the normal appearance of all characters of a guild."
model: "Params: <hair ID: 0-17> <hair color: 0-8> <clothes color: 0-4> - Changes your characters appearence."
size: "Params: <0-2> Changes your size (0-Normal 1-Small 2-Large)"
sizeall: "Changes the size of all players."
sizeguild: "Changes the size of all online characters of a guild."
hide: "Makes you character invisible (GM invisibility). Type again to become visible."
save: "Sets respawn point to current spot."
load: "Warps you to your save point."
warp: "Params: <mapname> [<x> <y>]\n" "Warps you to the selected map and position."
jump: "Params: [<x> [<y>]]\n" "Randomly warps you like a flywing."
jobchange: "Params: <job name|ID>\n" "Changes your job.\n"
"----- Novice / 1st Class -----\n"
" 0 Novice 1 Swordman 2 Magician 3 Archer\n"
" 4 Acolyte 5 Merchant 6 Thief\n"
"----- 2nd Class -----\n"
" 7 Knight 8 Priest 9 Wizard 10 Blacksmith\n"
" 11 Hunter 12 Assassin 14 Crusader 15 Monk\n"
" 16 Sage 17 Rogue 18 Alchemist 19 Bard\n"
" 20 Dancer\n"
"----- High Novice / High 1st Class -----\n"
"4001 Novice High 4002 Swordman High 4003 Magician High 4004 Archer High\n"
"4005 Acolyte High 4006 Merchant High 4007 Thief High\n"
"----- Transcendent 2nd Class -----\n"
"4008 Lord Knight 4009 High Priest 4010 High Wizard 4011 Whitesmith\n"
"4012 Sniper 4013 Assassin Cross 4015 Paladin 4016 Champion\n"
"4017 Professor 4018 Stalker 4019 Creator 4020 Clown\n"
"4021 Gypsy\n"
"----- 3rd Class (Regular) -----\n"
"4054 Rune Knight 4055 Warlock 4056 Ranger 4057 Arch Bishop\n"
"4058 Mechanic 4059 Guillotine Cross 4066 Royal Guard 4067 Sorcerer\n"
"4068 Minstrel 4069 Wanderer 4070 Sura 4071 Genetic\n"
"4072 Shadow Chaser\n"
"----- 3rd Class (Transcendent) -----\n"
"4060 Rune Knight 4061 Warlock 4062 Ranger 4063 Arch Bishop\n"
"4064 Mechanic 4065 Guillotine Cross 4073 Royal Guard 4074 Sorcerer\n"
"4075 Minstrel 4076 Wanderer 4077 Sura 4078 Genetic\n"
"4079 Shadow Chaser\n"
"----- Expanded Class -----\n"
" 23 Super Novice 24 Gunslinger 25 Ninja 4045 Super Baby\n"
"4046 Taekwon 4047 Star Gladiator 4049 Soul Linker 4050 Gangsi\n"
"4051 Death Knight 4052 Dark Collector 4190 Ex. Super Novice 4191 Ex. Super Baby\n"
"4211 Kagerou 4212 Oboro 4215 Rebellion 4218 Summoner\n"
"----- Baby Novice And Baby 1st Class -----\n"
"4023 Baby Novice 4024 Baby Swordman 4025 Baby Magician 4026 Baby Archer\n"
"4027 Baby Acolyte 4028 Baby Merchant 4029 Baby Thief\n"
"---- Baby 2nd Class ----\n"
"4030 Baby Knight 4031 Baby Priest 4032 Baby Wizard 4033 Baby Blacksmith\n"
"4034 Baby Hunter 4035 Baby Assassin 4037 Baby Crusader 4038 Baby Monk\n"
"4039 Baby Sage 4040 Baby Rogue 4041 Baby Alchemist 4042 Baby Bard\n"
"4043 Baby Dancer\n"
"---- Baby 3rd Class ----\n"
"4096 Baby Rune Knight 4097 Baby Warlock 4098 Baby Ranger 4099 Baby Arch Bishop\n"
"4100 Baby Mechanic 4101 Baby Glt. Cross 4102 Baby Royal Guard 4103 Baby Sorcerer\n"
"4104 Baby Minstrel 4105 Baby Wanderer 4106 Baby Sura 4107 Baby Genetic\n"
"4108 Baby Shadow Chaser\n"
"---- Expanded Baby Class ----\n"
"4220 Baby Summoner 4222 Baby Ninja 4223 Baby Kagero 4224 Baby Oboro\n"
"4225 Baby Taekwon 4226 Baby Star Glad 4227 Baby Soul Linker 4228 Baby Gunslinger\n"
"4229 Baby Rebellion\n"
"---- Modes And Others ----\n"
" 22 Wedding 26 Christmas 27 Summer 28 Hanbok\n"
" 4048 Star Gladiator (Union) 4238 Baby Star Glad (Union)\n"
option: "Params: <param1> <param2>(stackable) <param3>(stackable)\n" "Adds different visual effects on or around your character.\n"
" <param1> <param2> <param3>\n"
"01: Stone 01: Sight 01: Sight 512: Cart Lv. 4\n"
"02: Frozen 02: Curse 02: Hiding 1024: Cart Lv. 5\n"
"03: Stun 04: Silence 04: Cloaking 2048: Orc Head\n"
"04: Sleep 08: Signum 08: Cart Lv. 1 4096: Wedding\n"
"06: Petrify 16: Blind 16: Falcon 8192: Ruwach\n"
"07: Burning 32: Angelus 32: Riding 16384: Chasewalk\n"
"08: Imprison 64: Bleeding 64: Invisible\n"
"16: (Nothing) 128: D. Poison 128: Cart Lv. 2\n"
"32: (Nothing) 256: Fear 256: Cart Lv. 3"
heal: "Params: [<HP> <SP>]\n" "Heals the desired amount of HP and SP. No value specified will do a full heal."
dye: "Params: <clothes palette no.>\n" "Changes your characters clothes color."
hairstyle: "Params: <hairstyle no.>\n" "Changes your hair style."
haircolor: "Params <hair palette no.>\n" "Changes your hair color."
speed: "Params: <1-1000>\n" "Changes you walking speed. 1 being the fastest and 1000 the slowest. Default is 150."
effect: "Params: <effect id> [<flag>]\n" "Give an effect to your character."
dropall: "Params: [<item type>]\n" "Throws all your possession on the ground. No type specified will drop all items."
storeall: "Puts all your possessions in storage."
killable: "Make your character killable."
memo: "Params: [memo position]\n" "Set/change a memo location (no position: display memo points)."
spiritball: "Params: <1-100>\n" "Gives you \"spirit spheres\" like from the skill \"Call Spirits\".\n"
questskill: "Params: <#>\n" "Gives you the specified quest skill\n"
"Novice = 142: First Aid, 143: Act Dead\n"
"Archer = 147: Create Arrow, 148: Charge Arrow\n"
"Swordman = 144: Moving HP Recovery, 145: Attack Weak Point, 146: Auto Berserk\n"
"Acolyte = 156: Holy Light\n"
"Thief = 149: Throw Sand, 150: Back Sliding, 151: Take Stone, 152: Throw Stone\n"
"Merchant = 153: Cart Revolution, 154: Change Cart, 155: Crazy Uproar, 2535: Open Buying Store\n"
"Magician = 157: Energy Coat\n"
"Hunter = 1009: Phantasmic Arrow\n"
"Bard = 1010: Pang Voice\n"
"Dancer = 1011: Wink of Charm\n"
"Knight = 1001: Charge Attack\n"
"Crusader = 1002: Shrink\n"
"Priest = 1014: Redemptio\n"
"Monk = 1015: Ki Translation, 1016: Ki Explosio\n"
"Assassin = 1003: Sonic Acceleration, 1004: Throw Venom Knife\n"
"Rogue = 1005: Close Confine\n"
"Blacksmith = 1012: Unfair Trick, 1013: Greed\n"
"Alchemist = 238: Basis of Life\n"
"Wizard = 1006: Sight Blaster\n"
"Sage = 1007: Create Elemental Converter, 1008: Elemental Change (Water), 1017: Elemental Change (Earth), 1018: Elemental Change (Fire), 1019: Elemental Change (Wind)"
lostskill: "Params: <#>\n" "Takes away the specified quest skill from you\n"
"Novice = 142: First Aid, 143: Act Dead\n"
"Archer = 147: Create Arrow, 148: Charge Arrow\n"
"Swordman = 144: Moving HP Recovery, 145: Attack Weak Point, 146: Auto Berserk\n"
"Acolyte = 156: Holy Light\n"
"Thief = 149: Throw Sand, 150: Back Sliding, 151: Take Stone, 152: Throw Stone\n"
"Merchant = 153: Cart Revolution, 154: Change Cart, 155: Crazy Uproar, 2535: Open Buying Store\n"
"Magician = 157: Energy Coat\n"
"Hunter = 1009: Phantasmic Arrow\n"
"Bard = 1010: Pang Voice\n"
"Dancer = 1011: Wink of Charm\n"
"Knight = 1001: Charge Attack\n"
"Crusader = 1002: Shrink\n"
"Priest = 1014: Redemptio\n"
"Monk = 1015: Ki Translation, 1016: Ki Explosio\n"
"Assassin = 1003: Sonic Acceleration, 1004: Throw Venom Knife\n"
"Rogue = 1005: Close Confine\n"
"Blacksmith = 1012: Unfair Trick, 1013: Greed\n"
"Alchemist = 238: Basis of Life\n"
"Wizard = 1006: Sight Blaster\n"
"Sage = 1007: Create Elemental Converter, 1008: Elemental Change (Water), 1017: Elemental Change (Earth), 1018: Elemental Change (Fire), 1019: Elemental Change (Wind)"
skillid: "Params: <name>\n" "Look up a skill by name"
useskill: "Params: <skillid> <skillv> <target>\n" "Use a skill on target"
skilltree: "Params: <skillnum> <charname>\n" "Prints the skill tree needed to get a skill for the target player."
marry: "Params: <player name>\n" "Marry another player."
divorce: "Divorce player."
alive: "Revives yourself from death."
blvl: "Params: <number of levels>\n" "Raises your base level the desired number of levels."
jlvl: "Params: <number of levels>\n" "Raises your job level the desired number of levels."
allskill: "Give you all skills."
stpoint: "Params: <number of points> - Gives you the desired number of stat points."
skpoint: "Params: <number of points> - Gives you the desired number of skill points."
zeny: "Params: <amount> - Gives you desired amount of Zeny."
cash: "Params: <amount> - Gives you the specified amount of cash points."
points: "Params: <amount> - Gives you the specified amount of Kafra Points."
str: "Params: <amount>\n" "Raises STR by given amount."
agi: "Params: <amount>\n" "Raises AGI by given amount."
dex: "Params: <amount>\n" "Raises DEX by given amount."
vit: "Params: <amount>\n" "Raises VIT by given amount."
int: "Params: <amount>\n" "Raises INT by given amount."
luk: "Params: <amount>\n" "Raises LUK by given amount."
allstats: "Params: <value>\n" "Adds value in all stats (maximum if no value)."
addwarp: "Params: <map name> <x coord> <y coord> <NPC name>\n"
killmonster2: "Kills all monsters of your map (without drops)."
monster: "Params: <monster name|ID> [<number to spawn> [<desired_monster_name> [<x coord> [<y coord>]]]]\n"
"@monster2 <desired_monster_name> <monster name|ID> [<number to spawn> [<x coord> [<y coord>]]]\n"
"@spawn/@monster/@summon/@monster2 \"desired monster name\" <monster name|ID> [<number to spawn> [<x coord> [<y coord>]]]\n"
"@spawn/@monster/@summon/@monster2 <monster name|ID> \"desired monster name\" [<number to spawn> [<x coord> [<y coord>]]]\n"
" Spawns the desired monster with any desired name."
monstersmall: "Params: <monster name|ID>\n" "Spawns a smaller version of a monster."
monsterbig: "Params: <monster name|ID>\n" "Spawns a larger version of a monster."
killmonster: "Params: <map>\n" "Kill all monsters of the map (they drop)"
autoloot: "Params: <on|off|#>\n" "Makes items go straight into your inventory."
autotrade: "Allows you to vend while you are offline."
changegm: "Params: <charname>\n" "Changes the leader of your guild (You must be guild leader)"
changeleader: "Params: <charname>\n" "Changes the leader of your party (You must be party leader)"
request: "Params: <message>\n" "Sends a message to all connected GMs (via the gm whisper system)"
sound: "Params: <path to file in data folder or GRF file>\n" "Plays a sound from the data folder or GRF file located on the client."
clone: "Params: <charname>\n" "Spawns a supportive clone of the given player."
slaveclone: "Params: <charname>\n" "Spawns a supportive clone of the given player that follows the creator around."
evilclone: "Params: <charname>\n" "Spawns an aggressive clone of the given player."
changesex: "Changes your gender."
duel: "Starts a duel."
invite: "Invites a player to a duel."
accept: "Accepts an invitation to a duel."
reject: "Rejects an invitation to a duel."
leave: "Leaves a duel."
mail: "Open mail box."
storage: "Opens storage."
itemreset: "Remove all your items."
guildstorage: "Opens guild storage."
idsearch: "Params: <part_of_item_name>\n" "Search all items that name have part_of_item_name"
refine: "Params: <equip position> <+/- amount>"
produce: "Params: <equip name or equip ID> <element> <# of very's>\n"
" Element: 0=None 1=Ice 2=Earth 3=Fire 4=Wind\n"
" You can add up to 3 Star Crumbs and 1 element\n"
repairall: "Repair all items of your inventory"
item: "Params: <item name or ID> <quantity>\n" "Gives you the desired item."
item2: "Params: <item name or ID> <quantity> <identified_flag> <refine> <broken_flag> <Card1> <Card2> <Card3> <Card4>\n" "Gives you the desired item."
pvpon: "Turns pvp on on the current map"
pvpoff: "Turns pvp off on the current map"
gvgon: "Turns gvg on on the current map"
gvgoff: "Turns gvg off on the current map"
agitstart: "Starts War of Emperium"
agitend: "End War of Emperium"
party: "Params: <party_name>\n" "Create a party."
guild: "Params: <guild_name>\n" "Create a guild."
glvl: "Params: <# of levels>\n" "Raise Guild by desired number of levels"
guildrecall: "Params: <guild name|ID>\n" "Warps all online characters of a guild to you."
partyrecall: "Params: <party name|ID>\n" "Warps all online characters of a party to you."
petrename: "Re-enable pet rename"
pettalk: "Params: <message>\n" "Makes your pet say a message."
petfriendly: "Params: <#>\n" "Set pet friendly amount (0-1000) 1000 = Max"
pethungry: "Params: <#>\n" "Set pet hungry amount (0-100) 100 = Max"
hatch: "Create a pet from your inventory eggs list."
makeegg: "Params: <pet_id>\n" "Gives pet egg for monster number in pet DB"
kick: "Params: <char name>\n" "Kicks specified character off the server"
unjail: "Params: <char name>\n" "Discharges specified character/prisoner"
kill: "Kills player."
recall: "Params: <char name>\n" "Warps target character to you."
raise: "Params: <char name>\n" "Revives target character."
block: "Params: <char name>\n" "Permanently blocks an account."
unblock: "Params: <char name>\n" "Unblocks an account."
ban: "Params: <time> <name>\n" "Temporarily ban an account.\n"
" time usage: adjustment (+/- value) and element (y/a, m, d/j, h, mn, s)\n"
" Example: @ban +1m-2mn1s-6y testplayer\n"
unban: "Params: <name> - Unban a account"
jail: "Params: <char name> - Sends specified character in jails"
trade: "Params: <char name> - Open a trade window with a another player"
recallall: "Warps every character online to you."
doom: "Kills all NON GM chars on the server."
doommap: "Kills all non GM characters on the map."
raisemap: "Resurrects all characters on the map."
night: "Enables night mode on all maps, all characters are affected."
day: "Disables night mode and restores regular lighting, all characters are affected."
skillon: "Turn skills on for a map."
skilloff: "Turn skills off for a map."
snow: "Makes all maps to have the snow weather effect."
clouds: "Makes all maps to have the cloudy weather effect."
clouds2: "Makes all maps to have another cloudy weather effect."
fog: "Makes all maps to have the fog weather effect."
fireworks: "Makes all maps to have the fireworks weather effect."
sakura: "Makes all maps to have the sakura weather effect."
leaves: "Makes all maps to have the leaves weather effect."
shownpc: "Params: <NPC name>\n" "Enable a NPC."
hidenpc: "Params: <NPC name>\n" "Disable a NPC."
npcmove: "Params: <x coord> <y coord> <NPC name>\n" "Move a NPC."
loadnpc: "Params: <path to script>\n" "Load the specified script file path."
unloadnpc: "Params: <NPC name>\n" "Unload the specified NPC according to name."
unloadnpcfile: "Params: <path>\n" "Unload the specified script file path."
adjgroup: "Params: <level> <char name>\n" "Do a temporary adjustment of the group level of a player."
addperm: "Params: <permission_name>\n" "Temporarily add a permission to a player."
rmvperm: "Params: <permission_name>\n" "Temporarily remove a permission from a player."
kickall: "Kick all characters off the server"
mapexit: "Kick all players and shut down map-server."
gat: "For debugging (you inspect around gat)"
send: "Params: <Hex Number> [<value>]\n" "For debugging (packet variety)"
nuke: "Params: <char name>\n" "Blow somebody up, including those surrounding them."
reloadatcommand: "Reload atcommand settings."
reloadbattleconf: "Reload battle settings."
reloaditemdb: "Reload item database."
reloadmobdb: "Reload monster database."
reloadmotd: "Reload Message of the Day."
reloadmsgconf: "Reload message configuration."
reloadpcdb: "Reload player settings."
reloadquestdb: "Reload quest database."
reloadscript: "Reload all scripts."
reloadskilldb: "Reload skills definition database."
reloadstatusdb: "Reload status settings."
reload: "Params: <type>\n" "Reload a database or configuration file.\n"
" itemdb mobdb skilldb\n"
" atcommand battleconf statusdb\n"
" pcdb motd script\n"
" questdb msgconf packetdb\n"
langtype: "Params: <language>\n" "Changes your language setting."

View File

@@ -0,0 +1,33 @@
# This file is a part of rAthena.
# Copyright(C) 2017 rAthena Development Team
# https://rathena.org - https://github.com/rathena
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
###########################################################################
# Atcommand Database
###########################################################################
#
# Atcommand Settings
#
###########################################################################
# - Command Command name.
# Aliases: Aliases for the command. (Optional)
# - <AliasName>
# Help Help message for the command. (Optional)
###########################################################################
Header:
Type: ATCOMMAND_DB
Version: 1

View File

@@ -1,17 +1,43 @@
# Config for Storages
# This file is a part of rAthena.
# Copyright(C) 2017 rAthena Development Team
# https://rathena.org - https://github.com/rathena
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
##########################################################################
# Storage Database
##########################################################################
#
# Storage Settings
#
##########################################################################
# - ID Storage ID.
# Name Storage name that will be sent to the client to display on the title bar.
# Table Name of SQL table where storage is saved. The table structure is the same as the default storage table.
# Max Maximum number of items. (Default: MAX_STORAGE)
###########################################################################
# To access the premium storage, use script command 'openstorage2'.
# If premium storages are added, copy the structure of the storage table and match the table name in this config.
# The 'max' of premium storages are not adjusted by 'vip_storage_increase' config nor MIN_STORAGE.
#
# Structure:
# - ID: <storage_id> // (int) Storage ID will be used for script command 'openstorage2'.
# Name: "<storage name>" // (string) Storage name will be sent to the client to display on the title bar.
# Table: "<storage_table>" // (string) Name of table where storage is saved. The table stucture is the same as the default storage table.
# Max: <max_amount> // (int) *optional* Maximum number of items in storage. MAX_STORAGE will be used if no value is defined.
###############################################################################################################################################
#Storages:
# If more premium storages are added, copy the structure of the storage table and match the table name in this config.
# The 'Max' of premium storages are not adjusted by 'vip_storage_increase' config nor MIN_STORAGE.
###########################################################################
Header:
Type: INTER_SERVER_DB
Version: 1
#Body:
# - ID: 1
# Name: "VIP Storage"
# Table: "vip_storage"
# Table: vip_storage
# Max: 300

View File

@@ -116,7 +116,6 @@ skill_homunculus_db: skill_homunculus
mercenary_db: mercenary
mercenary_owner_db: mercenary_owner
elemental_db: elemental
ragsrvinfo_db: ragsrvinfo
skillcooldown_db: skillcooldown
bonus_script_db: bonus_script
acc_reg_num_table: acc_reg_num
@@ -149,6 +148,7 @@ vending_table: vendings
vending_items_table: vending_items
market_table: market
roulette_table: db_roulette
guild_storage_log: guild_storage_log
// Use SQL item_db, mob_db and mob_skill_db for the map server? (yes/no)
use_sql_db: no

View File

@@ -15,20 +15,32 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
##########################################################################
# Storage Database
##########################################################################
#
# Storage Settings
#
##########################################################################
# - ID Storage ID.
# Name Storage name that will be sent to the client to display on the title bar.
# Table Name of SQL table where storage is saved. The table structure is the same as the default storage table.
# Max Maximum number of items. (Default: MAX_STORAGE)
###########################################################################
# Config for Storages
#
# To access the premium storage, use script command 'openstorage2'.
# If premium storages are added, copy the structure of the storage table and match the table name in this config.
# The 'max' of premium storages are not adjusted by 'vip_storage_increase' config nor MIN_STORAGE.
#
# Structure:
# - ID: <storage_id> // (int) Storage ID will be used for script command 'openstorage2'.
# Name: "<storage name>" // (string) Storage name will be sent to the client to display on the title bar.
# Table: "<storage_table>" // (string) Name of table where storage is saved. The table stucture is the same as the default storage table.
# Max: <max_amount> // (int) *optional* Maximum number of items in storage. MAX_STORAGE will be used if no value is defined.
# If more premium storages are added, copy the structure of the storage table and match the table name in this config.
# The 'Max' of premium storages are not adjusted by 'vip_storage_increase' config nor MIN_STORAGE.
###########################################################################
Storages:
- ID: 0
Name: "Storage"
Table: "storage"
Header:
Type: INTER_SERVER_DB
Version: 1
Body:
- ID: 0
Name: "Storage"
Table: storage
Footer:
Imports:
- Path: conf/import/inter_server.yml

View File

@@ -4,7 +4,7 @@
// Note 1: Value is a config switch (on/off, yes/no or 1/0)
// Note 2: Value is in percents (100 means 100%)
// Note 3: Value is a bit field. If no description is given,
// assume unit types (1: Pc, 2: Mob, 4: Pet, 8: Homun)
// assume unit types (1: Pc, 2: Mob, 4: Pet, 8: Homun, 16: Mercenary, 128: NPC, 512: Elemental)
//--------------------------------------------------------------
// Enable Logs? (Note 3)
@@ -37,7 +37,7 @@
// Please note that moving items from inventory to cart and back is not logged by design.
enable_logs: 0xFFFFFF
// Use MySQL Logs? [SQL Version Only] (Note 1)
// Use MySQL Logs? (Note 1)
sql_logs: yes
// LOGGING FILTERS
@@ -86,10 +86,8 @@ log_branch: no
// 0 - don't log; 1 - log any zeny changes; 2.....1000000 - minimal absolute logging zeny value
log_zeny: 0
// Track Cash Changes
// 0 - don't log
// 1 - log any changes
log_cash: 1
// Track Cash Changes (Note 1)
log_cash: yes
// Log MVP Monster Drops (Note 1)
// Outdated. Use Pick_Log instead. But this log could be useful to keep track slayed MVPs

View File

@@ -89,7 +89,7 @@ min_group_id_to_connect: -1
vip_group: 5
// How many characters are allowed per account?
// You cannot exceed the limit of MAX_CHARS slots, defined in mmo.h, or chars_per_account
// You cannot exceed the limit of MAX_CHARS slots, defined in mmo.hpp, or chars_per_account
// will default to MAX_CHARS.
// 0 will default to the value of MIN_CHARS. (default)
chars_per_account: 0
@@ -98,7 +98,7 @@ chars_per_account: 0
// Increase the value of MAX_CHARS if you want to increase vip_char_increase.
// Note: The amount of VIP characters = MAX_CHARS - chars_per_account.
// Note 2: This setting must be set after chars_per_account.
// -1 will default to MAX_CHAR_VIP (src/config/core.h)
// -1 will default to MAX_CHAR_VIP (src/config/core.hpp)
vip_char_increase: -1
// Create accounts with limited time?
@@ -110,6 +110,16 @@ start_limited_time: -1
// NOTE: Will not work with clients that use <passwordencrypt>
use_MD5_passwords: no
// User count colorization on login window (requires PACKETVER >= 20170726)
// Disable colorization and description in general?
usercount_disable: no
// Amount of users that will display in green
usercount_low: 200
// Amount of users that will display in yellow
usercount_medium: 500
// Amount of users that will display in red
usercount_high: 1000
// Ipban features
ipban_enable: yes
// Dynamic password failure ipban system

View File

@@ -105,18 +105,18 @@ minsave_time: 100
// 32: After successfully submitting an item for auction
// 64: After successfully get/delete/complete a quest
// 128: After every bank transaction (deposit/withdraw)
// 256: After every attendance reward
// 4095: Always
// NOTE: These settings decrease the chance of dupes/lost items when there's a
// server crash at the expense of increasing the map/char server lag. If your
// server rarely crashes, but experiences interserver lag, you may want to set
// these off.
save_settings: 255
save_settings: 4095
// Message of the day file, when a character logs on, this message is displayed.
motd_txt: conf/motd.txt
// When @help or @h is typed when you are a gm, this is displayed for helping new gms understand gm commands.
help_txt: conf/help.txt
help2_txt: conf/help2.txt
charhelp_txt: conf/charhelp.txt
// Load channel config from

View File

@@ -1174,6 +1174,7 @@ map: 1@glast
// Biochemical Laboratory Nightmare
map: lhz_dun_n
map: lhz_d_n2
// Copy of Old Glast Heim memorial map
map: 1@gl_kh
@@ -1271,91 +1272,79 @@ map: gef_d01_i
// Illusion Ice (Frozen)
map: ice_d03_i
// ??
// Suspicious shipwreck
map: 1@tre
// ??
// Poring Town
map: 1@begi
// Illusion Turtle island (Archery)
map: tur_d03_i
map: tur_d04_i
// ??
// Volcanic island Korodo
map: 1@crd
// ??
map: ordeal_a00
map: ordeal_a02
map: pprontera
// ??
map: niflxmas
map: sch_lab
map: nakhyang
// Noodles Festival July
map: lasa_sea
map: 1@drdo
// X anniversary
map: x_lhz
map: x_prt
map: x_ra
// November hunting contest
map: prt_evt_in
// Welcome Corridor
map: vis_h01
map: vis_h02
map: vis_h03
map: vis_h04
// Illusion Teddy Bear Nasarian Empire
map: ein_d02_i
// Illusion Ruande
map: com_d02_i
// Soul Reaper Job Change
map: 1@soul
// Star Emperor Job Change
map: star_frst
map: star_in
// RWC Maps
map: 2009rwc_01
map: 2009rwc_02
map: 2009rwc_03
map: 2009rwc_04
map: 2009rwc_05
map: 2009rwc_06
map: 2009rwc_07
map: 2009rwc_08
map: 2009rwc_f01
map: 2012rwc_01
map: 2012rwc_02
map: 2012rwc_03
map: 2012rwc_04
map: 2012rwc_05
map: 2012rwc_06
map: 2012rwc_07
map: 2012rwc_08
//------------------------- Clone Maps ---------------------------
//------------------------- Extra Maps ---------------------------
// Ragnarok World Championship 2004
// Requires: RWC 2004 Client
// or Akaru's SuperGRF 1.64 or newer
//map: rwc01
//map: rwc02
//map: rwc03
// Ragnarok World Championship 2009
// Requires: RWC 2009 Map files
//map: 2009rwc_f01
//map: 2009rwc_01
//map: 2009rwc_02
//map: 2009rwc_03
//map: 2009rwc_04
// Ragnarok World Championship 2008?
// Requires: RWC 2008 Map files?
//map: 2008rwc_04
//Christmas & Sakura Special
//Requires Akaru's SuperGRF 1.1 or newer
//map: prontera_x
//map: alberta_x
//map: aldebaran_x
//map: geffen_x
//map: izlude_x
//map: prt_church_x
//map: prontera_s
//map: pay_arche_s
//Fenced Lutie
//Requires Akaru's SuperGRF 1.23 or newer
//map: xmas_old
//Alpha Maps
//Requires adata.grf containing alpha maps and data
//map: fay_vilg00
//map: fay_vilg01
//map: gef_vilg00
//map: gef_vilg01
//map: moc_dugn01
//map: moc_dugn02
//map: moc_fild01
//map: moc_fild02
//map: moc_fild03
//map: moc_fild04
//map: moc_intr00
//map: moc_intr01
//map: moc_intr02
//map: moc_intr04
//map: moc_vilg00
//map: moc_vilg01
//map: moc_vilg02
//map: probemap
//map: probemap02
//map: prt_cstl01
//map: prt_dugn00
//map: prt_dugn01
//map: prt_fild00
//map: prt_fild01
//map: prt_fild03
//map: prt_fild04
//map: prt_fild05
//map: prt_intr01
//map: prt_intr01_a
//map: prt_intr02
//map: prt_vilg00
//map: prt_vilg01
//map: prt_vilg02
//map: tank_test
//map: tank_test2
//map: test

View File

@@ -1,2 +1,2 @@
// Internal default is limited to 128 lines. If you need more, you will need to modify the MOTD_LINE_SIZE definition in pc.c
// Internal default is limited to 128 lines. If you need more, you will need to modify the MOTD_LINE_SIZE definition in pc.cpp
Welcome to rAthena! Enjoy! Please report any bugs you find.

View File

@@ -125,7 +125,12 @@
115: Baby Soul Linker
116: Baby Gunslinger
117: Baby Rebellion
118: Unknown Job
118: Star Emperor
119: Soul Reaper
120: Baby Star Emperor
121: Baby Soul Reaper
199: Unknown Job
//Auction
200: Auction Manager

View File

@@ -41,7 +41,7 @@
24: Job level raised.
25: Job level lowered.
26: Help commands:
27: Commands help is not available.
//27: free
28: No player found.
29: 1 player found.
30: %d players found.
@@ -353,6 +353,11 @@
// 334: Thirty-Four Castles
334: Total Domination
// Battlegrounds Queue
337: You may not join a battleground queue when you're in a battleground map.
338: You can't apply to a battleground queue due to recently deserting a battleground. Time remaining: %d minutes and %d seconds.
339: You can't apply to a battleground queue for %d seconds due to recently leaving one.
// Templates for @who output
343: Name: %s
344: (%s)
@@ -458,8 +463,7 @@
// Homunculus messages
450: You already have a homunculus
// Return pet to egg message
451: You can't return your pet because your inventory is full.
//451 free
// Message System
460: Please enter a valid language (usage: @langtype <language>).
@@ -831,7 +835,36 @@
// Achievements
772: Achievements are disabled.
//773-899 free
//773-775 reserved for refine UI
//776-781 reserved for tax system
782: Star Emperor
783: Soul Reaper
784: Baby Star Emperor
785: Baby Soul Reaper
// Guild Storage Expansion Skill
786: The guild does not have a guild storage.
787: You do not have permission to use the guild storage.
// Attendance
// Mail sender: Officer
788: <MSG>3455</MSG>
// Mail title: %dday attendance has been paid.
789: <MSG>3456,%d</MSG>
// Mail body: %dday attendance has been paid.
790: <MSG>3456,%d</MSG>
791: You are not allowed to use the attendance system.
// Private Airship
792: The private airship system is disabled.
793: Usage @camerainfo range rotation latitude
// pcblock command
794: This action is currently blocked.
//795-899 free
//------------------------------------
// More atcommands message
@@ -1018,7 +1051,7 @@
// @reloadatcommand
1036: Error reading groups.conf, reload failed.
1037: Error reading atcommand_athena.conf, reload failed.
//1037 free
// @mapinfo
1038: Please enter at least one valid list number (usage: @mapinfo <0-3> <map>).
@@ -1036,7 +1069,10 @@
1050: Other Flags:
1051: Other Flags2:
1052: Skill Damage Adjustments:
//1053-1064 free
1053: > [Map] %d%%, %d%%, %d%%, %d%% | Caster:%d
1054: > [Map Skill] Name : Player, Monster, Boss Monster, Other | Caster
1055: Skill Duration Adjustments:
//1056-1064 free
1065: No Exp Penalty: %s | No Zeny Penalty: %s
1066: On
1067: Off
@@ -1494,7 +1530,7 @@
1370: Usage: ex. "@set PoringCharVarSTR$" outputs its value, Super Duper String.
1371: NPC variables may not be used with @set.
1372: Instance variables may not be used with @set.
1373: %s value is now: %d
1373: %s value is now: %lld
1374: %s value is now: %s
1375: %s is blank.
@@ -1527,7 +1563,7 @@
1391: You do not possess a cart to be removed
1392: Cart Added.
// atcommand.c::is_atcommand
// atcommand.cpp::is_atcommand
1393: You can't use commands while dead.
// @clearstorage

View File

@@ -45,7 +45,7 @@
24: 職業等級 上升
25: 職業等級 下降
26: 求助指令:
27: 找不到檔案: help.txt
//27: free
28: 沒有玩家
29: 有 1 位玩家
30: 有 %d 位玩家
@@ -441,8 +441,7 @@
// Homunculus messages
450: 你已經擁有一個人工生命體了
// Return pet to egg message
451: 你無法收回寵物,因為你身上沒有空間了
//451 free
// Message System
460: 請輸入合法的語言 (usage: @langtype <language>).
@@ -868,7 +867,7 @@
// @reloadatcommand
1036: Error reading groups.conf, reload failed.
1037: Error reading atcommand_athena.conf, reload failed.
//1037 free
// @mapinfo
1038: 請至少輸入一個有效的列表數字 (使用方法: @mapinfo <0-3> [地圖名稱])
@@ -1342,8 +1341,8 @@
1370: 用法: ex. "@set PoringCharVarSTR$" outputs its value, Super Duper String.
1371: NPC variables may not be used with @set.
1372: Instance variables may not be used with @set.
1373: %s value is now :%d
1374: %s value is now :%s
1373: %s value is now: %lld
1374: %s value is now: %s
1375: %s is empty
//1376: free
@@ -1373,7 +1372,7 @@
1391: You do not possess a cart to be removed
1392: Cart Added.
// atcommand.c::is_atcommand
// atcommand.cpp::is_atcommand
1393: 角色死亡時不能使用指令。
// @clearstorage

View File

@@ -45,7 +45,7 @@
24: Job level augmenté.
25: Job level baissé.
26: Commandes d'aide:
27: Commandes d'aide non-disponible.
//27: free
28: Aucun Joueur trouvé.
29: 1 Joueur trouvé.
30: %d Joueurs trouvés.
@@ -449,8 +449,7 @@
// Homunculus messages
450: Vous possédez déjà un homunculus
// Return pet to egg message
451: Vous ne pouvez pas remettre votre pet dans son oeuf car votre inventaire est plein.
//451 free
// Message System
460: Entrez une langue (usage: @langtype <langue>).
@@ -880,7 +879,7 @@
// @reloadatcommand
1036: Erreur à la lecture de groups.conf, reload échoué.
1037: Erreur à la lecture de atcommand_athena.conf, reload échoué.
//1037 free
// @mapinfo
1038: Entrez un numéro de la liste (usage: @mapinfo <0-3> <map>).
@@ -1355,8 +1354,8 @@
1370: Usage: ex. "@set PoringCharVarSTR$" affiche sa valeur actuelle, Super Duper String.
1371: Les variables des NPC ne peuvent pas être utilisées/changées avec @set.
1372: Les variables d'Instance ne peuvent pas être utilisées avec @set.
1373: %s valeur est maintenant :%d
1374: %s valeur est maintenant :%s
1373: %s valeur est maintenant: %lld
1374: %s valeur est maintenant: %s
1375: %s est vide
//1376: free
@@ -1386,7 +1385,7 @@
1391: Vous ne possédez pas de chariot.
1392: Chariot ajouté.
// atcommand.c::is_atcommand
// atcommand.cpp::is_atcommand
1393: Les morts ne pouvent pas utiliser de commande.
// @clearstorage

View File

@@ -44,7 +44,7 @@
24: Job Level erhöht.
25: Job Level verringert.
26: Hilfsbefehle:
27: Der help-Befehl ist nicht verfügbar.
//27: free
28: Kein Spieler gefunden.
29: 1 Spieler gefunden.
30: %d Spieler gefunden.

View File

@@ -41,7 +41,7 @@
24: Job Level dinaikkan.
25: Job Level diturunkan.
26: Bantuan command:
27: Bantuan command tidak tersedia.
//27: free
28: Pemain tidak ditemukan.
29: 1 pemain ditemukan.
30: %d pemain ditemukan.
@@ -459,8 +459,7 @@
// Pesan-pesan untuk Homunculus
450: Kamu sudah memiliki homunculus
// Pesan tentang mengembalikan peliharaan ke telur
451: Kamu tidak dapat mengembalikan peliharaan kamu karena inventory penuh.
//451 free
// Sistem Pesan
460: Harap masukkan tipe bahasa yang valid. (Penggunaan: @langtype <bahasa>).
@@ -970,7 +969,7 @@
// @reloadatcommand
1036: Terjadi kesalahan saat membaca groups.conf, tidak berhasil dimuat ulang.
1037: Terjadi kesalahan saat membaca atcommand_athena.conf, tidak berhasil dimuat ulang.
//1037 free
// @mapinfo
1038: Harap masukkan setidaknya 1 pilihan. (Penggunaan: @mapinfo <0-3> <map>).
@@ -1446,7 +1445,7 @@
1370: Contoh penggunaan: \"@set PoringCharVarSTR$\" menampilkan nilainya, Super Duper String.
1371: Variabel pada NPC tidak boleh digunakan dengan @set.
1372: Variabel instansi tidak boleh digunakan dengan @set.
1373: Nilai %s saat ini: %d
1373: Nilai %s saat ini: %lld
1374: Nilai %s saat ini: %s
1375: %s kosong
//1376: free
@@ -1477,7 +1476,7 @@
1391: Kamu tidak memiliki keranjang yang akan dihapus.
1392: Gerobak ditambahkan.
// atcommand.c::is_atcommand
// atcommand.cpp::is_atcommand
1393: Kamu tidak bisa menggunakan perintah ini ketika mati.
// @clearstorage

File diff suppressed because it is too large Load Diff

View File

@@ -43,7 +43,7 @@
24: Уровень профессии повышен.
25: Уровень профессии снижен.
26: Подсказки для команд:
27: Подсказки для команд не доступны.
//27: free
28: Игроки не найдены.
29: Найден 1 игрок.
30: Найдено %d игрока(ов).
@@ -449,8 +449,7 @@
// Сообщения команды @makehomun
450: У вас уже есть гомункулус
// Возвращение питомца в яйцо
451: Вы не можете вернуть питомца в яйцо, потому что ваш инвентарь забит.
//451 free
// @langtype
460: Введите существующий язык (Используйте: @langtype <язык>).
@@ -881,7 +880,7 @@
// @reloadatcommand
1036: Ошибка чтения файла groups.conf, перезагрузка не удалась.
1037: Ошибка чтения файла atcommand_athena.conf, перезагрузка не удалась.
//1037 free
// @mapinfo
1038: Введите хотя бы один номер (Использование: @mapinfo <0-3> <локация>).
@@ -1355,8 +1354,8 @@
1370: Использование: прим. "@set PoringCharVarSTR$" будет иметь значение "Super Duper String".
1371: Переменные НИП не могут быть использованы командой @set.
1372: Переменные групп не могут быть использованы командой @set.
1373: %s значение :%d
1374: %s значение :%s
1373: %s значение: %lld
1374: %s значение: %s
1375: %s пусто
//1376: free
@@ -1386,7 +1385,7 @@
1391: У вас нет телеги.
1392: Телега добавлена.
// atcommand.c::is_atcommand
// atcommand.cpp::is_atcommand
1393: Вы не можете использовать команды когда мертвы.
// @clearstorage

View File

@@ -41,7 +41,7 @@
24: Has aumentado tu nivel de oficio.
25: Has disminuido tu nivel de oficio.
26: Ayuda sobre comandos:
27: No hay ninguna ayuda disponible.
//27: free
28: No se ha encontrado ningún jugador.
29: Se ha encontrado 1 jugador.
30: Se han encontrado %d jugadores.
@@ -458,8 +458,7 @@
// Mensajes de homúnculos
450: Ya tienes un homúnculo.
// Mensaje al devolver la mascota al huevo
451: No puedes devolver tu mascota al huevo porque tu inventario está lleno.
//451 free
// Sistema de mensajería
460: Introduce un idioma válido (instrucciones: @langtype <idioma>)
@@ -1018,7 +1017,7 @@
// @reloadatcommand
1036: Ha ocurrido un error al cargar el archivo groups.conf.
1037: Ha ocurrido un error al cargar el archivo atcommand_athena.conf.
//1037 free
// @mapinfo
1038: Introduce un número de la lista (instrucciones: @mapinfo <0-3> <mapa>).
@@ -1199,7 +1198,7 @@
1193: No estás recogiendo ese objeto.
1194: Has eliminado '%s'/'%s' {%hu} de tu lista de recogida de objetos.
1195: Puedes almacenar %d objetos en tu lista de recogida de objetos.
1196: Para añadir un nuevo objeto a la lista utiliza @alootid <nombre/ID del objeto>. Para eliminar un objeto utiliza @alootid <nombre/ID del objeto>.
1196: Para añadir un nuevo objeto a la lista utiliza @alootid +<nombre/ID del objeto>. Para eliminar un objeto utiliza @alootid -<nombre/ID del objeto>.
1197: "@alootid reset" reiniciará tu lista de recogida de objetos.
1198: Tu lista de recogida de objetos está vacía.
1199: Lista de objetos para recoger automáticamente:
@@ -1494,7 +1493,7 @@
1370: Instrucciones: ej. "@set PoringCharVarSTR$" muestra su valor, cadena de texto.
1371: Las variables de NPC no se pueden editar con @set.
1372: Las variables de instancias no se pueden editar con @set.
1373: El valor %s ahora es: %d
1373: El valor %s ahora es: %lld
1374: El valor %s ahora es: %s
1375: %s está vacío
@@ -1527,7 +1526,7 @@
1391: No tienes ningún carro.
1392: Ahora tienes un carro.
// atccomand.c::is_atcommand
// atccomand.cpp::is_atcommand
1393: No puedes utilizar ningún comando porque estás muerto.
// @clearstorage

View File

@@ -45,7 +45,7 @@
24: Job level א¾<D790>ט<EFBFBD>¢<EFBFBD>י¹.
25: Job level <20>´<EFBFBD>§.
26: Help commands:
27: ¤<EFBFBD><EFBFBD><EFBFBD>ט§ help ה<>ט<EFBFBD><D798><EFBFBD><EFBFBD><EFBFBD>¶ד×יה´י.
//27: free
28: ה<>ט¾÷¼<C3B7>יא<D799>ט¹.
29: ¾÷¼<C3B7>יא<D799>ט¹ 1 ¤¹.
30: ¾÷¼<C3B7>יא<D799>ט¹ %d ¤¹.
@@ -447,8 +447,7 @@
// Homunculus messages
450: ¤<>³<EFBFBD><C2B3> Homunculus <20><><EFBFBD>טב<D798>י<EFBFBD>.
// Return pet to egg message
451: ¤<>³ה<C2B3>ט<EFBFBD><D798><EFBFBD><EFBFBD><EFBFBD>¶א<C2B6>ח÷<D797><C3B7>µ<EFBFBD>לא<D79C><D790>י<EFBFBD>§ה´יא¾<D790><C2BE><EFBFBD>×ט<C397>§א<C2A7>ח÷¢<C3B7>§ד¹µ<C2B9><C2B5><EFBFBD><EFBFBD>¤<EFBFBD>אµח<C2B5>.
//451 free
// Message System
460: ג»<D792>´א<C2B4><D790><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>·<EFBFBD>טµי<C2B5>§<EFBFBD><C2A7><EFBFBD> (<28><>¸<EFBFBD>ד×י: @langtype <<3C><><EFBFBD><EFBFBD>>).
@@ -874,7 +873,7 @@
// @reloadatcommand
1036: א<><D790>´¢י<C2A2>¼<EFBFBD>´¾<C2B4><C2BE>´ד¹<D793><C2B9><EFBFBD>¼ט<C2BC>¹ה<C2B9><D794>ל groups.conf, <20><><EFBFBD>ג<EFBFBD><D792>´ד<C2B4><D793>ט<EFBFBD>י<EFBFBD>א<EFBFBD><D790><EFBFBD>.
1037: א<><D790>´¢י<C2A2>¼<EFBFBD>´¾<C2B4><C2BE>´ד¹<D793><C2B9><EFBFBD>¼ט<C2BC>¹ה<C2B9><D794>ל atcommand_athena.conf, <20><><EFBFBD>ג<EFBFBD><D792>´ד<C2B4><D793>ט<EFBFBD>י<EFBFBD>א<EFBFBD><D790><EFBFBD>.
//1037 free
// @mapinfo
1038: ג»<D792>´<EFBFBD><C2B4>÷<EFBFBD>א<EFBFBD>¢<EFBFBD><C2A2>ט<EFBFBD>§<EFBFBD>¹ט<C2B9><D798><EFBFBD>¹<EFBFBD>ט§¤ט<C2A4>¨<EFBFBD><C2A8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (<28><>¸<EFBFBD>ד×י: @mapinfo <0-3> <map>).
@@ -1348,7 +1347,7 @@
1370: <20><>¸<EFBFBD>ד×י: ex. "@set PoringCharVarSTR$" ¨<>ב<EFBFBD>´§¼<C2A7><C2BC><EFBFBD>¾¸לא»ח¹¤ט<C2A4>, Super Duper String.
1371: µ<><C2B5>ב»<D791> NPC ה<>ט<EFBFBD><D798><EFBFBD><EFBFBD><EFBFBD>¶µ<C2B6>י§¤ט<C2A4>ה´י´י<C2B4><D799> @set ה´י.
1372: µ<><C2B5>ב»<D791> Instance ה<>ט<EFBFBD><D798><EFBFBD><EFBFBD><EFBFBD>¶µ<C2B6>י§¤ט<C2A4>ה´י´י<C2B4><D799> @set ה´י.
1373: %s <20><>¤ט<C2A4>: %d
1373: %s <20><>¤ט<C2A4>: %lld
1374: %s <20><>¤ט<C2A4>: %s
1375: %s ה<>ט<EFBFBD><D798>¤ט<C2A4>ד´ז.
//1376: free
@@ -1379,7 +1378,7 @@
1391: ¤<>³ה<C2B3>ט<EFBFBD><D798><EFBFBD>¶א¢ח¹·<C2B9>ט¨<D798><C2A8>÷<EFBFBD><C3B7><EFBFBD>.
1392: µ<>´µ<C2B4>י§<D799>¶א¢ח¹א<C2B9><D790><EFBFBD>÷<EFBFBD>י<EFBFBD><D799>.
// atcommand.c::is_atcommand
// atcommand.cpp::is_atcommand
1393: ¤<>³ה<C2B3>ט<EFBFBD><D798><EFBFBD><EFBFBD><EFBFBD>¶ד×י¤<D799><C2A4><EFBFBD>ט§ה´יד¹¢³<C2A2>µ<EFBFBD><C2B5><EFBFBD><EFBFBD><EFBFBD>ט.
// @clearstorage

View File

@@ -5,6 +5,19 @@
// Display debug reports (When something goes wrong during the report, the report is saved.)
debug: no
// Linux/Epoll: Maximum Events per cycle
// Default Value:
// (Maximum Supported Connections)/2
// NOTE: this controls the maximum collected socket-events per-cycle (call to epoll_wait())
// for example settings this to 32 will allow up to 32 events (incoming data/new connections
// per server-cycle.
// NOTE: Recommended Settings is at least half the maximum supported connections
// Settings this to a lower value, may cause lags/delays
// Depending on available CPU Time
// NOTE: This Setting is only available on Linux when build using EPoll as event dispatcher!
//
//epoll_maxevents: 1024
// How long can a socket stall before closing the connection (in seconds)
stall_time: 60
@@ -22,7 +35,7 @@ enable_ip_rules: yes
order: deny,allow
// order: allow,deny
// order: mutual-failture
// order: mutual-failure
// IP rules
// allow : Accepts connections from the ip range (even if flagged as DDoS)
@@ -45,7 +58,7 @@ order: deny,allow
ddos_interval: 3000
// Consecutive attempts trigger
// (default is 5 attemps)
// (default is 5 attempts)
ddos_count: 5
// The time interval after which the threat of DDoS is assumed to be gone. (msec)

96
configure vendored
View File

@@ -584,7 +584,7 @@ PACKAGE_BUGREPORT=
PACKAGE_URL=
ac_unique_file="rAthena"
ac_unique_file="src/common/cbasetypes.h"
ac_unique_file="src/common/cbasetypes.hpp"
# Factoring default headers for most tests.
ac_includes_default="\
#include <stdio.h>
@@ -698,6 +698,7 @@ ac_user_opts='
enable_option_checking
enable_manager
enable_packetver
enable_epoll
enable_debug
enable_prere
enable_vip
@@ -1338,7 +1339,8 @@ Optional Features:
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
--enable-manager=ARG memory managers: no, builtin, memwatch, dmalloc,
gcollect, bcheck (defaults to builtin)
--enable-packetver=ARG Sets the PACKETVER define. (see src/common/mmo.h)
--enable-packetver=ARG Sets the PACKETVER define. (see src/common/mmo.hpp)
--enable-epoll use epoll(4) on Linux
--enable-debug[=ARG] Compiles extra debug code. (disabled by default)
(available options: yes, no, gdb)
--enable-prere[=ARG] Compiles serv in prere mode. (disabled by default)
@@ -1365,7 +1367,9 @@ Optional Packages:
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
--with-maxconn[=ARG] optionally set the maximum connections the core can
handle (default: 16384) NOT USED YET - EXPERIMENTAL
handle. By default the system header value will be used.
This will only be the compile time limit, make sure
you set the correct limit with ulimit on your OS.
--with-outputlogin[=ARG]
Specify the login-serv output name (defaults to
login-server)
@@ -2736,7 +2740,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
ac_config_files="$ac_config_files Makefile src/common/Makefile"
ac_config_files="$ac_config_files 3rdparty/mt19937ar/Makefile 3rdparty/libconfig/Makefile 3rdparty/yaml-cpp/Makefile"
ac_config_files="$ac_config_files 3rdparty/libconfig/Makefile 3rdparty/yaml-cpp/Makefile"
ac_config_files="$ac_config_files src/char/Makefile src/login/Makefile"
@@ -3236,6 +3240,55 @@ fi
#
# Epoll
#
# Check whether --enable-epoll was given.
if test "${enable_epoll+set}" = set; then :
enableval=$enable_epoll; enable_epoll=$enableval
else
enable_epoll=no
fi
if test x$enable_epoll = xno; then
have_linux_epoll=no
else
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Linux epoll(4)" >&5
$as_echo_n "checking for Linux epoll(4)... " >&6; }
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#ifndef __linux__
#error This is not Linux
#endif
#include <sys/epoll.h>
int
main ()
{
epoll_create1 (EPOLL_CLOEXEC);
;
return 0;
}
_ACEOF
if ac_fn_cxx_try_link "$LINENO"; then :
have_linux_epoll=yes
else
have_linux_epoll=no
fi
rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_linux_epoll" >&5
$as_echo "$have_linux_epoll" >&6; }
fi
if test x$enable_epoll,$have_linux_epoll = xyes,no; then
as_fn_error $? "epoll support explicitly enabled but not available" "$LINENO" 5
fi
#
# debug
#
@@ -3418,22 +3471,11 @@ fi
# Check whether --with-maxconn was given.
if test "${with_maxconn+set}" = set; then :
withval=$with_maxconn;
if test "$withval" == "no"; then
CPPFLAGS="$CPPFLAGS -DMAXCONN=16384"
else
if ! test "$withval" -ge 0 -o "$withval" -lt 0 2>&- ; then
as_fn_error $? "Invalid argument --with-maxconn=$withval ... stopping" "$LINENO" 5
else
CPPFLAGS="$CPPFLAGS -DMAXCONN=$withval"
fi
fi
else
CPPFLAGS="$CPPFLAGS -DMAXCONN=16384"
if ! test "$withval" -ge 0 -o "$withval" -lt 0 2>&- ; then
as_fn_error $? "Invalid argument --with-maxconn=$withval ... stopping" "$LINENO" 5
else
CPPFLAGS="$CPPFLAGS -DMAXCONN=$withval"
fi
fi
@@ -5920,6 +5962,19 @@ if test -n "$enable_packetver" ; then
fi
#
# Epoll
#
case $have_linux_epoll in
"yes")
CPPFLAGS="$CPPFLAGS -DSOCKET_EPOLL"
;;
"no")
# default value
;;
esac
#
# Debug
#
@@ -7749,7 +7804,6 @@ do
case $ac_config_target in
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
"src/common/Makefile") CONFIG_FILES="$CONFIG_FILES src/common/Makefile" ;;
"3rdparty/mt19937ar/Makefile") CONFIG_FILES="$CONFIG_FILES 3rdparty/mt19937ar/Makefile" ;;
"3rdparty/libconfig/Makefile") CONFIG_FILES="$CONFIG_FILES 3rdparty/libconfig/Makefile" ;;
"3rdparty/yaml-cpp/Makefile") CONFIG_FILES="$CONFIG_FILES 3rdparty/yaml-cpp/Makefile" ;;
"src/char/Makefile") CONFIG_FILES="$CONFIG_FILES src/char/Makefile" ;;

View File

@@ -6,9 +6,9 @@ AC_REVISION($Revision$)
AC_PREREQ([2.59])
AC_LANG([C++])
AC_LANG_COMPILER_REQUIRE
AC_CONFIG_SRCDIR([src/common/cbasetypes.h])
AC_CONFIG_SRCDIR([src/common/cbasetypes.hpp])
AC_CONFIG_FILES([Makefile src/common/Makefile])
AC_CONFIG_FILES([3rdparty/mt19937ar/Makefile 3rdparty/libconfig/Makefile 3rdparty/yaml-cpp/Makefile])
AC_CONFIG_FILES([3rdparty/libconfig/Makefile 3rdparty/yaml-cpp/Makefile])
AC_CONFIG_FILES([src/char/Makefile src/login/Makefile])
AC_CONFIG_FILES([src/map/Makefile src/tool/Makefile])
@@ -53,6 +53,40 @@ AC_ARG_ENABLE(
)
#
# Epoll
#
AC_ARG_ENABLE(
[epoll],
AC_HELP_STRING(
[--enable-epoll],
[use epoll(4) on Linux]
),
[enable_epoll=$enableval],
[enable_epoll=no]
)
if test x$enable_epoll = xno; then
have_linux_epoll=no
else
AC_MSG_CHECKING([for Linux epoll(4)])
AC_LINK_IFELSE([AC_LANG_PROGRAM(
[
#ifndef __linux__
#error This is not Linux
#endif
#include <sys/epoll.h>
],
[epoll_create1 (EPOLL_CLOEXEC);])],
[have_linux_epoll=yes],
[have_linux_epoll=no]
)
AC_MSG_RESULT([$have_linux_epoll])
fi
if test x$enable_epoll,$have_linux_epoll = xyes,no; then
AC_MSG_ERROR([epoll support explicitly enabled but not available])
fi
#
# debug
#
@@ -261,29 +295,24 @@ AC_ARG_ENABLE(
#
# Optionally set the max number of network conenctions
# the core will be support
# Optionally set the maximum number of network connections
# the core will be able to handle
#
AC_ARG_WITH(
[maxconn],
AC_HELP_STRING(
[--with-maxconn@<:@=ARG@:>@],
[optionally set the maximum connections the core can handle (default: 16384) NOT USED YET - EXPERIMENTAL]
[optionally set the maximum connections the core can handle. By default the system header value is used.]
),
[
if test "$withval" == "no"; then
CPPFLAGS="$CPPFLAGS -DMAXCONN=16384"
if ! test "$withval" -ge 0 -o "$withval" -lt 0 2>&- ; then
AC_MSG_ERROR([Invalid argument --with-maxconn=$withval ... stopping])
else
if ! test "$withval" -ge 0 -o "$withval" -lt 0 2>&- ; then
AC_MSG_ERROR([Invalid argument --with-maxconn=$withval ... stopping])
else
CPPFLAGS="$CPPFLAGS -DMAXCONN=$withval"
fi
CPPFLAGS="$CPPFLAGS -DMAXCONN=$withval"
fi
],
[
CPPFLAGS="$CPPFLAGS -DMAXCONN=16384"
CPPFLAGS="$CPPFLAGS"
]
)
@@ -985,6 +1014,19 @@ if test -n "$enable_packetver" ; then
fi
#
# Epoll
#
case $have_linux_epoll in
"yes")
CPPFLAGS="$CPPFLAGS -DSOCKET_EPOLL"
;;
"no")
# default value
;;
esac
#
# Debug
#

View File

@@ -1,227 +0,0 @@
// Hocus-Pocus (Abracadabra) Castable Skills Database
//
// Structure of Database:
// SkillID,DummyName,ProbabilityPerLvl
//
// 01. SkillID Skill ID to be casted by hocus pocus.
// 02. DummyName Name of the skill (informative, not used by server).
// 03. ProbabilityPerLvl Not a rate! Chance at which the skill is selected compared
// with other entries probabilties
//
// NOTE:
// - The skill is picked at random from the entire database and then tested for rate. If it
// does not succeed at that rate, another skill is picked and tested. This continues
// until a skill succeeds. Abracadabra-specific skills have a different chance to occur
// depending on skill level used. All other skills have an equal chance and appear from
// level 1 onward.
// - To remove entry by importing, put "clear" (without quotes) in DummyName
5,Bash,500
6,Provoke,500
7,Magnum Break,500
8,Endure,500
10,Sight,500
11,Napalm Beat,500
12,Safety Wall,500
13,Soul Strike,500
14,Cold Bolt,500
15,Frost Diver,500
16,Stone Curse,500
17,Fire Ball,500
18,Fire Wall,500
19,Fire Bolt,500
20,Lightning Bolt,500
21,Thunder Storm,500
24,Ruwach,500
25,Pneuma,500
26,Teleport,500
27,Warp Portal,500
28,Heal,500
29,Increase AGI,500
30,Decrease AGI,500
31,Aqua Benedicta,500
32,Signum Crucis,500
33,Angelus,500
34,Blessing,500
35,Cure,500
40,Item Appraisal,500
41,Vending,500
42,Mammonite,500
45,Improve Concentration,500
46,Double Strafe,500
47,Arrow Shower,500
50,Steal,500
51,Hiding,500
52,Envenom,500
53,Detoxify,500
54,Resurrection,500
56,Pierce,500
57,Brandish Spear,500
58,Spear Stab,500
59,Spear Boomerang,500
60,TwoHand Quicken,500
61,Counter Attack,500
62,Bowling Bash,500
66,Impositio Manus,500
67,Suffragium,500
68,Aspersio,500
69,B.S Sacramenti,500
70,Sanctuary,500
71,Slow poison,500
72,Status Recovery,500
73,Kyrie Eleison,500
74,Magnificat,500
75,Gloria,500
76,Lex Divina,500
77,Turn Undead,500
78,Lex Aeterna,500
79,Magnus Exorcismus,500
80,Fire Pillar,500
81,Sightrasher,500
//82,Fire Ivy,500
83,Meteor Storm,500
84,Jupitel Thunder,500
85,Lord of Vermilion,500
86,Water Ball,500
87,Ice Wall,500
88,Frost Nova,500
89,Storm Gust,500
90,Earth spike,500
91,Heaven's Drive,500
92,Quagmire,500
93,Sense,500
//108,Weapon Repair,500
110,Hammer Fall,500
111,Adrenaline Rush,500
112,Weapon Perfection,500
113,Power-Thrust,500
114,Maximize Power,500
115,Skid Trap,500
116,Land Mine,500
117,Ankle Snare,500
118,Shockwave Trap,500
119,Sandman,500
120,Flasher,500
121,Freezing Trap,500
122,Blast Mine,500
123,Claymore Trap,500
124,Remove Trap,500
125,Talkie box,500
129,Blitz Beat,500
130,Detect,500
131,Spring Trap,500
135,Cloaking,500
136,Sonic Blow,500
137,Grimtooth,500
138,Enchant Poison,500
139,Poison React,500
140,Venom Dust,500
141,Venom Splasher,500
//---EP4.0 Skill---
211,Mug,500
212,Back Stab,500
214,Sightless Raid,500
215,Divest Weapon,500
216,Divest Shield,500
217,Divest Armor,500
218,Divest Helm,500
219,Snatch,500
220,Scribble,500
//221,Piece,500
222,Remover,500
249,Guard,500
250,Smite,500
251,Shield Boomerang,500
252,Shield Reflect,500
253,Holy Cross,500
254,Grand Cross,500
255,Sacrifice,500
256,Resistant Souls,500
257,Defending Aura,500
258,Spear Quicken,500
261,Summon Spirit Sphere,500
262,Absorb Spirit Sphere,500
264,Snap,500
266,Occult Impact,500
267,Throw Spirit Sphere,500
268,Mental Strength,500
269,Root,500
270,Fury,500
271,Asura Strike,500
//272,Raging Quadruple Blow,500
//273,Raging Thrust,500
275,Cast Cancel,500
276,Magic Rod,500
277,Spell Break,500
279,Hindsight,500
280,Endow Blaze,500
281,Endow Tsunami,500
282,Endow Tornado,500
283,Endow Quake,500
285,Volcano,500
286,Deluge,500
287,Whirlwind,500
288,Magnetic Earth,500
289,Dispel,500
// Abracadabra Derivation Skill
291,Monocell,250:500:750:1000:1250:1200:1750:2000:2250:2500
292,Class Change,0:0:0:0:10:10:20:20:30:30
293,Summon Monster,100:200:300:400:500:600:700:800:900:1000
294,Grampus Morph,0:0:0:0:0:0:0:10:50:100
295,Grim Reaper,50:100:150:200:250:300:350:400:450:500
//296,Gold Digger,50:100:150:200:250:300:350:400:450:500
//297,Beastly Hypnosis,50:100:150:200:250:300:350:400:450:500
298,Questioning,1000:800:600:400:200:0:0:0:0:0
299,Gravity,0:0:0:0:0:0:0:20:50:100
//300,Leveling,0:0:0:0:0:0:0:0:10:50
301,Suicide,0:0:0:0:0:0:0:10:50:100
302,Rejuvination,0:0:0:0:0:0:20:50:100:200
303,Coma,0:0:0:0:100:200:300:400:500:600
// Dancer / Bard commonness
//304,Amp,500
//305,Encore,500
//306,Lullaby,500
//307,Mental Sensing,500
//308,Down Tempo,500
//309,Battle Theme,500
//310,Harmonic Lick,500
//311,Classical Pluck,500
//312,Power Chord,500
//313,Acoustic Rhythm,500
//314,Ragnarok,500
// Bard skill
316,Melody Strike,500
//317,Unchained Serenade,500
318,Unbarring Octave,500
//319,Perfect Tablature,500
//320,Impressive Riff,500
//321,Magic Strings,500
//322,Song of Lutie,500
// Dancer skill
324,Slinging Arrow,500
//325,Hip Shaker,500
326,Dazzler,500
//327,Focus Ballet,500
//328,Slow Grace,500
//329,Lady Luck,500
//330,Gypsy's Kiss,500

326
db/abra_db.yml Normal file
View File

@@ -0,0 +1,326 @@
# This file is a part of rAthena.
# Copyright(C) 2019 rAthena Development Team
# https://rathena.org - https://github.com/rathena
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
###########################################################################
# Abracadabra Database
###########################################################################
#
# Abracadabra Settings
#
###########################################################################
# - Skill Skill to be casted by Abracadabra.
# Probability: Probability of skill compared to others in database (1 = 0.01%, 10000 = 100%). (Default: 500)
# - Level Skill level.
# Probability Probability at specific skill level (1 = 0.01%, 10000 = 100%). (Default: 0)
###########################################################################
Header:
Type: ABRA_DB
Version: 1
Body:
- Skill: SM_BASH
- Skill: SM_PROVOKE
- Skill: SM_MAGNUM
- Skill: SM_ENDURE
- Skill: MG_SIGHT
- Skill: MG_NAPALMBEAT
- Skill: MG_SAFETYWALL
- Skill: MG_SOULSTRIKE
- Skill: MG_COLDBOLT
- Skill: MG_FROSTDIVER
- Skill: MG_STONECURSE
- Skill: MG_FIREBALL
- Skill: MG_FIREWALL
- Skill: MG_FIREBOLT
- Skill: MG_LIGHTNINGBOLT
- Skill: MG_THUNDERSTORM
- Skill: AL_RUWACH
- Skill: AL_PNEUMA
- Skill: AL_TELEPORT
- Skill: AL_WARP
- Skill: AL_HEAL
- Skill: AL_INCAGI
- Skill: AL_DECAGI
- Skill: AL_HOLYWATER
- Skill: AL_CRUCIS
- Skill: AL_ANGELUS
- Skill: AL_BLESSING
- Skill: AL_CURE
- Skill: MC_IDENTIFY
- Skill: MC_VENDING
- Skill: MC_MAMMONITE
- Skill: AC_CONCENTRATION
- Skill: AC_DOUBLE
- Skill: AC_SHOWER
- Skill: TF_STEAL
- Skill: TF_HIDING
- Skill: TF_POISON
- Skill: TF_DETOXIFY
- Skill: ALL_RESURRECTION
- Skill: KN_PIERCE
- Skill: KN_BRANDISHSPEAR
- Skill: KN_SPEARSTAB
- Skill: KN_SPEARBOOMERANG
- Skill: KN_TWOHANDQUICKEN
- Skill: KN_AUTOCOUNTER
- Skill: KN_BOWLINGBASH
- Skill: PR_IMPOSITIO
- Skill: PR_SUFFRAGIUM
- Skill: PR_ASPERSIO
- Skill: PR_BENEDICTIO
- Skill: PR_SANCTUARY
- Skill: PR_SLOWPOISON
- Skill: PR_STRECOVERY
- Skill: PR_KYRIE
- Skill: PR_MAGNIFICAT
- Skill: PR_GLORIA
- Skill: PR_LEXDIVINA
- Skill: PR_TURNUNDEAD
- Skill: PR_LEXAETERNA
- Skill: PR_MAGNUS
- Skill: WZ_FIREPILLAR
- Skill: WZ_SIGHTRASHER
- Skill: WZ_METEOR
- Skill: WZ_JUPITEL
- Skill: WZ_VERMILION
- Skill: WZ_WATERBALL
- Skill: WZ_ICEWALL
- Skill: WZ_FROSTNOVA
- Skill: WZ_STORMGUST
- Skill: WZ_EARTHSPIKE
- Skill: WZ_HEAVENDRIVE
- Skill: WZ_QUAGMIRE
- Skill: WZ_ESTIMATION
- Skill: BS_HAMMERFALL
- Skill: BS_ADRENALINE
- Skill: BS_WEAPONPERFECT
- Skill: BS_OVERTHRUST
- Skill: BS_MAXIMIZE
- Skill: HT_SKIDTRAP
- Skill: HT_LANDMINE
- Skill: HT_ANKLESNARE
- Skill: HT_SHOCKWAVE
- Skill: HT_SANDMAN
- Skill: HT_FLASHER
- Skill: HT_FREEZINGTRAP
- Skill: HT_BLASTMINE
- Skill: HT_CLAYMORETRAP
- Skill: HT_REMOVETRAP
- Skill: HT_TALKIEBOX
- Skill: HT_BLITZBEAT
- Skill: HT_DETECTING
- Skill: HT_SPRINGTRAP
- Skill: AS_CLOAKING
- Skill: AS_SONICBLOW
- Skill: AS_GRIMTOOTH
- Skill: AS_ENCHANTPOISON
- Skill: AS_POISONREACT
- Skill: AS_VENOMDUST
- Skill: AS_SPLASHER
- Skill: RG_STEALCOIN
- Skill: RG_BACKSTAP
- Skill: RG_RAID
- Skill: RG_STRIPWEAPON
- Skill: RG_STRIPSHIELD
- Skill: RG_STRIPARMOR
- Skill: RG_STRIPHELM
- Skill: RG_INTIMIDATE
- Skill: RG_GRAFFITI
- Skill: RG_CLEANER
- Skill: CR_AUTOGUARD
- Skill: CR_SHIELDCHARGE
- Skill: CR_SHIELDBOOMERANG
- Skill: CR_REFLECTSHIELD
- Skill: CR_HOLYCROSS
- Skill: CR_GRANDCROSS
- Skill: CR_DEVOTION
- Skill: CR_PROVIDENCE
- Skill: CR_DEFENDER
- Skill: CR_SPEARQUICKEN
- Skill: MO_CALLSPIRITS
- Skill: MO_ABSORBSPIRITS
- Skill: MO_BODYRELOCATION
- Skill: MO_INVESTIGATE
- Skill: MO_FINGEROFFENSIVE
- Skill: MO_STEELBODY
- Skill: MO_BLADESTOP
- Skill: MO_EXPLOSIONSPIRITS
- Skill: MO_EXTREMITYFIST
- Skill: SA_CASTCANCEL
- Skill: SA_MAGICROD
- Skill: SA_SPELLBREAKER
- Skill: SA_AUTOSPELL
- Skill: SA_FLAMELAUNCHER
- Skill: SA_FROSTWEAPON
- Skill: SA_LIGHTNINGLOADER
- Skill: SA_SEISMICWEAPON
- Skill: SA_VOLCANO
- Skill: SA_DELUGE
- Skill: SA_VIOLENTGALE
- Skill: SA_LANDPROTECTOR
- Skill: SA_DISPELL
- Skill: SA_MONOCELL
Probability:
- Level: 1
Probability: 250
- Level: 2
Probability: 500
- Level: 3
Probability: 750
- Level: 4
Probability: 1000
- Level: 5
Probability: 1250
- Level: 6
Probability: 1200
- Level: 7
Probability: 1750
- Level: 8
Probability: 2000
- Level: 9
Probability: 2250
- Level: 10
Probability: 2500
- Skill: SA_CLASSCHANGE
Probability:
- Level: 5
Probability: 10
- Level: 6
Probability: 10
- Level: 7
Probability: 20
- Level: 8
Probability: 20
- Level: 9
Probability: 30
- Level: 10
Probability: 30
- Skill: SA_SUMMONMONSTER
Probability:
- Level: 1
Probability: 100
- Level: 2
Probability: 200
- Level: 3
Probability: 300
- Level: 4
Probability: 400
- Level: 5
Probability: 500
- Level: 6
Probability: 600
- Level: 7
Probability: 700
- Level: 8
Probability: 800
- Level: 9
Probability: 900
- Level: 10
Probability: 1000
- Skill: SA_REVERSEORCISH
Probability:
- Level: 8
Probability: 10
- Level: 9
Probability: 50
- Level: 10
Probability: 100
- Skill: SA_DEATH
Probability:
- Level: 1
Probability: 50
- Level: 2
Probability: 100
- Level: 3
Probability: 150
- Level: 4
Probability: 200
- Level: 5
Probability: 250
- Level: 6
Probability: 300
- Level: 7
Probability: 350
- Level: 8
Probability: 400
- Level: 9
Probability: 450
- Level: 10
Probability: 500
- Skill: SA_QUESTION
Probability:
- Level: 1
Probability: 1000
- Level: 2
Probability: 800
- Level: 3
Probability: 600
- Level: 4
Probability: 400
- Level: 5
Probability: 200
- Skill: SA_GRAVITY
Probability:
- Level: 8
Probability: 20
- Level: 9
Probability: 50
- Level: 10
Probability: 100
- Skill: SA_INSTANTDEATH
Probability:
- Level: 8
Probability: 10
- Level: 9
Probability: 50
- Level: 10
Probability: 100
- Skill: SA_FULLRECOVERY
Probability:
- Level: 7
Probability: 20
- Level: 8
Probability: 50
- Level: 9
Probability: 100
- Level: 10
Probability: 200
- Skill: SA_COMA
Probability:
- Level: 5
Probability: 100
- Level: 6
Probability: 200
- Level: 7
Probability: 300
- Level: 8
Probability: 400
- Level: 9
Probability: 500
- Level: 10
Probability: 600
- Skill: BA_MUSICALSTRIKE
- Skill: BA_FROSTJOKER
- Skill: DC_THROWARROW
- Skill: DC_SCREAM
Footer:
Imports:
- Path: db/pre-re/abra_db.yml
Mode: Prerenewal
- Path: db/import/abra_db.yml

90
db/achievement_db.yml Normal file
View File

@@ -0,0 +1,90 @@
# This file is a part of rAthena.
# Copyright(C) 2017 rAthena Development Team
# https://rathena.org - https://github.com/rathena
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
###########################################################################
# Renewal Achievement Database
###########################################################################
#
# Achievement Settings
#
###########################################################################
# ID - Unique achievement ID.
###########################################################################
# Group - Achievement group type. Each achievement type calls a specific
# objective check.
# Valid groups:
# AG_ADD_FRIEND
# AG_ADVENTURE
# AG_BABY
# AG_BATTLE
# AG_CHATTING
# AG_CHATTING_COUNT
# AG_CHATTING_CREATE
# AG_CHATTING_DYING
# AG_EAT
# AG_GET_ITEM
# AG_GET_ZENY
# AG_GOAL_ACHIEVE
# AG_GOAL_LEVEL
# AG_GOAL_STATUS
# AG_HEAR
# AG_JOB_CHANGE
# AG_MARRY
# AG_PARTY
# AG_ENCHANT_FAIL
# AG_ENCHANT_SUCCESS
# AG_SEE
# AG_SPEND_ZENY
# AG_TAMING
###########################################################################
# Name - Achievement name. Used when sending rewards through RODEX.
###########################################################################
# Target - A list of monster ID and count values that the achievement
# requires. The target count can also be used for achievements that keep
# a counter while not being related to monster kills.
# Capped at MAX_ACHIEVEMENT_OBJECTIVES.
###########################################################################
# Condition - A conditional statement that must be met for the achievement
# to be considered complete.
###########################################################################
# Map - A map name that is used for the AG_CHATTING type which increments
# the counter based on the player's map.
###########################################################################
# Dependent: - A list of achievement IDs that need to be completed before
# this achievement is considered complete.
###########################################################################
# Reward - A list of rewards that are given on completion. All fields are
# optional.
# ItemID: Item ID
# Amount: Amount of Item ID (default 1)
# Script: Bonus Script
# TitleID: Title ID
###########################################################################
# Score - Achievement points that are given on completion.
###########################################################################
Header:
Type: ACHIEVEMENT_DB
Version: 1
Footer:
Imports:
- Path: db/pre-re/achievement_db.yml
Mode: Prerenewal
- Path: db/re/achievement_db.yml
Mode: Renewal
- Path: db/import/achievement_db.yml

View File

@@ -0,0 +1,40 @@
# This file is a part of rAthena.
# Copyright(C) 2019 rAthena Development Team
# https://rathena.org - https://github.com/rathena
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
###########################################################################
# Achievement Level Database
###########################################################################
#
# Achievement Level Settings
#
###########################################################################
# Level - Achievement Level
###########################################################################
# Points - Required total scoring points to reach this level.
###########################################################################
Header:
Type: ACHIEVEMENT_LEVEL_DB
Version: 1
Footer:
Imports:
- Path: db/pre-re/achievement_level_db.yml
Mode: Prerenewal
- Path: db/re/achievement_level_db.yml
Mode: Renewal
- Path: db/import/achievement_level_db.yml

11
db/attendance.yml Normal file
View File

@@ -0,0 +1,11 @@
Header:
Type: ATTENDANCE_DB
Version: 1
Footer:
Imports:
- Path: db/pre-re/attendance.yml
Mode: Prerenewal
- Path: db/re/attendance.yml
Mode: Renewal
- Path: db/import/attendance.yml

174
db/battleground_db.yml Normal file
View File

@@ -0,0 +1,174 @@
# This file is a part of rAthena.
# Copyright(C) 2019 rAthena Development Team
# https://rathena.org - https://github.com/rathena
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
###########################################################################
# Battleground Queue Database
###########################################################################
#
# Battleground Queue Settings
#
###########################################################################
# - Id Unique ID for the battleground type.
# Name Name of the battleground. Must be the exact same as in the client for players to be able to join.
# MinPlayers Minimum number of players required on each team. (Default: 1)
# MaxPlayers Maximum number of players on each team. (Default: MAX_BG_MEMBERS / 2)
# MinLevel Minimum level required to join the battleground. (Default: 1)
# MaxLevel Maximum level to join the battleground. (Default: MAX_LEVEL value)
# Deserter Amount of time in seconds a player is marked deserter. (Default: 600)
# StartDelay Amount of time in seconds once a queue is filled before a start message is sent to players. (Default: 30)
# Locations: Battleground location settings.
# - Map The map on which the battleground will be played.
# StartEvent NPC event triggered when the battleground starts.
# TeamA: TeamA settings.
# RespawnX X coordinate for warping on death.
# RespawnY Y coordinate for warping on death.
# DeathEvent NPC event triggered when a player dies.
# QuitEvent NPC event triggered when a player quits.
# Variable Name of BG ID variable used in the battleground script.
# TeamB: TeamB settings.
# RespawnX X coordinate for warping on death.
# RespawnY Y coordinate for warping on death.
# DeathEvent NPC event triggered when a player dies.
# QuitEvent NPC event triggered when a player quits.
# Variable Name of BG ID variable used in the battleground script.
###########################################################################
Header:
Type: BATTLEGROUND_DB
Version: 1
Body:
- Id: 1
Name: "Tierra Gorge"
MinPlayers: 6
MinLevel: 80
Locations:
- Map: "bat_a01"
StartEvent: "start#bat_a01::OnReadyCheck"
TeamA:
RespawnX: 50
RespawnY: 374
QuitEvent: "start#bat_a01::OnGuillaumeQuit"
Variable: "$@TierraBG1_id1"
TeamB:
RespawnX: 42
RespawnY: 16
QuitEvent: "start#bat_a01::OnCroixQuit"
Variable: "$@TierraBG1_id2"
- Map: "bat_a02"
StartEvent: "start#bat_a02::OnReadyCheck"
TeamA:
RespawnX: 50
RespawnY: 374
QuitEvent: "start#bat_a02::OnGuillaumeQuit"
Variable: "$@TierraBG2_id1"
TeamB:
RespawnX: 42
RespawnY: 16
QuitEvent: "start#bat_a02::OnCroixQuit"
Variable: "$@TierraBG2_id2"
- Id: 2
Name: "Flavius"
MinPlayers: 6
MinLevel: 80
Locations:
- Map: "bat_b01"
StartEvent: "start#bat_b01::OnReadyCheck"
TeamA:
RespawnX: 10
RespawnY: 290
QuitEvent: "start#bat_b01::OnGuillaumeQuit"
Variable: "$@FlaviusBG1_id1"
TeamB:
RespawnX: 390
RespawnY: 10
QuitEvent: "start#bat_b01::OnCroixQuit"
Variable: "$@FlaviusBG1_id2"
- Map: "bat_b02"
StartEvent: "start#bat_b02::OnReadyCheck"
TeamA:
RespawnX: 10
RespawnY: 290
QuitEvent: "start#bat_b02::OnGuillaumeQuit"
Variable: "$@FlaviusBG2_id1"
TeamB:
RespawnX: 390
RespawnY: 10
QuitEvent: "start#bat_b02::OnCroixQuit"
Variable: "$@FlaviusBG2_id2"
- Id: 3
Name: "KVM (Level 80 and up)"
MinPlayers: 5
MinLevel: 80
Locations:
- Map: "bat_c01"
StartEvent: "KvM01_BG::OnStart"
TeamA:
RespawnX: 52
RespawnY: 129
DeathEvent: "KvM01_BG::OnGuillaumeDie"
QuitEvent: "KvM01_BG::OnGuillaumeQuit"
Variable: "$@KvM01BG_id1"
TeamB:
RespawnX: 147
RespawnY: 55
DeathEvent: "KvM01_BG::OnCroixDie"
QuitEvent: "KvM01_BG::OnCroixQuit"
Variable: "$@KvM01BG_id2"
- Id: 4
Name: "KVM (Level 60~79)"
MinPlayers: 5
MinLevel: 60
MaxLevel: 79
Locations:
- Map: "bat_c02"
StartEvent: "KvM02_BG::OnStart"
TeamA:
RespawnX: 52
RespawnY: 129
DeathEvent: "KvM02_BG::OnGuillaumeDie"
QuitEvent: "KvM02_BG::OnGuillaumeQuit"
Variable: "$@KvM02BG_id1"
TeamB:
RespawnX: 147
RespawnY: 55
DeathEvent: "KvM02_BG::OnCroixDie"
QuitEvent: "KvM02_BG::OnCroixQuit"
Variable: "$@KvM02BG_id2"
- Id: 5
Name: "KVM (Level 59 and below"
MinPlayers: 5
MaxLevel: 59
Locations:
- Map: "bat_c03"
StartEvent: "KvM03_BG::OnStart"
TeamA:
RespawnX: 52
RespawnY: 129
DeathEvent: "KvM03_BG::OnGuillaumeDie"
QuitEvent: "KvM03_BG::OnGuillaumeQuit"
Variable: "$@KvM03BG_id1"
TeamB:
RespawnX: 147
RespawnY: 55
DeathEvent: "KvM03_BG::OnCroixDie"
QuitEvent: "KvM03_BG::OnCroixQuit"
Variable: "$@KvM03BG_id2"
Footer:
Imports:
- Path: db/import/battleground_db.yml

View File

@@ -1,29 +0,0 @@
// Guild Skill Tree Database
//
// Structure of Database:
// SkillID,MaxLv,Prerequisite SkillID1,Prerequisite SkillLv1,PrereqSkillID2,PrereqSkillLv2,PrereqSkillID3,PrereqSkillLv3,PrereqSkillID4,PrereqSkillLv4,PrereqSkillID5,PrereqSkillLv5 //GUILD SKILLNAME#Skill Name#
//
// 01. SkillID Skill ID of the guild skill.
// 02. MaxLv Maximum level of the guild skill.
// 03. Prerequisite SkillID Guild skill required for the skill to become available.
// 04. Prerequisite SkillLv Level of the required guild skill.
// ...
//
// NOTE: MAX_GUILD_SKILL_REQUIRE (typically 5) ID/Lv pairs must be specified.
10000,1,0,0,0,0,0,0,0,0,0,0 //GD_APPROVAL#Official Guild Approval#
10001,1,10000,1,0,0,0,0,0,0,0,0 //GD_KAFRACONTRACT#Contract with Kafra#
10002,1,10000,1,0,0,0,0,0,0,0,0 //GD_GUARDRESEARCH#Guardian Research#
10003,3,0,0,0,0,0,0,0,0,0,0 //GD_GUARDUP#Strengthen Guardians#
10004,10,0,0,0,0,0,0,0,0,0,0 //GD_EXTENSION#Guild Extension#
10005,0,0,0,0,0,0,0,0,0,0,0 //GD_GLORYGUILD#Guilds Glory#
10006,5,0,0,0,0,0,0,0,0,0,0 //GD_LEADERSHIP#Great Leadership#
10007,5,0,0,0,0,0,0,0,0,0,0 //GD_GLORYWOUNDS#Glorious Wounds#
10008,5,10007,1,0,0,0,0,0,0,0,0 //GD_SOULCOLD#Cold Heart#
10009,5,10006,1,0,0,0,0,0,0,0,0 //GD_HAWKEYES#Sharp Gaze#
10010,1,10000,1,10004,2,0,0,0,0,0,0 //GD_BATTLEORDER#Battle Command#
10011,3,10000,1,10004,5,10010,1,0,0,0,0 //GD_REGENERATION#Regeneration#
10012,1,10011,1,0,0,0,0,0,0,0,0 //GD_RESTORE#Restoration#
10013,1,10000,1,10002,1,10004,5,10010,1,10011,1 //GD_EMERGENCYCALL#Urgent Call#
10014,1,0,0,0,0,0,0,0,0,0,0 //GD_DEVELOPMENT#Permanent Development#

44
db/guild_skill_tree.yml Normal file
View File

@@ -0,0 +1,44 @@
# This file is a part of rAthena.
# Copyright(C) 2019 rAthena Development Team
# https://rathena.org - https://github.com/rathena
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
###########################################################################
# Guild Skill Database
###########################################################################
#
# Guild Skill Settings
#
###########################################################################
# Id - Skill ID of the guild skill.
###########################################################################
# MaxLevel - Maximum level of the guild skill.
###########################################################################
# Required - A list of required skills for the skill to become available.
# Id: Skill ID of the required guild skill.
# Level: Level of the required guild skill.
###########################################################################
Header:
Type: GUILD_SKILL_TREE_DB
Version: 1
Footer:
Imports:
- Path: db/pre-re/guild_skill_tree.yml
Mode: Prerenewal
- Path: db/re/guild_skill_tree.yml
Mode: Renewal
- Path: db/import/guild_skill_tree.yml

View File

@@ -1,17 +0,0 @@
// Hocus-Pocus (Abracadabra) Castable Skills Database
//
// Structure of Database:
// SkillID,DummyName,ProbabilityPerLvl
//
// 01. SkillID Skill ID to be casted by hocus pocus.
// 02. DummyName Name of the skill (informative, not used by server).
// 03. ProbabilityPerLvl Not a rate! Chance at which the skill is selected compared
// with other entries probabilties
//
// NOTE:
// - The skill is picked at random from the entire database and then tested for rate. If it
// does not succeed at that rate, another skill is picked and tested. This continues
// until a skill succeeds. Abracadabra-specific skills have a different chance to occur
// depending on skill level used. All other skills have an equal chance and appear from
// level 1 onward.
// - To remove entry by importing, put "clear" (without quotes) in DummyName

View File

@@ -0,0 +1,33 @@
# This file is a part of rAthena.
# Copyright(C) 2019 rAthena Development Team
# https://rathena.org - https://github.com/rathena
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
###########################################################################
# Abracadabra Database
###########################################################################
#
# Abracadabra Settings
#
###########################################################################
# - Skill Skill to be casted by Abracadabra.
# Probability: Probability of skill compared to others in database (1 = 0.01%, 10000 = 100%). (Default: 500)
# - Level Skill level.
# Probability Probability at specific skill level (1 = 0.01%, 10000 = 100%). (Default: 0)
###########################################################################
Header:
Type: ABRA_DB
Version: 1

View File

@@ -77,4 +77,6 @@
# Score - Achievement points that are given on completion.
###########################################################################
Achievements:
Header:
Type: ACHIEVEMENT_DB
Version: 1

View File

@@ -0,0 +1,32 @@
# This file is a part of rAthena.
# Copyright(C) 2019 rAthena Development Team
# https://rathena.org - https://github.com/rathena
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
###########################################################################
# Import Achievement Level Database
###########################################################################
#
# Achievement Level Settings
#
###########################################################################
# Level - Achievement Level
###########################################################################
# Points - Required total scoring points to reach this level.
###########################################################################
Header:
Type: ACHIEVEMENT_LEVEL_DB
Version: 1

View File

@@ -0,0 +1,3 @@
Header:
Type: ATTENDANCE_DB
Version: 1

View File

@@ -0,0 +1,52 @@
# This file is a part of rAthena.
# Copyright(C) 2019 rAthena Development Team
# https://rathena.org - https://github.com/rathena
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
###########################################################################
# Battleground Queue Database
###########################################################################
#
# Battleground Queue Settings
#
###########################################################################
# - Id Unique ID for the battleground type.
# Name Name of the battleground. Must be the exact same as in the client for players to be able to join.
# MinPlayers Minimum number of players required on each team. (Default: 1)
# MaxPlayers Maximum number of players on each team. (Default: MAX_BG_MEMBERS / 2)
# MinLevel Minimum level required to join the battleground. (Default: 1)
# MaxLevel Maximum level to join the battleground. (Default: MAX_LEVEL value)
# Deserter Amount of time in seconds a player is marked deserter. (Default: 600)
# StartDelay Amount of time in seconds once a queue is filled before a start message is sent to players. (Default: 30)
# Locations: Battleground location settings.
# - Map The map on which the battleground will be played.
# StartEvent NPC event triggered when the battleground starts.
# TeamA: TeamA settings.
# RespawnX X coordinate for warping on death.
# RespawnY Y coordinate for warping on death.
# DeathEvent NPC event triggered when a player dies.
# QuitEvent NPC event triggered when a player quits.
# Variable Name of BG ID variable used in the battleground script.
# TeamB: TeamB settings.
# RespawnX X coordinate for warping on death.
# RespawnY Y coordinate for warping on death.
# DeathEvent NPC event triggered when a player dies.
# QuitEvent NPC event triggered when a player quits.
# Variable Name of BG ID variable used in the battleground script.
###########################################################################
Header:
Type: BATTLEGROUND_DB
Version: 1

View File

@@ -1,13 +0,0 @@
// Guild Skill Tree Database
//
// Structure of Database:
// SkillID,MaxLv,Prerequisite SkillID1,Prerequisite SkillLv1,PrereqSkillID2,PrereqSkillLv2,PrereqSkillID3,PrereqSkillLv3,PrereqSkillID4,PrereqSkillLv4,PrereqSkillID5,PrereqSkillLv5 //GUILD SKILLNAME#Skill Name#
//
// 01. SkillID Skill ID of the guild skill.
// 02. MaxLv Maximum level of the guild skill.
// 03. Prerequisite SkillID Guild skill required for the skill to become available.
// 04. Prerequisite SkillLv Level of the required guild skill.
// ...
//
// NOTE: MAX_GUILD_SKILL_REQUIRE (typically 5) ID/Lv pairs must be specified.

View File

@@ -0,0 +1,36 @@
# This file is a part of rAthena.
# Copyright(C) 2019 rAthena Development Team
# https://rathena.org - https://github.com/rathena
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
###########################################################################
# Custom Guild Skill Database
###########################################################################
#
# Guild Skill Settings
#
###########################################################################
# Id - Skill ID of the guild skill.
###########################################################################
# MaxLevel - Maximum level of the guild skill.
###########################################################################
# Required - A list of required skills for the skill to become available.
# Id: Skill ID of the required guild skill.
# Level: Level of the required guild skill.
###########################################################################
Header:
Type: GUILD_SKILL_TREE_DB
Version: 1

View File

@@ -0,0 +1,31 @@
# This file is a part of rAthena.
# Copyright(C) 2019 rAthena Development Team
# https://rathena.org - https://github.com/rathena
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
###########################################################################
# Improvised Song Database
###########################################################################
#
# Improvised Song Settings
#
###########################################################################
# - Skill Skill to be casted by Improvised Song.
# Probability Probability of skill compared to others in database (1 = 0.01%, 10000 = 100%).
###########################################################################
Header:
Type: IMPROVISED_SONG_DB
Version: 1

View File

@@ -25,6 +25,7 @@
//5204,Event_Pierrot_Nose,Rudolf's Red Nose,4,20,,100,,0,,0,0xFFFFFFFF,63,2,1,,0,0,49,{ bonus2 bResEff,Eff_Blind,3000; bonus2 bAddMonsterDropItem,12130,30; },{},{}
//5264,Aussie_Flag_Hat,Australian Flag Hat,4,20,,500,,4,,0,0xFFFFFFFF,63,2,256,,0,1,304,{ bonus bAllStats,2; },{},{}
//5356,Pumpkin_Hat_H,Pumpkin Hat,4,20,,200,,2,,0,0xFFFFFFFF,63,2,256,,0,1,206,{ bonus bAllStats,2; bonus2 bSubRace,RC_Demon,5; bonus2 bMagicAddRace,RC_Demon,5; },{},{}
//5384,Santa_Hat_1,Twin Pompom By JB,4,20,,200,,2,,1,0xFFFFFFFF,63,2,256,,20,1,390,{ bonus bLuk,3; bonus2 bResEff,Eff_Curse,2000; bonus bVariableCastrate,-2; bonus bAspdRate,4; bonus2 bAddMonsterDropItem,539,100; bonus2 bAddMonsterDropItem,529,200; bonus2 bAddMonsterDropItem,530,200; autobonus "{ bonus bCritical,10; }",10,5000; },{},{}
//5811,Santa_Beard,Santa Beard,4,20,,100,,5,,0,0xFFFFFFFF,63,2,1,,0,0,25,{ bonus2 bSubRace,RC_Brute,5; },{},{}
//11702,Moon_Cookie,Moon Cookie,11,0,,10,,,,,0xFFFFFFFF,63,2,,,,,,{ sc_end SC_POISON; sc_end SC_SILENCE; sc_end SC_BLIND; sc_end SC_CONFUSION; sc_end SC_CURSE; sc_end SC_HALLUCINATION; itemskill "AL_BLESSING",7; },{},{}
@@ -59,8 +60,8 @@
// Old Tuxedo and Wedding Dress, will display the outfit when worn.
//==================================================================
//2338,Wedding_Dress,Wedding Dress,4,43000,,500,,0,,0,0xFFFFFFFE,63,0,16,,0,1,0,{},{ sc_start SC_WEDDING,-1,0; },{ sc_end SC_WEDDING; }
//7170,Tuxedo,Tuxedo,4,43000,,10,,0,,0,0xFFFFFFFE,63,1,16,,0,1,0,{},{ sc_start SC_WEDDING,-1,0; },{ sc_end SC_WEDDING; }
//2338,Wedding_Dress,Wedding Dress,4,43000,,500,,0,,0,0xFFFFFFFE,63,0,16,,0,1,0,{},{ sc_start SC_WEDDING,INFINITE_TICK,0; },{ sc_end SC_WEDDING; }
//7170,Tuxedo,Tuxedo,4,43000,,10,,0,,0,0xFFFFFFFE,63,1,16,,0,1,0,{},{ sc_start SC_WEDDING,INFINITE_TICK,0; },{ sc_end SC_WEDDING; }
// Non-kRO Eden Group Mark effect
//=============================================================

View File

@@ -8,4 +8,10 @@
// 8 - Item will be bound item when equipped
// 16 - Special Broadcast: When item dropped by monster and player loot it, will be broadcasted!
// 32 - Item will not be removed on consumption. Also supports 'itemskill'
// 64 - Item will be displayed with a client side defined drop
// 128 - Item will be displayed with a white pillar drop effect
// 256 - Item will be displayed with a blue pillar drop effect
// 512 - Item will be displayed with a yellow pillar drop effect
// 1024 - Item will be displayed with a purple pillar drop effect
// 2048 - Item will be displayed with a orange pillar drop effect
// NOTE: For removing flag by import file, use "-" to remove the flag. Example, 604,-1 will removes flag 1 from Branch_Of_Dead_Tree

View File

@@ -0,0 +1,30 @@
# This file is a part of rAthena.
# Copyright(C) 2019 rAthena Development Team
# https://rathena.org - https://github.com/rathena
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
###########################################################################
# Magic Mushroom Database
###########################################################################
#
# Magic Mushroom Settings
#
###########################################################################
# - Skill Skill to be casted by Magic Mushroom.
###########################################################################
Header:
Type: MAGIC_MUSHROOM_DB
Version: 1

View File

@@ -1,16 +0,0 @@
// Mob Availability and Alias Database
//
// Structure of Database:
// MobID,SpriteID{,Equipment}
//
// 01. MobID Mob ID to change.
// 02. SpriteID Mob ID which will be sent to the client instead of MobID.
// If 0, the mob becomes unavailable for use.
// 03. Equipment Item ID of pet equipment (must be available for pet counterpart, or this will cause problems).
//
// To disguise a mob as a player:
// MobID,SpriteID,Sex,Hair_Style,Hair_Color,Weapon,Shield,Head_Top,Head_Middle,Head_Bottom,Option,Dye_Color
//
// SpriteID is a job class value.
// Weapon and Shield uses Item ID, while Head uses View ID.

View File

@@ -0,0 +1,123 @@
# This file is a part of rAthena.
# Copyright(C) 2019 rAthena Development Team
# https://rathena.org - https://github.com/rathena
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
###########################################################################
# Mob Availability and Alias Database
###########################################################################
#
# Mob Availability and Alias Settings
#
###########################################################################
# - Mob Mob to adjust.
# Sprite Sprite which will be sent to the client instead of Mob.
# Sex Sex (if Sprite is a player). (Default: Female)
# HairStyle Hair Style ID (if Sprite is a player). (Default: 0)
# HairColor Hair Color ID (if Sprite is a player). (Default: 0)
# ClothColor Cloth Color ID (if Sprite is a player). (Default: 0)
# Weapon Item name of weapon (if Sprite is a player). (Default: 0)
# Shield Item name of shield (if Sprite is a player). (Default: 0)
# HeadTop Item name of headgear (if Sprite is a player). (Default: 0)
# HeadMid Item name of headgear (if Sprite is a player). (Default: 0)
# HeadLow Item name of headgear (if Sprite is a player). (Default: 0)
# PetEquip Item name of pet equipment (if Mob is a valid pet). (Default: 0)
# Options: Set an option for an object. (Optional)
# <Option>: bool
###########################################################################
Header:
Type: MOB_AVAIL_DB
Version: 1
#Body:
# Examples
# - Mob: PORING
# Sprite: BAPHOMET
# - Mob: E_OBEAUNE
# Sprite: PORING
# PetEquip: Backpack
# Easter Event Monsters
# - Mob: MOROCC_3
# Sprite: DOPPELGANGER
# - Mob: MOROCC_4
# Sprite: ECLIPSE
# rAthena Dev Team
# Valaris
# - Mob: BOW_GUARDIAN_
# Sprite: JOB_ASSASSIN_CROSS
# Sex: Male
# HairStyle: 1
# HairColor: 1
# ClothColor: 1
# Weapon: Jamadhar
# HeadTop: Sahkkat
# HeadMid: Sunglasses
# HeadLow: Cigar
# Options:
# Falcon: true
# Valaris Worshiper
# - Mob: E_CONDOR
# Sprite: JOB_THIEF
# Sex: Male
# HairStyle: 1
# HairColor: 1
# ClothColor: 1
# Weapon: Gladius
# Shield: Guard
# HeadTop: Sahkkat
# HeadMid: Sunglasses
# HeadLow: Cigar
# MC Cameri
# - Mob: E_TREASURE1
# Sprite: JOB_CRUSADER
# Sex: Male
# HairStyle: 6
# HairColor: 6
# ClothColor: 3
# Weapon: Sword
# Shield: Shield
# Options:
# Riding: true
# Poki#3
# - Mob: E_TREASURE2
# Sprite: JOB_SNIPER
# Sex: Male
# HairStyle: 21
# Weapon: Bow_Of_Rudra
# HeadTop: Boy's_Cap
# HeadMid: Takius_Blindfold
# HeadLow: Centimental_Leaf
# Options:
# Falcon: true
# Sentry
# - Mob: BOMBPORING
# Sprite: KNIGHT_GUARDIAN
# iRO Halloween Event 2009
# - Mob: EP14_MORS_BOSSB
# Sprite: ZOMBIE
# - Mob: EP14_MORS_MOB1
# Sprite: GHOUL
# - Mob: EP14_MORS_MOB2
# Sprite: ZOMBIE_MASTER
# iRO Halloween Event 2009
# - Mob: EP14_3_DEATH_B_MOB2
# Sprite: WHISPER
# - Mob: EP14_3_DEATH_B_MOB3
# Sprite: DARK_LORD

View File

@@ -0,0 +1,4 @@
// Taekwon Mission Summonable Monsters Database
//
// Structure of Database:
// MobRandomGroupID,MobID,DummyName,Rate

View File

@@ -1,60 +0,0 @@
// Pet Additional Database
//
// Structure of Database:
// MobID,Name,JName,LureID,EggID,EquipID,FoodID,Fullness,HungryDelay,R_Hungry,R_Full,Intimate,Die,Capture,Speed,S_Performance,talk_convert_class,attack_rate,defence_attack_rate,change_target_rate,pet_script,loyal_script
//
// 01. MobID Monster ID of the pet.
// 02. Name Name of the monster as defined in the database.
// 03. JName The display name of the monster when hatched.
// 04. LureID Pet Tame Item ID.
// 05. EggID Pet Egg ID.
// 06. EquipID Pet Accessory ID.
// 07. FoodID Pet Food ID.
// 08. Fullness The amount Hunger is decreased every [HungryDelay] seconds.
// 09. HungryDelay The amount of time it takes for hunger to decrease after feeding. (Default: 60 seconds)
// 10. R_Hungry Amount of Intimacy that is increased when fed.
// 11. R_Full Amount of Intimacy that is decreased when over-fed.
// 12. Intimate Amount of Intimacy the pet starts with.
// 13. Die Amount of Intimacy that is decreased when the pet owner dies.
// 14. Capture Capture succes rate (10000 = 100%)
// 15. Speed Pet's walk speed. (Defaul: 150)
// 16. S_Performance Special Performance. (Yes = 1, No = 0)
// 17. talk_convert_class Disables pet talk (instead of talking they emote with /!.)
// 18. attack_rate Rate of which the pet will attack (requires at least pet_support_min_friendly intimacy).
// 19. defence_attack_rate Rate of which the pet will retaliate when master is being attacked (requires at least pet_support_min_friendly intimacy).
// 20. change_target_rate Rate of which the pet will change its attack target.
// 21. pet_script Script to execute when the pet is hatched.
// 22. loyal_script Script to execute when the pet is hatched (requires at least pet_equip_min_friendly intimacy, independent of pet_script).
//NOTE: The max value (100%) of attack_rate, defense_rate & change_target_rate is 10000.
//In theory you can use any valid script, but it is run only once upon pet
//loading, so it is recommended you use the specific pet scripts:
//petskillattack skillid, skilllv, rate, bonusrate
//Skill attack that triggers while the pet is attacking. Rate is the base
//chance of execution per attack. Bonusrate is an additional success rate when
//intimacy reaches max.
//petskillattack2 skillid, damage, hits, rate, bonusrate
//Same as petskillattack, but the damage and number of hits is fixed
//the damage specified is total, not per hit.
//petskillsupport skillid, skilllv, delay, hp%, sp%
//Casts a support skill when the health levels are below the specified hp% and
//sp%. Delay is the minimum time in seconds before the skill can be cast again
//petheal amount, delay, hp%, sp%
//Similar to petskillsupport, but the skill is fixed to heal (28) and the
//heal-amount is fixed to the value given.
//petrecovery type, delay: Cures the "type" status effect after "delay" seconds
//petskillbonus type, value, duration, delay
//Gives bonus stats. Type is the stat to increase (bStr, bLuk), value is the
//amount by which it is increased, duration signals how long the bonus lasts
//delay is the time elapsed after the bonus ends and before it starts again.
//A single pet can have petloot, petskillbonus, petskillattack (or
//petskillattack2) and petskillsupport (or petheal) at the same time,
//but only one of each.

486
db/import-tmpl/pet_db.yml Normal file
View File

@@ -0,0 +1,486 @@
# This file is a part of rAthena.
# Copyright(C) 2019 rAthena Development Team
# https://rathena.org - https://github.com/rathena
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
###########################################################################
# Custom Pet Database
###########################################################################
#
# Pet Settings
#
###########################################################################
# - Mob Monster that can be used as pet
# TameItem Pet Tame Item.
# EggItem Pet Egg Item.
# EquipItem Pet Accessory Item. (Default: 0)
# FoodItem Pet Food Item. (Default: 0)
# Fullness The amount of hunger is decreased every [HungryDelay] seconds.
# HungryDelay The amount of time in seconds it takes for hunger to decrease after feeding. (Default: 60)
# HungerIncrease The amount of hunger that is increased every time the pet is fed (Default: 20)
# IntimacyStart Amount of Intimacy the pet starts with. (Default: 250)
# IntimacyFed Amount of Intimacy that is increased when fed. (Default: 50)
# IntimacyOverfed Amount of Intimacy that is increased when over-fed. (Default: -100)
# IntimacyHungry Amount of Intimacy that is increased when the pet is hungry. (Default: -5)
# IntimacyOwnerDie Amount of Intimacy that is increased when the pet owner dies. (Default: -20)
# CaptureRate Capture success rate. (10000 = 100%)
# SpecialPerformance If a pet has a Special Performance. (Default: true)
# AttackRate Rate of which the pet will attack [requires at least pet_support_min_friendly intimacy]. (10000 = 100%)
# RetaliateRate Rate of which the pet will retaliate when master is being attacked [requires at least pet_support_min_friendly intimacy]. (10000 = 100%)
# ChangeTargetRate Rate of which the pet will change its attack target. (10000 = 100%)
# AllowAutoFeed Allows turning automatic pet feeding on. (Default: false)
# Script Bonus script to execute when the pet is alive. (Default: null)
# SupportScript Bonus script to execute when pet_status_support is enabled. (Default: null)
# Evolution: Pet evolution settings. (Optional) (Default: null)
# - Target Mob this pet can evolve to.
# ItemRequirements: Item requirements for evolving this pet.
# - Item Self-explanatory
# Amount
###########################################################################
Header:
Type: PET_DB
Version: 1
#Body:
# - Mob: PORING
# AttackRate: 350
# RetaliateRate: 400
# ChangeTargetRate: 800
# SupportScript: >
# petloot 10;
# - Mob: DROPS
# AttackRate: 300
# RetaliateRate: 400
# ChangeTargetRate: 500
# SupportScript: >
# petloot 10;
# - Mob: POPORING
# AttackRate: 300
# RetaliateRate: 500
# ChangeTargetRate: 400
# SupportScript: >
# petloot 15;
# - Mob: LUNATIC
# AttackRate: 300
# RetaliateRate: 300
# ChangeTargetRate: 1000
# SupportScript: >
# petskillbonus bLuk,3,10,50;
# - Mob: PICKY
# AttackRate: 500
# RetaliateRate: 600
# ChangeTargetRate: 50
# SupportScript: >
# petskillbonus bStr,3,10,50;
# - Mob: CHONCHON
# AttackRate: 500
# RetaliateRate: 500
# ChangeTargetRate: 250
# SupportScript: >
# petskillbonus bAgi,4,10,50;
# - Mob: STEEL_CHONCHON
# AttackRate: 500
# RetaliateRate: 500
# ChangeTargetRate: 200
# SupportScript: >
# petskillbonus bAgiVit,4,20,40;
# - Mob: HUNTER_FLY
# AttackRate: 500
# RetaliateRate: 500
# ChangeTargetRate: 200
# SupportScript: >
# petskillattack2 "NPC_WINDATTACK",888,2,0,10;
# - Mob: SAVAGE_BABE
# AttackRate: 500
# RetaliateRate: 500
# ChangeTargetRate: 200
# SupportScript: >
# petskillbonus bVit,4,10,50;
# - Mob: DESERT_WOLF_B
# AttackRate: 400
# RetaliateRate: 400
# ChangeTargetRate: 400
# SupportScript: >
# petskillattack "SM_PROVOKE",1,0,5;
# - Mob: ROCKER
# AttackRate: 350
# RetaliateRate: 350
# ChangeTargetRate: 600
# SupportScript: >
# petskillbonus bAllStats,1,10,50;
# - Mob: SPORE
# AttackRate: 350
# RetaliateRate: 500
# ChangeTargetRate: 500
# SupportScript: >
# petrecovery SC_POISON,60;
# - Mob: POISON_SPORE
# AttackRate: 600
# RetaliateRate: 200
# ChangeTargetRate: 400
# SupportScript: >
# petskillattack "NPC_POISON",20,0,10;
# - Mob: PECOPECO
# AttackRate: 400
# RetaliateRate: 500
# ChangeTargetRate: 800
# SupportScript: >
# petskillbonus bSpeedRate,25,20,20;
# - Mob: SMOKIE
# AttackRate: 600
# RetaliateRate: 600
# ChangeTargetRate: 100
# SupportScript: >
# petskillbonus bPerfectHide,1,3600,0;
# - Mob: YOYO
# AttackRate: 300
# RetaliateRate: 800
# ChangeTargetRate: 400
# SupportScript: >
# petloot 20;
# - Mob: ORK_WARRIOR
# AttackRate: 600
# RetaliateRate: 200
# ChangeTargetRate: 300
# SupportScript: >
# petskillattack2 "NPC_PIERCINGATT",100,1,0,10;
# - Mob: MUNAK
# AttackRate: 300
# RetaliateRate: 750
# ChangeTargetRate: 300
# SupportScript: >
# petskillattack2 "NPC_DARKNESSATTACK",444,1,0,10;
# - Mob: DOKEBI
# AttackRate: 300
# RetaliateRate: 300
# ChangeTargetRate: 800
# SupportScript: >
# petskillattack "BS_HAMMERFALL",1,0,10;
# - Mob: SOHEE
# AttackRate: 100
# RetaliateRate: 1000
# ChangeTargetRate: 200
# SupportScript: >
# petskillsupport "AL_HEAL",5,60,33,100;
# - Mob: ISIS
# AttackRate: 650
# RetaliateRate: 450
# ChangeTargetRate: 150
# SupportScript: >
# petskillsupport "PR_MAGNIFICAT",2,60,50,50;
# - Mob: PETIT
# AttackRate: 800
# RetaliateRate: 400
# ChangeTargetRate: 100
# SupportScript: >
# petskillattack2 "WZ_HEAVENDRIVE",500,1,0,10;
# - Mob: DEVIRUCHI
# AttackRate: 800
# RetaliateRate: 200
# ChangeTargetRate: 100
# SupportScript: >
# petskillbonus bAgiDexStr,6,20,40;
# - Mob: BAPHOMET_
# AttackRate: 1000
# RetaliateRate: 100
# ChangeTargetRate: 200
# SupportScript: >
# petskillattack2 "NPC_DARKNESSATTACK",1776,4,0,5;
# - Mob: BON_GUN
# AttackRate: 600
# RetaliateRate: 200
# ChangeTargetRate: 400
# SupportScript: >
# petskillattack2 "NPC_DARKNESSATTACK",555,1,1,1;
# - Mob: ZHERLTHSH
# AttackRate: 1000
# RetaliateRate: 100
# ChangeTargetRate: 500
# SupportScript: >
# petskillattack "AS_SONICBLOW",1,0,3;
# - Mob: ALICE
# AttackRate: 100
# RetaliateRate: 1000
# ChangeTargetRate: 200
# SupportScript: >
# petskillsupport "AL_HEAL",5,60,25,100;
# - Mob: EVENT_RICECAKE
# AttackRate: 500
# RetaliateRate: 500
# ChangeTargetRate: 200
# SupportScript: >
# petskillsupport "CR_DEFENDER",3,240,50,100;
# - Mob: GOBLINE_XMAS
# AttackRate: 300
# RetaliateRate: 300
# ChangeTargetRate: 800
# SupportScript: >
# petskillattack "MG_SIGHT",5,5,5;
# - Mob: CHUNG_E
# AttackRate: 300
# RetaliateRate: 300
# ChangeTargetRate: 800
# SupportScript: >
# petskillattack "CR_SHIELDCHARGE",5,5,5;
# - Mob: ECLIPSE_P
# AttackRate: 300
# RetaliateRate: 300
# ChangeTargetRate: 800
# SupportScript: >
# petskillattack "TF_THROWSTONE",1,5,5;
# - Mob: GOBLIN_1
# AttackRate: 300
# RetaliateRate: 300
# ChangeTargetRate: 800
# SupportScript: >
# petskillattack "NPC_WINDATTACK",5,5,5;
# - Mob: GOBLIN_2
# AttackRate: 300
# RetaliateRate: 300
# ChangeTargetRate: 800
# SupportScript: >
# petskillattack "NPC_FIREATTACK",5,5,5;
# - Mob: GOBLIN_4
# AttackRate: 300
# RetaliateRate: 300
# ChangeTargetRate: 800
# SupportScript: >
# petskillattack "NPC_GROUNDATTACK",5,5,5;
# - Mob: DELETER_
# AttackRate: 300
# RetaliateRate: 300
# ChangeTargetRate: 800
# SupportScript: >
# petskillattack "SM_MAGNUM",5,5,5;
# - Mob: DIABOLIC
# AttackRate: 300
# RetaliateRate: 300
# ChangeTargetRate: 800
# SupportScript: >
# petskillattack "WZ_METEOR",2,5,5;
# - Mob: WANDER_MAN
# AttackRate: 300
# RetaliateRate: 300
# ChangeTargetRate: 800
# SupportScript: >
# petskillattack "NPC_UNDEADATTACK",5,5,5;
# - Mob: P_CHUNG_E
# AttackRate: 300
# RetaliateRate: 300
# ChangeTargetRate: 800
# SupportScript: >
# petskillattack "CR_SHIELDCHARGE",5,5,5;
# - Mob: GOLEM
# AttackRate: 300
# RetaliateRate: 300
# ChangeTargetRate: 800
# - Mob: MARIONETTE
# AttackRate: 300
# RetaliateRate: 300
# ChangeTargetRate: 800
# - Mob: MEDUSA
# AttackRate: 300
# RetaliateRate: 300
# ChangeTargetRate: 800
# - Mob: WHISPER
# AttackRate: 300
# RetaliateRate: 300
# ChangeTargetRate: 800
# - Mob: GOBLIN_LEADER
# AttackRate: 300
# RetaliateRate: 300
# ChangeTargetRate: 800
# - Mob: SUCCUBUS
# AttackRate: 300
# RetaliateRate: 300
# ChangeTargetRate: 800
# SupportScript: >
# bonus2 bHPDrainRate,10,5;
# - Mob: INCUBUS
# AttackRate: 300
# RetaliateRate: 300
# ChangeTargetRate: 800
# SupportScript: >
# bonus bMaxSPRate,3;
# bonus2 bSPDrainRate,10,1;
# - Mob: NIGHTMARE_TERROR
# AttackRate: 300
# RetaliateRate: 300
# ChangeTargetRate: 800
# - Mob: SHINOBI
# AttackRate: 300
# RetaliateRate: 300
# ChangeTargetRate: 800
# - Mob: MIYABI_NINGYO
# AttackRate: 300
# RetaliateRate: 300
# ChangeTargetRate: 800
# - Mob: WICKED_NYMPH
# AttackRate: 300
# RetaliateRate: 300
# ChangeTargetRate: 800
# - Mob: STONE_SHOOTER
# AttackRate: 300
# RetaliateRate: 300
# ChangeTargetRate: 800
# - Mob: DULLAHAN
# AttackRate: 300
# RetaliateRate: 300
# ChangeTargetRate: 800
# - Mob: LOLI_RURI
# AttackRate: 300
# RetaliateRate: 300
# ChangeTargetRate: 800
# - Mob: CIVIL_SERVANT
# AttackRate: 300
# RetaliateRate: 300
# ChangeTargetRate: 800
# - Mob: LEAF_CAT
# AttackRate: 300
# RetaliateRate: 300
# ChangeTargetRate: 800
# - Mob: BACSOJIN_
# AttackRate: 300
# RetaliateRate: 300
# ChangeTargetRate: 800
# - Mob: IMP
# AttackRate: 300
# RetaliateRate: 300
# ChangeTargetRate: 800
# - Mob: E_CRAMP
# AttackRate: 350
# RetaliateRate: 400
# ChangeTargetRate: 800
# - Mob: E_HYDRA
# AttackRate: 350
# RetaliateRate: 400
# ChangeTargetRate: 800
# - Mob: J_TAINI
# AttackRate: 300
# RetaliateRate: 300
# ChangeTargetRate: 800
# - Mob: XMAS_LUNATIC
# AttackRate: 300
# RetaliateRate: 300
# ChangeTargetRate: 800
# - Mob: TIKBALANG
# AttackRate: 300
# RetaliateRate: 300
# ChangeTargetRate: 800
# - Mob: MARIN
# AttackRate: 300
# RetaliateRate: 300
# ChangeTargetRate: 800
# - Mob: LITTLE_PORING
# AttackRate: 300
# RetaliateRate: 300
# ChangeTargetRate: 800
# - Mob: NINE_TAIL
# AttackRate: 300
# RetaliateRate: 300
# ChangeTargetRate: 800
# - Mob: GREMLIN
# AttackRate: 300
# RetaliateRate: 300
# ChangeTargetRate: 800
# - Mob: MUMMY
# AttackRate: 300
# RetaliateRate: 300
# ChangeTargetRate: 800
# - Mob: TEDDY_BEAR
# AttackRate: 300
# RetaliateRate: 300
# ChangeTargetRate: 800
# - Mob: MASTERING
# AttackRate: 300
# RetaliateRate: 300
# ChangeTargetRate: 800
# - Mob: METALLER
# AttackRate: 300
# RetaliateRate: 300
# ChangeTargetRate: 800
# - Mob: ANGELING
# AttackRate: 300
# RetaliateRate: 300
# ChangeTargetRate: 800
# - Mob: MOONLIGHT
# AttackRate: 300
# RetaliateRate: 300
# ChangeTargetRate: 800
# - Mob: SAVAGE
# AttackRate: 300
# RetaliateRate: 300
# ChangeTargetRate: 800
# - Mob: HIGH_ORC
# AttackRate: 300
# RetaliateRate: 300
# ChangeTargetRate: 800
# - Mob: CHOCO
# AttackRate: 300
# RetaliateRate: 300
# ChangeTargetRate: 800
# - Mob: ANCIENT_MUMMY
# AttackRate: 300
# RetaliateRate: 300
# ChangeTargetRate: 800
# - Mob: AM_MUT
# AttackRate: 300
# RetaliateRate: 300
# ChangeTargetRate: 800
# - Mob: CAT_O_NINE_TAIL
# AttackRate: 300
# RetaliateRate: 300
# ChangeTargetRate: 800
# - Mob: GRAND_PECO
# AttackRate: 300
# RetaliateRate: 300
# ChangeTargetRate: 800
# - Mob: HYEGUN
# AttackRate: 300
# RetaliateRate: 300
# ChangeTargetRate: 800
# - Mob: HODREMLIN
# AttackRate: 300
# RetaliateRate: 300
# ChangeTargetRate: 800
# - Mob: XM_TEDDY_BEAR
# AttackRate: 300
# RetaliateRate: 300
# ChangeTargetRate: 800
# - Mob: DR_EGGRING
# AttackRate: 300
# RetaliateRate: 300
# ChangeTargetRate: 800
# - Mob: DR_LUNATIC
# AttackRate: 300
# RetaliateRate: 300
# ChangeTargetRate: 800
# - Mob: LITTLE_ISIS
# AttackRate: 300
# RetaliateRate: 300
# ChangeTargetRate: 800
# - Mob: DIABOLIC2
# AttackRate: 300
# RetaliateRate: 300
# ChangeTargetRate: 800
# - Mob: DELETER_2
# AttackRate: 300
# RetaliateRate: 300
# ChangeTargetRate: 800
# - Mob: SWEETS_DROPS
# AttackRate: 300
# RetaliateRate: 300
# ChangeTargetRate: 800

View File

@@ -1,18 +0,0 @@
// Skill Times Database
//
// Structure of Database:
// SkillID,CastingTime,AfterCastActDelay,AfterCastWalkDelay,Duration1,Duration2,Cool Down,Fixed Casting Time
//
// CastingTime: time to cast this skill, in miliseconds
// AfterCastActDelay: "normal" delay, character cannot use skills, in miliseconds
// AfterCastWalkDleay: amount of time before character can move again, in miliseconds
// Duration1/Duration2: usually the durations used by the skill, at special cases it is used to hold special data
// Cool Down: amount of time until character can re-use this skill, in miliseconds
// Fixed Casting Time: the skills fixed casting time (when 0, uses 20% of cast time and less than 0 means no fixed cast time)
//
// On all fields you can use ':' as a delimiter for level-specific values.
// For example:
// - Original: 6,0,0,0,30000,0,1000
// - Modified: 6,0,0,0,30000,0,1000:2500:3000:...
// Gives Level 1 1000ms cool down, Level 2 2500ms, Level 3 3000ms, and so on.

View File

@@ -1,16 +0,0 @@
// <Skill id>,<Cast>,<Delay (optional)>
//
// Cast: 0 - everything affects the skill's cast time
// 1 - skill's cast time is not affected by dex
// 2 - skill's cast time is not affected by statuses (Suffragium, etc)
// 4 - skill's cast time is not affected by item bonuses (equip, cards)
//
// Delay: 0 - everything affects the skill's delay
// 1 - skill's delay is not affected by dex
// 2 - skill's delay is not affected by Magic Strings / Bragi
// 4 - skill's delay is not affected by item bonuses (equip, cards)
//
// Note: Values are bit fields, add them up to combine their effects.
// Note: Delay setting '1' only makes sense when delay_dependon_dex is enabled.
// Example: 46,1,1 = Double Strafe's cast time and delay is not affected by dex.

View File

@@ -1,52 +0,0 @@
// Copyable Skills Database
// List of skills able to be copied by Intimidate/Plagiarism and Reproduce.
//
// Sources:
// http://irowiki.org/wiki/Intimidate
// -> "Intimidate will copy any 2nd class skill"
// http://irowiki.org/wiki/Reproduce/List_of_reproducible_skills
// -> "Players can reproduce 1-x, 2-x, and 3-x skills and Expanded Class,
// but cannot reproduce transcendent skills"
//
// Structure of Database:
// SkillName,Option{,JobAllowed{,RequirementRemoved}}
//
// Option (bitmask) determines how a skill can be copied.
// 1 = Plagiarism
// 2 = Reproduce
//
// JobAllowed (bitmask) restricts copying the skill to certain classes.
// By default, all jobs can copy the skill (0).
// 1 = Rogue
// 2 = Stalker
// 4 = Shadow Chaser
// 8 = Trans. Shadow Chaser
// 16 = Baby Rouge
// 32 = Baby Shadow Chaser
//
// RequirementRemoved (bitmask) removes requirements when casting a copied skill.
// See 'skill_require_db.txt' for specific skill requirements.
// 0 = uses original requirement(s)
// 1 = hp
// 2 = maxhptrigger
// 4 = sp
// 8 = hprate
// 16 = sprate
// 32 = zeny
// 64 = weapon type
// 128 = ammo (with the amount)
// 256 = state
// 512 = statuses
// 1024 = spirit sphere
// 2048 = items (with the amount)
// 4096 = equipments
//
// Examples:
// AS_SONICBLOW,2,63,64
// Sonic Blow can be copied by all jobs with only Plagiarism.
// To use the copied skill, a Katar is not needed (a Sonic Blow weapon type requirement).
//
// CR_ACIDDEMONSTRATION,3,10
// Acid Demonstration can only be copied by Stalker/Trans. Shadow Chaser with Plagiarism or Reproduce.
// This mode simulates the previous battle config, which allowed only Trans. classes to copy Trans. skills.

View File

@@ -1,79 +0,0 @@
//id,range,hit,inf,element,nk,splash,max,list_num,castcancel,cast_defence_rate,inf2,maxcount,skill_type,blow_count,inf3,name,description
// 01 ID
// 02 range (combo skills do not check for range when used,
// if range is < 5, the skill is considered melee-range)
// 03 hit (8- repeated hitting, 6- single-hit)
// 04 inf (0- passive, 1- enemy, 2- place, 4- self, 16- friend, 32- trap)
// 05 element (0 - neutral, 1 - water, 2 - earth, 3 - fire, 4 - wind, 5 - poison,
// 6 - holy, 7 - dark, 8 - ghost, 9 - undead, -1 - use weapon element
// -2 - use endowed element, -3 - use random element.)
// 06 nk (skill damage properties):
// 0x01 - No damage skill
// 0x02 - Has splash area
// 0x04 - Damage should be split among targets
// 0x08 - Skill ignores caster's % damage cards (misc type always ignores)
// 0x10 - Skill ignores elemental adjustments
// 0x20 - Skill ignores target's defense (misc type always ignores)
// 0x40 - Skill ignores target's flee (magic type always ignores)
// 0x80 - Skill ignores target's def cards
// 07 splash/effect range
// -1 - for screen-wide
// 0 - no splash
// all other values follow the formula: value * 2 + 1
// 1 - 3x3
// 2 - 5x5
// 3 - 7x7
// 08 MaxLv
// 09 Number of hits (when positive, damage is increased by hits,
// negative values just show number of hits without increasing total damage)
// 10 Cast interrupted when hit?
// 11 defense-reduction rate during cast.
// 12 inf2 (skill information 2):
// 0x00001 - quest skill
// 0x00002 - npc skill
// 0x00004 - wedding skill
// 0x00008 - spirit skill
// 0x00010 - guild skill
// 0x00020 - song/dance
// 0x00040 - ensemble skill
// 0x00080 - trap
// 0x00100 - skill that damages/targets yourself
// 0x00200 - cannot be casted on self (if inf = 4, auto-select target skill)
// 0x00400 - usable only on party-members (and enemies if skill is offensive)
// 0x00800 - usable only on guild-mates (and enemies if skill is offensive)
// 0x01000 - disable usage on enemies (for non-offensive skills).
// 0x02000 - available skill for SC_AUTOSHADOWSPELL
// 0x04000 - chorus skill
// 0x08000 - skill that ignore bg reduction
// 0x10000 - skill that ignore gvg reduction
// 0x20000 - makes 'self'/'place' skill cannot be casted/placed when near NPC (see 'db/skill_nonearnpc_db.txt' for more options)
// 0x40000 - skill that can hit trap-type skill (inf2 has 0x00080)
// 13 maxcount: max amount of skill instances to place on the ground when
// player_land_skill_limit/monster_land_skill_limit is enabled. For skills
// that attack using a path, this is the path length to be used.
// 14 attack type (none, weapon, magic, misc)
// 15 Blowcount (amount of tiles skill knockbacks)
// 16 inf3 (skill information 3):
// 0x00001 - skill ignores land protector
// 0x00002 - free
// 0x00004 - usable skills while hiding
// 0x00008 - skill that can be use while in dancing state
// 0x00010 - skill that could hit emperium
// 0x00020 - skill ignores SC_STASIS
// 0x00040 - skill blocked by kagehumi
// 0x00080 - skill range affected by AC_VULTURE
// 0x00100 - skill range affected by GS_SNAKEEYE
// 0x00200 - skill range affected by NJ_SHADOWJUMP
// 0x00400 - skill range affected by WL_RADIUS
// 0x00800 - skill range affected by RA_RESEARCHTRAP
// 0x01000 - skill that does not affect user that has NC_HOVERING active
// 0x02000 - skill that can be using while riding warg
// 0x04000 - skill that can't be used while in mado
// 0x08000 - skill that can be used to target while under SC__MANHOLE effect
// 0x10000 - skill that affects hidden targets
// 0x20000 - skill that affects SC_GLOOMYDAY_SK
// 0x40000 - skill that is affected by SC_DANCEWITHWUG
// 0x80000 - skill blocked by RA_WUGBITE
// 17 Name
// 18 Description

132
db/import-tmpl/skill_db.yml Normal file
View File

@@ -0,0 +1,132 @@
# This file is a part of rAthena.
# Copyright(C) 2019 rAthena Development Team
# https://rathena.org - https://github.com/rathena
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
###########################################################################
# Skill Database
###########################################################################
#
# Skill Settings
#
###########################################################################
# - Id Unique skill ID.
# Name Skill Aegis name.
# Description Skill description.
# MaxLevel Max skill level.
# Type Skill type. (Default: None)
# TargetType Skill target type. (Default: Passive)
# DamageFlags: Skill damage properties.
# Flags: Skill information flags.
# Range: Skill range. (Default: 0)
# - Level Skill level.
# Size Range at specific skill level.
# Hit Skill hit type. (Default: Normal)
# HitCount: Skill hit count. (Default: 0)
# - Level Skill level.
# Count Number of hits at specific skill level.
# Element: Skill element. (Default: Neutral)
# - Level Skill level.
# Element Element at specific skill level.
# SplashArea: Skill splash area of effect. (Default: 0)
# - Level Skill level.
# Area Splash area at specific skill level.
# ActiveInstance: Maximum amount of active skill instances that can be on the ground. (Default: 0)
# - Level Skill level.
# Max Active instances at specific skill level.
# Knockback: Amount of tiles the skill knockbacks. (Default: 0)
# - Level Skill level.
# Amount Knockback count at specific skill level.
# CopyFlags: Determines if the skill is copyable. (Optional)
# Skill: Type of skill that can copy.
# RemoveRequirement: Remove a requirement type. (Optional)
# NoNearNPC: Determines if the skill can be used near a NPC. (Optional)
# AdditionalRange Number of cells from an NPC where the skill can be cast. (Optional)
# Type: Type of NPC.
# CastCancel Cancel cast when hit. (Default: true)
# CastDefenseReduction Defense reduction rate during skill cast. (Default: 0)
# CastTime: Time to cast the skill in milliseconds. (Default: 0)
# - Level Skill level.
# Time Cast time at specific skill level in milliseconds.
# AfterCastActDelay: Time the character cannot use skills in milliseconds. (Default: 0)
# - Level Skill level.
# Time After cast action delay at specific skill level in milliseconds.
# AfterCastWalkDelay: Time before the character can move again in milliseconds. (Default: 0)
# - Level Skill level.
# Time After cast walk delay at specific skill level in milliseconds.
# Duration1: Duration of the skill in milliseconds. (Default: 0)
# - Level Skill level.
# Time Skill duration at specific skill level in milliseconds.
# Duration2: Duration of the skill in milliseconds. (Default: 0)
# - Level Skill level.
# Time Skill duration at specific skill level in milliseconds.
# Cooldown: Time before the character can use the same skill again in milliseconds. (Default: 0)
# - Level Skill level.
# Time Cooldown at specific skill level in milliseconds.
# FixedCastTime: Time that is fixed during cast of the skill in milliseconds. (Default: 0)
# - Level Skill level.
# Time After cast action delay at specific skill level in milliseconds.
# CastTimeFlags: Effects of the skill's cast time. (Optional)
# CastDelayFlags: Effects of the skill's delay. (Optional)
# Requires: List of requirements to cast the skill. (Optional)
# HpCost: HP required to cast. (Default: 0)
# - Level Skill level.
# Amount HP required at specific skill level.
# SpCost: SP required to cast. (Default: 0)
# - Level Skill level.
# Amount SP required at specific skill level.
# HpRateCost: HP rate required to cast. If positive, uses current HP, else uses Max HP. (Default: 0)
# - Level Skill level.
# Amount HP rate required at specific skill level.
# SpRateCost: SP rate required to cast. If positive, uses current SP, else uses Max SP. (Default: 0)
# - Level Skill level.
# Amount SP rate required at specific skill level.
# MaxHpTrigger: Maximum amount of HP to cast the skill. (Default: 0)
# - Level Skill level.
# Amount Maximum HP trigger required at specific skill level.
# ZenyCost: Zeny required to cast. (Default: 0)
# - Level Skill level.
# Amount Zeny required at specific skill level.
# Weapon: Weapon required to cast. (Default: All)
# Ammo: Ammo required to cast. (Default: None)
# AmmoAmount: Ammo amount required to cast. (Default: 0)
# - Level Skill level.
# Amount Ammo amount required at specific skill level.
# State Special state required to cast. (Default: None)
# Status: Status change required to cast. (Default: nullptr)
# SphereCost: Spirit sphere required to cast. (Default: 0)
# - Level Skill level.
# Amount Spirit sphere required at specific skill level.
# ItemCost: Item required to cast. (Default: 0)
# - Item Item name.
# Amount Item amount.
# Equipment: Equipped item required to cast. (Default: nullptr)
# Unit: Skill unit values. (Optional)
# Id Skill unit ID.
# AlternateId: Alternate skill unit ID. (Default: 0)
# Layout: Skill unit layout. (Default: 0)
# - Level Skill level.
# Size Unit layout at specific skill level.
# Range: Skill unit range. (Default: 0)
# - Level Skill level.
# Size Unit range at specific skill level.
# Interval Skill unit interval in milliseconds. (Default: 0)
# Target Skill unit target type. (Default: All)
# Flag: Skill unit flags. (Default: None)
###########################################################################
Header:
Type: SKILL_DB
Version: 1

Some files were not shown because too many files have changed in this diff Show More