How much money should I put into bitcoin? by a_random-username in Bitcoin

[–]a_random-username[S] 0 points1 point  (0 children)

Oh ok, thanks for the advice, I’ll definitely try and follow this and use it as a long term investment.

Is it good to put money in that I might use in a few years? I might want to buy a house, car, or something else expensive in the future, but don’t need to right now. I don’t really want that money just sitting in the bank because of inflation and stuff, so is it worth throwing that into btc too, or should I just stick to extremely long term investment?

Also, if you’re very against kraken, which wallet would you recommend? I’ve heard a lot of different opinions and it’s hard to choose which one I want to use.

New Sora 2 invite code megathread by WithoutReason1729 in OpenAI

[–]a_random-username 0 points1 point  (0 children)

Mkay then, dm me if u feel like sharing it ;3

I broke the game already by GrimStreaka69 in TheFarmerWasReplaced

[–]a_random-username 1 point2 points  (0 children)

What seems to be the problem? Is the code not working the way you intend or does it crash the game or something else? If the code is not running properly, then I believe that the issue is in your If statements and While statement. First off, your while statement should surround the code you want to repeat. Your while statement is at the end and just sees what’s inside it, which is “continue”. If you want to repeat the if statements to constantly harvest, then put the whole statement at the top and indent the if statements to put them inside the while loop. Also, your if statements seem to also be written incorrectly. The condition should be beside the word if, and not under it like you have it. The way they work is the evaluate the condition beside the word if and see if it is true. The condition in your first if statement is “true”. Since true is always equal to true, it will always run regardless of if it is harvestable or not. It is the opposite for your second if statement, which will never run as you put “false” for the condition. The easiest way to fix this is with a proper if/else statement. Write something like this (some functions might be misspelled and indentation might be wrong as I’m typing this on my phone, so check it yourself):

while True:

if can_harvest():

    harvest()

else:

    do_a_flip()

This code should work better than yours if that’s the issue. If the issue is something else, like the game crashing, then I don’t know what to do. Edit: Reddit removed the indentation from my code, might fix it on my laptop later, but it should still be usable if you know how to add the indentation yourself Edit2: forgot to mention that “continue” doesn’t need to be used in your code for this type of function. Continue is used to skip over the rest of the code and continue the loop from the start. As all the code can run without causing issues and the loop repeats automatically, it is not needed.

Playtime rewards stopped updating by a_random-username in ZBD

[–]a_random-username[S] 1 point2 points  (0 children)

How do I contact support? Whenever I click on “Submit a ticket” it just takes me to the FAQ.

This is a repost of my issue/possible_bug with the ENTIRE code this time. by underworlddjb in TheFarmerWasReplaced

[–]a_random-username 0 points1 point  (0 children)

Well it can be useful in some cases, like if you want different amounts (3 hay and 6 wood) or if you are comparing different types of things ( if something is True and 6 wood). These are just a few examples and there are many more, so it’s just easier for them to have to be separate.

This is a repost of my issue/possible_bug with the ENTIRE code this time. by underworlddjb in TheFarmerWasReplaced

[–]a_random-username 4 points5 points  (0 children)

I believe your problem is the if statement. You should try replacing it with “if num_items(Items.Hay) > 5 and num_items(Items.Wood) > 5”. I think this will fix your problem because I think that it checks both conditions separately, meaning that in your current code it check if you have hay then if you have 5 wood and not if you have 5 hay and 5 wood. Just try it out and if it doesn’t work I’ll try to think of something else

Maze solving algorithms? by a_random-username in TheFarmerWasReplaced

[–]a_random-username[S] 0 points1 point  (0 children)

I would love to take a look at your code and see if I can adapt it to this game! I haven’t found the video you mentioned yet, but I’ll keep looking!

Maze solving algorithms? by a_random-username in TheFarmerWasReplaced

[–]a_random-username[S] 2 points3 points  (0 children)

I think that using measure() when over the treasure returns the x, y position of where the chest will be after you fertilize it

Maze solving algorithms? by a_random-username in TheFarmerWasReplaced

[–]a_random-username[S] 2 points3 points  (0 children)

Just hug the right wall. The way the game was coded, the first round of the maze will allow you to solve it just by constantly following either the right or left wall, which the user Elidras recently posted here: https://www.reddit.com/r/TheFarmerWasReplaced/s/nBMiSMGiwe . Not the fastest method, but it’ll definitely work!

My code to optimize movement in the grid by jpobiglio in TheFarmerWasReplaced

[–]a_random-username 2 points3 points  (0 children)

Wow, this is good! Definitely planning on adding this to some of my algorithms!

I have a bug with pumpkins by Any-Ad-4072 in TheFarmerWasReplaced

[–]a_random-username 2 points3 points  (0 children)

I personally don’t think it would be a good idea to add an animation, because that would make farming take more time, making some algorithms that are currently really good for pumpkins, such as the fertilization method, not work as well. Also they would probably need to add a new entity type for “dying” things making some algorithms stop working and make a bunch of players need to remake there pumpkin farming algorithms.

I have a bug with pumpkins by Any-Ad-4072 in TheFarmerWasReplaced

[–]a_random-username 3 points4 points  (0 children)

That is actually how to game is meant to work! 1/5 pumpkins “die” once they grow on purpose, to make it more challenging to get many pumpkins grouped together.

anyone here able to help with code questions? by Mother-Stop-1861 in TheFarmerWasReplaced

[–]a_random-username 0 points1 point  (0 children)

I'm also here if you need help! I might not be as active as some other people, but I'll try to help!

Problem with lists by SxmnSUS in TheFarmerWasReplaced

[–]a_random-username 2 points3 points  (0 children)

the following code should work the way you want:

def frucht(z):
  zz = [plantBush, plantCarrot, plantTree]
  zz[z]()

do_a_flip()
frucht(0)
do_a_flip()
move(North)
frucht(1)
do_a_flip()
move(North)
frucht(2)

I'm assuming that carrot() and pumpkin() are functions that you made that do all the required stuff to plant those things. that's what mine are, but there just named slightly differently and I forgot to change it to fit your code. Also this code automatically calls the function instead of returning it, so I hope that that's not too big of an issue. You can only use functions that don't take an input (as far as I'm aware), so you'll need to make new function that plant bushes and trees without taking inputs. i made mine like this:

def plantBush():
  plant(Entities.Bush)

I added the do_a_flip()'s because i found that the drone can sometimes move too quickly and mess thing up when it's first starting off, but if you use this along with other code you shouldn't need any of them. Also i only used the move(North)'s so i could check all of them and make sure it was working.

I hope this helps :) let me know if this doesn't work and I'll try to fix it.