48 Commits

Author SHA1 Message Date
Cydh Ramdh
9b4d922ef4 Bug Fixes:
* Follow up 2d2991a, remove trailing spaces in inter_athena.conf
* Added `bound` field on `picklog` table (bugreport:9240) Thank @icxbb-xx (Napster)
* Fixed Randomize Spell infinite loop. Failure of skill improvise db reading. (bugreport:9288)
* Added **max_extended_aspd** for caping max ASPD for KO/Rebellion, default is 193. Pointed by @raynra & Ziu
* Mail attachment
  * Added `bound` field on `mail` table, since group with PC_PERM_TRADE_BOUNDED can put bound item into attachment
  * Fixed wrong data type causing wrong zeny amount (bugreport:9291)
* Fixed item color issue for bound item (bugreport:9238)
  * Stackable item shouldn't be displayed as yellow color
  * Equip doesn't shown as yellow after relog or item is moved
* Silence status immunity for Renewal (bugreport:9227)
  * Bleeding (SC_BLEEDING): Vit -> Agi
  * Silence (SC_SILENCE): Vit -> Int
  * Sleep (SC_SLEEP): Int -> Agi
  * Thank @Playtester, @Lilith-, partial merge of Hercules:6f26451
* Fixed status check when cast a skill to hidden target
  * Stone Curse shouldn't be casted to hidden enemy when the caster has intravision (bugreport:9266)
  * Added **INF3_HIT_HIDING** for skills that *maybe* have effect to/can hit the hidden target. Previously, every Earth Element skills *always* had it, doesn't matter ground skill or single-target skill
  * **!TODO: Confirm other skills that have ability for this!**
  * **!FIXME: For now, I rely as the previous check did, I put some Earth Element skills (and) with area/ground effect**
* Correcting Devotion behavior (Hercules:e7be725, 41f28c0)
  * Failing to cast Devotion to the 6th player
  * Only player who devotes other that 'shout' Auto Guard when it active also with the walk delay
  * Status icon that inherited from devoter won't be displayed at devoted player
  * Reflect Damage on devoted player won't reflect normal attack, only melee skill attack
  * Added config **devotion_rdamage_skill_only** for backward compability, ignore the behavior above

