Jump to content

Developer Discussions: Alpha 17


Roland

Developer Discussions: Alpha 17  

1 member has voted

  1. 1. Developer Discussions: Alpha 17

    • Newly Updated
      1
    • Check out the newest reveals by Madmole
      0
    • Over 100 new perk books with set collecting and bonuses
      0


Recommended Posts

The devs probably already know this but the way I handle this is to have each ai measure its origin offset from the last frame (use that to figure the actual velocity by dividing the offset by frametime), send that offset to the client if it has a different value than the previous value, along with the current actual origin. Then on the client set that actual velocity as the velocity, and find the offset from the client's current ai origin to the actual origin that was sent. Use that offset to add a secondary velocity to the movement each frame to catch up to where the ai should be, at any designated speed. This should keep your ai very close to where they actually are on the server.

 

Edit: Also if the actual velocity on the server becomes '0 0 0', you then tell the client the ai is stopping, and where it is stopping, then lerp to that point on the client.

 

Most of that went straight over my head, but if it works I hope they're listening or have a similarly effective solution. That was easily one of the most annoying problems I had playing the game co-op... made extra infuriating because it by definition never happens in SP.

Link to comment
Share on other sites

Already fixed for A17 as far as I know.

 

I would say it’s more likely the microstutter was improved. Unity’s GC is always likely to cause some stutter. I think Kin said there were optimizations made that drastically reduced how much garbage was created in previous versions thereby reducing the load on the GC. The minibike on MP I have no idea about. However given that the vehicle system was ripped out and replaced. I’d imagine the old problems are probably gone but may be replaced by new ones.

Link to comment
Share on other sites

I would say it’s more likely the microstutter was improved. Unity’s GC is always likely to cause some stutter. I think Kin said there were optimizations made that drastically reduced how much garbage was created in previous versions thereby reducing the load on the GC. The minibike on MP I have no idea about. However given that the vehicle system was ripped out and replaced. I’d imagine the old problems are probably gone but may be replaced by new ones.

 

The GC problem with C# isn't limited to unity, it's just more of an issue there. There are plans to improve the GC with a group of interested parties, including microsoft and unity, working to make it better. That was announced about six months ago although unity's new job system has manual memory allocation via c++ code so improvements will likely be seen in unity games in the next year or two.

Link to comment
Share on other sites

Those stories that you tell your friends later which stem from different mechanics working together to create a situation larger than themselves. Gestalt gaming :-)

 

A simple example would be the bear that attacks the zombies chasing you and saves your low-level character from death. You can never pat him on the head to thank him but that big hairy murder-machine saved your life.

 

Those stories are even better when playing with your friends at the time.

 

Me: oh crap crap crap...stupid zombie....AAGHHH AGHHHHH!!!

...ha ha...HAHAHAHAHA!!!

 

Friend: What just happened?

 

Me: A bear just saved my butt from a zombie. ...****!

 

Friend: What happened now?

 

Me: ...GD bear killed me.

Link to comment
Share on other sites

I had a fun idea for a dev item, just for fun haha

Madmoles Beard - Face Item - You gain the strength from the beard of the legendary Madmole, you can now carry 50% more items per space in your inventory but due to your increased muscle mass and facial hair badassery, you move 15% slower on foot and in vehicles

Link to comment
Share on other sites

Which AV are your running?

 

I run AVAST with no problems and it is on the GMER technology with all the top are on.

I also have run it and recommended it to my clients (300+ installs with no issues, mostly.)

 

The problem is AVAST, why does anyone use garbage third party AVs anyway? They literally false flag half the ♥♥♥♥ you download these days anyway. Besides, Windows Defender gets just about anything you can catch from porn sites anyway...

Link to comment
Share on other sites

you can now carry 50% more items per space in your inventory but due to your increased muscle mass and facial hair badassery, you move 15% slower on foot and in vehicles

 

Oh god, that is one thing I hope they don't add, weight limits. That's what I hated with ARK. I played it for an hour and came back to 7DTD cause I couldn't stand it.

Link to comment
Share on other sites

Oh god, that is one thing I hope they don't add, weight limits. That's what I hated with ARK. I played it for an hour and came back to 7DTD cause I couldn't stand it.

 

Mine wasn't about weight limits, more of a debuff for using a legendary Item with an awesome effect, can't have good without bad, if they did have weight limits I know there would be skills and stats to increase it, honestly if they add that down the road im ok with it.

Link to comment
Share on other sites

