summaryrefslogtreecommitdiff
path: root/src/map/atcommand.c
AgeCommit message (Collapse)AuthorFilesLines
2012-09-01- Changed the column spacing in @go (town list) and @job (jobname list) so ↵brianluau1-16/+12
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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16729 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-09-01- help.txt Params lists: changed "/" to "|" to match the rest of the file.brianluau1-136/+135
- Removed an extra 'packet_db_ver' comment from r15173. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16728 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-31* Updated new atcommand messages in msg_athena to be more grammar-friendly.euphyy1-1/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16725 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-31- Moved 400+ hard-coded messages to msg_athena.conf for easier translating. ↵brianluau1-560/+469
Thanks mkbu95! git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16724 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-31- Fixed warnings from r16722.brianluau1-2/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16723 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-31- Fixed @item so it only displays message "Item created" on success.brianluau1-13/+33
- 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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16722 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-22Major cleanup all over the place, made possible by mkbu95's scan-build ↵shennetsind1-4/+4
report he provided us with. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16687 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-17Added 2 (3) new atcommands:shennetsind1-0/+77
* @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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16656 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-17Added @reloadquestdb as per Script / DB Developer Joseph request.shennetsind1-1/+7
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16651 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-15- Removed useless mapname compares (since r570) and fixed the strncmp for ↵brianluau1-6/+4
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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16637 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-15` Added new atcommands: disguiseguild, undisguiseguild, sizeall, sizeguildxantara1-8/+162
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16635 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-14Follow up r16632, added check on level up so that the equip is automatically ↵shennetsind1-0/+1
unequipped when you leave the elvmax range, special thanks to mistah_j for pointing out. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16633 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-05Fixed bugreport:6395, added renewal @go spawn for izludexantara1-7/+11
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16586 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-24Moved a few messages from source to msg_athena.conf.xazax-hun1-4/+4
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16495 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-24Refinements to atcommand suggestions.xazax-hun1-40/+35
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16489 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-24Fixed @adjgroup so that the cached permissions are updated alongside the ↵shennetsind1-0/+1
group id. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16488 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-23Follow up r16471 improved overall feature performance by making the bind ↵shennetsind1-11/+12
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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16485 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-22Added the ability to bind atcommands to NPC events (ex: NPCNAME::OnEvent); ↵cookiecrumbs1-1/+41
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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16471 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-18Fixed bugreport:6269 added a way to test files prior to @reloadatcommand so ↵shennetsind1-0/+18
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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16447 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-18New permissions added for groups: show_bossmobs, disable_pvm and ↵cookiecrumbs1-5/+3
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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16445 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-18Super performance improvement to groups system, caching permissions levels ↵shennetsind1-17/+60
and atcommand permissions saving thousands of thousands of dbmap lookups. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16443 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-11Follow up r16403, adjusted map_reloadnpcs to follow new config ↵greenboxal21-1/+1
standards(r16382). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16404 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-11Fixed bugreport:6187 @reloadscript now reload map config files seeking for npcs.greenboxal21-0/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16403 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-24Fixed bugreport:5295 Added a config so each server owner may decide whether ↵shennetsind1-3/+9
their users are to view the actual data or not, requires RENEWAL_DROP git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16337 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-23Fixed bugreport:6090 Mercenary Skills are no longer broken after a @reloadmobdbshennetsind1-0/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16333 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-14Modified @displaystatus to support val1/2/3 as optional arguments (greatly ↵shennetsind1-4/+4
handy at testing/debugging status) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16294 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-01- Replaced more -> rAthena (follow up to r15251).brianluau1-4/+3
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16195 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-31Updated @changelook to support robe id added missing instruction for ↵shennetsind1-7/+7
already-supported id #6 git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16186 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-31Fixed bugreport:5835 vendings are no longer broken when character moves map ↵shennetsind1-2/+1
or is recalled by a gm. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16181 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-31* Merged changes ONLY eAthena 15110.eathenabot1-12/+0
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16174 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-30Fixed bugreport:5873 sex changed shouldn't now make exploits regarding item ↵rud0lp201-0/+4
bonuses. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16167 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-23Fixed bugreport:5794 characters are no longer able to bypass servers max ↵shennetsind1-2/+2
level with @baselevel/@jlevl/etc git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16139 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-19NPC Loaded by @loadnpc will now trigger their OnInit labels as they're loaded.shennetsind1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16130 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-17Added new command: @setshennetsind1-0/+113
- 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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16123 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-16Fixed bugreport:5749 Amplify Magic Power should now work properly on ↵rud0lp201-1/+1
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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16114 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-11Fixed bugreport:4955 @changegm no longer functions within gvg castles, ↵shennetsind1-6/+3
special thanks to masao git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16099 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-05Follow up r16071 Fixed memory thing (if atcommand_suggestions_enabled was ↵shennetsind1-4/+6
disabled it'd allocate the iterators but not free them.) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16082 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-04* Partially reverted r16076. The 2 loops wasn't unnecessary, they use ↵xazax-hun1-2/+23
different match strategy. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16078 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-04- Fixed feature.conf improper formatting and removed two unnecessary ↵epoque111-23/+2
iterations (follow-up to r16071) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16076 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-03* Implemented an atcommand suggestion system.xazax-hun1-0/+80
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16071 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-02@mi/@mobinfo: Added support for mob FLEE & HIT, dropped SP support (all ↵shennetsind1-2/+2
official mobs have 1 sp). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16032 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-01Added @accinfo atcommand. "Huge thanks to"/"Credits to" Dekamaster/Nightroad <3.shennetsind1-0/+18
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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16025 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-29reasonably-sized performance improvement: @reloadscript is about to 3 times ↵shennetsind1-1/+1
faster. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16004 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-28- Updated the script engine to make use of the DBMap* structure for storing ↵epoque111-1/+1
variables (for Ind <3) - Fixed missing new-lines at the end of various files causing warnings git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15997 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-25* Replaced rand() calls with rnd().xazax-hun1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15975 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-25Removed pc_cant_newmount since it has been proved newer clients still ↵shennetsind1-5/+0
support them. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15966 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-22- Changed @pettalk /dice to roll random 1-6 (before it always rolled 1).brianluau1-4/+7
- 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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15916 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-21- Updated the at-command system to exchange hard-coded messages with those ↵epoque111-22/+95
from the at-command help file - Amended existing commands to display additional information when no parameters are entered git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15907 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-21- Fixed emperium coordinates in Payon Holy Shadow (payg_cas03).brianluau1-0/+7
- Also enforce sd->emotionlasttime for pet emotions. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15901 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-20Initial support for Genetic, Sorcerer and Elemental Summons. Special Thanks ↵shennetsind1-0/+3
to 3CeAM for the base. Notice this revision onwards requires you to update your char sql table and add the elemental sql table (check sql-files/upgrade_svn15885_log.sql) If you step by any bugs, let us know at http://rathena.org/board/tracker/ Thank you very much. ARRIBA ARRIBA. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15885 54d463be-8e91-2dee-dedb-b68131a5f0ec