Antares

New atcommands suggestion

Recommended Posts

Hello!

 

I was testing on our server some issues when it came to my mind that it would be pretty cool to have some atcommands for copying all the stats and equipment of a selected player.

 

Something like:

@clonestats <source player> (set your own stats accordingly to another player's)

@cloneequips <source player> (unequip everything, then produce every item the other player has equipped and equip them)

 

It would be great because there are many occasions in which a player reports a problem which involves testing skills/items/battle mechanics, and in those cases to test it properly GMs usually setup their own character to mimic that of the reporting player's. It can take several minutes to produce the items and set the stats. This would shorten that time to 2 commands.

  • Upvote 1

Share this post


Link to post
Share on other sites

Sounds fine. They should perform at least these checks though:

  • @clonestats: If player has stats over the normal limit, check if the invoking character's group ID has permissions to exceed the limit as well.
  • @cloneequips: Check if all equipment is wearable by the invoking character (unless its group ID has the all_equipment permission) and if its inventory has space for its current equipment.

Both should also fail on higher GM levels.

Share this post


Link to post
Share on other sites

 

Both should also fail on higher GM levels.

 

What do you mean?

Share this post


Link to post
Share on other sites

What do you mean?

You shouldn't be able to use these commands, on, say, an admin.

Share this post


Link to post
Share on other sites

You mean copying an admins stuff? In that case yup

Share this post


Link to post
Share on other sites

 

 

Both should also fail on higher GM levels.

 

What do you mean?

 

just like 40 GM can't kick 60 GM, level restriction. /heh

 

well, approved?

Share this post


Link to post
Share on other sites

Added here 267d521, I'll keep open this for 1~3 days, waiting for feedback here. Thank you.

Share this post


Link to post
Share on other sites

Awesome :) Thanx!

Share this post


Link to post
Share on other sites

I tested this, works excellent :)

One question: are the quotation marks neccessary when I use the commands with payer name? I mean isn't it possible to use it like the others: no quots and partial names are enough

Share this post


Link to post
Share on other sites