8070 Commits

Author SHA1 Message Date
Jittapan Pluemsumran
668690d028
Expanded itemskill script command to allow skill requirements checking 2016-08-31 19:39:42 +07:00
Lemongrass3110
0569d85dbf Fixed random options not being updated correctly
Fixes #1527
2016-08-31 11:53:58 +02:00
Cydh Ramdh
f7e4001f65 Follow up d84d6ba1e50852844303cfb11470de63cfd92a27
* Added restriction check for normal warp portal.

Signed-off-by: Cydh Ramdh <cydh@pservero.com>
2016-08-31 15:08:44 +07:00
Cydh Ramdh
0df1ba0a20 TE Updates
* Implemented `job_noenter_map.txt` for TE maps.
* Added job list that cannot enter TE Castles and Guild Dungeons.
* Replaced `getpermissionwoete` with `jobcanentermap`.
* Added missing quest `7516`.
* Fixed typo in TE Mission NPC.

Signed-off-by: Cydh Ramdh <cydh@pservero.com>
2016-08-31 14:42:49 +07:00
Cydh Ramdh
65a90ff84c Merge branch 'master' into woe_te-restrictions 2016-08-31 08:03:34 +07:00
aleos89
ab7324c84c Resolved some compile warnings
* Removed an unused variable.
* Resolved an uninitialized variable issue.
2016-08-30 20:58:40 -04:00
aleos89
bd36b294ad Merge branch 'master' into cleanup/storages_optimization 2016-08-30 19:40:36 -04:00
Cydh Ramdh
47276e94a6 Clean up party invitation reply. (#1471)
* Clean up party invitation reply.
* Added reply result as enum.
* Added official party restriction.
* Added configuration in party.conf

Signed-off-by: Cydh Ramdh <cydh@pservero.com>
2016-08-31 01:07:55 +02:00
Lemongrass3110
600e8ae7ce Fixed searchstore feature for 2015-02-26 onwards 2016-08-31 01:02:39 +02:00
aleos89
0feabf30ce Fixed Eclage skill animations
* Resolved Eclage skills not showing their animations.
Thanks to @Tokeiburu!
2016-08-30 18:57:05 -04:00
Cydh Ramdh
d84d6ba1e5 Initial release: Map X Job restriction (#1526)
* Listed job with matched map zone is restricted to enter the map.
* Added db file `job_noenter_map.txt` with format: `JobID,FlagZone,GroupLevelBypass`.
* Reserved usage for WOE:TE implementation.
* Typo correction, thanks @aleos89 @Lemongrass3110
2016-08-30 22:09:02 +07:00
aleos89
b3b2bab7c5 Follow up to cd5dbe2
* Forgot to adjust npctalk's definition.
2016-08-29 12:24:02 -04:00
aleos89
cd5dbe28e4 Adjusted the npctalk script command
* Now has an optional parameter of NPC name.
- If supplied, it will display over that NPC's head, else it will use the attached NPC.
2016-08-29 11:56:19 -04:00
Jittapan Pluemsumran
51ef9118a8 Merge pull request #1509 from rathena/feature/stat_reduce_pot
Implemented status reduction potion support
2016-08-28 00:36:43 +07:00
Cydh Ramdh
8805e7e1d8 Merge branch 'master' into woe_te-restrictions 2016-08-27 07:04:41 +07:00
aleos89
bf84469438 Adjusted battle_getcurrentskill() return type
* Adjusted the function's return type to uint16 to match the skill_id variable type.
2016-08-26 14:41:22 -04:00
aleos89
08f63aa3b1 Corrected quest progression (fixes #1521)
* Quests can now progress even if they are marked inactive.
Thanks to @Tokeiburu!
2016-08-26 14:34:13 -04:00
Cem YILMAZ
0fe730d972 Prevented Phatasmic Arrow to knock back targets that would die from its attack. #1378 2016-08-26 17:42:44 +03:00
Lemongrass3110
5cae674b05 Used defined variable names for constant exports (#1417) 2016-08-25 15:59:18 +02:00
Jittapan Pluemsumran
021bed5f5d
Implemented status reduction potion support
* New script command `needed_status_point` added.
* The items are not yet implemented.
2016-08-21 14:30:17 +07:00
Jittapan Pluemsumran
04ffafa5fd
Added missing column check for char table in char_checkdb 2016-08-20 11:01:25 +07:00
aleos89
d11b58ca11 Removed an unused function declaration (fixes #1503)
* Function battle_validate_conf() does not exist.
2016-08-19 14:28:57 -04:00
aleos89
bd65341685 Follow up to cd7e610
* Forgot to send the response back to the client.
2016-08-18 20:30:27 -04:00
aleos89
cd7e610879 Adjusted the temporary ban check
* Temporarily ban players who attempt to login to too many unregistered accounts.
* This makes it tougher for people who have access to server data and attempt to use that data on other servers.
2016-08-18 20:18:19 -04:00
aleos89
371f619cb4 Updated status icons to latest kRO
* Added new status icons.
2016-08-18 14:21:23 -04:00
Aleos
c575fede4f Merge pull request #1495 from rathena/cleanup/skill_tree
Skill Tree cleanup
2016-08-17 20:17:37 -04:00
aleos89
b9e61c7b93 Resolved a compile warning
* Removed an unused variable.
2016-08-17 20:08:52 -04:00
aleos89
b2a46a33ec Follow up to 16b100d (part 2)
* Cleaned up some of the warning messages during parsing.
2016-08-17 19:48:55 -04:00
aleos89
16b100d97d Follow up to e40c88e
* Fixed the offset when base/job level requirements are active.
* Added some validity checks for skill ID, skill level, base level and job level.
* Moved the parsing of the skill tree database after the parsing of the job databases to make sure the max base and job level data is acquired first.
2016-08-17 12:56:58 -04:00
Cydh Ramdh
8da71a126d * Fixed memory leaks from item random options, follow up f296409ada211a0aa89863db4d9603054845cf65
* Clean up doc and array index check for `getequiprandomoption`, `setrandomoption`, follow up 8deabb157ae9e58db86d0383c34dba7211780b6a
* Exported CARD0_FORGE, CARD0_FORGE, and CARD0_PET for `getequipcardid` result.
* Add `SCSTART_` references in `sc_start` doc.

Signed-off-by: Cydh Ramdh <cydh@pservero.com>
2016-08-16 11:14:33 +07:00
Aleos
47a69c082a Corrected the showscript packet
* Follow up to 43f25e3.
* The showscript packet was being sent to all players logged in which can be network intensive.
Thanks to @Tokeiburu!
2016-08-15 22:12:33 -04:00
Lemongrass3110
e2bf685a86 Fixed memory leaks from item random options 2016-08-15 16:34:14 +02:00
Lemongrass3110
1e2e37a9d4 Some small cleanups 2016-08-15 12:15:35 +02:00
Jittapan Pluemsumran
8deabb157a
Implemented basic script commands to apply options to equipped item. 2016-08-15 17:04:06 +07:00
Jittapan Pluemsumran
da21013254
Follow up to 1e8c27c.
Removed an unneccessary pointer. Thanks to @cydh
2016-08-15 16:31:48 +07:00
Jittapan Pluemsumran
1e8c27c085
Fixed compile error on VS2010
* unprofessional personal diary page 1
2016-08-14 23:23:11 +07:00
Jittapan Pluemsumran
8657c4210c
Follow up to f296409ada211a0aa89863db4d9603054845cf65
* Some variable and function leftovers clean-ups
2016-08-14 22:52:06 +07:00
Jittapan Pluemsumran
f296409ada
Initial Release of Random Option System
* Added basic support for random option system
* Don't forget to import upgrade_20160814.sql and upgrade_20160814_log.sql to make your existing rAthena installation functional!
2016-08-14 22:21:07 +07:00
Lemongrass3110
a87d86cb11 Fixed getinventorylist documentation
Fixes #1497.
Thanks to @Darkelfen for reporting it.

Additionally exported the EQP_* constants into the script engine.
Replaced some hardcoded equip positions with their respective constants.
2016-08-14 00:26:22 +02:00
Lemongrass3110
ebcb92363b Follow up to ede39b1
Fixed the compile errors on packet versions < 20150513
2016-08-13 22:38:18 +02:00
Lemongrass3110
ede39b1730 Refurbished hat effects
Follow up to 5da49b8
Thanks to @cydh for the good base in #1465.

Renamed the function from itemeffect to hateffect.
The effects now get sent to other players as well.
You can enable or disable one effect at a time with the script command now.
2016-08-13 21:56:58 +02:00
Lemongrass3110
2cbc9ac507 Fixed some compile warnings
Fixed a shadowed variable in clif_parse_WisMessage
Adjusted a hardcoded limitation to use the correct define for event name length
Removed the check if the target is dead for killing cloud(leftover from 99e49d9)
2016-08-12 16:46:52 +02:00
Lemongrass3110
9157318ee9 Script level up events from atcommands
Based on @Emistry's pull request HerculesWS/Hercules#1396:
Added a configuration to enable the atcommands baselevel and joblevel to trigger their respective npc events.
This will help you guys with testing your custom scripts that are listening to OnPCBaseLvUpEvent or OnPCJobLvUpEvent.
For safety reasons we only trigger the events on level increase.
2016-08-12 15:21:48 +02:00
Lemongrass3110
f560da84c6 Fixed a crash on invalid combo scripts
Fixes #1493
Thanks to @julia40124009 for reporting.
2016-08-12 14:37:39 +02:00
aleos89
e40c88ecbf Skill Tree cleanup
* Added an optional base level requirement for skills.
* Refactored some variable types and names.
2016-08-11 18:31:59 -04:00
Lemongrass3110
8857ff6279 Added custom battle config support
You can now define custom battle config structure members in src/custom/battle_config_struct.inc and initialize them in src/custom/battle_config_init.inc
You can put the configuration into any battle configuration file, but we recommend you to put it into conf/import/battle_conf.txt
2016-08-10 23:06:41 +02:00
aleos89
5fcb3bff05 Corrected Knuckle Arrow behavior (fixes #1483)
* Items that prevent knock back will stop Knuckle Arrow's knock back effect.
2016-08-09 17:42:08 -04:00
aleos89
99e49d9a45 Fixed Cloud Kill causing a map-server crash
* Follow up to e5a197a and 5fabab9.
2016-08-09 17:35:05 -04:00
aleos89
f200541657 Corrected Clearance and Phantom Thrust behavior (fixes #1476)
* Now only usable on monsters and party members.
* Corrected skill error message to official.
2016-08-09 17:29:20 -04:00
Playtester
72b61d742f GX Poison Duration (fixes #1486)
- The duration of GX poisons is now reduced by (VIT+LUK)/2 seconds
- The duration of Oblivion Curse is no longer reduced by INT
2016-08-08 21:28:00 +02:00