Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invisible bug #78

Open
tarantonio opened this issue Sep 14, 2016 · 8 comments
Open

Invisible bug #78

tarantonio opened this issue Sep 14, 2016 · 8 comments
Labels
Milestone

Comments

@tarantonio
Copy link
Contributor

I found a bug.

You become invisible as a GM.
Someone stays in the same tile as you.
You become visible.

The other user change their outfit to yours like this:
2016-09-14 10_23_30-otclient

In this shot on the left the GM become invisible again and the user is in the same tile as GM
In the right shot you can see the bug, Tarantonio is using a GM outfit and the same name as the GM

I'm using OTCLient.

With the normal Tibia client it's worse, if you do the same, you can't do nothing once you reproduce the bug:
2016-09-14 10_30_51-tibia

It changes the oufits and names, but in the user side you are like paralyzed and can't move.
The GM can move but it becomes crazy, you move all two characters.

With two tibia clients, it's crazy:
2016-09-14 10_35_23-tibia

The only solution for user is to relogin.

@peonso
Copy link
Collaborator

peonso commented Sep 14, 2016

It can be fixed by changing floor also. It was happening to me with characters that had save set to 0 and were forced to spawn in the same tile, once I logged with 2 at the same time, they spawn in the same tile and the one that logged first bugged the same way you described here. It happened to me with a GM and a normal character also, without using the invisible command, and the bugged character was actually the gamemaster, I don't remember how I made it happen though.

@tarantonio
Copy link
Contributor Author

tarantonio commented Sep 14, 2016

It's not invisible related I think now.

@peonso peonso added the bug label Sep 14, 2016
@babymannen
Copy link

babymannen commented Sep 16, 2016

In function: void Tile::internalAddThing(uint32_t, Thing* thing)

Change:
creatures->insert(creatures->begin(), creature);

to
creatures->insert(creatures->end(), creature);

Credits: Ferrus

https://github.com/TwistedScorpio/OTHire/blob/d82dd2bb7bd88f3f5b0cad9f10548b050ba551c6/source/tile.cpp#L1522

@diegorodriguesvieira
Copy link
Contributor

Then I'll try and make a pull request...thanks a lot @babymannen and Ferrus

@peonso
Copy link
Collaborator

peonso commented Sep 17, 2016

Too late!!

@peonso peonso closed this as completed in ea43dec Sep 17, 2016
@peonso peonso added this to the Version 0.0.3 milestone Sep 26, 2016
@peonso
Copy link
Collaborator

peonso commented Nov 21, 2018

@peonso peonso reopened this Nov 21, 2018
@peonso peonso modified the milestones: Version 0.0.3, Version 1.0 Nov 21, 2018
@diegorodriguesvieira
Copy link
Contributor

😞

@peonso
Copy link
Collaborator

peonso commented Dec 18, 2020

Try this https://github.com/otland/forgottenserver/blob/00b6a4af50b25c351717e451e308539f43a20d33/src/tile.cpp#L1475 and reverting back ea43dec

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

No branches or pull requests

4 participants