skotlex
a23e7c9802
- Added a check un unit_run when unit_walktoxy fails. Should fix running getting you stuck sometimes when running on diagonals near obstacles.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8900 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-29 13:57:41 +00:00
skotlex
f7a1d44c3e
- Merged the necessary changes to make the script engine support negative constants (db/const.txt). Thanks to Rayce (from jA) for the code.
...
- Cleaned up the skill.c code to take into account when skill_unitsetting returns null (skill failed), fixes a possible crash with Wand of Hermode
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8891 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-28 13:26:40 +00:00
skotlex
32b53e9ba2
- Cleaned up status_get_party/guild_id, it should also fix a possible crash when invoking such a functio on a masterless pet.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8889 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-27 16:52:41 +00:00
skotlex
9eeaa9cb7e
- Merged some splash changes from stable. Sharp-Shooting will now display a skill animation.
...
- The no_spawn_on_player setting will now also work for static mobs, but only if the setting is set to 100 or higher.
- Some small cleanups.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8887 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-27 15:07:55 +00:00
skotlex
962762114b
- Yet again messed with the packet sent during a splash attack, but this time taking into account the packets that eA was using some many revisions ago. Tests are needed to see if Magnum Break/Grimtooth don't spam the skill animation anymore, and to see if GrandCross didn't break it's animation as well.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8877 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-26 19:35:29 +00:00
skotlex
faa1896447
- Added function skill_dance_switch which handles converting overlapping song/dances to dissonance/ugly dance. It should make the overlapping area now behave completely like the mentioned song/dances (taking into account interval and target type changes).
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8876 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-26 18:53:55 +00:00
skotlex
c2794a9e1b
- Updated battle_check_target so that non-offensive skills cannot be used on a homun except for the homun and it's master.
...
- Steal zeny won't work on treasure chests now.
- Small optimization in the dual-wielding check.
- Some cleaning in char_sql/itemdb.c
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8875 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-26 13:59:21 +00:00
skotlex
25e8e6c1ce
- Added an ugly check so that Heal will display 0 when healing a berserked character (and it will again display full heal amount when healing a player who's at full life)
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8869 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-25 21:40:02 +00:00
skotlex
54f5c903d5
- Disabled again client-self-muting since it's causing too much trouble.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8868 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-25 21:35:10 +00:00
skotlex
1bdee644f1
- Merged FlavioJS's script patch which should fix stuff like "mes ();" causing crashes.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8867 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-25 20:47:07 +00:00
skotlex
fc0f3b45bf
- Fixed item group 35 (lottobox) in item_misc.txt
...
- Item group reading will now complain when a line doesn't has enough fields.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8865 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-25 20:03:58 +00:00
skotlex
7637480204
- Oops, fixed a pretty bad typo on the fix for #baselvup
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8863 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-25 15:20:42 +00:00
skotlex
7025584abe
- Fixed #baselevelup adding instead of substracting status points when used with negative levels. Also made it reset your stats if there wasn't enough to substract from.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8861 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-25 15:17:12 +00:00
skotlex
2653525969
- Removed config setting allow_atcommand_when_mute as it's no longer used (see manner_system in misc.conf for it's replacement)
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8860 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-25 15:08:26 +00:00
skotlex
45d40fd4d0
- Applied FlavioJS's suggestion of expanding WFIFOPOS to also take the direction. This had the side effect of fixing the direction missing from the mob spawn packet, which explains why all npcs face north when you are within sight while doing a @reloadscript.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8858 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-25 14:06:38 +00:00
skotlex
c9f213bc82
- Changed the order of packets in TK_HIGHJUMP, may fix the reports of getting stuck when jumping into a warp.
...
- Changed a bit the code of marionette control, where a redefined local variable may be the cause of mob-targetted Marionette Control stacking stats up.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8857 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-25 13:49:29 +00:00
skotlex
2c685ecbf4
- When the code auto-guesses that a skill should require ammo, it will accept any type of ammo for using it instead of only arrows. Fixes Magnum Break usage on Gunslingers.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8852 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-24 19:28:58 +00:00
skotlex
816e3fe096
- Probably fixed a signed/unsigned mismatch warning on the new socket code.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8848 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-22 19:22:21 +00:00
skotlex
ce8f45f670
- Fixed the "map server claims to have char online, but this other map server also has it tagged as online" message triggering in some cases where it shouldn't.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8846 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-22 13:53:54 +00:00
skotlex
3218162748
- Fixed a bug on "select" when skipping empty entries when the selected entry is the last.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8839 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-22 01:02:46 +00:00
skotlex
c616fec871
- Improved a bit RFIFOFLUSH as suggested by Harbin.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8838 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-21 19:10:31 +00:00
skotlex
c105112227
- Removed the unrecognized class error messages from pc_mapid2jobid and pc_jobid2mapid since these can now trigger normally through the use of the script functions roclass and eaclass.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8833 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-21 14:26:54 +00:00
skotlex
a4f893ed15
- A mob's HP is set temporarily to 0 before invoking it's on-death script, prevents said scripts being able to "rekill" the mob indefinitely (if stuff like killmonster is used within)
...
- Some small cleanups in chat.c
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8829 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-20 16:03:58 +00:00
skotlex
186f349ed7
- Cleaned up some more party_sub_count, so that idle_no_share will also disable people in a chat or vending from counting towards the total.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8827 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-20 14:30:06 +00:00
skotlex
361b384e12
- Fixed party_sub_count (TK_POWER) failing when the idle_no_share setting was disabled.
...
- Enabled Star Gladiators and Soul Linkers to do /doridori
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8824 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-20 13:48:51 +00:00
skotlex
7c23227861
- Fixed nocommand mapflag causing the "you can't use commands on this map" message to trigger one very single chat, instead of only for actual @/# command invocation.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8817 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-20 00:16:34 +00:00
skotlex
2beeeee85c
- Added support for skipping empty string menu entries for the select() command (just as menu
has it already)
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8816 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-19 23:06:42 +00:00
skotlex
c86c748d9d
- Corrected undisguise not working if you don't pass any parameters to it (which is how it should be)
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8814 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-19 19:06:19 +00:00
skotlex
370ab1a2da
- Fixed pc_set_hate_mob letting you place mobs on any of the three positions regardless of size :/
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8813 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-19 19:02:46 +00:00
skotlex
6630ebff98
- Made the report_Src function also report name of non-bl objects.
...
- The double continuation error will now display both scripts that triggered it.
- Loading the storage from the char-server will fail if player is already tagged in final save state.
- Removed setting ban_spoof_namer, sending invalid global-talk packets will now just kick the player out of the server.
- Added BL_NPC support to status_get_name
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8812 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-19 17:23:22 +00:00
skotlex
97eb6c01f9
- Simplified the code for @storage
...
- Added echoing messages back to self when using @/# commands on whispers and party/guild messages, to prevent the client from muting yourself.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8810 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-19 14:07:32 +00:00
toms
1390b25174
Fixed some gcc4 warnings (oops ^^)
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8809 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-19 13:35:33 +00:00
toms
5a0f0ae14c
Fixed some gcc4 warnings
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8808 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-19 13:29:30 +00:00
toms
19131abb68
Fixed some gcc4 warnings
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8807 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-19 13:25:39 +00:00
skotlex
df7e54c3df
- Fixed Spider Web fire damage bonus.
...
- Made Global chat always reply back to you even on @/# commands, this prevents the client from muting yourself due to "hack". However, this same fix isn't easily applicable to @ commands invoked from whispers or party/guild messages, those are still pending.
- Some fixes in socket.c
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8801 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-19 02:58:40 +00:00
skotlex
da13939d47
- Merged Meruru's update to socket.c, which includes a rewritten parse function, which should hopefully be more efficient than the previous code.
...
- The new code includes support for two config settings (packet_athena.txt): frame_size, which can be used to alter the logic packet-size allowed by the code, and mode_neg, which when set to yes, sets TCP_NODELAY on all connections (defaults to yes).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8799 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-18 22:28:07 +00:00
skotlex
0cedd1e5f4
- High-Jump is usable everywhere now, except that on maps where it previously failed, now will just make you jump in place.
...
- Fixed TK_RUN as per packets provided by AuronX.
- Corrected Ki Explosion to have range 1 and to take your weapon's element.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8797 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-18 18:36:36 +00:00
skotlex
0c181dc424
- Moved the equipment/card resistances to status ailments outside of status_get_sc_def, so that they are applied only to rate, not duration.
...
- Due to this, the max sc resistance settings (battle/status.conf) no longer apply to equipment/card-granted resistances.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8795 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-18 15:36:00 +00:00
skotlex
aa84d16456
- Modified the Asura code (again), hopefully movement sprite issues are fixed now
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8793 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-18 15:09:30 +00:00
skotlex
ee19937202
- Reloading scripts will no longer eliminate mobs with no respawn data. Watch out for duplicating Treasure Boxes?
...
- Some cleaning of npc_final
- Made speed_add_rate a linearly stacking increase.
- Corrected a possible overflow when using show_mob_info to display the mob's up as a percent.
- Corrected the documentation for checkoption/checkoption1/checkoption2
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8792 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-18 14:43:04 +00:00
skotlex
81530c4ef9
- Reenabled client requesting to self mute, as the whole knockback packet issues of the past which were causing players to mute themselves when being knockback is no longer there.
...
- Changed NPC_CHANGEUNDEAD from a self skill to a targetted skill. Changed it's duration to 30 secs.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8787 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-18 00:35:25 +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
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
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
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