Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Random .ans files does not appear to be working as it should #1635

Open
the-godfather-007 opened this issue Nov 8, 2024 · 4 comments
Open
Assignees

Comments

@the-godfather-007
Copy link

I've tried different variations of naming files and am unable to get random welcome.ans files to work as it should. If I have:

welcome.ans
welcome.001.ans

It only displays welcome.001.ans

If I have welcome.001.ans and no welcome.ans it displays nothing.

If I have welcome.001.ans and welcome.002.ans and welcome.ans it only displays welcome.001.ans

If I have welcome.ans and welcome002.ans it only displays welcome.ans

I've tried many other combinations including welcome1.ans welcome001.ans, etc.. and only a singular file will ever display.
What would be the correct syntax and or has this feature been removed?

Thank you!

@ericpareja
Copy link
Contributor

ericpareja commented Nov 12, 2024

Just name them welcome.0, welcome.1, welcome.2, etc. no need for .ans.
Currently, only logon.ans and welcome.ans work with this.
Filenames would be logon.0, logon.1, etc. for logon.ans.

Also, place them in gfiles/menus/wwiv/gfiles/ for now. We may change this location to just gfiles/.

Thanks for submitting issues, btw.

-=<(xenos)>=-

@the-godfather-007
Copy link
Author

the-godfather-007 commented Nov 13, 2024

Of course it had to be that easy, and of course I try every alternative but those, :) thank you!
I did notice that even when they are welcome.0 welcome.1 welcome.2 in /wwiv/menus/wwiv/gfiles on some terminal sessions no welcome.* displays and goes right to the user name and password login input prompts.

@the-godfather-007
Copy link
Author

PS could we difficult to add it to all .ans files as an option? I'd love to have random logoff.1 2 3 etc... system.ans to system.1 2 3 etc.. ? I would think like with .c132.ans there would be a way to more broadly change how WWIV sees any files prioritizing .1 2 3 etc .. then .c132 or .c160.ans then .ans, .msg, and down the line .. ? Or does this idea affect multiple .cpp files and is a more of an overhaul?

@ericpareja
Copy link
Contributor

PS could we difficult to add it to all .ans files as an option? I'd love to have random logoff.1 2 3 etc... system.ans to system.1 2 3 etc.. ? I would think like with .c132.ans there would be a way to more broadly change how WWIV sees any files prioritizing .1 2 3 etc .. then .c132 or .c160.ans then .ans, .msg, and down the line .. ? Or does this idea affect multiple .cpp files and is a more of an overhaul?

Adding which files to randomize is easy. We just need to identify which ones. If you can come up with a list, I can work on making those randomly shown. The key file that WWIV looks for for randomization is basefilename.0. I might work on something to make the randomizable files configurable in wwivconfig eventually.

@ericpareja ericpareja self-assigned this Dec 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants