219 Commits

Author SHA1 Message Date
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
lighta
fca76baad8 Memleak fix
Fix some typo on channel ally
2013-11-15 12:05:44 -05:00
Lilith-
bd2503e279 Added Shadow Equipment System support (item type 12) 2013-11-14 16:37:03 -08: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
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
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
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
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
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
Cahyadi Ramadhan Togihon
d670952c61 * Follow up 8a66d82 and c70762a 2013-10-09 06:49:08 +07:00
lighta
69b28292cf Skill_colldown
Move skillcooldown from ram saving to sql saving.
This will fix multimap skillcooldown and avoind increasing ram by
offline users.
2013-10-08 16:54:03 -04:00
Cahyadi Ramadhan Togihon
1cf5283dcf - Added GD_ITEMEMERGENCYCALL skill for Emergencycall Scroll items (12968, 12969, 12970).
- Change hardcoded delay time 'guild_skill_relog_delay' for guild skill (conf/battle/guild.conf).
2013-08-21 16:47:39 +07:00
euphyy
cc701c83bb * Implemented Eclage town NPCs from iRO.
* Implemented Eclage guides.
* Implemented Eclage coin traders (equipment NPCs and herb seller).
* Implemented Eclage skills. (3CeAM 705)
* Added Eclage quest_db entries (missing times).
* Added placeholder NPCs for Eclage quests -- most quests are not functional.
* Moved custom Warper and Healer coordinates for Eclage.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17373 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-06-18 01:13:19 +00:00
akinari1087
4742adac12 Introducing the Account/Guild/Party Bounded Items System - Suggestion tid:70372
- Thanks for Xantara for providing initial diff as well as Lighta for guild bound help
- Adds script commands 'getitembound', 'getitembound2', and 'countbound'
- Adds at commands @itembound and @itembound2
- Adds permission pc_can_traded_bounded
- Documentation updated

