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-02-28 12:53:52

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

[Bot Request] Auto-Energy Spender

I want an auto energy spender that will buy items based a queue.


signature.png

Offline

#2 2015-02-28 18:17:32

BuzzerBee
Forum Admin
From: Texas, U.S.A.
Joined: 2015-02-15
Posts: 4,575

Re: [Bot Request] Auto-Energy Spender

I've thought of making one of these for a while. Maybe this will finally motivate me


TdQRyz3.png
https://wiki.everybodyedits.com/images/5/5d/135_bee

Offline

#3 2015-02-28 18:18:14

Mainx
Member
From: Fartshire
Joined: 2015-02-27
Posts: 444

Re: [Bot Request] Auto-Energy Spender

That's amazing.


TIeZQ7T.png     SXgDEBO.png

                                                                                                                                                                                                                    HE uses EEArtist. Told u lol.

Offline

#4 2015-02-28 18:27:48, last edited by Koya (2015-02-28 19:20:00)

Koya
Fabulous Member
From: The island with those Brits
Joined: 2015-02-18
Posts: 6,310

Re: [Bot Request] Auto-Energy Spender

I built one to spend energy on 48 accounts, I'll grab relevant source to make it easier.

...

client = PlayerIO.QuickConnect.SimpleConnect("everybody-edits-su9rn58o40itdbnw69plyw", EMAIL, PASS);
con = client.Multiplayer.CreateJoinRoom(client.ConnectUserId, "Lobby" + client.BigDB.Load("config", "config")["version"], true, new Dictionary<string, string>(), new Dictionary<string, string>());
con.Send("getShop");
con.Send("useEnergy", BLOCKPACK);

Block pack names


Po9cnQh.png

PLNQVL8.png
Thank you eleizibeth ^

1SYOldu.png

I stack my signatures rather than delete them so I don't lose them
giphy.gif

WfSi4mm.png

Offline

#5 2015-02-28 18:45:20

goeyfun
Member
From: Mighty Japan
Joined: 2015-02-18
Posts: 667

Re: [Bot Request] Auto-Energy Spender

is there a reference for these. like getting how much energy i got?


Ug3JzgO.png

Offline

#6 2015-02-28 18:51:23

lolwtfbbq
Member
Joined: 2015-02-18
Posts: 158

Re: [Bot Request] Auto-Energy Spender

i will download it when it be done.


noob123: >.< WHY DID YOU GIVE HIM EDIT!!!!
someone: he is a mod, he can have edit in all worlds.
noob123: wow! i want to become a mod!

Offline

#7 2015-02-28 19:11:12

Koya
Fabulous Member
From: The island with those Brits
Joined: 2015-02-18
Posts: 6,310

Re: [Bot Request] Auto-Energy Spender

goeyfun wrote:

is there a reference for these. like getting how much energy i got?

Also getting how much energy has been spent on an item.


Po9cnQh.png

PLNQVL8.png
Thank you eleizibeth ^

1SYOldu.png

I stack my signatures rather than delete them so I don't lose them
giphy.gif

WfSi4mm.png

Offline

#8 2015-02-28 20:05:39

Anch
Member
Joined: 2015-02-16
Posts: 5,447

Re: [Bot Request] Auto-Energy Spender

Maybe you can set what blocks you went to spend energy on.

Offline

#9 2015-02-28 20:20:32

Koya
Fabulous Member
From: The island with those Brits
Joined: 2015-02-18
Posts: 6,310

Re: [Bot Request] Auto-Energy Spender

anch159 wrote:

Maybe you can set what blocks you went to spend energy on.

Hence

ParadoxInTheVoid wrote:

I want an auto energy spender that will buy items based a queue.


Po9cnQh.png

PLNQVL8.png
Thank you eleizibeth ^

1SYOldu.png

I stack my signatures rather than delete them so I don't lose them
giphy.gif

WfSi4mm.png

Offline

#10 2015-02-28 22:40:24, last edited by Xfrogman43 (2015-02-28 22:47:02)

Xfrogman43
Member
From: need to find a new home
Joined: 2015-02-15
Posts: 4,174

Re: [Bot Request] Auto-Energy Spender

Koya wrote:

Something is wrong pls help.
GuGex64.png

Capasha has names too.
Block pack names


zsbu6Xm.png thanks zoey aaaaaaaaaaaand thanks latif for the avatar

Offline

#11 2015-03-01 03:11:12

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

Re: [Bot Request] Auto-Energy Spender

Thanks for the code, now all I need is a queue.


signature.png

Offline

#12 2015-03-01 16:13:45

Srna
Member
Joined: 2015-02-26
Posts: 220

Re: [Bot Request] Auto-Energy Spender

If u want to do so it wont stop buying the block that you want, just do:

