8488 Commits

Author SHA1 Message Date
Aleos
8b3e9cd28f Disable instances from using OnPC Events (#2278)
* Fixes #2273.
* Disable the use of OnPC Events in instance scripts since player's aren't actually attached to the event thus causing a crash.
Thanks to @Tokeiburu!
2017-07-24 17:38:05 -04:00
Lemongrass3110
7c2f3c4db9 Fixed 2017-06-07cRagexeRE and 2017-06-14bRagexeRE
Fixed #2285
Follow up to 2f453e7

Thanks to @hendra814
2017-07-24 19:32:16 +02:00
Lemongrass3110
cf0cfe84a7 Added script command progressbar_npc (#2272)
* Fixes #1473
Thanks to @Tokeiburu and @kukuasir1
2017-07-24 13:21:35 -04:00
Lemongrass3110
be15b62912 Follow up to a3c0590
Added a missing field check
2017-07-24 10:35:44 +02:00
hazimjauhari90
2f453e79ec Added shuffle packets for 2017-06-14bRagexeRE (#2277)
Thanks to @Rytech2 and @hazimjauhari90.
2017-07-23 19:03:38 +02:00
aleos89
ad036d08a4 Follow up to 94aa28a
* Resolved some compile warnings.
2017-07-20 13:36:23 -04:00
aleos89
94aa28aafc Follow up to df2c3e1
* Resolved a compile warning.
2017-07-20 13:24:44 -04:00
Lemongrass3110
eda85943f7 Fixed an issue with git hash lookup 2017-07-18 23:02:31 +02:00
Aleos
504b249d20 Updated Rogue Spirit potion bonus (#2225)
* Fixes #2139.
* Added missing 50% HP bonus.
* Removed extra 50% SP bonus.
* Cleaned up overall pc_itemheal function calculations.
Thanks to @mrjnumber1 and @exneval, and @Lemongrass3110!
2017-07-18 12:53:33 -04:00
Lemongrass3110
9eaabd5f6c Fixed mod permissions for private channels (#2262) 2017-07-17 23:25:55 +02:00
Lemongrass3110
e157e05c1c Fixed file order in map-server project for VS 2017-07-17 23:01:53 +02:00
aleos89
df2c3e1645 Fixed a compile warning for ADJUST_SKILL_DAMAGE
* Fixes #2231.
Thanks to @technoken!
2017-07-17 14:56:08 -04:00
Lemongrass3110
dae5030650 Fixed unitwarp to unwalkable areas for NPCs
Fixed #2270

Thanks to @Yuchinin
2017-07-16 22:29:48 +02:00
Lemongrass3110
d324cd1e25 Fixed a warning when obfuscation is disabled
Thanks to @sader1992 and @Jeybla
2017-07-16 16:36:46 +02:00
Lemongrass3110
19d7c44298 Removed packet_db copy from VS project
Thanks to @Everade
2017-07-16 16:15:34 +02:00
Aleos
d86c8a81be Expanded script command unitstopwalk (#2258)
Fixes #2254.
Added an optional flag to specify the types of methods to stop a unit from walking.
Created an enum for the unit_stop_walking flags.
Thanks to @Yuchinin and @Lemongrass3110!
2017-07-16 16:05:17 +02:00
Lemongrass3110
574c753945 Follow up to f0ab8d2
Fixed #2266

Thanks to @hendra814
2017-07-16 05:28:03 +02:00
Lemongrass3110
f0ab8d2a52 Overhauled and dropped packet db (#2263)
Adds support for a lot of missing clients and features almost all clients from 2016 and 2017
clientinfo.xml's version value will be ignored from now on
By setting PACKETVER the server will configure everything else on it's own from now on
Dropped is_clientver script command
And a lot more
2017-07-15 22:45:12 +02:00
aleos89
0d103bf6a7 Fixed a small bug with atcommand addwarp
* The function that creates the warp was using the wrong Y area argument.
Thanks to @mrjnumber1!
2017-07-14 13:54:52 -04:00
Lemongrass3110
6e2ab60016 Fixed a warning for guild master change time
Fixed #2246

Thanks to @anacondaqq
2017-07-14 00:15:24 +02:00
Lemongrass3110
b0f5672a74 Fixed character deletion on 2014-10-22
Fixed #2251

Thanks to @lelouch22
2017-07-14 00:13:21 +02:00
Akkarinage
d9d9042b87 Added Lasagna to atcommand go locations 2017-07-13 15:58:03 +01:00
aleos89
9959c919dc VIP Drop calculation correction
* Fixes #2247.
* Adjusted the drop rate to properly float the value before converting to integer.
Thanks to @talesvalente!
2017-07-10 10:29:28 -04:00
aleos
0739275508 Cleaned up Hells Plant damage formula
* Fixes #2230.
Thanks to @RagnarokValor!
2017-07-08 13:18:04 -04:00
aleos
4dfeeade06 Resolve some compile warnings
* Fixes #2245.
Thanks to @lelouch22!
2017-07-08 11:42:53 -04:00
Lemongrass3110
b2aa7e698d Fixed thief's back sliding animation
Fixed #1914

Thanks to @zackdreaver for reporting and @aleos89 for his help!
2017-07-07 23:52:00 +02:00
aleos89
27a30ffa51 Removed an unused variable
* Follow up to bae5c31.
* Fixes #2241.
Thanks to @hazimjauhari90!
2017-07-07 08:36:30 -04:00
Aleos
bae5c31201 Miscellaneous atcommand parsing cleanups (#2238)
* Removed several typecasts.
* Adjusted atcommands that interpret character names to make use of atcmd_player_name.
* Added some missing comments.
* Adjusted a few return messages to match the appropriate scenario.
* Assume atcommand changeleader is successful after initial checks.
Thanks to @Lemongrass3110!
2017-07-06 17:15:45 -04:00
aleos
5462b08d28 Follow up to dc2c51c
* Added a missing break.
2017-07-06 16:43:21 -04:00
aleos
dc2c51cd83 Corrected Hell Inferno behavior
* Fixes #2236.
* Hell Inferno's shadow attack will now properly do elemental damage.
* Burning should only start when the fire attack successfully lands.
* Gave a slight delay to the shadow attack to mimic officials.
Thanks to @hartonox!
2017-07-06 16:38:45 -04:00
Aleos
5f7a143d3e Updated Summoner class (#1965)
* Fixes #1865.
* Updated and added new Summoner class skills.
* Information based on kRO patch notes.
- http://ro.gnjoy.com/news/devnote/View.asp?category=1&seq=1987966&curpage=1
* Updated previously implemented skills to better mimic official behavior.
Thanks to @RagnarokNova, Fyrus, and Jet for their hard work on gathering the information!
Thanks to @Grimfiend, @Atemo, @feltenc, @Lemongrass3110, @Felleonel, and @sanny1128 for the rapid test and reports!
2017-07-05 19:40:35 -04:00
Lemongrass3110
689a3ff9b3 Added a few missing cashpoint message comments 2017-07-03 22:25:14 +02:00
Lemongrass3110
f86ba2b6b8 Added a state check for the cash shop
If the cash shop is open you can not use the atcommands cash and points.
This is because no update packet exists and the cash shop only gets the current amount when you open the cash shop.
The second way to update the cash shop values is on a successful purchase.
2017-07-03 22:14:34 +02:00
Lemongrass3110
a3c0590508 Added some checks to guild leader change
Introduces two new configurations:
1) Allow guild leader changes in WoE (yes/no)
	Default: no
2) Delay between the changes (in minutes)
	Default: 1440 minutes = 1 day

Follow up to b51617c
2017-07-02 23:40:30 +02:00
Lemongrass3110
2072fe3643 Fixed unitwalk and unitwalkto label reset
Fixed #2222

Thanks to @zellkennedy
2017-07-02 18:21:33 +02:00
Lemongrass3110
045f4be573 Fixed getequipid returning 0 instead of -1
Fixed #2228 and updated the documentation a little

Thanks to @talesvalente
2017-07-02 15:39:35 +02:00
Lemongrass3110
2aefe6c188 Fixed 2 compilation warnings 2017-07-02 15:06:27 +02:00
hazimjauhari90
ad80914981 Follow up to 7351b88 (#2200)
Merged HerculesWS/Hercules@73db1e2

The exact client date for the implementation of new party ui window is actually 2017-05-02dRagexeRE

Thanks to @4144, @Asheraf and @dastgir
2017-07-02 14:18:08 +02:00
Jittapan Pluemsumran
fa24b2134d Expanded bg_get_data script command (#2179)
* Expanded bg_get_data script command.
* Now able accept type parameter of 1 to list account IDs of battleground members.
* Originally implemented by @AnnieRuru at https://rathena.org/board/topic/72571-b/
2017-06-30 14:06:04 -04:00
Aleos
ba242eb9ed Resolved function timers not being freed properly (#2223)
* Fixes #2216.
* Properly free a function's timer when reloading scripts.
* Renamed script_stop_instances to not confuse it with the Instance System.
Thanks to @Tokeiburu!
2017-06-30 12:43:20 -04:00
Lemongrass3110
45e91e2a3a Added clan emblems to the NPCs (#2221)
* Added clan emblems to the NPCs
* Partial merge of/based on idathena/trunk@1f84c5d
Thanks to @exneval
2017-06-30 12:31:06 -04:00
Atemo
a8e4c83ef1 Updated sleep2: (#2208)
* Updated sleep2:
Currently sleep2 is supposed to return 0 or 1 if the unit is still attached. Actually mapserv throws a warning and the script end if the timer is still running and unit offline. With this update the script ends if there is no unit attached for sleep2.
* Corrected comments / docs
Thanks @secretdataz, @Lemongrass3110
2017-06-30 10:25:14 -04:00
Lemongrass3110
9827bf6153 Fixed motd parsing
Fixed #2220

Thanks to @anacondaqq
2017-06-27 19:00:59 +02:00
Lemongrass3110
da036de523 Follow up to 4a2574c and 76786e2 2017-06-27 18:44:23 +02:00
Jittapan Pluemsumran
e87626cc76
Fixed compile error when ADJUST_SKILL_DAMAGE macro is defined 2017-06-27 16:45:19 +07:00
aleos89
20908ee9c0 Replaced some final uses of rand()
* Replaced some final left overs of rand() with rnd() from MT19937AR.
2017-06-26 14:36:31 -04:00
aleos89
a7c8751a10 Resolve an issue with script command strnpcinfo
* Resolved the NPC map name lookup for floating NPC returning arbitrary values.
2017-06-26 14:12:24 -04:00
Atemo
a5afb06979 Initial release of lasagna npcs (#2105)
* First release of lasagna npcs (playing conversion).

* Added a new parameter for npctalk script command
Target for <flag>:
- bc_all  : Broadcast message is sent server-wide (only in the chat window).
- bc_map  : Message is sent to everyone in the same map as the source of the npc.
- bc_area : Message is sent to players in the vicinity of the source (default value).
- bc_self : Message is sent only to player attached.

* Implemented doram food buffs

* Updated npctalk:
*npctalk "<message>"{,"<NPC name>",<flag>};
- Empty string for "<NPC name>" now means attached NPC

* Added flag parameter for unittalk script command
*unittalk <GID>,"<text>"{,<flag>};
flag: Specify target
   bc_area - Message is sent to players in the vicinity of the source (default).
   bc_self - Message is sent only to player attached.
 
* Updated classchange script command:
classchange(<view id>{,"<NPC name>",<flag>});
flag: Specify target
   bc_area - Data is sent to players in the vicinity of the source (default).
   bc_self - Data is sent only to player attached.

* Updated Time Limit for quests to allow HH:MM format

Thanks @secretdataz, @Lemongrass3110, @aleos89, @Jeybla, @anacondaqq, @jenkijo, @sikiro, @admkakaroto for contributing !
2017-06-26 00:54:25 +02:00
Jey
809fc35b0e
Follow up to 4a2574c.\r\nThanks to @Jeybla! 2017-06-26 01:24:54 +07:00
Jittapan Pluemsumran
4a2574c599 Migrate core source files to C++. Add yaml-cpp project as dependency (#2207)
By updating to this commit, Linux users have to regenerate Makefiles by re-running the configure script.

* Added yaml-cpp project as a 3rdparty library
* Migrated source files core to C++
* Updated configure scripts
* Make Linux installations compile *.cpp files
* Made server components' main source file C++
* Also made headers CPP-aware.

* Added basic C wrapper for yaml-cpp library
* YAML-node path is delimited by periods.
* Basic integer types and string are supported.
* Strings returned from this wrapper have to be freed with malloc.h::aFree
* Arrays (sequence) is supported with iterator wrapper.
* Remember to free every wrapper you create!

* Add yaml-cpp as dependency of common project
* Made the repo not ignore *.yml files

Thanks to @aleos89 and @Lemongrass3110.
2017-06-25 23:33:24 +07:00