11763 Commits

Author SHA1 Message Date
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
Euphy
72f704d4c1 * Fixed two issues with Nightmare Ancient Mummy.
- Corrected a drop. (bugreport:8277)
http://rathena.org/board/tracker/issue-8277-nightmare-pyramids-ancient-mummy/
- Fixed a quest target. (bugreport:8278)
http://rathena.org/board/tracker/issue-8278-nightmare-pyramids-ancient-mummy-kill-quest/

Signed-off-by: Euphy <euphy.raliel@rathena.org>
2013-11-23 19:12:34 -05:00
Euphy
c4d94f7b1c * Quick fixes.
- Fixed Eclage mob drops. (incl. bugreport:8220)
http://rathena.org/board/tracker/issue-8220-menblatt-bakonawa/
- Fixed typo in Sura quest. (bugreport:8283, blame d2ee0dd)
http://rathena.org/board/tracker/issue-8283-sura-quest-rev-17693/

Signed-off-by: Euphy <euphy.raliel@rathena.org>
2013-11-23 11:37:49 -05: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
58bae5246b *Fixed bugreport http://rathena.org/board/tracker/issue-8268-skill-cast-db-on-pre-re/ (because my laziness just copy renewal skill_cast_db.txt contents to pre-re)
Signed-off-by: Cahyadi Ramadhan Togihon <house.bad@gmail.com>
2013-11-20 20:18:46 +07: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
Mike Langford
2bb7fea253 English update in /conf/battle/feature.conf
This pull request is also part of an api test. Please DO NOT merge this pull request yet.
2013-11-19 02:41:02 +00: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
532cbd1ab1 * Added some new renewal items (err still need add more!)
-- http://forums.irowiki.org/showpost.php?p=1339744&postcount=72
-- http://forums.irowiki.org/showpost.php?p=1363146&postcount=480
-- http://forums.irowiki.org/showpost.php?p=1371309&postcount=730
-- http://forums.irowiki.org/showpost.php?p=1373338&postcount=751
-- Thank Antares, Ziu, nanakiwurtz, and everyone who talking about "New Cards 2013" here http://rathena.org/board/topic/89728-new-cards-2013/
-- (Anyone feel free to correct if any wrong/missing script :P)
* Updated renewal skill_required_db for Rebellion following the added items

Signed-off-by: Cahyadi Ramadhan Togihon <house.bad@gmail.com>
2013-11-18 10:09:22 +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
Cahyadi Ramadhan Togihon
fef6307cf0 * Follow up to bd2503e and 7355677
-- Modified field data of `equip_locations` to mediumint
-- Updated converter tool for item_db following this update
-- Updated item_db.sql, item_db2.sql, item_db_re.sql, item_db_re2.sql
-- CAUTION: Please update item_db MySQL tables by using 'upgrade_20131115_2.sql'

Signed-off-by: Cahyadi Ramadhan Togihon <house.bad@gmail.com>
2013-11-15 10:51:35 +07:00
Akinari1087
735567737e Update the SQL item DB to current text DB 2013-11-14 18:35:29 -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
Euphy
0d6aba208e Merge branch 'master' of https://github.com/rathena/rathena 2013-11-12 13:36:22 -05:00
Euphy
4f81f045ca * Removed SVN references from readme files.
* Replaced "Current Version" field with "Last Updated" when a date is provided.
* Added Magic Candy (12596) and Spark Candy (14586) to Renewal item_delay database.

Signed-off-by: Euphy <euphy.raliel@rathena.org>
2013-11-12 13:35:45 -05: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
Akinari1087
2e21c39c9b Added bonus2 bHPVanishRate for Vellum weapons - http://rathena.org/board/tracker/issue-7968-vellum-weapons/ 2013-11-11 07:03:39 -07:00
Cahyadi Ramadhan Togihon
9e8e3cfacc * Follow up to: 99098c1
-- 'bonus_script' is now by default will be store on 'bonus_script' table. CAUTION: Please import 'upgrade_20131111.sql' file or execute the query inside to make `bonus_script` table.
-- Updated bonus_script documentation following flag &8 (BONUS_FLAG_REM_ON_LOGOUT) behavior. By default, bonus_script will be stored when player logs out and will be continued when player logs in.

* And small changes.
2013-11-11 19:59:35 +07:00
Akinari1087
4d61cc0e14 Homunculus Fixes
Applied a new check for Homunculus S reshuffling and leveling
-> When the Homunculus S is below the define battle config "homunculus_S_growth_level", it uses its previous class' growth rates which helps prevent imbalanced Homunculus
- If it has no previous class (command made), it will default to 6001 (Lif)

Fixed Eleanor's skills
- All skills which use spirit spheres now check for them prior
- SONIC_CLAW now deletes the spirit spheres

Fixed Eleanor obtaining spirit spheres for either FIghting or Grapple mode
- She is suppose to have a 50% chance to gain a spirit sphere when attacking in FIghting Mode and a 50% chance when being hit in Grapple Mode (according to Warp Portal)

