Maki Posted November 11, 2012 Group: Members Topic Count: 146 Topics Per Day: 0.03 Content Count: 1195 Reputation: 467 Joined: 11/15/11 Last Seen: April 11, 2023 Share Posted November 11, 2012 Always wondered why we have @addwarp but not @removewarp! Regarding this, the @addwarp command should also be modified: @addwarp 'name' The 'name' field allows warps to be named so they can be removed without restarting server i.e. @addwarp 'event hidenseek 1' prontera 200 200 @removewarp 'name' Name field again allows warp to be removed. Refer to Brian's post for more updated information. Link to comment Share on other sites More sharing options...
Brian Posted November 11, 2012 Group: Members Topic Count: 75 Topics Per Day: 0.02 Content Count: 2223 Reputation: 593 Joined: 10/26/11 Last Seen: June 2, 2018 Share Posted November 11, 2012 Warps added via @addwarp can be unloaded with @unloadnpc if you make note of the user-un-friendly warp name it gives you when you use @addwarp. Or if you have the right-click GM menu, you can right-click, kill the warp. 1. i.e. @addwarp 'event hidenseek 1' prontera 200 200 If we add a <name> option, I suggest add it at the end of the parameters and make it an optional param. Current format (that everyone is used to) is: Params: <map name> <x coord> <y coord> PS: code would also have to check if unique NPC name already exists because the warp added by @addwarp is a new npc object. 2. @removewarp 'name' I vote no. Users who want this behavior can add the alias to trunk/conf/atcommand_athena.conf unloadnpc: ["removewarp"] 2 Link to comment Share on other sites More sharing options...
Ind Posted November 11, 2012 Group: Members Topic Count: 169 Topics Per Day: 0.03 Content Count: 1260 Reputation: 750 Joined: 11/19/11 Last Seen: April 11, 2013 Share Posted November 11, 2012 Warps added via @addwarp can be unloaded with @unloadnpc if you make note of the user-un-friendly warp name it gives you when you use @addwarp. you dont need to remember it, gms can right-click npcs to unload them -- alternatively right clicks also lists the name of any npcs you click. Link to comment Share on other sites More sharing options...
Maki Posted November 11, 2012 Group: Members Topic Count: 146 Topics Per Day: 0.03 Content Count: 1195 Reputation: 467 Joined: 11/15/11 Last Seen: April 11, 2023 Author Share Posted November 11, 2012 It is much much easier to remember it; On DarkRO where we had roughly another 12~ GMs, we all would make a list of the warps we added via @warp (just so we could remember the location of the warp). I agree with Brian's method: @addwarp <map name> <x coord> <y coord> <name> It is MUCH easier to type in: @unloadnpc map1 @unloadnpc map2 @unloadnpc map3 @unloadnpc map4 @unloadnpc map5 @unloadnpc map6 @unloadnpc map7 Then it is to go to all those locations just so we can right-click remove them. So, an NPC created in Prontera will receive a name similar to '324132154' or something like that. Not so easy to remember (and it takes some time trying to determine exactly where the warp is and what name it was given). Additionally, it would give us the unintended ability to create random warps via NPC and be able to remove them without additional effort from within the NPC to figure out where they are. +1. Link to comment Share on other sites More sharing options...
Euphy Posted November 11, 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 November 11, 2012 The name parameter should be optional, and if you try to create a warp with a name already in use, default to the original behavior. Link to comment Share on other sites More sharing options...
Ind Posted November 11, 2012 Group: Members Topic Count: 169 Topics Per Day: 0.03 Content Count: 1260 Reputation: 750 Joined: 11/19/11 Last Seen: April 11, 2013 Share Posted November 11, 2012 The name parameter should be optional, and if you try to create a warp with a name already in use, default to the original behavior. I agree it should be optional, however if the name is already in use I think the command should fail instead -- you may not want to create a warp with a random name. 1 Link to comment Share on other sites More sharing options...
Maki Posted November 11, 2012 Group: Members Topic Count: 146 Topics Per Day: 0.03 Content Count: 1195 Reputation: 467 Joined: 11/15/11 Last Seen: April 11, 2023 Author Share Posted November 11, 2012 +1, that sounds fine. Link to comment Share on other sites More sharing options...
Maki Posted November 12, 2012 Group: Members Topic Count: 146 Topics Per Day: 0.03 Content Count: 1195 Reputation: 467 Joined: 11/15/11 Last Seen: April 11, 2023 Author Share Posted November 12, 2012 Renamed topic as @removewarp is no longer needed for suggestion. Link to comment Share on other sites More sharing options...
Lighta Posted November 12, 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 November 12, 2012 Agree that we may not need a new command but we may add the alias by default in the configuration (since not everyone may know they could remove it like that). And if I resume we need to change the commande so it require a name right ? -ok do we allow same name and hide the unique id that will give him in that case ? (like could be usefull to create like a group, @addwarp w1, @addwarp w1 => @removewarp w1 (remove both) or it's just too complicate and keep it simple ? Also from the exemple you gave I,d prefer do @unloadnpc w1,w2,w3... (read a list instead 1 at a time) Link to comment Share on other sites More sharing options...
lekkereten Posted November 12, 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 November 12, 2012 Added on r16919 Please tell me if it is what you suggested 2 Link to comment Share on other sites More sharing options...
Maki Posted November 12, 2012 Group: Members Topic Count: 146 Topics Per Day: 0.03 Content Count: 1195 Reputation: 467 Joined: 11/15/11 Last Seen: April 11, 2023 Author Share Posted November 12, 2012 If there is already another warp with that name the generic name will be used instead. I would rather the command fail, if possible. It seems more user friendly that way. Yes, the command should fail instead of using a generic name. Link to comment Share on other sites More sharing options...
lekkereten Posted November 13, 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 November 13, 2012 Ok, I'll commit that. Link to comment Share on other sites More sharing options...
Brian Posted November 13, 2012 Group: Members Topic Count: 75 Topics Per Day: 0.02 Content Count: 2223 Reputation: 593 Joined: 10/26/11 Last Seen: June 2, 2018 Share Posted November 13, 2012 do we allow same name and hide the unique id that will give him in that case ? I vote no, because @unloadnpc requires the unique npc name. Also, warp npcs don't have Visible or Visible#hidden names, so it's just the unique name that's important. Added on r16919. Please tell me if it is what you suggested Yea, what Jman and Maki suggested. Link to comment Share on other sites More sharing options...
Recommended Posts