4482 Commits

Author SHA1 Message Date
Playtester
f35d8f71e4 Updated some item names according to info from Haplo
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8786 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-17 22:22:56 +00:00
Playtester
4b670c83f2 Fixed some Thanatos mob names
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8784 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-17 09:45:19 +00:00
skotlex
401920c1d8 - Fixed NPC_INVISIBLE's cloak ending after attacking once.
- Fixed SG_FUSION being castable without Soul Link state.
- Moved the item-use restriction SC checks from clif.c to pc_use_item, fixed Gravitation blocking potion usage on it's area of effect.
- Sphere Marines and Summoned Flora are now inmune to class-changing.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8782 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-17 07:38:10 +00:00
skotlex
c61da328ed - Moved some speed adjustments in status_calc_pc to where they belong.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8781 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-16 23:50:00 +00:00
skotlex
98466dbf0e - Forgot to add mob_ai&256 info to the conf changelog.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8780 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-16 23:43:27 +00:00
skotlex
fd7c6a36a2 - Added monster_ai&256. When set, a monster will pick a random starting position to begin checking versus it's skills, otherwise, it will always begin checking from the beginning.
- Added NPC_CHANGEUNDEAD to the skill_cast_db, fixes it apparently doing "nothing".


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8778 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-16 23:41:07 +00:00
skotlex
e31d762f33 - Fixed the status change duration reduction equation was was totally wrong, thanks to k3dt
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8776 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-16 20:18:35 +00:00
Lupus
59e3616a92 git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8774 54d463be-8e91-2dee-dedb-b68131a5f0ec 2006-09-16 04:52:39 +00:00
skotlex
3d19bd2c4e - Now mobs won't do a distance check to lose their target on every ai iteration, but only when they finish walking (unless you set monster_ai&1)
- The chase distance before a mob gives up following a player has been increased from view-size (range2) to min-chase (range3).


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8773 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-15 21:33:36 +00:00
skotlex
7ad8d4effa - Reverted the Summon Flora change where all plants were being summoned in one go.
- Removed some redundant code.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8772 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-15 19:48:00 +00:00
skotlex
6b77c081e9 - Moved the weapon repair effect to where it belongs (after successfully repairing an item)
- Added atcommand.conf entries for @adjgmlvl and @adjcmdlvl


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8770 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-15 17:28:17 +00:00
skotlex
abec02f1fe - Added config setting "friend_auto_add" (battle/player.conf), if set, when you accept someone as your friend, both characters will show up on each other's friend list.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8769 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-15 16:40:01 +00:00
Playtester
1885599cd8 Added the remaining drop changes which I missed before
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8768 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-15 11:19:45 +00:00
Lupus
04cb8123a7 fixed pollution quest
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8767 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-15 05:54:11 +00:00
skotlex
b3d74eb0ad - Changed Extremity Fist's code to make you actually walk past your target, which displays a much more correct "animation" for the skill. Thanks to HiddenDragon for the information and code.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8765 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-15 01:57:23 +00:00
skotlex
ae631dda54 - Updated the item_db search functions so that when returning the dummy-item, it first updates the nameid to match the requested one, this prevents pc_additem later on giving you an item with ID 500 instead of the ID requested.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8764 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-15 01:02:20 +00:00
skotlex
25b73f7772 - Added a clif_skill_nodamage packet when using Repair Weapon, just to see what happens.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8762 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-14 21:10:54 +00:00
skotlex
f7e2c8a84c - Likely fixed "half" of the alliance being saved, which ends up in guilds that can attack another, but not viceversa.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8761 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-14 18:39:18 +00:00
skotlex
961cd2330f - Added deleting of saved Status changes on character delete for the Char-TXT server.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8759 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-14 17:51:19 +00:00
skotlex
570b52caff - Fixed the can-act delay never being checked when requesting to use Homunculus Skills. O.O
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8758 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-14 17:02:39 +00:00
skotlex
4eabecd228 - Fixed warmth skills draining SP of the target, not the caster.
- If val3 for a combo is set, then the combo will no longer delay attack/movement.
- When TK_DODGE triggers, it will no longer delay your attack or movement.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8757 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-14 16:50:12 +00:00
skotlex
1b4521aff2 - Estimation /Sense/ whatever will no longer hide the vit bonus to mdef2, as reported by Playtester.
- Updated Summon Flora to summon the max number of possible plants on one cast. It will consume as many bottles as monsters summoned. Also cleaned up the function to be usable by non players.
- Added function status_get_name


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8756 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-14 16:34:06 +00:00
Playtester
95f9bcf86d Updated item_db.sql and mob_db.sql
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8753 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-14 15:53:31 +00:00
Playtester
dcbf489aa7 * Fixed X.3 Cooking drop rates
- also updated related aegis item names
- now our db is official up to X.3

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8752 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-14 15:44:39 +00:00
skotlex
c9f9218a2b - Shadow Jump no longer goes over walls.
- Insignificant cleanups.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8751 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-14 15:39:24 +00:00
skotlex
d16c9da400 - Corrected Smokie's pet script to use petskillbonus instead of "bonus"
- Added constant map_flag_gvg2 which tags gvg maps independently of whether woe is on or off.
- battle_calc_gvg_damage will be invoked in gvg maps regardless of woe time.
- NPC_MENTALBREAKER now zaps matk*lv SP based on observations by Tharis.
- md->class_ will be changed on mob-class-change to fix all class-change related bugs. On respawn, the spawn data will be used to revert to the original class. 
- Improved the pet skillbonus timer for "eternal bonuses" cases where the bonus delay is 0.
- Adjusted gvg long damage rate to 80%, magic damage rate to 60%


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8748 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-14 13:46:14 +00:00
Lupus
b31b779d1c missing next fix
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8747 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-14 11:31:16 +00:00
Lupus
7ef996bde3 fixed Payon city
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8746 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-14 11:10:34 +00:00
Playtester
8f63691455 * Fixed Abyss Lake drop rates
- also updated related aegis item names

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8745 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-14 10:56:37 +00:00
Lupus
b5ba00eebb fixed momomtaro, massive einbroch quests bugfix
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8744 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-14 10:09:31 +00:00
Playtester
1f9adcc475 * Fixed Thanatos Tower drop rates
- also updated some related aegis item names

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8743 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-14 09:36:15 +00:00
Lupus
29582c3a3a keep treasure box count on reboot
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8742 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-14 08:10:13 +00:00
Lupus
4e0274eac0 fixed WoE defence/eco underflow
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8741 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-14 06:33:38 +00:00
Lupus
526a7ce897 fixed some typos, optimized, added missing NEXT;
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8739 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-14 06:22:56 +00:00
Playtester
796eb8711e Started fixing up X.3 drop rates
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8738 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-13 23:14:57 +00:00
skotlex
955a3c310b - SC_CHANGE cannot override itself anymore. This fixes being able to "recast" the skill while it's still active to lengthen the duration AND rehealing the target.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8737 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-13 18:57:25 +00:00
skotlex
66869ed12a - Changed a bit the dnsbl lookup in the login servers to make it faster.
- Moved the pc rate modifiers from items (hp/sp/matk/hit/flee/cri/flee2/def2/mdef2/def/def2/speed) from status_calc_bl_sub_pc to status_calc_pc, as it simplifies code vastly, and also fixes Osiris card not applying to said bonuses.
- Fixed pc_damage_delay_rate not working, thanks to Orn.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8736 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-13 18:51:07 +00:00
skotlex
4f24872a12 - Fixed compilation for native windows builds.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8734 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-13 16:23:24 +00:00
skotlex
84f86fa96e - Modified the nocommand mapflag so you can specify the GM range that is blocked from using commands (eg: "prontera.gat mapflag nocommand 40" disables commands to characters in the GM range 0~39)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8733 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-13 16:11:22 +00:00
skotlex
c06808095d - Modified the char-server TXT whisper system to use the online_db to know to which map server forward whispers, instead of just sending the whisper to every map server.
- Added char-server functions search_character_byname() and search_character_online() required for the previous update.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8732 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-13 15:36:38 +00:00
skotlex
a64ba50b61 - Readded the setting TCP_NODELAY on socket.c to see if it fixes the walk-lag issue.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8731 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-13 13:33:08 +00:00
skotlex
3c5c104561 - Modified the login SQL server so that case insensitive lookups use "where name = BINARY 'name'" instead of "where BINARY name = 'name'", since this way the name index should be used, and performance will no longer be heavily affected.
- Modified main.sql to add 4 missing indexes (thanks to ErkDog): char_id on the tables memo/friends, and online/name on the char table. Added upgrade_svn8728.sql to add these indexes to already existing tables.
- Changed back the default of case-sensitive to ON since it shouldn't be such a bad performance hog now.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8728 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-13 01:07:45 +00:00
skotlex
0697e450ed - Improved sql-query to check if name already exists when creating new chars.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8727 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-12 21:30:03 +00:00
skotlex
5af063b223 - Updated convert_engine.sql to use TYPE instead of ENGINE to be compatible with Mysql 4 installations.
- case_sensitive is now off by default due to performance issues.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8726 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-12 21:18:09 +00:00
Playtester
7928d4203e Fixed NPC_ATTRICHANGE being targeted rather than self
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8725 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-12 20:18:34 +00:00
skotlex
6f501a8bb2 - Moved the morph restrictions from skill_additional_effect to mob_class_change, so that SA_MONOCELL will not convert clones, emperium, or treasure boxes.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8724 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-12 18:44:07 +00:00
toms
7b6be24f47 Fixed 'range' might be used uninitialized warning
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8723 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-12 18:39:57 +00:00
skotlex
c6142c3f39 - Added manual deletion of sc_data entries when deleting a character (char-SQL)
- Updated main.sql to use pure MyISAM tables, removed all foreign keys.
- Added Jaguar's sql script to convert all tables to MyISAM. It's located in sql-files/convert_engine.sql
- Removed convert_guild_tables.sql as we don't use InnoDB anymore.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8722 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-12 18:22:54 +00:00
skotlex
34683f252f - Updated battle_switch to use strncmpi instead of strcmpi, it makes it so using "yessir" will match "yes", this is actually needed because if you set a config setting to "yes " (notice the trailing space), then the map config engine fails to read it right, and will set the config setting to 0 (no).
- Added function pc_resethate to more easily handle Angel trigger
- Made feel_var and hate_var static variables to pc.c to simplify things and avoid errors due to redundancy.
- Updated the show_mob_info setting to add another space to the separating pipes, so that each field is separated by " | " instead of " |".


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8721 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-12 16:17:57 +00:00
skotlex
ebc1f2bc02 - Moved the packet_len variable in login.c to the login parse case, since it's used nowhere else.
- timestamp check speed-up in showmsg.c
- Swapped the blank ShowMessage on server startup to a printf
- Homunculus intimacy will go back to 500 on evolution.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8719 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-12 14:21:02 +00:00