Eric House
85df0cc7fb
add trading tiles to test script and app
2024-02-18 19:28:29 -08:00
Eric House
660584e4ee
remove dead code
2024-02-18 19:28:29 -08:00
Eric House
38889ac0d6
snapshot: cleanup cleanup
2024-02-18 19:28:29 -08:00
Eric House
9f514a4b85
snapshot: async return of web api result works both platforms
2024-02-18 19:28:29 -08:00
Eric House
47f06d4cb3
snapshot: reg works from Android and Linux
2024-02-18 19:28:29 -08:00
Eric House
7200833d27
snapshot: registering from linux works
2024-02-18 19:28:29 -08:00
Eric House
a43d51edf7
add forgotten symlinks
2024-02-18 19:28:29 -08:00
Eric House
ee26816420
remove ackMQTTMsg() in favor of sendViaWeb()
...
Linux still doesn't work. I need to figure out curl :-(
2024-02-18 19:28:29 -08:00
Eric House
ab8d3d168c
new API for general-purpose web api sends
...
Will later expand to include a callback for when the (async) web API
returns.
2024-02-18 19:28:29 -08:00
Eric House
1320064824
use submodule for cJSON (linux only so far)
2024-02-18 19:28:29 -08:00
Eric House
3cd73acdc2
change API for dutil_md5sum to avoid malloc-ing
2024-02-12 14:07:54 -08:00
Eric House
01bbee3a8c
more reducing logging
2024-02-10 20:41:19 -08:00
Eric House
8487d212a3
introduce XP_LOGFFV and use it to remove some excessive logging
2024-02-10 10:23:43 -08:00
Eric House
c7b9182eca
make rematch-to-self work again
2024-02-09 11:33:05 -08:00
Eric House
cbae3665ca
remove redundant list length variable
2024-02-09 10:10:44 -08:00
Eric House
9437cc4ef9
tweak dllist to allow deletion mid-iteration
...
Eventually comms will use this thing I think
2024-02-09 09:40:27 -08:00
Eric House
b5090bb825
add sorting known players by date to android client
2024-02-09 09:40:27 -08:00
Eric House
183b656d2a
some logging to remove
2024-02-09 09:40:27 -08:00
Eric House
e9e6802f58
add newestMod when creating new knownplayer entries
...
This may be why they're mostly zeros
2024-02-09 09:40:27 -08:00
Eric House
bbd06183d4
move sorting of known players into common code
2024-02-09 09:40:23 -08:00
Eric House
5d53df9f0b
tweak linux client to work with old test script
...
Included adding a new enum
2024-02-02 16:41:44 -08:00
Eric House
3670af591b
cleanup stuff noted in code review -- no behavior change
2024-01-17 21:41:57 -08:00
Eric House
6f0bfe2c82
cleanup: remove unnecessary params
2024-01-17 11:35:35 -08:00
Eric House
b6cff507fa
fix sending invitations via BT
2024-01-16 21:47:31 -08:00
Eric House
aa0aded8c4
Change the suggested game name (a vs b) with the RematchOrder
...
It's bad to display a name based on a player order in the same place
as where you're letting people change that order and not have the
name change. So re-juggle the rematch process to allow the name to
be changed -- but don't change once the user has edited the name.
2024-01-16 17:10:53 -08:00
Eric House
7f3572c96e
fix crashes using new logging when comms null
2024-01-14 17:03:50 -08:00
Eric House
9900291eb0
fix Bluetooth inviting and game play
2024-01-14 17:03:50 -08:00
Eric House
23533c6b0e
combine rematch-name and rematch-order alerts
2024-01-13 10:22:32 -08:00
Eric House
f84bb85f22
Don't offer to rematch game that can't (yet) be rematched
2024-01-11 22:59:28 -08:00
Eric House
a16a34adc9
cleanup comms ack fix
2024-01-11 10:50:21 -08:00
Eric House
16f525f7b9
don't ACK ACKs
2024-01-09 18:17:36 -08:00
Eric House
1ae714d834
start to remove obsolete XWFEATURE_STANDALONE_ONLY
2024-01-09 18:17:36 -08:00
Eric House
6018392160
send/handle all invitations at once
...
I'm trying to reproduce with initial invitations the stalls I'm seeing
with rematches (rarely)
2024-01-04 20:28:49 -08:00
Eric House
8388b27002
add comments about problems with signed gameIDs
2024-01-04 18:03:38 -08:00
Eric House
f5526652b5
remove old ifdef'd-out code
2024-01-04 09:50:24 -08:00
Eric House
c91865c991
use invite's channelNo for first incoming message
...
A rare stall resulted when the invitee on channel 2 responded
first. It would get assigned channel 1 and so the invitation on that
channel would get deleted. If it hadn't already reached the mqtt
server it would never be delivered. My fix is to use an invitation's
channel instead IFF its address matches the return address of the
incoming message. I'm not sure what happens if there's somehow a mix
of invited (via rematch) and invited-some-other-way players. None of
this matters for two-device games anyway.
2024-01-04 09:50:24 -08:00
Eric House
7219206214
get rid of ancient ifdef
2024-01-04 09:50:24 -08:00
Eric House
fcf1e49c16
fix double dispose in curses app
2024-01-04 09:50:24 -08:00
Eric House
4ffaa5dd73
cleanup -- should be no behavior/code change
2024-01-04 09:50:24 -08:00
Eric House
9443bf14a4
make it work on android too
2024-01-04 09:50:24 -08:00
Eric House
5794cc43e3
log gameID wherever possible in comms.c and server.c
2024-01-04 09:50:24 -08:00
Eric House
52a1de0463
add fromRematch to existing api to avoid race condition
2024-01-04 09:50:24 -08:00
Eric House
b5de43e3dc
fix assertion failure in mixed-version rematch case
2024-01-04 09:50:24 -08:00
Eric House
ffc64bc5dd
cleanup/refactor
2024-01-04 09:50:24 -08:00
Eric House
7275569842
fix crash assuming wrong stream version
2024-01-04 09:50:24 -08:00
Eric House
e2414ff3bd
fix NPE crash
...
Not sure why it happens with one old game...
2024-01-04 09:50:24 -08:00
Eric House
f0ca490b3c
fix stuff test script found
2024-01-04 09:50:24 -08:00
Eric House
1181e908dc
Add option to choose how rematch-game players will be ordered
...
When rematching, some users have a convention that e.g. lowest scoring
player in the "parent" game goes first. So allow that, providing the
choice on each rematch until a default has been chosen. Support
changing that default in a new prefs setting.
The place I chose to enforce the order was on the host as invitees are
registering and being assigned slots. But by then there's no longer
any connection to the game that was rematched, e.g. to use its
scores. So during the rematched game creation process I create and
store with the new game the necessary ordering information. For the
3-and-4 device case, it was also necessary to tweak the information
about other guests that the host sends guests (added during earlier
work on rematching.)
2024-01-04 09:50:24 -08:00
Eric House
7b4f9ede41
cleanup: renaming only (server->host)
2024-01-04 09:50:24 -08:00
Eric House
57b78141e9
remove dead (relay) code
2023-12-04 09:31:11 -08:00