Emistry Posted December 6, 2012 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: Sunday at 05:32 PM Share Posted December 6, 2012 i was refering to this script command... *getusersname; This command will give the invoking character a list of names of the connected characters (including themselves) into an NPC script message window (see 'mes') paging it by 10 names as if with the 'next' command. You need to put a 'close' after that yourself. i didnt saw any script that used this script command ? thus this script command become kinda useless ? i have never see member create any script that have included this script command ( never...since i joined eA till now.. ) ...even wiki also didnt have documentation for it. since it's useles....perhap we can just drop this or maybe customiz it ? if we are not going to drop it....could we just customize it to something like this ? getusersname( <type>,{mapname} ) 0 = all user name 1 = mapname which work to retrieve all online player name that exist in the map specified...or all users that are currently online.. and save it into a temporary array ? like getpartymember did ? i think it could be useful in certain script that required to attach / check players that stay in certain map.. i know we can done above trick by using attachrid...strcharinfo...getmapxy..... but if we can customize the getusersname into something like this...isnt it more useful than current state ? 1 Quote Link to comment Share on other sites More sharing options...
Euphy Posted December 6, 2012 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 December 6, 2012 I completely agree - the command has about 1 possible use as is, and really should not be a script command at all. Creating account ID arrays of a map or the entire server would be very useful. 1 Quote Link to comment Share on other sites More sharing options...
AnnieRuru Posted December 7, 2012 Group: Members Topic Count: 18 Topics Per Day: 0.00 Content Count: 2044 Reputation: 682 Joined: 10/09/12 Last Seen: December 20, 2020 Share Posted December 7, 2012 (edited) for me ... just once XD http://www.eathena.ws/board/index.php?s=&showtopic=165050&view=findpost&p=910278 and yeah ... this command is useless because the updated script for it looks like this ... http://www.eathena.ws/board/index.php?s=&showtopic=239535&view=findpost&p=1307075 so yeah, vote +1 to remove it Creating account ID arrays of a map or the entire server would be very useful.... better not,or a better solution is use addrid script command ... but somehow it also looks custom ... better don't do something about adding this feature yet until a very confirm solution has found by community Edited December 7, 2012 by AnnieRuru Quote Link to comment Share on other sites More sharing options...
Lighta Posted December 7, 2012 Group: Members Topic Count: 16 Topics Per Day: 0.00 Content Count: 737 Reputation: 216 Joined: 11/29/11 Last Seen: December 20, 2020 Share Posted December 7, 2012 It's a good way to retrive who's on the map for script; like each 10s the people on this map are... That the most simpler/efficient? way in npc, otherwise idk wich iterator you'll use to do so. take all player, attach ? check map ?? Nope, I used back then for statistic. What I agree is that he could be updated to provide other functionnality / option. Actually I added type so he could return char_id, account_id etc for user on map. => think it as list for iterator. Quote Link to comment Share on other sites More sharing options...
GmOcean Posted December 8, 2012 Group: Members Topic Count: 31 Topics Per Day: 0.01 Content Count: 666 Reputation: 93 Joined: 04/27/12 Last Seen: August 17, 2015 Share Posted December 8, 2012 Well, I'd have to agree as well, but I vote for the customization, as it would be useful in the future after it's been through the needed "upgrades". Quote Link to comment Share on other sites More sharing options...
lekkereten Posted December 9, 2012 Group: Members Topic Count: 8 Topics Per Day: 0.00 Content Count: 148 Reputation: 46 Joined: 11/02/11 Last Seen: November 25, 2024 Share Posted December 9, 2012 Agree with Emistry, the code wasn't really working properly (with > 20 player ingame it would pop up two next buttons, and so on each 10 players O.o) Quote Link to comment Share on other sites More sharing options...
Euphy Posted February 15, 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 February 15, 2014 So, considering we already implemented Addrid, does anyone have further thoughts? I'm leaning towards removing it... Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.