summaryrefslogtreecommitdiff
path: root/src/map
AgeCommit message (Collapse)AuthorFilesLines
2006-03-31Started work on commands for the IRC Bot.zido2-0/+22
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5827 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-31- Cleaned up battle_check_target to use the jA structure defines and get rid ↵skotlex1-27/+24
of the is_duel variable. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5826 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-31- Adjusted the range of Wall of Fog to 9 and Spider Web to 7skotlex1-3/+9
- Modified a bit the skill packets of Sharp-Shooting and Brandish Spear in hopes of fixing it. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5824 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-31* Should fix a bug in GM stealth mode (@hide).Lance1-24/+32
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5823 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-30- Added a missing "return 0" that fixes a crash on failed lookups on ↵skotlex2-3/+4
status_change_timer git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5818 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-30Added year day return in gettime function. gettime(8) returns 1~366foruken1-0/+3
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5816 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-30- the auth function in login.c won't jstrescapecpy passwords that were ↵skotlex8-131/+150
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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5813 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-30* Cleaned up mistakes in irc.cLance1-13/+7
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5810 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-30* Added execution of OnInterIfInit, OnCharIfInit and OnInterIfInitOnce on ↵Lance2-0/+8
script reload. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5806 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-29- Now none of the pet-menu options will have any effect when the pet's ↵skotlex1-15/+13
intimacy is 0. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5801 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-29- Applied a fix to not do xs/ys checks on npc_doevent when the npc is not on ↵skotlex3-20/+26
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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5800 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-29- Some cleaning of the mob_ai. Mobs should stop chasing once you are beyond ↵skotlex4-44/+71
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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5796 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-28- Fixed (?) the Family recall warp skills.skotlex2-7/+8
- Fixed pc_percentheal giving life when the rates are negative. - Fixed resetting stats losing the +52 bonus on high classes. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5793 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-28- Fixed Wedding support skills healing yourself instead of partner.skotlex2-3/+5
- Added a check to prevent knocking back the Emperium at all costs. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5792 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-28- Fixed summon mobs being able to cast "summon" skills.skotlex2-0/+11
- Summoned mobs will inherit the size and ai properties of the master. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5790 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-28- Added a debug function to locate all "looping warps"skotlex2-4/+31
- Some cleanup of the skill-use functions in clif.c git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5787 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-28git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5785 ↵Lance1-0/+1
54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-28 * Fixed Gunslinger and Ninja skills not showing up and not working due to ↵reddozen2-1/+32
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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5783 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-28* Modified clif_getareachar_pc to hide hidden GMs from normal players ↵Lance1-20/+23
(players with GM level > 0 still able to view) by NOT sending the coordinates. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5782 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-28- Added missing limits.h to chrif.cskotlex1-0/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5780 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-28- Small fix that should help on multi-map servers when characters are ↵skotlex1-1/+2
swapping between servers too quickly git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5779 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-27some jA thingVicious1-3/+12
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5776 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-27jA's db workVicious2-1/+5
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5775 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-27- HW_GANBANTEIN now also removes traps.skotlex5-14/+55
- 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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5774 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-27- Pet catching now uses the menuskill variables to prevent item usage from ↵skotlex7-13/+28
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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5772 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-27* GCC on Cygwin still complaining, resorted to including limits.h in malloc.hLance4-4/+0
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5770 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-27* Refixed the fix with a constant list for Win32 users - limits.h (imported ↵Lance4-4/+4
from MSVC) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5769 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-27Fixed a problem in chrif.c where USHRT_MAX was undefined. [Codemaster]codemaster1-0/+4
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5766 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-27- Changed status_point/skill_point to unsigned short. Adjusted the code as ↵skotlex6-64/+112
necessary to prevent overflows. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5762 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-26- The status change timer mismatch error now also displays which status ↵skotlex1-1/+1
change it was git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5756 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-26- itemdb_exists and itemdb_searchname should now ignore dummy_item matches.skotlex1-1/+4
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5755 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-26- Fixed jstrescapecpy crashing when you pass a null string to parse.skotlex1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5753 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-26- Small change that may fix a crash in loggin guild chat?skotlex1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5752 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-26- Fixed the map-server freeze/crash on Warp Portal.skotlex2-3/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5751 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-26- Walk/move functions will abort now when an area npc script triggers and ↵skotlex1-4/+8
moves the character out of the map. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5750 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-25- Fixed Grandcross/Granddarkness showing no skill animation.skotlex1-11/+22
- Fixed mob-casted grandcross doing nothing unless the target was "self" git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5749 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-25- Fixed a pair of "Conditional jump or move depends on uninitialised ↵skotlex1-0/+2
value(s)", thanks Valgrind! git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5747 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-25- Added a missing escape in logging chats.skotlex2-4/+5
- Increased a bit the size of skill-related arrays. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5746 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-25- Incremented the number of iterations to find a random stop to 100 as 50 ↵skotlex3-7/+3
seems to no be enough for certain maps. - Fixed iteminfo only displaying first result when there were many. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5744 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-25- Fixed pet hatching.skotlex1-4/+14
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5743 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-25- Small change that SHOULD fix the pet duplication. Fixing pet incubator ↵skotlex1-0/+3
still isn't done... git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5741 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-24- Fixed Warp Portal.skotlex4-15/+18
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5740 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-24* Fixed / finished most of Gunslinger [Reddozen]reddozen2-17/+17
- fixed some bullets in the item DB - adjusted a few rates in skill_cast_db.txt for Gunslingers - adjusted a couple skills in skill_db.txt to act correctly - adjusted all the SP values for Gunslinger skills - changed piercing shot to lv 5 from lv 10 - made ki Translation fail giving coins to Gunslingers - equipping a weapon other than a gatlin gun should cancel SC_GATLINGING. Also made Gatlinfeaver on/off togelable - GS_CRACKER will no longer stun players - added GS_Disarm * View changes here: http://diviniaro.com/data/reddozen_3_24_2006.patch git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5739 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-24- Modified script commands atcommand/charcommand to execute even if there ↵skotlex1-11/+36
isn't a player attached. They'll use a dummy player data with the same position/name as the script's owner (usually an npc) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5738 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-24- Cleaned up a bit the npc undercharging item warning to specify when it is ↵skotlex1-3/+7
displaying overcharge/discount prices instead of the actual values. It should also prevent overflows. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5737 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-24- Some cleaning around the return to egg code. Pets should stop duplicating now.skotlex1-26/+19
- Some cleaning of the egg hatching routine to prevent spawning the pet if the egg can't be found in the inventory. - Removed some autoadded data/ strings in grfio.c module to see if it helps with the data_dir configuration. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5736 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-24- Another mob_summon fix. Slave summoning SHOULD be working now.skotlex1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5735 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-24- Fixed skillidx not being set whenever a mob uses a skill.skotlex2-3/+10
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5734 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-24Replaced !sd->special_state.nocastcancel2 && something to ↵blackhole891-2/+2
(sd->special_state.nocastcancel2 || something). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5733 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-24- Added function map_search_freecell to locate an available cell around an ↵skotlex6-149/+131
area (for recall/warping skills) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5732 54d463be-8e91-2dee-dedb-b68131a5f0ec