Antares Posted May 18, 2014 Group: Members Topic Count: 74 Topics Per Day: 0.02 Content Count: 420 Reputation: 89 Joined: 01/30/12 Last Seen: April 29, 2023 Share 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 Link to comment Share on other sites More sharing options...
Euphy Posted May 18, 2014 Group: Members Topic Count: 72 Topics Per Day: 0.02 Content Count: 2997 Reputation: 1132 Joined: 05/27/12 Last Seen: June 1, 2017 Share 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. Link to comment Share on other sites More sharing options...
Antares Posted May 21, 2014 Group: Members Topic Count: 74 Topics Per Day: 0.02 Content Count: 420 Reputation: 89 Joined: 01/30/12 Last Seen: April 29, 2023 Author Share Posted May 21, 2014 Both should also fail on higher GM levels. What do you mean? Link to comment Share on other sites More sharing options...
Euphy Posted May 21, 2014 Group: Members Topic Count: 72 Topics Per Day: 0.02 Content Count: 2997 Reputation: 1132 Joined: 05/27/12 Last Seen: June 1, 2017 Share Posted May 21, 2014 What do you mean?You shouldn't be able to use these commands, on, say, an admin. Link to comment Share on other sites More sharing options...
Antares Posted May 21, 2014 Group: Members Topic Count: 74 Topics Per Day: 0.02 Content Count: 420 Reputation: 89 Joined: 01/30/12 Last Seen: April 29, 2023 Author Share Posted May 21, 2014 You mean copying an admins stuff? In that case yup Link to comment Share on other sites More sharing options...
Moriarty Posted May 24, 2014 Group: Members Topic Count: 27 Topics Per Day: 0.01 Content Count: 135 Reputation: 13 Joined: 06/20/12 Last Seen: April 14, 2018 Share Posted May 24, 2014 +1, very good. Link to comment Share on other sites More sharing options...
Cydh Posted May 26, 2014 Group: Developer Topic Count: 153 Topics Per Day: 0.03 Content Count: 2285 Reputation: 748 Joined: 06/16/12 Last Seen: February 21 Share 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? Link to comment Share on other sites More sharing options...
Cydh Posted June 15, 2014 Group: Developer Topic Count: 153 Topics Per Day: 0.03 Content Count: 2285 Reputation: 748 Joined: 06/16/12 Last Seen: February 21 Share Posted June 15, 2014 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 More sharing options...
Antares Posted June 15, 2014 Group: Members Topic Count: 74 Topics Per Day: 0.02 Content Count: 420 Reputation: 89 Joined: 01/30/12 Last Seen: April 29, 2023 Author Share Posted June 15, 2014 Awesome Thanx! Link to comment Share on other sites More sharing options...
Antares Posted June 16, 2014 Group: Members Topic Count: 74 Topics Per Day: 0.02 Content Count: 420 Reputation: 89 Joined: 01/30/12 Last Seen: April 29, 2023 Author Share 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 Link to comment Share on other sites More sharing options...
Recommended Posts