Armageddon General Discussion Board

General => Code Discussion => Topic started by: DustMight on December 28, 2022, 08:24:15 PM

Title: Prompt Question
Post by: DustMight on December 28, 2022, 08:24:15 PM
Setting up my prompt and it seems like %e and %E do not work - I get NULL (not actual null, just a blank) instead of time or position even though my dude can clearly tell what time it is when using that function. Is %e and %E broken? Thanks.
Title: Re: Prompt Question
Post by: Pariah on December 28, 2022, 08:57:53 PM
Quote from: DustMight on December 28, 2022, 08:24:15 PM
Setting up my prompt and it seems like %e and %E do not work - I get NULL (not actual null, just a blank) instead of time or position even though my dude can clearly tell what time it is when using that function. Is %e and %E broken? Thanks.
I personally don't use that prompt function, but that sounds like a bug.  Might want to bug it in game or request under game bug.

I'll try it on my character and see what it gives me when I'm in game next.
Title: Re: Prompt Question
Post by: mansa on December 28, 2022, 10:04:19 PM
The TIME function works for me.  If my character is in tunnels or some other place where "time" does not work, it also does not work in my prompt.
Title: Re: Prompt Question
Post by: Pariah on December 28, 2022, 10:08:54 PM
Just tested it, works for me too.
Title: Re: Prompt Question
Post by: DustMight on December 29, 2022, 06:04:12 AM
Quote from: Pariah on December 28, 2022, 10:08:54 PM
Just tested it, works for me too.

Just to be clear - this isn't a question of the "time" function. It is a question of the %e (time) and %E (position) options for the prompt function.
Title: Re: Prompt Question
Post by: Riev on December 29, 2022, 03:28:16 PM
Quote from: DustMight on December 29, 2022, 06:04:12 AM
Quote from: Pariah on December 28, 2022, 10:08:54 PM
Just tested it, works for me too.

Just to be clear - this isn't a question of the "time" function. It is a question of the %e (time) and %E (position) options for the prompt function.

Just to be clear.

Yes. It works for other people.
Title: Re: Prompt Question
Post by: Brisket on December 29, 2022, 04:43:23 PM
Quote from: DustMight on December 29, 2022, 06:04:12 AM
Quote from: Pariah on December 28, 2022, 10:08:54 PM
Just tested it, works for me too.

Just to be clear - this isn't a question of the "time" function. It is a question of the %e (time) and %E (position) options for the prompt function.

What client do you use?  There may be a weird setting like UTF-8 or something making your e's weird, especially if you have a non-english language installed
Title: Re: Prompt Question
Post by: DustMight on December 29, 2022, 07:00:57 PM
Quote from: Riev on December 29, 2022, 03:28:16 PM
Quote from: DustMight on December 29, 2022, 06:04:12 AM
Quote from: Pariah on December 28, 2022, 10:08:54 PM
Just tested it, works for me too.

Just to be clear - this isn't a question of the "time" function. It is a question of the %e (time) and %E (position) options for the prompt function.

Just to be clear.

Yes. It works for other people.

hahaha! Some things never change!

FWIW: %e did not work for me in CMud or tintin++ yesterday. Without changing anything - works today. *shrug*