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
brianluau
bbc55e9589
- Updated "gained exp" dialog, follow-up to r14920. (bugreport:5662)
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16024 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-01 20:07:32 +00:00
mandark022
a5d70a0749
Revert the amount of Base Exp reward.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16023 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-01 17:06:27 +00:00
mandark022
8db69ca6a7
Fixed (bugreport:5570) added break and continue in switch-case block
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16022 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-30 19:23:05 +00:00
mandark022
2803af9777
Fixed (bugreport:5662) base experience rewards.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16021 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-30 18:24:13 +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
brianluau
ac925c6f28
- Updated Novice WoE script, follow-up to r15657 (bugreport:5653)
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16012 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-30 05:58:34 +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
eathenabot
2214af7c54
- Removed some leftover svn:ignore properties, follow-up to r15503.
...
- Removed svn:ignore properties that were accidentally committed in r15992.
- Removed svn:ignore=conf, follow-up to r11284.
* Merged changes up to eAthena 15091.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16007 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-29 16:54:14 +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
1bf50eb5d9
Happy 1000th commit rAthena!
...
- Fixed a critical grammatical error in doc/atcommands.txt
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16000 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-29 01:12:18 +00:00
brianluau
9d4db5d5ae
- Fixed a spelling and grammar typo in quests_13_2.txt (bugreport:5665)
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15999 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-29 01:09:03 +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
og2
de96ee0457
Fixed (bugreport:5661) - Thanks to Toshiro
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15996 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-28 21:15:29 +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
brianluau
17ac295e6c
- Set svn:eol-style=native on text files.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15992 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-28 06:13:15 +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
b287bda7f8
- Updated script documentation to reflect changes applied in r15979, r15981 and r15982
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15983 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-27 15:26:14 +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
xazax-hun
529295983e
* Code consistency updates. No functional changes. Credits to Lighta.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15974 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-25 18:22:00 +00:00
shennetsind
2a8f785f04
Fixed bugreport:4468 Frost Nova freeze chance has been updated to meet its renewal values.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15972 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-25 13:58:20 +00:00
shennetsind
f6300d31f9
Fixed Wall of Thorn skill, all of its conditions should now be met.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15971 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-25 13:54:57 +00:00
shennetsind
08c67d5d99
Fixed bugreport:5624 Thorn Trap 'immobilization' effect should now be working properly.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15970 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-25 13:49:24 +00:00
shennetsind
147c6ddbad
Minor performance improvement on script function is_function -- replaced 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://svn.code.sf.net/p/rathena/svn/trunk@15969 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-25 13:42:49 +00:00
shennetsind
9d14415b75
Removed pc_cant_newmount since it has been proved newer clients still support them.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15966 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-25 11:20:28 +00:00
greenboxal2
745677aafd
Fixed warning on mob.c.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15965 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-25 04:52:55 +00:00
masao87
b04cf80fda
- Some more 1st Class Platinum Skill NPC optimizations.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15958 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-24 20:30:24 +00:00
kenpachi2k11
9f9dd5f6a6
Updated locations for colored Butterfly Wings (14582-14585) to official.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15955 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-24 19:42:07 +00:00
greenboxal2
4f4f19caf6
Fixed memory leak on MvP tomb system, killer name now uses static buffer. (bugreport:5615)
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15954 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-24 16:27:04 +00:00
masao87
a358c64671
- Follow up r15949 .
...
* Removed some unneeded perm. char. variables.
* And i meant [bugreport:5607] got fixed NOT [bugreport:5606] since Brian already fixed that Bugreport.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15950 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-23 14:33:25 +00:00
masao87
46a800ad3b
- Updated 1st class platinum skill NPC's.
...
- Fixed [bugreport:5606] .
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15949 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-23 14:14:20 +00:00
shennetsind
15b87ef9a5
really minor performance improvement on skill_check_condition_castbegin vs a 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://svn.code.sf.net/p/rathena/svn/trunk@15945 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-23 12:23:23 +00:00