684 Commits

Author SHA1 Message Date
glighta
b4b7d621ee Following r16914
-fix @zeny for negative amout bugreport:6886, bugreport:6895 bugreport:6888
-fix @cash,@points command display result
-enforce bound chk for both

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16924 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-14 02:26:00 +00:00
glighta
f98f9a56ab Following r16914
-Upd pre-re db (insignia, homon-s, bloodylust, chaospanic)
-fix @zeny for negative amout bugreport:6886

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16923 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-13 01:03:28 +00:00
momacabu
57006f7756 - Fixed bugreport:6887, a variable was not initialized;
- Make @addwarp <npc name> parameter mandatory as per requests;
- Changed SCB_ALL to SCB_BASE on SC_INTRAVISION case, it should be enough.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16922 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-13 00:27:40 +00:00
momacabu
069793e804 Modified @addwarp to accept a new optional parameter <npc name>. If <npc name> is specified, then the warp created will have that name.
Otherwise it will use a name chosen by the emulator.
If there is already another warp with that name the generic name will be used instead.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16919 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-12 02:46:28 +00:00
shennetsind
f0035207bb Follow up r16916: enforced status recalc when intravision ends to ensure it is properly overridden.
Follow up r16914: removed unused var

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16917 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-12 00:53:03 +00:00
glighta
752776e4cc -Add Homon-S skills, 1st implementation (all done except Eleanors)
--Upd Skill conf to set land-limit for homonculus by default (ground skill limit)
--Mv MH_HEILIGE_STANGE and MH_ANGRIFFS_MODUS skill from Eleanor to Bayeri

-Enforce all zeny transaction to use pc_payzeny and pc_getzeny handlers, (auto log and clif)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16914 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-12 00:06:25 +00:00
momacabu
f28c2a56f5 - Modified *monster and *areamonster script commands to allow size and ai parameters.
-- Event parameter now no longer works as size & ai replacement.
-- If not defined, it'll assume the default size (0 = medium) and default ai (0 = none).
- Changed all hardcoded AI states to recently created enum.

Please test, if you find any bugs, report on our Bug Tracker.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16904 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-10 19:44:12 +00:00
shennetsind
e242d2b5a9 Performance Improvement; Server shut down, instance clear up, and @cleanmap are now all faster. Instead of wasting time doing a dbmap lookup (of a data it already possessed!) on each floor item being deleted, it'll use the data to clean the item.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16901 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-10 17:15:37 +00:00
momacabu
aae7d1d129 - Removed backup.pl (for TXT servers) and vs9-to-vs8.php (outdated versions);
- Merged @killmonster2 with @killmonster tid:73632;
- Fixed bugreport:6764, auction code was misplaced;
- Follow up to r16753 (bugreport:6523), fixed bugreport:6673, using Gravitational Field with Safety Wall would keep the character immobilized. Blame myself, thankyou Lunar for the fix;
- Fixed bugreport:6514, @slaveclone wouldn't be targeted by monster. Thanks to zippy;
- Fixed bugreport:6837, some code was duplicated;
- Fixed bugreport:6768, removed some leftovers from TXT removal;
- Fixed bugreport:6868, Unequipping a weapon with Incantation Samurai card will not kill you if you have less than 999 hp and are on a non-pvp map;
- Fixed wrong bit field on ai field in mob_data structure. Credits to Ind.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16881 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-09 00:26:36 +00:00
brianluau
7b80d7bcdd - Fixed a typo in @mapflag example, since r15009.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16875 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-08 21:54:18 +00:00
glighta
e41effbc4b -Fix bugreport:6547 (bloodylust) upd bloodylust effect to berserk
-Fix bugreport:6208, bugreport:6805 (chaos panic) fix range effect
-Partial Fix bugreport:5275 (toxin now won't interupt unbreackable castskill)
-Folllow up r16847 fix UNT_ZEPHYR get some unwanted bonus, fix Insignia unit range

-Add UF_RANGEDSINGLEUNIT unit propriety thx to 3ceam, workaround to fix ranged unit without timer.
-Prevent WM_SOUND_OF_DESTRUCTION, SC_MANHOLE, WM_LULLABY_DEEPSLEEP being cast in non pvp map
-Fix SC_MAGICMUSHROOM shouldn't force skill if sit
-Replace some hardcoded mobid by enum
-add some mob_is definition for quicker search (gvg and treasure)
-Remove some duplicate check for status_heal (if berserk already done in status heal)
-Upd few documentation

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16855 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-01 01:40:29 +00:00
rud0lp20
156446bf33 Fixed Level/Drop modifier based on level difference and created a db as suggested in pid:137564. (bugreport:6585)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16842 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-10-30 07:30:36 +00:00
glighta
7a6a529548 -Add some src basic documentation.
-Change some remaining -1 for status ending timer.
-Move some hardcoded msg in msg_athena
-Small optimisation on battle_attr_fix

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16835 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-10-29 06:33:43 +00:00
euphyy
fc688d4916 * Fixed applicable job on Ebone Armor (bugreport:6705)
* Follow-up r16790 / r16791, formatting and strncmp -> strcmp (src\map\atcommand.c)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16792 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-09-22 18:32:55 +00:00
spre123
81670d02ba Oops I goofed Forgot to resave the File Left out arguements for mora. [Spre]
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16791 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-09-22 18:20:17 +00:00
spre123
918ba34f84 Fixed @go, where mora and morocc had conflicts, @mora was sending you to morocc. Also Added the spelling of "Morroc", Thereby Sending you to morocc in the event you mistype it. [Spre]
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16790 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-09-22 18:08:18 +00:00
brianluau
3cc0cfd6ba - Partial revert of r16782. (bugreport:6704)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16783 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-09-16 15:57:08 +00:00
daegaladh
ba8bb6ff0a Removed stupid alternative city names from @go command and added real ones, also fixed a couple typos.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16782 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-09-16 14:06:25 +00:00
shennetsind
c728a34884 Fixed @raise/@raisemap incorrect behavior which would heal everyone in the server/map despite being dead or not, Thanks to Joseph for reporting
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16762 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-09-08 18:06:38 +00:00
shennetsind
14bdbdcaf6 Fixed bugreport:6557 players unable to use char commands will no longer get the 'charcommand failed' message, instead it'll show as a normal chat message
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16759 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-09-08 17:51:14 +00:00
shennetsind
0beeb8ebf6 Added new group permission as discussed with other developers "disable_commands_when_dead"
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16751 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-09-06 20:10:58 +00:00
shennetsind
1595dda79a Added @cart as per discussion in tid:70389 (mostly greatly helpful for debugging), after some developer discussion we've decided to make @newmount a permanent command, we however decided to rename it so that if newer mounts are available it doesn't confuse anyone: @mount2.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16749 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-09-06 19:46:25 +00:00
euphyy
bc54a54ae5 * Follow-up r16725: changed atcommand.c comments to match new msg_athena lines (credits to mkbu95)
* Fixed bugreport:6609, incorrect message numbers in atcommand.c
* Fixed bugreport:6608, typo in quests_dicastes.txt

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16735 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-09-02 20:48:18 +00:00
brianluau
369a65f7da - Changed the column spacing in @go (town list) and @job (jobname list) so it lines up for Arial font, instead of fixed-width fonts.
- Follow up to r15907, made atcommand_help_string() convert alias to real command name before looking up in help.txt
- Moved the list of jobs to help.txt and converted @job to utilize atcommand_help_string().

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16729 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-09-01 04:14:07 +00:00
brianluau
c37e0bdd3f - help.txt Params lists: changed "/" to "|" to match the rest of the file.
- Removed an extra 'packet_db_ver' comment from r15173.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16728 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-09-01 04:04:00 +00:00
euphyy
b2029010bb * Updated new atcommand messages in msg_athena to be more grammar-friendly.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16725 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-31 18:02:11 +00:00
brianluau
c6fa46db85 - Moved 400+ hard-coded messages to msg_athena.conf for easier translating. Thanks mkbu95!
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16724 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-31 06:24:39 +00:00
brianluau
41af7482b1 - Fixed warnings from r16722.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16723 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-31 02:03:11 +00:00
brianluau
f8a4c8b82f - Fixed @item so it only displays message "Item created" on success.
- Changed @raisemap to also function as "@healmap".
- Changed txt_time() to omit days/hours/seconds if there are none.
- Also applied the 'min_chat_delay' to @main, @pettalk and @homtalk.
- Fixed a warning in skill.c (bugreport:6593)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16722 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-31 01:44:18 +00:00
shennetsind
1beef8ba89 Major cleanup all over the place, made possible by mkbu95's scan-build report he provided us with.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16687 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-22 20:33:06 +00:00
shennetsind
40b3dfe73b Added 2 (3) new atcommands:
* @unloadnpcfile <file path>
** e.g. "@unloadnpcfile npc/cities/alberta.txt" unloads all npcs created by the npc/cities/alberta.txt file.
* @addperm/@rmvperm <permission_name>
** e.g. "@addperm skill_unconditional" / "#rmvperm "player" skill_unconditional"

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16656 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-17 19:41:29 +00:00
shennetsind
c8c7de9312 Added @reloadquestdb as per Script / DB Developer Joseph request.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16651 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-17 13:20:07 +00:00
brianluau
e55279cabe - Removed useless mapname compares (since r570) and fixed the strncmp for malangdo/malaya (r15388). [thanks lighta]
- Follow up to r16322 so the comment "only modifier is halved but still benefit with the damage bonus" is actually true. Thanks lighta!

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16637 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-15 04:30:29 +00:00
xantara
454afdb992 ` Added new atcommands: disguiseguild, undisguiseguild, sizeall, sizeguild
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16635 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-15 01:09:30 +00:00
shennetsind
c282d08040 Follow up r16632, added check on level up so that the equip is automatically unequipped when you leave the elvmax range, special thanks to mistah_j for pointing out.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16633 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-14 09:45:56 +00:00
xantara
feaa5fc6d8 Fixed bugreport:6395, added renewal @go spawn for izlude
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16586 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-05 22:49:16 +00:00
xazax-hun
0764ca499e Moved a few messages from source to msg_athena.conf.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16495 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-24 18:43:19 +00:00
xazax-hun
e29045dcd5 Refinements to atcommand suggestions.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16489 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-24 09:18:04 +00:00
shennetsind
fd883e509b Fixed @adjgroup so that the cached permissions are updated alongside the group id.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16488 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-24 05:25:09 +00:00
shennetsind
dc62ddd164 Follow up r16471 improved overall feature performance by making the bind list a pointer array, this also allows the system to have a unlimited amount of atcommand bind instances. also fixed a memory leak that'd be caused when npc_do_atcmd_event fails (e.g. when target npc is manually reloaded)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16485 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-23 19:26:50 +00:00
cookiecrumbs
0fd45ac13e Added the ability to bind atcommands to NPC events (ex: NPCNAME::OnEvent); original version by ToastOfDoom however heavily modified by I enabling command level at the invoking/character (@/#) level and fixes to prevent console errors as well as fixes aimed to ensure compatibility with rAthena.
Updated the script_commands.txt documentation with the following script commands: bindatcmd, unbindatcmd and useatcmd.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16471 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-22 05:15:32 +00:00
shennetsind
39d578de13 Fixed bugreport:6269 added a way to test files prior to @reloadatcommand so that if they fail to read the server doesn't get stuck with no atcommands (and no way to reload again since the reload is a atcommand…) also fixed a memory-release missing since the group.conf stuff was first added.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16447 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-18 21:13:40 +00:00
cookiecrumbs
1c121768cb New permissions added for groups: show_bossmobs, disable_pvm and disable_pvp; documented usage in permissions.txt
Fixed a typo in monster.conf.
Removed old functionality from showmobs command to make room for show_bossmobs.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16445 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-18 20:06:54 +00:00
shennetsind
ae40bf0ec7 Super performance improvement to groups system, caching permissions levels and atcommand permissions saving thousands of thousands of dbmap lookups.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16443 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-18 19:47:51 +00:00
greenboxal2
4ad7e62105 Follow up r16403, adjusted map_reloadnpcs to follow new config standards(r16382).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16404 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-11 22:37:41 +00:00
greenboxal2
8d8baccf71 Fixed bugreport:6187 @reloadscript now reload map config files seeking for npcs.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16403 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-11 22:07:39 +00:00
shennetsind
487a66a879 Fixed bugreport:5295 Added a config so each server owner may decide whether their users are to view the actual data or not, requires RENEWAL_DROP
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16337 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-24 01:09:43 +00:00
shennetsind
e83f4ecdf6 Fixed bugreport:6090 Mercenary Skills are no longer broken after a @reloadmobdb
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16333 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-23 23:43:25 +00:00
shennetsind
87b7acbc69 Modified @displaystatus to support val1/2/3 as optional arguments (greatly handy at testing/debugging status)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16294 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-14 01:04:19 +00:00
brianluau
29749ceaa8 - Replaced more -> rAthena (follow up to r15251).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16195 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-01 04:06:10 +00:00