8070 Commits

Author SHA1 Message Date
Cydh Ramdh
42811c9869 Merge remote-tracking branch 'rathena/master' 2013-12-11 23:16:10 +07:00
Cydh Ramdh
fba3ed9e3e * Added items from http://forums.irowiki.org/showpost.php?p=1360597&postcount=448 (Thank Lilith)
* Added items from http://forums.irowiki.org/showpost.php?p=1367371&postcount=636 (Thank Lilith)
* Fixed some typos

Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
2013-12-11 23:10:01 +07:00
Cydh Ramdh
701a0580d2 Merge branch 'rathena/master' 2013-12-09 12:20:19 +07:00
Cydh Ramdh
3029d3bbc4 * Fxied Telekinesis Intense buff duration (thx Akuma)
* Fixed Earth Strain divest chance (part of rebalancing formula)

Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
2013-12-08 16:27:28 +07:00
Cydh Ramdh
c88b77f5fd Fixed cell_basilica which gave nothing. Only works only for player
Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
2013-12-08 14:21:16 +07:00
Cydh Ramdh
7107cc7ce9 * Fixed succes rate of Dark Crow
* Fixed damage rate bonus of Telekinesis Intense

Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
2013-12-07 14:28:37 +07:00
Cydh Ramdh
423fa17075 wrong comment for 'countspiritball'
Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
2013-12-06 16:52:20 +07:00
Cydh Ramdh
84b5dbfb7e Merge branch 'rathena/master' 2013-12-06 16:46:00 +07:00
lighta
4f2c1d4eb3 Fix charban, align to Herc model,
Add a timered function to refresh block data if you still on charselection waiting for unban (prevent deco reco for refresh)
Fix char_charlist_notify (0x9a0) counting page. The previous was quite an ugly estimate.
2013-12-06 03:36:51 -05:00
Cydh Ramdh
ffa4273475 Fixed bugreport http://rathena.org/board/tracker/issue-8311-latest-update-commit-broken/ (Just a little leftover)
Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
2013-12-05 16:23:11 +07:00
Cydh Ramdh
02d44bf822 Update 'RequirementRemoved' field on 'skill_copyable_db.txt', following 'RequiredEquipment' field on skill_require_db.txt
Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
2013-12-05 13:47:27 +07:00
lighta
82b272f410 QuickFix for charban
Fixing charban causing segfault on charserv
Fixing charban wrong target
Fixing charban not able to ban unconnected char
Fixing charblock being sent before unban_time was filled
Reset unban_time to 0 when < now.
2013-12-04 23:42:10 -05:00
Cydh Ramdh
77b2ff8df6 * Fixed bugreport http://rathena.org/board/tracker/issue-8309-map-server-crash/
* Fixed bugreport http://rathena.org/board/tracker/issue-8307-error-in-map-server-in-latest-update/

Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
2013-12-05 11:16:40 +07:00
Cydh Ramdh
b40da76736 * Fixed addspiritball script command
* Fixed delspiritball script command
* Add some documentaion for pc_addspiritball and pc_delspiritball

Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
2013-12-04 02:45:10 +07:00
Cydh Ramdh
8f6b4b4bb0 * Some little follow up of addspiritball, delspiritball, & countspiritball
Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
2013-12-04 02:06:53 +07:00
Cahyadi Ramadhan Togihon
a7396c7998 Added some script commands: addspiritball, delspiritball, and countspiritball
Signed-off-by: Cahyadi Ramadhan Togihon <house.bad@gmail.com>
2013-12-04 01:11:03 +07:00
Cahyadi Ramadhan Togihon
98949d5355 * Follow up b307531, updating item_db_re.sql
* Follow up 2524c69, compile problem on MSVS compiler

