1. These forums are still being retired! Please use GitHub discussions or Discord. You cannot create new threads or new accounts now. If you need to contact some user of the forums, you should do it sooner, rather than later. This notice was last updated on May 30th, 2021.

Abandoned WorldEdit 1.4.9

Adds mass tile editing commands for TShock.

  1. Enerdy

    Enerdy Satellite Admin
    TShock Mod Plugin Developer Zero Day Plugin Author

    Joined:
    Nov 14, 2012
    Messages:
    506
    Enerdy submitted a new resource:

    WorldEdit - Adds mass tile editing commands for TShock.

    Read more about this resource...
     
    • Like Like x 3
  2. Xanthor

    Xanthor Level 2

    Joined:
    Oct 6, 2015
    Messages:
    25
    Was looking at your new edditer and going to give it a try, but was wondering, can it enlarge a world? For example, lets say I wanted to add more land on the east or west end where the world ends by the water. Can you actually go further out using this?
     
  3. Enerdy

    Enerdy Satellite Admin
    TShock Mod Plugin Developer Zero Day Plugin Author

    Joined:
    Nov 14, 2012
    Messages:
    506
    WorldEdit can only modify the world's contents. It cannot change properties such as name or size. For that you'd need an external tool such as TEdit.
     
  4. Lugia_101

    Lugia_101 Level 4

    Joined:
    Mar 13, 2015
    Messages:
    51
    When I am using this plugin this error happens and I am getting lost connection
     

    Attached Files:

  5. Enerdy

    Enerdy Satellite Admin
    TShock Mod Plugin Developer Zero Day Plugin Author

    Joined:
    Nov 14, 2012
    Messages:
    506
    That's odd. It looks like an error you'd get when running plugins not compiled against the latest TSAPI version. Are you sure you're running the latest version downloaded from the resource manager with the latest version of TShock?
     
    • Agree Agree x 1
  6. Z3R0

    Z3R0 Level 1

    Joined:
    Dec 16, 2015
    Messages:
    12
    Hello, so I am having some problems with this plugin. I do have the updated version of all the plugins. I get an error similar to that of Lugia_101, but that only happens when I do it. All of my staff members can use the commands fine, but when I (I am playing on the same computer the server is being run on) execute something as simple as //point1, //point2, //set "Stone" it saves the world and then crashes with an error similar to this:

    2016-01-22 22:18:12 - TShock: ERROR: System.NotSupportedException: The given path's format is not supported.
    at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
    at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
    at System.IO.File.Open(String path, FileMode mode)
    at WorldEdit.Tools.SaveWorldSection(Int32 x, Int32 y, Int32 x2, Int32 y2, String path)
    at WorldEdit.Tools.PrepareUndo(Int32 x, Int32 y, Int32 x2, Int32 y2, TSPlayer plr)
    at WorldEdit.Commands.Paint.Execute()
    at WorldEdit.WorldEdit.QueueCallback(Object context)
    at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(Object state)
    at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
    at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
    at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
    at System.Threading.ThreadPoolWorkQueue.Dispatch()
    at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()

    Even if I do it in a 4 block big square it will cause the server to crash. Again, this only happens when I do it. Can someone please help me with this?
     
  7. Lugia_101

    Lugia_101 Level 4

    Joined:
    Mar 13, 2015
    Messages:
    51
    I have some errors of World Edit recently

    TShock: ERROR: System.ArgumentException: Illegal characters in path.
    at System.IO.Path.CheckInvalidPathChars(String path, Boolean checkAdditional)
    at System.IO.Path.Combine(String path1, String path2)
    at WorldEdit.Tools.PrepareUndo(Int32 x, Int32 y, Int32 x2, Int32 y2, TSPlayer plr)
    at WorldEdit.Commands.Flood.Execute()
    at WorldEdit.WorldEdit.QueueCallback(Object context)
    at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(Object state)
    at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
    at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
    at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
    at System.Threading.ThreadPoolWorkQueue.Dispatch()
    at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()
    2016-03-06 13:19:38 - Utils: INFO: Broadcast: Saving world. Momentary lag might result from this.
    2016-03-06 13:19:41 - Utils: INFO: Broadcast: World saved.
    2016-03-06 13:19:41 - SaveManager: INFO: World saved at (world.wld.crash)

    If someone could help that would be helpful.
     
  8. Enerdy

    Enerdy Satellite Admin
    TShock Mod Plugin Developer Zero Day Plugin Author

    Joined:
    Nov 14, 2012
    Messages:
    506
    Could you please tell me the name of the character you're using when this occurs? Seems like some letter(s) in it are conflicting with the action history file saving.
     
  9. Lugia_101

    Lugia_101 Level 4

    Joined:
    Mar 13, 2015
    Messages:
    51
    My Character name is <3 Lugia <3.
    Is it because of the <3?
    Also thanks for the fast reply
     
  10. Enerdy

    Enerdy Satellite Admin
    TShock Mod Plugin Developer Zero Day Plugin Author

    Joined:
    Nov 14, 2012
    Messages:
    506
    https://msdn.microsoft.com/en-us/library/system.io.path.getinvalidpathchars(v=vs.110).aspx
    Apparently, < is an invalid path character in some versions of Windows. WorldEdit stores actions for each user in individual files named after the user, so that things can be undid if need be. This means you won't be able to use it properly as long as your character includes one of the type chars mentioned on that article.
     
  11. Z3R0

    Z3R0 Level 1

    Joined:
    Dec 16, 2015
    Messages:
    12
    Thanks, that fixed my problem
     
  12. Lugia_101

    Lugia_101 Level 4

    Joined:
    Mar 13, 2015
    Messages:
    51
    Thanks it fixed my problem too :)
     
  13. Z3R0

    Z3R0 Level 1

    Joined:
    Dec 16, 2015
    Messages:
    12
    Edit: Fixed my problem by reinstalling
     
    #13 Z3R0, Mar 12, 2016
    Last edited: Mar 13, 2016
  14. Tesla

    Tesla Level 1

    Joined:
    Aug 13, 2015
    Messages:
    12
    This plugin is absolutely amazing, but would it be possible to paste chest contents as well (when pasting clipboard to selection)?
     
  15. Lugia_101

    Lugia_101 Level 4

    Joined:
    Mar 13, 2015
    Messages:
    51
    Someone knows how to place Actuators with World Edit?
    I tried many ways such as //set actuator or //setwire actuator on
    If someone could help me that would be wonderful :)
    (Sry for bad english)
     
    #15 Lugia_101, May 7, 2016
    Last edited: May 8, 2016
  16. AquaBlitz11

    Plugin Developer

    Joined:
    Aug 20, 2013
    Messages:
    92
    It's not officially in WorldEdit yet. But, someone did create that command and put it on GitHub, here (should be in WorldEdit/bin folder). Command is //actuate <on/off/reverse> [=> boolean exp]. Permission is worldedit.region.actuate.
     
  17. Lugia_101

    Lugia_101 Level 4

    Joined:
    Mar 13, 2015
    Messages:
    51
    ahh thanks :)
     
  18. Untouchablekill

    Untouchablekill Level 0

    Joined:
    Jul 22, 2011
    Messages:
    4
    So I don't see any documentation, how do you set points? I use the command but it says to modify a block and when I do nothing happens.
     
  19. Zardus

    Zardus Level 0

    Joined:
    Oct 8, 2014
    Messages:
    3
    Also happens to me. Hmm, but for now you could //point1 x y and //point2 x y. (if you know the coordinates of where you want to set the points; using /pos also helps)
     
  20. Enerdy

    Enerdy Satellite Admin
    TShock Mod Plugin Developer Zero Day Plugin Author

    Joined:
    Nov 14, 2012
    Messages:
    506
    If you're trying to run this with latest TShock, you will get a ton of exceptions related to InAreaRegionName(). I already fixed this on source, but haven't updated it on the resource manager yet.