Ezzz-dev / Nostalrius

Nostalrius is a 7.7 Tibia Clone Project based on The Forgotten Server 1.2 and CipSoft files.
99 stars 67 forks source link

creature and push items #40

Open renanluis90 opened 5 years ago

renanluis90 commented 5 years ago

I remenber old tibia when i lose some items inside a parcel, because a demon skeleton push my parcel like 3x and the parcel has been deleted with Poff effect, i saw this function in source, but dont work idk why. I tested waiting many time a creature push a movable item and nothing happen...

This function dont work

In monster.cpp void Monster::pushCreatures(Tile* tile)

ghost commented 5 years ago

not sure what you talking about, but regarding pushing/destroying objects i can confirm tfs has it wrong.

i can provide more details later today

renanluis90 commented 5 years ago

Yes, in my opinion, every time the object is pushed to another tile, the count is renewed, because of that the function is not working.

renanluis90 commented 5 years ago

I tested on Realots https://streamable.com/hjzxg 0:41 seconds u can see, the bandit deleted the box, but with BLOCKHIT effect ^^ is the correct.

ghost commented 5 years ago

here is some old gifs i had (tests from experimental), mby you can get some information from them too

1 crate + player block - https://gyazo.com/4b8ebad8b7d7c071c549983a250d7c25 1 crate + no player block - https://gyazo.com/907725caaff0dd13f619cfe826b0e49d 2 stacked crates + no player block - https://gyazo.com/9f0ba9113e14d48765537bd4a15affe2 2 stacked crates + player block - https://gyazo.com/0bf55f563e20a3677e87f42b0db79d69 1 table + no player block - https://gyazo.com/d4a20fc76abc25a1ab1fa0387db36a89 1 table + player block - https://gyazo.com/f223e0ddb5a94536ef4ab28c760d7758 2 tables + no player block - https://gyazo.com/e2ed8b04556fa6793ad6e5a986fbbac2 2 tables + player block - https://gyazo.com/adf70d2aa04383c76d393de4f2b368dc

nekiro commented 5 years ago

Tfs has it correct, they only destroy the object when there is no free tile to push it to.

floki21uu commented 1 year ago

here is some old gifs i had (tests from experimental), mby you can get some information from them too

1 crate + player block - https://gyazo.com/4b8ebad8b7d7c071c549983a250d7c25 1 crate + no player block - https://gyazo.com/907725caaff0dd13f619cfe826b0e49d 2 stacked crates + no player block - https://gyazo.com/9f0ba9113e14d48765537bd4a15affe2 2 stacked crates + player block - https://gyazo.com/0bf55f563e20a3677e87f42b0db79d69 1 table + no player block - https://gyazo.com/d4a20fc76abc25a1ab1fa0387db36a89 1 table + player block - https://gyazo.com/f223e0ddb5a94536ef4ab28c760d7758 2 tables + no player block - https://gyazo.com/e2ed8b04556fa6793ad6e5a986fbbac2 2 tables + player block - https://gyazo.com/adf70d2aa04383c76d393de4f2b368dc

Yo, did you fix it?:)