Signed-off-by: Cahyadi Ramadhan Togihon <house.bad@gmail.com>
2013-12-04 00:55:52 +07:00
lighta
2524c69465 Fix item_combo who wasn't checking for different index in case of same item required for combo (e.g 2890:2890,{ bonus bAgi,10; }) 2013-12-03 12:22:00 -05:00
lighta
be4e7978d2 Follow up 02dda56 fix banking request when feature.banking
Fix UB on npc_shop (a || b && c)
Add $@mobid for script command wich will retain GID when creating monsters
2013-12-03 11:25:01 -05:00
Cahyadi Ramadhan Togihon
02dda56913 * Fixed bug report http://rathena.org/board/tracker/issue-8296-bank-system-is-off-but-its-messages-are-not/
* Updated conf/map_msg_idn.conf

Signed-off-by: Cahyadi Ramadhan Togihon <house.bad@gmail.com>
2013-12-02 11:46:47 +07:00
Cahyadi Ramadhan Togihon
1ce4dbf107 Follow up 32fd3ee:
- Added config 'discount_item_point_shop' to decide item/point shop is discountable or not. (see conf/misc.conf), thx http://rathena.org/board/tracker/issue-8298-itemshop-and-pointshop/
- (for advanced use) Added optional discount flag for item/point shop. (see doc/script_commands.txt)
--> -%TAB%itemshop%TAB%<NPC Name>%TAB%<sprite id>,<costitemid>{:<discount>},<itemid>:<price>{,<itemid>:<price>...}
--> -%TAB%pointshop%TAB%<NPC Name>%TAB%<sprite id>,<costvariable>{:<discount>},<itemid>:<price>{,<itemid>:<price>...}

