jwinterm
00f8057cb5
Fix credits mode payment processing and payout tracking
...
- Add payout database records: processPayout now inserts into payouts
table with tx_hash, fee, status, and updates user statistics
- Fix credits deduction: QueueManager game start methods now properly
call processGameStart() to deduct credits (was being skipped)
- Fix credits_update emission: moved from GameModeManager (no io access)
to socketHandlers/queueManager where io is available
- Add payment recovery: users who disconnect during payment confirmation
now get credits recovered automatically on reconnect
- Remove dead handlePaymentDetected method that referenced undefined this.db
2026-01-02 14:19:11 -05:00
jwinterm
aec1c71a8c
add early entry and help screens for new users
2025-12-26 10:21:25 -05:00
jwinterm
f1c86a084b
Fix payout calculation - update defaults and add debug logging
2025-12-24 21:00:22 -05:00
jwinterm
b062a1a5fa
debug payouts
2025-12-24 20:54:07 -05:00
jwinterm
2c781ec043
fix payout calcs
2025-12-24 20:03:26 -05:00
jwinterm
e218fbf67b
fix payment UI
2025-12-24 17:24:04 -05:00
jwinterm
3589406bac
fix payment addy bug
2025-12-24 16:45:35 -05:00
jwinterm
7f91d83308
fix monster bug and let spectators join pending games
2025-12-22 11:25:22 -05:00
jwinterm
24f46fa35e
fix chat and payments and add spectator mode
2025-12-22 10:36:46 -05:00
jwinterm
fbf5bd5b17
add stagenet warning and increase diff of game and also add modes
2025-12-21 15:10:40 -05:00
jwinterm
aa419689c8
fix multimode payments and get credits working again
2025-12-21 14:08:20 -05:00
jwinterm
fa61d60bc0
Limit payment requests
2025-09-30 07:03:41 -04:00
jwinterm
4e7a773496
add address modal and try to fix payout
2025-09-29 17:40:59 -04:00
jwinterm
95711b9d26
add error handling and more tests
2025-09-29 11:20:11 -04:00
jwinterm
c7cbdff021
UnifyPayments (megachange)
2025-09-29 08:49:27 -04:00
jwinterm
9a4911f410
fix audio and add new audio and fix qr and db index
2025-09-28 10:43:48 -04:00
jwinterm
f8241dd309
Continue working on payment logic
2025-09-27 11:21:11 -04:00
jwinterm
e3915dcde2
Begin payment logic and tests
2025-09-27 08:45:22 -04:00
jwinterm
4ad063f735
Get back into it
2025-09-24 14:06:42 -04:00
jwinterm
bd97d9d848
First (untested) payment and db setup
2025-06-01 14:17:29 -04:00
jwinterm
f02e16272e
refactor frontend and fix debug mode
2025-05-29 13:40:44 -04:00
jwinterm
de3eed792b
waiting anim working
2025-05-28 20:05:51 -04:00
jwinterm
50ccf28a04
refactor backend folder structure
2025-05-26 20:04:25 -04:00