792 Commits

Author SHA1 Message Date
gepard1984
54ac5c18de Enabled Mersenne Twister MT19937 as random number generator instead of standard rand() function (follow-up to r14865, r14870).
- It fixes issues caused by RAND_MAX being only 32k in Windows system (bugreport:1927, bugreport:86).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15483 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-17 18:06:34 +00:00
shennetsind
40e49c7f3c Fixed a gcc warning, blame on r15451
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15459 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-15 01:29:49 +00:00
shennetsind
2b204f1123 Fixed hunter traps so that they MAY hit their owner in pvp areas, bugreport:5228
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15451 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-14 11:27:45 +00:00
shennetsind
d252a899db fixed battle_delay_damage from delaying damage in 1ms or less interval (it'd receive 1 because the client delay stuff understands 1 = wait for damage)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15450 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-14 11:15:32 +00:00
shennetsind
6ccc6c6c83 Fixed bug with attack timer being chained unnecessarily when attacker is not able to issue atk -- this also caused client messages to be spammed e.g. "please equip arrow first". bugreport:5189
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15443 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-14 06:41:09 +00:00
gepard1984
8b3a63cf11 Picklog improvements:
- now it is finally possible to log every item players gain or lose
 - added 3 log types: `I` for auctioned items, `B` for buying shop transactions and `X` for all other items transactions that don't fall into another category (for detailed explanation on all log types read `conf/log_athena.conf`)
 - it also fixes items being logged as picked up/gained by player when in fact they were dropped on the ground due to full inventory


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15420 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-11 17:35:28 +00:00
protimus
e2ef64201c Fixed Cloaking Exceed.
- Stop hiding status when use skills or attack enemies.
- Added security fixes to clear hiding status in some cases, like warped and reloging.
- Updated walk speed formula.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15408 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-08 03:26:16 +00:00
protimus
35d919e7a5 Fixed Exceed Break to work properly.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15407 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-08 02:46:19 +00:00
shennetsind
8376135d24 Initial support for Royal Guard and some adjustments here and there.
- credits to 3ceam for the base.
- should you step by any bugs let us know, http://rathena.org/board/tracker/

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15404 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-07 03:04:24 +00:00
shennetsind
f34d86ee5c Fixed a typo from r15381, bugreport:5202
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15391 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-04 18:44:32 +00:00
shennetsind
38242b763f Minor packetver babysitting, bugreport:4810
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15381 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-04 04:30:20 +00:00
shennetsind
6fbefb091e Fixed trap bugs as per bugreport:2817 (you finally can attack traps directly :0)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15380 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-04 03:47:01 +00:00
gepard1984
1a61c2d24e Removed unused and unofficial bonus bRandomAttackIncrease (in SVN since r2, bugreport:2139).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15372 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-03 22:25:12 +00:00
shennetsind
bccb331fb5 Fixed SC_BURNING icon not going off after it was over;
Fixed SC_BURNING from making character unable to move/cast skills/use items/etc, bugreport:5174

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15328 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-29 22:51:31 +00:00
protimus
3ec7e6b7c0 * Updated for Emperium not can be healed by any skills.
* Updated investments formulas of HP and SP according to renewal.
- Not yet official, need more informations.
- This is a temporary fix necessary for the emperium can be broken.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15321 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-29 20:57:09 +00:00
shennetsind
922e56e099 Fixed bug that allowed a specific timing to not receive reflected damage if the origin of the reflect has died, bugreport:4494
Special thanks to xazax!
Also: Added a performance improvement:
-- Before: all delayed damage would loop through all mobs/players/etc units in the server to confirm that the origin of the damage is equal to the source
-- Now: it compares the id of the damage source to the source id.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15314 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-29 19:13:41 +00:00
shennetsind
2e2923cbcd Reverted partial r15186 it has been confirmed on a official server that sg doesn't do double damage on hitCount%3 == 0
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15297 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-29 00:13:19 +00:00
xazax-hun
122c63765e Fixed a crash bug caused by clones that were committing suicide with PA_SACRAFICE. bugreport:4950
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15277 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-25 20:06:48 +00:00
shennetsind
a4ce4c598d Follow up r15267, changed to standard
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15268 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-25 11:13:27 +00:00
shennetsind
b561a8c31d Follow up r15224, being these map flags do not stack then we can check just for pvp rather than 2 (gvg&bg).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15229 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-23 14:10:12 +00:00
GodLesZ
b5216e384d - Removed unused "save_log" setting (addepted from char server, used to debug save/load of objects) (bugreport:3218)
- Fixed tabs in message output (bugreport:5156)
- * change - Ai4rei was faster :P

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15227 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-23 14:04:25 +00:00
GodLesZ
53d44a8771 follow up r15048, fix to bugreport:5151
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15224 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-23 09:36:27 +00:00
shennetsind
d5d867dac4 Storm Gust bug fix for bugreport:1813, also fixed a casual overflow in sg_counter
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15186 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-20 12:39:34 +00:00
shennetsind
9575e41b63 Fixed Devotion vs Reflection bug, bugreport:4508
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15185 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-20 12:14:26 +00:00
shennetsind
8408292c4c Fixed Pressure from not doing any damage to devoted targets, bugreport:4182
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15184 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-20 11:41:36 +00:00
shennetsind
50f6369cee removed redundant checks -- pressure doesn't reach that part of the code
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15183 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-20 11:33:42 +00:00
shennetsind
b4d9a102c1 RE Defense damage reduction fixed, bugreport:5111
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15160 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-18 06:27:26 +00:00
shennetsind
e1e2f31ca9 Fixed bug with quest skills duration, shrink, sight blaster, etc), bugreport:5122
dropped unofficial fire ivy support (also it was conflicting with the bug above)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15138 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-17 02:49:22 +00:00
shennetsind
7c435a9e68 Renamed RRMODE to REMODE
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15111 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-14 20:34:02 +00:00
epoque11
a5be723648 - Added new check conditions to prevent abuse from no-delay .act files (bugreport:4249)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15105 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-14 14:07:25 +00:00
shennetsind
3e9302c1f6 Renewal Weapon MATK boost fix, bugreport:5115
Fixed Renewal DEF (r15051) char/short issue

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15066 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-11 23:44:35 +00:00
shennetsind
94c86e09ee Fix to bugreport:2993 pk_mode damage reductions no longer stack with gvg ones
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15048 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-09 05:02:07 +00:00
shennetsind
9e9872c301 New Battle Config: gm.conf/atcommand_max_stat_bypass for bugreport:3301
-- Allows you to choose whether your gms can bypass your server's max stat limit or not.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15046 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-09 04:11:30 +00:00
shennetsind
31446113e8 Fixed Monster SkilL Crash bugreport:5101
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15019 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-06 19:54:50 +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
7662f1e897 * Fixed monsters above Lv99 displaying a Lv99 aura (bugreport:3986).
- The server no longer caps the level sent to the client by default.
- Servers that require the aura to be displayed at a level different from lv99, either have to alter the client or adjust the 'client_limit_unit_lv' setting.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14938 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-08-21 23:24:50 +00:00
ultramage
edcb998d59 Replaced custom type 'intptr' with standard 'intptr_t'.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14873 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-06-30 09:14:21 +00:00
ultramage
1370e74073 Quick fix to Venom Splasher's Poison React bonus, 30% -> 20%, based on aegis (bugreport:230).
Initially eA used 20%, then it got removed in r10907 due to incorrect info, and was added back in r11494 as 30% (no idea where I got that number from >.>).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14829 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-05-18 20:34:13 +00:00
ai4rei
88785ac802 * Added settings 'cashshop_show_points' and 'mail_show_status', both disabled by default, as the messages they control are custom (follow up to r11548 and r12264).
- Moved custom cash point update messages to 'msg_athena.conf' (IDs 504~506).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14812 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-05-14 01:25:09 +00:00
Gepard
f0fb5249a1 Removed leftovers of old charcommand config (follow-up to r13403).
Added check to ensure character `rename` status will be saved if changed.
Fixed Beast Strafing (HT_POWER) damage formula and SP requirement provided by Playtester (bugreport:4675, since r4392).


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14748 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-03-19 21:40:15 +00:00
Kisuka
91250a364c - Added official behavior of displaying party names.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14737 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-03-08 12:44:53 +00:00
ai4rei
6b74ef9b50 * Implemented search store info system (aka. vending and buying store search) together with related items.
- Requires 2010-08-03aRagexeRE or later and can be disabled in 'conf/battle/feature.conf'.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14732 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-03-06 19:16:09 +00:00
ai4rei
50eab8f576 * Fixed 'feature.conf' not getting loaded and a typo buying store feature setting name (follow up to r14713).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14714 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-02-19 13:23:42 +00:00
ai4rei
ce3f78556c * Implemented buying store system (aka. reverse vending, purchase shop) together with related skill and items, without NPCs.
- For SQL apply upgrade_svn14713_log.sql to upgrade tables `picklog` and `zenylog`; for TXT no action is necessary.
- Requires 2010-04-20aRagexeRE or later and can be disabled in 'conf/battle/feature.conf'.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14713 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-02-19 12:59:36 +00:00
ai4rei
86091a86f7 * Added support for client GM command /check (related r12076).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14707 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-02-15 11:47:31 +00:00
ai4rei
ad4e9bbee1 * Replaced remaining occurences of '-1' with 'INVALID_TIMER', where appropriate (follow up to r12998).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14670 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-01-14 21:00:38 +00:00
ai4rei
9ae0e011e7 * Fixed character storage no longer being sorted (bugreport:1982, since r12950).
- Guild storage is now sorted before being displayed rather than after being saved...
- Merged storage_gsortitem into storage_sortitem.
- Added option 'client_sort_storage' to control storage sorting.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14605 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-12-18 15:20:31 +00:00
ai4rei
6cb2c681c9 * Added a define for star gladiator feel/hate info array length (follow up to r8721 and r11840).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14523 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-30 08:25:03 +00:00
ai4rei
c82e8e36f1 * Added an option to re-roll the /dice emotion server-side, to prevent cheats during events (bugreport:4194).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14519 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-28 23:08:42 +00:00
ai4rei
4ffaed9527 * Various small cleanups.
- Fixed truncation warnings in @statuspoint, @skillpoint and @str/@agi/@vit/@int/@dex/@luk (since r14436).
- Fixed data type inconsistency in @statuspoint and @skillpoint (since r5762, related r13541).
- Silenced truncation warnings in CR_ACIDDEMONSTRATION damage calculation and cardfix application (since r13700).
- Reformatted unit_blown to make it look cleaner (follow up to r14492).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14493 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-23 11:13:49 +00:00