Page 1 of 2

Ticket Grouping Issue

Posted: Sat Nov 10, 2018 11:07 am
by Tuck Fheman
I noticed something odd today in Ticket groupings after doing some testing. It appears that the same tickets are being grouped separately.

I'm guessing the ticket system is case sensitive, explaining why the tickets with capital letters in different areas will group together on their own. But the tickets written the same way appear to be grouping up in a separate group of their own. I haven't had a chance to test how this would all play out if I tried to use the tickets, but it looked odd enough to report. Hope this goes better than my last bug report. :)

Image

Re: Ticket Grouping Issue

Posted: Sat Nov 10, 2018 11:18 am
by Kent Briggs
Please export the account you show in that example and email it to me. I just want to see what the raw ticket setting is for that player.

Re: Ticket Grouping Issue

Posted: Sat Nov 10, 2018 7:06 pm
by Tuck Fheman
Kent Briggs wrote:Please export the account you show in that example and email it to me. I just want to see what the raw ticket setting is for that player.
Unfortunately I had already cleared it before I read your post. I'm trying to locate another users account that has this issue. But I think I can duplicate it if not. I did not report something I saw the other day and believe it may be related.

What I normally do is paste a bunch of tickets into a users account. My account had a bunch of tickets already and I pasted around 360 more into it. As soon as I did this the ticket field went blank, so I assumed I'd overloaded it with tickets. But having previously asked about ticket limits, I proceed and clicked OK. The one thing I did not do at that time was check what the poker server showed when logged in as a player. I will test to see if I can duplicate this tonight.

Re: Ticket Grouping Issue

Posted: Sat Nov 10, 2018 7:17 pm
by Tuck Fheman
Image

This did not yield the groupings seen in the previous image, but shows how the ticket field clears when too many tickets are entered, it shows SCRticket(720) as it should. I've asked everyone to screenshot their ticket balance and notify me if they see odd groupings.

Re: Ticket Grouping Issue

Posted: Sat Nov 10, 2018 8:01 pm
by Kent Briggs
Tuck Fheman wrote:As soon as I did this the ticket field went blank
The standard text edit control in Windows has a 32767 character limit so you've apparently exceeded that.

Re: Ticket Grouping Issue

Posted: Sun Nov 11, 2018 9:20 am
by Tuck Fheman
Kent Briggs wrote:
Tuck Fheman wrote:As soon as I did this the ticket field went blank
The standard text edit control in Windows has a 32767 character limit so you've apparently exceeded that.
It was 7,919 chars that I pasted.

I have not yet come across another account that has this issue, but I have one suspect account I'm waiting to hear from today hopefully.

If it wasn't the pasting, then it must be the ticket API thing my Dev was working on that caused it. The accounts I saw it on were testing the API and had pasted tickets as well. The API code has since been modified and I don't see it cropping up in any new test accounts and pasting did not yield the grouping issue. I will update if I notice it again.

Re: Ticket Grouping Issue

Posted: Sun Nov 11, 2018 10:36 am
by Kent Briggs
Tuck Fheman wrote:It was 7,919 chars that I pasted.
The Delphi version of that control might have a lower limit. In any case, the ticket system was not intended to be used in that way.

Re: Ticket Grouping Issue

Posted: Sun Nov 11, 2018 11:52 am
by Kent Briggs
Tuck Fheman wrote:It appears that the same tickets are being grouped separately.
I found the problem with the grouping. My sorting routine was doing a case-insensitive sort, which randomly mixed up the tokens that only differed by case. That's an easy fix. The length issue is more problematic. If I implement grouping in the server it would break backward compatibility.

Re: Ticket Grouping Issue

Posted: Mon Nov 19, 2018 6:13 pm
by Kent Briggs
Now fixed in 6.06

Re: Ticket Grouping Issue

Posted: Mon Nov 26, 2018 6:15 pm
by Tuck Fheman
Kent Briggs wrote:
Tuck Fheman wrote:It was 7,919 chars that I pasted.
In any case, the ticket system was not intended to be used in that way.
I understand. :)

As long as I don't exceed 32767 chars I should be OK though, correct?