4143 Commits

Author SHA1 Message Date
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
skotlex
59fae741c3 - Baphomet splash damage will now hit nearby enemies regardless of flee (but the initial attack still has to connect for the splash to trigger)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8716 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-12 13:42:54 +00:00
Playtester
48576471a5 Final fix on Vesper's summoning behavior
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8715 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-12 09:41:04 +00:00
Playtester
9ed0c244fe Vesper only summons on attack
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8714 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-12 09:36:25 +00:00
Playtester
97b7ba1832 Fixed Vesper's summoning behavior
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8713 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-12 08:48:56 +00:00
skotlex
4ab82dd28b - Corrected name of config settings pc_luk_status_def, mob_luk_status_def
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8712 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-12 04:26:21 +00:00
skotlex
27c9a6fe5a - Modified set_nonblocking and setsocketoptions in socket.c, using eApp's code as reference. Hopefully should improve performance somewhat.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8710 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-11 21:32:26 +00:00
skotlex
e5aacfe978 - CG_MOONLIT is no longer castable in WoE grounds.
- Changed the default of enable_baseatk to 9 (player + homun)
- Changed the default of enable_perfect_flee to 1 (players only)


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8708 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-11 20:59:12 +00:00
skotlex
4cd82897d0 - Added a comment explaining what a comment is to login/char/map config files, as well as the main script config file.
- Modified SG_FEEL so that it works the same way that in Aegis (packet-wise)
- Added a comment to explain how to "remove" a string variable from the msg_athena entries.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8707 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-11 16:20:40 +00:00
skotlex
4bec54f154 - Summoned and slave mobs won't show up on @showmobs anymore.
- Moved Spider Web damage bonus from battle_calc_damage to battle_attr_fix, so that damage will be doubled based on the actual attack element.
- Adjusted autospell cards to trigger only on physical weapon attacks.
- Adjusted a bit the heal code, it should now show either the full heal amount, or 0, depending on whether the target was healed at all or not (this also means it shows 0 if you try to heal a full-life character.. but it's the closest I've gotten to make it display 0 on Berserked chars)
- Memorize will be consumed even on instant cast spells now.
- Berserk will end now if hit and remaining hp is less or equal to 100.
- Guild Aura will be removed on sc-load to prevent Guild Masters from getting that bonus from the old implementation.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8705 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-11 14:27:49 +00:00
Lupus
b5031d4255 extracted custom umbalian quests to custom folder
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8704 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-11 11:16:31 +00:00
Playtester
c12d13fd06 Added D-Kalck's fix of the TXT -> SQL converter
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8702 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-11 10:31:49 +00:00
Lupus
f65ed87611 * Added back Guild Storage. Confirmed kRO feature
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8701 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-11 08:39:41 +00:00
Lupus
59e39f1b71 git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8698 54d463be-8e91-2dee-dedb-b68131a5f0ec 2006-09-11 05:01:48 +00:00
Playtester
cfd4ffb7e2 Removed NPC_Powerup from Dimik
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8695 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-10 22:58:57 +00:00
Playtester
05831ec6a7 Sql file...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8694 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-10 22:33:48 +00:00
Playtester
2d454e6be1 More accurate guess on Strouf's dex
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8693 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-10 10:33:11 +00:00
Playtester
225c1a332b * Official Byalan F5 spawns
- also updated eamobs accordingly

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8692 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-10 10:19:09 +00:00
Playtester
e7d05c3c05 Doubled Strouf's dex
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8691 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-10 10:04:48 +00:00
Playtester
7fcc044420 Updated item_db.sql and mob_db.sql
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8690 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-10 09:59:21 +00:00
Playtester
c56aa4c5d7 Guard is now equippable by every job
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8689 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-10 09:10:26 +00:00
skotlex
e232baea00 - Added a crash protection in case mapfreeblock unlock tries to free a null pointer.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8688 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-09 17:32:40 +00:00
skotlex
2487548c72 - Moved perfect_hiding from state to special_state, so that it clears out when you remove your pet.
- Probably fixed the Taekwon Rest skills.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8687 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-09 16:52:24 +00:00
skotlex
2b63a85789 - Fixed a npc-timer memory leak on npc_unload ("[Warning]: ers_obj_destroy: X entries missing, continuing destruction. Manager for entries of size 16.")
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8686 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-09 14:11:02 +00:00
Playtester
eea4e2fc70 Removed noteleport flags from Geffenia maps
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8684 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-09 09:10:21 +00:00
skotlex
750d6613bf - Fixed the db/const.txt constant for EAJ_NINJA
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8683 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-09 02:16:30 +00:00
Playtester
8a991909d4 * Adjusted various Rachel mob stats and skills
* Adjusted Rachel spawns

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8682 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-08 22:51:25 +00:00
skotlex
99aca1182b - Unified the rest and ganstar paradise code into a single function.
- Moved the Happy State trigger to the regen function, it now triggers at the same time the SPTIME does.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8681 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-08 19:37:56 +00:00
skotlex
0d30562da5 - Cleaned up SG_HATE to use a new function, pc_set_hate_mob to handle setting.
- Updated pc_authok to initialize all mob_hate vars to -1
- Updated clif_hate_mob to receive the hate-type instead of skill-lv.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8680 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-08 18:45:51 +00:00
skotlex
50e0a52c9b - Removed sg_miracle_skill_duration, replaced it with sg_miracle_skill_min_duration and sg_miracle_skill_max_duration, to specify a range for the duration of the skill.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8679 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-08 17:56:10 +00:00
Playtester
71fb3f4c57 Fixed Einbroch Headgear shop
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8677 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-08 17:25:37 +00:00
Playtester
24aa220541 Added missing Ice Dungeon mob skills
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8676 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-08 16:43:11 +00:00
skotlex
6db8420f3c - Added upgrade_svn8675.sql in case, for some reason, your guild table still has the emblem_data field as a 'blob' with "NOT NULL" specified.
- Some minor cleanups.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8675 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-08 16:36:48 +00:00
Playtester
630af02756 Added the missing Rachel mob skills
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8674 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-08 15:08:28 +00:00
skotlex
56127c4b8d - Fixed alliance/opposition making not cancelling out map-server-side when the guild already had max number of alliances/oppositions (thanks to k3dt)
- Cleaned a bit the code for SG_*_ANGER
- Fixed a warning in clif.c


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8673 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-08 13:34:38 +00:00
Playtester
a9cb2fabae Removed dMotion from Iceicle
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8672 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-08 13:21:45 +00:00
Playtester
f7509fa398 * Official Rachel mob stats
- progress 30%

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8671 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-08 13:05:24 +00:00
Playtester
06921bfd56 * Official Rachel mob stats
- progress 20%

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8670 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-08 12:00:16 +00:00
skotlex
5b7601f3db - Fixed SC_BERSERK setting Hp to 100 when dispelled by unnatural means (eg: wand of hermod)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8668 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-08 00:25:51 +00:00
Playtester
d2ee4585c2 Small typo in spawn file
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8666 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-07 21:33:44 +00:00