Mart37

u/Mart37


r/legaladvice•

My family and I are on vacation, and get a frantic call from my dog sitter saying that my dog is missing. As she went out to look around the neighborhood to look for the dog, my neighbor approached her. He said he had taken the dog because it was "abandoned". He said that the care of the dog wasn't adequate because the dog sitter left the dog alone at night in my backyard. (So apparently my neighbor watches my house 24/7 to watch when my dog sitter comes and leaves to pick up/ drop off the dog?) After I called the neighbor and threatened to call the police, he returned the dog to the sitter.

Note: There is no need to be concerned for my dog. My dog is picked up every morning by the dog sitt

23

r/unrealengine•

Source: http://pastebin.com/pqqsZGgx

I was working on a multiplayer game and everything network related seemed to work well, until I tried to make a timer for the game to start. I copied the timer example from here: https://docs.unrealengine.com/latest/INT/Programming/Tutorials/VariablesTimersEvents/index.html and wanted to have the timer start via an RPC from the server so it would be in sync. However, when the server calls the RPC, the clients do not execute the function. I read that clients cannot execute RPCs on the server unless they are owned by the playercontroller, but since the server is making the call, shouldn't it be fine?

When I run without a dedicated server, the authoritativ

12


r/learnprogramming•

Here is some code I wrote: http://pastebin.com/1XAC27Ms I have some comments in the code that explain my confusion, but I also summarize here:

in "MyClass" I have a function that returns const Point&, and so it returns the member variable Point that it has.

Why don't I have to declare the Point p const since the get function returns a const reference?

Even though I change a value of the Point p, when I use get again, the value is unchanged. I'm assuming the point is getting copied, but it should be a reference!

How can I return an actual const reference? This seems to be useful for getters so I don't have to copy classes when returning such as cout << instance.getString()

~Th

13

r/learnprogramming•

Hello, I have written the following, as I would expect this to copy and paste the contents of one image file into another. Although it gets through all the bytes of the cat.png (517,213), the output image cat2.png does not contain as many bytes (516,096). If I keep a running total inside the loop, the counter is even greater than 517,213. If I limit the buffer size to 1, it equals 517,213 exactly - and still there is information missing from the image. It is odd too, the image displays, and is missing the feet on the cat.

Thanks for any insight onto what is happening.

//buffer to copy

char buffer[MAX_BUFFER_SIZE];

//input/output files

FILE* imgFile;

imgFile = fopen("cat.png","rb");

FI

29

r/Maya•

I've been exporting scenes to .fbx format successfully, but it appears to be in binary format. Does anyone know how to get the file in ASCII format? Thanks much. [RESOLVED]

21


It's distracting to just spam your side when it's not currently what you want, so then you aren't actually playing the game. Also, once your side is chosen, you spam commands, and it slowly turns back to the other system since the other side is spamming while you are pressing buttons.

We need to either scrap the system altogether and go back to normal, or we need a vote on whether to use cheat-mode or not once and for all.

01

To me, seeing the chaos was all the fun. Seeing us struggle through for hours was what made this game so hilarious and made me want to come back to see the progression. Now, I can easily predict what will happen. Also, its slow to do so, wait 5 seconds, move. wait 5 seconds move. I'm leaving and playing the game myself, will only return if the awesome social experiment goes back to the way it used to be.

89