**IMPORTANT**
  * Please import sql-files/upgrades/upgrade_20140915_log.sql
  * Please import sql-files/upgrades/upgrade_20140915.sql

Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
2014-09-15 18:02:49 +07:00
aleos89
f077a8eb03 Follow up to c0ed836.
- Optimized SQL structure to better fit uint32 value for uniqueitem_counter. (bugreport:9249)
- Added font and uniqueitem_counter to load when loading character menu on char-server.
2014-08-26 16:35:58 -04:00
aleos89
c0ed836e87 * Changed how the Unique ID System saves and creates IDs for items. (Hercules dd49dbc)
- System is now enabled by default.
- All non-stackable items that previously existed will get unique IDs if items::item_check is enabled.
- Added 'getequipuniqueid' script command to get the unique ID of an equipment on a player.
- Don't forget to apply the SQL update!
* Renamed SQL update file that applied to logs.
2014-08-22 17:52:15 -04:00
Cydh Ramdh
7fd6776194 - SC_BANANA_BOMB_SITDOWN & SC_SITDOWN_FORCE force player to wait unti duration ended before standing. (bugreport:9074) Confirmed by @raynra & reigneil
- Corrected check to finalizing vending/buyingstore autotrader datas, follow up 171e2f2. Thank Stingor
- Autotrade persistance updates: (suggestion from Napster)
--- Kicked player will be removed from vending or buyingstore table. This also avoid 'confusion' lookup when server restarted after the kicked player logged back and does autotrade.
--- feature.autotrade_direction, added -1 value to use last player's direction
--- feature.autotrade_head_direction, added for player's head direction
--- feature.autotrade_sit, added -1 value to use last player's condition (standing/sitting)
--- Please import/execute upgrade_20140723.sql

Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
2014-07-23 13:26:04 +07:00
Cydh Ramdh
a8f239fc88 Bug Fixes:
- Client stuck while deleting char (bugreport:9101), thank leke
- Wrong check at pc_is_same_equip_index() triggers double damage for two-handed weapon (bugreport:9124), thank Myskelz & Anacondaqq
- Follow up 3d27b7e, Item avail check for npc_cashshop_buy() (bugreport:9122), thank Napster
- Missing enum 'K' for LOG_TYPE_BANK at `zenylog` (bugreport:9122), thank Napster

Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
2014-07-13 12:46:41 +07:00
aleos89
62a2813adc Bug Fixes
* Fixed Concentration ending when Frenzy is used. (bugreport:8942)
* Fixed Hells Plant hitting Ghost element enemies. (bugreport:8799)
* Forced guild notice changes to save immediately. (bugreport:8961)
* Fixed Cart Tornado damage formula. (bugreport:9065)
* Adjust Amistr's Castling to now switch to any target type. Still needs skill switching support. (bugreport:1784)
* Removed hard coded 1 second skill duration reduction for Spore Explosion.
* Fixed the party window not displaying the correct map name when in an instance. (bugreport:7949)
* Fixed hatching a pet causing client disconnections. (bugreport:9059) (Hercules 533ff4f)
* Updated Kagerou/Oboro skill cast times. (bugreport:9035)
* Removed deprecated negative nameid value for getitem/getitem2.
* Renamed incuvate to incubate throughout source and SQL.
* Added skill ID to the error display for battle_calc_attack to help resolve issues. (bugreport:8876)
* Cleaned and corrected some Sorcerer Elemental skills. (bugreport:9058)
* Cleaned up some more compile warnings.
2014-06-27 15:45:35 -04:00
Cydh Ramdh
8cb97785c2 Follow up https://github.com/rathena/rathena/commit/98c6aee#commitcomment-6679748 Thank @CairoLee (err, messed up D:)
Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
2014-06-18 04:09:10 +07:00
Cydh Ramdh
98c6aee157 Follow up 7cd82d0, bugreport:9041
Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
2014-06-16 17:10:50 +07:00
aleos89
42b29ee81e Follow up to 7cd82d0.
- Fixed SQL queries to convert CARD0_PET to positive value before adjusting table to avoid setting the value to 0.
- Thanks to Cydh.
2014-06-12 12:38:46 -04:00
aleos89
7cd82d00db Increased item ID array size.
- Increased limit from 32,767 to 65,535.
- Still uses same amount of memory with doubled usable size.
- Adjusted CARD0_PET from -256 to 256.
- Please run both SQL files after applying this update to avoid values becoming corrupt.
- Tested and works on clients 2012-04-10 and up thanks to Cydh.
- Removed an unused SQL file.
2014-06-12 11:29:10 -04:00
Cydh Ramdh
28c90bb841 * Item DB Updates:
-- kRO 2013-09-25
-- kRO 2013-10-23
-- kRO 2013-11-06 Bar Cookie Festival
-- kRO 2013-11-20
-- kRO 2013-12-18 Casualties Of The Sepulcher & Xmas Event
-- kRO 2013-12-25 Episode 15.2
-- kRO New Year Event 2014 & Octopus Festival Malangdo
-- kRO 2014-01-08 Jumping Event
-- kRO 2014-01-22
-- kRO 2014-01-29 New Year Day Event
-- kRO 2014-02-05
-- kRO 2014-02-12 San Valentin
-- kRO 2014-02-19
-- kRO 2014-02-26
-- kRO 2014-03-12
-- kRO 2014-03-19
-- kRO 2014-03-26
-- Slot & View ID
* Bug fixes:
-- Removed Rebellion job from dagger type weapon (bugreport:8972)
-- Costume leftover on db/import-tmpl/item_db.txt (bugreport:8895)
-- Invalid flag for 12258,Bombring_Box (bugreport:8997)
-- Wrong combo criteria (bugreport:8984)
-- Wrong values in skill_changematerial_db.txt
Thank's to Kido & Bug Reporters

Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
2014-05-29 11:31:36 +07:00
aleos89
7e92017092 Follow up to 6afcdeb to include changes on the character server and SQL update. 2014-05-23 13:38:38 -04:00
CairoLee
9ca5208b59 - Remove "DEFAULT CHARSET=latin1" from sql-files(Maybe has somebody Using utf8 like me) 2014-02-20 10:19:02 +08:00
Lemongrass3110
899f3c117c Follow up b3506fb
Somehow I missed the upgrade file. Sorry guys.
Thanks to @exneval for raising my attention on it.
2014-02-06 12:40:04 +01:00
Lemongrass3110
21eac1da68 Forgot the SQL changes 2014-01-14 22:28:52 +01:00
Cydh Ramdh
be516cb53b * Fixed bugreport http://rathena.org/board/tracker/issue-8408-script-line-931-data-too-long-for-column-atkmatk-at-row-1/
Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
2014-01-04 21:51:12 +07:00
lighta
b695ab3f41 Fix compilation issue
Follow up dae81222 (AEGIS class system) fix out of bound issue for
array.
(didn't check the x_ALL option system yet)
Follow up 7a9aa7fb Fix possible mapcrash due to offline player
Follow up 12007fef Fix some invalide string check and remove the
reverted sqlfiles
2013-12-30 15:21:25 -05:00
Cydh Ramdh
e18bf43547 * Revert this 487f84e, please import upgrade_20131231.sql. Thank Lemongrass3110 and Toshiro90
* Follow up 7a9aa7f, enum errors
* Follow up 12007fe, function return type error
* Follow up dae8122, 'skill' to 'skill_learnlv'?

Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
2013-12-31 01:52:14 +07:00
Cydh Ramdh
487f84ef92 * Changed some item_db's fields on MySQL table to use char types rather than numeric types (those fields are never been used for calculation)
* Added missing config on inter_athena.conf for MySQL database (use_sql_db: yes)
* Please upgrade your MySQL database with upgrade_20131229.sql

Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
2013-12-29 06:44:48 +07:00
Cydh Ramdh
be05bc399b *Added 'status_icon' param for *bonus_script script, thank QQfoolsorellina for the suggestion (https://github.com/rathena/rathena/commit/99098c1#commitcomment-4558795)
--> bonus_script "<script code>",<duration>{,<flag>{,<type>{,<status_icon>{,<char_id>}}}};
* Please update your sql database (main database) with upgrade_20131227.sql

Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
2013-12-27 18:17:41 +07: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
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
Lilith-
bd2503e279 Added Shadow Equipment System support (item type 12) 2013-11-14 16:37:03 -08: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
f39207f5e2 Leftover of bigint 2013-11-05 14:17:04 -05:00
lighta
1290826be2 Adding banking support 2013-11-05 13:41:42 -05: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
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
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
akinari1087
984218e0e5 Platinum skills are no longer saved as permanent granted skills - Fixes bugreport:7466
->Updated the docs with more information on flag 4 skills
Please remember to run the SQL upgrade file to fix your skill tables

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17256 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-04-13 17:08:16 +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
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
euphyy
0194584f6d * Added remaining Malangdo coin traders.
* Renewal item database update:
-- Implemented nearly all remaining Malangdo items.
-- Added Upg_* boxes (follow-up r17180).
-- Corrected many kRO names.
* Updated Renewal item_trade database for Dewata, Malangdo, and Upg_* boxes.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17186 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-03-09 20:55:52 +00:00
lemongrass3110
0fc28289b5 Beta Release of PIN Code system.
Thanks to Yommy for his help with the basic packet information and LightFighter for the PIN decrypt function.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17183 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-03-08 18:43:15 +00:00
lemongrass3110
0acdc668f0 Updated dewata to match the official scripts.
This commit includes a optional SQL upgrade file, that will reset all the dewata quests and the related variables, that your users have done.

Thanks to Euphy for helping me and additionally thanks to Flaid for taking his time to test our conversion.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17178 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-03-06 21:38:39 +00:00
euphyy
d238a8ae67 > Hercules merges:
* 0241d01:
Introducing account-dependent character slot count.
Available player slots can be limited in the `character_slots` column of `login`.
Existent characters on slots above the limit will still be accessible but will have a red "premium service" in the background.

* 5d6c1c5:
Updated values for first levels in exp.txt and exp_guild.txt.
Updated Renewal item database with new healing items.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17176 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-03-06 21:19:13 +00:00
euphyy
f3e4ef5067 * Updated "Calyon" NPC in El Dicastes quests, fixing an incorrect condition.
> Hercules merges:
* 2bc8562, 126225b:
Skills granted through scripts are now permanent, until this date they were not relog persistent. (bugreport:5018)
Note that you will need to execute /sql-files/upgrades/upgrade_svn17136.sql for this change.

* b8379d2:
@skillid now supports partial search.

* d7ce0c1:
Character's online states are now updated as soon as they attempt a char select, instead of at the end of the procedure. This improves reliability with 3rd party software e.g. control panels. (bugreport:7269)

* d828000:
Login and Char servers will now exit when failing to bind to the port (as map server has always done).

* 003ed2c:
Moved "Honeymoon Helper" and "Odgnalam" NPCs to official RE coordinates.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17136 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-02-17 21:13:33 +00:00
brianluau
2c8fd60503 - Renamed some /sql-files/upgrades/upgrade_svn***** files to match previous naming conventions.
Upgrade files ending in "_log" should be applied to the log database.
Upgrade files with no suffix are applied to the ragnarok database.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17102 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-01-18 20:32:00 +00:00
brianluau
496c42fb96 - Added svn:eol-style=native property.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17087 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-01-08 09:31:58 +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
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
glighta
805aedeff0 -Apply EvilPuncker path from tid:71756
-Fix and upd logzeny enumeration type bugreport:6897
-Upd @zeny to send a message when succed bugreport:6886
-Upd ChaosPanic to affect all bugreport:6893
-Upd bloodylust cooldown and disable endure effect bugreport:6547

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16940 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-22 01:13:28 +00:00
brianluau
b69048d9c5 - Added svn:eol-style=native property.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16844 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-10-30 08:26:18 +00:00
j-tkay
8e575ee998 - Follow up r16824.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16825 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-10-22 11:27:59 +00:00
spre123
9f3b089c68 Forgot to add the upgrade sql file for the Small DB change to item_db_re.sql Changing Defence from unsigned to accept negative Value do to some items having negative values.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16824 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-10-22 02:02:06 +00:00
shennetsind
ae5e29ad86 sql-files folder redesign as discussed with other developers, all upgrade files prior to rathena were removed (if you need them you can use the trac or download a earlier version of the folder).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16750 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-09-06 19:58:51 +00:00