One Hour One Life Forums

a multiplayer game of parenting and civilization building

You are not logged in.

#1 2020-03-24 19:41:11

jasonrohrer
Administrator
Registered: 2017-02-13
Posts: 4,805

Big change incoming: animal attacks can happen on non-empty tiles

This has been broken forever.

Animals are objects, and they can thus only occupy empty tiles, and when moving, they can only land on empty tiles.  That part isn't going to change, because it's built into the heart of how the map is represented in the database, built into the protocol, etc.

A side-effect of this implementation has always been that if you (who are NOT an object) stand on a non-empty tile, an animal can't land on you, and thus can't attack you.


In fixing a related bug, I was examining the animal movement code, and realized we do know, roughly, where an animal is, mid-move, server-side, because we're tracking it's ETA time.

4x per second, we check if you're standing on a deadly tile (like a stationary animal in the same tile as you).

Now, if you're standing on a non-deadly, non-empty tile, we also examine the list of moving animals, looking for one that is deadly and has a rounded mid-move position matching your tile.  If so, we process that animal's attack.

This also involved a client change to allow a moving animal to go through a transition mid-move (like bloody mouth) without snapping to the destination instantly.  I think this part is working correctly, but it may introduce some other bugs that I haven't noticed yet.



The upshot is that when a deadly animal crosses the non-empty tile that you're standing on, it attacks you mid-move.

Finally.


(Will go live later this week.)

Offline

#2 2020-03-24 19:55:13

Spoonwood
Member
Registered: 2019-02-06
Posts: 4,369

Re: Big change incoming: animal attacks can happen on non-empty tiles

So if the player is on a horse or horsecart and she or he moves through the animal, doe she or he end up bite?


Danish Clinch.
Longtime tutorial player.

Offline

#3 2020-03-24 19:58:08

jasonrohrer
Administrator
Registered: 2017-02-13
Posts: 4,805

Re: Big change incoming: animal attacks can happen on non-empty tiles

Doesn't affect riding players.  Riding has always protected you from animals.

Except the snake can bite your horse.  That currently won't happen if you're riding on the horse on a non-empty tile.

Essentially, the riding state causes the new code (which checks for moving animals crossing your tile) to be skipped.

Offline

#4 2020-03-24 20:00:36

MrGold
Member
From: Space
Registered: 2019-11-18
Posts: 136

Re: Big change incoming: animal attacks can happen on non-empty tiles

A nice update to a great week makes the game feel more realistic then hiding on a bowl from a bear


Im Mr.Gold I /hmph

Offline

#5 2020-03-24 20:03:46

Dodge
Member
Registered: 2018-08-27
Posts: 2,467

Re: Big change incoming: animal attacks can happen on non-empty tiles

Nice this will make hunting much more interesting and maybe even possible to have real PVE, wildlife could respawn, protective clothes, bear attacks, new predators and more.

Offline

#6 2020-03-24 20:04:28

pein
Member
Registered: 2018-03-31
Posts: 4,337

Re: Big change incoming: animal attacks can happen on non-empty tiles

sounds good, maybe add more animals like wild bees and tigers big_smile


https://onehouronelife.com/forums/viewtopic.php?id=7986 livestock pens 4.0
https://onehouronelife.com/forums/viewtopic.php?id=4411 maxi guide

Playing OHOL optimally is like cosplaying a cactus: stand still and don't waste the water.

Offline

#7 2020-03-24 20:07:35

Legs
Member
Registered: 2019-07-12
Posts: 385

Re: Big change incoming: animal attacks can happen on non-empty tiles

I'm excited for the many upcoming bear attacks and resulting extermination of all bears within 200 tiles of town.

Nowhere is safe. Hide your kids, hides your wives. The pads are suddenly gone and so are all the arrows. While you desperately make more they're hard at work breeding hogs and pitbulls. It's the law of club and fang at work.


Loco Motion

Offline

#8 2020-03-24 20:10:20

Spoonwood
Member
Registered: 2019-02-06
Posts: 4,369

Re: Big change incoming: animal attacks can happen on non-empty tiles

Legs wrote:

I'm excited for the many upcoming bear attacks and resulting extermination of all bears within 200 tiles of town.

Nowhere is safe. Hide your kids, hides your wives. The pads are suddenly gone and so are all the arrows. While you desperately make more they're hard at work breeding hogs and pitbulls. It's the law of club and fang at work.

I thought I'd capture this quote in case anyone finds it useful in the future, and in case it gets edited.


Danish Clinch.
Longtime tutorial player.

Offline

#9 2020-03-24 20:15:56

Legs
Member
Registered: 2019-07-12
Posts: 385

Re: Big change incoming: animal attacks can happen on non-empty tiles

Spoonwood wrote:

I thought I'd capture this quote in case anyone finds it useful in the future, and in case it gets edited.

I'm going to go ahead and capture this quote, because like you I also enjoy spamming and making nonsense posts.


Loco Motion

Offline

#10 2020-03-24 20:26:52

MrGold
Member
From: Space
Registered: 2019-11-18
Posts: 136

Re: Big change incoming: animal attacks can happen on non-empty tiles

Legs wrote:
Spoonwood wrote:

I thought I'd capture this quote in case anyone finds it useful in the future, and in case it gets edited.

I'm going to go ahead and capture this quote, because like you I also enjoy spamming and making nonsense posts.


I'm going to go ahead and capture this quote, because like you I also enjoy spamming and making nonsense posts.









JK


Im Mr.Gold I /hmph

Offline

#11 2020-03-24 20:37:44

Legs
Member
Registered: 2019-07-12
Posts: 385

Re: Big change incoming: animal attacks can happen on non-empty tiles

MrGold wrote:

JK

Just so you're aware, I'm capturing this quote for posterity in case you choose to edit it.


Loco Motion

Offline

#12 2020-03-24 21:05:22

antking:]#
Member
Registered: 2018-12-29
Posts: 579

Re: Big change incoming: animal attacks can happen on non-empty tiles

Scary!! and Jason if you ever you want to make the world a more dangerous place I made a list
Swamp- alligator
Yellow Prairies- Lion
Badlands- wolverine
Tundra- polar bear
Desert- coyote
Jungle- Tiger


"hear how the wind begins to whisper, but now it screams at me" said ashe
"I remember it from a Life I never Lived" said Peaches
"Now Chad don't invest in Asian markets" said Chad's Mom
Herry the man who cheated death

Offline

#13 2020-03-24 21:35:45

Elsayal
Member
Registered: 2018-11-04
Posts: 262

Re: Big change incoming: animal attacks can happen on non-empty tiles

"I will"
"stay"
"home"


"I go"
"find"
"iron"

Offline

#14 2020-03-24 21:44:20

DestinyCall
Member
Registered: 2018-12-08
Posts: 4,563

Re: Big change incoming: animal attacks can happen on non-empty tiles

I want tigers and lions for my zoo.

Offline

#15 2020-03-24 21:53:43

jinbaili83
Member
Registered: 2018-06-15
Posts: 221

Re: Big change incoming: animal attacks can happen on non-empty tiles

Why no deadly animals in grasslands?

Offline

#16 2020-03-24 22:16:56

Gogo
Banned
Registered: 2019-10-11
Posts: 589

Re: Big change incoming: animal attacks can happen on non-empty tiles

They are already. People.

Offline

#17 2020-03-24 22:21:05

sigmen4020
Member
Registered: 2019-01-05
Posts: 850

Re: Big change incoming: animal attacks can happen on non-empty tiles

jinbaili83 wrote:

Why no deadly animals in grasslands?

Pls no. Need my safe space.


For the time being, I think we have enough content.

Offline

#18 2020-03-24 22:48:38

pein
Member
Registered: 2018-03-31
Posts: 4,337

Re: Big change incoming: animal attacks can happen on non-empty tiles

Legs wrote:
MrGold wrote:

JK

NASA will send probes to URANUS.

Ok boomer


https://onehouronelife.com/forums/viewtopic.php?id=7986 livestock pens 4.0
https://onehouronelife.com/forums/viewtopic.php?id=4411 maxi guide

Playing OHOL optimally is like cosplaying a cactus: stand still and don't waste the water.

Offline

#19 2020-03-24 23:17:47

Twisted
Member
Registered: 2018-10-12
Posts: 663

Re: Big change incoming: animal attacks can happen on non-empty tiles

This was long overdue, but animal immunity will be missed. The end of an era.

I do feel like Bear Caves might be to common now that there's no easy way to become immune to bear attacks. Two or three bears are enough to decimate a village, and each town has dozens of Bear Caves around it.

Offline

#20 2020-03-24 23:57:36

Cogito
Member
Registered: 2020-03-09
Posts: 192

Re: Big change incoming: animal attacks can happen on non-empty tiles

Twisted wrote:

I do feel like Bear Caves might be to common now that there's no easy way to become immune to bear attacks. Two or three bears are enough to decimate a village, and each town has dozens of Bear Caves around it.

Was thinking the same thing.

Bear caves are *everywhere*. It will be very easy to hurt towns with bears now.

It's already a pain if you misclick when hunting bears or wolves as you run towards them (is there a keyboard shortcut that says "don't move, no matter what"?) but that has been manageable to date with bears because you just stand on an item and they path back-and-forth around you.

With this change hunters will need to kite the bears, probably carrying arrows with them and finding time to put the bow down and reload it etc. (would be nice to be able to reload your bow from your backpack without dropping it).

Offline

#21 2020-03-25 01:01:28

jasonrohrer
Administrator
Registered: 2017-02-13
Posts: 4,805

Re: Big change incoming: animal attacks can happen on non-empty tiles

Also on the list this week:

A wearable quiver that you can click with the bow in hand to reload....


But it's not like having bears running around the town was pleasant before, even though there were safe places to stand.

Unless you're saying that the town was so cluttered that there was no place for the bear to even enter?


If bear attacks are common, people can use fences around their towns to protect themselves, right?

Offline

#22 2020-03-25 01:04:13

pein
Member
Registered: 2018-03-31
Posts: 4,337

Re: Big change incoming: animal attacks can happen on non-empty tiles

Just think of a queen, the bear only has those movement possibilities, you can kill it moving like a horse, well you can lure thee same way too.
I often laughed at how some people overstressed fighting a bear, I saw a girl running around it and steeping out when the bear almost got her. I generally was sitting on an arrow and 2 more in a pack, throw on the floor and shoot the bear while it was running around me.

This is harder and more realistic, also boars can just massacre you before you see them.

Now Jason's evil plan will work out, you will need fences again. Animals still won't be able to switch direction then pen-type entrances to the city can keep them out.


https://onehouronelife.com/forums/viewtopic.php?id=7986 livestock pens 4.0
https://onehouronelife.com/forums/viewtopic.php?id=4411 maxi guide

Playing OHOL optimally is like cosplaying a cactus: stand still and don't waste the water.

Offline

#23 2020-03-25 01:06:13

Morti
Member
Registered: 2018-04-06
Posts: 1,323

Re: Big change incoming: animal attacks can happen on non-empty tiles

jasonrohrer wrote:

If bear attacks are common, people can use fences around their towns to protect themselves, right?

Funny guy.

Offline

#24 2020-03-25 01:09:15

antking:]#
Member
Registered: 2018-12-29
Posts: 579

Re: Big change incoming: animal attacks can happen on non-empty tiles

Ahh don't worry to much as long as bears don't respawn in caves (thank you Rift) eventually all bears will be hunted into extinction


"hear how the wind begins to whisper, but now it screams at me" said ashe
"I remember it from a Life I never Lived" said Peaches
"Now Chad don't invest in Asian markets" said Chad's Mom
Herry the man who cheated death

Offline

#25 2020-03-25 02:16:11

DestinyCall
Member
Registered: 2018-12-08
Posts: 4,563

Re: Big change incoming: animal attacks can happen on non-empty tiles

antking:]# wrote:

Ahh don't worry to much as long as bears don't respawn in caves (thank you Rift) eventually all bears will be hunted into extinction

But I like bears.   

Do we really want to live in a world without majestic bears wandering in the wilds?   That hardly feels like living.

Offline

Board footer

Powered by FluxBB