Buylist / Target bug

Bug reports and feature requests. New features can only be added to the current development version. Bug-fixes may be back-ported.

Current release: 099 / Current development: 100
Post Reply
RusseL
Forum Regular
Posts: 348
Joined: Fri Feb 20, 2009 8:30 pm

Buylist / Target bug

Post by RusseL » Thu Apr 27, 2017 10:01 am

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

Turley
POL Developer
Posts: 644
Joined: Sun Feb 05, 2006 4:45 am

Re: Buylist / Target bug

Post by Turley » 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.. ;)

RusseL
Forum Regular
Posts: 348
Joined: Fri Feb 20, 2009 8:30 pm

Re: Buylist / Target bug

Post by RusseL » Thu Apr 27, 2017 11:30 am

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

Nando
POL Developer
Posts: 260
Joined: Wed Sep 17, 2008 6:53 pm
Contact:

Re: Buylist / Target bug

Post by Nando » Thu Apr 27, 2017 10:41 pm

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?

RusseL
Forum Regular
Posts: 348
Joined: Fri Feb 20, 2009 8:30 pm

Re: Buylist / Target bug

Post by RusseL » Sun May 07, 2017 4:24 am

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

Nando
POL Developer
Posts: 260
Joined: Wed Sep 17, 2008 6:53 pm
Contact:

Re: Buylist / Target bug

Post by Nando » Sun May 07, 2017 9:51 am

Oh, ok. That explains why we didn't manage to reproduce it. Which core were you using before? Just to understand the bug...

Post Reply