Skip to content
This repository has been archived by the owner on May 11, 2023. It is now read-only.

creature and push items #40

Open
renanluis90 opened this issue Apr 14, 2019 · 6 comments
Open

creature and push items #40

renanluis90 opened this issue Apr 14, 2019 · 6 comments

Comments

@renanluis90
Copy link

renanluis90 commented Apr 14, 2019

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
Copy link

ghost commented Apr 14, 2019

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
Copy link
Author

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
Copy link
Author

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
Copy link

ghost commented Apr 15, 2019

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
Copy link
Contributor

nekiro commented May 3, 2019

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

@floki21uu
Copy link

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?:)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants