summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2006-05-01- Added -DMAPREGSQL to Makefile, commented out by default for now.skotlex2-17/+28
- Fixed AL_WARP displaying "Unknown Area" selections when you don't have all memo points used up. - Fixed alive_count not being reset on skill unitsetting, which leads to some groups not being cleared once all their units expire. - Optimized Kahii, will now only show the amount of HP healed. Moved to skill_counter additional effect so it may trigger even on miss. - SKA no longer blocks skills. - Modified the AM_TWILIGHT* skills to require 200 medicine bowls. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6435 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-01Dangling pointer~Lance1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6430 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-01* Optimized fake npc system. Added npc_checknear back to npc_buysellsel.Lance3-20/+26
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6426 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-01- Skills with the move_enable state won't get the walkdelay increased on a ↵skotlex1-1/+3
skill-cast. - Changed TK_RUN's state from none to move_enable. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6425 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-01- Fixed a small typo/logic-error in pet_ai_sub_hardskotlex2-2/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6424 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-01- Some corrections in the clif_parse_whisper function which should fix ↵skotlex1-9/+11
crashes in the chat_log under "certain" conditions. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6423 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-01* Fixed dangling pointer in pc_steal_item (missing lines) causing crash. Lance1-0/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6421 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-01* Fixed lack of initialization in chrif_authreq causing crashes in chrif_authok.Lance1-2/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6420 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-30- Fixed a logic error that was likely the cause of pet loot drops not working.skotlex1-2/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6412 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-30- If someone is expulsed from a guild while the guild storage is open, it ↵skotlex5-2/+30
will be auto-closed now. - Modified battle_consume_ammo to prevent consuming multiple arrows on AC_SHOWER. - Readded script command skillpointcount. (who removed it? <.<) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6406 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-30- Merged the code of NJ_SHADOWJUMP with TK_JUMPKICK.skotlex1-17/+5
- Moved the hiding requirement to the skill_require_db.txt as it should be. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6403 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-30fixed STEAL. 8) and tested at lhz_dun03Lupus1-6/+4
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6399 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-30Implemented NJ_SHADOWJUMP. Tell me if I forgot anything (especially DB entries).blackhole891-2/+15
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6397 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-30Fixed scripts relying on older event calling methods.. Still searching for ↵Lance1-1/+1
other scripts.. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6396 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-30- Removed attack_type from sd->state structure (it's only use was for ↵skotlex5-12/+16
soul-drain!) - Moved the soul-drain code to skill_counter_additionaleffect git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6392 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-30- Fixed possible crash when mob drop logs is enabled. skotlex1-1/+1
- The drop log tables are useless now that mobs have more slots, that thing needs to be rewritten... git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6391 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-30- and more typosLance1-16/+4
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6389 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-30Fixed typo in script.cLance1-2/+3
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6388 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-29- Changed the HT_DETECTING method from invoking clif_changetraplook to ↵skotlex1-1/+3
clif_skill_setunit since in the first the client ignores the fact that it is now a trap (rendering skills like Remove Trap useless). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6386 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-29- pc_resetskill flag can now be &2, it only returns the total amount of ↵skotlex4-17/+36
skill points spent, it doesn't does a reset. - added script command skillpointcount. Returns total amount of skill points a char has (the value returned is the same that SkillPoint would have after invoking a skill reset) - Modified Defender. Speed reduction is 35-5*lv%, damage reduction on devoted chars is 5+5*lv%. These values are custom, but should be closer to "reality" than what we have. - When you have the wrong ammo type equipped, the equip arrows first message will be sent, as suggested by Haplo git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6384 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-29- Cleaned up unused variables in npc.cLance1-2/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6383 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-29- Changed checks of item's identify field from 0/1 to 0/non-zeroskotlex2-6/+17
- Corrected TK_JUMPKICK to place the caster on the tile next to the target rather than on top of it. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6382 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-29- Small change in pc_calc_skilltree which should fix the infinite loop...skotlex1-2/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6381 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-29temp steal disableLupus1-2/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6379 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-29fixed STEAL. now workingLupus3-13/+12
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6378 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-29Added @noask command: enable/disable deals/invites autorejecting.LuzZza4-7/+98
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6376 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-29temp steal disableLupus1-4/+4
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6374 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-29* Removed unreferenced local variable in pc.cLance1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6371 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-29* Reverted npc_checknear to exclude check for class_ -1.Lance2-10/+12
* Removed npc_checknear in npc_buysellsel, npc_selllist and npc_buylist as enough preventive measures of hacking are already implemented. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6370 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-29Updated STEAL skill (WIP), added a battle config option: ↵Lupus5-18/+22
'skill_steal_max_tries' to set max number of stealing tries. It could help to fix stealing exploit on mobs with few drops git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6367 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-29- Added another missing prev/next = NULL setting in chat.cskotlex1-0/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6360 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-29- Added support for packet 0x229 (clif_changeoption).skotlex4-15/+74
- Bumped up PACKETVER to 7 to enable use of packets 0x229 and 0x22c - Small cleanup on the calculation in the skill tree regarding spirit skills. - Added missing next/prev initialization in chat-creation. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6359 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-29git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6357 ↵Lance1-1/+1
54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-29- Clones can't be class-changed nowskotlex3-8/+9
- Readded the class == -1 distance check in npc_checknear - Replaced check sd->trade_partner for sd->state.trading in clif.c git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6356 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-29* Using malloc for memory allocations that doesn't need to be pre-initialized.Lance14-134/+110
* Eliminated initializations for pointers returned by calloc. * Moved grfio_final to do_init since it's not used after server boot. * Optimized scripts to return CONSTSTR instead of allocating memory just to return a constant string. Some buildin functions still need work. * Disabled graph since it doesn't work yet. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6355 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-29- Modified the mob_db structure. The mvp related columns were moved to ↵skotlex2-86/+85
before the drops, amount of drops increased from 10 to 15. - Updated sql-files/mob_db.sql to latest. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6354 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-28- Modified HP conversion so that it fails when you don't have enough Hp. ↵skotlex1-29/+68
Also updated it to enable casting on "someone else" (effect: target loses Hp and gains Sp based on the max HP of the caster, will someone ever use this? who knows, but it's nice to have :P) - Cleaned up Strip skills so that the skill animation will only show when something was stripped. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6349 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-28- Added constant MAX_MOB_DROP to specify the amount of normal drops a mob ↵skotlex4-19/+25
has. The mob_db reading code will automatically parse the file according to the number of drops expected (the Mexp/Mper and MVP item rewards must still be after the normal drops). Set to 10 currently. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6347 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-28- Storm Kick's range increased to 2.skotlex2-12/+11
- Mobinfo's drop list will use jName rather than Name for drop names. - Some cleaning of the ASC_BREAKER code in skill_attack - Modified skill_attack so that all skills with amotion get their damage delayed (should fix mob walk-teleport issues) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6346 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-28- Added function stristr to strlib.c, used by mob.c and item_db.c for ↵skotlex4-4/+42
case-insensitive seeks. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6345 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-28- Removed the sending of the online guild list when you log-on, may fix the ↵skotlex4-6/+12
"getting stuck" problem. - Added battle config default_skill_delay. Specifies the default skill delay for most skills, it is also applied as a walkdelay (total skill walkdelay is default_skill_delay + that skill's can't walk delay) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6344 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-28Rearrange makefile so dependencies won't get overwritten by 'make depend'celest1-4/+5
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6338 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-28- skill_castend_id and skill_castend_pos will trigger unit_stop_walking with ↵skotlex2-7/+2
flag 1 (fix pos) rather than none. Should fix some skills making you appear moving while doing them. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6336 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-28- Modified clif_skill_nodamage to allow for a NULL source. This is to ↵skotlex2-43/+19
simplify code related to AL_HEAL/MG_RECOVERY effects where someone shows a healing value, but there's no "caster" in sight (Pitcher skills, Blood Drain, Kaahi) - Updated Kaahi to use clif_skill_nodamage to display amount healed. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6335 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-28- Added unlocking ud.target on mob_unlocktarget, fixes mobs chasing you ↵skotlex1-0/+1
around while cloaked. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6333 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-27- Changed the default rate of clone mob skills to 5% modified by ↵skotlex1-1/+1
mob_skill_rate setting. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6332 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-27- Applied some changes in unit.c to make mobs pick chase paths as they should.skotlex1-10/+3
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6330 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-27- unit_remove_map will reset attackable-time, canact and canwalk delays.skotlex2-5/+31
- Added a timer in clif.c so that walk requests that are done while your cannot move duration will be delayed and processed afterwards (as long as the walk delay remaining is less than 2000 ms) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6329 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-27- Fixed compilation error/warning on script command setbattleflag.skotlex1-3/+3
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6323 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-27- Some changes in the slave skill conditions. All their skills are triggered ↵skotlex1-11/+8
at a 10% chance now. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6322 54d463be-8e91-2dee-dedb-b68131a5f0ec