10350 Commits

Author SHA1 Message Date
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
shennetsind
2ec8dccf2f Follow up r15936 Fixed crash when sc_increaseagi would be cast on non-players.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15944 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-23 12:07:59 +00:00
flaviojs
d90ebcbd87 Add ENABLE_EXTRA_BUILDBOT_CODE to CMakeLists.txt
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15940 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-23 03:52:52 +00:00
cleaverbeaver
6a0e308280 * Fixed (bugreport:5589)
- It seems that the Increase agi effect put the char to stand if sit.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15936 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-22 23:44:36 +00:00
xantara
324e1cf7a2 - Fixed Emergency Call (bugreport:3291) so that it does not recall dead guild members
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15934 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-22 22:20:04 +00:00
greenboxal2
044d833541 Fixed bugreport:5599 magic damage reduction formula were wrong.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15932 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-22 21:52:06 +00:00
eathenabot
a8dd6428de * Merged changes up to eAthena 15090.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15929 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-22 17:34:07 +00:00
eathenabot
0fa9f37474 * Merged changes up to eAthena 15088.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15928 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-22 17:30:17 +00:00
eathenabot
e1ee9a8ef1 * Merged changes up to eAthena 15087.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15927 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-22 17:18:25 +00:00
eathenabot
490bd54958 * Merged changes up to eAthena 15086.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15926 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-22 17:10:52 +00:00
brianluau
a2eef3aa15 - BuildBot: separated Debian and Ubuntu builders, and made only one trigger the map-server_sql test.
- Reverted accidental changes to heal_payment.txt (bugreport:5606)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15925 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-22 16:49:39 +00:00
brianluau
a5b8772792 - Follow-up to r15923: fixed renamed file not being svn-copied (and lacking svn history).
- Added svn:eol-style=native property for some recently added text files.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15924 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-22 15:17:49 +00:00
masao87
49459d342e - Guild folder update.
* Partially rewrote all castle files and updated all Castle flags, NPC's and warp coordinations to latest available official file.
* Renamed agit_template to agit_main and also updated it to latest available official file.
* Removed the Treasure Room Protection from agit_template and separated it into another file which will now be known as trs_rp.txt
- trs_rp.txt will allow that only the Guildleader can be in the Treasure Room, if you want to disable this protection just set an // in scripts_guild.conf before npc: npc/guild/trs_rp.txt .
- Moved payon castle map warps from warps/cities/payon.txt to warps/guild/guildcastles.txt .

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15923 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-22 14:48:03 +00:00
technote24
99605e56c6 =General
*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://svn.code.sf.net/p/rathena/svn/trunk@15922 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-22 11:15:30 +00:00
shennetsind
da96970dde Follow up r15885 Added missing skill_cast_db.txt skill_Db.txt and skill_require_db.txt entries for pre-re db
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15921 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-22 10:29:13 +00:00
shennetsind
3c00ee29ae Fixed bugreport:5605 Spell Fist should now work properly. Also Added missing Elemental SC damage boosts
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15920 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-22 10:23:41 +00:00
epoque11
caafbf2417 - Fixed Vacuum Extreme not assigning units (bugreport:5604) and additionally not preventing movement
- Added missing units from pre-renewal skill_unit_db.txt

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15919 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-22 10:22:24 +00:00
shennetsind
ec472cc72b Updated Mob AI's target check with new status effects: SC_BITE, SC_VACUUM_EXTREME, SC_CRYSTALIZE, SC_THORNSTRAP and SC__MANHOLE.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15918 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-22 09:55:33 +00:00
shennetsind
61d5fe8fb1 Fixed bugreport:5604 Firewalk and Electric Walk now function properly.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15917 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-22 09:47:14 +00:00
brianluau
ff15797bc5 - Changed @pettalk /dice to roll random 1-6 (before it always rolled 1).
- 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://svn.code.sf.net/p/rathena/svn/trunk@15916 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-22 06:38:03 +00:00
xantara
bb37466164 Applied renewal skill changes: (bugreport:5302)
- 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://svn.code.sf.net/p/rathena/svn/trunk@15913 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-22 02:49:26 +00:00
greenboxal2
0d6d62a262 Fixed bugreport:5537 SR_GENTLETOUCH_CURE now acts with official behavior.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15910 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-22 00:10:08 +00:00
epoque11
78ceff5b9e - Fixed Spell Fist being unable to cast while casting a bolt skill (bugreport:5597)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15909 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-21 15:26:32 +00:00
greenboxal2
1ccea559bf Added mvp tomb system.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15908 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-21 14:00:23 +00:00
epoque11
15d1f7106f - Updated the at-command system to exchange hard-coded messages with those from the at-command help file
- Amended existing commands to display additional information when no parameters are entered

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15907 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-21 11:01:56 +00:00
shennetsind
0d31185766 follow up r15885. Accidentally enabled @warp to level 0 players.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15906 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-21 11:00:32 +00:00