8752 Commits

Author SHA1 Message Date
Jeybla
e1e2bfa7a3 Fixes Queen Scaraba Card (#1937)
Fixes #1935
2017-02-06 22:24:47 +01:00
Lemongrass3110
4623d376d0 Another follow up to d99c914 2017-02-05 19:58:57 +01:00
Matheus Macabu
aa7de205fe Update name for all party members on rename (#1715) 2017-02-05 19:52:31 +01:00
Lemongrass3110
90e3f89df2 Follow up to d99c914
Thanks to @RadianFord and @CairoLee
2017-02-04 17:43:50 +01:00
Lemongrass3110
7377f0f674 bindatcmd now supports the new event name length 2017-02-04 00:03:40 +01:00
Aleos
d99c91418a Cleaned up character saving (#1911)
* Fixes #1910.
* Changed chrif_save option to readable constant values.
* Added new Inventory and Cart options so that normal character save calls aren't flooded with requests to save Inventory and Cart data.
* Cleaned up storage and premium storage saving functions being unused.
2017-02-03 10:25:46 -05:00
aleos89
52f9bf63af Fixed Cart Weight calculation (fixes #1938)
* Resolves Cart weight not getting recalculated when using atcommand resetskill.
Thanks to @Hactus and @Tokeiburu!
2017-02-03 10:17:21 -05:00
Cydh Ramdh
ae182ef6a8 Fixed a broken character in skill.c's comment
Signed-off-by: Cydh Ramdh <cydh@pservero.com>
2017-02-03 21:09:21 +07:00
Jeybla
929384cead Fixes AgitEnd2 Scriptcommand. (#1936)
OnAgitEnd2 events were not triggered by using the AgitEnd2 script command.

Follow up to 2043c95
2017-02-03 08:38:15 +01:00
aleos
c853ef0303 Backslide against walls (fixes #1914)
* Backslide animation is not shown when the player is against a wall.
* SP is still consumed as normal.
Thanks to @zackdreaver!
2017-02-02 18:07:37 -05:00
aleos89
778e96e475 Follow up to 84df170
* Fixes a wrong status icon being set to a status change.
2017-02-02 13:44:05 -05:00
aleos89
84df1708ee Added missing Elemental Resist Potion icon
* Fixes #1898.
* Separated the SC_ARMOR_ELEMENT to each element (Water, Earth, Fire, Wind).
* Added the status icon for the respective element.
Thanks to @zackdreaver!
2017-02-02 12:19:04 -05:00
aleos89
bb42b3183c Added missing SCB for Geffen Magic statuses
* SC_GEFFEN_MAGIC1, SC_GEFFEN_MAGIC2, and SC_GEFFEN_MAGIC3 were missing their SCB_ALL flags.
2017-02-02 09:53:29 -05:00
aleos
320bf9073b Fixed VIP gemstone requirement setting (fixes #1846)
* Resolves the VIP gemstone requirement setting get reset on each status_calc_pc.
* Removed some duplicate code during gemstone avoidance calculation.
Thanks to @Everade!
2017-01-31 20:05:15 -05:00
aleos89
baa91f834c Follow up to 4af46ba and e8b9cf0
* Ensures all instances of players disconnecting from the server has their shop removed.
2017-01-31 13:37:02 -05:00
Jeybla
e31428df64 Conf: hide favorite items while selling to NPCs (#1925)
Added a configuration for hiding favorite items in the sell menu.

Thanks to @Jeybla!
2017-01-31 13:55:01 +01:00
aleos
fa443eee30 Adjusted Meteor Assault interaction with EDP
* Fixes #1885.
* Enchant Dead Poison no longer increases Meteor Assault damage on renewal.
Thanks to @alxalmora and @Playtester!
2017-01-30 20:23:12 -05:00
aleos
e8b9cf06ce Follow up to 4af46ba
* Added a map session data check back into the GM kick process so atcommand kickall does not remove vendors or buyingstores.
* Adjusted the checks for when a player logs back into their account so it properly removes any vending or buyinstore information.
2017-01-29 15:10:42 -05:00
aleos
4af46ba8c2 Fixed vending/buyingstore info not being removed
* Fixes #1921.
* Resolves vending and buyinstore information not being removed from the SQL tables when a player is kicked.
Thanks to @Tokeiburu!
2017-01-29 12:22:04 -05:00
aleos
cb72a89fd5 Added battle config pet_master_dead (fixes #1916)
* Added a new battle config that will allow or disallow (default) a pet to continue attacking its target if the master is dead.
Thanks to @technoken!
2017-01-29 10:36:53 -05:00
aleos
bfab00a3c3 Fixed Vanish damage interaction with some skills
* Fixes #1721.
* Devotion and Shadow Form damage bypass Vanish damage.
Thanks to @jamon18!
2017-01-28 11:29:01 -05:00
aleos
706345f56f Revamped script command setunitdata (fixes #1903)
* Resolved mobs having certain stats getting reset to their database value when the mob's status is recalculated.
* Resolved some monster, homunculus, mercenary, and elemental stats not properly recalculating when setting the unit data.
Thanks to @technoken and @Tokeiburu!
2017-01-25 20:48:24 -05:00
aleos89
65427737bf Follow up to 9c2026d
* Renamed atcommand reloadnpc to reloadnpcfile.
* Adjusted documentation to fit.
2017-01-25 13:48:37 -05:00
aleos89
9c2026d216 Fixed atcommands for NPC loading (fixes #203)
* Resolves atcommand loadnpc not working in sequence with atcommand unloadnpc multiple times on the same NPC.
* Added atcommand reloadnpc.
Thanks to @Tokeiburu!
2017-01-25 13:06:45 -05:00
Lemongrass3110
08d55d80f5 GTB should not block Masquerade status changes (#1905)
* Fixes #1901
Thanks to @zackdreaver and @RagnarokNova!
2017-01-24 12:04:32 -05:00
Atemo
09cbf2dfa6 Follow up a63604d92a1c8090257277e353fd28464e859c08
The display name of the NPC won't get appended in front of the message for globalmes script command.

Corrected area monsters spawn in Nydhoggr's Nest Instance
2017-01-22 19:14:19 +01:00
aleos
7543f1cba7 Resolved a potential map-server crash
* Fixes #1839, fixes #1844, and fixes #1882.
* Resolves players at login attempting to calculate their statuses who haven't been fully loaded.
* Added a new state flag to make sure inventory and status data is loaded before player's statuses are calculated.
Thanks to @Tokeiburu, @Everade, and @MrAntares!
2017-01-22 13:03:46 -05:00
Atemo
c6470ff4ff Clean-up permanent monster spawn: (#1831)
* Clean-up permanent monster spawn:
- <delay1>,<delay2>,<event> are actually optionnal field
- <event> value 0 and 1 are meaningless (actually event name with length < 4 are skipped)

* Exported monster AI constants

* Updated docs for monster size constants (already exported)
Notes:
- the default size for monster script cmd was small not medium
- monster script cmd now display a warning for size above SZ_BIG (previously SZ_ALL)

* - Fixed an issue to make <xs> and <ys> optionnals
- Updated npcs scripts

* Leftover in the docs for permanent monster spawn

* Corrected english docs. Credit to @aleos89
Added additionnal warning for xs / ys negative input. Credit @Lemongrass3110 

Thanks to @cydh for the idea
2017-01-22 19:03:08 +01:00
Lemongrass3110
047ef1263b Fixed 2 compiler warnings on PACKETVER < 20110111 2017-01-19 22:05:11 +01:00
Lemongrass3110
9cd1ea4ebe Fixed wrong output in itemdb_read_itemdelay 2017-01-19 14:52:59 +01:00
aleos
d8768e4cae Cleaned up the colored messages (fixes #1855)
* Removed redundant clif_colormes and clif_messagecolor2 functions.
* Changed all clif_disp_onlyself to clif_messagecolor.
* Resolves several places around source using the 0x17F packet which now has a display toggle for Guild Chat resulting in these messages not related to Guild Chat not displaying.
* Added COLOR_LIGHT_GREEN to imitate the Guild Chat color.
2017-01-18 17:20:25 -05:00
aleos89
2c4cd07af0 Corrected script command atcommand (fixes #1894)
* Resolves the map ID being stored instead of the map index when a dummy player is used.
Thanks to @Tokeiburu!
2017-01-18 10:06:37 -05:00
Atemo
c6ab72207e Horror toy factory (#1813)
* Initial release of Horror Toy Factory instance.
Thanks to @aleos89, @secretdataz, @Lemongrass3110
Took some part from 52f6420abc
Credit @exneval

Todo : implement NPC_HELLBURNING skill
2017-01-18 03:25:12 +01:00
Lemongrass3110
7416ad79fd Fixed Emperium attack checks for slaveclones
Fixes #1890
2017-01-17 20:02:57 +01:00
Lemongrass3110
60652e2001 Fixed event OnBreakGuild not being triggered
Fixes #1888
Thanks to @guilherme-gm
2017-01-17 19:42:09 +01:00
Lemongrass3110
633d50fa72 Atcommand clanspy 2017-01-16 23:36:52 +01:00
Lemongrass3110
d6daffe737 Fixed aftercast animation of Coluceo Heal
Fixes #1884
Thanks to @Tokeiburu
2017-01-15 23:32:04 +01:00
vstumpf
11f0a1f9d1 Clan Chat logging is now available 2017-01-14 17:47:36 +01:00
Lemongrass3110
f5c43329b2 Follow up to 9f4587a
Fixes #1877
Thanks to @Tokeiburu and @Everade for their help.
2017-01-13 23:34:06 +01:00
aleos89
6de7aa88e8 Resolved party bound item check (fixes #1874)
* Resolved a potential map-server crash.
* If a party bound item is attempted to be removed because the player was offline during party destruction, delete the item without recalculating the status.
Thanks to @Tokeiburu!
2017-01-13 12:29:18 -05:00
Lemongrass3110
a73814eeee Fixed some compile warnings
Fixes #1861
Thanks to @rubie123
2017-01-11 10:21:47 +01:00
Lemongrass3110
2043c95e66 Refactored hardcoded npc event names (#1767)
While refactoring those events the following other changes were made:

Introducing OnInstanceDestroy event. This event can be used to hook script code right in front of the instance destruction. This can be useful if you have any stored references to an instance id for example.

The script command cmdothernpc will now check if the target event exists and report failures. Therefore it now returns true or false.

All agit(FE,SE,TE) start and end commands from atcommand and script commands have been merged in their respective guild function which now returns a bool value of true for successful actions and false if it did not succeed(if the specific WoE was [not] running).

All global triggered events with mapserver status output now call the same function and therefore have the same mapserver output(including their respective event name of course).

Renamed a few events in the script configuration to match the other names

Added constants for months and weekdays

Additionally added constants for gettime types to make it easier to read.

Replaced all existing usages I found with their proper new syntax or better fitting functions.
2017-01-10 22:58:04 +01:00
Playtester
870273e48f Fixed Taekwon Mission not working (fixes #1862)
* Taekwon Mission will now work regardless of setting "taekwon_mission_mobname"

Special thanks to @vstumpf for the fix.
2017-01-09 20:36:30 +01:00
lighta
c93b9cec6e Small finalisation for ARM va_list issue 2017-01-08 15:43:54 -05:00
Johnathan Fercher
755329fe11 raspberry simple adaptation
added a new version of itemdb_group_free at map/itemdb.c.
2017-01-08 15:35:19 -05:00
Lemongrass3110
14b79eafcb Follow up to 88aaa9b
Fixes #1857
Thanks to @srhmike
2017-01-07 22:32:07 +01:00
Aleos
f14b5b34ec Adjusted the parameter size for NPC commands (#1856)
* Adjusted the parameter size for NPC commands
* Fixes #1805
* Changed NAME_LENGTH parameter size to NPC_NAME_LENGTH.
Thanks to @Tokeiburu!
2017-01-06 19:11:50 -05:00
Lemongrass3110
88aaa9be98 Added a parameter to map_nick2sd for partial name (#1852)
With this parameter the caller can decide if he wants to enable or disable partial name scan support.
Generally it was disabled in a lot of functions(clif,channel,script commands).
It is still available for some "non-critical" atcommands as well as for all charcommands.
2017-01-07 00:19:04 +01:00
Lemongrass3110
55459f30f2 Added a script command for instance information (#1815)
With this script command you can look up information about a specific instance. This way you do not have to hardcode values specified in the database in the script if you need it.

Thanks to @aleos89 for the script documentation.
2017-01-07 00:08:11 +01:00
Lemongrass3110
12457d342f Fixed sleep2 and awake functions for non-players (#1849)
Fixes #1837
2017-01-06 23:41:18 +01:00