I want to hide some informations during replay

Game development with Board Game Arena Studio
Post Reply
User avatar
YoannLevet
Posts: 105
Joined: 21 April 2012, 23:07

I want to hide some informations during replay

Post 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
User avatar
ufm
Posts: 2039
Joined: 06 January 2017, 08:38

Re: I want to hide some informations during replay

Post 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
User avatar
YoannLevet
Posts: 105
Joined: 21 April 2012, 23:07

Re: I want to hide some informations during replay

Post by YoannLevet »

Yes, I agree, but it changes a 'very easy to cheat' into a 'not so easy'.

Thank you!
User avatar
YoannLevet
Posts: 105
Joined: 21 April 2012, 23:07

Re: I want to hide some informations during replay

Post 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
User avatar
YoannLevet
Posts: 105
Joined: 21 April 2012, 23:07

Re: I want to hide some informations during replay

Post 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
User avatar
YoannLevet
Posts: 105
Joined: 21 April 2012, 23:07

Re: I want to hide some informations during replay

Post 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
User avatar
tchobello
Posts: 693
Joined: 18 March 2012, 13:19

Re: I want to hide some informations during replay

Post 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 ?
User avatar
YoannLevet
Posts: 105
Joined: 21 April 2012, 23:07

Re: I want to hide some informations during replay

Post 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
User avatar
__X__
Posts: 26
Joined: 09 February 2022, 18:53

Re: I want to hide some informations during replay

Post 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.
- Razz ( X )
Post Reply

Return to “Developers”