Re: [Mod] WorldEdit [0.6] [worldedit] {GitHub}

The Mod is not done and i'm waiting for Textures

My Mods: Nuke Mod WorldEdit Particles and working on Mesecons
Subscribe me on YouTube if you like my Stuff
My Minetest Builds for Windows

Re: [Mod] WorldEdit [0.6] [worldedit] {GitHub}

sfan5 wrote:

Update!
Changelog:

  • Fixed annoying "You havent got the Permission for that"-Bug when punching Blocks

  • Each Player now has his/her own P1 and P2
    e.g. sfan5 has selected his house while jordan4ibanez has selected a tnt cannon

Download in first Post!

a cannon..A CANNON..i didn't know 2500x3000x1000 was a cannon :D

I give up on the politics, look for me in Minecraftforum! I'll be doing some basic mods.

Re: [Mod] WorldEdit [0.6] [worldedit] {GitHub}

jordan4ibanez wrote:
sfan5 wrote:

Update!
Changelog:

  • Fixed annoying "You havent got the Permission for that"-Bug when punching Blocks

  • Each Player now has his/her own P1 and P2
    e.g. sfan5 has selected his house while jordan4ibanez has selected a tnt cannon

Download in first Post!

a cannon..A CANNON..i didn't know 2500x3000x1000 was a cannon :D

That was just an Example!!!

My Mods: Nuke Mod WorldEdit Particles and working on Mesecons
Subscribe me on YouTube if you like my Stuff
My Minetest Builds for Windows

Re: [Mod] WorldEdit [0.6] [worldedit] {GitHub}

Even with the weperms.txt file in my bin folder, it still gives me permision denied when i try to set blocks. weperms.txt is just a txt document right?

ubuntu would be #1, without unity

Re: [Mod] WorldEdit [0.6] [worldedit] {GitHub}

yep
Whats in your weperms.txt?

My Mods: Nuke Mod WorldEdit Particles and working on Mesecons
Subscribe me on YouTube if you like my Stuff
My Minetest Builds for Windows

Re: [Mod] WorldEdit [0.6] [worldedit] {GitHub}

needs to be where ever it was launched. if theres  a link on your desktop then it needs to be there

I give up on the politics, look for me in Minecraftforum! I'll be doing some basic mods.

Re: [Mod] WorldEdit [0.6] [worldedit] {GitHub}

hmm, im running minetest just on my desktop in a file, where i go to bin and click the compiled minetest application. in my weperms.txt is :  {Scott}

ubuntu would be #1, without unity

Re: [Mod] WorldEdit [0.6] [worldedit] {GitHub}

you need to make the text file look like this:

{scott}
<Pixelized> yup the mpaa has some pretty fast seeders =)

Re: [Mod] WorldEdit [0.6] [worldedit] {GitHub}

but isnt it case sensitive? my username is (capital S) Scott

ubuntu would be #1, without unity

Re: [Mod] WorldEdit [0.6] [worldedit] {GitHub}

Scott wrote:

but isnt it case sensitive? my username is (capital S) Scott

It's Case Sensitive

My Mods: Nuke Mod WorldEdit Particles and working on Mesecons
Subscribe me on YouTube if you like my Stuff
My Minetest Builds for Windows

Re: [Mod] WorldEdit [0.6] [worldedit] {GitHub}

then why wouldnt it work? im running latest unstable, on the single player tab were it desnt give me an option to put a username or password anywere.

ubuntu would be #1, without unity

Re: [Mod] WorldEdit [0.6] [worldedit] {GitHub}

Scott wrote:

then why wouldnt it work? im running latest unstable, on the single player tab were it desnt give me an option to put a username or password anywere.

World Edit doesn't work in Single Player, use the multiplayer mod and leave blank the ip adress

Re: [Mod] WorldEdit [0.6] [worldedit] {GitHub}

Or add the user "singleplayer" to weperms.txt

:D

Re: [Mod] WorldEdit [0.6] [worldedit] {GitHub}

cosarara97 wrote:

Or add the user "singleplayer" to weperms.txt

That's a good tip, should be in the first post.

The Mesecons Laboratory, a site dedicated to the art of Mesecons circuitry!

Latest article: Mesecons Basics.

Re: [Mod] WorldEdit [0.6] [worldedit] {GitHub}

thx! adding {singleplayer} to weperms.tx worked perfectly, totaly should be in original post. +1 to the mod, i built my comic book city in less then an hour.

ubuntu would be #1, without unity

Re: [Mod] WorldEdit [0.6] [worldedit] {GitHub}

I suggest:

diff -rupN worldedit/init.lua worldedit_modified/init.lua
--- worldedit/init.lua    2012-02-24 21:31:10.000000000 +0200
+++ worldedit_modified/init.lua    2012-03-28 12:36:48.324525439 +0300
@@ -50,6 +50,9 @@ function string:split(delimiter)
   return result
 end
 function check_player_we_perms(pname)
+    if pname == "singleplayer" then
+        return true
+    end
     local fi = ""
     local f = io.open("weperms.txt", "r")
     if f ~= nil then

EDIT: Actually, that is not exactly safe... somebody can log in as "singleplayer" on a regular server. 8D I'll figure out a way for this...

