summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2006-04-16- Fixed char-sql server still reading the old lanconfig format rather than ↵skotlex1-7/+10
the new one. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6123 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-16- Fixed Magnum break's animation not showing if the fire-elemental bonus did ↵skotlex3-8/+5
not start. - Removed some last traces of waterlevel reading. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6120 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-16- Removed water_height.txt reading (since it is always done from the rsw now)skotlex2-45/+12
- Fixed a possible crash in grfio_find_file - Corrected water-level-reading to account for a return of null from the previously mentioned function git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6117 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-16Skot please fix the remaining code by removing the fake npc after sending ↵Lance1-1/+1
the input. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6116 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-16Initialization in send_fake_npc. Still needs fixing.Lance1-0/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6115 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-16- Fixed mysql ping setting being in minutes rather than hours.skotlex7-43/+40
- Removed npc_event_sub from npc.h and moved it to npc.c - Cleaned up #warp to prevent spitting non-walkable tile warnings. - Changed the meaning of msg_athena 2, it is now "invalid target cell, randomizing". git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6114 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-16Please fix my packets :SLance1-2/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6113 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-16* Sending fake npc for inputs and menus for NPC without map coordinates.Lance2-1/+23
* Fixed npc.h compiler warnings. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6112 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-16Optimized. (What am I thinking)Lance1-4/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6111 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-16Fix my fix.Lance1-3/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6110 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-16* Missing lines in npc_parse_script!Lance1-0/+3
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6109 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-16* Experimental npc_event_doall_sub with queue and npc_id allocation when needed.Lance2-29/+42
* Added warnings to npc_scriptcont for easier debugging. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6106 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-16- Fixed wrong check of Deluge + Suiton which broke the water-requirement ↵skotlex1-1/+1
check for skills. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6103 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-16- Cleared ud->target on remove-map, it should fix the phantom mob sprite issue.skotlex1-3/+7
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6102 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-16* Temperory fixed compiler warnings/errors. Please compile before commiting. ↵Lance4-2/+9
[Lance] git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6098 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-15- Removed the ->prev != NULL checks in skill_attack due to the fact that the ↵skotlex4-69/+52
code should check elsewhere how it should behave (eg: if traps are not cleared on death, stepping on one afterwards SHOULD cause damage) - Removed use of packet 0x1c9 for skill_unit display, except for Graffiti (which is the only unit which requires the much larger packet) - clif_getareachar_skillunit will sent the unit_id of UNT_ATTACK_SKILLS for traps (this is to prevent them from displaying on the client) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6091 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-15Added an update by ALZ. Refer to changelog.Zido14-5589/+5664
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6079 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-14- Fixed being able to do all the stuff you shouldn't be able to during the ↵skotlex1-2/+2
petrifying state. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6059 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-13- Changed the Warning of char-server disconnected to a status in the ↵skotlex1-1/+1
login-TXT server (SQL already had it fixed) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6050 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-13- Fixed the plugin's makefile to make it compile cleanlyskotlex2-4/+8
- Added used of Show* stuff in sig.c rather than printf. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6048 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-13- Added an Info message when pinging the SQL servers.skotlex5-3806/+3806
- Changed line terminators back to *nix on map.c because otherwise it's impossible to run a diff between the stable and trunk versions of the file. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6043 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-13- Fixed crash when looking for SC_MIRACLE in battle_calc_weapon_attackskotlex3-19/+22
- Some more standard C code cleanups. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6038 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-13- Cleaned atcommand_param against overflows and also to make it standard C ↵skotlex2-30/+53
so it may compile with the Borland C. - Modified Charcommand_stats to make it standard C as well. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6037 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-13- Halved the aftercast delay of auto-casted spells.skotlex1-4/+4
- Allowed auto-spells to retrigger themselves. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6028 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-13- Changed slave chasing from using unit_walktobl to map_search_freecell + ↵skotlex7-14/+16
unit_walktoxy, since the previous behaviour makes all slaves always end up on the same cell. - Changed some function declarations to take x,y arguments as short rather than int. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6024 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-12- Added cast time to pick stone of 3 secs and 500ms delayskotlex2-7/+26
- Removed area of effect of Assumptio. - Added "can't act" delay update when an auto-spell triggers. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6021 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-12- Expanded the warp warning so that it also warns when a warps takes you to ↵skotlex1-9/+14
a non-walkable tile. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6019 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-12- Simplified the mob-drops structure by using a single timer with a linked ↵skotlex2-75/+81
list of drops instead of separate timers for each drop. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6014 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-12- Added special_state changebase to identify when a character has a ↵skotlex3-4/+8
special-view associated with some equipment to correctly revert the look when you take off said equipment (fixes tuxedo/wedding dress when you use modify_wedding_display: yes) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6002 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-12- Removed the piece of code that "guesses" that job classes between 24 and ↵skotlex1-2/+0
68 are advanced classes from mob_avail reading since they conflict with NJ/GS. Use the correct class numbers from now on! git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6000 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-12- Fixed Landmine's level 1 duration.skotlex2-32/+17
- Cleaned up implementation of BlastMine and Claymore Trap. - Added Freezing trap information to battle_calc_weapon attack. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5998 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-11- Changed clif_damage/clif_skill_damage to return the walk-delay based on ↵skotlex8-128/+171
the passed on damage-delay. - Changed battle_damage to accept the walk-delay as well. - Removed the walk-delay timers from unit.c, merged them to battle_delay_damage. - Traps will not be displayed when you walk within their range. - Added HT_DETECTING revealing traps. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5997 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-11- Added ers handling for skill_timerskill structures.skotlex4-87/+87
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5995 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-11- You don't get critical'ed when in counter-attack stance anymore.skotlex1-2/+3
- Changed the default counter-type to "always critical". git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5992 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-11- Implemented use of ers for skill_unit_groups to reduce memory usage. NEEDS ↵skotlex7-89/+101
TESTING git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5991 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-11- Modified battle_check_range to do a path-check on distances less than 2 ↵skotlex1-1/+1
(rather than 3) to avoid being able to hit through walls. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5988 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-11- Modified unit_walktoxy_sub to always move at least one cell when a large ↵skotlex1-10/+5
chaserange is specified to prevent possible infinite loops where attack_timer says you are not within range, but unit_walktoxy says you are. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5987 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-11- Fixed various include lines in the map server (of the type <include ↵skotlex5-13/+14
"nullpo.h"> -> <include "../common/nullpo.h">) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5985 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-11- Fixed Looted items always dropping in quantities of 1.skotlex2-2/+3
- Removed the check that deletes Magnus Exorcism cells after they hit once. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5984 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-11* Temperory replaced strtoll to strtoul until the function changes.Lance1-2/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5983 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-11- Multiple optimizations to the unit_data auto-chase upgrade, also ↵skotlex7-157/+129
simplified the mob and pet ai routines. - Simplified the walk routines to half the number of timers required for walking. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5982 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-11- Finished fixing the unit_data auto-case update. Still need to do some ↵skotlex1-3/+13
optimizations... but the current code-base should be usable. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5981 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-11- Fixes to the unit_data update that lets characters auto-chase while attacking.skotlex5-30/+22
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5980 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-10- Modified the unit_data structure to handle automatically switching between ↵skotlex8-237/+272
chasing and attacking a character. Note that it's a work in progress and not yet properly tested/finished... git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5979 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-10- Updated the subnet support to not require specifying the subnet mask, it ↵skotlex5-30/+39
is auto-acquired from the char/map IP and the subnet-mask. - skill_wall_check defaults to yes now. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5976 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-09- Added the missing last_thinktime initialization to pets.skotlex2-1/+2
- Reverted the change in skill_Wall_check to let skills go over pits. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5973 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-09- Changed use of strtol to strtoll as strtol's result is just a signed int, ↵skotlex1-2/+2
and we need to parse values above 0x7FFFFFFF - Corrected Knives being usable by Gunslinger. SQL users use upgrade_svn5972.sql to ugprade that. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5972 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-09- Modified @warp/@rura to prevent causing pc_setpos position error messages.skotlex2-23/+17
- Fixed the mob's last_thinktime not being updated on mob_spawn, causing them to not "think". git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5971 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-09- Fixed @npcmove not sending the correct packets to make the moving refresh ↵skotlex4-7/+9
client-side. - Fixed mobs with aggressive + looter mode never looting. - skill_wall_check now also checks for pits so that skill effects don't go through them. - Now you can't leave/be-kicked from a guild inside guild castles. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5969 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-09- Small code cleanups. One should lower a bit function overhead when using ↵skotlex3-4/+2
mob_ai&32 git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5967 54d463be-8e91-2dee-dedb-b68131a5f0ec