10280 Commits

Author SHA1 Message Date
greenboxal2
e82b087692 Fix bugreport:5695 local scoped variables reference map not being freed after return.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16079 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-04 23:17:25 +00:00
xazax-hun
ff9de8d82c * Partially reverted r16076. The 2 loops wasn't unnecessary, they use different match strategy.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16078 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-04 21:53:09 +00:00
epoque11
ee483eea0e - Fixed feature.conf improper formatting and removed two unnecessary iterations (follow-up to r16071)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16076 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-04 09:43:31 +00:00
xazax-hun
710849412d * Replaced some literals with enum values.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16074 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-03 20:02:01 +00:00
xazax-hun
d7c5f0acf3 Regularized file not found error messages.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16073 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-03 19:46:59 +00:00
xazax-hun
be17243094 * Implemented an atcommand suggestion system.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16071 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-03 19:35:17 +00:00
shennetsind
f680759925 Fixed bugreport:5643 Wall of Thorns should now deal damage properly as well as lock the trapped character in.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16064 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-03 05:29:55 +00:00
shennetsind
00846d9366 Fixed bugreport:3591 Ninja's Cast-off Ciceda Shell now triggers card effects even tho it misses (e.g. garm card / pest card)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16063 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-03 03:44:41 +00:00
shennetsind
19043f454c Fixed bugreport:5603 Genetic Change Material missing items were added thanks to Igniz.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16062 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-03 03:23:46 +00:00
shennetsind
d0da5125a6 Fixed bugreport:5655 Venom Impress boost against poison should now work.
Additionally, Fixed Oratio Throns Trap and Elemental Fire Cloak elemental atrributes

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16061 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-03 02:52:32 +00:00
shennetsind
85a132d8d9 Fixed bugreport:5601 Mechanic's Shapeshift, Genetic's Fire Expansion and Sorcerers Summon Elemental skills all now consume its proper requirements depending on level. Sepcial thanks to Igniz
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16059 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-03 02:17:38 +00:00
shennetsind
0801d23cf2 Fixed bugreport:5681 Sorcerer Striking may now only be cast on self or party members, SP upkeep updated.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16058 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-03 02:08:49 +00:00
shennetsind
7772ee11ff Fixed bugreport:5573 Ranger Electric Shocker Trap should now be fully functional.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16057 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-03 01:58:24 +00:00
shennetsind
ce563255a2 Fixed bugreport:3452 players' circular target range is now matching official servers. credits goes all to Angezerus for his formula and fix.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16054 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-03 00:38:48 +00:00
shennetsind
6503d74922 Fixed bugreport:5683 Mechanics in mado gear are no longer able to use blacksmith or whitesmith skills.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16043 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-02 05:10:30 +00:00
shennetsind
9384614806 Fixed bugreport:5650 GN Cart Remodeling weight boost should now be working properly.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16042 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-02 05:02:59 +00:00
shennetsind
3896e1959b Fixed bugreport:5484 Cursed Circle caster can no longer move while in the 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://svn.code.sf.net/p/rathena/svn/trunk@16041 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-02 04:42:34 +00:00
shennetsind
58795369bf Fixed bugreport:5649 shura cursed circle now stops mobs from being able to target you while under effect.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16040 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-02 04:31:18 +00:00
shennetsind
bbf7b5bf82 Fixed the last buildbot warnings throughout multiple platforms, from console plugin (which should be purged rather than fixed imo :|)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16039 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-02 03:38:57 +00:00
shennetsind
8761ef9d54 Fixed 2 buildbot warnings throughout multiple operating systems.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16037 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-02 03:28:56 +00:00
shennetsind
675fde71d9 Fixed bugreport:5660 DEF and MDEF now display in its proper renewal fields (under renewal mode)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16035 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-02 03:21:30 +00:00
shennetsind
f10c80667f Fixed bugreport:5502 Fixed bug with character moving to attack target (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://svn.code.sf.net/p/rathena/svn/trunk@16034 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-02 02:57:30 +00:00
shennetsind
75e68b278f Fixed bugreport:5682 elemental_init was being called instead of final at inter.c
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16033 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-02 02:19:21 +00:00
shennetsind
fae298d8f7 @mi/@mobinfo: Added support for mob FLEE & HIT, dropped SP support (all official mobs have 1 sp).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16032 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-02 02:15:17 +00:00
shennetsind
27979837e4 Updated load order so that map server's console display order is preserved
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16031 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-02 01:52:03 +00:00
shennetsind
c282d3374c Follow up r16025 minor performance improvement on the already-stupid job name handling of char server. (we're still discussing how to better handle this)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16030 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-02 01:26:40 +00:00
shennetsind
b124a643c9 Follow up r16025 fixing gcc warning, special thanks to brian for noticing.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16028 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-01 22:35:47 +00:00
shennetsind
d1beddaeb1 Added @accinfo atcommand. "Huge thanks to"/"Credits to" Dekamaster/Nightroad <3.
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://svn.code.sf.net/p/rathena/svn/trunk@16025 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-01 21:57:53 +00:00
epoque11
33d4763ad2 - Fixed compilation errors due to unnamed argument in npc_unload (bugreport:5676)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16020 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-30 13:13:07 +00:00
epoque11
3e22697410 - Amended the permanent NPC variable instance system to utilise the same allocated DBMap** (follow-up to r16018)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16019 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-30 12:59:01 +00:00
epoque11
8d89bc7c83 - Fixed NPC instance variables not being passed through to callfunc; or callsub; stacks properly (bugreport:5673)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16018 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-30 12:50:56 +00:00
epoque11
7c77d43217 - Removed copyarray; functionality when running set; or assigning variables (bugreport:5675)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16017 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-30 12:21:59 +00:00
epoque11
33cad70492 - Updated the unit engine to cache attacker count rather than utilise CPU intensive block iterations
- This update removes two unofficial settings, nothing that will go amiss

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16011 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-29 22:52:10 +00:00
shennetsind
1bac5ef84d Fixed bugreport:5668 delayed consumption items are no longer usable while sitting. (temporary measure until we figure what actually broke it)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16010 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-29 20:43:50 +00:00
brianluau
a0ef961db9 - Removed leftover TXT configs, follow-up to r15503.
- Edited more ***_config_read() functions to show a warning if "Unknown setting" is found.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16009 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-29 20:32:21 +00:00
shennetsind
2f177fa207 A minor memory improvement, and some curly brace love.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16008 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-29 17:54:32 +00:00
shennetsind
622ce6fd0f Yet another performance improvement: Shut Down processing is now about to 7 times faster.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16006 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-29 16:33:55 +00:00
shennetsind
444142de89 Follow up r16004 >_<" some not-supposed-to-be-comitted debug messages slipped in.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16005 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-29 15:51:28 +00:00
shennetsind
535e0712a9 reasonably-sized performance improvement: @reloadscript is about to 3 times faster.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16004 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-29 15:47:57 +00:00
epoque11
9b45e8e104 - Fixed a missing variable storage allocation resulting in NPC variables not being saved (bugreport:5669)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16003 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-29 14:47:56 +00:00
epoque11
7c11d35955 - Fixed a map-server crash when script variable storage reference is NULL (bugreport:5666)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16002 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-29 11:40:20 +00:00
epoque11
ab8f7490a0 - Fixed an issue with the instance variable storage system never being 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://svn.code.sf.net/p/rathena/svn/trunk@15998 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-28 22:15:18 +00:00
epoque11
02e4daf67d - Updated the script engine to make use of the DBMap* structure for storing variables (for Ind <3)
- Fixed missing new-lines at the end of various files causing warnings

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15997 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-28 21:50:55 +00:00
epoque11
20e1d5b8b4 - Updated the script engine to store references to important re-used methods (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://svn.code.sf.net/p/rathena/svn/trunk@15994 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-28 12:39:38 +00:00
epoque11
c9228bf0f3 - Fixed typo for the -- operator (follow-up to r15982)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15985 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-27 17:09:10 +00:00
epoque11
c3193f3106 - Added initial support for direct variable assignment (allows assigning 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://svn.code.sf.net/p/rathena/svn/trunk@15982 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-27 13:28:51 +00:00
epoque11
870a300ae5 - Follow-up to r15979, updated parse_simpleexpr to parse direction function invocation
- Added SCRIPT_CALLFUNC_CHECK macro to disable direct callback if affecting performance

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15981 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-26 19:19:31 +00:00
epoque11
2578dfe2f9 - Added support for scripts to call user-defined functions without the use of callfunc
- Note: the callfunc; method is still required to be defined in the source

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15979 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-26 18:37:23 +00:00
greenboxal2
7aff48d520 Follow up r15975. Fixed warning on elemental.c. (bugreport:5637)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15976 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-25 22:54:40 +00:00
xazax-hun
f304ebb056 * Replaced rand() calls with rnd().
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15975 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-25 18:31:34 +00:00