Compare commits

...

990 Commits

Author SHA1 Message Date
aleos89
5b92ccf2a0 Merge branch 'master' into hotfix/issue3589 2019-04-02 13:56:16 -04: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
6152e33097 Corrected item bonuses SkillAtk and SubSkill
* Fixes #3589.
* Corrected item bonuses SkillAtk and SubSkill granting too much damage.
Thanks to @laziem!
2019-01-15 17:44:54 -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
Lemongrass3110
8c7cd293e0 Added support for missing 2018 clients
This will add support for all clients after 2018-03-07bRagexeRE.
This will work as long as Gravity does not add obfuscation or shuffling back in their clients.
2018-04-25 22:34:15 +02:00
Lemongrass3110
4ffb1b043a Reverted 0184671
This commit broke the "clear" command, which only required 2 columns.
2018-04-25 22:17:52 +02:00
rAthenaAPI
d623b1fa11 SQL synchronization 2018-04-24 23:00:50 +02:00
rAthenaAPI
94e6893087 Mob and NPC Identity Update 2018-04-24 23:00:36 +02:00
rAthenaAPI
10782d83ed SQL synchronization 2018-04-24 05:00:42 +02:00
rAthenaAPI
ae65e2e248 Mob and NPC Identity Update 2018-04-24 05:00:31 +02:00
Aleos
0184671094 Updated item_group_db column requirements (#3068)
Fixes #3065.
Should require 3 columns, not 2.
Thanks to @RadianFord!
2018-04-23 23:22:16 +02:00
rAthenaAPI
4a022e19a2 SQL synchronization 2018-04-23 19:08:15 +02:00
Aleos
963d9b04aa Removed ranged attack bonus from Hunting Arrow (#3069)
* Fixes #3067.
* Bonus should only apply when arrow is equipped with Hunter Bow.
Thanks to @teededung!
2018-04-23 13:08:06 -04:00
Cydh Ramdh
c4d3f0fd25 Item Bonus Documentation update
Updated doc for `bHPGainValue`, `bSPGainValue`, and `bSPGainRace`. To avoid a mislead, added "melee" word.
2018-04-22 12:23:24 +07:00
Lemongrass3110
55bf142ab8 Follow up to d13d6a6
Thanks to @RadianFord
2018-04-20 22:53:09 +02:00
Lemongrass3110
aaffbaaa14 Added ZC_NPCACK_SERVERMOVE2
Thanks to @mrdiablo
2018-04-20 22:44:35 +02:00
Lemongrass3110
2c68db9faa Fixed a few problems with homunculus autofeed (#3062) 2018-04-20 19:22:13 +02:00
rAthenaAPI
7df4c6b80a SQL synchronization 2018-04-20 18:24:29 +02:00
Lemongrass3110
d13d6a6e19 Changed SI_ enum to the official EFST_ enum (#2995) 2018-04-20 18:24:20 +02:00
rAthenaAPI
24abd2a4ee SQL synchronization 2018-04-20 15:37:31 +02:00
rAthenaAPI
33e3680995 Mob and NPC Identity Update 2018-04-20 15:37:20 +02:00
Kisuka
872eb00c55 Added mailmap file to coalesce together commits. (#2502)
If you want to be added to the list or want your mail address adjusted, please feel free to contact us.

Thanks to @kisuka for the original idea and the initial file.
2018-04-18 08:46:24 +02:00
Vincent Stumpf
3b385d956a Fix default mob ai spawn (#3054) 2018-04-18 08:00:22 +02:00
Atemo
3a8814ac4e Fixed Regenschirm Guard Laboratory Permit issue (#3056)
Thanks to @juanfus !
2018-04-16 17:01:01 +02:00
rAthenaAPI
7ab7724edd SQL synchronization 2018-04-16 16:55:03 +02:00
Atemo
5a0b72a7d1 Initiale release of Instance isle bios (#3041)
Initial release of isle of Bios instance

* Implemented NPC_COMET
* Adjusted skillratio for NPC_COMET. Thanks to @secretdataz !
* Fixed typo, thanks to @Lemongrass3110 and @zackdreaver !
- Replaced Morroc -> Morocc and Reaper Yanku -> Grim Reaper Ankou
* Fixed typo in mob_db.txt, thanks to @talesofragnarok 

Thanks to https://www.divine-pride.net/ for a lot of information !
2018-04-16 16:54:53 +02:00
Atemo
aee83557a9 Corrected a NPC name in academy.txt
Fixed #3048

Thanks to @Angelic234 !
2018-04-16 15:26:38 +02:00
rAthenaAPI
a360fa1142 SQL synchronization 2018-04-14 20:49:37 +02:00
Atemo
282012a8a1 Fixed #3050
- Corrected location of Noble Mask (item ID 5985) and it refineable value

Thanks to @Questune09
2018-04-14 20:48:43 +02:00
Atemo
d21e4df512 Corrected some quests parameter of Episode 15 in quest_db.txt 2018-04-13 19:39:23 +02:00
Aleos
524260183e Corrected Homunculus healing (#3047)
* Fixes #3013.
* Homunculus should only be automatically healed at creation.
Thanks to @Thekobe and @Lemongrass3110!
2018-04-11 21:52:40 -04:00
Lemongrass3110
5b13dc7009 Added script command mail (#3043) 2018-04-12 00:46:01 +02:00
Lemongrass3110
cc63bb594f Follow up to 07e2bf0
Fixed a missing switch case.

Thanks to @teededung and @RadianFord.
2018-04-11 14:50:35 +02:00
Jittapan Pluemsumran
e2b9e42b7d Cleaned up custom battleground scripts (#3025)
Added a warning to script command delwall
2018-04-11 11:22:29 +02:00
rAthenaAPI
73d471b81b SQL synchronization 2018-04-11 10:31:01 +02:00
Crazy Arashi
05dd7b31d5 Phantasmagorika Mobskill Placeholder (#2791)
Phantasmagorika Mobskill gathered from jRO
2018-04-11 10:30:51 +02:00
rAthenaAPI
f046d6e69e SQL synchronization 2018-04-10 19:39:23 +02:00
Jittapan Pluemsumran
07e2bf09af Made the second parameter for bonus script command optional (#2902)
* Made the second parameter for bonus script command optional

* Updated item scripts to reflect the bonus command change
2018-04-10 19:38:56 +02:00
Lemongrass3110
25f2626cf8 Removed a stack push from getvar (#2912)
Fixes #2891.
Thanks to @sader1992!
2018-04-10 12:27:48 -04:00
rAthenaAPI
7157dad0b9 SQL synchronization 2018-04-10 17:03:16 +02:00
BrOgBr
7a361690ef New items, some fixes and missing duplicates (#2954)
Fixes #2953
Fixes #2987

Thanks to @llchrisll, @zackdreaver, @Atemo and @Lemongrass3110
2018-04-10 17:03:06 +02:00
Aleos
8893ef1ccf Resolved storage saving on server crash (#3028)
* Fixes #3023.
* Properly save inventory and cart when closing storage and premium storages for the save_settings config.
Thanks to @Encon21!
2018-04-09 19:31:36 -04:00
Atemo
cdae404e6a Updated getunitdata / setunitdata (#3029)
Added the possibility to retrieve / change the current target id of a Mob, Homunculus, Mercenary and Elemental through getunitdata / setunitdata
2018-04-10 00:23:22 +02:00
Vincent Stumpf
f948b9a665 No matter what MAX_ITEM_RDM_OPT is, send 5 random options (#3040)
Thanks to @syracuase for the hint with RODEX
2018-04-08 23:33:15 +02:00
Atemo
dca8cc6027 Fixed typos in Phantasmagorika quests (#3026)
* Fixed typos in Phantasmagorika quests

Thanks to @Rolfxx !
2018-04-08 18:37:39 +02:00
Vincent Stumpf
ec1470b613 Corrected item_db script curly parsing (#2998)
* Fixes #2964
* Correctly finds the last right curly.
Thanks to @ecdarreola
2018-04-07 15:32:59 -07:00
flamefury
7f2c6cf2f5 Apply MHP limit based on bLv (#3003)
* Fixes #814.
* Applies the official maximum HP limit on players.
* Official notice: http://ro.gnjoy.com/news/notice/View.asp?BBSMode=10001&seq=6322
* Levels caps are as follows: Lv 99 = 330k; Lv 150 = 660k; Lv 175 = 1.1m
Thanks to @flamefury!
2018-04-06 12:29:54 -04:00
Aleos
e509930a67 Updated Shadow Chaser skills (#3014)
* Fixes #2972.
* Updated Auto Shadow Spell:
-- Will now trigger even on ranged physical attacks.
-- Increased spell cast level to 3/3/4/4/5/5/6/6/7/7.
* Updated Reproduce:
-- SP penalty for casting spells is now 30% extra.
Thanks to @zackdreaver!
2018-04-05 14:42:25 -04:00
Aleos
1d539c3e99 Corrected a potential integer overflow (#3012)
* Fixes #3001.
* Resolved a potential integer overflow for Magical Bullet damage calculation.
Thanks to @Valacobino!
2018-04-05 14:02:50 -04:00
Lemongrass3110
7901c1b2ff Fixed a compile warning from homunculus autofeed
Thanks to @arby89
2018-04-04 22:20:34 +02:00
Aleos
1efd7b5e2a Adjusted Madogear interaction with skills (#3027)
* Fixes #3022.
* Magnetic Field, Neutral Barrier, and Stealth Field will now end when a player dismounts from a Madogear.
Thanks to @admkakaroto!
2018-04-04 09:50:26 -04:00
Jittapan Pluemsumran
aab5d54945 Added a config for disabling novice/summoner character creation (#3008)
* Added a config for disabling novice/summoner character creation.
* Summoner can no longer be created on pre-renewal by default.
Thanks to @Lemongrass3110 for the help
2018-04-04 16:40:03 +07:00
Lemongrass3110
fdc48770aa Fixed a few typos and language mistakes (#2781)
Thanks to @Everade, @zackdreaver, @Atemo, @Akkarinage and @aleos89.
2018-04-04 10:13:00 +02:00
Lemongrass3110
aff70f6482 Added support for homunculus autofeeding (#3007)
* Added support for homunculus autofeeding
This feature is available in 2017-09-20bRagexeRE or later

Credits to @Asheraf in HerculesWS/Hercules#1898
2018-04-04 13:55:51 +07:00
Sader Fawall
1390930ca5 HotFix getinventorylist (#3033)
* Follow up to f07a1c4.
* Expanded the char array.
Thanks to @RadianFord and @sader1992!
2018-04-03 22:47:46 -04:00
rAthenaAPI
4ae1567e4f SQL synchronization 2018-04-03 19:42:11 +02:00
Aleos
71bf8cc8f6 Corrected Biscuit Stick bonus (#3011)
* Fixes #3004.
* Stat bonus should persist beyond death.
Thanks to @iubantot!
2018-04-03 13:41:41 -04:00
Aleos
f07a1c4b4d Added Random Option item data to getinventorylist (#3030)
* Closes #3021.
* Added Random Option item data to script command getinventorylist return values.
Thanks to @Yuchinin!
2018-04-03 10:40:29 -04:00
Lemongrass3110
170da17844 Dropped an unused declaration 2018-04-03 10:15:46 +02:00
rAthenaAPI
73483a64a1 SQL synchronization 2018-04-02 20:29:03 +02:00
Atemo
e96807cc44 Fixed #3010
Updated Muscle_Fool bonus to +200 VIT rather than +1000 DEF

Thanks to @zackdreaver !
2018-04-02 20:28:25 +02:00
Aleos
333f0dddc8 Corrected ShortWeaponDamageReturn behavior (#2744)
* Fixes #2685.
* Item bonus ShortWeaponDamageReturn should work in all cases.
Thanks to @kyeme and @zakudam!
2018-03-20 12:07:10 -04:00
Jittapan Pluemsumran
41ea1531bc Prevent unloadnpc script command to unload the invoking NPC. (#3000)
* Prevent unloadnpc script command to unload the invoking NPC.
Addressed #2999
2018-03-20 21:56:11 +07:00
Valacobino
bde3aeb9e8 Fixes a map-server crash when using @showmobs (#2997) 2018-03-18 18:28:51 +01:00
Lemongrass3110
db8234b9ee Fixed a missing comma in atcommand.cpp
Fixes #2993

Thanks to @arby89
2018-03-18 12:19:52 +01:00
Aleos
9bbb4cb5b9 Corrected Lightning Walk requirements (#2984)
* Fixes #2974.
* Corrected SP consumption.
* Corrected spirit sphere consumption.
Thanks to @admkakaroto!
2018-03-16 13:22:21 -04:00
Aleos
378322592e Corrected guild storage saving (#2957)
* Fixes #2946.
* Resolves players being unable to transfer items when the character data is saved while a guild storage is open.
Thanks to @CodexRegius!
2018-03-16 13:06:02 -04:00
Chisee
794f497914 Corrects Spirit/Charm absorption behaviour on Ninja Spirit Charm (#2980)
* Fixes #2087.
* The conditional was missing a check on Kagero/Oboro's Spirit Charm, therefore not removing the charms nor applying SP regeneration on caster.
Thanks to @Chisee!
2018-03-16 12:50:19 -04:00
Aleos
ad5416e271 Corrected Shadow Warrior double attack rate (#2988)
* Fixes #2968.
* The rate of double attack should match the rate of Thief's Double Attack even levels.
* Confirmed that the double attack bonus does not work when weapons are not equipped.
Thanks to @redlightliu!
2018-03-16 12:35:18 -04:00
Daegaladh
987ec9bdce Fixed turbo track fee and min level in solo mode 2018-03-16 16:58:29 +01:00
Lemongrass3110
a16fe436e3 Disabled achievement NPCs if feature is disabled (#2986)
Fixes #2983

Thanks to @zackdreaver
2018-03-15 07:27:08 +01:00
rAthenaAPI
fb80bd3ac2 SQL synchronization 2018-03-15 02:12:15 +01:00
Aleos
609b6177e5 Corrected Parasite Card script (#2985)
* Fixes #2973.
* Should reduce damage received from Formless race monsters.
Thanks to @zackdreaver!
2018-03-14 21:11:36 -04:00
s8nozieb
fcd181231d Added missing documentation for mapflag nobranch (#2981) 2018-03-14 23:07:26 +01:00
Lemongrass3110
f338d53c2c Added support for clients up to 2018-03-07bRagexeRE (#2975)
Thanks to @4144 as always
Credits to @dastgir and the leaked 2015 dump for the quest packets
Thanks to @idamonli for testing and feedback
2018-03-14 23:05:01 +01:00
rAthenaAPI
c1b9ee8694 SQL synchronization 2018-03-11 19:49:30 +01:00
zackdreaver
d0d4250832 Costumes update (#2961)
Signed-off-by: zackdreaver <zackdreaver@gmail.com>
2018-03-11 19:49:03 +01:00
Lemongrass3110
42dda258a1 Added new hat effects 2018-03-08 22:24:47 +01:00
rAthenaAPI
bc02c4e054 SQL synchronization 2018-03-08 20:44:51 +01:00
Lemongrass3110
dee40ff4e3 Added items 4951-4969 (#2925)
Added real Loki & Nidhoggur's Hat(19050)

Thanks to @mrdiablo and @Atemo for their help.
2018-03-08 20:44:28 +01:00
rAthenaAPI
40d9d5ab73 SQL synchronization 2018-03-08 00:42:26 +01:00
Lemongrass3110
5c9d7a41a9 Added support for the second summer costume (#2942)
Fixed other costumes being able to be removed by Dispell

Fixes #2788

Thanks to @admkakaroto
2018-03-08 00:41:52 +01:00
Lemongrass3110
a7df035854 Fixed titles only being added on relog (#2945)
Fixes #2944

Thanks to @admkakaroto
2018-03-07 18:57:00 +01:00
rAthenaAPI
9d857836e7 SQL synchronization 2018-03-06 08:54:11 +01:00
Lemongrass3110
d7f226a66b Fixed a few issues with TXT item db parsing (#2940)
Fixed an issue with comments in the middle of the line
Fixed the curly mismatches not being reported

Fixes #2938

Thanks to @kaninhot004
2018-03-06 08:54:00 +01:00
BrOgBr
a8ca85d514 Fixed Malangdo Culvert Warp (#2951)
Fixed a minor error at Malangdo Culvert Instance's warp.
*Fixes #2950

Thanks to @llchrisll
2018-03-05 07:59:59 +01:00
Daegaladh
96a594262b Fixed Frenzy (LK_BERSERK) job level requirement. 2018-03-05 00:56:03 +01:00
s8nozieb
39ba3d600b Fixed typo in BUILDIN_FUNC(sleep) (#2949)
[ci skip]
2018-03-04 13:02:26 +07:00
Daegaladh
5f34efdf7a Fixed no reiteration unit skills fail message back to USESKILL_FAIL_LEVEL. 2018-03-01 19:49:26 +01:00
Daegaladh
6f91de806c Fixed party_skill_check not updating the party members 2018-03-01 00:31:33 +01:00
Daegaladh
99af1a4471 Fixed default traps invisibility setting for renewal (#2934) 2018-02-28 21:58:14 +01:00
Aleos
31e2871d7e Resolved renewal ASPD and two-handed weapons (#2933)
* Fixes #2930.
* Follow up to 267fd3e.
* Fixes ASPD dropping drastically for two-handed weapons.
Thanks to @luan122 and @Tokeiburu!
2018-02-27 13:49:53 -05:00
Lemongrass3110
a0a55dada1 Fixed unitwalkto calls in unit walk events (#2913)
* Fixes #2341.
* Fixed unitkill for mobs inside the walk event.
* Also fixed the state tracking of the walk event script.
Thanks to @Atemo!
2018-02-27 13:33:12 -05:00
Jittapan Pluemsumran
7188619325 Added a new packet for the equipment swap system (#2932)
* Changed introduction client date for packet 0x0ACE
2018-02-26 19:00:35 -05:00
Lemongrass3110
f6e0a0a344 Added support for 2018-02-13aRagexeRE
Thanks to @4144
2018-02-27 00:20:27 +01:00
Daegaladh
c1081f434a Merge pull request #2928 from Daegaladh/hotfix/bs_skintemper
Fixed Skin Tempering (BS_SKINTEMPER) fire resistance percentage.
2018-02-26 16:24:59 +01:00
Daegaladh
b989844fcc Fixed Sheltering Bliss (CG_MOONLIT) max level
Wrong since it's first implementation 12 years ago.
2018-02-25 23:05:02 +07:00
Daegaladh
a40b69f378 Fixed Skin Tempering (BS_SKINTEMPER) fire resistance percentage.
iRO wiki is wrong, it's 5% per level.
2018-02-23 20:34:59 +01:00
aleos89
fdb7aefdd8 Corrected Power Swing weapon requirement
* Fixes #2904.
* All weapons are usable, not limited to just Axe types.
Thanks to @Badarosk0!
2018-02-23 14:23:12 -05:00
Lemongrass3110
38a00aa54b Added map_msg_mal.conf
If someone wants to translate some messages feel free to create a pull request for it!

Fixes #2927

Thanks to @hendra814
2018-02-23 11:32:27 +01:00
Jittapan Pluemsumran
1e766a7b4a Converted pet_data::petDB into a getter function (#2901)
* Converted pet_data::petDB into a getter function
Fixed #2900
Thanks to @Lemongrass3110
2018-02-23 17:14:46 +07:00
Lemongrass3110
c16b7b1795 Fixed display of newly added pet eggs in storage (#2911)
Fixes #2864

Thanks to @talesofragnarok for reporting and @aleos89 for confirmation.
2018-02-23 01:46:27 +01:00
rAthenaAPI
46dbf857ee SQL synchronization 2018-02-23 01:25:18 +01:00
rAthenaAPI
e9919620b6 Mob and NPC Identity Update 2018-02-23 01:24:47 +01:00
rAthenaAPI
3b3fc07e71 SQL synchronization 2018-02-23 01:14:32 +01:00
Aleos
d4c1a57fb5 Cleaned up atcommand accinfo leftovers (#2926)
* Follow up to 2746e0d
* Cleaned up some variable assignments when parsing the packet.
* Updated packet documentation.
* Freed message 220.
Thanks to @RadianFord and @Lemongrass3110!
2018-02-22 17:14:20 -05:00
Aleos
5e354494b2 Corrected Disarm and Steal Coin formulas (#2890)
* Fixes #2889.
* Updated Disarm's strip chance.
* Updated Steal Coin's steal chance.
* Updated Steal Coin's zeny amount.
Thanks to @mrjnumber1and @Lemongrass3110!
2018-02-22 16:58:06 -05:00
Daegaladh
1e2032cc21 Fixed Endow skills to match official behavior. (#2918)
* Endows are now interchangeable.
* No longer break the weapon on failure and now unequips instead.
Thanks to @Daegaladh!
2018-02-22 16:23:11 -05:00
flamefury
5998cca3b7 Cart Termination should be affected by % effects (#2924)
* Fixes #253.
* Only applies to renewal mode.
Thanks to @raynra and @flamefury!
2018-02-22 16:05:35 -05:00
inhyositsu
fe575ddac8 Changing DBMap into STL::Map in C++ for guild storage (#2915) 2018-02-22 21:48:25 +01:00
rAthenaAPI
749bb60be7 SQL synchronization 2018-02-22 11:16:59 +01:00
Jittapan Pluemsumran
97c1e8b9ee Fixed STR/INT/VIT Biscuit Sticks item script. Fixed #2841 (#2846)
Thanks to @laziem
2018-02-22 17:16:48 +07:00
Lemongrass3110
3c41d4eeb0 Fixed item creation with full inventory (#2914)
* Fixes #2858.
* Prevented items from being created if adding them to the inventory failed for whatever reason.
* Introduced a new config that allows to keep the old behavior.
Thanks to @Artuvazro and @Daegaladh!
2018-02-21 19:42:49 -05:00
rAthenaAPI
839f738565 SQL synchronization 2018-02-21 00:54:24 +01:00
BrOgBr
7bb35d28ba Reactors from Charleston Instance (#2921)
* Reactors from Charleston Instance

These Reactors are from Charleston Instance: https://www.novaragnarok.com/forum/news/excellion-patch-notes-r163/

* Correct Names.

Thanks to NovaRO.

* Fixed scripts from some reactors.

Thanks to @Atemo
2018-02-21 00:54:03 +01:00
Cydh Ramdh
eaf44078bf Set max Zeny to 2,147,483,647 (#2756)
* This is the client's limitation.
2018-02-20 17:32:36 -05:00
rAthenaAPI
0f5542f666 SQL synchronization 2018-02-20 23:13:15 +01:00
Cydh Ramdh
d3ea313b8c Removed unnecessary RC_PLAYER item bonuses (#2800)
* Removed unnecessary RC_PLAYER item bonuses

Signed-off-by: Cydh Ramdh <cydh@pservero.com>

* Follow up for pre-re items
2018-02-20 23:12:26 +01:00
Atemo
6e0187bc2b * Initial release of dimensional travel quest (access to flame bassin) (#2775)
* * Initial release of dimensional travel quest (access to flame bassin)

* Include misc npcs related to ep14.3

* Implementation of NPC_DEATHSUMMON - summon monsters at the location of master grave.

Thanks @ecdarreola, @rye305 for testing
Thanks to https://www.divine-pride.net/ !
2018-02-20 23:11:56 +01:00
Aleos
0e23f3fec0 Updated Tiger Fist stop duration (#2917)
* Updated Tiger Fist stop duration
* Fixes #2893.
* Updated the stop duration to match official values.
Thanks to @mrjnumber1!
2018-02-20 16:56:26 -05:00
aleos89
6411a1d4ff Follow up to b7d3828
* Fixed a compile error.
2018-02-20 13:26:16 -05:00
aleos89
b7d38283d7 Follow up to 267fd3e
* Fixed a compile error.
2018-02-20 13:18:51 -05:00
aleos89
267fd3e6db Corrected renewal ASPD off-hand calculation
* The case of unarmed and weapon (off-hand) resulted in the ASPD not being calculated properly.
* kRO includes the 1/4th ASPD penalty for off-hand weapons.
Thanks to @Tokeiburu!
2018-02-20 13:13:48 -05:00
Aleos
6e5de84a2a Updated guild skill Guard Up (#2908)
* Fixes #2854.
* Updated guild skill Guard Up bonuses for pre-renewal and renewal.
* Removed SP adjustment as mobs don't have SP checks.
Thanks to @mrjnumber1!
2018-02-20 10:11:13 -05:00
secretdataz
dfe279fb0f Fixed compatibility with some newer MySQL client library derivatives 2018-02-20 15:51:56 +07:00
rAthenaAPI
f3520e56ea SQL synchronization 2018-02-19 23:25:06 +01:00
Atemo
4fef4d0480 Corrected the amount of slots of Spartacus (item ID 1835).
Thanks @BrOgBr !
2018-02-19 23:24:30 +01:00
rAthenaAPI
11dc0f6852 SQL synchronization 2018-02-18 18:01:47 +01:00
Yudi Maharlika
77f75c0510 Corrected missing ATK / MATK bonus From Old Wind Whisper (Item ID 18980) (#2822)
* Corrected missing ATK / MATK bonus From Old Wind Whisper (Item ID 18980)
* Source : https://www.divine-pride.net/database/item/18980
* Thanks to Divine Pride and TheDerpySupport
2018-02-18 18:00:39 +01:00
Sader Fawall
ead017b396 Clear script command(#2840) 2018-02-18 17:47:41 +01:00
Lemongrass3110
132feeb621 Made mercenary db dynamic (#2883)
Removed hard limit of the mercenary database
Cleaned up the hard coded duplicated logic
Turned hard coded mercenary ids into constants
2018-02-18 17:15:09 +01:00
Daegaladh
7f9f185c58 Fixed athena-start newlines not set to unix type (#2916) 2018-02-16 16:11:21 +01:00
Aleos
02983c4f63 Fixed Mystical Amplification and Chain Lightning (#2907)
* Fixes #2897.
* Mystical Amplification should only boost the damage for the first Chain Lightning attack.
Thanks to @admkakaroto!
2018-02-16 09:43:49 -05:00
Aleos
d2c5ca99fa Updated Masquerade - Weakness behavior (#2909)
* Fixes #2905.
* Players can no longer equip weapons/shields while the status is active.
Thanks to @Everade!
2018-02-15 22:24:12 -05:00
Aleos
a40b1da4d0 Updated Cultivation plant spawn formula (#2910)
* Fixes #2892.
* Corrected level 2 Cultivation formula for spawning plants.
Thanks to @mrjnumber1!
2018-02-15 21:49:12 -05:00
Daegaladh
2ecb30abb2 Fixed AL_HOLYWATER behavior (#2860)
* Fixes #2853.
* Holy Water should not cast or consume SP when the player has no empty bottles, both in water (and water skills) and outside water.
Thanks to @Daegaladh!
2018-02-15 19:00:11 -05:00
Lemongrass3110
2746e0d351 Removed password output from atcommand accinfo
Thanks to @4144 for bringing this absurd thing to our attention in HerculesWS/Hercules#1975
2018-02-15 23:19:27 +01:00
Lemongrass3110
e1b9d24324 Added support for 2018-02-07bRagexeRE
Thanks to @4144
2018-02-15 17:27:06 +01:00
Maytichai Saowa
e43f03add6 Fix atcommands.txt ban > Charban 2018-02-15 20:50:27 +07:00
rAthenaAPI
0396011819 SQL synchronization 2018-02-15 05:17:30 +01:00
Jittapan Pluemsumran
cacf450daf Fixed some autobonus scripts in item_db 2018-02-15 11:16:55 +07:00
rAthenaAPI
b48f0e8896 SQL synchronization 2018-02-10 15:37:35 +01:00
BrOgBr
41dbb30f64 More Items Correction (In general Equips) And new item 1835 (#2828)
* More Items Correction (In general Equips) And new item 1835

Most errors in Item's Script. (but in some items, Weight and ATK/MATK rate too)

And new item "1835" Spartacus [2].

Special thanks to @sader1992, @Lemongrass3110 and Haruka Mayumi. (helped with some script).
Thanks to @aleos89 !
2018-02-10 15:37:12 +01:00
Lemongrass3110
9d4fa62e65 Fixed a bug with pin code on 2018-01-24
The button to access pin code menu after entering the correct code was likely removed in this client.
It was rendered in between all the characters if we send out the PASSED state instead of the OK state.

Thanks to Bruno
2018-02-10 02:31:29 +01:00
Lemongrass3110
afab80fb6e Updated card seller (#2851)
* Updated card seller

Fixes #2844

Thanks to @vstumpf, @Atemo !
2018-02-09 19:55:54 +01:00
Aleos
75a8f520a6 Corrected Heat Barrel bonuses (#2882)
* Fixes #2875.
* Attack was not factoring in coins.
* Corrected fixed cast time to also factor in coins.
Thanks to @rye305!
2018-02-09 13:27:39 -05:00
Atemo
3bcb37bf86 Workaround to solve issue with news cards in enchants NPCs (#2795)
* Workaround to solve issue with news cards in enchants NPCs

Thanks to @Lemongrass3110, @Everade !
2018-02-09 19:06:21 +01:00
Atemo
139f6f2538 Hotfix for issue #2879 (#2888)
* Fixed issue #2879
Little clean-up of kafra functions
2018-02-09 17:26:40 +01:00
Lemongrass3110
8792960df2 Added support for 2018-01-24 (#2884)
In this client the new character select and cash shop UI from Ragnarok Zero were merged into the Sakray client.
Increased MAX_CHARS to 15 to fit the new character select
Added possibility to overwrite MAX_CHARS in defines_pre.h

As always thanks to @4144 for the shuffle packets and keys.
2018-02-09 15:35:58 +01:00
Jittapan Pluemsumran
62d3021764 Merge pull request #2881 from flamefury/hotfix/runeMasteryQty
Rune Mastery Lv5 can create 2 rune stones
2018-02-08 21:21:16 +07:00
flamefury
31d725554d Merge branch 'hotfix/runeMasteryQty' of https://github.com/flamefury/rathena into hotfix/runeMasteryQty 2018-02-08 00:12:47 -08:00
rAthenaAPI
fd768c6cc5 SQL synchronization 2018-02-08 02:27:58 +01:00
flamefury
8258df6473 Chance to craft 2 runes starts at RuneMasteryLv5, not 6 2018-02-07 17:26:27 -08:00
Lemongrass3110
eea76c8e62 New mob placeholders 2018-02-08 02:26:22 +01:00
flamefury
82035609d4 Correct the party member ATK bonus of RK_FIGHTINGSPIRIT (#2877)
Fixes #2876
2018-02-07 22:32:00 +01:00
rAthenaAPI
ebbd37be18 SQL synchronization 2018-02-06 16:26:49 +01:00
aleos89
24a9e4c6d2 Corrected True Seyren Windsor Card bonus
* Fixes #2868.
* Item was attempting to grant an invalid skill.
Thanks to @ArcherDs!
2018-02-06 10:23:17 -05:00
Lemongrass3110
2f358d8f5a Updated CI tool configurations (#2852)
Fixed permissions for the created MySQL user.
Switched travis to a matrix form.
2018-02-02 15:57:45 +01:00
Lemongrass3110
31988abd19 Changed forking reference link (#2848) 2018-01-30 22:40:46 +01:00
Aleos
4171cd1801 Updates Rolling Cutter counter behavior (#2837)
* Fixes #2835.
* Rolling Cutter counter should only be reset on physical click-walks, not by any other movement.
Thanks to @ecdarreola and @secretdataz!
2018-01-30 14:15:42 -05:00
rAthenaAPI
c5789f1e27 SQL synchronization 2018-01-30 18:11:20 +01:00
Lemongrass3110
1a560dd0b9 Implemented heroes trail cards (#2839)
* Implemented cards for Heroes' Trail instances
Thanks to @Lemongrass3110 and @Atemo for their help!
2018-01-31 00:10:57 +07:00
Aleos
f2c7384890 Cleaned up Miracle damage bonus (#2811)
* Cleaned up Miracle damage bonus
* Fixes #2809, #2823.
* Moved the bulk of the checks outside of the status change check.
* This was possibly preventing the bonus from being applied when no statuses are active.
Thanks to @Dakado!
* Fixed Star Gladiator's SLS Wrath ATK calculation to match official servers.
2018-01-28 23:20:59 +07:00
Maytichai Saowa
db4e9b2565 Fixed minor style typo in clif_obfuscation.hpp (#2845) 2018-01-28 22:10:09 +07:00
Daegaladh
de9b4efd1a Fixed required weapon messages. (#2808)
Fixes #2804 

Thanks to @Daegaladh
2018-01-27 00:26:51 +01:00
Lemongrass3110
ec59e95520 Fixed a problem with instance_db import
Fixes #2824

Thanks to @luan122
2018-01-25 19:08:56 +01:00
Lemongrass3110
bb0dd7b8dc Fixed mapserver crash on script command warp (#2766)
Fixes #2765

Thanks to @LunarSHINING
2018-01-24 19:30:05 +01:00
Lemongrass3110
3a8c8a9da4 Cleaned up whisper code between map-servers (#2763)
Fixes #2760
Fixes #2762

Thanks to @LunarSHINING
2018-01-24 18:33:09 +01:00
Lemongrass3110
c4a57c571c Added support for 2018-01-17aRagexeRE
Fixed char select on 2018 clients
2018-01-24 00:41:38 +01:00
Artuvazro
e9bb1064ee Updated Spanish message conf (#2813)
* Updated translation with missing lines and several linguistic fixes.
Thanks to @Artuvazro!
2018-01-23 09:53:24 -05:00
rAthenaAPI
eb1635fc56 SQL synchronization 2018-01-22 00:17:16 +01:00
Lemongrass3110
585f419ee2 Synced mob skill db (#2776)
Fixed Amdarias' Vampire Gift cast rate
2018-01-22 00:16:35 +01:00
rAthenaAPI
2ba3c9dcf4 SQL synchronization 2018-01-21 22:48:34 +01:00
syracuase
8530a7b1fe Job Level check for Blacksmith and Alchemist (#2819)
* Job Level check for Blacksmith and Alchemist
2018-01-21 14:51:38 +01:00
aleos
fe9f1ace66 Corrected 'Reborn in Valhalla' achievement
* Removed the base level requirement as it's not needed.
Thanks to @Atemo!
2018-01-20 10:54:22 -05:00
aleos
a8976dd2ac Added combos for Legionaire Helm
* Fixes #2812.
* Adds missing combos for Pike, Pike [3], Pike [4], Gladius, Gladius [2], Gladius [3], and Strong Shield [1].
Thanks to @AzarthMZintos!
2018-01-19 17:22:58 -05:00
Sader Fawall
31bd28df44 hotfix sleep error Geffen Magic Tournament (#2815) 2018-01-18 19:35:36 +01:00
rAthenaAPI
d306f1711c SQL synchronization 2018-01-16 22:49:53 +01:00
aleos
8616332f24 Corrected Strawberry Decoration sets
* Fixes #2792.
* Added the missing HP bonus for Tasty Strawberry Hat (18852).
* Added the missing combo bonus for Tasty Strawberry Hat (18853).
* Corrected the buy price and equip level for Strawberry Decoration.
Thanks to @win4517!
2018-01-16 16:49:26 -05:00
rAthenaAPI
59fead3231 SQL synchronization 2018-01-16 22:39:49 +01:00
aleos
805114c3f4 Corrected Old Glast Heim items
* Fixes #2801.
* Added Colorful Key.
* Corrected item buy prices.
* Corrected item weights.
* Corrected item name Flashy Brooch to Colorful Brooch.
Thanks to @BrOgBr!
2018-01-16 16:39:20 -05:00
rAthenaAPI
a6a2c4301b SQL synchronization 2018-01-13 18:03:41 +01:00
Yudi Maharlika
d04d307e61 Fixes missing item view on Lapine Shield (2198) and White Gold Shield… (#2798)
* Fixes missing item view on Lapine Shield (2198) and White Gold Shield (2196)
* Missing item view on shield causing shield-related spell cannot be used.

* Added View ID on Lian Shield (2195)

* Fixed View ID Lian Shield, Lapine Shield, and White Gold Shield
Thanks to @Atemo
2018-01-13 18:03:16 +01:00
Aleos
2e90136dc3 Corrected Reverberation behavior (#2758)
* Fixes #2757.
* Reverberation will no longer trigger the cast animation on the caster when a target walks into it.
Thanks to @MrAntares!
2018-01-12 10:45:52 -05:00
Jittapan Pluemsumran
0ccf309ccc your -> you are* 2018-01-11 16:42:19 +07:00
Lemongrass3110
7a0f3d0eaf Added RagexeRE support until 2018-01-03
Thanks to @4144
2018-01-10 22:44:10 +01:00
Lemongrass3110
16780638be Fixed a few name typos with Niflheim (#2782)
Thanks to @Daegaladh for his input
2018-01-09 23:36:20 +01:00
Jittapan Pluemsumran
48d79cef43 Don't allocate space for new castle data if castle with the same ID already exists. Fixed #2793.
Thanks to @Daegaladh
2018-01-09 19:44:56 +07:00
rAthenaAPI
6ed40baad1 SQL synchronization 2018-01-09 05:48:29 +01:00
admkakaroto
5e0d3e54ce Small bonus correction MATK in the item 'Infinity Dagger'.
Font: https://raw.githubusercontent.com/zackdreaver/ROenglishRE/master/System/itemInfo.lua
2018-01-09 11:48:09 +07:00
rAthenaAPI
6aa3e88f61 SQL synchronization 2018-01-08 08:05:24 +01:00
Yudi Maharlika
a524e39a0f Fixes Badge Of Order Grace missing bonus (#2790)
Added ATK, MATK, and Max HP Bonus
Source : https://www.divine-pride.net/database/item/5825
2018-01-08 08:05:15 +01:00
Lemongrass3110
a65e7dbf46 Fixed F_SexMes call
Fixed #2785

Thanks to @insanchen
2018-01-07 21:07:34 +01:00
Yudi Maharlika
a6818eb501 Fixes typo in atcommand.cpp that makes atcommand @accept after duel cannot be used because of limit player reached. (#2778) 2018-01-07 11:30:37 -05:00
Atemo
1f7ceabbb1 Fixed #2783
Thanks to @insanchen !
2018-01-07 16:59:23 +01:00
rAthenaAPI
81d2531bf4 SQL synchronization 2018-01-07 16:37:43 +01:00
Atemo
ad53dba49b Implemented item "Lunar Rainbow" (#2771)
* Implemented item "Lunar Rainbow"

Fixed #2759

Thanks to @AzarthMZintos !
2018-01-07 16:37:33 +01:00
rAthenaAPI
6fa1a89e1e SQL synchronization 2018-01-07 12:55:09 +01:00
Lemongrass3110
f02cde4e5d Fixed SQL sync
Thanks to @Haikenz
2018-01-07 12:54:53 +01:00
rAthenaAPI
bd1e880d65 SQL synchronization 2018-01-06 21:18:29 +01:00
Atemo
0360137abe Initial release of Phantasmagorika Quests (Walkthrough conversion). (#2215)
Initial release of Phantasmagorika Quests containing

* Phantasmagorika Quests ep 15.1 and 15.2
* Central Lab instance
* The Last Room instance
* News monsters around verus (credits divine-pride.net)

Thanks to @rofasindo @Valorro @jenkijo @ecdarreola @Jeybla !
Special thanks to Divine Pride !
2018-01-06 21:18:02 +01:00
Lemongrass3110
de50a5e304 Fixed a typo in 2008's Christmas event
Thanks to @Everade
2018-01-05 23:22:29 +01:00
rAthenaAPI
5aa26dc925 SQL synchronization 2018-01-05 16:38:50 +01:00
Jittapan Pluemsumran
c04c2e7ef1 Updated Old Glast Heim instance (#1554)
** Updated Old Glast Heim instance
* Changed hardcoded sprite ID for NPCs in Old Glast Heim to constant
* Cleaned up Old Glast Heim NPC dialogues

* Merged OGH merchants from idathena (credits @exneval)

* Updated Old Glast Heim mobs
* Updated stats and skills for all Old Glast Heim mobs.

* Added Modified Boots (Temporal Boots for Oboro/Kagerou, Rebellion) entries.
* Added Gigant Snake Skin + Modified Boots item combo

Thanks to @secretdataz @aleos89 @srhmike @ecdarreola Heris, @zackdreaver @exneval and the reviewers
Special thanks to Divine-Pride.net!
2018-01-05 16:38:38 +01:00
rAthenaAPI
6265964974 SQL synchronization 2018-01-05 16:01:10 +01:00
Lemongrass3110
dea92eef91 New mob placeholders 2018-01-05 16:00:52 +01:00
Technoken
15b6d5cc83 Corrected Cannibalize behavior (#2769)
* Fixes #2768.
* Fixes Cannibalize level 5 spawning multiple Geographer due to a typo.
Thanks to @technoken!
2018-01-04 10:38:28 -05:00
Lemongrass3110
6f01321b27 Merged two similar conditions on mapchange 2018-01-03 22:41:58 +01:00
Lemongrass3110
c4bfe0b122 Fixed a wrong fifohead allocation 2018-01-03 22:31:04 +01:00
Jittapan Pluemsumran
bfb6972c59 Implemented getequiptradability script command (#2750)
Thanks to @aleos89 @anacondaqq @Lemongrass3110
2018-01-03 21:51:38 +01:00
syracuase
d5c6c6d36f Update twintowers.txt (#2764) 2018-01-03 20:45:33 +01:00
rAthenaAPI
7e72809f63 SQL synchronization 2018-01-02 19:47:22 +01:00
Lemongrass3110
8c53679a94 New mob placeholders and npc ids 2018-01-02 19:46:43 +01:00
Cydh Ramdh
32950ecead Updated Item Group features (#2692)
* Added config to hide last chars of player's name `broadcast_hide_name` and its default value is 2.
* Fixed `getgroupitem` that should give unidentified item for equipment types.
* Added optional param for `getgroupitem` and `getrandgroupitem` to always give player identified item, ignores the `itemdb_isidentified`'s check.
* Thanks to @aleos89 @Lemongrass3110
2018-01-02 12:55:52 +07:00
Lemongrass3110
fb966a12e0 Turned pet db into a dynamic map (#2727)
Thanks to @Jeybla, @lighta and @aleos89
2018-01-01 22:57:47 +01:00
rAthenaAPI
ef651df6a4 SQL synchronization 2018-01-01 18:36:43 +01:00
Jittapan Pluemsumran
19e712c87d Fixed Heart Wing Hairband (18563) item script (#2752)
Thanks to @im-mi
2018-01-02 00:36:26 +07:00
Jittapan Pluemsumran
8e45966c24 Fixed combo script for Survivor's Rod + Survivor's Meanteau combo (#2753)
Thanks to @BrOgBr
2018-01-02 00:36:00 +07:00
aleos
5602bb04f8 Follow up to 1f0ea81
* Removed specific job restrictions from atcommand bodystyle.
2017-12-30 15:43:17 -05:00
flamefury
84085d7ecd Evil Marcher Hat script fix (#2742)
* Fixes #2741.
* Added missing Critical Attack bonus.
* Added missing Long Attack bonus.
Thanks to @flamefury!
2017-12-30 15:26:37 -05:00
aleos
1f0ea81d3f Added Rune Knight to atcommand bodystyle
* Fixes #2746.
Thanks to @mazvi!
2017-12-30 10:50:47 -05:00
Cydh Ramdh
b4ce1e3d1f Removed Duplicate Entries in Renewal Quest DB (#2740)
* Removed duplicate entries for Rebellion Job Change Quest
2017-12-30 00:56:45 +07:00
Sader Fawall
e88785b181 Resolved a compile error (#2743) 2017-12-29 20:41:54 +07:00
aleos
e385e167ab Resolved a compile warning
* Follow up to 716f6c0.
* Fixes #2738.
Thanks to @sader1992!
2017-12-28 16:28:58 -05:00
rAthenaAPI
9c531b0af6 SQL synchronization 2017-12-28 16:25:36 +01:00
Yudi Maharlika
4302fe6409 Corrected Supplement Part Dex (Item ID : 2995) script (#2723)
* Should have bSkillCooldown instead of bSkillVariableCast.
* Source : https://www.divine-pride.net/database/item/2995
Thanks to @uddevil!
2017-12-28 10:25:28 -05:00
Sader Fawall
d19ba918ae Update pet script command (#2705)
* Fixes #2703.
* Added alternative for script command bpet: birthpet.
* Added alternative for script command pet: catchpet.
* Updated documentation for script command pet.
* Added PET_CATCH_UNIVERSAL_ITEM for script command pet which will attempt to catch the targeted monster as long as it is in the pet database and the targeted monster requires the lure item used.
Thanks to @sader1992!
2017-12-27 21:27:04 -05:00
lighta
716f6c0f29 Duel allocation (#2734)
* Duels are now dynamically created and no longer statically consumes memory.
* Removed max number of duel at once.
* Updated duel modules for multi-thread and safer management.
* Remove various statically allocated tab.
* Removed duplicate code for npc_movenpc.
* Fix few warnings.
Thanks for suggestions from @anacondaqq.
2017-12-27 19:39:45 -05:00
Aleos
ae69e50626 Cleaned up renewal ASPD calculations (#2244)
* Cleaned up renewal ASPD calculations
* Fixes #2067 and fixes #2224.
* Adjusted the ASPD table to match Aegis values.
* Angra Manyu now disregards base ASPD values (Pre-Renewal only).

* Relocated Angra Manyu check
* Moved Angra Manyu check to the front to avoid useless calculations.
Thanks to @Lemongrass3110!

* Corrected double weapon calculations
* Resolved wearing two weapons causing ASPD to drop significantly.
* Corrected some typos in the Assassin class ASPD table.
* Added a missing Shadow Arms equipment check.
Thanks to @Lilori!

* Removed some unneeded defines

* Removed the single handed and double handed weapon max defines.
Thanks to @Jeybla!

* Renamed constants to keep legacy values

* Update status.cpp
2017-12-23 16:00:54 -05:00
Aleos
5e2dd2afee Relocated restricted equip failure check (#2735)
* Fixes #2534.
* Moved the restricted equipment failure check before the Super Novice Soul Link check.
Thanks to @admkakaroto!
2017-12-23 14:17:09 -05:00
lighta
5ad35eb66b Fix #2694 (#2732)
* Fix #2694

Move down skill_unit_move(bl,gettick(),4) of unit_remove_map_ to avoid conflict with duel changing realm.
The issue was that skill_unit_onleft was called before the duel_leave handling which was reapplying skill_unit_onplace causing an infinite status duration.
Other skill might had same issue.

* Small optimisation.
Avoid calling status_change_end when we have no status set yet (or no status_change holder).
Move down overrecurent call to status_change_end SC_ROLLINGCUTTER.
2017-12-22 14:29:44 -05:00
Lemongrass3110
65771a8ec1 Switched mob db searches to find (#2726)
* Switched mob db searches to find
* Replace NULL with nullptr

As suggested by @Jeybla
This way no (caught) exceptions will be reported in visual studio anymore
2017-12-22 07:43:44 -05:00
aleos89
d44367690c Exported the pet catch constant
* Exported to allow usage in scripts.
2017-12-21 13:00:15 -05:00
Aleos
9315781a48 Updated Pet catching values (#2719)
* Added pet catching constants.
* Converted catch_target_class from short to uint16 for future expansion.
Thanks to @Lemongrass3110!
2017-12-21 12:54:19 -05:00
Lemongrass3110
6e7e97cac7 Fixed a crash caused by setquest in login events (#2728)
Fixes #2700

Thanks to @ignizh
2017-12-21 11:06:16 -04:00
lighta
a0c8961e62 Fix #2724 (#2725)
Prevents accessing a nullpointer from a non existant mob when using mobsearch
2017-12-21 00:14:16 +01:00
rAthenaAPI
97ea9efe50 SQL synchronization 2017-12-20 23:54:32 +01:00
Vennren
13721c106e Adventurer Pack (#2698)
The adventurer pack gives stat food items that are not working and not having a continuous reference to items in the same ID range.
2017-12-20 23:54:12 +01:00
Lemongrass3110
88e48ed6ff Follow up to 7a1a76a
Thanks to @AthenaStudioz and @sader1992
2017-12-20 21:55:06 +01:00
Sader Fawall
eb8f33e40f Corrected mapcache build (#2715)
* Removed the hyphen from the name in the Windows build.
Thanks to @sader1992!
2017-12-20 10:02:52 -05:00
Jeybla
5a80f29b65 Fixes potential map server crashes. (#2695)
* status_change_timer refactorization
* Changes some pointers to const pointers to prevent unwanted behavoir.
* Changes sc_timer_next to a lambda function with only the tick as a
  paramter.
* sce is not reassigned in sc_timer_next anymore, therefore it should be
  crash safe (see #2414 and #2539)
* Fixes #2539
* Thanks to @whupdo, @MuzTank and @admkakaroto!
2017-12-20 01:00:10 +01:00
aleos89
1ae1e312da Minor cleanups
* Resolved some miscellaneous typos.
2017-12-19 14:42:15 -05:00
lighta
7a1a76a9a9 Fix #2425 Character variable lengths and char-server (#2647)
* Fix #2425 Character variable lengths and char-server

Medium term fox for crash on char-serv caused by too long character variable.
Add few error msg and safety.
Add npc/test/npc_test_longvar.txt as a basic test.

NB:
The config.in for max_colum size if not really set as best would either retrive that value from sql, or use the same config file to actually set the sql column size...
May be handle later with some kind of hibernate ORM.

Thanks to @Tokeiburu, @aleos89, @Lemongrass3110.
2017-12-19 15:13:55 -04:00
Lemongrass3110
b9981b2e27 Fixed a compilation warning on winapi.cpp
Fixes #2690

Thanks to @hurtsky, @reymarbc and @keitenai
2017-12-19 08:43:16 +01:00
Lemongrass3110
15e509fedd Added November and current December clients (#2702)
Credits to @4144
2017-12-17 17:07:08 +01:00
sader fawall
1b68303f74 Update sc_end_class (#2673)
* Adjusted script command sc_end_class to accept an optional job ID.
Thanks to @sader1992!
2017-12-17 10:29:30 -05:00
rAthenaAPI
f0686828e7 SQL synchronization 2017-12-16 16:37:08 +01:00
Cydh Ramdh
fa35e8b93c Item DB Updates (#2707)
* Snowman Hat (5738): Drop chance Buche de Noel and Candy Cane were reversed
* Holy Mom Love (5790): Corrected auto cast skill to Blessing
* Event Xmas Cake (12200): Heals HP by 5%
* Fixes #2706
2017-12-16 22:36:57 +07:00
Aleos
b3e67d2172 Resolved enchants not executing unequip script (#2676)
* Fixes #2668.
* Fixes enchant items not properly calling the unequip item script.
Thanks to @admkakaroto and @mrjnumber1!
2017-12-15 14:29:46 -05:00
rAthenaAPI
377ca7585c SQL synchronization 2017-12-15 18:48:04 +01:00
Yudi Maharlika
758e319dfa * Drooping Pope should be refineable (#2713)
* Fixes #2712.
Thanks to @Questune09 and @uddevil!
2017-12-15 12:47:38 -05:00
Aleos
947875d27b Corrected Chain Lightning behavior (#2683)
* Fixes #2674 and fixes #2678.
* Chain Lightning will no longer bounce across Ice Wall.
* Chain Lightning damage should slowly decrease based on the number of bounces remaining.
* Removed the splash effect which was causing the damage to iterate faster on the first two hits.
* Removed the skill unit defines.
Thanks to @Sweet520!
2017-12-15 10:09:23 -05:00
rAthenaAPI
91a8ed3747 SQL synchronization 2017-12-15 08:29:22 +01:00
Yudi Maharlika
346fcef57e * Fixes Hervor (Item ID 2181) (#2709)
* Should have unbreakable shield instead of armor
* Source : https://www.divine-pride.net/database/item/2181
2017-12-15 08:29:14 +01:00
Aleos
ab1fa803a2 Fixed Giant Growth damage bonus (#2688)
* Fixed Crush Strike damage bonus
* Fixes #2684.
* Base damage increase should not be affected by a success rate.
* Adjusted Crush Strike weapon attack to take from the current indexed value.
Thanks to @Badarosk0 and @Paoly28!
2017-12-14 18:52:19 -05:00
Aleos
0f33de9b4d Updated Sorcerer Insignia Skills (#2645)
* Updated Sorcerer Insignia Skills
* Fixes #2630.
* Added missing Elemental 20% damage bonus for level 1 Insignia.
* Adjusted the recovery bonus to only apply to Elementals.
* Adjusted 25% magic damage bonus calculation.
* Added the missing ASPD bonus for Wind Insignia.
* Insignias should not affect status immune.
* Removed the BATK addition.
* Miscellaneous cleanups.
Thanks to @admkakaroto and @exneval!
2017-12-12 18:33:08 -05:00
Jey
d08bc1ce2d Revert "status_change_timer refactorization"
This reverts commit 00d8ace8d8.
2017-12-11 03:02:47 +01:00
Jey
00d8ace8d8 status_change_timer refactorization
* Changes some pointers to const pointers to prevent unwanted behavoir.
* Changes sc_timer_next to a lambda function with only the tick as a
  paramter.
* sce is not reassigned in sc_timer_next anymore, therefore it should be
  crash safe (see #2414 and #2539)
2017-12-11 02:57:03 +01:00
Cydh Ramdh
1e1bd71e5a Fixed script commands for Item Option
* Fixes #2682: `getitem3`, `delitem3`, and `countitem3` always fail if `RandomValueArray` or `RandomParamArray` are not defined (Not all Item Options need 'Value' and 'Param')
* Thanks to @rAthenaCN
2017-12-10 18:40:01 +07:00
syracuase
336a475dba Wrong NPC name (#2696)
* Fixed wrong npc name in npc/events/xmas.txt
2017-12-09 18:35:14 +01:00
Aleos
33bfe1d214 Updated script command npcskill documentation (#2691)
* Fixes #2681.
* NPCs must have basic stats applied to them for specific skills to work properly.
Thanks to @sader1992!
2017-12-09 14:05:53 +01:00
Yudi Maharlika
7113743cb4 Updated status change documentation (#2686)
* Updated status change documentation for SC_STRIKING, SC_MOONLITSERENADE, SC_RUSHWINDMILL, SC_GT_REVITALIZE, SC_GT_ENERGYGAIN, SC_GT_CHANGE.
Thanks to @uddevil!
2017-12-07 10:25:39 -05:00
sader fawall
6afc36255b packet.h clarification (#2639)
* Added comments to clarify PACKETVER changes.
Thanks to @sader1992!
2017-12-06 14:45:59 -05:00
lighta
fd8e1fe2cd Introduced utilities to gradually replace utils. (#2651)
* Replace current levenshtein with much faster implementation.
* Remove usage of alias to simplify code for VS 2013.
2017-12-06 10:38:10 -05:00
Jittapan Pluemsumran
3f88826bf0 Merge pull request #2680 from rathena/hotfix/megingard_seal-1
Update Megingard Seal Quest
2017-12-06 10:19:25 +07:00
Cydh Ramdh
bb4a88a362 Update Megingard Seal Quest
* Wrong Item ID for for Baphomet Doll (750). 744 is Bouquet
2017-12-06 08:24:55 +07:00
aleos89
34a905df65 Corrected the Windows runserver script
* Fixes #2679.
* Follow up to 53db435.
* Changed the start label to a non-standard name.
Thanks to @gusjungsza.
2017-12-05 12:21:36 -05:00
aleos89
0fa57e2bbe Follow up to 53db435
* Corrected some typos.
Thanks to @keitenai!
2017-12-04 14:20:13 -05:00
aleos89
c5b7850a9a Fixed atcommand where parsing
* Fixes #2675.
* Resolves atcommand where not accepting players with spaces in their name.
Thanks to @Tokeiburu!
2017-12-04 13:26:21 -05:00
rAthenaAPI
44ddc9fd15 SQL synchronization 2017-12-04 19:21:36 +01:00
Aleos
5531fef9ed Corrected Celine Kimi Card (#2646)
* Fixes #1875.
* Should cast level 3 Critical Wound on all the enemies within the area, rather than level 5 on self.
Thanks to @Everade!
2017-12-04 13:21:15 -05:00
rAthenaAPI
22cd02843f SQL synchronization 2017-12-03 23:40:59 +01:00
Yudi Maharlika
f639c0012f Fixes Item ID 14677 (Limited Power Booster) (#2667)
* bAddClass should use bonus2 instead of bonus
2017-12-03 23:40:41 +01:00
sader fawall
4dde4c664b Fixes title selection in ui window (#2662)
* Fixes #2660
* Thanks to @hnomkeng
2017-12-03 01:56:56 +01:00
Lemongrass3110
f7bc3bca66 Fixed an issue with invisible item shops
Thanks to @Everade
2017-12-02 12:18:07 +01:00
Lemongrass3110
7c1a88270b Added support for custom constant import (#2656) 2017-12-01 13:58:24 -05:00
lighta
53db4358b7 Add few test to travis and appveyor. (#2641)
* Add few test to travis and appveyor.
* Update runserver.bat to be more alike athena-start. (nb terminating cmd.bat would be better)
2017-12-01 13:46:09 -05:00
Lemongrass3110
f59298adda Added support for windows admin detection (#2657)
Credits to Microsoft
2017-12-01 13:09:51 -05:00
Lemongrass3110
b3cfd12228 Added the custom and test scripts to the buildbot (#2658)
* Added the custom and test scripts to the buildbot

All scripts inside the custom and test npc directory are now parsed and executed automatically by the buildbot.
The only exceptions are the custom battleground scripts that would cause duplication warnings.

Thanks to @Jeybla for the Unix script!
2017-12-01 12:50:34 -05:00
Lemongrass3110
812e3a9a04 Disabled root/admin user check for build bots (#2659)
Thanks to @hurtsky
2017-12-01 17:24:16 +01:00
rAthenaAPI
217bd0e5bf SQL synchronization 2017-12-01 16:39:11 +01:00
Aleos
37b95826fb Corrected some item bonuses (#2642)
* Fixes #1430.
* Corrected the bonuses for Flying Galapago and Falconer's Claw.
* Added missing item Falconer's Flute.
Thanks to @Everade and @exneval!
2017-12-01 10:39:02 -05:00
rAthenaAPI
8223f46867 SQL synchronization 2017-11-30 19:52:27 +01:00
Aleos
da152c6f7e Corrected Gray and Thanatos equipment sets (#2638)
* Corrected Gray and Thanatos equipment sets
* Fixes #2636.
* Corrected display names.
* Corrected applicable jobs.
* Corrected item bonuses.
Thanks to @mazvi and @Atemo!
2017-11-30 13:52:10 -05:00
rAthenaAPI
21aa0155df SQL synchronization 2017-11-30 18:20:33 +01:00
Aleos
b00f3bcf5f Corrected Magical Ring bonus (#2640)
* Fixes #2635.
* Should add ATK versus element and not add DEF against element.
Thanks to @uddevil!
2017-11-30 12:20:16 -05:00
Cydh Ramdh
02044c0d58 Added custom src files to rAthena.sln (#2650)
Listed all files inside src/custom/ to rAthena.sln makes easier to find the file while opening the solution
2017-11-29 10:31:54 +07:00
Lemongrass3110
c5af8c76e3 Added 2 new hat effects
Thanks to @RagnarokNova
2017-11-28 23:15:00 +01:00
lighta
664ea47891 Fix basic_test not having common.lib has dependancies registered in solution.
(cause some build failure due to linking trying to be process before lib was finished)
2017-11-28 03:57:07 -04:00
lighta
618b9356fc Fix #2591 spinlock issue. (#2637)
* Fix #2591 spinlock issue.
Add basic_test, for few integration test.
Add thread_local_storage support in cmake
Fix thread.c for linux and fix small typo
2017-11-26 22:30:17 -04:00
sader fawall
cfb8b42d84 Fix Bifrost Tower (#2644) 2017-11-26 19:02:40 +01:00
aleos
1645fc0cdb Corrected a ShowError output
* The new mob database range error message was missing the new ranges.
Thanks to @CairoLee!
2017-11-26 10:29:41 -05:00
rAthenaAPI
4128740a1a SQL synchronization 2017-11-25 21:46:35 +01:00
Atemo
c45db5d6ef Fixed issue #2629 "Dummy at Prontera prevents critical attack from being displayed" 2017-11-25 21:46:15 +01:00
Atemo
d708fb35d7 * Move close3 function into Global_Functions.txt
* Added mapflag for some instance
2017-11-25 21:42:03 +01:00
aleos
114bebac68 Corrected a potential map crash with achievements
* Follow up to 1c66035.
* Reverted a lambda function which was causing a mismatch between achievement vectors and player achievements.
Thanks to @reymarbc and @cydh!
2017-11-23 16:40:06 -05:00
lighta
03da2f6854 Fix tools/config.pl
Add current path to @inc
Add more support for public_ip / private_ip.
Add pincode support
2017-11-22 07:29:05 -05:00
Aleos
cdbb14b90d Resolved a compile warning on pre-renewal (#2625)
* Fixes #2624.
* Resolves a switch statement warning with only a default case for pre-renewal builds.
Thanks to @Daegaladh!
2017-11-21 17:35:32 -05:00
aleos89
3ce3bc3fed Added a new Vending Tax config
* Follow up to 8e002bc.
* Added vending_tax_min which allows for defining a custom minimum value to apply taxes to.
Thanks to @cydh's suggestion!
2017-11-21 10:27:18 -05:00
aleos89
6fdb605932 Corrected Hell Inferno Dark damage behavior
* Follow up to dc2c51c.
* Fixes #2623.
* Resolved the Dark damage not being flagged properly.
Thanks to @Sweet520 and @hartonox!
2017-11-21 09:36:52 -05:00
Atemo
ead1ed9100 Fixed typo in Weapons Expert BK (issue #2619) follow up 08338e0a64 (diff-2b9b79c7ee5796ba7f5073001e69aa06)
Thanks to @mazvi !
2017-11-21 14:40:08 +01:00
Jey
b2d904b764 Follow up to ba9314cba5
* Fixes #2621
* Makes the getspawn functions independent of the mob_db struct.
  Removes the getMobID() function from the struct which caused the
  the issue.
* Thanks to @Lemongrass3110 and @uddevil!
2017-11-21 12:35:51 +01:00
Aleos
8e002bc993 Adjusting Vending tax to match official (#2620)
* Adjusting Vending tax to match official
* Fixes #2528.
* There are no taxes on items being sold for less than 100 million. Anything above incurs a 5% tax.
* Refactored the tax code to use a single function.
Thanks to @mazvi, @Jeybla, and @lighta!
2017-11-20 22:07:55 -05:00
Aleos
1c66035761 Refactored achievements to utilize C++ features (#2607)
* Refactored achievements to utilize C++ features
* Cleaned up the YAML parser.
* Moved achievements from DBMap to an unordered_map.
* Moved achievement targets from DBMap to a vector.
* Changed all struct arrays into vectors.
* Changed all char arrays to strings.
* Changed all int arrays to std::arrays.
* Removed achievement_dummy as it's no longer needed.
* Achievements now use smart pointer to ensure proper construction and deconstruction of objects.
Thanks to @lighta!
2017-11-20 21:34:16 -05:00
Atemo
ca1b980ede Fixed issue #2616 and #2617 (#2618)
* Added savepoint from int_land -> izlude
* Updated monsters spawn in prt_fild08 based from Divine Pride

Thanks to zackdreaver and Divine Pride !
2017-11-20 18:15:36 +01:00
Lemongrass3110
60b5491766 Fixed compilation for the Windows XP API (#2611)
* Fixed compilation for the Windows XP API

Fixes #2137

Thanks to @zackdreaver

* Fixed Windows version initialization

Respecting the SDK's Windows version and only use our own defines if they are not set by the SDK, which should not happen.

Thanks to @lighta.

* Moved Windows Vista declaration up

This way all defines that should actually come from sdkddkver.h will be checked right behind it and defined if they were not.

* Reverted line deletion
2017-11-20 00:30:31 -05:00
Lemongrass3110
4de727efbc Changed minimum VS version to VS 2013 SP5 (#2610)
With this you will not be able to open the solution with any older visual studio version anymore.
2017-11-19 12:33:32 -05:00
Lemongrass3110
a2e8d02752 Respect the default platform toolset (#2609)
With this you will not have to upgrade your solution everytime you clone a fresh copy of rAthena and the problem with having to stash between branch switches should also be gone.
If you want to compile it for another toolset you simply have to set the target toolset by yourself.
2017-11-19 12:19:36 -05:00
Lemongrass3110
a49a1a52a3 Fixed a compiler warning due to a wrong include
Follow up to c4a364b
2017-11-19 04:11:53 +01:00
Lemongrass3110
b2ab9724fe Implemented new monster range (#2604)
With this the internal static array was changed to a std::map which manages it's memory dynamically when needed.

Dropped mob_dummy since it was useless to have it in the first place.

Replaced a lot of direct accesses to the mob db by the "get" function.

With this you can now use 20021-31998 for monsters and also 4000-20020 will be used for player clones whenever needed.

Dropped mobdb_exists
Replaced almost all references to MAX_MOB_DB

Moved MAX_MOB_DB from the header directly into the source file to make it only visible to the .cpp file itself and not to any other.

Moved the mob drop calculation function from itemdb.cpp into mob.cpp, because it needs to iterate over the whole mob db.

Added a few missing clone checks.

Thanks to @lighta, @Jeybla and @aleos89.
2017-11-19 01:22:29 +01:00
Jey
34817c9715 Adds auto parse of consts in convert_emotions.
* Thanks to @lighta for the suggestion
2017-11-18 21:02:11 +01:00
Jey
4f62f68e0f Extends convert_emotions script
* Replaces magic numbers
* Replaces unitemote
* Replaces emotion e,0,name; with emotion e, getnpcid(0, name);
* Replaces emotion e,1; with emotion e,playerattached();
2017-11-18 19:03:17 +01:00
Jey
c5ceda03f5 Shebang of conv_emotion to be platform independent 2017-11-17 10:34:38 +01:00
rAthenaAPI
1a7f2db6a9 SQL synchronization 2017-11-16 21:38:45 +01:00
Haziel
50ef5650a0 Wickebine's Black Cat Ears (#2606)
* Removed Unofficial Bonuses
* Fixed Class Restriction
* Fixed Level Requirement
* Added Code to item 19134.
* Added Official Autobonus Code
* Arbitrary 'Power Up' Effect
Thanks to @SirHaziel and @hendra814!
2017-11-16 15:38:26 -05:00
Jey
e148bd3a63 Follow up to ba9314cba5
* Now mob_get_spawn does not add empty vectors to mob_spawn_data, when the
  mobid does not exist in mob_spawn_data
* Saves a bit more memory space
* Thanks to @Lemongrass3110 for the suggestion
2017-11-16 11:19:26 +01:00
Jeybla
ba9314cba5 Fixes spawn infos after mobdb reload. (#2469)
* Moves the monster spawn infos from the mob_db struct to an own
  data structure.
* Fixes whereis after mobdb reload. Fixes #2360
* Fixes Taekwon Mission after mobdb reload. Closes #2460
* Thanks to @uddevil, @mgksrt8, @lighta and @aleos89!
2017-11-16 02:02:37 +01:00
aleos
9766ec9489 Corrected Free Cast and Exceed Break walk speed
* Fixes #2599.
* Follow up to 1f7a314.
Thanks to @mazvi and @uddevil!
2017-11-14 20:08:49 -05:00
rAthenaAPI
90f79cc2c5 SQL synchronization 2017-11-14 16:39:47 +01:00
Haziel
c4ce8cfeba Item DB Fix: Part I (#2602)
* Fixed Valhalla Idol based on item's description.
Thanks to @AetherHaziel!
2017-11-14 10:39:38 -05:00
Lemongrass3110
c20d1cc3e9 Follow up to 243f4ca 2017-11-13 21:04:23 +01:00
Lemongrass3110
243f4ca3be Support for 2017-10-25 and 2017-11-01
Merges HerculesWS/Hercules@3e03556

Thanks to @4144
2017-11-13 20:51:58 +01:00
Aleos
805a6fb69a Updated Heal formulas to match kRO (#2585)
* Fixes #2575 and fixes #2574.
* Adjusted the formula to properly account for bonuses which are additive of one another, not multiplicative.
* Added the global multiplier which is added on after MATK.
* Updated Highness Heal, Fresh Shrimp, and Bunch of Shrimp heal formulas.
Thanks to @Tokeiburu for his extensive research and code!
2017-11-13 13:02:39 -05:00
Jeybla
576d48865d Adds Emotion Conversion Script (#2600)
* Simple scripts which replaces the old emotion script constants to new constants
* Follow up to ea88ea5054
2017-11-13 16:39:14 +01:00
Aleos
da0883572d Small cleanup of Rune Knight Runes (#2596)
* Small cleanup of Rune Knight Runes
* Stone Hard Skin weapon break chance only applies to physical melee attacks.
* Giant Growth's physical bonus damage only applies to Rune Knights.
* Corrected weapon break chance to only happen when damage is increased for Giant Growth.
Thanks to @Rytech2 and @Jeybla!
2017-11-13 09:59:24 -05:00
Jey
cd08915530 Follow up to ea88ea5054
* Fixes wrong syntax in GeffenMagicTournament due
* Fixes #2598
2017-11-13 09:58:57 +01:00
sader fawall
c6fe9e9cde Update warper NPC (#2542)
* Adds several dungeons and fields
* Adds options for WOE TE Castles and dungeons
* Adds option to disable satan morroc and re-enable old morroc maps
* Adds option to warp only on the first level (of dungeons/fields)
* Adds Lasagna Town
* Adds castles Kafragarten and Gloria
* Adds several instances
* Adds Dimensional Rift and Para Market
2017-11-10 19:42:56 +01:00
rAthenaAPI
333d978a9d SQL synchronization 2017-11-10 19:22:16 +01:00
Aleos
e0b43ecc93 Corrected Mavka Card item bonus (#2597)
* Fixes #2594.
* The item bonus should increase MATK damage for Fire and Earth.
Thanks to @uddevil!
2017-11-10 19:22:00 +01:00
Atemo
ea88ea5054 Emoticons constant name (#2527)
This PR change the emoticons constant name to match emoticonlist from client side.
Note: the previous emoticons names are now deprecated.

Additionnally emotion and unitemote scripts commands are being merged together to the new format
-> emotion <emotion number>{,<target>};
Where target use the target Game ID (GID) of the unit (npc, pet, character etc..).

* unitemote is now deprecated.
* Additionnally fixed incorrect variable in quests_brasilis.txt

Thanks to @aleos89 and @Lemongrass3110 !
2017-11-10 18:35:21 +01:00
Roman Kalashnikov
1f7a314c78 Fixed twice assigned values (#2560)
* Resolves the skill timer getting assigned twice.
Thanks to @lunixoid!
2017-11-09 14:50:11 -05:00
Aleos
63daab5860 Added battle config autoloot_adjust (#2562)
* Fixes #2540.
* Added battle config autoloot_adjust that allows autoloot to take player drop penalties and bonuses into account.
Thanks to @ecdarreola!
2017-11-08 18:55:20 -05:00
Aleos
86241b0eb8 Adjusted item drop minimum value limit (#2561)
* Fixes #2551.
* Lowered the item drop minimum value limits to be able to be set to 0.
Thanks to @mazvi!
2017-11-08 18:44:32 -05:00
aleos89
c13f271a94 Resolved some compile warnings
* Fixes #2588.
* Clean up from 24b3509.
Thanks to @darhlism!
2017-11-08 13:36:01 -05:00
lighta
a587b913fa Initial work for login server to C++ (#2583)
* Initial progression of moving the map-server to C++ format.
* Converted all core files to .cpp and header files to .hpp.
Thanks to @lighta!
2017-11-08 12:56:41 -05:00
aleos89
728a29d435 Harmonized include guards
* Follow up to 24b3509 and c4a364b.
* Harmonized the include guards for char-server and map-server header files.
2017-11-07 10:22:03 -05:00
lighta
24b3509e53 Initial work for char server to C++ (#2567)
* Initial work for char server to C++

* Changes suggested from @Lemongrass3110

* Removes unwanted beginning white spaces.
2017-11-06 22:40:35 -04:00
aleos
6decf6c6d0 Resolved skill NK checks
* Fixes #2577.
* Adjusted the battle checks to properly return the NK value rather than bool.
Thanks to @darhylism!
2017-11-06 17:16:45 -05:00
lighta
673315994b Temporary adjustment for strict aliasing (#2582)
* Fixes #2572.
* Added a custom rule to avoid optimization causing monsters to not attack. (From tests this appears to be npc.cpp on Centos 7 and mob.cpp on Windows vc141)
* Added -fno-strict-alising to CMake when building with GCC. (Clang and VS have it by default)
* Fixed cmake output path.
Thanks to @lighta!
2017-11-06 16:59:59 -05:00
856 changed files with 116361 additions and 44863 deletions

24
.editorconfig Normal file
View File

@@ -0,0 +1,24 @@
# 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
[*]
insert_final_newline = true
trim_trailing_whitespace = true
# 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

4
.gitattributes vendored
View File

@@ -1,10 +1,12 @@
* text=auto
*.c diff=cpp
*.cpp diff=cpp
*.yml diff
*.sln merge=union
*.vcproj merge=union
*.vcxproj merge=union
*.sln text eol=crlf
*.bat text eol=crlf
athena-start text eol=lf
configure text eol=lf
configure.in text eol=lf
Makefile text eol=lf

View File

@@ -63,7 +63,7 @@ Suggesting Enhancements
#### How to create Pull Requests :pencil:
1. Make sure you have a [GitHub account](https://github.com/signup/free).
2. Next, you will need to [fork rAthena](https://help.github.com/articles/fork-a-repo/#step-3-configure-git-to-sync-your-fork-with-the-original-spoon-knife-repository) to your account.
2. Next, you will need to [fork rAthena](https://help.github.com/articles/fork-a-repo/#fork-an-example-repository) to your account.
3. Before making changes, make sure you [create a new branch](https://help.github.com/articles/creating-and-deleting-branches-within-your-repository/) for your working tree.
4. After completing your changes, commit and push it to your branch.
5. Now you are ready to [create a Pull Request](https://help.github.com/articles/creating-a-pull-request/) for rAthena!

59
.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
@@ -152,9 +109,11 @@ Thumbs.db
/.idea/vcs.xml
/.idea/workspace.xml
/build/
/cbuild/
# bat tools
/charserv.bat
/csv2yaml.bat
/logserv.bat
/mapcache.bat
/mapserv.bat

197
.mailmap Normal file
View File

@@ -0,0 +1,197 @@
##################################################################
# This maps commits from different aliases to the same account #
# #
# Always try to map to the GitHub username and try to use the #
# @users.noreply.github.com mail addresses where possible. #
# The entries are sorted ascending by the username. #
# #
# If you want to have your mail changed feel free to contact us. #
# #
# If you know any of the missing commiters please also let us #
# know. #
# You can generate the list of commiters with: #
# git shortlog -sne #
##################################################################
##################################################################
# SVN Users #
##################################################################
ai4rei <ai4rei@users.noreply.github.com> <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec>
Akinari1087 <tagraskemper@hotmail.com> <akinari1087@54d463be-8e91-2dee-dedb-b68131a5f0ec>
Akkarinage <akkarin@rathena.org> <thatakkarin@54d463be-8e91-2dee-dedb-b68131a5f0ec>
aleos89 <aleos89@users.noreply.github.com> <aleos@54d463be-8e91-2dee-dedb-b68131a5f0ec>
Baalberith6 <matej.pristak@gmail.com> <baalberith@54d463be-8e91-2dee-dedb-b68131a5f0ec>
brianluau <brianluau@users.noreply.github.com> <brianluau@54d463be-8e91-2dee-dedb-b68131a5f0ec>
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>
functor-x <piotr.halaczkiewicz@gmail.com> <gepard1984@54d463be-8e91-2dee-dedb-b68131a5f0ec>
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>
missxantara <missxantara@gmail.com> <xantara@54d463be-8e91-2dee-dedb-b68131a5f0ec>
macabu <macabu@users.noreply.github.com> <momacabu@54d463be-8e91-2dee-dedb-b68131a5f0ec>
Paradox924X <paradox924x@gmail.com> <Paradox924X@54d463be-8e91-2dee-dedb-b68131a5f0ec>
Paradox924X <paradox924x@gmail.com> <Paradox924x@54d463be-8e91-2dee-dedb-b68131a5f0ec>
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>
##################################################################
# Git Aliases #
##################################################################
aleos89 <aleos89@users.noreply.github.com> <aleos89@users.noreply.github.com>
aleos89 <aleos89@users.noreply.github.com> <jarajabi@msn.com>
Akkarinage <akkarin@rathena.org> <mike.langford@live.co.uk>
Baalberith6 <matej.pristak@gmail.com> <matej.pristak@gmail.com>
brianluau <brianluau@users.noreply.github.com> <brianluau@gmail.com>
brianluau <brianluau@users.noreply.github.com> <brianluau@users.noreply.github.com>
Atemo <Atemo@users.noreply.github.com> <capucrath@gmail.com>
Atemo <Atemo@users.noreply.github.com> <Capuche@users.noreply.github.com>
cydh <cydh@users.noreply.github.com> <cydh@users.noreply.github.com>
cydh <cydh@users.noreply.github.com> <cydh@pservero.com>
cydh <cydh@users.noreply.github.com> <house.bad@gmail.com>
Daegaladh <Daegaladh@users.noreply.github.com> <daegaladh@shadowgames.es>
dentongrills <sketchyphoenix@gmail.com> <sketchyphoenix@54d463be-8e91-2dee-dedb-b68131a5f0ec>
dentongrills <sketchyphoenix@gmail.com> <SketchyPhoenix@54d463be-8e91-2dee-dedb-b68131a5f0ec>
euphyy <euphy.raliel@rathena.org> <euphy@rathena.org>
icxbb-xx <arokaice@live.com> <arokaice@live.com>
Jeybla <jey@bjx-studios.de> <jey@toto-ro.de>
Jeybla <jey@bjx-studios.de> <jey@bjx-studios.de>
Jeybla <jey@bjx-studios.de> <jey@toto-ro.de>
GodLesZ <godlesz@hotmail.de> <GodLesZ@54d463be-8e91-2dee-dedb-b68131a5f0ec>
lighta <lighta@users.noreply.github.com> <lightaisme@gmail.com>
lighta <lighta@users.noreply.github.com> <lighta@lighta-fedora20.localdomain>
lighta <lighta@users.noreply.github.com> <lighta@lighta-VPCW12M1E>
lighta <lighta@users.noreply.github.com> <lighta>
lighta <lighta@users.noreply.github.com> <lighta@lighta-VPCW12M1E.(none)>
lighta <lighta@users.noreply.github.com> <lightaisme>
Lilith- <amurov.ro@gmail.com> <amurov.ro@gmail.com>
macabu <macabu@users.noreply.github.com> <macabu.matheus@gmail.com>
macabu <macabu@users.noreply.github.com> <mkbu95@users.noreply.github.com>
rAthenaAPI <administrator@rathena.org> <rAthenaAPI>
secretdataz <secretdataz@users.noreply.github.com> <foreverfk@stephack.com>
secretdataz <secretdataz@users.noreply.github.com> <nightsheep@outlook.com>
secretdataz <secretdataz@users.noreply.github.com> <secret@ahri.in.th>
Stolao <Stolao@users.noreply.github.com> <Taingram11@gmail.com>
tr0n93 <tr0n.developer@gmail.com> <tr0n93@54d463be-8e91-2dee-dedb-b68131a5f0ec>
wilkemeyer <fw@f-ws.de> <fw@f-ws.de>
vstumpf <vincents.995@gmail.com> <vincents.995@gmail.com>
zackdreaver <zackdreaver@users.noreply.github.com> <zackdreaver@gmail.com>
##################################################################
# Unconfirmed ones #
# missing github username #
##################################################################
calciumkid <harrison@isabarwon.com> <calciumkid@54d463be-8e91-2dee-dedb-b68131a5f0ec>
skotlex <skotlex@mailforce.net> <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>
skotlex <skotlex@mailforce.net> <Skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>
##################################################################
# TODO #
# #
# If you know the GitHub account and/or mail address of any of #
# these please let us know. #
##################################################################
# L0ne_W0lf <L0ne_W0lf@54d463be-8e91-2dee-dedb-b68131a5f0ec>
# Lupus <Lupus@54d463be-8e91-2dee-dedb-b68131a5f0ec>
# celest <celest@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>
# toms <toms@54d463be-8e91-2dee-dedb-b68131a5f0ec>
# shadowlady <shadowlady@54d463be-8e91-2dee-dedb-b68131a5f0ec>
# codemaster <codemaster@54d463be-8e91-2dee-dedb-b68131a5f0ec>
# rud0lp20 <rud0lp20@54d463be-8e91-2dee-dedb-b68131a5f0ec>
# Vicious <Vicious@54d463be-8e91-2dee-dedb-b68131a5f0ec>
# samuray22 <samuray22@54d463be-8e91-2dee-dedb-b68131a5f0ec>
# Kevin <Kevin@54d463be-8e91-2dee-dedb-b68131a5f0ec>
# shadow <shadow@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>
# 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>
# 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>
# Poki#3 <Poki#3@54d463be-8e91-2dee-dedb-b68131a5f0ec>
# cookiecrumbs <cookiecrumbs@54d463be-8e91-2dee-dedb-b68131a5f0ec>
# Zido <Zido@54d463be-8e91-2dee-dedb-b68131a5f0ec>
# akrus <akrus@54d463be-8e91-2dee-dedb-b68131a5f0ec>
# markzd <markzd@54d463be-8e91-2dee-dedb-b68131a5f0ec>
# xazax-hun <xazax-hun@54d463be-8e91-2dee-dedb-b68131a5f0ec>
# flaid <flaid@54d463be-8e91-2dee-dedb-b68131a5f0ec>
# lordttseven <lordttseven@54d463be-8e91-2dee-dedb-b68131a5f0ec>
# musashiden <musashiden@54d463be-8e91-2dee-dedb-b68131a5f0ec>
# Aria <Aria@54d463be-8e91-2dee-dedb-b68131a5f0ec>
# og2 <og2@54d463be-8e91-2dee-dedb-b68131a5f0ec>
# reddozen <reddozen@54d463be-8e91-2dee-dedb-b68131a5f0ec>
# KarLaeda <KarLaeda@54d463be-8e91-2dee-dedb-b68131a5f0ec>
# Zephiris <Zephiris@54d463be-8e91-2dee-dedb-b68131a5f0ec>
# DZeroX <DZeroX@54d463be-8e91-2dee-dedb-b68131a5f0ec>
# ignizh <ignizh@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>
# spre123 <spre123@54d463be-8e91-2dee-dedb-b68131a5f0ec>
# Chilly0123 <Chilly0123@54d463be-8e91-2dee-dedb-b68131a5f0ec>
# ediejohnny <ediejohnny@54d463be-8e91-2dee-dedb-b68131a5f0ec>
# hipsterfont <hipsterfont@54d463be-8e91-2dee-dedb-b68131a5f0ec> https://github.com/hipsterfont
# nsstrunks <nsstrunks@54d463be-8e91-2dee-dedb-b68131a5f0ec>
# shadoweathena <shadoweathena@54d463be-8e91-2dee-dedb-b68131a5f0ec>
# technote24 <technote24@54d463be-8e91-2dee-dedb-b68131a5f0ec>
# mandark022 <mandark022@54d463be-8e91-2dee-dedb-b68131a5f0ec>
# Kargha <Kargha@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>
# veider <veider@54d463be-8e91-2dee-dedb-b68131a5f0ec>
# Shinigami <Shinigami@54d463be-8e91-2dee-dedb-b68131a5f0ec>
# mercurial123 <mercurial123@54d463be-8e91-2dee-dedb-b68131a5f0ec>
# arcshiru <arcshiru@54d463be-8e91-2dee-dedb-b68131a5f0ec>
# davidsiaw <davidsiaw@54d463be-8e91-2dee-dedb-b68131a5f0ec>
# foruken <foruken@54d463be-8e91-2dee-dedb-b68131a5f0ec>
# sirius <sirius@54d463be-8e91-2dee-dedb-b68131a5f0ec>
# Euph <Euph@54d463be-8e91-2dee-dedb-b68131a5f0ec>
# Kayla <Kayla@54d463be-8e91-2dee-dedb-b68131a5f0ec>
# rikimaru17 <rikimaru17@54d463be-8e91-2dee-dedb-b68131a5f0ec>
# Evera <Evera@54d463be-8e91-2dee-dedb-b68131a5f0ec>
# L0neW0lf.eAthena <L0neW0lf.eAthena@54d463be-8e91-2dee-dedb-b68131a5f0ec>
# cleaverbeaver <cleaverbeaver@54d463be-8e91-2dee-dedb-b68131a5f0ec>
# killercube <killercube@54d463be-8e91-2dee-dedb-b68131a5f0ec>
# salepate <salepate@54d463be-8e91-2dee-dedb-b68131a5f0ec>
# spira <spira@54d463be-8e91-2dee-dedb-b68131a5f0ec>
# CIA-2 <CIA-2@54d463be-8e91-2dee-dedb-b68131a5f0ec>
# Protimus <Protimus@54d463be-8e91-2dee-dedb-b68131a5f0ec> https://github.com/protimus
# lmaatl <lmaatl@54d463be-8e91-2dee-dedb-b68131a5f0ec>
# zapbomb <zapbomb@54d463be-8e91-2dee-dedb-b68131a5f0ec>
# zido <zido@54d463be-8e91-2dee-dedb-b68131a5f0ec>

View File

@@ -1,41 +1,189 @@
language: cpp
compiler:
- clang
- gcc
dist: trusty
sudo: false
matrix:
include:
# First check if all our options are good
# Renewal without VIP
- os: linux
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-5
env:
- MATRIX_EVAL="CC=gcc-5 && CXX=g++-5"
- CONFIGURE_FLAGS="--enable-prere=no --enable-vip=no --enable-buildbot=yes"
# Renewal with VIP
- os: linux
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-5
env:
- MATRIX_EVAL="CC=gcc-5 && CXX=g++-5"
- CONFIGURE_FLAGS="--enable-prere=yes --enable-vip=no --enable-buildbot=yes"
# Pre-Renewal without VIP
- os: linux
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-5
env:
- MATRIX_EVAL="CC=gcc-5 && CXX=g++-5"
- CONFIGURE_FLAGS="--enable-prere=no --enable-vip=yes --enable-buildbot=yes"
# Pre-Renewal with VIP
- os: linux
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-5
env:
- MATRIX_EVAL="CC=gcc-5 && CXX=g++-5"
- CONFIGURE_FLAGS="--enable-prere=yes --enable-vip=yes --enable-buildbot=yes"
# After that check all different compilers and compiler versions
# GCC
# Version 6
- os: linux
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-6
env:
- MATRIX_EVAL="CC=gcc-6 && CXX=g++-6"
- CONFIGURE_FLAGS="--enable-prere=no --enable-vip=no --enable-buildbot=yes"
# Version 7
- os: linux
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-7
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
addons:
apt:
sources:
- llvm-toolchain-trusty-3.9
packages:
- clang-3.9
env:
- MATRIX_EVAL="CC=clang-3.9 && CXX=clang++-3.9"
- CONFIGURE_FLAGS="--enable-prere=no --enable-vip=no --enable-buildbot=yes"
# Version 4
- os: linux
addons:
apt:
sources:
- llvm-toolchain-trusty-4.0
packages:
- clang-4.0
env:
- MATRIX_EVAL="CC=clang-4.0 && CXX=clang++-4.0"
- CONFIGURE_FLAGS="--enable-prere=no --enable-vip=no --enable-buildbot=yes"
# Version 5
- os: linux
addons:
apt:
sources:
- llvm-toolchain-trusty-5.0
packages:
- clang-5.0
env:
- MATRIX_EVAL="CC=clang-5.0 && CXX=clang++-5.0"
- CONFIGURE_FLAGS="--enable-prere=no --enable-vip=no --enable-buildbot=yes"
# LLVM on OSX
# - os: osx
# osx_image: xcode9.2
# install:
# - brew update
# - brew install mysql
# - brew tap homebrew/services
# - brew services start mysql
## MySQL takes a while to start...
# - brew services list
# - launchctl list | grep mysql
# before_install: false
# env:
# - CONFIGURE_FLAGS="--enable-prere=no --enable-vip=no --enable-buildbot=yes --enable-lto=no"
# script:
# - ./configure $CONFIGURE_FLAGS
## MacOS default MySQL configuration does not like our card seller(only full group by)
# - ./tools/ci/npc.sh
# - make clean
# - make all
# - ./login-server --run-once
# - ./char-server --run-once
# - ./map-server --run-once
# CMake
- os: linux
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-5
env:
- MATRIX_EVAL="CC=gcc-5 && CXX=g++-5"
script:
- mkdir cbuild
- cd cbuild
- cmake -G "Unix Makefiles" ..
- 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}"
before_script:
- uname -a
- mysql -u $DB_ROOT -e "CREATE DATABASE $DB_NAME;" || aborterror "Unable to create database."
- mysql -u $DB_ROOT $DB_NAME < sql-files/main.sql || aborterror "Unable to import main database."
- mysql -u $DB_ROOT $DB_NAME < sql-files/logs.sql || aborterror "Unable to import logs database."
- mysql -u $DB_ROOT $DB_NAME < sql-files/item_cash_db.sql || aborterror "Unable to import cash item table."
- mysql -u $DB_ROOT $DB_NAME < sql-files/item_cash_db2.sql || aborterror "Unable to import cash item 2 table."
- mysql -u $DB_ROOT $DB_NAME < sql-files/item_db.sql || aborterror "Unable to import pre-renewal item table."
- mysql -u $DB_ROOT $DB_NAME < sql-files/item_db2.sql || aborterror "Unable to import pre-renewal item 2 table."
- mysql -u $DB_ROOT $DB_NAME < sql-files/item_db_re.sql || aborterror "Unable to import renewal item table."
- mysql -u $DB_ROOT $DB_NAME < sql-files/item_db2_re.sql || aborterror "Unable to import renewal item 2 table."
- mysql -u $DB_ROOT $DB_NAME < sql-files/mob_db.sql || aborterror "Unable to import pre-renewal monster table."
- mysql -u $DB_ROOT $DB_NAME < sql-files/mob_db2.sql || aborterror "Unable to import pre-renewal monster 2 table."
- mysql -u $DB_ROOT $DB_NAME < sql-files/mob_db_re.sql || aborterror "Unable to import renewal monster table."
- mysql -u $DB_ROOT $DB_NAME < sql-files/mob_db2_re.sql || aborterror "Unable to import renewal monster 2 table."
- mysql -u $DB_ROOT $DB_NAME < sql-files/mob_skill_db.sql || aborterror "Unable to import pre-renewal monster skill table."
- mysql -u $DB_ROOT $DB_NAME < sql-files/mob_skill_db2.sql || aborterror "Unable to import pre-renewal monster skill 2 table."
- mysql -u $DB_ROOT $DB_NAME < sql-files/mob_skill_db_re.sql || aborterror "Unable to import renewal monster skill table."
- mysql -u $DB_ROOT $DB_NAME < sql-files/mob_skill_db2_re.sql || aborterror "Unable to import renewal monster skill 2 table."
- mysql -u $DB_ROOT $DB_NAME < sql-files/roulette_default_data.sql || aborterror "Unable to import roulette table."
- mysql -u $DB_ROOT -e "GRANT ALL ON *.* TO '$DB_USER'@'$DB_HOST' IDENTIFIED BY '$DB_PASS';"
- sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
- sudo apt-get update -q
- sudo apt-get install gcc-5 -y
- sudo apt-get install g++-5 -y
- sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-5 1
- sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-5 1
- ./tools/ci/sql.sh
script:
- ./configure $CONFIGURE_FLAGS
- make clean
- make server
- ./configure $CONFIGURE_FLAGS || travis_terminate 1
- ./tools/ci/npc.sh
- make clean || travis_terminate 1
- make all || travis_terminate 1
- ./login-server --run-once
- ./char-server --run-once
- ./map-server --run-once
env:
@@ -45,11 +193,6 @@ env:
- DB_NAME="ragnarok"
- DB_USER="ragnarok"
- DB_PASS="ragnarok"
matrix:
- CONFIGURE_FLAGS="--enable-prere=no --enable-vip=no --enable-buildbot=yes"
- CONFIGURE_FLAGS="--enable-prere=yes --enable-vip=no --enable-buildbot=yes"
- CONFIGURE_FLAGS="--enable-prere=no --enable-vip=yes --enable-buildbot=yes"
- CONFIGURE_FLAGS="--enable-prere=yes --enable-vip=yes --enable-buildbot=yes"
notifications:
email: false

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)

6
3rdparty/cmake/tests/HAVE_TLS.c vendored Normal file
View File

@@ -0,0 +1,6 @@
__thread int tls;
int main(int argc, char** argv)
{
return 0;
}

View File

@@ -38,32 +38,31 @@
<ProjectGuid>{F6CC5F60-BD13-41B1-81D3-822A45EC0DBD}</ProjectGuid>
<Keyword>Win32Proj</Keyword>
<RootNamespace>libconfig</RootNamespace>
<WindowsTargetPlatformVersion>8.1</WindowsTargetPlatformVersion>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v120</PlatformToolset>
<PlatformToolset>$(DefaultPlatformToolset)</PlatformToolset>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v120</PlatformToolset>
<PlatformToolset>$(DefaultPlatformToolset)</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v120</PlatformToolset>
<PlatformToolset>$(DefaultPlatformToolset)</PlatformToolset>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v120</PlatformToolset>
<PlatformToolset>$(DefaultPlatformToolset)</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
@@ -107,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>
@@ -121,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,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

@@ -79,5 +79,5 @@ set( YAML_DEFINITIONS
"-std=c++11"
CACHE INTERNAL "yaml definitions" )
include_directories(${YAML_INCLUDE_DIRS} ${YAML_SOURCE_DIR})
message(STATUS "YAML_INCLUDE_DIRS : ${YAML_INCLUDE_DIRS}, YAML_SOURCE_DIR=${YAML_SOURCE_DIR}")
#message(STATUS "YAML_INCLUDE_DIRS : ${YAML_INCLUDE_DIRS}, YAML_SOURCE_DIR=${YAML_SOURCE_DIR}")
ADD_LIBRARY(${this_target} STATIC ${YAML_SOURCES} )

View File

@@ -22,32 +22,31 @@
<ProjectGuid>{61D6A599-6BED-4154-A9FC-40553BD972E0}</ProjectGuid>
<Keyword>Win32Proj</Keyword>
<RootNamespace>yamlcpp</RootNamespace>
<WindowsTargetPlatformVersion>8.1</WindowsTargetPlatformVersion>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v120</PlatformToolset>
<PlatformToolset>$(DefaultPlatformToolset)</PlatformToolset>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v120</PlatformToolset>
<PlatformToolset>$(DefaultPlatformToolset)</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v120</PlatformToolset>
<PlatformToolset>$(DefaultPlatformToolset)</PlatformToolset>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v120</PlatformToolset>
<PlatformToolset>$(DefaultPlatformToolset)</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
@@ -96,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>
@@ -108,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

@@ -50,11 +50,12 @@ endif()
set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/lib/${suffixInstallStr})
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/lib/${suffixInstallStr})
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/..)
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR})
set(CMAKE_C_CREATE_SHARED_LIBRARY)
set(CMAKE_CXX_CREATE_SHARED_LIBRARY)
set(CMAKE_DEBUG_POSTFIX "d")
set(CMAKE_RELEASE_POSTFIX "r")
#
# Prevent building in the source directory by default
#
@@ -89,6 +90,10 @@ if( MSVC )
set_property( CACHE GLOBAL_LIBRARIES PROPERTY VALUE ${GLOBAL_LIBRARIES} "oldnames.lib" "ws2_32.lib" )
set_property( CACHE GLOBAL_DEFINITIONS PROPERTY VALUE "${GLOBAL_DEFINITIONS} -D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE" )
endif()
if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_COMPILER_IS_GNUCC)
set_property( CACHE GLOBAL_DEFINITIONS PROPERTY VALUE "${GLOBAL_DEFINITIONS} -fno-strict-aliasing" )
#set_property( CACHE GLOBAL_DEFINITIONS PROPERTY VALUE "${GLOBAL_DEFINITIONS} -O2" ); #need more test to enable this
endif()
#
@@ -102,6 +107,7 @@ include( CheckFunctionExists )
include( FindFunctionLibrary )
include( TestBigEndian )
#
# PACKETVER
#
@@ -139,15 +145,26 @@ 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" )
message( STATUS "Check if supporting Thread local storage (TLS)" )
file( READ "${CMAKE_SOURCE_DIR}/3rdparty/cmake/tests/HAVE_TLS.c" _SOURCE )
CHECK_C_SOURCE_RUNS( "${_SOURCE}" HAVE_TLS )
if( HAVE_TLS )
message( STATUS "Check for TLS- yes" )
set_property( CACHE GLOBAL_DEFINITIONS PROPERTY VALUE "${GLOBAL_DEFINITIONS} -DHAVE_TLS" )
else()
message( STATUS "Check for TLS - no" )
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 )
@@ -160,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()
#
@@ -453,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"
@@ -464,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"

View File

@@ -1,7 +1,7 @@
rAthena
=======
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)
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) [![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)
Table of Contents
---------
@@ -31,9 +31,9 @@ is broken down into Windows and Linux prerequisites.
* 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 )
* MS Visual Studio ( https://www.visualstudio.com/downloads/ )
* TortoiseGIT ( http://code.google.com/p/tortoisegit/ )
* MSysGit ( http://msysgit.github.io/ or https://github.com/msysgit/git/releases )
* git for Windows ( https://gitforwindows.org/ )
* Linux (names of packages may require specific version numbers on certain distributions)
* gcc
@@ -181,13 +181,9 @@ Examples:
* [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
https://rathena.org/discord
* rAthena Wiki
https://github.com/rathena/rathena/wiki

View File

@@ -42,26 +42,9 @@ test_script:
set MYSQL="C:\Program Files\MySql\MySQL Server 5.7\bin\mysql.exe"
rem Setting creation
cd C:\projects\rathena
echo map_server_ip: %DB_HOST%>> conf\import\inter_conf.txt
echo map_server_id: %DB_USER%>> conf\import\inter_conf.txt
echo map_server_pw: %DB_PASS%>> conf\import\inter_conf.txt
echo map_server_db: %DB_NAME%>> conf\import\inter_conf.txt
echo log_db_ip: %DB_HOST%>> conf\import\inter_conf.txt
echo log_db_id: %DB_USER%>> conf\import\inter_conf.txt
echo log_db_pw: %DB_USERPW%>> conf\import\inter_conf.txt
echo log_db_db: %DB_NAME%>> conf\import\inter_conf.txt
rem TODO should be replace with tools\ci\sql.bat as soon as possible
rem MySQL database setup
%MYSQL% -u %DB_ROOT% -p%DB_ROOTPW% -e "CREATE DATABASE %DB_NAME%;"
@@ -100,8 +83,16 @@ test_script:
%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 ALL ON *.* TO '%DB_USER%'@'%DB_HOST%' IDENTIFIED BY '%DB_USERPW%';"
%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 Activate all custom and test scripts
start /d tools\ci npc.bat
rem Start the map server
login-server.exe --run-once
char-server.exe --run-once
map-server.exe --run-once

View File

@@ -63,6 +63,8 @@ aliases: {
cloneequip: ["eqclone"]
clonestat: ["stclone"]
reloadnpcfile: ["reloadnpc"]
changedress: ["nocosplay"]
camerainfo: ["viewpointvalue", "setcamera"]
}
/* Commands help file */

View File

@@ -6,11 +6,11 @@
// 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: 0x29F
// Who can have perfect flee? (Note 3)
enable_perfect_flee: 1
@@ -141,6 +141,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

@@ -71,7 +71,7 @@ wedding_modifydisplay: no
save_clothcolor: yes
// Save body styles. (Note 1)
// Note: Don't turn this on unless you know what your doing.
// Note: Don't turn this on unless you know what you are doing.
// Sprites are not released officially.
save_body_style: no

View File

@@ -148,3 +148,8 @@ alchemist_summon_reward: 1
// 333 = show announces for 3.33% or lower drop chance items
// 10000 = show announces for all items
rare_drop_announce: 0
// Does autoloot take into account player bonuses and penalties? (Note 1)
// If RENEWAL_DROP, Bubble Gum, or any other modifiers are active autoloot
// will take them into account.
autoloot_adjust: 0

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)
@@ -61,9 +61,45 @@ feature.autotrade_open_delay: 5000
// 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: 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

@@ -24,7 +24,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 +34,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

@@ -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,7 @@ 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

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)
@@ -19,7 +19,12 @@ vending_over_max: yes
// Tax to apply to all vending transactions (eg: 10000 = 100%, 50 = 0.50%)
// When a tax is applied, the item's full price is charged to the buyer, but
// the vender will not get the whole price paid (they get 100% - this tax).
vending_tax: 200
vending_tax: 500
// Minimum total of purchase until taxes are applied.
// Officially there is no tax for anything less than 100 million zeny.
// 0 will apply taxes to all transactions.
vending_tax_min: 100000000
// Show the buyer's name when successfully vended an item
buyer_name: yes
@@ -107,12 +112,32 @@ 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)
// no = normal refine chances in effect (official/default value)
// yes = event refine chances in effect
event_refine_chance: no
// Hide n last characters of player's name with asterisk (*) when the player
// obtained an item with special broadcast flag.
// 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)

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,10 +21,6 @@ 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)
pet_equip_required: yes
@@ -39,9 +35,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 +74,7 @@ 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

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
@@ -75,8 +77,13 @@ max_extended_aspd: 193
// Maximum walk speed rate (200 would be capped to twice the normal speed)
max_walk_speed: 300
// Maximum HP. (Default is 1000000)
max_hp: 1000000
// Maximum HPs depending on base level. Default values are:
// Lv 99: 330000
// Lv150: 660000
// Lv175: 1100000
max_hp_lv99: 330000
max_hp_lv150: 660000
max_hp: 1100000
// Maximum SP. (Default is 1000000)
max_sp: 1000000
@@ -261,3 +268,10 @@ fame_pharmacy_10: 50
// Be mindful that the more options used, the easier it becomes to cheat features that rely on idletime (e.g. checkidle()).
// Default: walk (0x1) + useskilltoid (0x2) + useskilltopos (0x4) + useitem (0x8) + attack (0x10) = 0x1F
idletime_option: 0x1F
// Adjust the summoner class' special traits.
// 0: Summoners behave like other classes.
// 1: Summoners belong to brute race instead of demi-human
// 2: Summoners are small size instead of medium
// 3: Both of the above (official value)
summoner_trait: 3

View File

@@ -122,7 +122,8 @@ gvg_traps_target_all: 1
// 0 = Always visible
// 1 = Enable invisibility in versus maps (GVG/PVP/BG)
// 2 = Enable invisibility in all maps
traps_setting: 0
// Default on official servers: 0 for Pre-renewal, 2 for Renewal
//traps_setting: 0
// Restrictions applied to the Alchemist's Summon Flora skill (add as necessary)
// 1: Enable players to damage the floras outside of versus grounds.
@@ -369,3 +370,16 @@ dispel_song: no
// 0: Uses the official duration
// X: Enter a custom duration in milliseconds.
banana_bomb_duration: 0
// Should items that you try to create be dropped if you have no space left in your inventory? (Note 1)
// 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
@@ -189,6 +189,14 @@ char_del_option: 2
// 3: Character cannot be deleted as long as he remains in a party or guild(default)
char_del_restriction: 3
// Restrict certain class from being created. (Only functional on 20151001aRagexe or later)
// 0: No character creation is allowed
// 1: Only novice is allowed to be created (pre-renewal default)
// 2: Only summoner is allowed to be created
// 3: Both novice and summoner can be created (renewal default)
// Uncomment to customize the restriction
//allowed_job_flag: 3
// What folder the DB files are in (item_db.txt, etc.)
db_path: db

View File

@@ -86,14 +86,14 @@ groups: (
level: 0
inherit: ( /*empty list*/ )
commands: {
/* no commands by default */
changedress: 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 +135,7 @@ groups: (
langtype: true
}
permissions: {
attendance: false
}
},
{
@@ -282,6 +283,7 @@ groups: (
permissions: {
can_trade: true
can_party: true
command_enable: true
all_skill: false
all_equipment: false
skill_unconditional: false
@@ -293,7 +295,6 @@ groups: (
item_unconditional: false
bypass_stat_onclone: true
bypass_max_stat: true
cashshop_sale: true
/* all_permission: true */
}
}

View File

@@ -103,6 +103,7 @@ jobchange: "Params: <job name|ID>\n" "Changes your job.\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"
"4239 Star Emperor 4240 Soul Reaper\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"
@@ -119,9 +120,10 @@ jobchange: "Params: <job name|ID>\n" "Changes your job.\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"
"4229 Baby Rebellion 4241 Baby Star Emperor 4242 Baby Soul Reaper\n"
"---- Modes And Others ----\n"
" 22 Wedding 26 Christmas 27 Summer 28 Hanbok\n"
" 29 Oktoberfest 30 Summer 2\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"
@@ -321,3 +323,6 @@ reload: "Params: <type>\n" "Reload a database or configuration file.\n"
" pcdb motd script\n"
" questdb msgconf packetdb\n"
langtype: "Params: <language>\n" "Changes your language setting."
limitedsale: "Opens the limited sale window."
changedress: "Removes all character costumes."
camerainfo: "Shows or updates the client's camera settings."

View File

@@ -10,7 +10,11 @@
# 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:
Header:
Type: INTER_SERVER_DB
Version: 1
#Body:
# - ID: 1
# Name: "VIP Storage"
# Table: "vip_storage"

View File

@@ -149,6 +149,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

@@ -28,7 +28,15 @@
# 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:
- 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,11 +105,13 @@ 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

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
@@ -149,8 +154,8 @@
216: No account with ID '%d' was found.
217: -- Account %d --
218: User: %s | GM Group: %d | State: %d
219: Password: %s (PIN:%s)
220: ****
//219: FREE
//220: FREE
221: Account e-mail: %s | Birthdate: %s
222: Last IP: %s (%s)
223: This user has logged in %d times, the last time was at %s

View File

@@ -458,8 +458,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>).
@@ -690,7 +689,7 @@
666: Pets are not allowed in Guild Wars.
667: You're not dead.
668: Your actual memo positions are:
669: You broke the target's weapon.
//669 free
670: You can't leave battleground guilds.
671: Friend already exists.
672: Name not found in list.
@@ -831,7 +830,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
@@ -1036,7 +1064,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
@@ -1527,7 +1558,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

@@ -441,8 +441,7 @@
// Homunculus messages
450: 你已經擁有一個人工生命體了
// Return pet to egg message
451: 你無法收回寵物,因為你身上沒有空間了
//451 free
// Message System
460: 請輸入合法的語言 (usage: @langtype <language>).
@@ -643,7 +642,7 @@
666: 公會戰不允許有寵物
667: 你沒死亡
668: 你實際儲存點是:
669: 你破壞目標的武器
//669 free
670: 你無法離開戰場公會
671: 這朋友已存在
672: 該名稱不在清單內
@@ -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

@@ -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>).
@@ -655,7 +654,7 @@
666: Pets non-autorisés lors d'une guerre entre guilde.
667: Vous n'êtes pas mort(e).
668: Votre position memo actuelle est:
669: Vous brisez l'arme de la cible.
//669 free
670: Vous ne pouvez pas quitter votre guilde.
671: Cette personne est déjà dans votre liste d'ami.
672: Nom introuvable dans la liste.
@@ -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

@@ -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>).
@@ -689,7 +688,7 @@
666: Peliharaan tidak diperbolehkan di Guild Wars.
667: Kamu tidak mati.
668: Posisi memomu saat ini adalah:
669: Kamu menghancurkan senajta lawan.
//669 kosong
670: Kamu tidak dapat meninggalkan guild battleground.
671: Teman sudah ada.
672: Nama tidak ditemukan di daftar.
@@ -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

View File

@@ -0,0 +1,3 @@
//Custom translations
import: conf/msg_conf/import/map_msg_mal_conf.txt

File diff suppressed because it is too large Load Diff

View File

@@ -449,8 +449,7 @@
// Сообщения команды @makehomun
450: У вас уже есть гомункулус
// Возвращение питомца в яйцо
451: Вы не можете вернуть питомца в яйцо, потому что ваш инвентарь забит.
//451 free
// @langtype
460: Введите существующий язык (Используйте: @langtype <язык>).
@@ -655,7 +654,7 @@
666: Питомцы запрещены во время Войны за Империум.
667: Вы не мертвы.
668: Ваши текущие точки сохранения:
669: Вы сломали оружие цели.
//669 НЕ ИСПОЛЬЗУЕТСЯ
670: Вы не можете покинуть БГ.
671: Друг уже добавлен.
672: Имя не найдено в списке.
@@ -1386,7 +1385,7 @@
1391: У вас нет телеги.
1392: Телега добавлена.
// atcommand.c::is_atcommand
// atcommand.cpp::is_atcommand
1393: Вы не можете использовать команды когда мертвы.
// @clearstorage

View File

@@ -2,20 +2,16 @@
// Configuración de mensajes
// Si vas a traducirlo simplemente tienes que cambiar el msg de la segunda línea, no tienes que modificar el código fuente,
// aunque también puedes utilizar conf/import/map_msg_spn_conf.txt
// El formato es el siguiente:
// // Mensaje en inglés
// msg_number: mensaje traducido
// Del 0 al 410 están reservados para comandos de GM (Game Master)
// Del 500-900 están reservados para otros usos
// Del 900 al 1300 son mensajes de @atcommand
//
// Formato:
// msg_number: mensaje traducido (tamaño máximo: 255 caracteres)
//
// Si quieres desactivar una variable (%s) de una cadena de texto, haz que su tamaño máximo sea 0:
// Por ejemplo:
// 270: *%s %s* (Este es el formato de texto para el comando @me)
// 270: *%.0s%s* (Si pones esto no se mostrará el nombre del personaje)
// Aquí empiezan los mensajes relacionados con los comandos de GM
// Mensajes de comandos de GM
// -----------------------
0: Te has teletransportado.
@@ -90,10 +86,10 @@
69: Has reducido el nivel de oficio de ese personaje.
70: Has adquirido esa habilidad.
71: Has olvidado esa habilidad.
72: Ha comenzado la Guerra del Emperium.
73: En estos momentos ya hay una Guerra del Emperium.
74: La Guerra del Emperium ha finalizado.
75: En estos momentos no hay ninguna Guerra del Emperium.
72: Ha comenzado la guerra de clanes.
73: En estos momentos ya hay una guerra de clanes.
74: La guerra de clanes ha finalizado.
75: En estos momentos no hay ninguna guerra de clanes.
76: Se han añadido todas las habilidades a tu árbol de habilidades.
77: Estos son los resultados de la búsqueda de '%s' (nombre: ID):
78: %s: %d
@@ -131,9 +127,9 @@
110: El NPC ha sido cargado con éxito.
111: Ese NPC no existe.
112: El NPC ha sido desactivado.
113: Un GM te ha eliminado %d objeto(s).
114: Se han eliminado %d objeto(s) del jugador.
115: Se han eliminado %d objeto(s). El jugador sólo tenía %d de %d objetos.
113: Un GM te ha eliminado esta cantidad de objetos: %d.
114: Objetos eliminados del jugador: %d.
115: Objetos eliminados: %d. El jugador sólo tenía %d de %d objetos.
116: Ese personaje no tiene el objeto que has introducido.
117: Un GM te ha enviado a la cárcel.
118: Has enviado al jugador a la cárcel.
@@ -158,7 +154,7 @@
141: Has quitado el disfraz de ese personaje.
142: Ese personaje no lleva ningún disfraz.
143: No puedes utilizar ese comando en este mapa.
144: La dirección de correo electrónico no es válida, si no sabes cual es prueba a@a.com
144: La dirección de correo electrónico no es válida, si no sabes cuál es prueba a@a.com
145: La dirección de correo electrónico no es válida. Introduce una de verdad.
146: Debes introducir una dirección de correo electrónico de verdad.
147: La nueva dirección de correo electrónico debe ser distinta a la actual.
@@ -259,7 +255,7 @@
242: Ahora cualquier jugador puede atacarte.
243: Ya no se pueden utilizar habilidades en este mapa.
244: Ahora se pueden utilizar habilidades en este mapa.
245: El servidor lleva en marcha %ld días, %ld horas, %ld minutos, %ld segundos.
245: Tiempo de conexión del servidor: Días: %ld. Horas: %ld. Minutos: %ld. Segundos: %ld.
246: Tu nivel de GM no está autorizado para realizar esa acción.
247: No tienes permiso para ir a ese mapa.
248: No tienes permiso para salir de este mapa.
@@ -310,6 +306,13 @@
290: Ahora nadie puede atacar a ese jugador.
291: Los efectos climáticos desaparecerán al teletransportarse o al utilizar @refresh.
292: Has restablecido la condición de asesino.
// Sistema de ligado de objetos
293: Este objeto está ligado y no puede intercambiarse.
294: Este objeto está ligado y no puede almacenarse.
295: Introduce el nombre de un objeto o su ID (instrucciones: @item <nombre/ID> <cantidad> <ligado>).
296: Introduce todos los parámetros (instrucciones: @item2 <nombre/ID> <cantidad>)
297: <identificado> <refinamiento> <atributo> <carta1> <carta2> <carta3> <carta4> <ligado>).
298: El ligado del objeto no es válido. Tipos válidos: 1-Cuenta, 2-Clan, 3-Grupo, 4-Personaje.
// Número de los castillos
// --------------------
//299: ?? castillos
@@ -352,14 +355,15 @@
//Plantillas para el resultado de @who
343: Nombre: %s
344: (%s)
344: (%s)
345: | Grupo: '%s'
346: | Clan: '%s'
//Si eliminas el último %s no verás el oficio de tus jugadores.
347: | Nv:%d/%d | Oficio: %s
//Si eliminas los 2 últimos %d no verás las coordenadas de tus jugadores, tan solo el nombre el mapa donde están
348: | Ubicación: %s %d %d
// @fullstrip
349: Introduce el nombre de un jugador (instrucciones: @fullstrip <personaje/ID>).
// @duel (1ª parte)
350: Duelo: No puedes usar @invite porque no estás en un duelo.
351: Duelo: Se ha alcanzado el límite máximo de jugadores para este duelo.
@@ -392,7 +396,15 @@
380: Ha ocurrido un error. El objeto [%s] no puede usarse todavía. Espera %d segundos.
381: La habilidad ha fallado. Para utilizar [%s] necesitas %dx %s.
382: Estás demasiado cerca de un emperium o una piedra guardián.
//383-389 vacíos
383: No puedes crear un punto de guardado en una instancia.
384: No puedes hacer memo en una instancia.
//Comprobación de emblemas
385: No se puede cambiar el emblema durante una guerra de clanes.
386: El emblema que has elegido no es válido.
387: El emblema que has elegido tiene demasiada transparencia (límite=%d)
//etc
388: No puedes utilizar este objeto con el almacén abierto.
389: La velocidad ha vuelto a la normalidad.
//NoAsk (rechazar invitaciones)
390: Rechazas todas las invitaciones de manera automática.
391: Ya no rechazas todas las invitaciones de manera automática.
@@ -406,11 +418,11 @@
400: Instrucciones @jailfor <tiempo> <nombre del personaje>
401: Tu pena de prisión es de %d años, %d meses, %d días, %d horas y %d minutos.
402: %s estará en la cárcel durante %d años, %d meses, %d días, %d horas y %d minutos.
// WoE SE (@agitstart2) Guerra del Emperium, 2ª edición.
403: Ha dado comienzo la Guerra del Emperium de la 2ª edición.
404: Hay una Guerra del Emperium de la 2ª edición en marcha.
405: Ha finalizado la Guerra del Emperium de la 2ª edición.
406: No hay ninguna Guerra del Emperium de la 2ª edición en marcha.
// WoE SE (@agitstart2) guerra de clanes, 2ª edición.
403: Ha dado comienzo la guerra de clanes de la 2ª edición.
404: Hay una guerra de clanes de la 2ª edición en marcha.
405: Ha finalizado la guerra de clanes de la 2ª edición.
406: No hay ninguna guerra de clanes de la 2ª edición en marcha.
//407 free
//Mensajes de chrif
408: Necesitas desconectarte para realizar el cambio de sexo.
@@ -436,15 +448,20 @@
430: desbloquear
431: desbloquear
432: cambiar el sexo de
433: Este personaje tiene el acceso bloqueado hasta
434: El char-server va a %s al personaje '%.*s'.
435: Introduce el nombre de un jugador (instrucciones: %s <nombre de personaje>).
436: VIP
437: Un GM no puede ser VIP.
438: Ya no eres VIP.
// Mensajes de homúnculos
450: Ya tienes un homúnculo.
// Return pet to egg message
451: No puedes devolver tu pet al huevo porque tu inventario está lleno.
//451 free
// Sistema de mensajería
460: Introduce un idioma válido (Instrucciones: @langtype <idioma>)
460: Introduce un idioma válido (instrucciones: @langtype <idioma>)
461: Has establecido %s como idioma.
462: Ese idioma está desactivado.
463: Se ha actualizado la configuración de los mensajes.
@@ -458,7 +475,7 @@
485:    Usuarios: %d/%d | Contraseña: %s | Abierto: %s
486: Sí
487: No
488: Introduce un valor de la lista (Instrucciones: @mapinfo <0-3> <mapa>).
488: Introduce un valor de la lista (instrucciones: @mapinfo <0-3> <mapa>).
489: NPC %d: %s::%s | Dirección: %s | Sprite: %d | Ubicación: %d %d
490: NPC %d: %s | Dirección: %s | Sprite: %d | Ubicación: %d %d
491: Norte
@@ -479,35 +496,65 @@
503: Está activado el modo nocturno.
//Mensajes de los puntos de cash
504: Has utilizado %d puntos Kafra y %d puntos de cash. Te quedan %d puntos Kafra y %d puntos de cash.
505: Has obtenido %d puntos de cash. Tienes un total de %d puntos.
506: Has obtenido %d puntos Kafra. Tienes un total de %d puntos.
410: Se han eliminado %d puntos de cash. Quedan %d puntos.
411: Se han eliminado %d puntos Kafra. Quedan %d puntos.
504: Puntos utilizados: Kafra: %d. Cash: %d. Puntos restantes: Kafra: %d. Cash: %d.
505: Puntos de cash obtenidos: %d. Puntos totales: %d.
506: Puntos de Kafra obtenidos %d. Puntos totales: %d.
410: Puntos de cash eliminados: %d. Puntos restantes: %d.
411: Puntos de Kafra eliminados: %d. Puntos restantes: %d.
// Mensajes del sistema de intercambio de objetos
507: Este jugador ha sido expulsado durante %d minuto(s).
508: Este jugador no ha sido expulsado (La opción está desactivada).
//509 vacío
// Bloqueo de personajes
507: Este jugador ha sido bloqueado durante estos minutos: %d.
508: Este jugador no ha sido bloqueado (el bloqueo está desactivado).
509: Comandos de scripts ligados:
// Sistema de correo
//----------------------
510: Tienes un total de %d cartas nuevas (%d sin leer).
510: Correos nuevos: %d (%d sin leer).
//Instancing
515: Tu instancia se ha recargado.
516: Se ha recargado la base de datos de instancias.
// @auction
517: El sistema de subastas está desactivado.
//@itemlist -- continuación
518: Adorno para la boca,
519: Adorno para la cabeza,
520: Adorno para la cabeza y la boca,
521: Adorno para los ojos,
522: Adorno para ojos y boca,
523: Adorno para toda la cara,
524: Ropa decorativa,
525: Suelo decorativo,
526: Armadura,
527: Cuerpo sombrío,
528: Mano derecha sombría,
529: Mano izquierda sombría,
530: Sombra en ambas manos,
531: Zapatos sombríos,
532: Accesorio derecho sombrío,
533: Accesorio izquierdo sombrío,
534: ¡No quedan existencias! Vuelve más tarde.
// Mensajes de detección de bots (sin uso)
535: Se ha detectado un posible bot (99% de probabilidades) o un cliente modificado: '%s' (cuenta: %d, char_id: %d). Este jugador te pregunta el nombre si estás escondido.
536: El personaje '%s' (cuenta: %d) está intentando utilizar un bot (intentando detectar a un jugador falso).
537: El personaje '%s' (cuenta: %d) está intentando utilizar un bot (intentando detectar a un monstruo falso).
// Mensajes del sistema de intercambio de objetos
538: Se ha detectado una irregularidad en el intercambio de objetos del personaje '%s' (cuenta: %d), está intentando intercambiar más de lo que tiene.
539: Ese jugador tiene %d unidades del objeto (id: %hu), pero ha intentado intercambiar %d.
540: Ese jugador ha sido bloqueado.
// Anuncios de consecución de objetos poco comunes y robos de objetos.
541: '%s' ha conseguido de %s un %s (probabilidad: %0.02f%%)
//541: %.0s%.0s alguien ha conseguido %s
542: '%s' ha robado de %s un %s (probabilidad: %0.02f%%)
//542: %.0s%.0s alguien ha robado%s
//543~548 no se utilizan (pertenecían a @away)
// @autotrade
549: Debes abrir una tienda para poder utilizar @autotrade.
@@ -639,22 +686,21 @@
663: Duelo: No puedes utilizar ese objeto en pleno duelo.
664: No puedes utilizar ese comando estando muerto.
665: No puedes crear una sala de chat en este mapa.
666: Las mascotas están prohibidas en la Guerra del Emperium.
666: Las mascotas están prohibidas en la guerra de clanes.
667: No estás muerto.
668: Tus puntos de memorización actuales son los siguientes:
669: Has roto el arma de tu enemigo.
//669 vacío
670: No puedes abandonar un clan especial de battleground.
671: Ese jugador ya es amigo tuyo.
672: No se ha encontrado el nombre que has introducido.
673: No puedes realizar esa acción en estos momentos. Inténtalo más tarde.
674: Se ha eliminado de tu lista de amigos.
675: No puedes enviar tantos correos seguidos.
676: No se pueden establecer alianzas durante una Guerra del Emperium.
677: No se puede romper una alianza durante una Guerra del Emperium.
676: No se pueden establecer alianzas durante una guerra de clanes.
677: No se puede romper una alianza durante una guerra de clanes.
678: Ya no eres el líder del clan.
679: Te has convertido en el líder del clan.
680: Te has recuperado.
//681-899 vacíos
681: Rune Knight T
682: Warlock T
@@ -676,6 +722,86 @@
698: Baby Summoner
699: Baby Ninja
// @vip
700: Instrucciones: @vip <tiempo> <nombre del personaje>
701: El tiempo introducido no es válido.
702: El formato del tiempo es +/-<valor>. y/a = Año, m = Mes, d/j = Día, h = Horas, n/mn = Minutos, s = Segundos.
703: Un GM te ha retirado el VIP.
704: El jugador ya no es VIP.
705: Tiempo restante como VIP: Años: %d. Meses: %d. Días: %d. Horas: %d. Minutos: %d.
706: El jugador '%s' será VIP durante: Años: %d. Meses: %d. Días: %d. Horas: %d. Minutos: %d.
707: Serás VIP hasta: %s
708: El jugador será VIP hasta: %s
709: El objeto %hu ha sido eliminado de tu inventario.
710: El objeto %hu ha sido eliminado de tu carro.
711: El objeto %hu ha sido eliminado de tu almacén.
// Item shop
712: No tienes suficientes %s (%hu).
713: No tienes suficientes '%s'.
714: Listado de la tienda de objetos: %s (%hu)
715: Listado de puntos de la tienda: '%s'
716: Tu '%s' ahora es: %d
// MVP EXP reward message
717: ¡Enhorabuena! ¡Eres todo un MVP! ¡¡Puntos de experiencia obtenidos: %u!!
// @showrate
718: La información de ratio personal no se mostrará.
719: Ahora se mostrará la información de ratio personal.
//Skill messages
//720: Vacío
721: [%s] Se ha imbuido el arma con veneno.
//722: Vacío
// @costume
723: No existe el disfraz '%s'.
724: Ya llevas puesto el disfraz '%s', escribe '@costume' para quitártelo.
725: -- %s
726: - Disfraces disponibles
727: Disfraz '%s' eliminado.
// Monster Transformation
728: ¡¡Traaaansformación!! ¡¡Forma %s!!
729: No puedes transformarte en un monstruo si llevas un disfraz.
730: El personaje no puede disfrazarse si está transformado en un monstruo.
731: No puedes transformarte en monstruo durante la guerra de clanes.
732: No puedes abrir el objeto porque tu inventario está lleno.
733: Introduce la ruta de archivo de un NPC (instrucciones: @reloadnpcfile <ruta>).
// @cloneequip/@clonestat
734: No puedes clonar tu propio %s.
735: Instrucciones: %s <personaje/ID>
736: No se puede clonar el %s de ese jugador.
737: '%s' (%d) no se puede clonar, límite (%d).
738: Clonación de '%s' realizada.
// @bodystyle
739: Introduce un estilo de cuerpo (instrucciones: @bodystyle <ID de cuerpo: %d-%d>).
740: Este oficio no tiene estilos de cuerpo alternativos.
// @showexp
741: Obtenida
742: Perdida
743: Experiencia %s Base:%ld (%0.2f%%) Oficio:%ld (%0.2f%%)
// @adopt
744: El bebé ya está adoptado o está en proceso de adopción.
745: Necesitas estar casado y dentro de un grupo con tu pareja y el bebé para adoptarlo.
746: El padre y la madre deben equiparse sus anillos de boda.
747: El bebé no es un Novice.
748: Falta uno de los padres o el bebé.
// Guerra de clanes de entrenamiento (@agitstart3/@agitend3)
749: Ha empezado la guerra de clanes de entrenamiento.
750: La guerra de clanes de entrenamiento ya ha sido iniciada.
751: Ha terminado la guerra de clanes de entrenamiento.
752: La guerra de clanes de entrenamiento no ha sido iniciada.
// Expanded Baby Jobs
753: Baby Kagerou
754: Baby Oboro
@@ -685,6 +811,27 @@
758: Baby Gunslinger
759: Baby Rebellion
// Channel System
760: No puedes unirte al canal '%s'. Se ha llegado al límite de %d usuarios.
761: %s %s se ha unido al canal.
762: No puedes abandonar el canal '%s'.
763: %s %s ha abandonado el canal.
764: No puedes modificar el color del canal '%s'.
765: No tienes permisos para bloquear a nadie.
766: No puedes expulsar a nadie del canal '%s'.
767: No puedes expulsar a nadie del canal.
768: Se ha expulsado a %s %s del canal.
769: Se ha bloqueado a %s %s del canal.
770: Se ha desbloqueado a %s %s del canal.
//@reloadachievementdb
771: Se ha recargado la base de datos de logros.
// Achievements
772: Los logros están desactivados.
//773-899 vacíos
//------------------------------------
// Más mensajes relacionados con comandos
//------------------------------------
@@ -701,13 +848,13 @@
908: Has introducido un valor desconocido en:
// @rura
909: Introduce un nombre de mapa (Instrucciones: @warp/@rura/@mapmove <nombre de mapa> <x> <y>).
909: Introduce un nombre de mapa (instrucciones: @warp/@rura/@mapmove <nombre de mapa> <x> <y>).
// @where
910: Introduce el nombre de algún jugador (Instrucciones: @where <personaje>).
910: Introduce el nombre de algún jugador (instrucciones: @where <personaje>).
// @jumpto
911: Introduce el nombre de algún jugador (Instrucciones: @jumpto/@warpto/@goto <personaje/ID>).
911: Introduce el nombre de algún jugador (instrucciones: @jumpto/@warpto/@goto <personaje/ID>).
// @who
912: (CID:%d/AID:%d)
@@ -720,7 +867,7 @@
917: Ninguno
// @speed
918: Introduce un valor para tu velocidad (Instrucciones: @speed <%d-%d>).
918: Introduce un valor para tu velocidad (instrucciones: @speed <%d-%d>).
// @storage
919: Has abierto el almacén.
@@ -737,22 +884,22 @@
//924-979 vacíos (¿posibles futuros oficios?)
// @kami
980: Introduce un mensaje (Instrucciones: @kami <mensaje>).
981: Introduce un color y un mensaje (Instrucciones: @kamic <color> <mensaje>).
980: Introduce un mensaje (instrucciones: @kami <mensaje>).
981: Introduce un color y un mensaje (instrucciones: @kamic <color> <mensaje>).
982: Ese color no es válido.
// @item
983: Introduce el nombre de un objeto o su ID (Instrucciones: @item <nombre del objeto/ID> <cantidad>).
983: Introduce el nombre de un objeto o su ID (instrucciones: @item <nombre del objeto/ID> <cantidad>).
// @item2
984: Introduce todos los parámetros (Instrucciones: @item2 <nombre del objeto/id> <cantidad>)
984: Introduce todos los parámetros (instrucciones: @item2 <nombre del objeto/id> <cantidad>)
985: <¿identificado?> <refinamiento> <atributos> <carta1> <carta2> <carta3> <carta4>.
// @baselevelup
986: Introduce una cifra (Instrucciones @lvup/@blevel/@baselvlup <cantidad de niveles>).
986: Introduce una cifra (instrucciones @lvup/@blevel/@baselvlup <cantidad de niveles>).
// @joblevelup
987: Introduce una cifra (Instrucciones: @joblvup/@jlevel/@joblvlup <cantidad de niveles>).
987: Introduce una cifra (instrucciones: @joblvup/@jlevel/@joblvlup <cantidad de niveles>).
// @help
988: No hay ayuda disponible para %c%s.
@@ -760,22 +907,22 @@
990: Alternativas disponibles:
// @model
991: Introduce al menos un valor (Instrucciones: @model <ID del peinado: %d-%d> <color del peinado: %d-%d> <tinte de ropa: %d-%d>).
991: Introduce al menos un valor (instrucciones: @model <ID del peinado: %d-%d> <color del peinado: %d-%d> <tinte de ropa: %d-%d>).
// @dye
992: Introduce un tinte de ropa (Instrucciones: @dye/@ccolor <tinte de ropa: %d-%d>).
992: Introduce un tinte de ropa (instrucciones: @dye/@ccolor <tinte de ropa: %d-%d>).
// @hairstyle
993: Introduce un tipo de peinado (Instrucciones: @hairstyle/@hstyle <ID del peinado: %d-%d>).
993: Introduce un tipo de peinado (instrucciones: @hairstyle/@hstyle <ID del peinado: %d-%d>).
// @haircolor
994: Introduce un color de peinado (Instrucciones: @haircolor/@hcolor <color del peinado: %d-%d>).
994: Introduce un color de peinado (instrucciones: @haircolor/@hcolor <color del peinado: %d-%d>).
// @go
995: No puedes utilizar @go en este mapa.
// @refine
996: Introduce una pieza de equipo y una cantidad (Instrucciones: @refine <pieza de equipo> <+/- cantidad>).
996: Introduce una pieza de equipo y una cantidad (instrucciones: @refine <pieza de equipo> <+/- cantidad>).
997: %d: Boca
998: %d: Mano derecha
999: %d: Ropaje
@@ -788,89 +935,92 @@
1006: %d: Ojos / Orejas
// @produce
1007: Introduce el nombre/ID de un objeto (Instrucciones: @produce <pieza de equipo/ID> <elemento> <# cantidad de "muy">)
1007: Introduce el nombre/ID de un objeto (instrucciones: @produce <pieza de equipo/ID> <elemento> <# cantidad de "muy">)
// @memo
1008: Introduce una ubicación válida (Instrucciones: @memo <posición_memo:%d-%d>).
1008: Introduce una ubicación válida (instrucciones: @memo <posición_memo:%d-%d>).
// @displaystatus
1009: Introduce un valor válido (Instrucciones: @displaystatus <tipo de estado> <identificador> <punto> {<valor1> {<valor2> {<valor3>}}}).)
1009: Introduce un valor válido (instrucciones: @displaystatus <tipo de estado> <identificador> <punto> {<valor1> {<valor2> {<valor3>}}}).)
// @stpoint
1010: Introduce una cantidad (Instrucciones: @stpoint <cantidad de puntos>)
1010: Introduce una cantidad (instrucciones: @stpoint <cantidad de puntos>)
// @skpoint
1011: Introduce una cantidad (Instrucciones: @skpoint <cantidad de puntos>)
1011: Introduce una cantidad (instrucciones: @skpoint <cantidad de puntos>)
// @zeny
1012: Introduce una cantidad (Instrucciones: @zeny <cantidad>).
1012: Introduce una cantidad (instrucciones: @zeny <cantidad>).
// @param
1013: Introduce una cantidad (Instrucciones: @str/@agi/@vit/@int/@dex/@luk <+/- cantidad>).
1013: Introduce una cantidad (instrucciones: @str/@agi/@vit/@int/@dex/@luk <+/- cantidad>).
// @guildlevelup
1014: Introduce una cantidad (Instrucciones: @guildlvup/@guildlvlup <cantidad de niveles>).
1014: Introduce una cantidad (instrucciones: @guildlvup/@guildlvlup <cantidad de niveles>).
// @makeegg
1015: Introduce el nombre de un monstruo/huevo/ID (Instrucciones: @makeegg <mascota>).
1015: Introduce el nombre de un monstruo/huevo/ID (instrucciones: @makeegg <mascota>).
// @petfriendly
1016: Introduce una cantidad (Instrucciones: @petfriendly <0-1000>).
1016: Introduce una cantidad (instrucciones: @petfriendly <0-1000>).
// @pethungry
1017: Introduce una cantidad (Instrucciones: @pethungry <0-100>).
1017: Introduce una cantidad (instrucciones: @pethungry <0-100>).
// @recall
1018: Introduce el nombre de un jugador (Instrucciones: @recall <nombre/ID>)
1018: Introduce el nombre de un jugador (instrucciones: @recall <nombre/ID>)
1019: No estás autorizado a llevar a nadie a este mapa.
// @recall
1020: No estás autorizado a sacar a ese jugador de su mapa.
// @charblock
1021: Introduce el nombre de un jugador (Instrucciones: @charblock/@block <nombre del personaje>)
// @charblock/@charunblock
1021: Introduce el nombre de un jugador (instrucciones: @charblock/@block <nombre del personaje>)
// @charban
1022: Introduce la duración del bloqueo y el nombre del jugador que quieres bloquear (Instrucciones: @charban/@ban/@banish/@charbanish <tiempo> <nombre del personaje>).
// @ban/@charban
1022: Introduce la duración del bloqueo y el nombre del jugador (instrucciones: %s <tiempo> <nombre del personaje>).
1023: No estás autorizado para modificar ningún bloqueo temporal.
// @charunblock
1024: Introduce el nombre de un jugador bloqueado (Instrucciones: @charunblock <nombre del personaje>).
// @rates
1024: Ratio de objetos de MVP: Comunes %.2fx / Curativos %.2fx / Consumibles %.2fx / Equipo %.2fx / Carta %.2fx
// @recall
1025: El personaje está en autotrade y no puede acudir.
// @kick
1026: Introduce el nombre de un personaje (Instrucciones: @kick <nombre del personaje/ID>).
1026: Introduce el nombre de un personaje (instrucciones: @kick <nombre del personaje/ID>).
// @questskill / @lostskill
1027: Introduce la ID de una habilidad de quest.
// @spiritball
1028: Introduce una cantidad (Instrucciones: @spiritball <cantidad: 0-%d>).
1028: Introduce una cantidad (instrucciones: @spiritball <cantidad: 0-%d>).
// @party
1029: Introduce el nombre de un grupo (Instrucciones: @party <nombre del grupo>).
1029: Introduce el nombre de un grupo (instrucciones: @party <nombre del grupo>).
// @guild
1030: Introduce el nombre de un clan (Instrucciones: @guild <nombre del clan>).
1030: Introduce el nombre de un clan (instrucciones: @guild <nombre del clan>).
// @idsearch
1031: Introduce una parte del nombre de un objeto (Instrucciones: @idsearch <parte del nombre>).
1031: Introduce una parte del nombre de un objeto (instrucciones: @idsearch <parte del nombre>).
// @recallall / @guildrecall / @partyrecall
1032: No estás autorizado a traer nadie a este mapa.
1033: Jugadores no convocados: %d (no estás autorizado).
// @guildrecall
1034: Introduce el nombre/ID de un clan (Instrucciones: @guildrecall <nombre/ID del clan>).
1034: Introduce el nombre/ID de un clan (instrucciones: @guildrecall <nombre/ID del clan>).
// @partyrecall
1035: Introduce el nombre/ID de un grupo (Instrucciones: @partyrecall <nombre/ID del grupo>).
1035: Introduce el nombre/ID de un grupo (instrucciones: @partyrecall <nombre/ID del grupo>).
// @reloadatcommand
1036: Ha ocurrido un error al cargar el archivo groups.conf.
1037: Ha ocurrido un error al cargar el archivo atcommand_athena.conf.
// @mapinfo
1038: Introduce un número de la lista (Instrucciones: @mapinfo <0-3> <mapa>).
1038: Introduce un número de la lista (instrucciones: @mapinfo <0-3> <mapa>).
1039: ------ Información del mapa ------
1040: Mapa: %s | Jugadores: %d | NPCs: %d | Chats: %d | Tiendas: %d
1041: ------ Opciones del mapa ------
@@ -884,14 +1034,16 @@
1049: Opciones climáticas:
1050: Otras opciones:
1051: Otras opciones2:
1052: Ajustes de daño de habilidades:
//1053-1064 vacíos
1065: Sin penalización de experiencia: %s | Sin penalización de zeny: %s
1066: Activado
1067: Desactivado
1068: Sin opción de guardado (Vuelves al punto de guardado)
1068: Sin opción de guardado (vuelves al punto de guardado)
1069: Sin opción de guardado, punto de guardado: %s, aleatorio
1070: Sin opción de guardado, punto de guardado: %s,%d,%d
// @mount
1119: Te has montado en tu dragón.
1120: Has liberado a tu dragón.
@@ -902,34 +1054,34 @@
// @guildspy
1125: Este comando está desactivado.
1126: Introduce el nombre/ID de un clan (Instrucciones: @guildspy <nombre/ID del clan>).
1126: Introduce el nombre/ID de un clan (instrucciones: @guildspy <nombre/ID del clan>).
// @partyspy
1127: Introduce el nombre/ID de un grupo (Instrucciones: @partyspy <nombre/ID del grupo>).
1127: Introduce el nombre/ID de un grupo (instrucciones: @partyspy <nombre/ID del grupo>).
// @nuke
1128: Introduce el nombre de algún jugador (Instrucciones: @nuke <nombre del personaje>).
1128: Introduce el nombre de algún jugador (instrucciones: @nuke <nombre del personaje>).
// @tonpc
1129: Introduce el nombre de algún NPC (Instrucciones: @tonpc <nombre del NPC>).
1129: Introduce el nombre de algún NPC (instrucciones: @tonpc <nombre del NPC>).
// @enablenpc
1130: Introduce el nombre de un NPC (Instrucciones: @enablenpc <nombre del NPC>).
1130: Introduce el nombre de un NPC (instrucciones: @enablenpc <nombre del NPC>).
// @hidenpc
1131: Introduce el nombre de un NPC (Instrucciones: @hidenpc <nombre del NPC>).
1131: Introduce el nombre de un NPC (instrucciones: @hidenpc <nombre del NPC>).
// @loadnpc
1132: Introduce el nombre de un script (Instrucciones: @loadnpc <ruta del script>)
1132: Introduce el nombre de un script (instrucciones: @loadnpc <ruta del script>)
// @unloadnpc
1133: Introduce el nombre de un NPC (Instrucciones: @unloadnpc <nombre del NPC>).
1133: Introduce el nombre de un NPC (instrucciones: @unloadnpc <nombre del NPC>).
// @jail
1134: Introduce el nombre de algún jugador (Instrucciones: @jail <nombre del personaje>).
1134: Introduce el nombre de algún jugador (instrucciones: @jail <nombre del personaje>).
// @unjail
1135: Introduce el nombre de algún jugador (Instrucciones: @unjail/@discharge <nombre del personaje>).
1135: Introduce el nombre de algún jugador (instrucciones: @unjail/@discharge <nombre del personaje>).
// @jailfor
1136: La duración que has introducido no es válida.
@@ -943,32 +1095,32 @@
1142: Te quedarás
// @disguise
1143:Introduce el nombre/ID de un monstruo/NPC (Instrucciones: @disguise <nombre/ID>).
1143:Introduce el nombre/ID de un monstruo/NPC (instrucciones: @disguise <nombre/ID>).
1144: No puedes disfrazarte en una montura.
// @disguiseall
1145: Introduce el nombre/ID de un monstruo/NPC (Instrucciones: @disguiseall <nombre/ID>).
1145: Introduce el nombre/ID de un monstruo/NPC (instrucciones: @disguiseall <nombre/ID>).
// @disguiseguild
1146: Introduce el nombre/ID de un monstruo, y el nombre/ID de un clan (Instrucciones: @disguiseguild <nombre/ID del monstruo> <nombre/ID del clan>).
1146: Introduce el nombre/ID de un monstruo, y el nombre/ID de un clan (instrucciones: @disguiseguild <nombre/ID del monstruo> <nombre/ID del clan>).
// @undisguiseguild
1147: Introduce el nombre/ID de un clan (Instrucciones: @undisguiseguild <nombre/ID del clan>).
1147: Introduce el nombre/ID de un clan (instrucciones: @undisguiseguild <nombre/ID del clan>).
// @exp
1148: Nivel de base: %d (%.3f%%) | Nivel de oficio: %d (%.3f%%)
// broadcast
1149: Escribe un mensaje (Instrucciones: @broadcast <mensaje>).
1149: Escribe un mensaje (instrucciones: @broadcast <mensaje>).
// localbroadcast
1150: Introduce un mensaje (Instrucciones @localbroadcast <mensaje>).
1150: Introduce un mensaje (instrucciones @localbroadcast <mensaje>).
// @email
1151: Introduce dos correos electrónicos (Instrucciones: @email <actual> <nuevo>)
1151: Introduce dos correos electrónicos (instrucciones: @email <actual> <nuevo>)
// @effect
1152: Introduce el ID de algún efecto (Instrucciones: @effect <ID del efecto>)
1152: Introduce el ID de algún efecto (instrucciones: @effect <ID del efecto>)
// @npcmove
1153: Instrucciones: @npcmove <X> <Y> <nombre del NPC>
@@ -989,7 +1141,7 @@
1162: Has almacenado todos tus objetos.
// @skillid
1163: Introduce el nombre de la habilidad a buscar (Instrucciones: @skillid <nombre de la habilidad>).
1163: Introduce el nombre de la habilidad a buscar (instrucciones: @skillid <nombre de la habilidad>).
1164: habilidad %d: %s (%s)
// @useskill
@@ -1046,8 +1198,8 @@
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>.
1197: @alootid reset reiniciará 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>.
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:
1200: Has reiniciado tu lista de recogida de objetos.
@@ -1085,10 +1237,10 @@
1216: Ha comenzado el espectáculo de fuegos artificiales.
// @sound
1217: Introduce el nombre de un archivo de sonido (Instrucciones: @sound <archivo>).
1217: Introduce el nombre de un archivo de sonido (instrucciones: @sound <archivo>).
// @mobsearch
1218: Introduce el nombre de un monstruo (Instrucciones: @mobsearch <nombre del monstruo>),
1218: Introduce el nombre de un monstruo (instrucciones: @mobsearch <nombre del monstruo>),
1219: Ese monstruo no existe (%s).
1220: Búsqueda... %s %s
@@ -1096,14 +1248,14 @@
1221: Has eliminado todos los objetos arrojados al suelo.
// @npctalk
1222: Introduce los siguientes parámetros (Instrucciones: @npctalk <nombre del npc> <mensaje>).
1223: Introduce los siguientes parámetros (Instrucciones @npctalk <color> <nombre del npc> <mensaje>).
1222: Introduce los siguientes parámetros (instrucciones: @npctalk <nombre del npc> <mensaje>).
1223: Introduce los siguientes parámetros (instrucciones @npctalk <color> <nombre del npc> <mensaje>).
// @pettalk
1224: Introduce un mensaje (Instrucciones: @pettalk <mensaje>).
1224: Introduce un mensaje (instrucciones: @pettalk <mensaje>).
// @summon
1225: Introduce el nombre de un monstruo (Instrucciones: @summon <nombre del monstruo> {duración}).
1225: Introduce el nombre de un monstruo (instrucciones: @summon <nombre del monstruo> {duración}).
// @adjgroup
1226: Instrucciones @adjgroup <ID del grupo>
@@ -1112,7 +1264,7 @@
1229: Has cambiado de grupo.
// @trade
1230: Introduce el nombre de un jugador (Instrucciones: @trade <nombre del personaje>).
1230: Introduce el nombre de un jugador (instrucciones: @trade <nombre del personaje>).
// @setbattleflag
1231: Instrucciones: @setbattleflag <opción> <parámetro>
@@ -1120,7 +1272,7 @@
1233: Se ha configurado con éxito.
// @unmute
1234: Introduce el nombre de un jugador (Instrucciones: @unmute <nombre del personaje>).
1234: Introduce el nombre de un jugador (instrucciones: @unmute <nombre del personaje>).
1235: El jugador no está silenciado.
1236: El jugador ya no está silenciado.
@@ -1131,7 +1283,7 @@
1238: No tienes ningún objeto para identificar.
// @mobinfo
1239: Introduce el nombre/ID de un monstruo (Instrucciones: @mobinfo <nombre/ID del monstruo>).
1239: Introduce el nombre/ID de un monstruo (instrucciones: @mobinfo <nombre/ID del monstruo>).
1240: Monstruo MVP: '%s'/'%s'/'%s' (%d)
1241: Monstruo: '%s'/'%s'/'%s' (%d)
1242: Nv:%d HP:%d  EXP de base:%u  EXP de oficio:%u  HIT:%d FLEE:%d
@@ -1149,7 +1301,7 @@
1252: Búsqueda de monstruos... %s %s
// @homlevel
1253: Introduce un nivel (Instrucciones: @homlevel <cantidad de niveles>).
1253: Introduce un nivel (instrucciones: @homlevel <cantidad de niveles>).
// @homlevel / @homevolve / @homfriendly / @homhungry / @homtalk / @hominfo / @homstats
1254: No tienes ningún homúnculo.
@@ -1158,17 +1310,17 @@
1255: Tu homúnculo no puede evolucionar.
// @makehomun
1256: Introduce el ID de un homúnculo (Instrucciones: @makehomun <ID del homúnculo>).
1256: Introduce el ID de un homúnculo (instrucciones: @makehomun <ID del homúnculo>).
1257: El ID que has introducido no es válido.
// @homfriendly
1258: Introduce un valor de amistad (Instrucciones: @homfriendly <valor de amistad [0-1000]>).
1258: Introduce un valor de amistad (instrucciones: @homfriendly <valor de amistad [0-1000]>).
// @homhungry
1259: Introduce un valor de hambre (Instrucciones: @homhungry <valor de hambre [0-100]>).
1259: Introduce un valor de hambre (instrucciones: @homhungry <valor de hambre [0-100]>).
// @homtalk
1260: Introduce un mensaje (Instrucciones: @homtalk <mensaje>).
1260: Introduce un mensaje (instrucciones: @homtalk <mensaje>).
// @hominfo
1261: Atributos del homúnculo:
@@ -1192,7 +1344,7 @@
1275: Has alterado los atributos del homúnculo.
// @iteminfo
1276: Introduce el nombre/ID de un objeto (Instrucciones: @ii/@iteminfo <nombre/ID del objeto>).
1276: Introduce el nombre/ID de un objeto (instrucciones: @ii/@iteminfo <nombre/ID del objeto>).
1277: Objeto: '%s'/'%s'[%d] (%hu) Tipo: %s | Efecto: %s
1278: Ninguno
1279: Contiene código
@@ -1202,13 +1354,13 @@
1283: - Ningún monstruo tiene este objeto.
// @whodrops
1284: Introduce el nombre/ID de un objeto (Instrucciones: @whodrops <nombre/ID del objeto>). 
1284: Introduce el nombre/ID de un objeto (instrucciones: @whodrops <nombre/ID del objeto>). 
1285: Objeto: '%s'[%d] (ID:%d)
1286: - Ningún monstruo tiene ese objeto.
1287: - Estos monstruos tienen ese objeto (sólo se muestran un máximo de %d):
// @whereis
1288: Introduce el nombre/ID de un monstruo (Instrucciones: @whereis <nombre/ID del monstruo>).
1288: Introduce el nombre/ID de un monstruo (instrucciones: @whereis <nombre/ID del monstruo>).
1289: Puedes encontrar un %s en:
1290: Este monstruo no aparece en ninguna parte.
@@ -1223,7 +1375,7 @@
1296: No se puede especificar la versión SVN.
// @mutearea
1297: Introduce la cantidad de minutos (Instrucciones: @mutearea/@stfu <minutos>).
1297: Introduce la cantidad de minutos (instrucciones: @mutearea/@stfu <minutos>).
// @rates
1298: Experiencia: Base %.2fx / Oficio %.2fx
@@ -1232,13 +1384,13 @@
1301: Otros objetos: MvP %.2fx / Cartas %.2fx / Cofres %.2fx
// @me
1302: Introduce un mensaje (Instrucciones: @me <mensaje>).
1302: Introduce un mensaje (instrucciones: @me <mensaje>).
// @size / @sizeall / @sizeguild
1303: Has alterado tu tamaño.
// @sizeguild
1304: Introduce el nombre/ID de un clan (Instrucciones: @sizeguild <tamaño> <nombre/ID del clan>).
1304: Introduce el nombre/ID de un clan (instrucciones: @sizeguild <tamaño> <nombre/ID del clan>).
// @monsterignore
1305: Ahora eres inmune a cualquier ataque.
@@ -1315,7 +1467,7 @@
1354: Objetos encontrados: %d en %d %s ranuras.
// @delitem
1355: Introduce el nombre/ID de un objeto, una cantidad, y el nombre de un jugador (Instrucciones: #delitem <jugador> <nombre/ID del objeto> <cantidad>).
1355: Introduce el nombre/ID de un objeto, una cantidad, y el nombre de un jugador (instrucciones: #delitem <jugador> <nombre/ID del objeto> <cantidad>).
// @font
1356: Ahora se utilizará la fuente por defecto.
@@ -1336,21 +1488,23 @@
// @set
1367: Instrucciones: @set <nombre de la variable> <valor>
1368: Instrucciones: ej. @set PoringCharVar 50
1369: Instrucciones: ej. @set PoringCharVarSTR$ Cadena de texto
1370: Instrucciones: ej. @set PoringCharVarSTR$ muestra su valor, Cadena de texto.
1368: Instrucciones: ej. "@set PoringCharVar 50"
1369: Instrucciones: ej. "@set PoringCharVarSTR$ Cadena de texto"
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
1374: El valor %s ahora es :%s
1373: El valor %s ahora es: %d
1374: El valor %s ahora es: %s
1375: %s está vacío
//1376: free
// @cash/@points
1376: Cierra la tienda de cash antes de ejecutar este comando.
// @reloadquestdb
1377: Se ha actualizado la base de datos de las quest con éxito.
// @addperm
1378: Instrucciones %s <permisos>
1378: Instrucciones: %s <permisos>
1379: -- Listado de permisos
1380: '%s' no es un permiso válido.
1381: El jugador '%s' ya tiene el permiso '%s'.
@@ -1364,15 +1518,15 @@
1387: Ese archivo no existe.
// Mensajes de comandos en general
1388: Ha fallado el comando (Instrucciones: %c<comando> <nombre del personaje> <parámetros>).
1388: Ha fallado el comando (instrucciones: %c<comando> <nombre del personaje> <parámetros>).
1389: Ha ocurrido un error con %s. El jugador no existe o no está conectado.
// @cart
1390: Ese carro no existe (Instrucciones: %s <0-%d>).
1390: Ese carro no existe (instrucciones: %s <0-%d>).
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
@@ -1387,9 +1541,9 @@
1398: -- Mostrando los primeros %d resultados:
// @channel
1399: Ese canal no existe (Instrucciones: %s <#nombre del canal>).
1400: El canal '%s' no existe (Instrucciones: %s <#nombre del canal>).
1401: El canal '%s' está protegido con contraseña (Instrucciones: %s <#nombre del canal> <contraseña>).
1399: Ese canal no existe (instrucciones: %s <#nombre del canal>).
1400: El canal '%s' no existe (instrucciones: %s <#nombre del canal>).
1401: El canal '%s' está protegido con contraseña (instrucciones: %s <#nombre del canal> <contraseña>).
1402: No estás en ese canal, escribe '@join <#nombre del canal>'.
1403: Has entrado al canal '%s'.
1404: %s ha fallado.
@@ -1459,15 +1613,58 @@
1468: -- Limpia la lista de accesos prohibidos al canal.
1469: * %s delete <#nombre del canal>
1470: -- Elimina el canal especificado.
1471: * %s list mine
1471: * %s listado propio
1472: -- Muestra una lista de todos los canales en los que estás conectado.
1473: * %s join <#nombre del canal> <contraseña>
1474: -- Te unes al canal especificado.
1475: ---- Mis canales ----
1476: No te has unido a ningún canal.
// @effect
1477: Introduce un efecto válido dentro del rango de ID %d a %d.
// @partysharelvl
1478: Se ha modificado el rango para compartir experiencia en grupos.
1479: No se ha podido actualizar la configuración. El char-server está desconectado.
// @autoloottype
1480: Tipo de objeto no encontrado.
1481: Ya estás autorrecogiendo ese tipo de objeto.
1482: Tu lista de autorrecogida de objetos tiene todos los tipos.Puedes eliminar algunos con @autoloottype -<tipo o ID>.
1483: Autorrecogida de objetos del tipo: '%s' {%d}
1484: No estás autorrecogiendo ese tipo de objeto.
1485: Tipo de objeto: '%s' {%d} eliminado de tu lista de autorrecogida de objetos.
1486: Para añadir un tipo de objetos a la lista, usa "@aloottype +<tipo o ID>". Para eliminarlo, use "@aloottype -<tipo o ID>".
1487: Lista de tipos: curativo = 0, consumible = 2, etc = 3, armadura = 4, arma = 5, carta = 6, huevo de mascota = 7, equipo de mascota = 8, municición = 10
1488: "@aloottype reset" borrará tu lista de autorrecogida de objetos.
1489: Tu lista de autorrecogida de objetos está vacía.
1490: Tipos de objetos presentes en tu lista:
1491: Tu lista de autorrecogida de objetos se ha reseteado.
// @dropall
1492: Instrucciones: @dropall {<tipo>}
1493: Listado de tipos: (por defecto) todos = -1, curativos = 0, consumibles = 2, etc = 3, armadura = 4, arma = 5, carta = 6, huevo de mascota = 7, equipo de mascota = 8, munición = 10
1494: ¡Objetos tirados: %d (omitidos: %d)!
// Banking
1495: ¡No puedes retirar tanto dinero!
1496: El banco está desactivado
// Roulette
1497: La ruleta está desactivada
// @guild
1498: You cannot create a guild because you are in a clan.
1498: No puedes crear un clan porque ya estás en uno.
// @clanspy
1499: Introduce un nombre de de clan o ID (instrucciones: @clanspy <clan o ID>).
1500: Ya no estás espiando al clan %s.
1501: Estás espiando al clan %s.
1502: Nombre o ID de clan no válido.
// PK Mode msgs
1503: Has entrado en una zona PK.
1504: Has entrado en una zona PK (segura hasta el nivel %d).
//Traducciones personalizadas
import: conf/msg_conf/import/map_msg_spn_conf.txt

View File

@@ -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>>).
@@ -649,7 +648,7 @@
666: <20><>µ<EFBFBD>לא<D79C><D790>י<EFBFBD>§ה<C2A7>טה´י<D799><C2B6><EFBFBD><EFBFBD>÷<EFBFBD>¹<EFBFBD>­<EFBFBD>µד<C2B5>י¹<D799>א¢י<C2A2>ד¹¾<C2B9>י¹·<C2B9>ט Guild Wars.
667: ¤<>³ה<C2B3>טה´יµ<D799><C2B5>.
668: µ<>ב<EFBFBD>¹ט§·<C2A7>ט¤<D798>³ה´י÷<D799>¹·<C2B9><C2B7>ה<EFBFBD>י<EFBFBD><D799>´<EFBFBD>§¹<C2A7>י:
669: ¤<>³ה´י·<D799><C2B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>¸¢<C2B8>§א»י<C2BB><D799><EFBFBD><EFBFBD><EFBFBD>.
//669 free
670: ¤<>³ה<C2B3>ט<EFBFBD><D798><EFBFBD><EFBFBD><EFBFBD><EFBFBD><C2B6><EFBFBD>¨<EFBFBD><C2A8> Guild ה´יד¹¢³<C2A2><C2B3><EFBFBD><EFBFBD>טד¹ battleground.
671: א¾<D790>ט<EFBFBD>¹·<C2B9>ט<EFBFBD><D798><EFBFBD><EFBFBD><EFBFBD>טב<D798>י<EFBFBD>.
672: ה<>ט¾÷×<C3B7>ט<EFBFBD>ד¹<D793><C2B9><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.
@@ -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)

108
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>
@@ -623,6 +623,7 @@ ac_includes_default="\
ac_subst_vars='LTLIBOBJS
LIBOBJS
CXXFLAG_CLEARS
CFLAGS_AR
DLLEXT
PCRE_CFLAGS
@@ -697,6 +698,7 @@ ac_user_opts='
enable_option_checking
enable_manager
enable_packetver
enable_epoll
enable_debug
enable_prere
enable_vip
@@ -1337,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)
@@ -1364,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)
@@ -2735,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"
@@ -3235,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
#
@@ -3417,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
@@ -4460,7 +4503,8 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
CFLAGS="$CFLAGS -pipe -ffast-math -Wall"
CPPFLAGS="$CPPFLAGS -I../common"
CXXFLAGS="$CXXFLAGS -std=c++11"
#CXXFLAGS="$CXXFLAGS -std=gnu++11"
CXXFLAG_CLEARS="-std=c++11"
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
$as_echo_n "checking whether byte ordering is bigendian... " >&6; }
@@ -5763,8 +5807,8 @@ my_shared_test_flags=""
#
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-strict-aliasing" >&5
$as_echo_n "checking whether $CC supports -fno-strict-aliasing... " >&6; }
OLD_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS -fno-strict-aliasing"
OLD_CPPFLAGS="$CPPFLAGS"
CPPFLAGS="$CPPFLAGS -fno-strict-aliasing"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
int foo;
@@ -5776,7 +5820,7 @@ else
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; }
CFLAGS="$OLD_CFLAGS"
CPPFLAGS="$OLD_CPPFLAGS"
fi
@@ -5918,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
#
@@ -7017,10 +7074,12 @@ else
$as_echo "no" >&6; }
fi
CXXFLAG_CLEARS="-std=c++11 $CPPFLAGS"
CFLAGS="$OPT_LTO $CFLAGS"
CFLAGS_AR="$OPT_LTO_AR $CFLAGS"
{ $as_echo "$as_me:${as_lineno-$LINENO}: Configure finish" >&5
$as_echo "$as_me: Configure finish" >&6;}
{ $as_echo "$as_me:${as_lineno-$LINENO}: CPPFLAGS= $CPPFLAGS" >&5
@@ -7745,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"
]
)
@@ -442,7 +471,8 @@ AC_LANG([C++])
CFLAGS="$CFLAGS -pipe -ffast-math -Wall"
CPPFLAGS="$CPPFLAGS -I../common"
CXXFLAGS="$CXXFLAGS -std=c++11"
#CXXFLAGS="$CXXFLAGS -std=gnu++11"
CXXFLAG_CLEARS="-std=c++11"
AC_C_BIGENDIAN(
[AC_MSG_ERROR([[bigendian is not supported... stopping]])],
@@ -908,14 +938,14 @@ AC_SUBST([WITH_PLUGINS])
# -O2 implies -fstrict-aliasing, but the code is not safe for that
#
AC_MSG_CHECKING([whether $CC supports -fno-strict-aliasing])
OLD_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS -fno-strict-aliasing"
OLD_CPPFLAGS="$CPPFLAGS"
CPPFLAGS="$CPPFLAGS -fno-strict-aliasing"
AC_COMPILE_IFELSE(
[AC_LANG_SOURCE([int foo;])],
[AC_MSG_RESULT([yes])],
[
AC_MSG_RESULT([no])
CFLAGS="$OLD_CFLAGS"
CPPFLAGS="$OLD_CPPFLAGS"
]
)
@@ -984,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
#
@@ -1300,9 +1343,11 @@ else
AC_MSG_RESULT([no])
fi
CXXFLAG_CLEARS="-std=c++11 $CPPFLAGS"
CFLAGS="$OPT_LTO $CFLAGS"
CFLAGS_AR="$OPT_LTO_AR $CFLAGS"
AC_SUBST([CFLAGS_AR])
AC_SUBST([CXXFLAG_CLEARS])
AC_MSG_NOTICE([Configure finish])
AC_MSG_NOTICE([CPPFLAGS= $CPPFLAGS])

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

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

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

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

View File

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

15
db/import-tmpl/const.txt Normal file
View File

@@ -0,0 +1,15 @@
// Script Constant Database
//
// Structure of Database:
// Identifier Value[ Type]
//
// Alternatively:
// Identifier,Value[,Type]
//
// 01. Identifier Unique name for the constant, must not have same name as script commands, functions or variables.
// 02. Value Value assigned to the constant. This value cannot be changed during the runtime of the server.
// 03. Type Specifies whether the identifier is a constant (0) or a parameter (1) (optional, defaults to 0).
//
// NOTE: Parameters are special in that they retrieve certain runtime values depending on the specified ID
// in field Value. Depending on the implementation values assigned by scripts to parameters will affect
// runtime values, such as Zeny, as well (see pc_readparam/pc_setparam).

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

@@ -59,8 +59,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

@@ -1,2 +1,4 @@
//import: db/import/item_groupid.txt
// Item Group Database
//
// Structure of Database:
// GroupID,ItemID,Rate{,Amount,Random,isAnnounced,Duration,GUID,isBound,isNamed}

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

@@ -68,7 +68,7 @@
// 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
// 0x04000 - skill that can be used while on Madogear
// 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

View File

@@ -310,4 +310,20 @@
// Baby Rebellion
4229,0,5,0,4,0,3,5,4,2,6,0,0,3,4,0,2,5,4,3,6,0,0,3,5,1,4,2,0,0,6,3,0,5,4,1,0,0,5,0,2,6,0,5,3,4,0,0,0,0,1
// Baby Star Gladiator (Union)
4238,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,5,5,5,5,5,5,0,0,0,0,0,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,2,2,2,2,2
4238,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,5,5,5,5,5,5,0,0,0,0,0,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,2,2,2,2,2
//================================
// Note: Star Emperor and Soul Reaper bonus stats are unknown. Using Star Gladiator and Soul Linker's
// bonus stats for now until I know the official ones.
//
// Star Emperor
4239,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,5,5,5,5,5,5,0,0,0,0,0,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,2,2,2,2,2
// Soul Reaper
4240,4,4,4,4,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,3,3,3,3,3,3,0,0,0,0,0,0,0,0,0,0,0,0,0,5,5,5,5,5,5,5,5,5,5,5,5
// Baby Star Emperor
4241,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,5,5,5,5,5,5,0,0,0,0,0,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,2,2,2,2,2
// Baby Soul Reaper
4242,4,4,4,4,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,3,3,3,3,3,3,0,0,0,0,0,0,0,0,0,0,0,0,0,5,5,5,5,5,5,5,5,5,5,5,5
// Star Emperor (Union)
4243,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,5,5,5,5,5,5,0,0,0,0,0,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,2,2,2,2,2
// Baby Star Emperor (Union)
4244,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,5,5,5,5,5,5,0,0,0,0,0,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,2,2,2,2,2

View File

@@ -1,13 +1,13 @@
//======================================================================================
// Map Index
//======================================================================================
//Contains the list of maps with their respective IDs for inter-server use.
//IDs must never change, therefore any new maps need to be added at the end,
//and old ones must not be removed, but may be replaced.
//Format:
//mapname<tab>index <- specifies index for this map
//mapname <- map will use index of previous map +1
//Note that map index 0 is special and reserved for "error" status.
// Contains the list of maps with their respective IDs for inter-server use.
// IDs must never change, therefore any new maps need to be added at the end,
// and old ones must not be removed, but may be replaced.
// Format:
// mapname<tab>index <- specifies index for this map
// mapname <- map will use index of previous map +1
// Note that map index 0 is special and reserved for "error" status.
alb_ship 1
alb2trea
@@ -942,6 +942,7 @@ job_gun
1@air2
1@glast
lhz_dun_n
lhz_d_n2
1@gl_kh
2@gl_kh
1@lab
@@ -1008,66 +1009,45 @@ ice_d03_i
tur_d03_i
tur_d04_i
1@crd
// Only add maps under this line if they are not standard maps!
ordeal_a00
ordeal_a02
pprontera
niflxmas
sch_lab
nakhyang
lasa_sea
1@drdo
x_lhz
x_prt
x_ra
prt_evt_in
vis_h01
vis_h02
vis_h03
vis_h04
ein_d02_i
com_d02_i
1@soul
star_frst
star_in
2009rwc_01
2009rwc_02
2009rwc_03
2009rwc_04
2009rwc_05
2009rwc_06
2009rwc_07
2009rwc_08
2009rwc_f01
2012rwc_01
2012rwc_02
2012rwc_03
2012rwc_04
2012rwc_05
2012rwc_06
2012rwc_07
2012rwc_08
//======================================================================================
// - Other/Extra maps -
//======================================================================================
//rwc01 1000
//rwc02
//rwc03
//2009rwc_f01
//2009rwc_01
//2009rwc_02
//2009rwc_03
//2009rwc_04
//2008rwc_04
//prontera_x
//alberta_x
//aldebaran_x
//geffen_x
//izlude_x
//prt_church_x
//prontera_s
//pay_arche_s
//xmas_old
//ordeal_a00
//ordeal_a02
//fay_vilg00
//fay_vilg01
//gef_vilg00
//gef_vilg01
//moc_dugn01
//moc_dugn02
//moc_fild01
//moc_fild02
//moc_fild03
//moc_fild04
//moc_intr00
//moc_intr01
//moc_intr02
//moc_intr04
//moc_vilg00
//moc_vilg01
//moc_vilg02
//probemap
//probemap02
//prt_cstl01
//prt_dugn00
//prt_dugn01
//prt_fild00
//prt_fild01
//prt_fild03
//prt_fild04
//prt_fild05
//prt_intr01
//prt_intr01_a
//prt_intr02
//prt_vilg00
//prt_vilg01
//prt_vilg02
//tank_test
//tank_test2
//test

View File

@@ -35,6 +35,7 @@
2350,MER_SEDORA,Sedora,83,9815,234,2,1100,1300,60,60,85,90,71,43,85,105,10,12,0,6,47,150,1080,780,180
2351,MER_CHEPET,Chepet,83,9815,234,2,1100,1300,60,60,85,90,71,43,85,105,10,12,0,6,47,150,1080,780,180
2378,MER_ANTLER_SCARABA,Antler Scaraba,136,30000,1,1,1418,1828,155,102,23,99,59,129,137,45,10,12,1,4,42,200,504,624,360
2937,M_LOKI,Loki's Shadow,145,1215600,1,2,1835,2279,15,89,76,66,90,55,189,22,10,12,1,7,20,175,800,750,300
// Normal Mercenaries
6017,MER_ARCHER01,Mina,20,256,200,10,170,85,7,5,1,16,5,1,28,8,10,0,0,7,20,150,700,432,300

View File

@@ -215,3 +215,5 @@
2347,8202,5 //MS_MAGNUM
2347,8226,1 //MER_REGAIN
2347,8233,1 //MER_AUTOBERSERK
// M_LOKI
2937,8241,1 //MER_INVINCIBLEOFF2

View File

@@ -18,7 +18,7 @@
//
// Notes:
// - By default you can list up to 10 MonsterIDs per ItemID.
// It can be changed in src/map/mob.c by adjusting MAX_ITEMRATIO_MOBS.
// It can be changed in src/map/mob.cpp by adjusting MAX_ITEMRATIO_MOBS.
// - Only ItemIDs up to MAX_ITEMDB are supported (default: 32768).
// - Does not override item_drop_*_min/max settings.
// - Does not affect card/item-granted drops. To adjust card/item-granted

350
db/mob_mission.txt Normal file
View File

@@ -0,0 +1,350 @@
// Taekwon Mission Summonable Monsters Database
//
// Structure of Database:
// MobRandomGroupID,MobID,DummyName,Rate
MOBG_Taekwon_Mission,0,Scorpion,1001
MOBG_Taekwon_Mission,1001,Scorpion,1
MOBG_Taekwon_Mission,1002,Poring,1
MOBG_Taekwon_Mission,1004,Hornet,1
MOBG_Taekwon_Mission,1005,Familiar,1
MOBG_Taekwon_Mission,1007,Fabre,1
MOBG_Taekwon_Mission,1008,Pupa,1
MOBG_Taekwon_Mission,1009,Condor,1
MOBG_Taekwon_Mission,1010,Willow,1
MOBG_Taekwon_Mission,1011,Chonchon,1
MOBG_Taekwon_Mission,1012,Roda Frog,1
MOBG_Taekwon_Mission,1013,Wolf,1
MOBG_Taekwon_Mission,1014,Spore,1
MOBG_Taekwon_Mission,1015,Zombie,1
MOBG_Taekwon_Mission,1016,Archer Skeleton,1
MOBG_Taekwon_Mission,1018,Creamy,1
MOBG_Taekwon_Mission,1019,Peco Peco,1
MOBG_Taekwon_Mission,1020,Mandragora,1
MOBG_Taekwon_Mission,1023,Orc Warrior,1
MOBG_Taekwon_Mission,1024,Wormtail,1
MOBG_Taekwon_Mission,1025,Snake,1
MOBG_Taekwon_Mission,1026,Munak,1
MOBG_Taekwon_Mission,1028,Soldier Skeleton,1
MOBG_Taekwon_Mission,1029,Isis,1
MOBG_Taekwon_Mission,1030,Anacondaq,1
MOBG_Taekwon_Mission,1031,Poporing,1
MOBG_Taekwon_Mission,1032,Verit,1
MOBG_Taekwon_Mission,1033,Elder Willow,1
MOBG_Taekwon_Mission,1034,Thara Frog,1
MOBG_Taekwon_Mission,1035,Hunter Fly,1
MOBG_Taekwon_Mission,1036,Ghoul,1
MOBG_Taekwon_Mission,1037,Side Winder,1
MOBG_Taekwon_Mission,1040,Golem,1
MOBG_Taekwon_Mission,1041,Mummy,1
MOBG_Taekwon_Mission,1042,Steel Chonchon,1
MOBG_Taekwon_Mission,1044,Obeaune,1
MOBG_Taekwon_Mission,1045,Marc,1
MOBG_Taekwon_Mission,1047,Peco Peco Egg,1
MOBG_Taekwon_Mission,1048,Thief Bug Egg,1
MOBG_Taekwon_Mission,1049,Picky,1
MOBG_Taekwon_Mission,1050,Picky,1
MOBG_Taekwon_Mission,1051,Thief Bug,1
MOBG_Taekwon_Mission,1052,Rocker,1
MOBG_Taekwon_Mission,1053,Thief Bug Female,1
MOBG_Taekwon_Mission,1054,Thief Bug Male,1
MOBG_Taekwon_Mission,1055,Muka,1
MOBG_Taekwon_Mission,1056,Smokie,1
MOBG_Taekwon_Mission,1057,Yoyo,1
MOBG_Taekwon_Mission,1058,Metaller,1
MOBG_Taekwon_Mission,1060,Bigfoot,1
MOBG_Taekwon_Mission,1061,Nightmare,1
MOBG_Taekwon_Mission,1062,Santa Poring,1
MOBG_Taekwon_Mission,1063,Lunatic,1
MOBG_Taekwon_Mission,1064,Megalodon,1
MOBG_Taekwon_Mission,1065,Strouf,1
MOBG_Taekwon_Mission,1066,Vadon,1
MOBG_Taekwon_Mission,1067,Cornutus,1
MOBG_Taekwon_Mission,1068,Hydra,1
MOBG_Taekwon_Mission,1069,Swordfish,1
MOBG_Taekwon_Mission,1070,Kukre,1
MOBG_Taekwon_Mission,1071,Pirate Skeleton,1
MOBG_Taekwon_Mission,1072,Kaho,1
MOBG_Taekwon_Mission,1073,Crab,1
MOBG_Taekwon_Mission,1074,Shellfish,1
MOBG_Taekwon_Mission,1076,Skeleton,1
MOBG_Taekwon_Mission,1077,Poison Spore,1
MOBG_Taekwon_Mission,1088,Vocal,1
MOBG_Taekwon_Mission,1089,Toad,1
MOBG_Taekwon_Mission,1090,Mastering,1
MOBG_Taekwon_Mission,1091,Dragon Fly,1
MOBG_Taekwon_Mission,1092,Vagabond Wolf,1
MOBG_Taekwon_Mission,1093,Eclipse,1
MOBG_Taekwon_Mission,1094,Ambernite,1
MOBG_Taekwon_Mission,1095,Andre,1
MOBG_Taekwon_Mission,1096,Angeling,1
MOBG_Taekwon_Mission,1097,Ant Egg,1
MOBG_Taekwon_Mission,1098,Anubis,1
MOBG_Taekwon_Mission,1099,Argiope,1
MOBG_Taekwon_Mission,1100,Argos,1
MOBG_Taekwon_Mission,1101,Baphomet Jr.,1
MOBG_Taekwon_Mission,1102,Bathory,1
MOBG_Taekwon_Mission,1103,Caramel,1
MOBG_Taekwon_Mission,1104,Coco,1
MOBG_Taekwon_Mission,1105,Deniro,1
MOBG_Taekwon_Mission,1106,Desert Wolf,1
MOBG_Taekwon_Mission,1107,Desert Wolf Baby,1
MOBG_Taekwon_Mission,1108,Deviace,1
MOBG_Taekwon_Mission,1109,Deviruchi,1
MOBG_Taekwon_Mission,1110,Dokebi,1
MOBG_Taekwon_Mission,1111,Drainliar,1
MOBG_Taekwon_Mission,1113,Drops,1
MOBG_Taekwon_Mission,1114,Dustiness,1
MOBG_Taekwon_Mission,1116,Eggyra,1
MOBG_Taekwon_Mission,1117,Evil Druid,1
MOBG_Taekwon_Mission,1118,Flora,1
MOBG_Taekwon_Mission,1119,Frilldora,1
MOBG_Taekwon_Mission,1120,Ghostring,1
MOBG_Taekwon_Mission,1121,Giearth,1
MOBG_Taekwon_Mission,1122,Goblin,1
MOBG_Taekwon_Mission,1123,Goblin,1
MOBG_Taekwon_Mission,1124,Goblin,1
MOBG_Taekwon_Mission,1125,Goblin,1
MOBG_Taekwon_Mission,1126,Goblin,1
MOBG_Taekwon_Mission,1127,Hode,1
MOBG_Taekwon_Mission,1128,Horn,1
MOBG_Taekwon_Mission,1129,Horong,1
MOBG_Taekwon_Mission,1130,Jakk,1
MOBG_Taekwon_Mission,1131,Joker,1
MOBG_Taekwon_Mission,1132,Khalitzburg,1
MOBG_Taekwon_Mission,1133,Kobold,1
MOBG_Taekwon_Mission,1134,Kobold,1
MOBG_Taekwon_Mission,1135,Kobold,1
MOBG_Taekwon_Mission,1138,Magnolia,1
MOBG_Taekwon_Mission,1139,Mantis,1
MOBG_Taekwon_Mission,1140,Marduk,1
MOBG_Taekwon_Mission,1141,Marina,1
MOBG_Taekwon_Mission,1142,Marine Sphere,1
MOBG_Taekwon_Mission,1143,Marionette,1
MOBG_Taekwon_Mission,1144,Marse,1
MOBG_Taekwon_Mission,1145,Martin,1
MOBG_Taekwon_Mission,1146,Matyr,1
MOBG_Taekwon_Mission,1148,Medusa,1
MOBG_Taekwon_Mission,1149,Minorous,1
MOBG_Taekwon_Mission,1151,Myst,1
MOBG_Taekwon_Mission,1152,Orc Skeleton,1
MOBG_Taekwon_Mission,1153,Orc Zombie,1
MOBG_Taekwon_Mission,1154,Pasana,1
MOBG_Taekwon_Mission,1155,Petite,1
MOBG_Taekwon_Mission,1156,Petite,1
MOBG_Taekwon_Mission,1158,Phen,1
MOBG_Taekwon_Mission,1160,Piere,1
MOBG_Taekwon_Mission,1161,Plankton,1
MOBG_Taekwon_Mission,1162,Rafflesia,1
MOBG_Taekwon_Mission,1163,Raydric,1
MOBG_Taekwon_Mission,1164,Requiem,1
MOBG_Taekwon_Mission,1165,Sandman,1
MOBG_Taekwon_Mission,1166,Savage,1
MOBG_Taekwon_Mission,1167,Savage Babe,1
MOBG_Taekwon_Mission,1169,Skeleton Worker,1
MOBG_Taekwon_Mission,1170,Sohee,1
MOBG_Taekwon_Mission,1174,Stainer,1
MOBG_Taekwon_Mission,1175,Tarou,1
MOBG_Taekwon_Mission,1176,Vitata,1
MOBG_Taekwon_Mission,1177,Zenorc,1
MOBG_Taekwon_Mission,1178,Zerom,1
MOBG_Taekwon_Mission,1179,Whisper,1
MOBG_Taekwon_Mission,1180,Nine Tail,1
MOBG_Taekwon_Mission,1183,Chonchon,1
MOBG_Taekwon_Mission,1184,Fabre,1
MOBG_Taekwon_Mission,1185,Whisper,1
MOBG_Taekwon_Mission,1186,Giant Whisper,1
MOBG_Taekwon_Mission,1188,Bongun,1
MOBG_Taekwon_Mission,1189,Orc Archer,1
MOBG_Taekwon_Mission,1191,Mimic,1
MOBG_Taekwon_Mission,1192,Wraith,1
MOBG_Taekwon_Mission,1193,Alarm,1
MOBG_Taekwon_Mission,1194,Arclouse,1
MOBG_Taekwon_Mission,1195,Rideword,1
MOBG_Taekwon_Mission,1196,Skeleton Prisoner,1
MOBG_Taekwon_Mission,1197,Zombie Prisoner,1
MOBG_Taekwon_Mission,1198,Dark Priest,1
MOBG_Taekwon_Mission,1199,Punk,1
MOBG_Taekwon_Mission,1201,Rybio,1
MOBG_Taekwon_Mission,1202,Phendark,1
MOBG_Taekwon_Mission,1206,Anolian,1
MOBG_Taekwon_Mission,1207,Sting,1
MOBG_Taekwon_Mission,1208,Wander Man,1
MOBG_Taekwon_Mission,1209,Cramp,1
MOBG_Taekwon_Mission,1211,Brilight,1
MOBG_Taekwon_Mission,1212,Iron Fist,1
MOBG_Taekwon_Mission,1213,High Orc,1
MOBG_Taekwon_Mission,1214,Choco,1
MOBG_Taekwon_Mission,1215,Stem Worm,1
MOBG_Taekwon_Mission,1216,Penomena,1
MOBG_Taekwon_Mission,1219,Knight of Abyss,1
MOBG_Taekwon_Mission,1248,Cruiser,1
MOBG_Taekwon_Mission,1249,Myst Case,1
MOBG_Taekwon_Mission,1250,Chepet,1
MOBG_Taekwon_Mission,1253,Gargoyle,1
MOBG_Taekwon_Mission,1254,Raggler,1
MOBG_Taekwon_Mission,1255,Neraid,1
MOBG_Taekwon_Mission,1256,Pest,1
MOBG_Taekwon_Mission,1257,Injustice,1
MOBG_Taekwon_Mission,1258,Goblin Archer,1
MOBG_Taekwon_Mission,1260,Dark Frame,1
MOBG_Taekwon_Mission,1261,Wild Rose,1
MOBG_Taekwon_Mission,1263,Wind Ghost,1
MOBG_Taekwon_Mission,1264,Merman,1
MOBG_Taekwon_Mission,1265,Cookie,1
MOBG_Taekwon_Mission,1266,Aster,1
MOBG_Taekwon_Mission,1267,Carat,1
MOBG_Taekwon_Mission,1269,Clock,1
MOBG_Taekwon_Mission,1270,Clock Tower Manager,1
MOBG_Taekwon_Mission,1271,Alligator,1
MOBG_Taekwon_Mission,1273,Orc Lady,1
MOBG_Taekwon_Mission,1274,Megalith,1
MOBG_Taekwon_Mission,1275,Alice,1
MOBG_Taekwon_Mission,1276,Raydric Archer,1
MOBG_Taekwon_Mission,1277,Greatest General,1
MOBG_Taekwon_Mission,1278,Stalactic Golem,1
MOBG_Taekwon_Mission,1279,Tri Joint,1
MOBG_Taekwon_Mission,1280,Steam Goblin,1
MOBG_Taekwon_Mission,1281,Sage Worm,1
MOBG_Taekwon_Mission,1282,Kobold Archer,1
MOBG_Taekwon_Mission,1283,Chimera,1
MOBG_Taekwon_Mission,1285,Archer Guardian,1
MOBG_Taekwon_Mission,1287,Soldier Guardian,1
MOBG_Taekwon_Mission,1290,Skeleton General,1
MOBG_Taekwon_Mission,1291,Wraith Dead,1
MOBG_Taekwon_Mission,1292,Mini Demon,1
MOBG_Taekwon_Mission,1293,Creamy Fear,1
MOBG_Taekwon_Mission,1294,Killer Mantis,1
MOBG_Taekwon_Mission,1295,Owl Baron,1
MOBG_Taekwon_Mission,1296,Kobold Leader,1
MOBG_Taekwon_Mission,1297,Ancient Mummy,1
MOBG_Taekwon_Mission,1298,Zombie Master,1
MOBG_Taekwon_Mission,1299,Goblin Leader,1
MOBG_Taekwon_Mission,1300,Caterpillar,1
MOBG_Taekwon_Mission,1301,Am Mut,1
MOBG_Taekwon_Mission,1302,Dark Illusion,1
MOBG_Taekwon_Mission,1303,Giant Hornet,1
MOBG_Taekwon_Mission,1304,Giant Spider,1
MOBG_Taekwon_Mission,1305,Ancient Worm,1
MOBG_Taekwon_Mission,1306,Leib Olmai,1
MOBG_Taekwon_Mission,1307,Cat o' Nine Tails,1
MOBG_Taekwon_Mission,1308,Panzer Goblin,1
MOBG_Taekwon_Mission,1309,Gajomart,1
MOBG_Taekwon_Mission,1310,Majoruros,1
MOBG_Taekwon_Mission,1311,Gullinbursti,1
MOBG_Taekwon_Mission,1313,Mobster,1
MOBG_Taekwon_Mission,1314,Permeter,1
MOBG_Taekwon_Mission,1315,Assaulter,1
MOBG_Taekwon_Mission,1316,Solider,1
MOBG_Taekwon_Mission,1317,Fur Seal,1
MOBG_Taekwon_Mission,1318,Heater,1
MOBG_Taekwon_Mission,1319,Freezer,1
MOBG_Taekwon_Mission,1320,Owl Duke,1
MOBG_Taekwon_Mission,1321,Dragon Tail,1
MOBG_Taekwon_Mission,1322,Spring Rabbit,1
MOBG_Taekwon_Mission,1323,Sea Otter,1
MOBG_Taekwon_Mission,1365,Apocalypse,1
MOBG_Taekwon_Mission,1366,Lava Golem,1
MOBG_Taekwon_Mission,1367,Blazer,1
MOBG_Taekwon_Mission,1368,Geographer,1
MOBG_Taekwon_Mission,1369,Grand Peco,1
MOBG_Taekwon_Mission,1370,Succubus,1
MOBG_Taekwon_Mission,1371,Fake Angel,1
MOBG_Taekwon_Mission,1372,Goat,1
MOBG_Taekwon_Mission,1374,Incubus,1
MOBG_Taekwon_Mission,1375,The Paper,1
MOBG_Taekwon_Mission,1376,Harpy,1
MOBG_Taekwon_Mission,1377,Elder,1
MOBG_Taekwon_Mission,1378,Demon Pungus,1
MOBG_Taekwon_Mission,1379,Nightmare Terror,1
MOBG_Taekwon_Mission,1380,Driller,1
MOBG_Taekwon_Mission,1381,Grizzly,1
MOBG_Taekwon_Mission,1382,Diabolic,1
MOBG_Taekwon_Mission,1383,Explosion,1
MOBG_Taekwon_Mission,1384,Deleter,1
MOBG_Taekwon_Mission,1385,Deleter,1
MOBG_Taekwon_Mission,1386,Sleeper,1
MOBG_Taekwon_Mission,1387,Gig,1
MOBG_Taekwon_Mission,1388,Archangeling,1
MOBG_Taekwon_Mission,1390,Violy,1
MOBG_Taekwon_Mission,1391,Galapago,1
MOBG_Taekwon_Mission,1392,Rotar Zairo,1
MOBG_Taekwon_Mission,1400,Karakasa,1
MOBG_Taekwon_Mission,1401,Shinobi,1
MOBG_Taekwon_Mission,1402,Poison Toad,1
MOBG_Taekwon_Mission,1403,Antique Firelock,1
MOBG_Taekwon_Mission,1404,Miyabi Ningyo,1
MOBG_Taekwon_Mission,1405,Tengu,1
MOBG_Taekwon_Mission,1406,Kapha,1
MOBG_Taekwon_Mission,1408,Bloody Butterfly,1
MOBG_Taekwon_Mission,1409,Rice Cake Boy,1
MOBG_Taekwon_Mission,1410,Live Peach Tree,1
MOBG_Taekwon_Mission,1412,Evil Cloud Hermit,1
MOBG_Taekwon_Mission,1413,Wild Ginseng,1
MOBG_Taekwon_Mission,1415,Baby Leopard,1
MOBG_Taekwon_Mission,1416,Wicked Nymph,1
MOBG_Taekwon_Mission,1417,Zipper Bear,1
MOBG_Taekwon_Mission,1493,Dryad,1
MOBG_Taekwon_Mission,1494,Beetle King,1
MOBG_Taekwon_Mission,1495,Stone Shooter,1
MOBG_Taekwon_Mission,1497,Wooden Golem,1
MOBG_Taekwon_Mission,1498,Wootan Shooter,1
MOBG_Taekwon_Mission,1499,Wootan Fighter,1
MOBG_Taekwon_Mission,1500,Parasite,1
MOBG_Taekwon_Mission,1503,Gibbet,1
MOBG_Taekwon_Mission,1504,Dullahan,1
MOBG_Taekwon_Mission,1505,Loli Ruri,1
MOBG_Taekwon_Mission,1506,Disguise,1
MOBG_Taekwon_Mission,1507,Bloody Murderer,1
MOBG_Taekwon_Mission,1508,Quve,1
MOBG_Taekwon_Mission,1509,Lude,1
MOBG_Taekwon_Mission,1510,Hylozoist,1
MOBG_Taekwon_Mission,1512,Hyegun,1
MOBG_Taekwon_Mission,1513,Civil Servant,1
MOBG_Taekwon_Mission,1514,Dancing Dragon,1
MOBG_Taekwon_Mission,1515,Garm Baby,1
MOBG_Taekwon_Mission,1516,Increase Soil,1
MOBG_Taekwon_Mission,1517,Li Me Mang Ryang,1
MOBG_Taekwon_Mission,1519,Chung E,1
MOBG_Taekwon_Mission,1520,Boiled Rice,1
MOBG_Taekwon_Mission,1582,Deviling,1
MOBG_Taekwon_Mission,1584,Tamruan,1
MOBG_Taekwon_Mission,1585,Mime Monkey,1
MOBG_Taekwon_Mission,1586,Leaf Cat,1
MOBG_Taekwon_Mission,1587,Kraben,1
MOBG_Taekwon_Mission,1588,Christmas Orc,1
MOBG_Taekwon_Mission,1609,Dancing Dragon,1
MOBG_Taekwon_Mission,1613,Metaling,1
MOBG_Taekwon_Mission,1614,Mineral,1
MOBG_Taekwon_Mission,1615,Obsidian,1
MOBG_Taekwon_Mission,1616,Pitman,1
MOBG_Taekwon_Mission,1617,Waste Stove,1
MOBG_Taekwon_Mission,1618,Ungoliant,1
MOBG_Taekwon_Mission,1619,Porcellio,1
MOBG_Taekwon_Mission,1620,Noxious,1
MOBG_Taekwon_Mission,1621,Venomous,1
MOBG_Taekwon_Mission,1622,Teddy Bear,1
MOBG_Taekwon_Mission,1625,Porcellio,1
MOBG_Taekwon_Mission,1626,Hellion Revenant,1
MOBG_Taekwon_Mission,1627,Anopheles,1
MOBG_Taekwon_Mission,1628,Mole,1
MOBG_Taekwon_Mission,1629,Hill Wind,1
MOBG_Taekwon_Mission,1631,Chung E,1
MOBG_Taekwon_Mission,1632,Gremlin,1
MOBG_Taekwon_Mission,1633,Beholder,1
MOBG_Taekwon_Mission,1664,Photon Cannon,1
MOBG_Taekwon_Mission,1665,Photon Cannon,1
MOBG_Taekwon_Mission,1666,Photon Cannon,1
MOBG_Taekwon_Mission,1667,Photon Cannon,1
MOBG_Taekwon_Mission,1668,Archdam,1
MOBG_Taekwon_Mission,1670,Dimik,1
MOBG_Taekwon_Mission,1671,Dimik,1
MOBG_Taekwon_Mission,1672,Dimik,1
MOBG_Taekwon_Mission,1673,Dimik,1
MOBG_Taekwon_Mission,1676,Venatu,1
MOBG_Taekwon_Mission,1677,Venatu,1
MOBG_Taekwon_Mission,1678,Venatu,1
MOBG_Taekwon_Mission,1679,Venatu,1
MOBG_Taekwon_Mission,1680,Hill Wind,1
MOBG_Taekwon_Mission,1686,Orc Baby,1
MOBG_Taekwon_Mission,1687,Green Iguana,1

63
db/pet_db.yml Normal file
View File

@@ -0,0 +1,63 @@
# 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/>.
#
###########################################################################
# 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
Footer:
Imports:
- Path: db/pre-re/pet_db.yml
Mode: Prerenewal
- Path: db/re/pet_db.yml
Mode: Renewal
- Path: db/import/pet_db.yml

File diff suppressed because it is too large Load Diff

3
db/pre-re/attendance.yml Normal file
View File

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

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/>.
#
###########################################################################
# Pre-Renewal 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
Body:
- Id: GD_APPROVAL
MaxLevel: 1
- Id: GD_KAFRACONTRACT
MaxLevel: 1
Required:
- Id: GD_APPROVAL
Level: 1
- Id: GD_GUARDRESEARCH
MaxLevel: 1
Required:
- Id: GD_APPROVAL
Level: 1
- Id: GD_GUARDUP
MaxLevel: 3
- Id: GD_EXTENSION
MaxLevel: 10
- Id: GD_GLORYGUILD
MaxLevel: 0
- Id: GD_LEADERSHIP
MaxLevel: 5
- Id: GD_GLORYWOUNDS
MaxLevel: 5
- Id: GD_SOULCOLD
MaxLevel: 5
Required:
- Id: GD_GLORYWOUNDS
Level: 1
- Id: GD_HAWKEYES
MaxLevel: 5
Required:
- Id: GD_LEADERSHIP
Level: 1
- Id: GD_BATTLEORDER
MaxLevel: 1
Required:
- Id: GD_APPROVAL
Level: 1
- Id: GD_EXTENSION
Level: 2
- Id: GD_REGENERATION
MaxLevel: 3
Required:
- Id: GD_APPROVAL
Level: 1
- Id: GD_EXTENSION
Level: 5
- Id: GD_BATTLEORDER
Level: 1
- Id: GD_RESTORE
MaxLevel: 1
Required:
- Id: GD_REGENERATION
Level: 1
- Id: GD_EMERGENCYCALL
MaxLevel: 1
Required:
- Id: GD_APPROVAL
Level: 1
- Id: GD_GUARDRESEARCH
Level: 1
- Id: GD_EXTENSION
Level: 5
- Id: GD_BATTLEORDER
Level: 1
- Id: GD_REGENERATION
Level: 1
- Id: GD_DEVELOPMENT
MaxLevel: 1
# - Id: GD_GUILD_STORAGE
# MaxLevel: 5

View File

@@ -14,7 +14,6 @@
//25129
//25130
//25131
//22687
//23016
//23080
//4671

View File

@@ -23,7 +23,7 @@
1573:2716:2717,{ bonus bInt,5; bonus bMaxHP,700; bonus bAspdRate,5; }
1615:18539,{ bonus bMatk,10*getequiprefinerycnt(EQI_HAND_R); bonus bCastRate,-10; }
1616:2515,{ bonus bSpeedRate,25; }
1618:2509,{ bonus bMaxHP,300; bonus bMatkRate,getequiprefinerycnt(EQI_HAND_R)-5; if(getequiprefinerycnt(EQI_GARMENT) > 10) { bonus2 bSubEle,Ele_Neutral,30; } else { bonus2 bSubEle,Ele_Neutral,getequiprefinerycnt(EQI_GARMENT)*3; } }
1618:2509,{ bonus bMaxHP,300; bonus bMatkRate,min(5, getequiprefinerycnt(EQI_HAND_R)-5); bonus2 bSubEle,Ele_Neutral,min(30, getequiprefinerycnt(EQI_GARMENT)*3); }
1618:2535,{ bonus bMatkRate,5; bonus2 bSubEle,Ele_Neutral,25; }
1620:2509,{ bonus bMaxHP,300; bonus bMatkRate,getequiprefinerycnt(EQI_HAND_R)-5; if(getequiprefinerycnt(EQI_GARMENT) > 10) { bonus2 bSubEle,Ele_Neutral,30; } else { bonus2 bSubEle,Ele_Neutral,getequiprefinerycnt(EQI_GARMENT)*3; } }
1620:2535,{ bonus bMatkRate,5; bonus2 bSubEle,Ele_Neutral,25; }
@@ -72,7 +72,7 @@
2374:2729,{ bonus2 bAddClass,Class_All,3; bonus bMatkRate,3; }
2375:2729,{ bonus2 bAddClass,Class_All,3; bonus bMatkRate,3; }
2376:2435:2538,{ bonus2 bSubRace,RC_All,-300; bonus2 bSubRace,RC_DemiHuman,300; bonus2 bSubRace,RC_Player,300; bonus bVit,3; bonus bMaxHPRate,12; bonus bHealpower2,10; bonus bAddItemHealRate,10; autobonus2 "{ bonus2 bHPRegenRate,600,1000; }",5,10000,BF_WEAPON,"{ specialeffect2 EF_HEAL; }"; }
2377:2435:2538,{ bonus2 bSubRace,RC_All,-300; bonus2 bSubRace,RC_DemiHuman,300; bonus2 bSubRace,RC_Player,300; bonus bStr,3; bonus bMaxHPRate,12; bonus2 bSkillAtk,"MC_MAMMONITE",20; bonus2 bSkillHeal,"AM_POTIONPITCHER",10; bonus2 bSkillHeal2,"AM_POTIONPITCHER",10; bonus2 bSkillHeal2,"AL_HEAL",10; bonus bUnbreakableArmor,0; }
2377:2435:2538,{ bonus2 bSubRace,RC_All,-300; bonus2 bSubRace,RC_DemiHuman,300; bonus2 bSubRace,RC_Player,300; bonus bStr,3; bonus bMaxHPRate,12; bonus2 bSkillAtk,"MC_MAMMONITE",20; bonus2 bSkillHeal,"AM_POTIONPITCHER",10; bonus2 bSkillHeal2,"AM_POTIONPITCHER",10; bonus2 bSkillHeal2,"AL_HEAL",10; bonus bUnbreakableArmor; }
2378:2435:2538,{ bonus2 bSubRace,RC_All,-300; bonus2 bSubRace,RC_DemiHuman,300; bonus2 bSubRace,RC_Player,300; bonus bAgi,3; bonus bMaxHPRate,12; bonus bCritical,5; bonus bAspdRate,5; autobonus "{ bonus2 bHPRegenRate,300,1000; }",10,10000,BF_WEAPON,"{ specialeffect2 EF_HEAL; }"; }
2379:2436:2539,{ bonus2 bSubRace,RC_All,-300; bonus2 bSubRace,RC_DemiHuman,300; bonus2 bSubRace,RC_Player,300; bonus bInt,3; bonus bMaxHPRate,12; bonus2 bResEff,Eff_Stun,2000; autobonus2 "{ bonus bDefEle,Ele_Ghost; }",30,10000,BF_WEAPON,"{ specialeffect2 EF_ENERGYCOAT; }"; }
2380:2436:2539,{ bonus2 bSubRace,RC_All,-300; bonus2 bSubRace,RC_DemiHuman,300; bonus2 bSubRace,RC_Player,300; bonus bInt,3; bonus bMaxHPRate,12; bonus2 bCastrate,"AL_HOLYLIGHT",-50; bonus bHealPower,6; autobonus2 "{ bonus bDefEle,Ele_Ghost; }",30,10000,BF_WEAPON,"{ specialeffect2 EF_ENERGYCOAT; }"; }
@@ -92,7 +92,7 @@
2434:2530,{ bonus bFlee,10; }
2434:2551,{ bonus bFlee,10; }
2441:2546,{ bonus bFlee,5; }
2518:2648:2649:5126,{ bonus bInt,5; bonus bMdef,11; bonus bMaxSPrate,20; bonus bNoCastCancel,0; bonus bCastrate,25; }
2518:2648:2649:5126,{ bonus bInt,5; bonus bMdef,11; bonus bMaxSPrate,20; bonus bNoCastCancel; bonus bCastrate,25; }
2519:2650:2651:5127,{ bonus bStr,2; bonus bLuk,9; bonus bCritical,13; bonus bBaseAtk,18; bonus bFlee2,13; }
2527:13001,{ bonus2 bAddRace,RC_Dragon,5; }
2607:2677,{ bonus2 bSkillAtk,"AL_HEAL",50; bonus2 bSkillAtk,"PR_MAGNUS",30; bonus bSPrecovRate,9; }
@@ -136,11 +136,11 @@
4127:4166,{ bonus2 bAddEffWhenHit,Eff_Curse,600; }
4153:4247:4273,{ bonus3 bAddMonsterDropItem,544,RC_Fish,3000; bonus2 bAddEle,Ele_Water,30; }
4168:4169,{ bonus bMaxHPrate,20; bonus bMaxSPrate,20; bonus bCastrate,-10; }
4172:4210:4230:4257:4272,{ bonus bAgi,5; bonus bStr,5; bonus bAspdRate,5; bonus bSpeedRate,25; bonus bSPDrainValue,1; if(BaseClass==Job_Thief) bonus bNoGemStone,0; }
4172:4210:4230:4257:4272,{ bonus bAgi,5; bonus bStr,5; bonus bAspdRate,5; bonus bSpeedRate,25; bonus bSPDrainValue,1; if(BaseClass==Job_Thief) bonus bNoGemStone; }
4178:4199:4234:4252:4297,{ bonus bAgi,5; bonus bDex,3; bonus bLongAtkRate,20; bonus bPerfectHitAddRate,20; if(BaseClass==Job_Archer) { bonus2 bExpAddRace,RC_Brute,5; bonus2 bComaRace,RC_Brute,100; } }
4178:4234:4252:4297:4381,{ bonus bDex,5; bonus2 bSkillAtk,"CG_ARROWVULCAN",5; bonus2 bSkillAtk,"DC_THROWARROW",10; bonus2 bSkillAtk,"BA_MUSICALSTRIKE",10; if(BaseJob==Job_Bard||BaseJob==Job_Dancer) bonus3 bAutoSpellWhenHit,"CG_TAROTCARD",2,50; }
4185:4217:4280:4293:4312,{ bonus bVit,10; bonus bCastrate,-10; bonus bUseSPRate,-10; if(BaseClass==Job_Acolyte) { bonus2 bExpAddRace,RC_Undead,5; bonus2 bExpAddRace,RC_Demon,5; bonus2 bSubRace,RC_Undead,30; bonus2 bSubRace,RC_Demon,30; } }
4185:4293:4312:4332,{ bonus bStr,3; bonus bMaxSP,80; bonus bBaseAtk,25; bonus3 bAutoSpell,"AL_CRUCIS",5,10; bonus2 bSkillAtk,"MO_EXTREMITYFIST",10; if(BaseJob==Job_Monk) { bonus bUseSPrate,-10; bonus bNoCastCancel,0; } }
4185:4293:4312:4332,{ bonus bStr,3; bonus bMaxSP,80; bonus bBaseAtk,25; bonus3 bAutoSpell,"AL_CRUCIS",5,10; bonus2 bSkillAtk,"MO_EXTREMITYFIST",10; if(BaseJob==Job_Monk) { bonus bUseSPrate,-10; bonus bNoCastCancel; } }
4186:4206:4233:4281:4321,{ bonus bLuk,10; bonus bSPDrainValue,2; bonus2 bSkillAtk,42,20; if(BaseClass==Job_Merchant) { bonus2 bAddMonsterDropItem,617,5; bonus bMagicDamageReturn,20; } }
4191:4208:4258:4309:4325:4327,{ bonus bMaxHP,500; bonus bDef,5; bonus bMdef,5; bonus2 bSkillAtk,14,10; bonus2 bSkillAtk,19,10; bonus2 bSkillAtk,20,10; if(BaseClass==Job_Mage) { bonus bMatkRate,3; bonus bCastrate,-15; } }
4193:4294,{ bonus bMaxHP,300; bonus bMaxSP,60; }

File diff suppressed because it is too large Load Diff

View File

@@ -16,7 +16,7 @@
// 12659 cannot be used when this delay is active.
// Since this is optional, default is -1 will ignores the
// delay group and the delay will be stored in character's
// data that has limit set in src/map/itemdb.h as MAX_ITEMDELAYS.
// data that has limit set in src/map/itemdb.hpp as MAX_ITEMDELAYS.
// SC_REUSE_LIMIT_A
14538,300000,SC_REUSE_LIMIT_A //Glass_Of_Illusion

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