summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2006-04-01Fixed the dynamic shop system memory allocation and id_db problem. Added ↵Lance3-8/+9
sample script. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5842 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-01* Dynamic shops support with script callback. (needs testing)Lance4-10/+89
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5841 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-01- Cleaned up and fixed @where command.skotlex1-6/+8
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5840 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-01Asssuming only __WIN32 (VC++) doesn't have strtok_r.Lance3-6/+10
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5839 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-01* Fixed compiler warnings.Lance4-7/+6
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5838 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-01- Fixed pc_setpos sending you to a random direction when the target tile was ↵skotlex1-1/+1
stacked (CELL_NOSTACK mod) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5836 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-01- Fixed standing up no really making you stand up.skotlex1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5835 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-01- Added structure view_data to handle sprite information for all characters ↵skotlex16-2202/+1212
(equipment, weapons, hair, dyes, etc). Unified a bunch of clif functions now that you only need to handle the view_data (so instead of clif_spawn[pc/mob/npc/pet] you just have clif_spawn) - Fixed the clif_change_class packet (it should check for non players classes, not a class above MAX_PC_CLASS), it fixes morphing enemies. - Rewrote the way cloth dye packets are resent to optimize bandwidth usage. - Fixed the npc_item_flag thing (enable_items/disable_items script command) - Rewrote the disguise implementation to be bandwidth friendly. - Modified the hide options to change your class to INVISIBLE_CLASS, since such classes don't even get their view packets sent around. - Rewrote several clif functions to adapt to the new view_data class; - Added class 139 to npcdb_checkid which was required by some npcs in the swordman quest? o.O git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5833 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-01* April fool! Improved soundeffectall script command. (No, this is not a lie)Lance4-15/+52
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5832 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-31- Fixed skill_require_db loading.skotlex2-40/+43
- Added a column to specify the amount of ammo required for skills that require ammo. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5831 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-31- Changed the terminology from arrow to ammo for the last update.skotlex3-12/+12
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5830 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-31- Changed the look field of all arrows to 1.skotlex3-89/+40
- 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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5829 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-31- Fixed an infinite recursion in the Wedding Recall skills.skotlex2-6/+15
- UNT_ATTACK_SKILLS unit packets won't be sent to the client as they are supposed to be invisible anyway. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5828 54d463be-8e91-2dee-dedb-b68131a5f0ec
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- Fixed the compile error in login.cskotlex1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5815 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-30- the auth function in login.c won't jstrescapecpy passwords that were ↵skotlex9-132/+156
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-30git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5812 ↵Lance2-29/+17
54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-30git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5811 ↵Lance2-0/+38
54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-30* Cleaned up mistakes in irc.cLance2-14/+8
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-27- Fixed the infinite warp looping between Lutie and Lutie field 01skotlex2-124/+0
- Removed the limits.h file which just breaks compilation on *nix systems T.T git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5777 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* Cygwin flag added for naughty Cygwin GCCLance1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5771 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-27* GCC on Cygwin still complaining, resorted to including limits.h in malloc.hLance5-4/+2
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 ↵Lance5-4/+126
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* Added jAthena's new start and athena-start shell scripts. Lance1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5765 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-27- Changed status_point/skill_point to unsigned short. Adjusted the code as ↵skotlex9-113/+168
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