Also, weperms.txt should not be in bin/; it should be in the world directory. The bin/ directory is not even writeable on normal Linux installations, and also it isn't actually the bin/ directory, it is the *working directory*, which just happens to always be bin/ on Windows. Thus I suggest:

minetest.get_worldpath().."/weperms.txt"

EDIT: In a future version, there will be minetest.is_singleplayer(); thus I recommend doing this:

diff -rupN worldedit/init.lua worldedit_modified/init.lua
--- worldedit/init.lua    2012-02-24 21:31:10.000000000 +0200
+++ worldedit_modified/init.lua    2012-03-28 12:36:48.324525439 +0300
@@ -50,6 +50,9 @@ function string:split(delimiter)
   return result
 end
 function check_player_we_perms(pname)
+    if minetest.is_singleplayer and minetest.is_singleplayer() then
+        return true
+    end
     local fi = ""
     local f = io.open("weperms.txt", "r")
     if f ~= nil then

Re: [Mod] WorldEdit [0.6] [worldedit] {GitHub}

hey sfan! i have a crazy idea for this..why not a //nuke command..which turns EVERYTHING into tnt? :)

I give up on the politics, look for me in Minecraftforum! I'll be doing some basic mods.

Re: [Mod] WorldEdit [0.6] [worldedit] {GitHub}

jordan4ibanez wrote:

hey sfan! i have a crazy idea for this..why not a //nuke command..which turns EVERYTHING into tnt? :)

so when you set it of it crashs the server niceXD

Minetest is the shizneez!
Minetest.com Editor. The one stop shop to all your textures, mods, and servers:D

Re: [Mod] WorldEdit [0.6] [worldedit] {GitHub}

celeron55 wrote:

I suggest:

diff -rupN worldedit/init.lua worldedit_modified/init.lua
--- worldedit/init.lua    2012-02-24 21:31:10.000000000 +0200
+++ worldedit_modified/init.lua    2012-03-28 12:36:48.324525439 +0300
@@ -50,6 +50,9 @@ function string:split(delimiter)
   return result
 end
 function check_player_we_perms(pname)
+    if pname == "singleplayer" then
+        return true
+    end
     local fi = ""
     local f = io.open("weperms.txt", "r")
     if f ~= nil then

EDIT: Actually, that is not exactly safe... somebody can log in as "singleplayer" on a regular server. 8D I'll figure out a way for this...

Also, weperms.txt should not be in bin/; it should be in the world directory. The bin/ directory is not even writeable on normal Linux installations, and also it isn't actually the bin/ directory, it is the *working directory*, which just happens to always be bin/ on Windows. Thus I suggest:

minetest.get_worldpath().."/weperms.txt"

EDIT: In a future version, there will be minetest.is_singleplayer(); thus I recommend doing this:

diff -rupN worldedit/init.lua worldedit_modified/init.lua
--- worldedit/init.lua    2012-02-24 21:31:10.000000000 +0200
+++ worldedit_modified/init.lua    2012-03-28 12:36:48.324525439 +0300
@@ -50,6 +50,9 @@ function string:split(delimiter)
   return result
 end
 function check_player_we_perms(pname)
+    if minetest.is_singleplayer and minetest.is_singleplayer() then
+        return true
+    end
     local fi = ""
     local f = io.open("weperms.txt", "r")
     if f ~= nil then

I am working on this

My Mods: Nuke Mod WorldEdit Particles and working on Mesecons
Subscribe me on YouTube if you like my Stuff
My Minetest Builds for Windows

Re: [Mod] WorldEdit [0.6] [worldedit] {GitHub}

Make some setting like:

worldedit_singleplayer_mode() --settable mode called from single player  to enable worldedit for singleplayer.

It's abstract I know, but however, it should work.

<Pixelized> yup the mpaa has some pretty fast seeders =)

Re: [Mod] WorldEdit [0.6] [worldedit] {GitHub}

Update!
Changelog:

  • Added .we Postfix when using //save and //load

  • Moved weperms.txt to World-Folder

  • Moved Positon-Files and *.we Files to WorldEdit-Mod Folder

  • Made *.we Files smaller by disabling Comments in Table-Save/Load-Library and stop saving param1|param2 if it's equal to 0

Download-Link: http://dl.dropbox.com/u/30267315/worldedit0.4.zip

My Mods: Nuke Mod WorldEdit Particles and working on Mesecons
Subscribe me on YouTube if you like my Stuff
My Minetest Builds for Windows

Re: [Mod] WorldEdit [0.6] [worldedit] {GitHub}

Okay sfan, I am willing to try that later.

<Pixelized> yup the mpaa has some pretty fast seeders =)

Re: [Mod] WorldEdit [0.6] [worldedit] {GitHub}

Download-Link added

My Mods: Nuke Mod WorldEdit Particles and working on Mesecons
Subscribe me on YouTube if you like my Stuff
My Minetest Builds for Windows

Re: [Mod] WorldEdit [0.6] [worldedit] {GitHub}

Woot! Finally I can test it.

<Pixelized> yup the mpaa has some pretty fast seeders =)

Re: [Mod] WorldEdit [0.6] [worldedit] {GitHub}

Old saves still work right? (I didn't know they had the .we extension xD)

:D