11627 Commits

Author SHA1 Message Date
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
lighta
26d0999892 Fix packet_db for banking 2013-11-05 14:21:32 -05:00
lighta
f39207f5e2 Leftover of bigint 2013-11-05 14:17:04 -05:00
lighta
cdb2e8ad33 Merge branch 'master' of https://github.com/rathena/rathena into banking
Manually resolve Conflicts:
	conf/msg_conf/map_msg.conf
	db/packet_db.txt
	src/common/mmo.h
	src/map/pc.c
	src/map/pc.h
2013-11-05 13:56:56 -05:00
lighta
1290826be2 Adding banking support 2013-11-05 13:41:42 -05:00
Cahyadi Ramadhan Togihon
507f047cfb Rebellion Skills are added!
** Some attempts to support this job with its skills (as usable as good as I can, some of them are custom from limited info, maybe I miss some behaviors)
** Maybe some formulas, entries on skill_db, skill_require_db, skill_unit_db, and skill_cast_db are still custom
** Thank posters are on: (1) http://rathena.org/board/topic/85195-rebellion-class-released-on-kro-sakray/ (2) http://forums.irowiki.org/showthread.php?t=100131
** Some notes:
--> RL_RICHS_COIN, Rich's Coin
--> RL_MASS_SPIRAL, Mass Spiral: Bleeding chance and additional damage still custom formula
--> RL_BANISHING_BUSTER,Banishing Buster: Custom chance formula to remove buff/debuff
--> RL_B_TRAP,Bind Trap: Even I updated my client and use original lua, I stil can't see the trap
--> RL_FLICKER,Flicker
--> RL_S_STORM,Shatter Storm: Custom formula for success rate
--> RL_E_CHAIN,Eternal Chain
--> RL_QD_SHOT,Quick Draw Shot
--> RL_C_MARKER,Crimson Marker: Still doesn't show the icon of marked target on minimap (I don't know the packet for it)
--> RL_FIREDANCE,Fire Dance: Not sure it's only 1 hit damage or works like Desperado (I saw someone's screenshot, it seem only deals 1 hit)
--> RL_H_MINE,Howling Mine
--> RL_P_ALTER,Platinum Alter
--> RL_FALLEN_ANGEL,Fallen Angel
--> RL_R_TRIP,Round Trip
--> RL_FIRE_RAIN,Fire Rain: (1) This should able to remove ground target aroung its area, (2) And the splash area like a 'cone' (I imagined like someone uses gun then fire brutally to his/her front way)
--> RL_HEAT_BARREL,Heat Barrel: Still custom formula, but I saw the damage is increased highly.
--> RL_AM_BLAST,Anti-Material Blast: Custom formula for success chance
--> RL_SLUGSHOT,Slug Shot: Custom formula for damage (I saw someone's screenshot, bullet with 120 weight can deals 100k damage)
--> RL_HAMMER_OF_GOD,Hammer of God: If there is no enemy with SC_C_MARKER around the area, the skill Hammer of God animation won't displayed (maybe I missed something? I guess so)
(I guess some lines and algorithm should be cleaner, cooler, and sexier. :P)

IMPORTANT for client side:
- You should have up-to-date grf files
- I used original lua files, I didn't use translated lua files that exist nowadays because I think they need to update their supports for Rebellion
- Some items for Rebellion Skill's requirement(s) aren't added yet

Signed-off-by: Cahyadi Ramadhan Togihon <house.bad@gmail.com>
2013-11-05 02:34:32 +07:00
aleos89
cdccf88376 Improved item_check to remove unavailable items from inventory, cart, and storage on character login. (tid:81548) 2013-11-04 13:07:57 -05:00
Akinari1087
d9afca6d91 Fixed unit_teleport_timer not removing an unnecessary timer - http://rathena.org/board/tracker/issue-8174-map-server-crash/ 2013-11-04 09:15:21 -07:00
Akinari1087
4e88d117af Follow up to af108b2, I forgot to think about Pre-Renewal - http://rathena.org/board/tracker/issue-8189-recent-long-range-attack-rate-update-problem!/
Update Force of Vanguard to 2011 - http://rathena.org/board/tracker/issue-8181-forceofvanguard-sp-upkeep-cost/
Merge a processing improvement on HP meters - Credits to Ind
2013-10-29 20:01:33 -07:00
Cahyadi Ramadhan Togihon
f058c4de1c * Follow up f056629
-- Updated item_db.txt, makes Rebellion can use Gunslinger weapons and ammos
-- Updated item_db.sql and item_db_re.sql
-- 3CeAM 2.0 merger: r13
-- idAthena merger: r1057, r1077
* Follow up 3f6d4b6
-- Update the const.txt for SC_MOONSTAR and SC_SUPER_STAR. SC_EXTREMITYFIST2 should be always on the end of SC number
* Hercules merger: 1375af7d00

Signed-off-by: Cahyadi Ramadhan Togihon <house.bad@gmail.com>
2013-10-28 12:23:23 +07:00
Akinari1087
3f6d4b6d4a Merge support for Moon Star and Super Star Items - Credits idAthena, Jedzkie, Hercules 2013-10-27 13:51:29 -07:00
Akinari1087
f0566292bb Added support for Rebellion class (no skills) - Credits to Hercules, Sanasol, Cydh
Packets update for banking and 2013-08-07 - Credits to Shakto
Fixed a problem where players could use items in Invisibility
2013-10-27 12:58:24 -07:00
Akinari1087
667f890c35 Merge pull request #14 from QQfoolsorellina/master
Message conf chn update
2013-10-26 07:17:50 -07:00
QQfoolsorellina
719140fff0 Message conf chn update 2013-10-26 19:06:53 +08:00
Cahyadi Ramadhan Togihon
341da2281a * Implemented modified @dropall by Xantara (discussion:http://rathena.org/board/topic/88250-suggestion-add-dropall-mod/)
* Updated map_msg_idn.conf
2013-10-26 13:41:38 +07:00
Cahyadi Ramadhan Togihon
75bc9cd14d * Fixed broken mail body
* Fixed SC__INVISIBILITY behavior (Akinari found this)
2013-10-26 09:53:24 +07:00
Akinari1087
8c57cf4df8 Merge pull request #13 from QQfoolsorellina/master
Message conf chn update
2013-10-23 01:23:07 -07:00
QQfoolsorellina
f1d5b6a144 Message conf chn update 2013-10-23 13:46:51 +08:00
Euphy
cd3cb9fa95 * Follow-up to pull request #8 and #10.
* Fixed a missing 'delitem' in Port Malaya quests. (bugreport:8168)
http://rathena.org/board/tracker/issue-8168-secret-in-the-woods-port-malaya-quest/
* Fixed an official quest time message mistake in El Dicastes quests. (bugreport:8167)
http://rathena.org/board/tracker/issue-8167-bouy-from-dicastes/

Signed-off-by: Euphy <euphy.raliel@rathena.org>
2013-10-20 12:15:10 -04:00
Cahyadi Ramadhan Togihon
0c5f83ba54 Fixed bugreport:8164 http://rathena.org/board/tracker/issue-8164-dicastestxt/ 2013-10-20 22:50:48 +07:00
Akinari1087
a7588d79ed Quick follow-up to 01677cf33. Fix a veriable in penal_servitude. 2013-10-19 14:46:18 -07:00
Akinari1087
01677cf333 Merge pull request #8 from Atemo/master
Message conf fr update.
2013-10-19 14:43:41 -07:00
Akinari1087
08603402d5 Merge pull request #10 from SkittleNugget/master
Updates to Various Files
2013-10-19 14:40:53 -07:00
Euphy
100bd4a28a * Split item_delay.txt into pre-re/re paths.
* Fixed a typo in "Father Bamph" NPC. (bugreport:8163)
http://rathena.org/board/tracker/issue-8163-father-bamph/

Signed-off-by: Euphy <euphy.raliel@rathena.org>
2013-10-19 10:46:22 -04:00
Akinari1087
af108b20c4 Added HP_SP_TABLES option in core.h which allows you to bypass the job HP and SP tables - http://rathena.org/board/tracker/issue-8015-hp-sp-bugs-exp/
The long range attack rate bonus now effects damage, rather than ATK - http://rathena.org/board/tracker/issue-8109-long-range-attack-rate/
Fixed SP cost on Invisibility and removed time limit - http://rathena.org/board/tracker/issue-8102-invisibility/
Fixed some warnings that popped up recently - http://rathena.org/board/tracker/issue-8145-warning-in-skillc
Some small changes for the double casted skills - http://rathena.org/board/tracker/issue-7382-aoe-bug-sometimes-it-hits-more-than-one/
Cleaned up some Masquerade Unlucky unused code
2013-10-16 18:49:22 -07:00
aleos89
a487746b63 Added atcommand '@autoloottype' - Suggestion tid:87014. 2013-10-16 11:06:18 -04:00
Akinari1087
3387b6a441 Fixed Poison/Blind/Silence effects and Zeny penalty for Masquerade Unlucky - http://rathena.org/board/tracker/issue-8098-masquerade-unlucky/
Fixed and modified SP absorb from mobs and players for Masquerade Ignorance - http://rathena.org/board/tracker/issue-8099-masquerade-ignorance/
2013-10-16 03:19:12 -07:00
Akinari1087
aab4f719a8 Increase interval on some skills that are occasionally being applied twice - Attempted for http://rathena.org/board/tracker/issue-7382-aoe-bug-sometimes-it-hits-more-than-one/ 2013-10-16 01:09:36 -07:00
Akinari1087
597ca8d6f7 Removed an unnecessary applied cooldown when casting Endure - http://rathena.org/board/tracker/issue-8142-cooldown/
Applied a quick fix to a bug where Bloody Lust could end before Berserk, causing an enemy's HP to drop to 100 - http://rathena.org/board/tracker/issue-8055-shadow-chaser-bloody-lust-skill/?do=public&secure_key=cdd74e15aa84e98e511be592d9be0a89
2013-10-16 00:13:08 -07:00
Akinari1087
015d1c1bdb Fixing a typo in battle_calc_base_weapon_attack causing no variance in attack. 2013-10-15 18:17:11 -07:00
Akinari1087
5bdb25e505 Fixed conversion warning - http://rathena.org/board/tracker/issue-8147-r17689-warning-c4244-conversion-from-time-t-to-uint32-possible-loss-of-data/
Switched variables for addtimercount - http://rathena.org/board/tracker/issue-8148-addtimercount-ticksnpconlabel/
Fixed a minor error with instances where you wouldn't be able to have the max amount of instances - http://rathena.org/board/topic/87790-error-code-in-instancec/
Fixed a bug with recovery where you couldn't run the 'recovery' script command without a RID - http://rathena.org/board/topic/86959-recovery-function/
2013-10-15 17:18:28 -07:00
lighta
06c8b21ace Follow up of skillcooldown
-Fix skillcooldown mistmatch
-Add safecheck for variance atk calc
2013-10-13 01:21:06 -04:00
lighta
797384cbe1 Follow up 8a66d82c28
-Add some missing case for RK_DRAGONBREATH_WATER
-Fix watk not being calculated properly with bonus in Re
-Rm leftover of previous skillcooldown system (skill_cooldown_load)
-Add skill_get_itemeq (accessor)
2013-10-09 04:21:55 -04:00
Cahyadi Ramadhan Togihon
d670952c61 * Follow up 8a66d82 and c70762a 2013-10-09 06:49:08 +07:00
lighta
9bb2df825b Merge branch 'master' of https://github.com/rathena/rathena 2013-10-08 17:56:04 -04:00
lighta
8a66d82c28 Add EP 14.3 Part 2 3rd Job Skills
thx to brAthena, Herc, Cydh.
2013-10-08 17:54:47 -04:00
lighta
c70762a18f ReqItems and Various Fixs
-Add requiered equiped item to cast in skill_require_db.
-Fix SC_ASH not always giving 50% chance failing, wrong emplacement
-Fix SC_STYLE_CHANGE not being relaunch when eleanor resurected.
-Fix cardfix for target not being reseted and therefor using same value
as caster.
-Move ADJUST_SKILL_DAMAGE in battle_calc_weapon_final_atk_modifiers
(since it shuold alter the final dammage just like it do for magic and
misc)
-Add battle_do_reflect and skill_do_copy small function to encapsulate
code.
-Upd channel_clean and channel_delete to simplify autodelete case for
public chans
-Fix SC_FEINTBOMB that had a fixed blewcount and not 3*skilllv
-Fix SC_VACUUM_EXTREME where some scenario was setting scs_nomove to -1
and therefor blocking char forever.
-Fix SC_STRIKING where val1 was overwritten for sp cast but also used as
skilllv for critical bonus...
-Upd SC_GN_CARTBOOST, should be ending be DECREASE_AGI
-Upd SC_MAGNETICFIELD should be endend when getting earth dmg or
quagmire
-Mv SC_WARMER, SC_WHITEIMPRISON, SC_FREEZING ending other status section
in proper area.
2013-10-08 17:34:03 -04:00