-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Debug on !leavehouse #1403
Comments
This was marked as unconfirmed but it is a known and common issue. This happens because of massive amounts of items being pushed into inbox. You could try returning an error on |
I don't believe in your idea @ranisalt because i have already changed internalMoveItem to internalRemoveItem(so, the items from the house are simple removed istead of being move to inbox) and it still crashes. |
Lmao on your thread now haha Tried reading the errors then linking it to the src? |
@WibbenZ do you know the debug assertions show errors related to the CLIENT, not the SERVER, right? That Player.cpp is for the source code of the client :P (hope it isn't about that) |
Well tibia client crash log(with asserts and such) most of times hints what we are doing wrong. |
99.9% it tells you what the problem is, it's ofc not in hex But in this case it gives a thing we send, an error message about it etc. |
Perhaps there's something wrong with the code that sends updates to clients? Have you tried checking if it crashes all spectators or just the one using !leavehouse? |
@djarek i will try to do more tests to understand more about this issue. To all, this is a normal issue? every server(tfs 1.x) have it? |
Is there not a limit of the number of items per tile? If you're stacking 100 I'd imagine you're above that limit? I recall the limit being 32 (including the tile itself), but I could be wrong on this. I definitely remember there being some limit though |
The limit you are referring to is probably 255, the same limit that has been in ot since the existence of ot... |
The stack of tile items goes from 0 to 255: forgottenserver/data/lib/compat/compat.lua Lines 12 to 20 in 5657554
|
Do you ever remember having to fill a chest full of items, then break it, in order to get more than a certain number of items on a tile? I do. |
Look: I use command: Look: Testing ... http://pastebin.com/NsYv17kj |
@marksamman i have tested and the bug exists on 1.1 and does not exists 1.2 after your fix. |
That's odd, since packet splitting has been supported since c4a27b4, it just broke when we merged the network refactor in 1.2, but I guess this issue can be closed then. |
After i use "!leavehouse" while the servers is removing items from sqm to inbox the client crashs with this log:
http://prntscr.com/7d6kx3
http://prntscr.com/7d6l4o
Edit: if few items no debug, to debug my client need to do this:
http://prntscr.com/7d6pza
Every sqm has 100 crown armors.
if in every sqm there is 10 crown armors then there is no debug. Maybe its related with the count of items in every sqm.
Edit 2:
If i use internalRemoveItem istead of internalMoveItem(moving from sqm to inbox), still debugs some times.
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
The text was updated successfully, but these errors were encountered: