12639 Commits

Author SHA1 Message Date
Cydh Ramdh
8e71ae6688 Follow up 022d72891e1c38ac6953a5118eea87efd7deddc3
* Fixed warnings in mapif_parse_itembound_retrieve

Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
2015-01-07 15:33:47 +07:00
Cydh Ramdh
f5ddcc55f8 Follow up 72cb55470b160b4a8aae8d64462ac29ab1e44d04
* Added/correcting some #ifdef ADJUST_SKILL_DAMAGE checks

Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
2015-01-07 15:23:21 +07:00
Cydh Ramdh
7fcacb64c4 Autotrade persistance cleanup
* Moved redundant structs for vending & buyingstore, move it to vending.h
* Removed redundant query to update autotrade info (autotrade state, head, body direction, & sit state) that previously executed in vending_reopen & vending_openvending, buyingstore_reopen & buyingstore_create.
* Removed lines to execute queries each iteration to insert vending/buyingstore list, now using StringBuf and just being executed once after the item listing. (in vending_openvending & buyingstore_create)
* Revert the ways initializing autotrader list by using DBMap (vending_autotrader_db & buyingstore_autotrader_db)

Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
2015-01-07 15:08:14 +07:00
Lemongrass3110
f15f0d95d4 Updated the visual studio project files 2015-01-06 16:26:49 +01:00
Lemongrass3110
85b229d5f4 Added the required import template files
Note: The map_cache.dat is an empty mapcache, it does not contain any map data.
2015-01-06 16:23:02 +01:00
Lemongrass3110
d07e5929fd Fixed a small issue and cleaned up the code a little 2015-01-06 16:21:51 +01:00
Lemongrass3110
3707bcfa22 Added import support to mapcache 2015-01-06 16:09:12 +01:00
Lemongrass3110
b5e30e0eb6 Added import support for mapindex 2015-01-06 16:06:09 +01:00
Euphy
8897ad72ac Cleaning scripts in 'tools/'.
Fixed spelling/grammar for most output messages.

Updated references to 'make sql' to 'make server'.

Signed-off-by: Euphy <euphy.raliel@rathena.org>
2015-01-04 20:47:20 -05:00
lighta
357aa0489f Merge pull request #201 from rathena/update/npc_ids
Added support for the latest NPC ids
2015-01-04 14:31:58 -05:00
lighta
f8189c8d7d Merge pull request #181 from Lemongrass3110/master
Removed a redundant call to clif_party_info on party loading.
Thx Lemon =) look perfect.
2015-01-04 14:16:40 -05:00
Lemongrass3110
ebe4a1cc17 Added support for the latest NPC ids 2015-01-04 10:51:09 +01:00
Cydh Ramdh
022d72891e Changed Guild/Party Bound Item Retrieval Methods:
* Bug Fixes bug:9338
* Now resend the list to map-server from char/inter-server to avoid "weird" item allocation on guild storage. Example, previously you will meet stacked item like GUID does, but it shouldn't!
* Also will check the maximum amount that can be store in guild store. If guild storage is full (the slots or item stack limit is reach) the rest value/item will be dropped.
* Account of kicked guild member won't be kicked from server anymore if the player idle on character select window (just prevents player to login when retriving items are in progress)
* Delete guild bound items from guild master when guild is disbanded! Previously, the bound type just changed to NONE. Also for party bound item.
* If kicked guild/party member is trading bound item when be kicked, the trade will be canceled!
* If the guild member is being kicked when open guild storage, storage will be closed first waiting for next item retrieval.
* Now when guild storage is opened, storage_status (changed the var to 'opened') will be used to hold char_id who opens it.
Misc:
* Cleanup guild storage prefix functions, changed them to "gstorage_*"
* Added `picklog` type 'B' for logging deleted bound item because of kicked from guild/party.
* Updated documentation for new used packet 0x3857

NOTE: Please import upgrade-20150103_log.sql
Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
2015-01-03 20:37:38 +07:00
Cydh Ramdh
d555cac992 Follow up 54031eda9dcea4a0c5958276a7786cbcdcdc55c5
Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
2015-01-03 19:23:35 +07:00
Lemongrass3110
54031eda9d Seperated monster drop ratio adjustment into it's own function.
Fixes #146
2015-01-03 03:14:26 +01:00
Cydh Ramdh
1d27de7a35 Fixed #180
* Separated Sql handle for query_sql to avoid mapreg overwrite the mmysql_handle.
* New handle for query_sql: qsmysql_handle

Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
2015-01-03 08:57:36 +07:00
Cydh Ramdh
0987aeeb5d Official Item BindOnEquip Support
* Added item flag value: 8 to init default item with BindOnEquip. Item with this flag will be character bound item once equipped.
* Added optional config 'default_bind_on_equip' in conf/battle/items.conf to set default bind type. By default the type is character bound.
* Hercules merge 1f5161a2bd

Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
2015-01-02 14:44:49 +07:00
Cydh Ramdh
d98f99b2de Item DB Updates
* Follow up 5004eb6
  * Fixed Sealed_Fortune_Egg (22845) script
  * Changed the way to comment a line for item_combo. Need more info about the pairs for Enhanced_Force_Shadow_Weapon (24223) and Enhanced_Soul_Shadow_Weapon (24227)
* Renamed English name of 4482 to 'Sealed General Egnigem Cenia Card'

Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
2015-01-02 14:18:29 +07:00
nanakiwurtz
f599bb5fbd Follow up to 5004eb6
-- Added missing refinable attributes to Shadow Equipments
2015-01-01 18:30:05 +07:00
nanakiwurtz
5004eb6de0 Item DB Update
-- Updated up to kRO 2014-10-29 (Source: Super Star Monster 2014 R Event + Infinite Room Instance)
-- C_Will_O_Wisp (18741) item script updated. Thanks to Radian
-- SP_Increase_Potion_(Large) (12427) weight updated. Thanks to rayn
2015-01-01 18:16:34 +07:00
Cydh Ramdh
62bdc99f05 A little cleanup for Pet DB
* Separated pet_db for Renewal & Pre-Renewal to avoid non-existant monster in different mode.
* Cleaned script command in pet_db.txt file, just point it to doc/script_commands.txt. Read them there!
* Separated damage value for petskillattack2 to its own var 'damage', that previously use 'lv' var to store the value.
* Added config 'pet_ignore_infinite_def' in conf/battle/pet.conf,
  * If disabled (val:"no"), fixed damage from pet script 'petskillattack2' will be adjusted to 1. Example, just like player attacks Shining Plant.
  * Enabled by default. Previously, fixed damage ignore the infinite defense, that's why it's enabled by default.
  * TODO: Correcting the logic and maybe also confirm the correct behavior!
* Added validation for pet script commands,
  * Skill for petskillattack, petskillattack2, & petskillsupport
  * SC range for petrecovery.
* Cleaned up some source documentation.

Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
2014-12-31 23:38:57 +07:00
Cydh Ramdh
72cb55470b A little clean for Skill Damage Adjustment
* re-Disabled the ADJUST_SKILL_DAMAGE by default (core.h) that enabled by accident since 794c1a8. :P
* Removed MAX_MAP_SKILL_MODIFIER variable.
* Removed fixed array for skill damage adjustment in each map.

Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
2014-12-31 23:34:01 +07:00
Euphy
8c3bc4fda4 Changed some hardcoded script values to MAX_LEVEL. (fixes #161)
Fixes various bugs with higher level players not gaining experience.

Also properly fixed Renewal EXP reward in Turbo Track script (incorrectly fixed in be95412).

Signed-off-by: Euphy <euphy.raliel@rathena.org>
2014-12-31 01:05:33 -05:00
Lemongrass3110
08941b2a80 Fixed party creation. Thanks @lighta 2014-12-30 23:37:05 +01:00
Lemongrass3110
d49f21a8ce Fixed a small typo in 2005's christmas event. 2014-12-28 12:48:12 +01:00
nanakiwurtz
5e573aabdb Follow up to b6253cf
-- Added C_Drooping_Dorasuke (20177) View ID (Thanks to Cydh)
2014-12-28 14:56:32 +07:00
nanakiwurtz
b6253cf2b6 Item DB Update
-- Costume Horse Hairpin: View ID added (Thanks to zackdreaver)
2014-12-28 14:43:46 +07:00
Cydh Ramdh
bbfa46dd90 Item DB Update
* Just View ID for C_Drooping_Dorasuke (20177)

Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
2014-12-28 01:41:06 +07:00
Lemongrass3110
f4ad757538 Removed a redundant call to clif_party_info on party loading. 2014-12-27 13:57:48 +01:00
nanakiwurtz
ba817e807f Item DB Update
-- Fixed some item's "English Name"
2014-12-27 05:53:50 +07:00
Lemongrass3110
4e3a94006f Added an error message for movenpc to report which NPC was not found 2014-12-26 11:09:36 +01:00
Cydh Ramdh
fe56ff0b06 Item DB updates.
* Updated View IDs for headgears & robe, some follow up of changes by @nanakiwurtz.
* Corrected script of Full_Moon (19538).
* Corrected item location of C_Monster_Card (19764) to mid-head, Fantastic_Aura (20600) to costume robe.
* Corrected item type of Ribbon_Piamat (20725), Brilliant_Golden_Wings (20727), Loyalists_Hood (20730) from 12 to 4.
* ... what else?

Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
2014-12-25 22:57:03 +07:00
nanakiwurtz
36717c6a35 Item DB update
-- kRO 2014-10-29
2014-12-23 21:13:31 +07:00
Lighta
3625aaaf55 libconfig 1.4.9 followUp
Removing, yacc and bison file causing issues.
preconpiled .c and .h would suffice.
2014-12-23 04:03:24 -05:00
Cydh Ramdh
070565621f Merge pull request #166 from cydh/test/build_status_in_readme
Added TravisCI build status in README.md file
2014-12-20 12:47:24 +07:00
Cydh Ramdh
aa78cf4cd9 Added TravisCI build status in README.md file
Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
2014-12-20 12:42:12 +07:00
lighta
a0753244f7 Few typo
Fix few typo and change défault optimisation lvl for O3 for gcc.
2014-12-19 23:55:14 -05:00
lighta
5a80fb108c athena-start
Add the valgrind start option for debug purpose.
2014-12-19 21:45:56 -05:00
lighta
8066bdef46 Data alignement
Align account_id and char_id to uint32 as this is the value they can be
in DB.
Remove src/test folder, unused
Remove useless #include to speedup compilation.
2014-12-19 21:31:04 -05:00
Cydh Ramdh
73c4c7613c Fixed #164 thank @SusanoSprites and @lighta
Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
2014-12-20 09:07:40 +07:00
lighta
37b2ff7b09 Merge branch 'master' of https://github.com/rathena/rathena 2014-12-19 16:24:33 -05:00
lighta
629af3be48 Fix GCC 4.9 plugin needed to handle lto object 2014-12-19 16:22:58 -05:00
lighta
78bcd82039 Update libconfig to 1.4.9 2014-12-19 03:10:07 -05:00
Cydh Ramdh
1e6e3f4df3 Follow up 5ce8055
* Added safe check if `mergeitem` script command being used with no items to be merged. Thank @RadianFord

Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
2014-12-19 13:01:12 +07:00
Lighta
09b0898e60 Update Tool
Upd to take in consideration the REPLACE user case.
2014-12-18 22:45:46 -05:00
nanakiwurtz
3ad8b99ced Item script typo fixed
-- Nut_Donut_In_Mouth (18566) typo fixed (Thanks to Radian)
2014-12-19 08:28:12 +07:00
Lighta
af0da61426 Tools update
Upd .gitignore to ignore object everywhere
Add update.pl, a small perl script to auto git update and apply db
update in sql.
Add setup_perl.sh, to setup perl environnement for module used by perl.
Move some function into rA_common.pm
2014-12-18 20:14:48 -05:00
Cydh Ramdh
4d5fc9604c Some typos
* Changed -1 for timer id to INVALID_TIMER
* Changed values for pc_bound_chk(). 2 to BOUND_GUILD and 3 to BOUND_PARTY

Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
2014-12-17 18:18:56 +07:00
nanakiwurtz
9f3c81c65f Merge pull request #162 from rathena/item_db
/npc/re/merchants/coin_exchange.txt item update
2014-12-17 17:59:17 +07:00
nanakiwurtz
229d15db87 /npc/re/merchants/coin_exchange.txt item update
-- Added Costume Hahoe Mask (19554). Thanks to rayn
2014-12-17 17:45:27 +07:00