Fixed packet dump errors - http://rathena.org/board/tracker/issue-8217-map-server-error-when-login-character/
2013-11-11 05:38:48 -07:00
Cahyadi Ramadhan Togihon
75af62845b * Fixed bugreport http://rathena.org/board/tracker/issue-8226-pcc-warning/
Signed-off-by: Cahyadi Ramadhan Togihon <house.bad@gmail.com>
2013-11-11 16:10:50 +07:00
Lilith-
80074e90e3 Fixed bugreport:5154 http://rathena.org/board/tracker/issue-5154-sql-setencoding 2013-11-11 00:35:24 -08:00
Euphy
dcb2572dc8 * Added many official 'bonus_script' item bonuses. (follow-up 99098c1)
Signed-off-by: Euphy <euphy.raliel@rathena.org>
2013-11-10 15:13:07 -05:00
Akinari1087
bf7e8ea245 Documentation standardizing for unit.c
http://rathena.org/board/topic/89503-standardizing-source-documentation-and-code/
2013-11-10 08:35:23 -07:00
Cahyadi Ramadhan Togihon
99098c19bc Added new script_command for 'timed bonus/script' idea: http://rathena.org/board/topic/72463-suggest-to-add-a-script-command-run-item-script-inside-npc-script/
-- bonus_script "<script code>",<duration>{,<flag>{,<type>{,<char_id>}}};
-- see 'doc/script_commands.txt' for more details.
-- Thank everyone who discussed it

Signed-off-by: Cahyadi Ramadhan Togihon <house.bad@gmail.com>
2013-11-10 00:49:13 +07:00
Akinari1087
9744ba49d4 Standardize the status.c file
Standardizes all (or almost) of the documentation for this file
Now has documentation for functions which will support Doxygen
Also standardized conditional bracketing
Removed some scopes in status_calc_speed (please double test)
Removed an unused function

'///' Is a Doxygen comment for one line
'///<' Used for variable declaration commenting
'/** **/' Standard function documentation
'//!' For TODO and FIXME
'//' Regular comment not shown in Doxygen

I apologize for conflicts
More to come, so please keep an eye out when updating that there may be updates causing many conflicts
2013-11-09 09:16:46 -07:00
Cahyadi Ramadhan Togihon
e0397a6e34 Fixed @version issue
Signed-off-by: Cahyadi Ramadhan Togihon <house.bad@gmail.com>
2013-11-08 16:40:36 +07:00
Cahyadi Ramadhan Togihon
8ad5d4f7c4 Fixed bugreport http://rathena.org/board/tracker/issue-8221-fresh-rathena-compiling-error/
Signed-off-by: Cahyadi Ramadhan Togihon <house.bad@gmail.com>
2013-11-08 14:53:24 +07:00
lighta
1ebe1ada8a Fix charlist incompatibility for 2012 and 2013 clients
-Note we now rely on the clientinfo version for 1st connection
-Upd date2version up to version 45
-Fix some typo banking merge (RFIFOREST and money capping was too late)
2013-11-07 19:26:43 -05:00
aleos89
9e50599234 Follow-up to 56ac0ee. Corrected compile errors. 2013-11-07 14:26:14 -05:00
aleos89
56ac0eeae6 Created split_time() and solve_time() to be reused as a default format for parsing. Credits: lighta 2013-11-07 13:01:37 -05:00
Cahyadi Ramadhan Togihon
b0957816fe Fixed bugreport:8213 http://rathena.org/board/tracker/issue-8213-bonus4-bautospellwhenhit-not-working
Signed-off-by: Cahyadi Ramadhan Togihon <house.bad@gmail.com>
2013-11-07 14:36:43 +07:00
Euphy
4527b66a5d * Documented 'transform' script command. (follow-up 9c438ce)
* Fixed errors in 'getmonsterinfo' sample script. (bugreport:8200)
http://rathena.org/board/tracker/issue-8200-getmonsterinfo-sample/
* Added correct refine rates above +10. (Hercules 6577a59)
* Merged extra 'downrefitem' argument.	(Hercules)

Signed-off-by: Euphy <euphy.raliel@rathena.org>
2013-11-06 14:51:26 -05:00
Akinari1087
9c438ce762 Merged Monster Transformation update from Hercules (9692bc0) - Merge credits to Aleos & Cydh
-> Applied follow-up for using monster IDs with the commands (ead2a83)
Merged revert of r15787 where character must face north (5188b69)
Merged bug fix for visual effects on relog (f304c36)
-> This fixes the Warlock Sphere issue on relog as well as many other visual effects

Applied a possible map crash fix - Credits ivanyan
http://rathena.org/board/tracker/issue-8212-server-crash-guild-retrieveitembound/

Started working on some source code documentation
Renamed bank update SQL file to upgrade_20131105.sql
2013-11-06 05:14:19 -07:00
Cahyadi Ramadhan Togihon
3d72c51af8 * Fixed a error for MSVS compiler (Follow up: 1290826)
* Updated map_msg_idn.conf

Signed-off-by: Cahyadi Ramadhan Togihon <house.bad@gmail.com>
2013-11-06 17:51:35 +07:00
lighta
ea2954bf3f Fix small typo for Banking
-fix arraylenght for packet buffer causing bank_vault not to be
refreshed correctly.
-enforce sd check for mappacket
-fix unused variables warnings
2013-11-05 15:45:18 -05:00
Cahyadi Ramadhan Togihon
c83418a60a *Fixed Follow up: 507f047
-- warning: suggest parentheses around assignment used as truth value
-- warning: variable 'skill_id' set but not used

Signed-off-by: Cahyadi Ramadhan Togihon <house.bad@gmail.com>
2013-11-06 02:56:52 +07:00