Don't forget to run the SQL upgrade file!

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17351 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-06-08 22:47:10 +00:00
euphyy
3a234d787a * Implemented Mora Enchants.
* Updated Episode 14.1 item database entries.
* Removed party size check for Malangdo Culverts, as there is none on official servers.
* Added THA map_msg translation - thanks, boneskung, for translating!
* Updated IDN map_msg translation. (credits: Cydh)
* Code by Lighta:
-- Updated configure, add enable-warn [yes/no] and remove wno-parentheses, wno-unused from default compilation
-- Cleanup small warnings
* Crash fix for bugreport:7688 (code by Akinari).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17342 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-06-03 02:07:41 +00:00
euphyy
112030451a * Implemented all Mora quests (excluding instance-related quests and Mora Enchants).
* Updated Mora town NPCs, Quiver Maker, and guides.
* Updated Bifrost spawns and warps.
* Fixed a small error in the new refiners - thanks, Joseph!
* Other misc. changes.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17340 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-06-01 02:28:42 +00:00
glighta
98e5b868e1 -Add new packets links for 2013 client (Yommy)
-Patch bugreport:7673 Revert removing of 0x6b (tmp patch)
-Fix bugreport:7669 (hotkey amo broken since r17322)
-Fix bugreport:7524 (so that items don't show up as 0% drop rate in renewal drop) (Akinari)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17339 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-05-29 00:12:52 +00:00
akinari1087
ad11dd689a Cap reflected damage to max HP of the one reflecting - Fixes bugreport:7375
Minor fix to Reflect Damage timer going over time limit - Fixes bugreport:7511
Fix npc_idle_timer error when SECURE_NPC_TIMEOUT is not enabled (lighta) - Fixes bugreport:7623
Fix freezing issues after being forcefully closed out of an NPC (lighta) - Fixes bugreport:7615
Follow up to r17300 - Fix /guildinvite issue (lighta) bugreport:7612 (Now available for 20120410)
Some fixing up of Crescent Blow

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17307 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-04-30 23:21:05 +00:00
momacabu
cb098d5126 - Follow up to r17272, added friendly message when you can't return your pet to egg.
The hell, been listening too much Bryan Adams..

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17273 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-04-20 01:14:02 +00:00
momacabu
25da833d9b - Partial fix for bugreport:1222, if you have a pet and the pet egg is flagged as non-droppable and your inventory is full and you try to return the pet to the egg, the egg would drop; now you won't be able to return the pet to the egg.
- Fix for @item, if you use an egg id it would create it regardless of your inventory limit, dropping the item if your inventory is full; now it won't create the egg.
- Fixed Bahasa Indonesia translation file, thanks Cydh.
- Now the languages at @langtype are displayed as they are written in their original language.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17272 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-04-20 01:00:37 +00:00
glighta
bda715f6fe -Apply Lemongrass upd for pincode wich give pincode size > 4 possibility.
-Fix bugreport:7423 where pincode return invalide number for unix sys.
-Fix chan system leaks from iterator and incorect left count.
-Fix callfunc reallocating.
-Still leaking somewhere =(

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17240 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-04-09 05:56:07 +00:00
glighta
7bc683e21e -fix bugreport:7458 (deleting associate timer before cleanup status)
-merge clif_guild_skillup and clif_skillup (old TODO)
-add implementation for packet : 0x8c7, 0x99f and 0x1c9, variant of ZC_SKILL_ENTRY (0x11f)
-replace some hardcoded skill_flag by enum values

-little cleanup in skill_attack and regroup some skill with same effect (blewcount, animation).
-rewritte combo handling to regroup info and not duplicate info.
-change eleanor skill to use SC_COMBO as memo instead SC_STYLE_CHANGE
-separate SC_TINDER_BREAKER from SC_CLOSE_CONFINE since they don't act same way
-change MH_SONIC_CRAW to one attack with multiple hit instead x attack.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17229 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-04-04 00:18:59 +00:00
euphyy
643861ba17 > Implemented Channel System to replace @main. See tid:80999 for full details. (Hercules 7ec1e8f, 1e87c09)
* Adds @join and @channel commands to manipulate chat channels. (see doc/atcommands.txt)
* Speak in a #channel by sending a whisper to #channel or binding your global chat to the channel (@channel bindto <#channel_name>).
* Automatically join local map channels (#map) and guild ally channels (#ally), with mapflag 'nomapchannelautojoin' to disable the channel for a map (optional).
* Allow users to create private channels if 'allow_user_channel_creation' is true.
* Set default channels, text colors, and other settings in conf/channels.conf.
> Other changes:
* Improved overall guild processing/lookup by creating a cached guild state.
* Fixed a bug where equipping a garment would override costume garment.
* Removed clif_message and merged it with clif_disp_overhead, since both use the same packet.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17228 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-04-03 22:52:25 +00:00
euphyy
263aa1fc7f * Updated mob spawns for Undersea Tunnel floor 6. (ea:15236)
* Added new mercenaries to mercenary_db. No skills as of yet. (ea:15235)
* Fixed bug where 'unequip' command would override 'disable_items'. (Hercules d642604)
* Minor changes to Moscovia quests.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17205 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-03-21 22:33:07 +00:00
lemongrass3110
cd8d185f8e Another char-server related BETA release.
If you happen to find any errors feel free to report them, I tested it for some hours now and it should be working as intended.

"the packets used by this feature are still unknown to us", I guess not. :P

Thanks again Yommy and enjoy it Ind.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17194 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-03-12 23:05:36 +00:00
technote24
402a955b63 =General
*Updated a bunch of enum tables and other things.
-New NPC's, skill tags, status tags, equip masks, etc. are added with this update.
-Equip masks for costume robe and floor, will remain disabled until support for them is added.
-Shadow equips will require a newer client before they can be coded in.
-Hanbok costume job is added but is currently unusable since not all the coding to handle
-them is in.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17188 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-03-10 18:54:37 +00:00
euphyy
c51b1e8b31 * Merged Renewal Kafra scripts (follow-up r16699).
* Updated quest_db with Kagerou/Oboro and more Port Malaya entries (Hercules 1053fa0).
* Sorted quest_db by ID.
* Some clarification and cleaning of script_commands.txt.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17166 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-02-28 23:15:44 +00:00
flaid
f3aab1d482 Renewal Updates
- Increased max level to 160
- Updated quest_db.txt
- Fixed stat points for levels 151-160
- Updated job_db2.txt
- Fixed an item combo
- Fixed mob_skill_db.txt

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17133 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-02-17 02:47:26 +00:00
markzd
fcf360da41 * Renaming variable name from nsiuid to unique_id for better understanding of its meaning, as requested on tid:69380.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17086 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-01-08 05:31:06 +00:00
markzd
de6af1fc0b * Implemented Unique identifier for Non stackable items. (tid:69380)
* Set as off by default, it can be changed in /src/config/core.h.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17080 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-01-07 05:13:54 +00:00
glighta
8665e64c24 -Follow up r17065 fiw splash skill being broken.
-Also revert unintentional change of GDI_SKILLLV (even if useless enum) bugreport:7076
--All type change related to tid:75123

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17067 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-12-31 04:03:26 +00:00
glighta
0cdba10793 -Harmonize skillid, skill_num, skillnum, skill, to skill_id and same for skill_lv
-Optimise type from int to int16 in order to reduce ram consumtion.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17065 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-12-30 16:00:24 +00:00
glighta
f82e7eb077 Old Eleanor work :
-Implement  MH_TINDER_BREAKER, STYLE_CHANGE

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17059 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-12-29 04:41:25 +00:00
brianluau
8085260aa9 - Increased MAX_QUEST_DB, follow up to r17056. (bugreport:7058)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17058 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-12-28 10:05:41 +00:00
momacabu
b9e0b20eeb Implemented @clearstorage, @cleargstorage, @clearcart, @clearinventory (alias for @itemreset) as suggested in tid:70764.
For further details read the documentation in doc/atcommands.txt

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17029 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-12-19 21:01:03 +00:00
shennetsind
7478d1fbd0 HARRO WORLD. GUESS WHO.
- Follow up r16981
-- battle.c
--- Moved damage check up, so it doesn't waste time allocating all that stuff.
--- Moved t_race2 inside BF_WEAPON block (the only case that uses it)
-- status.h
--- Changed (struct) weapon_atk wlv from unsigned short to unsigned char, wlv is capped to REFINE_TYPE_MAX which doesn't get anywhere near UCHAR_MAX
- mempool.c
-- Temporarily disabled (yes, disabled in a very silly way) Sirius_Black's memory pool implementation, not only because its not currently being used, but because it spawns a new thread (and since its not being used, it wastes a thread and the memory it consumes).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17021 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-12-13 22:29:09 +00:00
rud0lp20
aa7031075c Happy Holidays and Happy 12/12/12 :)
Update Elemental summon to its official behavior
  - Fixed missing skill features of Ventus(bugreport:6792,bugreport:6723,bugreport:6511)
  - Note: upgrade_svn17014.sql
  - And other elemental skills are to follow :)
Fixed bugreport:6889 updated const.txt where it cause error to some items.
Fixed bugreport:6999 where matk damage deals miss atk to plant type targets.
Fixed status calculation where it doesn't give accurate result or how official calculation does.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17014 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-12-11 17:20:44 +00:00
brianluau
a2bdc47daf - Undid r16968: SVN Replaced with source:/trunk/src/@16966 (tid:74924).
[16969:16991/trunk/src/] will be re-committed in the next 24 hours.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16992 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-12-05 02:53:33 +00:00
greenboxal2
a7c32653f7 Applied AStyle code formating as discussed on tid:74602.
Removed /SAFESEH option from MSVC11 projects.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16968 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-25 21:20:43 +00:00
brianluau
c6b4ffbd97 - Added comments about the max ***_REG_NUM defines in mmo.h
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16892 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-09 18:42:44 +00:00
glighta
7a6a529548 -Add some src basic documentation.
-Change some remaining -1 for status ending timer.
-Move some hardcoded msg in msg_athena
-Small optimisation on battle_attr_fix

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16835 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-10-29 06:33:43 +00:00
shennetsind
ba768bfa77 Fixed bugreport:6343 homun-s skill tree now is properly populated with previous homun form skills, note the sql table update: upgrade_svn16663.sql
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16663 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-18 14:08:16 +00:00
shennetsind
ebdc7c103e Added support for the "favorite item tab" feature. super-mega-thanks to Judas, credits to Fatal Error.
Be aware this update requires a new column in the inventory db, run upgrade_svn16517.sql in your database.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16518 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-28 03:22:47 +00:00
kenpachi2k11
b16d7806bb Follow up r16468 - removed the "n is meaningless" comment from bNoWeaponDamage and bNoMagicDamage and reset PACKETVER to 20120410.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16474 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-22 10:35:33 +00:00
kenpachi2k11
8751cbba73 Fixed documentation for bNoWeaponDamage and bNoMagicDamage. (bugreport:5972)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16468 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-21 23:05:42 +00:00
shennetsind
24e655bd3c Hello World. Initial support for the new homunculus has been added, credits to brAthena for the base. Not all skills are yet supported, when a non-supported skill is used rather than the usual warning in the console you'll get a red-coloured message in-game "this skill is not yet supported". please step by our bug tracker should you step by any bugs. thank you very much, you're a great crowd.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16381 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-08 17:38:44 +00:00
shennetsind
b5729c7f65 Added support for 2012-04-10, super special ultra ubber plus master thanks to Judas.
Fixed support for 2012-03-07f. Made 2012-04-10 the default packet ver.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16288 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-13 18:32:05 +00:00
technote24
99605e56c6 =General
*Removed IT_THROWWEAPON as its not needed.
-The items that use this are being treated as a ammo type through A_THROWWEAPON.

=Database
*Updated throwable items and cannonballs to official.
-Genetics can now equip cannonballs.
-Throwable items are now ammo type number 9 as they should be.

=Jobs
*Genetic's Cart Cannon and Sling Item skills should now work due to the item fixes.



git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15922 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-22 11:15:30 +00:00