1317 Commits

Author SHA1 Message Date
skotlex
b1a0b58110 - Changed the look field of all arrows to 1.
- Added column "RequiredArrowType" to skill_require_db, set to 1 all arrow-based skills.
- Added support for ArrowType requirement on skills. It checks for having an item equipped on the arrow-slot who's view has to match with the required arrow-type (works the same way it does for weapons).
- Skills will automatically be ranged and arrow-types when they have a arrow-requirement.
- Skills will automatically consume arrows if used with a bow and the skill is an attack weapon-based skill even if the skill_require_db doesn't specifies arrow requirements (this is for stuff like backstab used with bows)


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5829 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-31 17:22:06 +00:00
skotlex
e19503185b - Fixed an infinite recursion in the Wedding Recall skills.
- UNT_ATTACK_SKILLS unit packets won't be sent to the client as they are supposed to be invisible anyway.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5828 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-31 15:53:36 +00:00
zido
3fe10a51be Started work on commands for the IRC Bot.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5827 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-31 15:38:42 +00:00
skotlex
248e4968c7 - Cleaned up battle_check_target to use the jA structure defines and get rid of the is_duel variable.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5826 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-31 14:44:51 +00:00
skotlex
361d4018ee - Adjusted the range of Wall of Fog to 9 and Spider Web to 7
- Modified a bit the skill packets of Sharp-Shooting and Brandish Spear in hopes of fixing it.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5824 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-31 14:00:28 +00:00
Lance
140e77689e * Should fix a bug in GM stealth mode (@hide).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5823 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-31 09:21:54 +00:00
skotlex
a36dcfd0ac - Added a missing "return 0" that fixes a crash on failed lookups on status_change_timer
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5818 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-30 21:04:17 +00:00
foruken
57ce40d17a Added year day return in gettime function. gettime(8) returns 1~366
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5816 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-30 18:09:09 +00:00
skotlex
71ae46e3b6 - Fixed the compile error in login.c
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5815 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-30 17:12:22 +00:00
skotlex
39d33a2f80 - the auth function in login.c won't jstrescapecpy passwords that were encrypted.
- Moved the Endure and Gravitation sc ends to battle_damage from pc_damage.
- Endure level 11 and above are now considered infinite-endure.
- Set the minimum pet hungry delay to 10
- modified function skill_delayfix to only receive skill/lv, actual time is now always acquired from skill_get_delay. It also now will never return a value below min_skill_delay_limit.
- Modified brandish spear so you won't see the skill-animation for every targetted mob. Also cleaned it up to use map_foreachincell calls.
- splitted skill_cast_fix into skill_cast_fix and skill_cast_fix_sc, the first does cast adjustments based on dex and server settings, the later only based on sc changes. Mobs use the later while everyone else use the former (which invokes the later when appropiate)
- Added the Steel Body icon to auto-berserk.
- Now you can't cast auto-counter while the previous one is active.
- For the duration of Berserk, infinite-endure is activated.
- Added Veider's suggestion to do a hack-report when players request the name of an invisible/cloaked character.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5813 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-30 15:50:54 +00:00
Lance
2c0794767e git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5812 54d463be-8e91-2dee-dedb-b68131a5f0ec 2006-03-30 15:07:59 +00:00
Lance
9eff393b23 git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5811 54d463be-8e91-2dee-dedb-b68131a5f0ec 2006-03-30 14:57:36 +00:00
Lance
3e2fb9c9b0 * Cleaned up mistakes in irc.c
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5810 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-30 14:57:12 +00:00
Lance
79a1066e60 * Added execution of OnInterIfInit, OnCharIfInit and OnInterIfInitOnce on script reload.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5806 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-30 08:52:26 +00:00
skotlex
63382fd345 - Now none of the pet-menu options will have any effect when the pet's intimacy is 0.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5801 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-29 19:10:27 +00:00
skotlex
e94e165db7 - Applied a fix to not do xs/ys checks on npc_doevent when the npc is not on a map.
- You can't return to egg a pet that has run away now.
- Added ers support to the delayed mob drops.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5800 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-29 16:59:08 +00:00
skotlex
b286e0af1e - Some cleaning of the mob_ai. Mobs should stop chasing once you are beyond their min_chase range. Improved rude-attacked checking when mobs can't move.
- range3 is now used as min-chase value of mobs.
- Added a debug message when status_change_timer fails.
- Fixed tick direct modifications increasing duration instead of decreasing it.
- Fixed inf2 of Jump-Kick to make it a "combo-skill" so that it may do a BCT_ENEMY check.
- When sd->state.skill_flag is set, auto-targetting through combo-skills is disabled. 
- You can't SG_FEEL maps already memorized.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5796 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-29 14:53:22 +00:00
skotlex
c1b97d2cec - Fixed (?) the Family recall warp skills.
- Fixed pc_percentheal giving life when the rates are negative.
- Fixed resetting stats losing the +52 bonus on high classes.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5793 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-28 21:23:27 +00:00
skotlex
286820f191 - Fixed Wedding support skills healing yourself instead of partner.
- Added a check to prevent knocking back the Emperium at all costs.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5792 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-28 20:26:50 +00:00
skotlex
15092b4955 - Fixed summon mobs being able to cast "summon" skills.
- Summoned mobs will inherit the size and ai properties of the master.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5790 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-28 15:49:36 +00:00
skotlex
cb5e2ff339 - Added a debug function to locate all "looping warps"
- Some cleanup of the skill-use functions in clif.c


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5787 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-28 14:19:51 +00:00
Lance
372a624a9b git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5785 54d463be-8e91-2dee-dedb-b68131a5f0ec 2006-03-28 11:36:15 +00:00
reddozen
26fb455a43 * Fixed Gunslinger and Ninja skills not showing up and not working due to an error
in skill_require_db
	  - also commited a commented block for GS_FLING that needs to be looked at and posiably
	    cleaned before it's uncommented.
	  - fixed exp2 not accepting Gunslingers and ninjas
	  - fixed the "jobmaster" having the same problem as rebirth
	  - added the Gunslinger shops for guns and ammo [Reddozen]

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5783 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-28 10:26:32 +00:00
Lance
6becc9dafb * Modified clif_getareachar_pc to hide hidden GMs from normal players (players with GM level > 0 still able to view) by NOT sending the coordinates.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5782 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-28 09:54:27 +00:00
skotlex
19cd080eb9 - Added missing limits.h to chrif.c
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5780 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-28 03:23:59 +00:00
skotlex
5d8b522d76 - Small fix that should help on multi-map servers when characters are swapping between servers too quickly
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5779 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-28 03:11:08 +00:00
skotlex
ddf13379b8 - Fixed the infinite warp looping between Lutie and Lutie field 01
- Removed the limits.h file which just breaks compilation on *nix systems T.T


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5777 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-27 22:44:44 +00:00
Vicious
0a79d2555c some jA thing
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5776 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-27 19:45:08 +00:00
Vicious
5dfd882273 jA's db work
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5775 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-27 19:21:27 +00:00
skotlex
17c15fc2bc - HW_GANBANTEIN now also removes traps.
- PF_DOUBLECASTING takes effect amotion time after the initial cast instead of amotion*div
- SG_KNOWLEDGE now lasts time1 after you quit a map before it clears out (defaults to 10 mins currently)
- Modified Intravision to modify the status-change packet to specify SI_INTRAVISION instead of cloaking/hiding/chasewalk.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5774 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-27 16:14:00 +00:00
skotlex
876cc3f814 - Pet catching now uses the menuskill variables to prevent item usage from disrupting the catch process.
- Added Safetywall to the list not blocked by Dispell.
- Added some include limits.h required by window compiles.
- Corrected Wedding rings being trade-able. 


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5772 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-27 14:54:40 +00:00
Lance
59fe860e09 * Cygwin flag added for naughty Cygwin GCC
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5771 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-27 13:39:11 +00:00
Lance
5d286a9b08 * GCC on Cygwin still complaining, resorted to including limits.h in malloc.h
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5770 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-27 13:33:11 +00:00
Lance
14fe8c03e8 * Refixed the fix with a constant list for Win32 users - limits.h (imported from MSVC)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5769 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-27 13:23:53 +00:00
codemaster
71fc788c75 Fixed a problem in chrif.c where USHRT_MAX was undefined. [Codemaster]
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5766 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-27 10:20:26 +00:00
Lance
cddc7d9ed3 * Added jAthena's new start and athena-start shell scripts.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5765 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-27 08:15:28 +00:00
skotlex
f2d2edd1cd - Changed status_point/skill_point to unsigned short. Adjusted the code as necessary to prevent overflows.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5762 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-27 01:24:34 +00:00
skotlex
ab5fbe4191 - The status change timer mismatch error now also displays which status change it was
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5756 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-26 07:53:05 +00:00
skotlex
a387f9ba5f - itemdb_exists and itemdb_searchname should now ignore dummy_item matches.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5755 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-26 05:59:25 +00:00
skotlex
352f81eb40 - Fixed jstrescapecpy crashing when you pass a null string to parse.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5753 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-26 05:47:22 +00:00
skotlex
91ac0a6f6e - Small change that may fix a crash in loggin guild chat?
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5752 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-26 05:38:49 +00:00
skotlex
43b5fa854d - Fixed the map-server freeze/crash on Warp Portal.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5751 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-26 05:08:45 +00:00
skotlex
6bdbd8646b - Walk/move functions will abort now when an area npc script triggers and moves the character out of the map.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5750 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-26 03:37:02 +00:00
skotlex
e0b741df28 - Fixed Grandcross/Granddarkness showing no skill animation.
- Fixed mob-casted grandcross doing nothing unless the target was "self"


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5749 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-25 23:28:45 +00:00
skotlex
cafe894ecc - Fixed a pair of "Conditional jump or move depends on uninitialised value(s)", thanks Valgrind!
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5747 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-25 21:59:12 +00:00
skotlex
57b2638e54 - Added a missing escape in logging chats.
- Increased a bit the size of skill-related arrays.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5746 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-25 21:46:49 +00:00
skotlex
13e8924fa0 - Incremented the number of iterations to find a random stop to 100 as 50 seems to no be enough for certain maps.
- Fixed iteminfo only displaying first result when there were many.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5744 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-25 03:19:47 +00:00
skotlex
3c082b1744 - Fixed pet hatching.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5743 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-25 02:34:20 +00:00
skotlex
77d83918bf - Small change that SHOULD fix the pet duplication. Fixing pet incubator still isn't done...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5741 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-25 00:05:47 +00:00
skotlex
ec6a69b266 - Fixed Warp Portal.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5740 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-24 23:58:40 +00:00