summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2012-03-19Added the official sitting icon support, now while sitting a ugly icon will ↵shennetsind2-1/+7
be displayed in the buff bar. thanks to keikun for providing the id, curse him as much as you like for the icon being horribly ugly <3 git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15732 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-19Refine DB updatelordttseven7-52/+122
* DB courtesy of Kenpachi * added support for different stats per refine level for renewal * cleaned up the corresponding code a little * REMODE now displays the atk values on the client correctly git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15730 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-19- Updated existing registry saving code to perform one single uniform query. ↵epoque111-15/+22
(bugreport:2848) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15729 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-19* Merged changes up to eAthena 15080.eathenabot1-2/+3
(skipped 15079 because we use http://build.rathena.org/waterfall ) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15728 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-18Fixed Deep Sleep status, when hit in this status the hit damage is increased ↵shennetsind1-2/+13
by 50% and deep sleep goes off. bugreport:5464 Also: Fixed Voice of Siren not going off when hit git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15725 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-18Added Odin's Power skill.protimus2-0/+11
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15724 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-18Follow up r15704, special thanks to Vali!shennetsind1-1/+5
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15721 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-18- Updated mob_race2_db.txt to apply under RE and non-RE modesepoque111-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15720 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-18* uncluttered DB paths between REMODE on/off a littlelordttseven7-76/+35
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15719 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-18Fixed Mechanic Hovering skill, bugreport:5363shennetsind1-0/+4
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15718 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-18Fixed Verkana and Turisus RK Runes, bugreport:5388shennetsind1-5/+25
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15717 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-18Fixed Minstrel/Wanderer Lessons skill SP Boost, SP Regen. bugreport:5364shennetsind1-0/+8
Fixed Ranger Trap Research SP Boost. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15716 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-18Fixed Royal Guard Prestige, bugreport:5406shennetsind1-3/+3
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15715 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-18Fixed White Imprison not going off, bugreport:5249shennetsind2-2/+9
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15714 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-18Fixed Sura's Lightning Walk, bugreport:5407shennetsind1-0/+14
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15713 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-18Fixed Sura Windmill skill effect, bugreport:5438shennetsind1-1/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15711 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-18Fixed Dragon (RK Mount) aspd and weight bonuses, bugreport:5386shennetsind1-1/+4
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15710 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-18Fixed gcc warning on pc.cshennetsind1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15709 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-18Added Official behavior to non-ensamble songs: they no longer go off if you ↵shennetsind5-3/+72
warp within the same map. bugreport:4547 Dev Note: I didn't put it under session data cause only bard/gypsy classes use it, I found it to a be a waste. I'm not very comfortable with the dbmap either, however, so if you got any idea on how to make it more efficient lets talk :3 git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15708 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-18Added Official Guild Aura Implementation bugreport:667shennetsind9-73/+154
Before: - Guild Aura would only trigger when guild master moved Now: - Guild Aura is triggered when master moves and/or when guild mate gets inside the area - Guild Aura range is no longer hardcoded, you may modify it from skill_unit_db Also: - Added new skill_unit_db target type 'guild' git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15707 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-18* Properly handling, when closing the consoles via X button on windows.xazax-hun1-0/+35
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15706 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-17 - Reverted r15701 and r15702 to restore ERS for guild exp cache.gepard19841-10/+21
- Readded another fix for bugreport:5458 (crash caused by guild exp cache code freeing wrong memory area, since r15682). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15705 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-17Fixed bugreport:5304 flee calculation on renewal, thanks to Angezerus and Vali!shennetsind1-1/+5
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15704 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-17Fixed bugreport:5457 loginlog now submits proper escaped message to logshennetsind1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15703 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-17Follow up r15701 added missing db_destroy for memory stuff.shennetsind1-0/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15702 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-17Fixed bugreport:5458 server crashing when a character with guild-exp-tax ↵shennetsind1-21/+9
kills a monster. dev note: Gepard I tried to reach you but you weren't available, so I've done my own fix although my lack of familiarity with your new system, make yourself comfortable to modify as you wish. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15701 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-17Fixed Reject Sword, bugreport:4493 it nows applies damage reduction damage ↵shennetsind1-18/+15
properly and rejects dual-wield weapons properly as on official servers. super thanks to daegaladh for his contribution git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15700 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-17Fixed gcc warning on unused variable 'gc'shennetsind1-3/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15699 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-17Fixed bugreport:5456 you can no exploit creation of crafting items by mixing ↵shennetsind1-4/+5
packets thru wpe/rpe/whatever. it now checks if the item you're attempting to create belongs to the trigger used. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15698 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-17fixed gcc warning, removed unused variable 'flag'shennetsind1-5/+3
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15697 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-17Fixed baphomet card bonus not working when used by ammunition (required by a ↵shennetsind1-3/+2
new kunai), bugreport:506 WHOS YOUR DADDY? IND HENNET! git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15696 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-17HELLO WORLD.shennetsind1-1/+13
- Fixed bugreport:5424, deep sleep status now makes target unable to move - Fixed bugreport:5335, savage steak and similar foods now provide their bonus correctly. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15695 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-17Rewrote SC_MAGICPOWER to behave like on official serverslordttseven4-55/+40
* everything has been tested (with the exception of WZ_SIGHTBLASTER) * the status now uses a much simpler two-state mechanism; see http://www.eathena.ws/board/index.php?autocom=bugtracker&showbug=4833 for details * non-offensive and non-magic skills no longer consume the status * set WZ_ICEWALL NK flag to NK_NO_DAMAGE to properly not consume the status * fixed stale matk used for unit- and timerskills * fixed the original bug with isilla card triggering a status recalc (bugreport:4833, matk swapping no longer needed) * removed a couple now unnecessary exceptions (they now work out of the box/as side effects) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15694 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-16* forgot to also actually store the skill ids as numbers (follow-up to ↵lordttseven1-4/+2
r15692, semi-revert of r15634) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15693 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-16* fixed null pointer dereference in skill_name2id (bugreport:5455)lordttseven1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15692 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-15* fixed SC_BURNING not ending properlylordttseven1-1/+0
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15689 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-15Status change packet cleanuplordttseven6-73/+93
* fixed a couple typos * replaced duplicate function clif_status_load with a macro * normalized and documented status change table related getter abstraction * put some checks that were previously in multiple places into clif_status_change * packets are now used as they are on official servers: - ZC_MSG_STATE_CHANGE for ending statuses and starting them on non-pcs - ZC_MSG_STATE_CHANGE2 for starting *all* statuses on players - tick = 9999 for statuses of indeterminate duration - for non-pc units, a packet is only sent if it has a visual impact on the client; if you notice any missing visual effects, please report them! * fixed hidden GM characters leaking certain status packets * fixed hidden GM characters not displaying timers for newly gained statuses * fixed status end packet never being sent for non-pc, non-mercenary units * fixed SC_CLOAKING displaying a time bar on the client * fixed tick being an unsigned int, yet used as a signed int * removed hard-coded status length exceptions in clif_status_change git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15688 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-14Fixed Nick DB code using uninitialized data (bugreport:5439).gepard19841-3/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15687 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-13Fixed char-server notifying map-servers only about first 30 maps (on other ↵gepard19841-2/+2
map-servers) (bugreport:5410). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15686 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-13* Merged changes up to eAthena 15077.eathenabot1-2/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15685 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-13Fixed mail system not notifying about new messages that were received from ↵gepard19842-12/+2
another map-server (bugreport:1651). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15684 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-13 - Added missing parameter to `db_iput` and `db_uiput` macros (follow-up to ↵gepard19842-18/+18
r15682). - Numeric global variables (mapreg) now utilize `DBMap`'s ability to store integer-type data (follow-up to r15682). - Minor code cleanup: replaced some `DBMap` function calls with macros. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15683 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-13Enhanced `DBMap` implementation to allow storing integer type data in ↵gepard198417-302/+661
addition to void pointers. - Added enum for data: `int`, `unsigned int` and `void*` - Replaced generic `void*` data with `DBData` struct to hold `int`, `unsigned int` or `void*` (member of `DBNode`) - Added `db_i2data`, `db_ui2data` and `db_ptr2data` functions to cast from `int`/`uint`/`void*` to `DBData` (used in `DBMap::put()`) - Added `db_data2i`, `db_data2ui` and `db_data2ptr` functions to get `int`/`uint`/`void*` from `DBData` - Enabled statistics for new functions in `db_stats` struct - `DBCreateData` functions (used in `DBMap::ensure()`) now return `DBData` instead of `void*` - `DBApply` functions (used in `DBMap::foreach()` and `DBMap::destroy()`) now take `DBData*` as a parameter instead of `void*` - `DBMatcher` functions (used in `DBMap::getall()`) now take `DBData` as a parameter instead of `void*` - `DBReleaser` functions now take `DBData` as parameter instead of `void*` - Default releasers release data if it is `void*` (`DB_DATA_PTR`) type - `DBIterator` functions: `first()`, `last()`, `next()` and `prev()` now return `DBData*` instead of `void*` - `DBIterator::remove()` now returns `int` (1 if node was found and removed, 0 otherwise) instead of `void*` and takes an extra `DBData*` parameter for the data of removed entry - `DBMap::get()` and `DBMap::ensure()` now return `DBData*` instead of `void*` - `DBMap::remove()` and `DBMap::put()` now return `int` (1 if node already existed, 0 otherwise) instead of `void*` and take an extra `DBData*` parameter for the data of removed entry - `DBMap::put()` now takes `DBData` as parameter instead of `void*` - `DBMap::getall()` now puts data into `DBData**` buffer instead of `void**` buffer - Updated macros: - (`i`/`ui`/`str`)`db_get` and (`i`/`ui`/`str`)`db_ensure` were wrapped with `db_data2ptr` to extract data from `DBData*` that is now returned by `DBMap::get()` - added (`i`/`ui`/`str`)`db_iget` and (`i`/`ui`/`str`)`db_uiget` that get `DBData` from `DBMap` and extract `int`/`unsigned int` from it (with `db_data2i`/`db_data2ui`) - `db_put`, `idb_put`, `uidb_put` and `strdb_put` data params were wrapped with `db_ptr2data` to match new signature of `DBMap::put()` (`DBData` instead of `void*`) - added (`i`/`ui`/`str`)`db_iput` and (`i`/`ui`/`str`)`db_uiput` that put `int`/`unsigned int` into `DBMap` (first wrapping it with `DBData`) - added `NULL` in place of extra parameter for removed data in `db_remove` macros - `dbi_first`, `dbi_last`, `dbi_next` and `dbi_prev` were wrapped with `db_data2ptr` to extract data from `DBData*` that is now returned by these `DBIterator` functions - Updated `DBMap` documentation, and fixed a dozen of typos in it. - Updated rest of rA code to reflect `DBMap` changes (mostly required signature changes of `DBCreateData` and `DBApply` functions). - Fixed a bug where `DBMap::put()` would return data of a deleted entry. - Removed some unnecessary pointer casts. - Increased `showmsg.c` static buffer size to fit entire DBMap stats report. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15682 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-11* Added packets for clients 2012-03-07+Protimus2-1/+25
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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15675 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-09Code cleanup: replaced `DBIterator` function calls with macros where possible. gepard19849-58/+46
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15668 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-08- Fixed skillratio bonus only ever being multiplied by a factor of 1 ↵epoque111-2/+2
(follow-up to r15666) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15667 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-08- Correctly fixed Aimed Bolt and Arrow Storm skill ratios (related to ↵xantara1-4/+6
bugreport:5272 and r15663) - thanks to Lighta git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15666 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-07- Fixed a little leftover in socket_enchant2.txt .masao872-2/+2
- Added warp to iz_dun05 bugreport:5395 . - Fixed a little typo in clif.c . - Moved "int clif_status_load_single" from clif.c to clif.h . git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15665 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-07Fixed a few Ranger-related skills (bugreport:5272)xantara3-7/+27
- Added check to not allow attacks when mounted on a Warg - Added check to only allow a certain amount of skills when mounted on a Warg - Updated Warg Bite's chance rate of immobilization and duration - Updated Arrowstorm and Aimed Bolt's skill ratio damage git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15663 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-06* fixed a missing break; in status_change_start resulting in broken combo ↵lordttseven1-0/+1
targets (bugreport:5389 and bugreport:5396, since r15009) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15661 54d463be-8e91-2dee-dedb-b68131a5f0ec