summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2006-05-25* Fix to the slave AI problem, by Skotlexeaac1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6742 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-24- Item sharing now shares the same rules as exp sharing (no sharing when ↵skotlex2-4/+9
dead, or idle, etc) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6737 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-24- Fixed summoned slaves being able to cast onspawn summon-skills (slaves ↵skotlex1-2/+3
aren't supposed to be able to call minions) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6735 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-24- The clif_skill_poseffect packet will not be invoked in Snap unless the ↵skotlex1-5/+3
skill was successful. May fix the client-position lag. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6734 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-24- Corrected item script for dead branch and poring boxskotlex1-1/+2
- Removed that npc-warp warning as requested by Playtester. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6732 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-24- Merged item_db.sql from stable :Bskotlex2-11/+9
- Added a missing line (how did it get lost?) in mob_spawn to set aggressive state for angry mobs. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6731 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-24- Corrected SL KA* spells not working on other Soul Linkers.skotlex1-2/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6727 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-24- Corrected mob angry mode, now it only "restores" itself after being hit ↵skotlex3-12/+9
when the mob has no target within their range of sight rather than on picking a new target. - Corrected a pair of incorrect sql query parsing logic in the login-sql ban request packet. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6724 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-23- Fixed wedding sprite staying active after unequip.Zido1-0/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6719 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-23- Some cleanup of run_script, should fix the memory leak there.skotlex1-26/+30
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6718 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-23- the charname request hack message has been downgraded to only include ↵skotlex2-29/+30
GM-invisible characters. - corrected clif_charnameack to send negative ID when a disguised player asks for it's own disguised name. - Cleaned up the disguised target-id checks taking into considering that the only character that sees a negative ID is the same disguised character. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6715 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-23- Modified battle_calc_weapon_attack to use new flags pdef/pdef (pierce ↵skotlex2-17/+27
defense), Investigate and Icepick will now use the final def/vit-def values rather than the base ones. - The move-enable condition checks for skills are now checked for only when on skill use, not at cast-end time. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6714 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-23- Corrected clif parse name request failing on disguised characters.skotlex4-35/+40
- Corrected Soul Drain draining from all non-ground-based skills including non-magic attacks. - Corrected pc_setoption to change the option and then change class. changing option-wedding will automatically convert the view-class as well. - Corrected the 15% drop rate increase when killing higher level mobs in pk-mode triggering for all mobs with lower level than yourself. Thanks to Vayu. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6709 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-23* Fixed typo (this time it's not my fault) in script_reload() clearing the ↵Lance1-3/+3
same db each time o_o git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6708 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-23Reloadscript cleanupLance1-2/+13
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6707 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-23Crash preventionLance1-24/+24
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6706 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-23* Fixed sleep command.Lance1-58/+58
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6705 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-23* Added 'setd' support for local NPC scope (') variables.Lance4-35/+36
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6704 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-23* [Scripting Engine Update] New variables are ready to be used. Lance2-2/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6703 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-23Dunno what the hell the causing the errors when using '@variables, ↵Lance1-11/+26
'variables works fine.. something is messing up.... git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6702 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-22- Updated skill_delayfix to return 0 for mobs since they have no skill delay ↵skotlex1-0/+3
other than the one specified in mob_skill_db git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6699 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-22- Corrected the 20 lvl diff 15% exp bonus on pk_mode servers. Thanks to Vayu ↵skotlex1-1/+2
for pointing it out. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6698 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-22- Fixed a pair of compilation logic errors.skotlex1-3/+5
- status_get_sc_tick will now use directly Stun's formula rather than invoking the status sc chance once. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6697 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-22- Fixed a possible null pointer in script command misc_effectskotlex3-10/+18
- Modified Investigate to take into consideration final def/vit-def rather than base values for damage adjustment. - Added missing include unit.h in pet.c git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6695 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-22* Looks like I fixed all of the leaks.. need someone to check :PLance1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6692 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-22- Fixed some of the leaks.. still fixing..Lance2-2/+11
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6691 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-22* WARNING: New scripting system contains memory leakLance10-111/+584
TODO: Free all scripts using script_free_code() instead of old methods. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6690 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-22* Excluded idle and auto-trade party members from TK_POWER list.Lance1-1/+4
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6688 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-22* Fixed compilation errors.Lance1-3/+4
* Tidy up jobmaster for easy debugging. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6686 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-22SC_SPEARSQUICKEN -> SC_SPEARQUICKEN normalized enum nameLupus3-12/+12
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6684 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-21* Part A of the Homunculus code.blackhole894-0/+254
This only features the structures, status_* and clif_* (packets) and is not functional yet in any conventional way, but doesn't interfere with present functionality either. I would only forget half of this stuff if I tried to do all at once. Expect the rest somewhen within the upcoming week. (This is not similar to jA's implementation.) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6681 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-21- Fixed the "fake" mute status bugZido1-1/+4
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6677 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-21* Speed up array size calculation and deletion.Lance1-9/+18
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6676 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-21* Player must learn the skill before doing auto-spell Lance1-3/+5
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6673 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-21And againLance1-1/+3
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6672 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-21* Fix the fix: Should be sd->npc_str[message_len]=0;Lance1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6671 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-21* Exploit prevention in clif_parse_NpcStringInputLance1-5/+9
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6670 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-20* Ammendment: battle_config.skill_sp_override_grffileLance1-2/+4
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6668 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-20* grfio_final moved back (with condition) if any of GRF overriding is ↵Lance1-6/+11
enabled so servers with such configuration will not have different values after reloading. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6667 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-20* grfio_final moved back to do_final since it's used by @reloaditemdb. Lance1-2/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6666 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-20* jA1983 script.c buildin_menu fix. Thanks to End_of_exam.Lance1-0/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6665 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-20* Abit of alterations to login-server. Lance4-23/+20
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6664 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-19* Minor unsigned/signed alteration in pc_additem to shut the compiler up.Lance1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6661 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-19- Small change in pc_additem that could be fixing the current bug with it.skotlex1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6660 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-19- Fixed loginlog definition in main.sql, thanks to Tempestaskotlex1-3/+3
- Likely fixed the mob-skill random picking behaviour causing infinite loops sometimes. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6658 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-19- Added some braces to clear up the code in pc_additem, even though I doubt ↵skotlex2-7/+16
it'll fix the problem :X - Modified mobskill_use behaviour to pick a random starting point and check skills from that, rather than always checking from first to last. Fixes skills with high priority blocking skills lower down in the list from triggering. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6657 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-19- Corrected number of water-ball hits when used by mobs and not consuming ↵skotlex2-4/+15
deluge cells when using lv1 (Thanks to Kyoki). - cardillust_read_grffile, item_equip_override_grffile, item_slots_override_grffile, and item_name_override_grffile are set to 0 after map-server loads to prevent crashes on item_db reloading. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6656 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-19- Updated mob ai behaviour so that mobs use IDLE state skills when their ↵skotlex1-4/+9
current target cannot be reached for melee fighting. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6655 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-18- Added 5 config settings to adjust damage in pk-mode servers (misc.conf)skotlex2-8/+29
- Corrected LoV's effect range for levels 11+ to range 8. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6646 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-18- Fixed mob_max_skilllvl being capped to 11!skotlex1-2/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6643 54d463be-8e91-2dee-dedb-b68131a5f0ec