while (true) { con.Send("useEnergy", item..); }

Offline

#13 2015-03-01 19:29:07

TiKen
Member
Joined: 2015-02-24
Posts: 298

Re: [Bot Request] Auto-Energy Spender

Srna wrote:

If u want to do so it wont stop buying the block that you want, just do:

while (true) { con.Send("useEnergy", item..); }

Never use a while(true)... If you thought your code well, you don't need one. If you need one, you didn't think your code well enough.

Offline

#14 2015-03-01 19:30:39

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

Re: [Bot Request] Auto-Energy Spender

What is the shop item name for tall world?


signature.png

Offline

#15 2015-03-01 20:20:45

Koya
Fabulous Member
From: The island with those Brits
Joined: 2015-02-18
Posts: 6,310

Re: [Bot Request] Auto-Energy Spender

TiKen wrote:
Srna wrote:

If u want to do so it wont stop buying the block that you want, just do:

while (true) { con.Send("useEnergy", item..); }

Never use a while(true)... If you thought your code well, you don't need one. If you need one, you didn't think your code well enough.

            while (true)
            {
                switch (Console.ReadLine())
                {
                    case "exit":
                        Environment.Exit(0);
                        break;
                    default:
                        break;
                }
            }

In this instance there's no harm in doing it


Po9cnQh.png

PLNQVL8.png
Thank you eleizibeth ^

1SYOldu.png

I stack my signatures rather than delete them so I don't lose them
giphy.gif

WfSi4mm.png

Offline

#16 2015-03-01 20:37:39

TiKen
Member
Joined: 2015-02-24
Posts: 298

Re: [Bot Request] Auto-Energy Spender

Koya wrote:
            while (true)
            {
                [...]
            }

In this instance there's no harm in doing it

 
bool loop = true;
while(loop)
{
   switch (Console.ReadLine())
   {
       case "exit":
          loop = false;
          break;
       default:
          break;
   }
}

Sure "there's no harm", but in itself a infinite loop is not something you should put in a code. I use them sometime, mostly because I'm lazy... But it can cause so many problems if you are not careful enough, that I'd recommend not using it in the first place.

Offline

#17 2015-03-01 21:01:09

Koya
Fabulous Member
From: The island with those Brits
Joined: 2015-02-18
Posts: 6,310

Re: [Bot Request] Auto-Energy Spender

TiKen wrote:
Koya wrote:
            while (true)
            {
                [...]
            }

In this instance there's no harm in doing it

 
bool loop = true;
while(loop)
{
   switch (Console.ReadLine())
   {
       case "exit":
          loop = false;
          break;
       default:
          break;
   }
}

Sure "there's no harm", but in itself a infinite loop is not something you should put in a code. I use them sometime, mostly because I'm lazy... But it can cause so many problems if you are not careful enough, that I'd recommend not using it in the first place.

In the case I showed, to exit the while loop could have a variable but I run Environment.Exit(0); which closes down all threads, therefore closes the while loop - not needing a variable to exit it.


Po9cnQh.png

PLNQVL8.png
Thank you eleizibeth ^

1SYOldu.png

I stack my signatures rather than delete them so I don't lose them
giphy.gif

WfSi4mm.png

Offline

#18 2015-03-01 22:14:41

Jabatheblob1
Member
Joined: 2015-03-01
Posts: 856

Re: [Bot Request] Auto-Energy Spender

*grabs popcorn*(btw put the names in a list then check which ones you bought)


If you would like me to make a bot for you, go here.

Offline

#19 2015-03-01 22:54:10, last edited by Tomahawk (2015-03-01 22:54:58)

Tomahawk
Forum Mod
From: UK
Joined: 2015-02-18
Posts: 2,847

Re: [Bot Request] Auto-Energy Spender

I'm working on a public bot to do just this. It's taking longer than it should cause I'm fiddling with fun stuff like auto-updating to newer versions.
It'll be out soonish, under the name 'ShopBot' if nobody else gets there first ^^
So far, the bot allows you to search for a specific block and add it to a list of items - the 'Shopping List'. It'll spend energy on the first item in the list until it's bought, then buy the next and so on.


One bot to rule them all, one bot to find them. One bot to bring them all... and with this cliché blind them.

Offline

#20 2015-03-20 21:31:57

Mainx
Member
From: Fartshire
Joined: 2015-02-27
Posts: 444

Re: [Bot Request] Auto-Energy Spender

So what happened?


TIeZQ7T.png     SXgDEBO.png

                                                                                                                                                                                                                    HE uses EEArtist. Told u lol.

Offline

Mainx1426883517484951

Board footer

Powered by FluxBB

[ Started around 1732499697.3046 - Generated in 0.099 seconds, 15 queries executed - Memory usage: 1.67 MiB (Peak: 1.9 MiB) ]