Search found 279 matches

by DrKarotte
21 May 2020, 18:59
Forum: Developers
Topic: Keeping track of card play order - Best Practices with DB
Replies: 8
Views: 2577

Re: Keeping track of card play order - Best Practices with DB

The card id from the deck cannot be used for sorting purposes, it is pure random, generated by the module. It must not be confused with a card ID generated and used und client side. If I remember correctly in Hearts there is a function "createUniqueCardId". You hand over value and color, a...
by DrKarotte
21 May 2020, 11:28
Forum: Developers
Topic: Keeping track of card play order - Best Practices with DB
Replies: 8
Views: 2577

Re: Keeping track of card play order - Best Practices with DB

What exactly is the problem? The deck (on server side) and stock (which displays the cards on client side) must be connected properly. The card order in the stock is done by the itemweight property. In Hearts it is based on card value and color. If they should arrange otherwise, e.g. in the order th...
by DrKarotte
20 May 2020, 07:16
Forum: Developers
Topic: 3D Mode?
Replies: 5
Views: 989

Re: 3D Mode?

Good to know :-)
by DrKarotte
19 May 2020, 12:47
Forum: Developers
Topic: 3D Mode?
Replies: 5
Views: 989

Re: 3D Mode?

It would perhaps easier for everyone if a developper could define "3d allowed" for his game. I usually don't use it, and I am ok when the table is "flat". But now I have - just for fun - tested a card game project of mine, where I have used a particular high z-index when cards ar...
by DrKarotte
15 May 2020, 12:10
Forum: Developers
Topic: onclick not return element id
Replies: 6
Views: 1175

Re: onclick not return element id

What does it alert?

You use "evt.currentTarget.id"?
by DrKarotte
13 May 2020, 11:26
Forum: Developers
Topic: We should add a anti-cheating stuff
Replies: 10
Views: 1803

Re: We should add a anti-cheating stuff

I don't see how a bug with a ship outside the field can be connected to that, because the main "problem" seems to be the high hit quote of the player, not the low hit quote of his opponents (which could be explained by this bug) - apart from that, aren't the ships revealed in the end? The ...
by DrKarotte
12 May 2020, 22:43
Forum: Developers
Topic: We should add a anti-cheating stuff
Replies: 10
Views: 1803

Re: We should add a anti-cheating stuff

Battleships has been finished by one of the most capable developpers around here, so it's very unlikely that there are flaws to exploit. Concerning Solo - what's going on there?
by DrKarotte
12 May 2020, 20:41
Forum: Skat
Topic: SKAT Update Easter 2020
Replies: 5
Views: 2509

Re: SKAT Update Easter 2020

Fixed, the card order should now be saved.
I have also updated the calculation of the game progress, this should now update more often during the game and in smaller steps (tricks instead of hands).
by DrKarotte
12 May 2020, 19:05
Forum: Skat
Topic: SKAT Update Easter 2020
Replies: 5
Views: 2509

Re: SKAT Update Easter 2020

This selection should be stored, will have to look into it.
by DrKarotte
10 May 2020, 16:42
Forum: Developers
Topic: strange bug
Replies: 2
Views: 582

Re: strange bug

When I got a message like this it was usually a typo, e.g. I once wrote "selff::"

Go to advanced search