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 » How to do it that when someone will press SPACE... » 2016-01-12 20:42:12

.

912468 Ty !! <3

Tomahawk - That's i know but i don't knew how using UserID and ... //forums.everybodyedits.com/img/smilies/big_smile But Thx !

#2 Bots and Programming » How to do it that when someone will press SPACE... » 2016-01-12 19:27:40

Xrecion
Replies: 4

How to do it that when someone will  press  SPACE my bot will _____ *HIM*  ?! ( - When bool == false -> my bot will ____ *HIM* ... )
So... how to do that my bot will know who have pressed space ?! >.<
I don't know to use int UserID :/ - pls explain this me :C

** Sorry for my English **

VZC2789.png

#3 Re: Bots and Programming » EE Bot » 2015-06-13 18:14:26

I change to : "   int PlayerX = (int)(m.GetDouble(1)) / 16;
                        int PlayerY = (int)(m.GetDouble(2)) / 16;
                        int Horizontal = m.GetInt(7);
                        int Vertical = m.GetInt(8); " ... ,  make this Digbot and Digbot too don't work  :/

#4 Re: Bots and Programming » EE Bot » 2015-06-13 16:39:10

I wrote " int PlayerX = Convert.ToInt32(Math.Round(m.GetDouble(1)) / 16);
              int PlayerY = Convert.ToInt32(Math.Round(m.GetDouble(2)) / 16);" ... but blocks still don't want to be moved.
I wrote too : " say("X : " + PlayerX);
                     say("Y : " + PlayerY); " ... and bot don't want say my Y cords .

#6 Re: Bots and Programming » EE Bot » 2015-06-12 13:42:44

Thx Srna !
And next problem ... [Pushing blocks] but blocks don't want to be moved...

g6cLdkD.png

#8 Re: Bots and Programming » EE Bot » 2015-04-29 13:42:42

In the sense that i must make 1 line to 1 block ?!
We can't redo it?
https://www.youtube.com/watch?v=2bK5bcG … e=youtu.be

#9 Re: Bots and Programming » EE Bot » 2015-04-28 22:26:28

Now my bot working perfect //forums.everybodyedits.com/img/smilies/wink
But have someone tutorial how to get a save section of the map ?! I don't want write after the 1 line for every block //forums.everybodyedits.com/img/smilies/big_smile
If no ... i will need to combine //forums.everybodyedits.com/img/smilies/big_smile

#10 Re: Bots and Programming » EE Bot » 2015-04-27 20:11:17

When i change code and i put arrows(id:1) then bot delete this arrow, when i put arrows on x = 4 then arrows moving to -x.
So... This is not this code //forums.everybodyedits.com/img/smilies/big_smile
But when i change code to :

            if (blocks[0, x - 1, y] == 0)
                    {
                        con.Send(bldatam, 0, x -1, y, 1);
                        if(x == 4)
                        {
                          con.Send(bldatam, 0, x, y, 0);
                        }
                    }
                                                          ... almost was well. When i put arrows then they moving to - x and when they are in x = 4 bot delete this arrows, but only in this cords. I want make that arrows disappear in X cords and not destroy my map .

#11 Re: Bots and Programming » EE Bot » 2015-04-27 18:35:23

I want make something like this :

   Block "fly" in the left page, and then when the "fly" 10 blocks he disappear.(not "fly" next, because he destroy map).

155mnaa.png

#12 Bots and Programming » EE Bot » 2015-04-26 18:51:58

Xrecion
Replies: 23

Hi !
*I'm form Poland so sorry for my English !*

I make bot to my brother (filiposs) and i need to do to blocks disappear at certain cords.
Now I have that the blocks are "flying" all the time.
zupf61.png

#13 Re: Bots and Programming » Help ! How to repair this ?! » 2015-04-26 12:24:26

I change "public" to "Everybodyedits191" and that WORK !
THANKS ALL FOR HELP !!

#14 Re: Bots and Programming » Help ! How to repair this ?! » 2015-04-26 11:43:25

Can you more specifically write where i must this write ?!
I have similar in button :

private void connect_Button_Click(object sender, EventArgs e)
        {
            CheckForIllegalCrossThreadCalls = false;
            if (isConnected)
            {
                try
                {
                    client = PlayerIO.QuickConnect.SimpleConnect("everybody-edits-su9rn58o40itdbnw69plyw", email_TextBox.Text, password_TextBox.Text, null);
                    con = client.Multiplayer.CreateJoinRoom(worldId_TextBox.Text, "public", true, new Dictionary<string, string>(), new Dictionary<string, string>());
                    con.Send("init");
                    con.OnMessage += new MessageReceivedEventHandler(handlemsg);
                    isConnected = true;
                    connect_Button.Text = "Disconnect";
                }
                catch (PlayerIOError oops)
                {
                    MessageBox.Show(Convert.ToString(oops), "PlayerIO Error!", MessageBoxButtons.OK, MessageBoxIcon.Error);
                }
                catch (Exception oops2)
                {
                    MessageBox.Show(Convert.ToString(oops2), "Error!", MessageBoxButtons.OK, MessageBoxIcon.Error);
                }
            }
            else
            {
                isConnected = false;
                say("Goodbye");
                con.Disconnect();
                connect_Button.Text = "Connect";
            }
        }

#15 Re: Bots and Programming » Help ! How to repair this ?! » 2015-04-26 10:56:10

thanks all !
Now i  have next problem...  :/
When my bot connected to my map he should say "Connected", but display this error :
kf1v6r.jpg

Odwołanie do obiektu nie zostało ustawione na wystąpienie obiektu.  -> Object reference not set to an instance of an object.

#16 Bots and Programming » Help ! How to repair this ?! » 2015-04-26 09:45:26

Xrecion
Replies: 14

Hi !
*I'm from Poland so sorry for my English !*

This is my problem :
x6kbit.png

TY for help !

Board footer

Powered by FluxBB

[ Started around 1732760362.4276 - Generated in 0.171 seconds, 10 queries executed - Memory usage: 1.51 MiB (Peak: 1.7 MiB) ]