Signed-off-by: Cahyadi Ramadhan Togihon <house.bad@gmail.com>
2013-12-01 13:17:50 +07:00
Cahyadi Ramadhan Togihon
32fd3ee303 Initial release of 'itemshop' and 'pointshop'
-- Suggestion: http://rathena.org/board/topic/84169-specialty-shops/
-- Credits: Aleos & Akinari for first diff file that I used to finish this and testing/debugging (well, I don't know the original ones, just tell us or just do pull request if you know the first creator.)
-- How to use?
---> -%TAB%itemshop%TAB%<NPC Name>%TAB%<sprite id>,<costitemid>,<itemid>:<price>{,<itemid>:<price>...}
---> -%TAB%pointshop%TAB%<NPC Name>%TAB%<sprite id>,<costvariable>,<itemid>:<price>{,<itemid>:<price>...}

Signed-off-by: Cahyadi Ramadhan Togihon <house.bad@gmail.com>
2013-12-01 00:33:22 +07:00
lighta
6236b7dc6a Harmonizing script_command return value
--Fix bugreport:8249 (instance_announce)
Script command need to return SCRIPT_CMD_SUCCESS (0) otherwise they
display a ShowDebug.
Stating to harmonize return value for script_command to prevent issue
hapening again.
--Fix flood message "Transforming into monster"
2013-11-28 01:11:59 -05:00
lighta
4684090de9 InterPacket_rearrange
-Move charban and charunban packet out of 0x2b0e and mark that fonction
reserved for login request purpose.
(Charban and charunban now use 0x2b28 and 0x2b2a)
-Move chrif_savebankdata, chrif_datarequest, chrif_req_vipactive into
0x2b0e (as their some login operation request)
-Harmonize vip_time data type and fix some case where he would have get
INT_MAX value.
-Small revert on a3f0aedf @vip for vip_time alteration as the duration
should be able to get reduced.
-Fix vip_status(3) args of aFree 0x18E2777C is overflowed pointer
and incorect data returned, (altough dunno if we want this as returned
presentation string)
-fix bugreport:8289 where VIP_request anwser was broadcasted to all
mapserv
-Upd split_time month and year factor for a better approximation of
date. (splitting timestamp into years, month, days ...)
-Add loginif_isconnected to check if the loginserv is connected to char.
2013-11-28 00:21:41 -05:00
Cahyadi Ramadhan Togihon
a3f0aedf53 * Follow up 3064821: Attempt show EXP, Drop, & Death Penalty info (clif_display_pinfo) if VIP_ENABLE. NOTE, still need correct behavior/values for each rate details.
* Updated map_msg_idn.conf

Signed-off-by: Cahyadi Ramadhan Togihon <house.bad@gmail.com>
2013-11-26 21:01:13 +07:00
lighta
2ddf95230b Merge branch 'master' of github.com:rathena/rathena 2013-11-26 00:00:25 -05:00
lighta
65d270ce0a Doc and Tools update
Replace check-doc (shell) by perl equivalent and update it.
Now checking custom folder and restricted atcm, also check for unmatch
command in documentation as requested before.
Update documentation to match sources.
Update config.pl replace svn install by git.
2013-11-26 00:00:11 -05:00
Lilith-
1d87e46509 * Fixed bugreport:8282
Added message info for GM
2013-11-25 05:14:51 -08:00
Lilith-
823c5ae5ae * Follow up fff0437
Added missing 'sc_start' and 'status_change_end'
2013-11-25 05:10:34 -08:00
Lilith-
fff04377ed Fixed bug report: http://rathena.org/board/tracker/issue-5958-rg-shield-spell-level-3
Added fix for shadow equipment slots in itemdb_parse_dbrow: if an item isn't shadow gear but have shadow equipment slot map-server will mark it as IT_ETC.
2013-11-24 09:28:47 -08:00
Cahyadi Ramadhan Togihon
8cc8aa4c88 Just a little follow up of f3bb5d4
Signed-off-by: Cahyadi Ramadhan Togihon <house.bad@gmail.com>
2013-11-23 19:16:18 +07:00
Cahyadi Ramadhan Togihon
fd700a7812 Added support for MSVS 2013, thank solid2005 for all files (http://rathena.org/board/tracker/issue-8274-compilevisual-studio-2012-to-2013/)
Signed-off-by: Cahyadi Ramadhan Togihon <house.bad@gmail.com>
2013-11-22 13:23:29 +07:00
aleos89
20c36fa00a Fixed group_id always getting set to 0 when VIP System is enabled and the player has no VIP status. 2013-11-20 11:07:17 -05:00
Cahyadi Ramadhan Togihon
81e659090f * Follow up 3428ae2 (fixed bugreport http://rathena.org/board/tracker/issue-8267-cant-save-point/)
* Follow up 532cbd1 (comment 532cbd1ab1 (commitcomment-4624825))

Signed-off-by: Cahyadi Ramadhan Togihon <house.bad@gmail.com>
2013-11-20 20:14:23 +07:00
lighta
c9532369cb Add @fullstrip
Fix 0x07f5 pointing to wrong function
Safecheck some string in clif
2013-11-19 13:21:18 -05:00
Cahyadi Ramadhan Togihon
7e9e4b066e * Added some new items
-- http://forums.irowiki.org/showpost.php?p=1369133&postcount=668
-- http://forums.irowiki.org/showpost.php?p=1371672&postcount=732
-- http://forums.irowiki.org/showpost.php?p=1374428&postcount=792
-- Thank Ziu and nanakiwurtz
-- Updated item_db_re.sql
* Follow up 3064821
-- Fixed error when compiling for MSVS compiler
-- Fixed bugreport http://rathena.org/board/tracker/issue-8261-vip-storage-increase/

Signed-off-by: Cahyadi Ramadhan Togihon <house.bad@gmail.com>
2013-11-19 13:45:02 +07:00
Euphy
d2ee0dd55f * Implemented VIP system in many official scripts.
- VIP players gain two more badges after Battleground matches.
- VIP players pay ten times less for transportation to Brasilis and Dewata.
- VIP players get free buffs and mercenary rentals in the Eden Group Headquarters. (iRO only, disabled)
- Non-VIP players must use a Reset Stone to begin the third job quests.
- Non-VIP players must have a Marriage Covenant to get married.
- Non-VIP players pay double for Kafra and Cool Event Corp. Teleport Services.
- Non-VIP players pay considerably more for refining equipment.
- Non-VIP players gain less quest reward items in Port Malaya quests.
- Non-VIP players gain less EXP rewards in Brasilis quests.
- Non-VIP players cannot access all towns in Acolyte Warpers script. (iRO only, disabled)
- A Reset Stone is required for Bossnia entry.
Note that official servers run different VIP/premium systems; the changes above are based on euRO, unless otherwise stated.

* Other script changes:
- Adding Marriage Covenant item in marriage script.
- Fixed some EXP values in Brasilis quests.
- Minor updates to Kafra functions.
- Turned Cool Event Corp. scripts into a basic function.
- Turned Battleground badge rewards into basic functions.

Signed-off-by: Euphy <euphy.raliel@rathena.org>
2013-11-18 23:54:17 -05:00
lighta
3428ae297a Adding charblock
Update HC 0x20d to send the blocklist value, based on Herc:aee2f631
Revamp ZH 0x2b0e and HA 0x2725 to send difftime instead
year,month,day,minutes,secondes values..
Remove duplicate code for char_ban
Add missing sql_upgrade for vip
2013-11-18 20:38:10 -05:00
aleos89
30648216ec Initial release of VIP System.
By default system is disabled (src/config/core.h).
This follows the iRO implementation VIP System. More information can be found on the iRO Wiki.
All settings also have individual configs.
Official VIP scripts will be implemented later.
Big thanks to lighta and Cydh for support and debugging.
2013-11-18 15:21:51 -05:00
Cahyadi Ramadhan Togihon
24ca5b5c3c Fixed bug report http://rathena.org/board/tracker/issue-8256-rebellion-lower-hp-bug-and-some-other-bug/ (Thank reigneil)
Signed-off-by: Cahyadi Ramadhan Togihon <house.bad@gmail.com>
2013-11-18 22:07:23 +07:00
Cahyadi Ramadhan Togihon
201e028e2d Fixed Defense effect of Amistr skill for RENEWAL. Thank Antares
Signed-off-by: Cahyadi Ramadhan Togihon <house.bad@gmail.com>
2013-11-18 02:40:15 +07:00
Cahyadi Ramadhan Togihon
f17a385f86 * Fixed some memleaks because of bonus_script and sd->combos.pair
* Updated 'doc/item_db.txt' following bd2503e

Signed-off-by: Cahyadi Ramadhan Togihon <house.bad@gmail.com>
2013-11-17 00:32:00 +07:00
lighta
fca76baad8 Memleak fix
Fix some typo on channel ally
2013-11-15 12:05:44 -05:00
Akinari1087
a200e3a2a8 Revert a memleak fix in a506c7f 2013-11-15 03:04:10 -07:00
Lilith-
bd2503e279 Added Shadow Equipment System support (item type 12) 2013-11-14 16:37:03 -08:00
lighta
d07314bcac Emblem checking
Add emblem_check transparency
Add check change during woe time
Thx to Trojal & Aleos for the help and Airei for reminding this
2013-11-14 16:28:55 -05:00
lighta
1c5a53f25e Add doxygen conf
Adding doxyconf as rA default conf for doxygen and for people if they
wish to build their doc.
Adding tools/build_doc to check app for building doc and to update
version number in documentation.
Fix few typo in src
2013-11-14 14:31:47 -05:00
Cahyadi Ramadhan Togihon
b2d1932e36 * Hercules merge e587d71
* Fixed typo at 9e8e3cf

Signed-off-by: Cahyadi Ramadhan Togihon <house.bad@gmail.com>
2013-11-14 10:32:24 +07:00
Akinari1087
a506c7fc0e Follow up to 4d61cc0
Revert SONIC_CRAW consuming spheres.  My mistake
Update Eleanor skill damage formulas and spirit sphere consume requirements based on WarpPortal and iROWiki forums

Fixed most channel memory leaks - http://rathena.org/board/tracker/issue-8044-memory-leak-revision-17486-causes-players-to-disconnect/
Fixed memory leak caused by item combos breaking out of a loop without freeing
2013-11-12 10:36:40 -07:00
Cahyadi Ramadhan Togihon
c382dad802 Fixed SC_UNLIMIT & SC_CLOAKINGEXCEED effect. (thank Akinari and Akuma)
Signed-off-by: Cahyadi Ramadhan Togihon <house.bad@gmail.com>
2013-11-12 14:33:07 +07:00