Jump to content

New atcommands suggestion


Antares

Recommended Posts


  • Group:  Members
  • Topic Count:  74
  • Topics Per Day:  0.02
  • Content Count:  420
  • Reputation:   89
  • Joined:  01/30/12
  • Last Seen:  

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
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  72
  • Topics Per Day:  0.02
  • Content Count:  2997
  • Reputation:   1130
  • Joined:  05/27/12
  • Last Seen:  

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.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  74
  • Topics Per Day:  0.02
  • Content Count:  420
  • Reputation:   89
  • Joined:  01/30/12
  • Last Seen:  

 

Both should also fail on higher GM levels.

 

What do you mean?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  72
  • Topics Per Day:  0.02
  • Content Count:  2997
  • Reputation:   1130
  • Joined:  05/27/12
  • Last Seen:  

What do you mean?

You shouldn't be able to use these commands, on, say, an admin.
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  74
  • Topics Per Day:  0.02
  • Content Count:  420
  • Reputation:   89
  • Joined:  01/30/12
  • Last Seen:  

You mean copying an admins stuff? In that case yup

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  27
  • Topics Per Day:  0.01
  • Content Count:  135
  • Reputation:   13
  • Joined:  06/20/12
  • Last Seen:  

+1, very good.

Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  153
  • Topics Per Day:  0.04
  • Content Count:  2285
  • Reputation:   745
  • Joined:  06/16/12
  • Last Seen:  

 

 

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?

Link to comment
Share on other sites

  • 3 weeks later...

  • Group:  Developer
  • Topic Count:  153
  • Topics Per Day:  0.04
  • Content Count:  2285
  • Reputation:   745
  • Joined:  06/16/12
  • Last Seen:  

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

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  74
  • Topics Per Day:  0.02
  • Content Count:  420
  • Reputation:   89
  • Joined:  01/30/12
  • Last Seen:  

Awesome :) Thanx!

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  74
  • Topics Per Day:  0.02
  • Content Count:  420
  • Reputation:   89
  • Joined:  01/30/12
  • Last Seen:  

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

Link to comment
Share on other sites

×
×
  • Create New...