1937 Commits

Author SHA1 Message Date
skotlex
6abed14141 - Updated mob_db.sql to current mob_db.txt data.
- Some cleaning on chrif.c
- The char-server will allow off-line character saves when said char is tagged for final-save (this is the scenario when the char-map reconnect).


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7722 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-18 02:41:10 +00:00
skotlex
01e97262a9 - Should have fixed the Cart Termination damage code to be scaled correctly when you change the max cart weight. Thanks to The Ultra Mage for the error clarification.
- Implemented Grandcross weird property where if there's noone on the path it'll hit twice for the skill's reported damage, and when there is (or you cant knockback the target) it'll do a splash attack that hits twice for 500% to all affected targets. 
- Some cleaning of the combo code. TK Rankers will now get their combo-time extended each time they trigger a kick, enabling them to do "unlimited combos".
- Modified the autosave function to use a sweep across the player db instead of across connected clients. This will cause non-connected players (like autotraders) to also be saved on a regular interval, may help with possible data-loss from said characters on unclean shutdowns.
- Added function map_foreachpc
- Removed the code that forces aggressive mobs to go after a Homun instead of their master (no reason why there should be such a condition).


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7721 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-17 16:16:51 +00:00
Euph
377f6c281d atcommand_follow is now more verbose.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7711 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-17 07:49:28 +00:00
DracoRPG
a2c64b8d1e Skill lv up fix
Manually updated VS8 char_sql project

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7710 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-17 07:40:12 +00:00
Vicious
1090167f97 orn's lil fix
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7707 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-17 01:53:59 +00:00
DracoRPG
15dd140846 Orn's and Albator's Homunculus system, finally, YAY!!
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7706 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-17 00:15:33 +00:00
skotlex
07f9779c15 - Kaahi no longer shows the heal effect to everyone.
- Eska no will cause defense to change randomly every second.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7666 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-14 01:36:13 +00:00
skotlex
165064e8ea - Tuned up some more NJ_KAENSIN based on Tharis's information.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7665 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-14 01:15:08 +00:00
skotlex
28c4de2966 - Corrected NJ_KAENSIN as per description.
- Fixed a leaking map_freeblocklock on skill_del_unitgroup.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7659 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-13 20:25:13 +00:00
skotlex
72a2139527 - Changed the default save interval to 5 minutes. Added support for specifying fixed save-intervals by using negative values. EG:
- Save interval set to 300 (5 minutes): all characters will be saved in equal time-slots, so that everyone is saved every 5 minutes regardless of number of players online.
- Save interval set to -1000 (1000 ms): One character will be saved every second, regardless of amount of characters online.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7657 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-13 17:05:48 +00:00
skotlex
d984baa013 - Fixed @storeall and @charstoreall failing when the target character already had the storage open.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7656 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-13 16:33:44 +00:00
skotlex
a4103cbab4 - Reverted temporarily the Cart Termination equation until it can be fixed...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7655 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-13 15:19:15 +00:00
skotlex
6ec9580e34 - Fixed the value range checks added by Zido on pc_bonus (some of them were even redundant...)
- Fixed script command "recovery".


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7654 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-13 13:55:58 +00:00
Zido
4bbbca1cdb - More typos... What's wrong with me today??
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7650 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-13 01:19:58 +00:00
Zido
65d21c1011 - Fixed a small typo in my code
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7649 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-13 01:17:11 +00:00
Zido
52ccb9e0b8 - Added negative value in bonus exploit fix for more stat bonuses
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7648 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-12 23:09:55 +00:00
Zido
efe9c7901d - Fixed negative value exploit (view changelog)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7647 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-12 22:25:24 +00:00
skotlex
5f5693bfa3 - Recoded NJ_BAKUENRYU to behave as I understand it best from the skill-description (since Haplo told me this skill doesn't really has video information or anything...)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7644 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-12 21:26:37 +00:00
skotlex
8cc2239aa1 - Fixed NJ_TATAMIGAESHI to use ground-tiles rather than "for each in path" calls. The skill should be working correctly now, except for the fact that the correct "unit id" is missing (this is what would give the ground tile it's correct display). Temporarily it is using 0xba until the correct value is found.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7641 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-12 21:02:47 +00:00
skotlex
effebfcfa1 - Added back the undead check to turn undead/resurrection to prevent damaging non-undead targets, removed it from the battle damage section.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7639 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-12 20:26:33 +00:00
skotlex
16ee0110a2 - Resurrection will now silently fail when used on non-undead + not-dead characters.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7638 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-12 20:08:38 +00:00
skotlex
fcd96a1fff - Poem of bragi/magic String's base delay reduction at level 10 (or above) is now 50% instead of 3*lv%.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7636 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-12 17:54:03 +00:00
skotlex
68dc3d890b - status_damage will no longer fail when the target is not on a map AND the flag is 2 (charge rather than damage). Fixes SP-draining status changes ending suddenly when in-between maps.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7635 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-12 14:44:02 +00:00
skotlex
670bd31159 - Fixed the IP value being apparently incorrectly casted before inserting into the loginlog table on "connect success" events.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7634 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-12 14:31:23 +00:00
skotlex
8580fff963 - Fixed Cart Termination's damage.
- Added the missing check to remove character from memory when logging out and using the charsave_method which saves character map-server-side.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7631 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-12 13:44:42 +00:00
skotlex
a2b96bc621 - Fixed inverted check which was preventing you from buying more than 1 from any stackable item....
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7627 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-12 02:40:35 +00:00
skotlex
b69c506ca7 - Oops, should have fixed the crash in intif gm message.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7626 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-12 02:30:26 +00:00
skotlex
52718a90ec - Fixed GTB card only working while you had a status-change active.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7623 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-11 23:24:26 +00:00
skotlex
aced45da67 - Fixed being unable to compound cards in armor.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7622 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-11 22:34:47 +00:00
skotlex
305fa67812 - Made @monsterignore be an universal ignore. Means you cannot be targetted as an enemy by anything. Also added alias "@battleignore" which does the same as monsterignore.
- Fixed magic power setting your min matk as max-matk.
- Modified the packets involved in @fakename in hopes it'll refresh correctly on nearby clients now.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7620 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-11 20:55:54 +00:00
skotlex
14866f881c - Fixed map-sql compilation issue ~.~;
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7619 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-11 20:34:05 +00:00
skotlex
b29fb98681 - Fixed mob.c compilation...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7618 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-11 20:21:17 +00:00
skotlex
cd8587dc4d - Fixed clif_parse not checking for func_parse before sending data to the connected clients. This in turn required various code-rewrites in:
- duel related messaging functions (added clif targets DUEL/DUEL_WOS).
- intif whisper to gm function
- day/night timers
- Rewrote the parse_console function to stop allocating/deallocating memory on every call.
- Modified chrif_charselectreq to receive the player's ip among the data.
- Added function clif_disp_message, which is the same as clif_disp_onlyself, except you can specify the targets (it sends a guild-chat packet)


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7617 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-11 20:16:55 +00:00
skotlex
a56e8e9f64 - Added a clif_fixpos packet when a mob cancels walking due to using a idle/walk/chase skill.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7615 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-11 17:51:30 +00:00
skotlex
b782ed4f8e - Fixed the subele bonus (elemental reduction) being applied to the element of the attacker instead of the element of the attack.
- mob skills now won't trigger on unit_stopwalking calls.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7614 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-11 17:44:58 +00:00
skotlex
a6c3f3a1fc - Coded @reset.
- Reenabled @changesex
- Added function pet_create_egg which handles creating pet eggs correctly (when passed item id is indeed a valid petegg). Applied this on @createitem and getitem.
- Cleaned up code of @item
- Added define UNKNOWN_ITEM_ID (512 = apple)
- Added IT_* enumation item_Types to identify said data from items.
- Cleaned up the itemdb_isequip functions. itemdb_isequip will now return if the item is equipable by players, itemdb_isstackable returns if the item can be stacked, and itemdb_isidentified returns if the item should drop identified.
- Added defines CARD0_PET/CARD0_FORGE/CARD0_CREATED to identify if a given item has "invalid" cards, added define function itemdb_isspecial to simplify this check.
- Removed itemdb.c considering item ids above 20000 as invalid.
- Cleaned up script commands getitem and card-counting related ones. 
- Cleaned up a bit more pc_isequip


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7613 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-11 16:32:37 +00:00
blackhole89
c6d03de26b warpportal(x,y,"tmap",tx,ty) - Creates a skill warp portal on the map. battle_check_target modified to allow NPC-owned skill units to proceed.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7612 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-11 15:58:40 +00:00
skotlex
15de0150a7 - Fixed login-sql compilation issue ~.~;
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7610 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-11 13:53:20 +00:00
skotlex
eabf215be3 - Modified the login-sql server to do the ip-ban check only on the auth-packets instead of on every packet.
- Modified Cart Termination so the damage is scaled accordingly with the max-cart-weight setting (so max damage is always the same). Thanks to aresdfe for the idea.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7609 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-11 13:51:20 +00:00
skotlex
376004a4f4 - Corrected Frost Nova's splash range and Land Protector's cast range. Thanks to Haplo.
- Fixed Beast Strafing not having inf2 = 512 (to make it a target-auto-select skill)
- Fixed the duration of Land Protector, removed unusued time2 value from their entries in skill_cast_db. Thanks to Haplo.
- Corrected Warp Portal being unable to warp people who are standing on it on the moment it triggers.
- Fixed @follow stopping the moment you are warped.
- Fixed pc_additem messing with the equip field of the passed item data. Fixes the famous "equip stuff on your arrow slot" bug.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7607 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-11 02:49:44 +00:00
skotlex
1c286a8da4 - Fixed cart-termination crashing the server if you used level 16 of it.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7606 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-11 00:51:01 +00:00
skotlex
f88913a9f0 - Fixed check_connect_login_server check in char-sql server. Fixes char-server not reconnecting to the login server.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7605 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-10 23:53:16 +00:00
skotlex
ef4320d056 - Login-sql server will no longer change an account's state to "7" when banning a player. This should fix being able to use @ban to clear out a @blocked player. Players will now be identified as banned only through the banned-until timestamp.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7604 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-10 20:44:10 +00:00
skotlex
77131c503c - Fixed a crash when using Gospel... gomen.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7603 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-10 20:08:25 +00:00
skotlex
44369f069e - Fixed SQL compilation of the char-SQL server... (I need SQL installed at work ~.~)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7602 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-10 20:03:18 +00:00
skotlex
10cda8e929 - The on-place function won't be invoked on setting ground skills if the group's tick is greater than the current tick. As Buuyo pointed out, this should fix Sanctuary and Gospel taking effect inmediately instead of after "x" amount of ms as they should.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7601 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-10 19:57:47 +00:00
skotlex
924284f1b9 - Added login-char packet 0x2737. Sets all characters offline (login-server side).
- Cleaned up char server "set all offline" implementation to remove only characters from the map-server from which the packet was invoked. It will also now correctly kick/set-character offline from the map-server if they are connected.
- Cleaned up the char-sql reconnect code. It no longer sets everyone to offline.
- Removed setting "kick_on_disconnect", servers will no longer kick characters out when there's a disconnection. Instead, it'll use the most logical approach: Set characters into a "lost" state when there's a disconnection, on reconnect, resent the list of online-characters, do a sync, and let the difference be characters to be removed. Also, the map-server won't release character data until it's saved and the ack returns from the char-server to prevent data loss (all this data is resent on reconnect for saving anyway).


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7600 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-10 19:41:25 +00:00
skotlex
9445ee19ec - Added a check in pc_equipitem so that when switching weapons and you have the skill_range_by_weapon setting active, the skill info block (which includes range) will be resent when the new weapon to equip has a range different than the previous one.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7599 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-10 16:57:34 +00:00
skotlex
7040dc1031 - One closer inspection, removed that clear in itemdb_reload for a foreach call again. And modified itemdb_load to scrap the dummy item entry from the item_db and replace it with proper data for the item.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7597 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-10 15:16:20 +00:00
skotlex
4bbce8d776 - itemdb_reload will clear the itemdb before reloading info instead of only clearing the scripts now.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7596 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-10 14:54:44 +00:00