summaryrefslogtreecommitdiff
path: root/src/map
AgeCommit message (Collapse)AuthorFilesLines
2012-05-06Fixed bugreport:5698 Missing null pointer check on NC_MAGNETICFIELD.greenboxal21-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16083 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-05Follow up r16071 Fixed memory thing (if atcommand_suggestions_enabled was ↵shennetsind1-4/+6
disabled it'd allocate the iterators but not free them.) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16082 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-04Fix bugreport:5695 local scoped variables reference map not being freed ↵greenboxal21-8/+16
after return. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16079 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-04* Partially reverted r16076. The 2 loops wasn't unnecessary, they use ↵xazax-hun1-2/+23
different match strategy. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16078 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-04- Fixed feature.conf improper formatting and removed two unnecessary ↵epoque111-23/+2
iterations (follow-up to r16071) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16076 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-03* Replaced some literals with enum values.xazax-hun3-10/+10
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16074 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-03Regularized file not found error messages.xazax-hun2-2/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16073 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-03* Implemented an atcommand suggestion system.xazax-hun4-0/+88
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16071 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-03Fixed bugreport:5643 Wall of Thorns should now deal damage properly as well ↵shennetsind2-46/+45
as lock the trapped character in. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16064 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-03Fixed bugreport:3591 Ninja's Cast-off Ciceda Shell now triggers card effects ↵shennetsind1-3/+6
even tho it misses (e.g. garm card / pest card) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16063 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-03Fixed bugreport:5603 Genetic Change Material missing items were added thanks ↵shennetsind2-17/+43
to Igniz. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16062 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-03Fixed bugreport:5655 Venom Impress boost against poison should now work.shennetsind1-7/+17
Additionally, Fixed Oratio Throns Trap and Elemental Fire Cloak elemental atrributes git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16061 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-03Fixed bugreport:5601 Mechanic's Shapeshift, Genetic's Fire Expansion and ↵shennetsind1-0/+13
Sorcerers Summon Elemental skills all now consume its proper requirements depending on level. Sepcial thanks to Igniz git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16059 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-03Fixed bugreport:5681 Sorcerer Striking may now only be cast on self or party ↵shennetsind2-1/+6
members, SP upkeep updated. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16058 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-03Fixed bugreport:5573 Ranger Electric Shocker Trap should now be fully ↵shennetsind1-0/+19
functional. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16057 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-03Fixed bugreport:3452 players' circular target range is now matching official ↵shennetsind1-5/+3
servers. credits goes all to Angezerus for his formula and fix. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16054 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-02Fixed bugreport:5683 Mechanics in mado gear are no longer able to use ↵shennetsind1-2/+18
blacksmith or whitesmith skills. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16043 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-02Fixed bugreport:5650 GN Cart Remodeling weight boost should now be working ↵shennetsind5-6/+14
properly. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16042 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-02Fixed bugreport:5484 Cursed Circle caster can no longer move while in the ↵shennetsind2-2/+6
effect (but if he casts any skill it cancels his state and his targets' one). Cursed Circle caster is no longer to attack nearby units either, Also fixed a bug in manhole that allowed trapped character to attack nearby units. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16041 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-02Fixed bugreport:5649 shura cursed circle now stops mobs from being able to ↵shennetsind2-2/+4
target you while under effect. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16040 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-02Fixed bugreport:5660 DEF and MDEF now display in its proper renewal fields ↵shennetsind2-19/+26
(under renewal mode) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16035 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-02Fixed bugreport:5502 Fixed bug with character moving to attack target ↵shennetsind1-33/+15
(normal attack) and stopping at attackable range without attacking (bow-bug only). apparently the client doesn't care if its a bow anymore. also applied some of my curly brace love. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16034 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-02@mi/@mobinfo: Added support for mob FLEE & HIT, dropped SP support (all ↵shennetsind2-3/+13
official mobs have 1 sp). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16032 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-02Updated load order so that map server's console display order is preservedshennetsind1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16031 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-01Added @accinfo atcommand. "Huge thanks to"/"Credits to" Dekamaster/Nightroad <3.shennetsind4-2/+58
All the queries are handled by char-server. You might notice there is a odd way to retrieve job names in char server, this is only temporary until we're done arguing what'd be the best way to do it in char and map server. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16025 54d463be-8e91-2dee-dedb-b68131a5f0ec
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.brianluau3-3/+8
- 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 ↵epoque113-33/+17
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