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.
Pages: 1
I want an auto energy spender that will buy items based a queue.
Offline
I've thought of making one of these for a while. Maybe this will finally motivate me
Offline
Offline
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);
Thank you eleizibeth ^
I stack my signatures rather than delete them so I don't lose them
Offline
Offline
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
is there a reference for these. like getting how much energy i got?
Also getting how much energy has been spent on an item.
Thank you eleizibeth ^
I stack my signatures rather than delete them so I don't lose them
Offline
Maybe you can set what blocks you went to spend energy on.
Offline
Maybe you can set what blocks you went to spend energy on.
Hence
I want an auto energy spender that will buy items based a queue.
Thank you eleizibeth ^
I stack my signatures rather than delete them so I don't lose them
Offline
thanks zoey aaaaaaaaaaaand thanks latif for the avatar
Offline
Thanks for the code, now all I need is a queue.
Offline
If u want to do so it wont stop buying the block that you want, just do:
while (true) { con.Send("useEnergy", item..); }
Offline
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
What is the shop item name for tall world?
Offline
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
Thank you eleizibeth ^
I stack my signatures rather than delete them so I don't lose them
Offline
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
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.
Thank you eleizibeth ^
I stack my signatures rather than delete them so I don't lose them
Offline
*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
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
Offline
Pages: 1
[ Started around 1732490327.9202 - Generated in 0.100 seconds, 10 queries executed - Memory usage: 1.67 MiB (Peak: 1.89 MiB) ]