The problem is AVAST, why does anyone use garbage third party AVs anyway? They literally false flag half the ♥♥♥♥ you download these days anyway. Besides, Windows Defender gets just about anything you can catch from porn sites anyway...

 

This is what I try to tell EVERYONE. I haven't installed anything but Security Essentials, and then Defender when that went away, in years. The others are worse than the stuff they try to protect you from.

Link to comment
Share on other sites

The GC problem with C# isn't limited to unity, it's just more of an issue there. There are plans to improve the GC with a group of interested parties, including microsoft and unity, working to make it better. That was announced about six months ago although unity's new job system has manual memory allocation via c++ code so improvements will likely be seen in unity games in the next year or two.

 

Problems with GCs aren't just limited to C# either, all of these problems are familiar to Java devs.

 

A language like Rust or Erlang that have much more strict concepts of object ownership can eliminate or greatly reduce the need to GC objects, while not requiring manual deallocation mistakes like C.

Link to comment
Share on other sites

- - - Updated - - -

 

Which AV are your running?

 

I run AVAST with no problems and it is on the GMER technology with all the top are on.

I also have run it and recommended it to my clients (300+ installs with no issues, mostly.)

 

Running Avast on that machine. I ended up going in and entering exceptions for 7DtD and for EAC and then it would let it run. Just was not sure why it did this after running just fine for months. Maybe something updated in Avast and flagged something.. not sure (Google is my friend for fixing things like this, asked Google, walked me through the entire process!)

Link to comment
Share on other sites

The problem is AVAST, why does anyone use garbage third party AVs anyway? They literally false flag half the ♥♥♥♥ you download these days anyway. Besides, Windows Defender gets just about anything you can catch from porn sites anyway...

 

All I had to do was tell Avast to make exceptions for 7DtD and EAC and it was perfectly happy. If you have something that works better, please tell me as I would rather protect my computers (have way too many of them) rather than have them all become bricks when someone does a hostile takeover and encrypts all my files until I pay them to let me have them back. (my solution to that.. wipe the HD, pull it from the system, take it to work and degausse it on the industrial strength degausser they have there, replace it with a newer, faster, smaller HD... but I am not so good at doing that in laptops.. desktops, no problem! LOL)

 

- - - Updated - - -

 

Anyway, thank you to everyone who tried to help me continue my daily reset of 7DtD until they release something new. I am trying to see how far I can get in about 2 hours of gametime each day, so when (if?) something new actually comes out, I can hit the ground running! :-D

Link to comment
Share on other sites

Didn`t expect that 7dtd zombie illness could go on our computers in a way to make them defend with their own antivirus software.

 

P.S. make difference between an antivirus software for home use and for public one. It is another topic tho

Link to comment
Share on other sites

If you have something that works better, please tell me as I would rather protect my computers (have way too many of them)

 

Google ex-mozilla engineer: don't use third party antivirus

 

It changed my life.

Link to comment
Share on other sites

Can you elaborate as far as what the current most time consuming portion is? ie vehicle coding, ai, npc's?

 

We have many programmers working on different parts of the game. My time for over a month has been on the new pathing system, AI movement/obstacles, general AI changes, some animal/zombie anim changes, various debugging improvements to help me see what is going on in these systems, ragdoll fixes and the various bugs that cross my path.

Link to comment
Share on other sites

We have many programmers working on different parts of the game. My time for over a month has been on the new pathing system, AI movement/obstacles, general AI changes, some animal/zombie anim changes, various debugging improvements to help me see what is going on in these systems, ragdoll fixes and the various bugs that cross my path.

 

psssst....here's 5 bucks (Canadian, sorry)....if you added some code so dogs would not feel like eating any player called Gambonian that would be great

Link to comment
Share on other sites

However given that the vehicle system was ripped out and replaced. I’d imagine the old problems are probably gone but may be replaced by new ones.

 

You know it! Change one thing in code and you might make a few bugs. Change lots of stuff and...

Link to comment
Share on other sites

psssst....here's 5 bucks (Canadian, sorry)....if you added some code so dogs would not feel like eating any player called Gambonian that would be great

 

But, Gambonian sounds like a tasty treat. I mean it does have a 'bone' in it.

Link to comment
Share on other sites

Most of that went straight over my head, but if it works I hope they're listening or have a similarly effective solution. That was easily one of the most annoying problems I had playing the game co-op... made extra infuriating because it by definition never happens in SP.

 

If they are listening, I can share my code with them if that explains it more clearly, which I think it may, although in a different engine, the concept should work.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...