Page 1 of 1

Buylist / Target bug

Posted: Thu Apr 27, 2017 10:01 am
by RusseL
Hello everyone.
I've made a little video about this bug.

Bug is weird. Sometimes it shows more items, sometimes less, sometimes it causes client crash.
It doesnt matter Target() or TargetCoordinates()

Looks like we should start to search from here
https://github.com/polserver/polserver/ ... t.cpp#L252

Video:
https://youtu.be/sOcOWHMgZvQ

Re: Buylist / Target bug

Posted: Thu Apr 27, 2017 11:07 am
by Turley
I try to summarise what i saw please correct me if I'm wrong.
Player 1 opens buy window
Player 2 also
Player 2 buys the item
Player 1 uses target() and clicks onto the (now bought from player 2) item in the buy window
Player 1 has now a listing of the backback content in the buy window.

If that's correct holy shit.. ;)

Re: Buylist / Target bug

Posted: Thu Apr 27, 2017 11:30 am
by RusseL
Turley wrote: Thu Apr 27, 2017 11:07 am I try to summarise what i saw please correct me if I'm wrong.
Player 1 opens buy window
Player 2 also
Player 2 buys the item
Player 1 uses target() and clicks onto the (now bought from player 2) item in the buy window
Player 1 has now a listing of the backback content in the buy window.

If that's correct holy shit.. ;)
Yep, correct. Sometimes more, sometimes less items, sometimes it causes client crash.
If i try to buy an item - client crash everytime

Re: Buylist / Target bug

Posted: Thu Apr 27, 2017 10:41 pm
by Nando
Weird... Could you make a packetlog during the bug? And just to be sure: do you have any packethooks or client modifications that could affect this?

Re: Buylist / Target bug

Posted: Sun May 07, 2017 4:24 am
by RusseL
Looks like this bag is fixed in the last core, and i was a little bit outdated.
I will send a packet log if i see it again. Thanks

Re: Buylist / Target bug

Posted: Sun May 07, 2017 9:51 am
by Nando
Oh, ok. That explains why we didn't manage to reproduce it. Which core were you using before? Just to understand the bug...