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
shennetsind
66e10ae1a7
Updated @changelook to support robe id added missing instruction for already-supported id #6
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16186 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-31 19:00:20 +00:00
shennetsind
166e32999d
Fixed bugreport:5835 vendings are no longer broken when character moves map or is recalled by a gm.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16181 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-31 15:27:13 +00:00
eathenabot
5332f09241
* Merged changes ONLY eAthena 15110.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16174 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-31 05:12:24 +00:00
rud0lp20
3a86a38e89
Fixed bugreport:5873 sex changed shouldn't now make exploits regarding item bonuses.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16167 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-30 19:10:36 +00:00
shennetsind
7c1f6a70c9
Fixed bugreport:5794 characters are no longer able to bypass servers max level with @baselevel/@jlevl/etc
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16139 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-23 07:43:31 +00:00
shennetsind
d098c01bd2
NPC Loaded by @loadnpc will now trigger their OnInit labels as they're loaded.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16130 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-19 23:15:28 +00:00
shennetsind
6126c9013e
Added new command: @set
...
- Extremely helpful at debugging and by manipulating npc vars with ease.
Examples:
* @set poring 1 -> poring char reg is now 1.
* @set poring$ wtf dude -> poring$ str char reg is now 'wtf dude'
* @set #CASHPOINTS 50 -> #CASHPOINTS acc reg is now 50.
* #set "Target" #CASHPOINTS 30 -> "Target"'s #CASHPOINTS acc reg is now 30.
* @set #CASHPOINTS -> outputs the current value of cashpoints.
note the last one above, if you dont provide a value it will output the current value of the variable.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16123 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-17 10:17:56 +00:00
rud0lp20
2990091a11
Fixed bugreport:5749 Amplify Magic Power should now work properly on multi-hit magical skills.
...
Fixed bugreport:5748 Masquerade-Groomy now removes Dragon and Warg.
Fixed bugreport:5751 Implemented script command in checking/mounting Dragon, Warg and MADO Gear, also made a clean up regarding MADO Gear and Warg conditions.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16114 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-16 16:56:43 +00:00
shennetsind
2bb3fdceb3
Fixed bugreport:4955 @changegm no longer functions within gvg castles, special thanks to masao
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16099 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-11 22:17:11 +00:00
shennetsind
a7d875ae98
Follow up r16071 Fixed memory thing (if atcommand_suggestions_enabled was disabled it'd allocate the iterators but not free them.)
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16082 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-05 04:03: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
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
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
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
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
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
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
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
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
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