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 2015-03-10 05:17:31, last edited by ParadoxInTheVoid (2015-03-10 06:53:00)

ParadoxInTheVoid
Member
From: ̺̺̺̺̺̺̺̺̺̺̺̺̺̺̺̺̺̺̺̺
Joined: 2015-02-18
Posts: 341

Help with con.Send();

Okay, so I went through some of everybody edits source code and found the following: (Code edited, but variables haven't changed.)
con.Send("diamondtouch", cx, cy);
con.Send("caketouch", cx, cy);
con.Send("hologramtouch", cx, cy);
con.Send("checkpoint", cx, cy);

What do I put for cx and cy?

EDIT: Addition:
How do i add a MessageHandler to the connection? <- Ech.


signature.png

Offline

#2 2015-03-10 06:07:28

lrussell
Member
From: Saturn's Titan
Joined: 2015-02-15
Posts: 843
Website

Re: Help with con.Send();

The location of the diamond, cake, hologram, or checkpoint. EE verifies that one of those blocks actually exists.
Also that "addition"... *sigh*. //forums.everybodyedits.com/img/smilies/neutral

Offline

#3 2015-03-10 06:53:58

ParadoxInTheVoid
Member
From: ̺̺̺̺̺̺̺̺̺̺̺̺̺̺̺̺̺̺̺̺
Joined: 2015-02-18
Posts: 341

Re: Help with con.Send();

So is it not possible to make the bot a diamond smiley (or 'cake' and such)?


signature.png

Offline

#4 2015-03-10 07:46:51

lrussell
Member
From: Saturn's Titan
Joined: 2015-02-15
Posts: 843
Website

Re: Help with con.Send();

Mhm, if you have a a cake at the position 10,12 you'd send:

con.Send("caketouch", 10, 12);

Offline

#5 2015-03-10 14:57:20

madiik
Member
From: floor above Yuuta
Joined: 2015-02-26
Posts: 514

Re: Help with con.Send();

xJeex wrote:
ParadoxInTheVoid wrote:

So is it not possible to make the bot a diamond smiley (or 'cake' and such)?

If a diamond block is placed inside the world you can do: con.Send("diamondtouch", diamondx, diamondy);
Where diamondx and diamondy is the location of the diamond block, same goes for the other blocks. //forums.everybodyedits.com/img/smilies/smile


That would only be possible if you get world data, or either check for "currently placed blocks" and register them into a table (maybe variables //forums.everybodyedits.com/img/smilies/tongue)


shh i have returned

Offline

madiik1425995840481072

Board footer

Powered by FluxBB

[ Started around 1732507117.7273 - Generated in 0.029 seconds, 12 queries executed - Memory usage: 1.41 MiB (Peak: 1.52 MiB) ]