summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
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
2006-05-18- Rewrote/cleaned up several functions in storage.cskotlex3-214/+227
- Optimized pc_additem comparisons to account for items with more than four slots. - Updated clif.c to enable retrieval of items from cart/storage while trading. Exception is retrieving items from the cart while vending. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6642 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-18- Some code cleaning of the skill reiteration/nofootset code.skotlex2-26/+12
- skill reiteration code now does not checks for the trigger-area of the skill in the case of non-players, which means mobs can now place traps in cells adjacent to each other. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6640 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-18- Applied an experimental weather code that should lower bandwidth usage to ↵skotlex2-40/+20
near-none, which's only disadvantage should be the weather not clearing out until moving to another map (even when the mapflag is removed from the current map). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6639 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-18- NPC_AGIUP will now give movement boost of 50%skotlex2-5/+9
- Fixed WZ_WATERBALL number of hits when used by non-players. - MO_BODYRELOCATION will send the slide packet with the actual src's coordinates rather than selected tile. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6638 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-17- Modified mob_can_changetarget to return true always when the new target is ↵skotlex1-3/+7
the provoked-by character. Fixes provoke not making the mob change target when it already is locked on another player. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6633 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-17- Added check to clear previous skill when combo time ends. Should fix TK ↵skotlex1-1/+4
Rankers being unable to initiate a combo with the same kick their previous combo was finished with. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6630 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-17- Power Up and Agi Up now increase Hit/Flee by 20%/lvskotlex1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6629 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-17Removed AtCommand_Monster and replaced it with AtCommand_Spawn for Skots ↵reddozen2-2/+2
[Reddozen] git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6626 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-16- Modified "hide woe damage" to send the number of hits rather than 1 as ↵skotlex2-6/+6
damage Because when the damage is less than the number of hits, the client will display MISS. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6624 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-16- Added a check to map_searchfreecell to handle the case when no ranges are ↵skotlex1-0/+7
specified (returns the center tile). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6622 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-16- Fire Pillar will now do 200%MATK damage per hit when level is >10.skotlex3-2/+17
- Blood Drain always hits now. - Fixed Mob Area Skills not updating their use-time (rendering their skill delay useless) - Search free cell will now skip picking the center-tile as target location. Will prevent slaves from walking on top of their master, or mobs placing stuff right under themselves with the "around" target conditions. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6621 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-15- When reading mapflags, when a map is set to be pvp or gvg, the other will ↵skotlex1-0/+9
be turned off (disables pvp mapflags in gvg maps for pk-servers) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6610 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-15- Firepillar's damage per hit is now 100% MATK (rather than 20%) when the ↵skotlex2-6/+7
skill level is above 10. - Sorted out the item_data structure, getiteminfo should work correctly now. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6608 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-15- Soul Drain will now show the SP drained regardless of drain display settings.skotlex1-21/+21
- SC_COMBO state will now end in skill_attack rather than skill_check_condition (as it is required there to apply damage bonuses based on combo-casted skills) - Spirit skills now have 500ms delay. - KA skills can now be casted on other Soul Linkers as well without the Spirit requirement. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6607 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-15- Fixed the nocast flag 2 (not usable in pvp) returning true in pk-mode servers.skotlex3-4/+14
- When removing a castle's owning guild, the char servers will erase the guardian data now. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6602 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-15- Changed the behaviour of immobile mobs when they can't chase their target. ↵skotlex1-1/+2
Rather than using a longrange skill and then unlocking, they will use an attack/angry state skill and then unlock. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6599 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-15- Removed Lance's checks in clif.c to prevent sending packets when a player ↵skotlex2-12/+8
is in OPTION_INVISIBLE mode. Now pc_disguise won't change your viewclass when you diguise while hiding. The disguise should "show up" when you uncloak, instead. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6597 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-15- Fixed clif_GlobalMessage being the exact same function as clif_message ↵skotlex2-2/+2
(the fiirst should send to ALL_CLIENT and the later should send to AREA_CHAT_WOS). Should fix globalmes script command. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6596 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-15- Added SC_BLADESTOP to the switch listing in status_change_startskotlex3-9/+2
- Characters in vending are now always considered "idle" if the idle_no_share setting is active. - Corrected 10 Geminis spawning in Lhz1 rather than 2. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6595 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-15* Players with OPTION_INVISIBLE should not be sent to clients.Lance1-2/+12
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6594 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-15git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6593 ↵Lance1-1/+1
54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-15* Added NPC event deprecated warnings to ease debugging old scripts. Lance1-5/+36
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6592 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-15* Supplied fake NPC ID in sd->npc_id for item scripts. Lance1-0/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6590 54d463be-8e91-2dee-dedb-b68131a5f0ec