8488 Commits

Author SHA1 Message Date
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
17946ea286 Fixed Cart save issue for vending (#1551)
* Added check if cart need to be saved first or not before vending
* Removed `id` from item struct when new item added to cart.
  * The `id` value from inventory is never be used, on relog, `id`s for cart are always use 'real' value from table.
  * 0-ing the value also prevent wrong `id` number while inserting records to `vending_items`.
* Ordered by `id` whiel loading cart items from table.
* Initialize `sd->inventory`,  `sd->inventory`, and `sd->storage` to 0 on `pc_authok`

Signed-off-by: Cydh Ramdh <cydh@pservero.com>
2016-09-11 06:40:03 +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 9267a32d8c4828bde19f2fe80f83aeec7056b18f
* Updated Status Change doc
2016-09-09 05:54:22 +07:00
aleos89
cb252ded85 Storage types optimization clean ups
* Removed char_inventory_to_sql and merged differences with char_memitemdata_to_sql.
Thanks to @Jeybla's suggestion!
2016-09-06 14:43:52 -04:00
aleos89
7a05b59dd1 Merge branch 'master' into cleanup/storages_optimization 2016-09-06 13:40:01 -04:00
aleos89
c3a308ffdb Storage types optimization fixes
* Fixed guild storage getting reset on server restart.
* Adjusted a guild bound item acknowledgment attempting to create guild storage data if not found.
* Added expire_time to guild storage data.
* Added some missing random option item checks.
Thanks to @Jeybla!
2016-09-06 13:16:14 -04:00
aleos89
adbabeeef5 Fixed guild storage item transfers
* Fixed items not getting removed from inventory/cart when transferring to guild storage.
Thanks to @Jeybla!
2016-09-06 11:18:33 -04: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
aleos89
7ffb943343 Storage optimization clean ups
* Cleaned up some of the script command documentation.
* Adjusted some checks to use constants.
2016-08-31 19:55:19 -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 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