summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2006-09-29- Spurt state will now trigger on Soul Linkers as well.skotlex1-2/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8902 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-29- Changed some numbers for their respective constants in battle.cskotlex1-6/+6
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8901 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-29- Added a check un unit_run when unit_walktoxy fails. Should fix running ↵skotlex2-2/+16
getting you stuck sometimes when running on diagonals near obstacles. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8900 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-28- Merged the necessary changes to make the script engine support negative ↵skotlex2-14/+17
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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8891 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-27- Cleaned up status_get_party/guild_id, it should also fix a possible crash ↵skotlex1-23/+39
when invoking such a functio on a masterless pet. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8889 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-27- Merged some splash changes from stable. Sharp-Shooting will now display a ↵skotlex3-8/+19
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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8887 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-26- Yet again messed with the packet sent during a splash attack, but this ↵skotlex1-19/+7
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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8877 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-26- Added function skill_dance_switch which handles converting overlapping ↵skotlex1-73/+89
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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8876 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-26- Updated battle_check_target so that non-offensive skills cannot be used on ↵skotlex3-29/+12
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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8875 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-25- Added an ugly check so that Heal will display 0 when healing a berserked ↵skotlex1-14/+16
character (and it will again display full heal amount when healing a player who's at full life) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8869 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-25- Disabled again client-self-muting since it's causing too much trouble.skotlex1-29/+8
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8868 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-25- Merged FlavioJS's script patch which should fix stuff like "mes ();" ↵skotlex1-1/+9
causing crashes. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8867 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-25- Fixed item group 35 (lottobox) in item_misc.txtskotlex1-1/+4
- Item group reading will now complain when a line doesn't has enough fields. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8865 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-25- Oops, fixed a pretty bad typo on the fix for #baselvupskotlex1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8863 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-25- Fixed #baselevelup adding instead of substracting status points when used ↵skotlex1-1/+3
with negative levels. Also made it reset your stats if there wasn't enough to substract from. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8861 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-25- Removed config setting allow_atcommand_when_mute as it's no longer used ↵skotlex4-6/+0
(see manner_system in misc.conf for it's replacement) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8860 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-25- Applied FlavioJS's suggestion of expanding WFIFOPOS to also take the ↵skotlex1-13/+9
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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8858 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-25- Changed the order of packets in TK_HIGHJUMP, may fix the reports of ↵skotlex2-16/+16
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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8857 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-24- When the code auto-guesses that a skill should require ammo, it will ↵skotlex1-1/+1
accept any type of ammo for using it instead of only arrows. Fixes Magnum Break usage on Gunslingers. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8852 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-22- Probably fixed a signed/unsigned mismatch warning on the new socket code.skotlex1-2/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8848 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-22- Fixed the "map server claims to have char online, but this other map ↵skotlex2-5/+13
server also has it tagged as online" message triggering in some cases where it shouldn't. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8846 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-22- Fixed a bug on "select" when skipping empty entries when the selected ↵skotlex1-1/+1
entry is the last. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8839 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-21- Improved a bit RFIFOFLUSH as suggested by Harbin.skotlex2-3/+10
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8838 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-21- Removed the unrecognized class error messages from pc_mapid2jobid and ↵skotlex2-5/+1
pc_jobid2mapid since these can now trigger normally through the use of the script functions roclass and eaclass. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8833 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-20- A mob's HP is set temporarily to 0 before invoking it's on-death script, ↵skotlex2-14/+22
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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8829 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-20- Cleaned up some more party_sub_count, so that idle_no_share will also ↵skotlex1-4/+5
disable people in a chat or vending from counting towards the total. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8827 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-20- Fixed party_sub_count (TK_POWER) failing when the idle_no_share setting ↵skotlex2-3/+9
was disabled. - Enabled Star Gladiators and Soul Linkers to do /doridori git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8824 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-20- Fixed nocommand mapflag causing the "you can't use commands on this map" ↵skotlex2-18/+22
message to trigger one very single chat, instead of only for actual @/# command invocation. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8817 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-19- Added support for skipping empty string menu entries for the select() ↵skotlex1-1/+6
command (just as `menu` has it already) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8816 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-19- Corrected undisguise not working if you don't pass any parameters to it ↵skotlex1-1/+1
(which is how it should be) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8814 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-19- Fixed pc_set_hate_mob letting you place mobs on any of the three positions ↵skotlex1-0/+2
regardless of size :/ git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8813 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-19- Made the report_Src function also report name of non-bl objects.skotlex7-36/+19
- 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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8812 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-19- Simplified the code for @storageskotlex2-12/+24
- 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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8810 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-19Fixed some gcc4 warnings (oops ^^)toms1-1/+3
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8809 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-19Fixed some gcc4 warningstoms1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8808 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-19Fixed some gcc4 warningstoms5-6/+7
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8807 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-19- Fixed Spider Web fire damage bonus.skotlex3-16/+16
- 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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8801 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-18- Merged Meruru's update to socket.c, which includes a rewritten parse ↵skotlex1-213/+168
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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8799 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-18- High-Jump is usable everywhere now, except that on maps where it ↵skotlex3-18/+25
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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8797 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-18- Moved the equipment/card resistances to status ailments outside of ↵skotlex2-12/+15
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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8795 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-18- Modified the Asura code (again), hopefully movement sprite issues are ↵skotlex2-5/+23
fixed now git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8793 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-18- Reloading scripts will no longer eliminate mobs with no respawn data. ↵skotlex3-15/+13
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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8792 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-18- Reenabled client requesting to self mute, as the whole knockback packet ↵skotlex1-4/+2
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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8787 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-17- Fixed NPC_INVISIBLE's cloak ending after attacking once.skotlex4-13/+10
- 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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8782 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-16- Moved some speed adjustments in status_calc_pc to where they belong.skotlex1-8/+8
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8781 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-16- Added monster_ai&256. When set, a monster will pick a random starting ↵skotlex1-2/+2
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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8778 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-16- Fixed the status change duration reduction equation was was totally wrong, ↵skotlex1-1/+1
thanks to k3dt git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8776 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-15- Now mobs won't do a distance check to lose their target on every ai ↵skotlex2-2/+2
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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8773 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-15- Reverted the Summon Flora change where all plants were being summoned in ↵skotlex2-38/+0
one go. - Removed some redundant code. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8772 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-15- Moved the weapon repair effect to where it belongs (after successfully ↵skotlex1-3/+2
repairing an item) - Added atcommand.conf entries for @adjgmlvl and @adjcmdlvl git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8770 54d463be-8e91-2dee-dedb-b68131a5f0ec