summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2012-04-30- Fixed compilation errors due to unnamed argument in npc_unload ↵epoque111-1/+1
(bugreport:5676) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16020 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-30- Amended the permanent NPC variable instance system to utilise the same ↵epoque111-4/+2
allocated DBMap** (follow-up to r16018) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16019 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-30- Fixed NPC instance variables not being passed through to callfunc; or ↵epoque111-4/+10
callsub; stacks properly (bugreport:5673) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16018 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-30- Removed copyarray; functionality when running set; or assigning variables ↵epoque111-2/+4
(bugreport:5675) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16017 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-29- Updated the unit engine to cache attacker count rather than utilise CPU ↵epoque115-58/+61
intensive block iterations - This update removes two unofficial settings, nothing that will go amiss git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16011 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-29Fixed bugreport:5668 delayed consumption items are no longer usable while ↵shennetsind1-3/+6
sitting. (temporary measure until we figure what actually broke it) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16010 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-29- Removed leftover TXT configs, follow-up to r15503.brianluau5-3/+12
- Edited more ***_config_read() functions to show a warning if "Unknown setting" is found. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16009 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-29A minor memory improvement, and some curly brace love.shennetsind3-18/+18
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16008 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-29Yet another performance improvement: Shut Down processing is now about to 7 ↵shennetsind3-28/+17
times faster. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16006 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-29Follow up r16004 >_<" some not-supposed-to-be-comitted debug messages ↵shennetsind1-19/+11
slipped in. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16005 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-29reasonably-sized performance improvement: @reloadscript is about to 3 times ↵shennetsind6-30/+34
faster. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16004 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-29- Fixed a missing variable storage allocation resulting in NPC variables not ↵epoque111-1/+1
being saved (bugreport:5669) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16003 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-29- Fixed a map-server crash when script variable storage reference is NULL ↵epoque111-2/+8
(bugreport:5666) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16002 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-28- Fixed an issue with the instance variable storage system never being ↵epoque114-34/+18
initialised (since unknown revision) - Combined both string and integer instance variables into a single DBMap* structure - Fixed a missing new-line at the end of src/common/conf.h causing warnings git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15998 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-28- Updated the script engine to make use of the DBMap* structure for storing ↵epoque118-92/+72
variables (for Ind <3) - Fixed missing new-lines at the end of various files causing warnings git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15997 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-28- Updated the script engine to store references to important re-used methods ↵epoque111-53/+76
(set, callfunc, callsub, getelementofarray) - Updated the user-defined function invocation to reduce strdb_get() calls to find a matching function - Updated the direct variable assignment system to remove an unnecessary for loop while processing variable names - Updated the direct variable assignment system to support assigning an array to a variable directly (without the use of copyarray) - Note: copyarray; is still required to be defined in the source git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15994 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-27- Fixed typo for the -- operator (follow-up to r15982)epoque111-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15985 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-27- Added initial support for direct variable assignment (allows assigning ↵epoque112-5/+190
values to variables without the use of 'set') - Note: the set; function is still required to be defined in the source git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15982 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-26- Follow-up to r15979, updated parse_simpleexpr to parse direction function ↵epoque112-0/+19
invocation - Added SCRIPT_CALLFUNC_CHECK macro to disable direct callback if affecting performance git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15981 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-26- Added support for scripts to call user-defined functions without the use ↵epoque111-2/+15
of callfunc - Note: the callfunc; method is still required to be defined in the source git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15979 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-25Follow up r15975. Fixed warning on elemental.c. (bugreport:5637)greenboxal21-0/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15976 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-25* Replaced rand() calls with rnd().xazax-hun5-32/+32
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15975 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-25* Code consistency updates. No functional changes. Credits to Lighta.xazax-hun10-152/+157
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15974 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-25Fixed bugreport:4468 Frost Nova freeze chance has been updated to meet its ↵shennetsind1-0/+8
renewal values. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15972 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-25Fixed Wall of Thorn skill, all of its conditions should now be met.shennetsind2-24/+51
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15971 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-25Fixed bugreport:5624 Thorn Trap 'immobilization' effect should now be ↵shennetsind1-0/+1
working properly. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15970 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-25Minor performance improvement on script function is_function -- replaced ↵shennetsind1-3/+3
strdb_get with strdb_exists since we don't use the data at all. Modified get_revision to return the revision number rather than it's string, when revision is not known by the server it now returns -1. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15969 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-25Removed pc_cant_newmount since it has been proved newer clients still ↵shennetsind4-26/+2
support them. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15966 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-25Fixed warning on mob.c.greenboxal21-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15965 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-24Fixed memory leak on MvP tomb system, killer name now uses static buffer. ↵greenboxal25-9/+10
(bugreport:5615) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15954 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-23really minor performance improvement on skill_check_condition_castbegin vs a ↵shennetsind1-27/+24
player mounted on a wug, so that it doesn't unnecessarily allocate skill_get_requirement stuff when you won't be able to use the skill at all due to wug riding restrictions git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15945 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-23Follow up r15936 Fixed crash when sc_increaseagi would be cast on non-players.shennetsind1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15944 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-22* Fixed (bugreport:5589)cleaverbeaver1-1/+7
- It seems that the Increase agi effect put the char to stand if sit. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15936 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-22- Fixed Emergency Call (bugreport:3291) so that it does not recall dead ↵xantara1-1/+1
guild members git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15934 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-22Fixed bugreport:5599 magic damage reduction formula were wrong.greenboxal21-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15932 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-22* Merged changes up to eAthena 15090.eathenabot1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15929 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-22* Merged changes up to eAthena 15088.eathenabot1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15928 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-22* Merged changes up to eAthena 15087.eathenabot1-9/+34
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15927 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-22* Merged changes up to eAthena 15086.eathenabot1-2/+7
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15926 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-22- Follow-up to r15923: fixed renamed file not being svn-copied (and lacking ↵brianluau3-118/+118
svn history). - Added svn:eol-style=native property for some recently added text files. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15924 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-22=Generaltechnote242-2/+1
*Removed IT_THROWWEAPON as its not needed. -The items that use this are being treated as a ammo type through A_THROWWEAPON. =Database *Updated throwable items and cannonballs to official. -Genetics can now equip cannonballs. -Throwable items are now ammo type number 9 as they should be. =Jobs *Genetic's Cart Cannon and Sling Item skills should now work due to the item fixes. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15922 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-22Fixed bugreport:5605 Spell Fist should now work properly. Also Added missing ↵shennetsind1-10/+66
Elemental SC damage boosts git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15920 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-22- Fixed Vacuum Extreme not assigning units (bugreport:5604) and additionally ↵epoque111-0/+1
not preventing movement - Added missing units from pre-renewal skill_unit_db.txt git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15919 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-22Updated Mob AI's target check with new status effects: SC_BITE, ↵shennetsind1-6/+10
SC_VACUUM_EXTREME, SC_CRYSTALIZE, SC_THORNSTRAP and SC__MANHOLE. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15918 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-22Fixed bugreport:5604 Firewalk and Electric Walk now function properly.shennetsind3-8/+22
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15917 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-22- Changed @pettalk /dice to roll random 1-6 (before it always rolled 1).brianluau3-14/+17
- Added more /emotions to pet emotion processing. - Removed the clif_skill_fail so it doesn't spam them with a message (the client limits spamming clif_parse_Emotion, but not spamming @commands). - Follow up to r15009: used clif_emotion constants (see r14518). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15916 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-22Applied renewal skill changes: (bugreport:5302)xantara2-2/+9
- Fire Bolt: Casting time is reduced by 50% - Cold Bolt: Casting time is reduced by 50% - Lightning Bolt: Casting time is reduced by 50% - Mist Slash: SP cost has changed; now 15 SP at all levels - Shadow Slash: SP cost has changed; now 10 SP at all levels - Apple of Idun (50%): Recovers HP every 5 seconds (from 6 seconds) - Humming: Increase hit rate boosted by 2 times git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15913 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-22Fixed bugreport:5537 SR_GENTLETOUCH_CURE now acts with official behavior.greenboxal22-17/+28
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15910 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-21- Fixed Spell Fist being unable to cast while casting a bolt skill ↵epoque112-4/+5
(bugreport:5597) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15909 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-21Added mvp tomb system.greenboxal27-1/+100
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15908 54d463be-8e91-2dee-dedb-b68131a5f0ec