8070 Commits

Author SHA1 Message Date
shennetsind
9d3f99b320 Fixed bugreport:6883 made maya purple no longer conflict with status-change-controlled intravision stuff, e.g. box of sunlight.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16916 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-12 00:40:39 +00:00
glighta
94b8b02141 -Add/upd basic documentation for script.c
-Fix some indentation and strange codestyle change to A-Style

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16915 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-12 00:35:48 +00:00
glighta
752776e4cc -Add Homon-S skills, 1st implementation (all done except Eleanors)
--Upd Skill conf to set land-limit for homonculus by default (ground skill limit)
--Mv MH_HEILIGE_STANGE and MH_ANGRIFFS_MODUS skill from Eleanor to Bayeri

-Enforce all zeny transaction to use pc_payzeny and pc_getzeny handlers, (auto log and clif)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16914 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-12 00:06:25 +00:00
momacabu
e1a327c223 Follow up to r16912 (bugreport:6435), the fix wasn't working because I was mistakenly reproducing the bug -_-
Now I hope I did everything right.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16913 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-11 19:30:24 +00:00
momacabu
66617cfc67 Fixed bugreport:6435, if you stand on a warp portal with chat room, after you close it you wouldn't be warped properly.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16912 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-11 06:44:48 +00:00
momacabu
53a407406d Fixed bugreport:6452 where you weren't able to remove your cart if you weren't merchant/alchemist/blacksmith/etc. It also fixes the previously not working removal of cart when jobchanging.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16911 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-11 05:45:02 +00:00
momacabu
53533120d8 Updated skills that can not be dispelled by Dispell skill (bugreport:6469).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16910 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-11 05:29:10 +00:00
momacabu
383f42343e Fixed bugreport:6820 where Open Buying Store didn't show up in skill window after relogging.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16908 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-11 02:42:12 +00:00
momacabu
9c4449531b - Fixed bugreport:6252. Setting variables in script e.g. "set .@var, 08;" wasn't working properly due to octal base conversion issue. Special thanks to Ind and GreenBox.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16907 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-11 01:05:36 +00:00
momacabu
e8053f3c18 Voiding some functions.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16906 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-10 21:27:05 +00:00
momacabu
2ea2550cad - Added configuration to wheter the monster size would change experience earned, drop rates and the monster status (such as hp, strength etc). Awesome suggestion by Euphy :)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16905 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-10 21:02:55 +00:00
momacabu
f28c2a56f5 - Modified *monster and *areamonster script commands to allow size and ai parameters.
-- Event parameter now no longer works as size & ai replacement.
-- If not defined, it'll assume the default size (0 = medium) and default ai (0 = none).
- Changed all hardcoded AI states to recently created enum.

