136 Commits

Author SHA1 Message Date
lighta
ff29c234cc DB Import2
Add db/import-tmpl/ and add all file that could currently be
overwritten, (please add note if a db is missing)

db/import folder is created by "make import" just like conf/import and
msg_conff/import, (didn't found the visual equivalent)
2014-01-01 21:33:08 -05:00
lighta
9cca188908 Itemtype
Fix itemtype IT_ARMOR and IT_WEAPON being inverted, bugreport:8180
please run tools/convert_itemtype.pl to update your dbs.
Upd athena-start having some issue for some os.
Fix a typo on DC_SERVICEFORYOU for val1 assignment.
2013-12-21 01:02: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
c9532369cb Add @fullstrip
Fix 0x07f5 pointing to wrong function
Safecheck some string in clif
2013-11-19 13:21:18 -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
26d0999892 Fix packet_db for banking 2013-11-05 14:21:32 -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
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
lighta
342745de1a -Some clif work.
-Add packet definition for (2013-06-18, 2013-06-26, 2013-07-03, 2013-07-10, 2013-07-17) thx Shaktoh
-Optimise a bit pc_useitem processing
--Fix bugreport:7760 (Added new ranklist packet for newer client) 
--Fix bugreport:7739 (2013+ storelist had invalid offset)
--Fix bugreport:7806 (fix typo for 2013+ support and also fix breaking of old npc/merchants/cash_trader.txt)
2013-08-17 08:31:59 -04:00
lighta
e28c507477 Fix bugreport:7806 (cashshop buy_list index typo for 2012 client, remove duplicated code)
Upd gitignore to exclude conf/msg_conf/import as well
2013-07-24 11:42:23 -04:00
glighta
50ded53db6 -Upd configure.in / configure
--add --enable-warn=extra to show -Wconversion issues
--move -Wno-switch from prod only to all case 
-Update packet_db thx (TTest)
--fix index typo for itemlistwindowselected(all),cashshopbuy(2010-11-24 => v26-30, 2012-04-10 => v30-34) bugreport:7723
-Add utils::date2version (lookup a version with a date for later usage)
-Fix missing revert part in mmo_send_char bugreport:7734
-Merge little herc change:
--fix possible mapcrash in SCB_MATK with SC_RECOGNIZEDSPELL and change status->matk_min calculation order to speed up thing
--add OFFICIAL_WALKPATH exception for BL_NPC

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17367 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-06-15 15:53:15 +00:00
glighta
e197f8a551 -Follow up r17361
-- update client.conf, (description for version and flag). bugreport:7731
-- add packet_ver_flag2 battle_conf to expand version restriction.
-Upd charserv to allow multiple clientversion at once. (2012 and 2013 PACKETVER was creating conflict of info sent ver30 shouldn't have 0x82 for exemple)
--NB: clientvers rely on clientinfo version, paid attention you have set the good one for your client.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17363 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-06-13 21:39:17 +00:00
akinari1087
0bb0640f33 Follow up to r17358 : Fix compiler warning in atcommand.c - Fixes bugreport:7724
Fix a map crash when an unconditional_skill GM casts Tetra Vortex with less than 4 spheres - Thanks TTest
Added packets for new clients (Lighta)
Some minor documentation updates

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17360 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-06-13 14:33:09 +00:00
glighta
b90a30ace8 -Follow up r17355
-- update packet_db declaration index

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17359 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-06-12 19:41:24 +00:00
glighta
051ae1cfd9 -Follow up r17355
--fix windows compilation for clif_parse_cashshop_buy
--fix packet_db definition for clif_parse_cashshop_buy (wrong/incomplete index)
--add missing town mapflag as @mapflag command

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17357 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-06-11 22:18:26 +00:00
akinari1087
9942072257 Added some packets for party booking system - Topic tid:82724 (Thanks Brynner)
Added LG_BANISHINGPOINT hitrate increase - Fixes bugreport:7535
Fixed pc.c compile warning when not using Renewal Drop Rate (Lighta) - Fixes bugreport:7704
Fixed an issue where a non-player failing to freeze another with Frost Diver causes map crash (Lighta)
Added SCS_NOCHAT for easier character mute management
Some status.c and status.h standardizing (spaces suck)

--Hercules Merges
- Merged 9fe16cc : MC_IDENTIFY shouldn't take SP when no items found
- Merged 31f9100 : SC_DEEPSLEEP causes character to be unable to talk
- Merged cb9b70e : Cash Shop support for 2011-11-22 clients - Topic tid:82791

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17353 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-06-11 06:44:27 +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
euphyy
99de377882 * Added documentation for mapflags - thanks to Lighta for the idea and assistance.
* Reformatted permissions documentation.
* Corrected some mistakes in script_commands.txt - a huge thanks to JaBote for finding them! (Hercules d0c5018)
* Re-added mob_boss entries deleted in r17330.
* Code by Lighta:
-- Added hook for 0x44A and 0x447 (unfinished).
-- Added timestr for DumpUnknow packet and moved to proper function for visibility.
-- Fixed VCC compile error with r17333.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17334 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-05-26 05:21:44 +00:00
glighta
f67f82c472 -Follow up r17236
-- Add timeout option for windows. linked to bugreport:7670
-- remove unuse variable (Akinari) bugreport:7672
-- upd script_command documentation (Akinari)
-- cleanup checkweight (remove hardcode change msg).
- Add new packets definition (Shaktoh)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17327 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-05-10 18:31:31 +00:00
akinari1087
b770bb52e7 Implemented script commands 'addmonsterdrop' and 'delmonsterdrop' (cool)
-> Added documentation
Updated script command 'sc_start' to allow for more variables and options - Fixes bugreport:7664
-> Item databases and some scripts updated
Cleanup of script commands 'countitem' and 'countitem2'
Rework of @ 'reload' commands - Now offers @reload dbname
-> @reload packetdb now available
Restricted bonuses 'SPRecovRate' and 'HPRecovRate' to short range melee only - Fixes bugreport:2916
Increase AGI no longer makes characters stand - Fixes bugeport:7657
Small warning fix for 'below array bounds' in skill.c
Added short timeout to make_connection (lighta) - Fixes bugreport:7670
Some visual fixes for equipment and items (lighta)
Rework of script command 'checkweight' (lighta)
Some channel system cleanup (lighta)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17326 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-05-10 08:11:21 +00:00
glighta
24f2d1a601 - More 2013 packet support. thx to Shaktoh help.
-- Fix ZC_EQUIPWIN_MICROSCOPE_V5 (0x997) equip_item list.
-- Add (0x991,0x992,0x993,0x994,0x995,0x996) support, (inventory, storage, cart itemlist).
- Merge old code to reduce duclicate.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17322 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-05-07 00:50:53 +00:00
glighta
eaabca1f0c -Follow up r17313
-- fix clif_colormes, turn it into more generic function and remove duplicate equivalent, channel_colormes
-- Move allow_user_color_override config into channel option. (only user owner or admin could enable/disable for chan)
- Remove some hardcoded string using colormes msg_conf(378-382)
- Make clif_GlobalMessage being used in clif_parse_GlobalMessage instead redeclaration.
- Add some new packet (0x978,0x979) worldinfo related, thx Shaktoh

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17317 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-05-04 08:09:11 +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
glighta
a1ab49768c More packet support thx to Yommy and Shaktoh help
- Follow up r17303, fix ZC_ITEM_PICKUP_ACK_V5 unknow word, (was location increase to long)
- Add new packets
-- (0x997) clif_viewequip_ack
-- (0x998) clif_parse_EquipItem
-- (0x8d0, 0x999) clif_equipitemack
-- (0x8d1, 0x99a) clif_unequipitemack

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17306 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-04-30 10:08:13 +00:00
glighta
eb013a6d5e -Fix bugrepot:7609 fix picklog enum (add cashshop type)
-Fix bugreport:7615 freeze after closse by Secure timer, also fix "Unable to restore stack! Double continuation!" case (when dead by mob talking to npc)
-Upd secure timer, now stop timer when we already in close/end state.
-Fix st_>mes_active case where var wasn't refresh but dialogue was ended 
-Add packet support for ZC_ITEM_PICKUP_ACK_V5 (0x990), (0x0897,0x093F,0x0886,0x035f) (Hercule/Shaktoh)
-Cleanup too duplicate, too wide comment

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17303 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-04-29 05:51:36 +00:00
momacabu
69508a5ffc * Introduced /guildinvite for 2012 or newer clients. Also merged both guild invite functions. Fixes bugreport:7612
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17300 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-04-27 21:54:22 +00:00
glighta
b5769e1c67 - Follow up r17293 more support for 2013
-- speed up clif_maptypeproperty2 assignation and disable noitemconsumption by default
--  Upd clif_dropflooritem for 2013 (Shaktoh)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17294 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-04-25 15:37:32 +00:00
glighta
01807f9a82 - Add some support for 2013 packet thx to <Shaktoh> help
-- Add clif_maptypeproperty2 herc:4d89aa6
-- Add mmo_char_send082d herc:f69814b

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17293 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-04-25 13:10:53 +00:00
lemongrass3110
386f0ae36e Cashshop support
Since our neighbors were a little earlier with releasing the cash shop system, here is our version of it.
It supports TXT and SQL databases and even features kafra point support.
Don't forget to run your SQL updates, since this feature needs another log table for your own security. ;)

Follow up to r17240 finalizing pincode feature. Should be stable now - no beta anymore. Fixes bugreport:7505

Fixed guild creation bug bugreport:7502

Implemented the new NPC range tid:81303

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17242 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-04-10 02:09:34 +00:00
euphyy
9711667c31 * Added "Malangdo Island" to Malangdo quests, and fixed the dialogue in other Malangdo scripts.
* Implemented status change timers for 2012-06-18 onwards; added packets for 2013-03-20Ragexe. (Hercules 267eb1f)
* Fixed a crash when def1 hit 400. (Hercules 7e35b76)
* Fixed a warning in clang related to the channel system. (Hercules 16dfef6)
* Fixed @disguise breaking with @refresh. (Hercules b804926)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17234 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-04-08 00:59:04 +00:00
euphyy
618a449636 * Renewal item updates, mostly misc items (incl. bugreport:7167).
* A couple of quest_db updates.
* Moved El Dicastes Guide to a separate file and fixed viewpoint syntax.
* Fixed bugreport:7238, two mob skill mode changes.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17122 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-02-07 01:07:46 +00:00
euphyy
6aa1beed27 * Changed remaining bEquipmentMatk bonuses to bMatk in item_combo_db (follow-up r16981).
* Reverted r17116.
* Merged eAthena ea:15231, ea:15232 by ai4rei.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17117 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-02-02 05:45:09 +00:00
flaid
0f04fdf03a > Hercules merges:
* cf690d4:
Star Gladiator's map data is now cleared upon job changing outside star gladiator lineage, that way the database will no longer store these vars when they're not used (bugreport:6689).

* 7911e5e:
Making signal.h available throughout the whole source when in DEBUG mode so that developers (and users debugging) can easily raise signals from anywhere. Extremely handy with gdb, for example.

* 18b2468:
Basilica can only be placed when there are no other units (no mobs/players) within the range of which the basilica will spawn (bugreport:6644).

* 0af9e03:
Support for 2012-04-18a.
Special Thanks to Judas for providing the new packet info.

* 234bbe2:
Normal Boss/mini-boss attacks no longer can hit trick-dead'd players (bugreport:4339).

* e6ac0ec:
Fixed 3 logical errors (1 that would cause CH_PALMSTRIKE to crash the server when either caster or target were out of sc data).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17108 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-01-28 05:41:00 +00:00
brianluau
c37e0bdd3f - help.txt Params lists: changed "/" to "|" to match the rest of the file.
- Removed an extra 'packet_db_ver' comment from r15173.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16728 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-09-01 04:04:00 +00:00
shennetsind
111a20dbc4 Added support for the new monster purple hp bar packet (packetver >= 20120404), make sure to toggle /monsterhp in the client to show the bar. Special Thanks to EvilPuncker and scriptor for the packet structure
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16669 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-20 11:59:22 +00:00
shennetsind
496deaaec4 Fixed bugreport:6380 Snap/Body Relocation animation, super ultra special thanks to emong.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16541 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-01 01:17:46 +00:00
rud0lp20
a319977345 Fixed some compile warnings.(bugreport:6352, bugreport:6361)
Follow up r16520 added some missing entry in packet_db.txt where my patch doesn't include it...XD

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16530 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-29 14:33:16 +00:00
protimus
7b7c5d8b7d Updated packets of 2012-04-10 with informations provided by earthlingz.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16348 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-27 19:49:04 +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
Protimus
50a6aed796 * Added packets for clients 2012-03-07+
Not is recommended use this version yet, there are small packets structures to do changes.
* Added support for packet 0x970.
New schema of character creation.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15675 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-11 05:28:50 +00:00
eathenabot
d6c35b853a * Merged changes up to eAthena 15063.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15478 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-17 06:56:42 +00:00
eathenabot
17043ee8f8 * Merged changes up to eAthena 15058.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15476 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-17 06:47:30 +00:00
protimus
eccfdfe839 * Added packet support to new 2011 clients.
- Works on 2011-11-02 +
- Need more tests, but so far nothing wrong was found.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15173 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-20 04:29:37 +00:00
shennetsind
136a78a9bb RE cashshop fix, bugreport:4764
-- requires a msgstringtable.txt modification or client will crash (will be in the client svn asap)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15137 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-16 03:13:00 +00:00
eathenabot
1810f2efcc * Merged changes up to eAthena 15032.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15065 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-11 21:06:25 +00:00
shennetsind
a785b383d7 Merging RREmu into rAthena -- quite a few stuff yet to be renamed, but we'll get it sorted.
Some of the stuff included in RREmu that is now part of rAthena:
- RE Drop Rate Modifier
- RE Experience Rate Modifier
- RE Weapon MATK
- RE Shield ASPD job-specific penalty
- RE Cast Time
- Renewal-specific item DEF
- 3.1 classes.
- All-New Mounts
- Official Magical Reflection
- And other perks, such as fully-functional @mapflag
also merged eAthena 15006 into rAthena.
For Bugs, Comments and Suggestions: http://rathena.org/board/tracker/

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15009 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-05 20:51:58 +00:00
ai4rei
d3d918211e * Random documentation of database files.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14986 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-10-28 12:37:16 +00:00
ai4rei
831027c3fb * Revised packets related to auction system.
- Added packet documentation and corrected existing one.
- Removed an impossible condition in clif_parse_Auction_setitem (since r12301).
- Updated backet db definitions and removed a duplicate entry (entries from older packet versions carry over to newer).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14981 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-10-23 11:03:24 +00:00