Antares Posted May 18, 2014 Posted May 18, 2014 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. 1
Euphy Posted May 18, 2014 Posted May 18, 2014 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.
Antares Posted May 21, 2014 Author Posted May 21, 2014 Both should also fail on higher GM levels. What do you mean?
Euphy Posted May 21, 2014 Posted May 21, 2014 What do you mean?You shouldn't be able to use these commands, on, say, an admin.
Antares Posted May 21, 2014 Author Posted May 21, 2014 You mean copying an admins stuff? In that case yup
Cydh Posted May 26, 2014 Posted May 26, 2014 Both should also fail on higher GM levels. What do you mean? just like 40 GM can't kick 60 GM, level restriction. well, approved?
Cydh Posted June 15, 2014 Posted June 15, 2014 Added here 267d521, I'll keep open this for 1~3 days, waiting for feedback here. Thank you.
Antares Posted June 16, 2014 Author Posted June 16, 2014 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
Recommended Posts