Please test, if you find any bugs, report on our Bug Tracker.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16904 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-10 19:44:12 +00:00
shennetsind
c5a20a03d7 Commented out poring_c01/02 since they are no longer present in the latest grfs which would make the map server pointlessly output that they are removed from the cache on every boot, also modified map load so that it doesn't output the amount of maps being loaded twice
- special thanks to mkbu95!

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16902 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-10 17:22:10 +00:00
shennetsind
e242d2b5a9 Performance Improvement; Server shut down, instance clear up, and @cleanmap are now all faster. Instead of wasting time doing a dbmap lookup (of a data it already possessed!) on each floor item being deleted, it'll use the data to clean the item.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16901 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-10 17:15:37 +00:00
momacabu
58f563d8c5 - More deletions related to lock removal -_-
- Inital support for Visual Studio 2012 solution

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16900 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-10 16:36:14 +00:00
momacabu
3810d5ff70 Removed include lock.h from script.c
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16899 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-10 05:52:08 +00:00
momacabu
294217c2ad Removed lock files since it is no longer being used (bugreport:6767).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16898 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-10 05:43:56 +00:00
momacabu
1450a8527d - Fixed bugreport:6816, bugreport:6818, bugreport:6843, buying a Pet Egg is now working. Special thanks to Ind;
- Fixed a bug where pet egg was not deleted properly after clearing the floor.
- Adjusted comment from msg_athena.conf, these IDs are being used!

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16897 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-10 05:06:39 +00:00
shennetsind
18438448bf Fixed bugreport:6876 / Reverting r16891
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16896 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-10 04:51:03 +00:00
shennetsind
3c6c2d20fb Minor improvement on npc_event_do_clock, moved it so that its only assigned when its actually used
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16895 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-10 03:47:27 +00:00
shennetsind
cfd04271c2 Dropped a incredibly wasteful and pointless (why was that there i wonder) 3100byte => ~3kb memory waste PER active elemental unit in the server
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16894 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-09 20:49:09 +00:00
shennetsind
60656ff312 1. Follow up r16891 small improvement over there by dropping a pointless entry in the trace hierarchy
2. Modified DNSBL check on login server to stop looking up addresses on the first match, also applied my curly brace love in the way.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16893 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-09 19:17:17 +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
eathenabot
e929098917 * Merged eAthena changeset ea:15119.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16891 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-09 18:15:02 +00:00
eathenabot
1bcfcc8f64 * eAthena changeset ea:15117 (already fixed in r15823).
* eAthena changeset ea:15118 (already fixed in r16500).
http://rathena.org/board/index.php?act=findpost&pid=124218

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16890 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-09 18:01:00 +00:00
eathenabot
6219afd600 * Merged eAthena changeset ea:15116.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16889 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-09 17:36:19 +00:00
eathenabot
fcd0930a22 * Merged eAthena changeset ea:15115.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16888 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-09 10:31:05 +00:00
brianluau
db6a927d54 - Updated the list of dnsbl_servers. (bugreport:6862)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16887 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-09 08:48:31 +00:00
shennetsind
1016106fc7 Follow up r16884 fixed a typo =X
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16885 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-09 02:45:20 +00:00
shennetsind
dc9a5da1c6 Fixed bugreport:6209 / Follow up r16867 : updated mapcache to write onto its proper map_cache.dat depending on the instance's #RENEWAL
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16884 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-09 02:27:33 +00:00
momacabu
9f56cbc7cc Fixed bugreport:6851, two chrif-related messages had the same id as cash points.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16882 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-09 01:12:26 +00:00
momacabu
aae7d1d129 - Removed backup.pl (for TXT servers) and vs9-to-vs8.php (outdated versions);
- Merged @killmonster2 with @killmonster tid:73632;
- Fixed bugreport:6764, auction code was misplaced;
- Follow up to r16753 (bugreport:6523), fixed bugreport:6673, using Gravitational Field with Safety Wall would keep the character immobilized. Blame myself, thankyou Lunar for the fix;
- Fixed bugreport:6514, @slaveclone wouldn't be targeted by monster. Thanks to zippy;
- Fixed bugreport:6837, some code was duplicated;
- Fixed bugreport:6768, removed some leftovers from TXT removal;
- Fixed bugreport:6868, Unequipping a weapon with Incantation Samurai card will not kill you if you have less than 999 hp and are on a non-pvp map;
- Fixed wrong bit field on ai field in mob_data structure. Credits to Ind.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16881 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-09 00:26:36 +00:00
brianluau
07512c2353 - Fixed extra curly brace in r16879... T_T
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16880 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-09 00:13:48 +00:00
brianluau
347412ef7e - Vending shops are now closed when warping to novending maps/cells. (bugreport:6871)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16879 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-09 00:02:18 +00:00
shennetsind
0a335475cd Fixed item_db parser:
1. map server would crash with mismatching curly braces in unequip script field
2. the parser wouldn't accept specific combinations of curly braces in the uniquip script field.
special thanks to mkbu95!

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16878 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-08 22:56:12 +00:00
brianluau
8d8cc71dab - Follow up to r16434, moved the status_change_end() into the existing block above.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16877 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-08 22:15:23 +00:00
brianluau
7b80d7bcdd - Fixed a typo in @mapflag example, since r15009.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16875 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-08 21:54:18 +00:00
rud0lp20
6311946402 Fixed bugreport:6869 where some skills of Sura are affected by SA_DISPELL.
Fixed bugreport:6867 remove the heal effect animation of SR_GENTLETOUCH_CURE which is not official.
Follow up r16856 where AM_POTIONPITCHER should not affect targets under the SC_EXTREMITYFIST2(EF SP recovery block).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16874 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-08 15:35:32 +00:00
shennetsind
35884acb9e Fixed bugreport:6870 buying store zeny limit now displays properly; special thanks to Napster and mkbu95
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16869 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-08 00:48:36 +00:00
shennetsind
58bf9e0801 Added support to pre-re/re map_cache since some maps differ, this results in map servers' map_cache_file config being dropped.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16867 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-07 23:36:00 +00:00
cookiecrumbs
a45c1dc469 Fixed various quest-related script commands - including: setquest, erasequest, completequest, checkquest - to fix crashes caused of null pointers (sd).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16866 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-07 23:13:04 +00:00
rud0lp20
7bb8c706d2 Fixed bugreport:6864 where casting WM_GLOOMYDAY to mobs causes map crash.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16865 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-07 13:10:26 +00:00
brianluau
70edb63177 - Added LOOK_*** script constants, same names as from map.h
- Changed atcommand "@changelook" to changelook script command in custom quest_shop.txt

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16862 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-05 18:25:15 +00:00
brianluau
f9807c537b - Fixed OnSellItem not setting all the "@sold_card%d" arrays. (bugreport:6847)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16860 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-05 07:12:44 +00:00
rud0lp20
9bde36efae Fixed bugreport:6839 where SC_CAMOUFLAGE is not ending properly.
Fixed bugreport:6710 where SR_EARTHSHAKER ATK bonus is not applied properly.
Implemented KO_MAKIBISHI and updated some Kagerou/Oboro skills.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16857 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-02 11:52:46 +00:00
rud0lp20
e3c02a5bc2 Fixed bugreport:6833 a typo in the level difference database.
Fixed bugreport:6438 now WL_TETRAVORTEX shows proper animation display.
Follow up r16776 added some missing updates for MO_EXTREMITYFIST thanks to kyeme.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16856 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-02 05:47:34 +00:00
glighta
e41effbc4b -Fix bugreport:6547 (bloodylust) upd bloodylust effect to berserk
-Fix bugreport:6208, bugreport:6805 (chaos panic) fix range effect
-Partial Fix bugreport:5275 (toxin now won't interupt unbreackable castskill)
-Folllow up r16847 fix UNT_ZEPHYR get some unwanted bonus, fix Insignia unit range

-Add UF_RANGEDSINGLEUNIT unit propriety thx to 3ceam, workaround to fix ranged unit without timer.
-Prevent WM_SOUND_OF_DESTRUCTION, SC_MANHOLE, WM_LULLABY_DEEPSLEEP being cast in non pvp map
-Fix SC_MAGICMUSHROOM shouldn't force skill if sit
-Replace some hardcoded mobid by enum
-add some mob_is definition for quicker search (gvg and treasure)
-Remove some duplicate check for status_heal (if berserk already done in status heal)
-Upd few documentation

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16855 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-01 01:40:29 +00:00
shennetsind
9758407d3f Fixed bugreport:6779 dropped between-server ping timers, replaced by a much more reliable and performance-efficient on-demand flagging.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16854 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-10-31 20:17:38 +00:00
shennetsind
8353208be7 Fixed bugreport:6838 pc_level_penalty_mod would return 0 when no player was attached to the kill and scream a nullpo report at console.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16853 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-10-31 19:41:20 +00:00
brianluau
5953c51bf4 - Moved level_penalty.txt into /db/ folder (tid:73289), follow up to r16842:16843.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16852 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-10-31 13:16:27 +00:00