15940 Commits

Author SHA1 Message Date
Aleos
7e7a28315e
Reduced MAX_MAP_SERVERS and MAX_SERVERS size (#4099)
* Reduced MAX_MAP_SERVERS down to 2.
* Reduced MAX_SERVERS down to 5.
2019-04-17 14:47:55 -04:00
Aleos
8df036c428
Fixed AG_BATTLE and AG_TAMING achievements (#4065)
* Fixes #4015.
* Fixes a potential crash from AG_BATTLE and AG_TAMING achievements.
* General cleanups.
Thanks to @Atemo!
2019-04-17 12:23:43 -04:00
Atemo
8975682fed
Corrected countitem_sub return value (#4110)
* Corrected countitem_sub return value in case of failure
2019-04-17 17:50:30 +02:00
rAthenaAPI
6c8142a6db SQL synchronization 2019-04-17 05:01:42 +02:00
rAthenaAPI
84a59276fc Mob and NPC Identity Update 2019-04-17 05:01:07 +02:00
Aleos
3057af757d
Corrected a compile error (#4107)
* Fixes a compile error for clients older than 2014-10-08 which don't support pet autofeed.
Thanks to @Normynator!
2019-04-15 13:42:47 -04:00
rAthenaAPI
a348016058 SQL synchronization 2019-04-13 15:12:44 +02:00
Atemo
04c6303eb9
Implemented (the old) Nightmarish Jitterbug instance (#4061)
* Implemented NPC_REVERBERATION (some parts are from https://github.com/idathena/trunk credit to @exneval)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Thanks to @Lemongrass3110 @aleos89 and @Atemo for their suggestions and additional fixes
2019-03-26 22:51:57 +07:00
Atemo
e4b41ef7e0
Revert "Added pcblock and checkpcblock script commands. (#3951)" (#4048)
This reverts commit 3e0d3d2fe6b244099d3987b7a21260d6b070512e.
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