summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2006-09-12- Improved sql-query to check if name already exists when creating new chars.skotlex1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8727 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-12- Moved the morph restrictions from skill_additional_effect to ↵skotlex2-4/+12
mob_class_change, so that SA_MONOCELL will not convert clones, emperium, or treasure boxes. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8724 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-12Fixed 'range' might be used uninitialized warningtoms1-4/+3
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8723 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-12- Added manual deletion of sc_data entries when deleting a character (char-SQL)skotlex1-0/+10
- Updated main.sql to use pure MyISAM tables, removed all foreign keys. - Added Jaguar's sql script to convert all tables to MyISAM. It's located in sql-files/convert_engine.sql - Removed convert_guild_tables.sql as we don't use InnoDB anymore. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8722 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-12- Updated battle_switch to use strncmpi instead of strcmpi, it makes it so ↵skotlex5-13/+32
using "yessir" will match "yes", this is actually needed because if you set a config setting to "yes " (notice the trailing space), then the map config engine fails to read it right, and will set the config setting to 0 (no). - Added function pc_resethate to more easily handle Angel trigger - Made feel_var and hate_var static variables to pc.c to simplify things and avoid errors due to redundancy. - Updated the show_mob_info setting to add another space to the separating pipes, so that each field is separated by " | " instead of " |". git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8721 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-12- Moved the packet_len variable in login.c to the login parse case, since ↵skotlex5-8/+11
it's used nowhere else. - timestamp check speed-up in showmsg.c - Swapped the blank ShowMessage on server startup to a printf - Homunculus intimacy will go back to 500 on evolution. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8719 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-12- Baphomet splash damage will now hit nearby enemies regardless of flee (but ↵skotlex2-1/+6
the initial attack still has to connect for the splash to trigger) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8716 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-11- Modified set_nonblocking and setsocketoptions in socket.c, using eApp's ↵skotlex2-27/+21
code as reference. Hopefully should improve performance somewhat. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8710 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-11- CG_MOONLIT is no longer castable in WoE grounds.skotlex1-1/+1
- Changed the default of enable_baseatk to 9 (player + homun) - Changed the default of enable_perfect_flee to 1 (players only) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8708 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-11- Added a comment explaining what a comment is to login/char/map config ↵skotlex2-7/+6
files, as well as the main script config file. - Modified SG_FEEL so that it works the same way that in Aegis (packet-wise) - Added a comment to explain how to "remove" a string variable from the msg_athena entries. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8707 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-11- Summoned and slave mobs won't show up on @showmobs anymore.skotlex4-23/+29
- Moved Spider Web damage bonus from battle_calc_damage to battle_attr_fix, so that damage will be doubled based on the actual attack element. - Adjusted autospell cards to trigger only on physical weapon attacks. - Adjusted a bit the heal code, it should now show either the full heal amount, or 0, depending on whether the target was healed at all or not (this also means it shows 0 if you try to heal a full-life character.. but it's the closest I've gotten to make it display 0 on Berserked chars) - Memorize will be consumed even on instant cast spells now. - Berserk will end now if hit and remaining hp is less or equal to 100. - Guild Aura will be removed on sc-load to prevent Guild Masters from getting that bonus from the old implementation. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8705 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-11git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8698 ↵Lupus2-8/+8
54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-09- Added a crash protection in case mapfreeblock unlock tries to free a null ↵skotlex1-1/+2
pointer. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8688 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-09- Moved perfect_hiding from state to special_state, so that it clears out ↵skotlex5-7/+12
when you remove your pet. - Probably fixed the Taekwon Rest skills. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8687 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-09- Fixed a npc-timer memory leak on npc_unload ("[Warning]: ers_obj_destroy: ↵skotlex1-1/+6
X entries missing, continuing destruction. Manager for entries of size 16.") git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8686 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-08- Unified the rest and ganstar paradise code into a single function.skotlex7-102/+61
- Moved the Happy State trigger to the regen function, it now triggers at the same time the SPTIME does. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8681 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-08- Cleaned up SG_HATE to use a new function, pc_set_hate_mob to handle setting.skotlex5-53/+37
- Updated pc_authok to initialize all mob_hate vars to -1 - Updated clif_hate_mob to receive the hate-type instead of skill-lv. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8680 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-08- Removed sg_miracle_skill_duration, replaced it with ↵skotlex3-4/+20
sg_miracle_skill_min_duration and sg_miracle_skill_max_duration, to specify a range for the duration of the skill. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8679 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-08- Added upgrade_svn8675.sql in case, for some reason, your guild table still ↵skotlex3-7/+2
has the emblem_data field as a 'blob' with "NOT NULL" specified. - Some minor cleanups. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8675 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-08- Fixed alliance/opposition making not cancelling out map-server-side when ↵skotlex3-8/+19
the guild already had max number of alliances/oppositions (thanks to k3dt) - Cleaned a bit the code for SG_*_ANGER - Fixed a warning in clif.c git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8673 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-08- Fixed SC_BERSERK setting Hp to 100 when dispelled by unnatural means (eg: ↵skotlex1-1/+1
wand of hermod) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8668 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-07- Changed the default of sg_angel_skill_ratio to 10 based on recent ↵skotlex5-13/+21
information from Tharis. - Cleaned up the doridori parse clif function. - Moved doridori_counter to state.doridori - Merged some of mpeg's work on NJ skills git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8665 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-07- Removed the Warmth "stacking" code.skotlex7-26/+64
- Added back the effect of /doridori to skill-SP regen - Implemented a rough version of Angel of the Sun/Moon/Stars, it has a low chance of triggering on doridori-boosted SP-regen events. - Added sg_angel_skill_ratio to specify rate at which the Angel skill triggers. - Added unit_cancel_combo which takes care of ending a combo time and resuming normal attack 'inmediately' - Cleaned up some the SG_HATE code, you can't change hate targets anymore. - Increased duration of Miracle of the Sun/Moon/Stars to one hour. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8664 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-07- Added error message when attempting to use deprecated bonus bAspd.skotlex2-4/+6
- Added missing line terminator on a pair of ShowErrors in the sig plugin. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8660 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-06- Fixed the memset in status_calc_pc, corrects some mysterious bugs such as ↵skotlex2-2/+3
item-drop bonuses suddenly not working anymore. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8658 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-06- Corrected SC_INCREASEAGI and SC_DECREASEAGI speed-change formula.skotlex1-5/+13
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8656 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-06- Updated skill_require_db's entry for Abracadabra, it requires yellow 2 ↵skotlex2-2/+2
gemstones (there's no such hardcoded yellow gemstone requirement anymore) - Corrected db/const.txt entry bMagicSubRace -> bMagicAddSize - Fixed Aex Aeterna ending on Soul Breaker's first half. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8651 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-06Applied Orn's modification on speed increases/reductions with ↵toms1-2/+2
increase/decrease agi git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8647 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-05- Removed setting mob_show_hp, it's been replaced now by mob_show_info, ↵skotlex4-15/+24
which can be used to specify what kind of info should be displayed from a mob. Current options are two different formats for Hp display, and current level. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8644 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-05- Fixed Signum Crucis Def reduction being 10+2*lv% instead of 10+4*lv%skotlex1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8643 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-05- applied the Ultra Mage's suggestion to have the map server strip trailing ↵skotlex1-3/+14
spaces/comments from the config files. It will also now print out when an unknown config setting is found. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8642 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-05- Fixed status change resistance not being invoked at all for pretty much ↵skotlex1-1/+1
all cases. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8641 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-05- Corrected SC_INTRAVISION not starting.skotlex8-54/+54
- Small cleanups (line terminators, indenting) - Fixed crash when attempting to read a Label as a string on a script (thanks to End of Exam) - Fixed possible crash when changing a chat-room's owner (thanks to End of Exam) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8639 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-05- Fixed dispell removing SC_NOCHATskotlex1-0/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8635 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-05- Small fix which should correct skill_attack damaging hidden characters ↵skotlex1-1/+2
when it shouldn't. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8633 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-05- Fixed crash when using Adaptation during an Encore.skotlex1-5/+5
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8627 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-04- Should have fixed manner being reset to 0 on logout while muted.skotlex2-1/+3
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8621 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-04- Removed status_get_sc_tick, duration and chance are now both handled by ↵skotlex2-110/+57
status_get_sc_def - Fixed mob-kill experience getting screwed up when characters who did damage die/logout at the moment the mob dies. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8619 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-04- Should have fixed "sleep", thanks to Lance for figuring out the error.skotlex1-2/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8618 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-04- Ordered up entries in skill_unit_dbskotlex2-0/+16
- SC_REFLECTSHIELD will now be passed to devoted characters at cast-time. - Added a check to make a mob's level 1 if the read level from the db is less than it. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8615 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-04- Some cleanup of how mobcount works.skotlex5-63/+85
- status_calc_misc will now be invoked in status_calc_bl even on the first call, since status could have gone up due to skill bonuses. - Moved max HP/SP calculations to before invoking status_calc_misc - Simplified distance and check_distance to use "aegis" methods (greater of dx/dy = distance), there's a new define in map.h called CIRCULAR_AREA, when set, the previous method is used, and map for each in range calls will also check for distances, making most ground skills and battle system use real circles instead of squares. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8609 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-04- Fixed SC_BERSERK's no regen penalty lasting pretty much forever.skotlex1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8605 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-02- SC_REGENERATION's val4 now holds the RGN flag of what is blocked rather ↵skotlex2-7/+12
than blocking all types of regen. - LK_BERSERK will now only block natural regen on state-end. - SC_EXTREMITYFIST/SC_DANCING/SC_EXPLOSIONSPIRITS will only block natural sp regen and not skill regen - SC_REGENERATION blocking will be cancelled on logout now. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8600 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-02- Applied use of RC_BOSS/RC_NONBOSS in the ignore def code.skotlex2-3/+3
- Corrected SCB_LUK not updating SCB_BATK as well. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8598 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-02- Corrected script_commands description of getequipid, it returns -1, not 0 ↵skotlex1-3/+7
on fail. - Fixed the mob-id check during pet_db loading, it will also now print when a pet is not loaded due to having an invalid mob class specified. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8587 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-01The "delete_timer error/no such timer" report will now print the related ↵toms1-1/+1
function git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8586 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-01The Clearing unused stack report will now print the related NPCtoms1-2/+5
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8584 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-01The duplicate npc report will now print the related file nametoms1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8582 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-01- Added a missing break in battle_check_targetskotlex3-9/+30
- Added config setting "partial_name_scan", which specifies whether @ given names should use a partial string lookup or absolute name lookup. Defaults to no (gm.conf) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8578 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-01- Added defines status_base_matk_(max/min) for code readabilityskotlex4-43/+60
- Expanded status_calc_misc so it may also calculate the batk of characters as well as their regen data (if they have it) - Fixed a memory leak when using charsave_method:1 git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8576 54d463be-8e91-2dee-dedb-b68131a5f0ec