Official Everybody Edits Forums

Do you think I could just leave this part blank and it'd be okay? We're just going to replace the whole thing with a header image anyway, right?

You are not logged in.

#1 Re: Bots and Programming » Running a bot 24/7 » 2018-10-16 17:32:36

I just stick to using my Raspberry PI 3 model B+. No monthly fees, etc.

#2 Re: Bots and Programming » [Java] EverybodyEdits API in progress. » 2018-10-06 18:19:24

capasha wrote:

How is it going with this project?

You can already use it here.

#3 Re: Bots and Programming » [Java] EverybodyEdits API in progress. » 2018-09-18 06:45:01

ILikeTofuuJoe wrote:

Question, where should I put the code?

Just use a Java IDE like IntelliJ or Eclipse.

#4 Re: Bots and Programming » [Java] EverybodyEdits API in progress. » 2018-09-17 18:44:41

Gosha wrote:
RageQuits wrote:

To all people reading this, as stated on the site, i'll be making an enum of all blocks. Since i'm too dumb to decompile the client, i'm just gonna copy all blocks from my world. But of course i don't have all of them so if you have blocks that i don't (look on the gif below), please contact me. (I'll add you to the contributing list xp)

https://i.gyazo.com/83fdcd9a8fbcb0aff26 … aca967.gif


If you need some testing with blocks: PWAllBlocks

Thanks, will the world get updated each time new blocks are added?

#5 Re: Bots and Programming » [Java] EverybodyEdits API in progress. » 2018-09-17 16:33:22

ILikeTofuuJoe wrote:

I'm very looking forwords to your Java EE API,  RageQuits, I'll use it on a bot once it's done.

Thanks, you can already use it, even though i haven't made the event system, but everything else should work fine.
I've added some examples on the Github Pages page.

#6 Re: Bots and Programming » [Java] EverybodyEdits API in progress. » 2018-09-16 23:26:28

Thanks to Coinage i got the world id (PWAllBlocks).

#7 Re: Bots and Programming » [Java] EverybodyEdits API in progress. » 2018-09-16 21:45:52

To all people reading this, as stated on the site, i'll be making an enum of all blocks. Since i'm too dumb to decompile the client, i'm just gonna copy all blocks from my world. But of course i don't have all of them so if you have blocks that i don't (look on the gif below), please contact me. (I'll add you to the contributing list xp)

83fdcd9a8fbcb0aff261c9aeebaca967.gif

#8 Re: Bots and Programming » [Java] EverybodyEdits API in progress. » 2018-09-16 21:11:04

MartenM wrote:

Really looking forward to this API. A good and easy to understand event system will make developing bots so much easier.
Also the block enum could make stuff very easy, although it might be a pain to maintain.

Yeah, not looking forward to making the whole enum but it'll make it a bunch easier to program a bot

#9 Re: Bots and Programming » [Java] EverybodyEdits API in progress. » 2018-09-16 18:59:34

Update
You can follow progress and the features i’m adding on the Github Pages page.
Thanks for all the upvotes btw!

#10 Re: Bots and Programming » [Java] EverybodyEdits API in progress. » 2018-09-16 18:39:17

Unsure since EEU is gonna be using Websockets, the whole system will change. But i guess i can make it like this.

#12 Re: Bots and Programming » [Java] EverybodyEdits API in progress. » 2018-09-15 12:43:00

Update
I now have the permission to upload links, so here is the link to the github repository.
Don't use it yet as i'm still adding all listeners.

#13 Re: Game Suggestions » rocks » 2018-09-12 21:55:22

Translation

I've been mad so many times because i'm suprised you aren't able to make rocks. Why not?

(I love translating his stuff, never know if its correct or not though)

#16 Re: Off Topic Discussion » What do you consider "good code" and what "spaghetti code"? » 2018-09-12 20:30:31

Here are some basic-basic things i keep track of (keep in mind i just made this very fast without paying attention, so some things can be done easier / shorter / might not make sence);
Also, all these examples are made in Java.

1) Don't just ignore an exception.

Don't

try {
    File inputFile = new File(baseDir, "config.yml");
    if(!inputFile.exists()) inputFile.createNewFile();
    FileUtils.readFileToString(inputFile, Charset.defaultCharset());
} catch (IOException e) {

}

Do

