Page 1 of 1
I want to hide some informations during replay
Posted: 08 November 2024, 06:47
by YoannLevet
Hi everyone!
I made a puzzle game : gamme logic
And there is a daily challenge.
The problem is if you look at the game replay of a daily challenge puzzle from another player, you can see the puzzle of the day before playing it.
Is it possible to detect the replay mode?
Yoann
Re: I want to hide some informations during replay
Posted: 08 November 2024, 06:52
by ufm
I think it's futile because everyone can do so without using any replay - by playing with their another account first.
If you still want to do that, here is the link:
https://en.doc.boardgamearena.com/Game_ ... eful_stuff
Re: I want to hide some informations during replay
Posted: 08 November 2024, 10:16
by YoannLevet
Yes, I agree, but it changes a 'very easy to cheat' into a 'not so easy'.
Thank you!
Re: I want to hide some informations during replay
Posted: 08 November 2024, 12:38
by YoannLevet
It's not working!
g_replayFrom is only active if you are in the replay mode in a live game.
It's not working for detecting if you are looking on the replay of a finished game!
I will try to test g_archive_mode instead.
Yoann
Re: I want to hide some informations during replay
Posted: 08 November 2024, 12:56
by YoannLevet
Ok, this is working with g_archive_mode!
But...
I detect the finish status in the studio mode but not in production!
I don't understand why...
Yoann
Re: I want to hide some informations during replay
Posted: 08 November 2024, 13:09
by YoannLevet
Ok, I finnaly understand.
When you launch a replay, it loads the original js file of the game.
It's why my modifications are not working on old games.
For future games it's working.
I finnaly use g_archive_mode.
Thank you all,
Yoann
Re: I want to hide some informations during replay
Posted: 08 November 2024, 13:17
by tchobello
YoannLevet wrote: ↑08 November 2024, 13:09
Ok, I finnaly understand.
When you launch a replay, it loads the original js file of the game.
It's why my modifications are not working on old games.
For future games it's working.
I finnaly use g_archive_mode.
Thank you all,
Yoann
Do you plan to make this also for spectators on running games ?
Re: I want to hide some informations during replay
Posted: 09 November 2024, 08:41
by YoannLevet
Yes, in classic mode, a spectator can only view the puzzle if everyone already finish it.
And in Daily Challenge mode, a spectotr can't view the puzzle, even when the game is over.
Yoann
Re: I want to hide some informations during replay
Posted: 02 December 2024, 19:27
by __X__
YoannLevet wrote: ↑08 November 2024, 10:16
Yes, I agree, but it changes a 'very easy to cheat' into a 'not so easy'.
Thank you!
I kind of like it being there ... at least I can identify players who are such lowlifes that they'd cheat at a solo game to get an ephemeral "award" so that I can preemptively red thumb them.