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.

Donate!

pls donate


#1 Bots and Programming » [How do you know]: If someone double pressed right or left arrow keys? » 2016-02-19 02:15:40

ZafingSpace
Replies: 8

I always wanted to find out how do you know to make your bot know it someone double pressed an arrow key.


    I tried doing like the basics and do something simple like this.

  The point of this code is double press right arrow key and a block will appear right next to them
   

   switch (e.KeyCode)
    {
        if case e.DoublePress.Right;
        {
             con.Send(bldatam, 0, 1-x, y, 12);
        } 
    }
    break;

   

  It did not work at all! https://wiki.everybodyedits.com/images/c/c0/069_LOL

  I don't know if this code is simply or anything, can you help?

#2 Re: Bots and Programming » [Help me] How to make a proper user list » 2016-02-09 23:57:40

Tomahawk wrote:

listBox1.Items.Add("[" + m.GetInt(0) + "] " + m.GetString(1));

Thanks for the help for adding the usernames. I did the removing on my own //forums.everybodyedits.com/img/smilies/smile .

#3 Re: Bots and Programming » [Help me] How to make a proper user list » 2016-01-28 03:56:07

You want us to be specific but you don't want to be specific? 1. When I meant specific I mean like if you gave me a code where do I put it and what do I use to for convert the username name to? That specific
What code do you have? 2. I'm confused by this question but I think you mean what software I use and I use visual c# 2010 like in the Jabatheblob1 Tutorial
Are you in a Console? 3. Don't know what that means either sorry
have you started at all? 4. I've started on my bot, it's a information bot it knows if you touch a coin and join a world and where you place a block you get it
Do you have any knowledge in WinForms? 5. I probably don't know
Do you know what a control is? 6. I probably don't know too
Do you want help with the GUI aspect or simply the storing the information to memory? 7. Yes I need help with that

I'm sorry that I didn't have enough information in my first post

This is what I tired:

 switch (m.Type)
            {
                case "add":
                    users.Add(m.GetInt(0), new player { username = m.GetString(1), isPlaying = true });
                    userlist_ListView.Items.AddRange(new ListViewItem[] { users });
                    break;
            }

That what I did but it I know it's not gonna work so can you help me now? //forums.everybodyedits.com/img/smilies/neutral

#4 Re: Bots and Programming » [Help me] How to make a proper user list » 2016-01-28 01:29:34

I know how to make bots W24. I just don't know how to make a joined list

#5 Bots and Programming » [Help me] How to make a proper user list » 2016-01-28 01:06:54

ZafingSpace
Replies: 22

Well I want to make a list that has all username that in the world for my bot. Like the list to your right of your screen when you play everybody edits.

I'm a beginner at making bots so can you help me please and tell me what to use and where you put the code please(Be  Specific!).

Board footer

Powered by FluxBB

[ Started around 1571579615.5496 - Generated in 0.034 seconds, 9 queries executed - Memory usage: 1.16 MiB (Peak: 1.26 MiB) ]