try {
    File inputFile = new File(baseDir, "config.yml");
    if(!inputFile.exists()) inputFile.createNewFile();
    FileUtils.readFileToString(new File("Config"), Charset.defaultCharset());
} catch (IOException e) {
    LogManager.getLogger().log(Level.ERROR, String.format("Failed loading configuration file (%s)", e.getMessage(), e));
}

2) Advoid duplicated code. Work with methods.
IntelliJ (Java IDE) is very nice with this and can detect these parts with ease.

(Dumb example but idc //forums.everybodyedits.com/img/smilies/tongue)

Don't

double double1 = 3.13,
       double2 = 3.15;

System.out.println(double1 > Math.PI);
System.out.println(double2 > Math.PI);

Do

public static void main(String[] args) {
    double double1 = 3.13,
           double2 = 3.15;
    someMethod(double1);
    someMethod(double2);
}

private static void someMethod(double in) {
    System.out.println(in > Math.PI);
}

3) Work object-oriented, don't always use statics.
I don't really have to explain this. I guess you know what i mean

4) Use lambda's. It always saves space.

Don't

Runtime.getRuntime().addShutdownHook(new Thread(new Runnable() {
    @Override
    public void run() {
        stop();
    }
}));

Do

Runtime.getRuntime().addShutdownHook(new Thread(this::stop));

There's a whole lot but i only said these ones because i made these mistakes a whole lot of the time.

#17 Re: Off Topic Discussion » Save A Crab Today!! » 2018-09-12 16:33:48

Zoey2070 wrote:

https://cdn.discordapp.com/attachments/ … G_0366.JPG


here is my beloved crabby Teague the day I got him. I named him after a dude on a dishonored discord server. the crab is dead now and I miss him a lot because he was so playful and kind. He wasn't afraid of people like Dennis and Fitzpatrick are but that's fine, I love them too all the same.

Aww, sad that he's gone. Stay strong.

#18 Re: Off Topic Discussion » 9/11 Memorial Appreciation Thread » 2018-09-12 16:25:54

Anatoly wrote:

You’re one day late //forums.everybodyedits.com/img/smilies/wink

But still - in my opinion - of course ignoring these events is not the best - but - I think that we need to forgive - and move into the future during the present - but with attention of past mistakes.

I agree.

Yeah, it was a big tragedy but its over now, just move on. (my opinion)

#19 Re: Questions and Answers » Ask Me Anything 3 - Xenonetix » 2018-09-12 16:15:51

Anatoly wrote:
RageQuits wrote:
LukeM wrote:
Anatoly wrote:

As you move from PIO, what system will you use, how will the API look like, and will it support Swift, JS, ..?
We'll be making our own API most likely on top of WebSockets, at the start we'll probably only make a JS and a .net core API, but I guess either you could port it yourself, or we might make them for other languages in the future

Ah nice, finally a protocol i can port to Java without using an Android library...

I hope I’d be able to port tu lua with http.request

Websockets isn't HTTP? Don't think you can use http.request.

#20 Re: Game Suggestions » Silent Hours » 2018-09-12 15:13:55

Translation

After an update, prevent people from chatting for 12224 hours so nobody can criticize it

#22 Re: Off Topic Discussion » Save A Crab Today!! » 2018-09-12 14:03:12

ERR_NAME_NOT_RESOLVED: This site can't be reached (IP Unknown)

//forums.everybodyedits.com/img/smilies/sad

#23 Re: Questions and Answers » Ask Me Anything 3 - Xenonetix » 2018-09-12 13:53:45

LukeM wrote:
Anatoly wrote:

As you move from PIO, what system will you use, how will the API look like, and will it support Swift, JS, ..?
We'll be making our own API most likely on top of WebSockets, at the start we'll probably only make a JS and a .net core API, but I guess either you could port it yourself, or we might make them for other languages in the future

Ah nice, finally a protocol i can port to Java without using an Android library...

#24 Re: Bots and Programming » a way » 2018-09-08 23:19:01

As far as i’m aware, there isn’t a PlayerIO library for Lua.
Maybe this is what you’re looking for (don’t have perms to post links so just look up ashtoin’s LuaBot post)?

#25 Re: Game Suggestions » site to check if EE is down or not » 2018-08-26 21:06:45

Status.io isn't just only for websites...?

Board footer

Powered by FluxBB

[ Started around 1734499774.4808 - Generated in 0.245 seconds, 9 queries executed - Memory usage: 1.67 MiB (Peak: 1.91 MiB) ]