Commit Graph

8015 Commits

Author SHA1 Message Date
Jittapan Pluemsumran
ddac48d5dd Adjusted minimum vit_penalty_num config to 1 to avoid potential crash
* To disable this feature, just set vit_penalty_type to 0 is enough!
2016-09-12 18:26:45 +07:00
Jittapan Pluemsumran
33cda97717 Battleground script command expansion (#1534)
* Implemented 2 new battleground commands. Closes #1531.
* bg_join - join battleground without npc chat room
* bg_create - create a battle group without npc chat room
* Made events for bg_create and waitingroom2bg optional
* Made map,x,y parameters on waitingroom2bg_single optional

Thanks to @Lemongrass3110 and @cydh for code reviews
Thanks to @aleos89 for documentation cleanup
2016-09-12 13:30:50 +07:00
Cydh Ramdh
dc8471d77e Fixed Cart is not shown after relog (#1472)
* Fixed #1391
* Clean up `clif_status_change`

Signed-off-by: Cydh Ramdh <cydh@pservero.com>
2016-09-11 06:45:56 +07:00
Cydh Ramdh
b46e4332df Item Updates and New Status Changes (#1539)
* Item Updates
* Added new Status Changes
* Implemented effect for respective items
  * 12874,Frost_Giant_Blood: SC_GVG_GIANT
  * 12875,Golem_Stone: SC_GVG_GOLEM
  * 12876,Elf_Tear_Stun: SC_GVG_STUN
  * 12877,Elf_Tear_Stone_Curse: SC_GVG_STONE
  * 12878,Elf_Tear_Freezing: SC_GVG_FREEZ
  * 12879,Elf_Tear_Sleep: SC_GVG_SLEEP
  * 12880,Elf_Tear_Curse: SC_GVG_CURSE
  * 12881,Elf_Tear_Silence: SC_GVG_SILENCE
  * 12882,Elf_Tear_Blind: SC_GVG_BLIND
* Thanks Divine-Pride.net

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

* Follow up 9267a32d8c
* Updated Status Change doc
2016-09-09 05:54:22 +07:00
Atemo
23b271c958 Initial release of nocostume map flag (#1137)
* Initial release of `nocostume` map flag to follow official `DISABLE_COSTUMEITEM` map property.
* Added map flag `nocostume`, current confirmed maps are TE Castles and Guild Dungeons.
* Fixed #815.
* Stores `setlook` values so it won't be removed on `nocostume` mapflag

Signed-off-by: Cydh Ramdh <cydh@pservero.com>
2016-09-06 11:34:36 +02:00
Cydh Ramdh
cf80d72359 Typo fix
* Fixed typo in warning message of `getcastledata`

Signed-off-by: Cydh Ramdh <cydh@pservero.com>
2016-09-05 18:00:38 +07:00
aleos89
432dcda695 Corrected script command unitwalk (fixes #1535)
* Resolved the event label not triggering when the unit reaches the destination.
Thanks to Cyan Hijirikawa!
2016-09-03 12:17:33 -04:00
Jittapan Pluemsumran
443a2b0f9b Merge pull request #1520 from cyilcode/hotfix/issue1378
Prevented Phatasmic Arrow to knock back targets that would die from i…
2016-09-03 21:30:25 +07:00
Jittapan Pluemsumran
9d51221f33 Merge branch 'master' into itemskill 2016-09-02 16:50:47 +07:00
aleos89
382c8d4a52 Added defines and constants for new skills (related to #1525)
* Skill are not complete, these are just the placeholders.
2016-08-31 21:09:06 -04:00
Jittapan Pluemsumran
a79d065973 Implemented new item bonuses bRegenPercentHP and bRegenPercentHP 2016-08-31 23:37:57 +07:00
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 d84d6ba1e5
* 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
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
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 f296409ada
* Clean up doc and array index check for `getequiprandomoption`, `setrandomoption`, follow up 8deabb157a
* 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 f296409ada
* 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