<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Faldon Forums - ^session_flags no longer correctly reset]]></title>
	<link rel="self" href="https://www.faldon.org/feed/atom/topic/7780/"/>
	<updated>2026-02-02T13:44:59Z</updated>
	<generator>PunBB</generator>
	<id>https://www.faldon.org/topic/7780/</id>
		<entry>
			<title type="html"><![CDATA[Re: ^session_flags no longer correctly reset]]></title>
			<link rel="alternate" href="https://www.faldon.org/post/73966/#p73966"/>
			<content type="html"><![CDATA[<p>Turns out it was worse than this. Since October 2024, all in-memory flags had been saving to disk instead. Probably not the greatest given the limited rewrite cycles of SSDs. Anyway, it&#039;s fixed now. Thanks for reporting this bug <img src="https://www.faldon.org/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></content>
			<author>
				<name><![CDATA[James]]></name>
				<uri>https://www.faldon.org/user/2/</uri>
			</author>
			<updated>2026-02-02T13:44:59Z</updated>
			<id>https://www.faldon.org/post/73966/#p73966</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: ^session_flags no longer correctly reset]]></title>
			<link rel="alternate" href="https://www.faldon.org/post/73965/#p73965"/>
			<content type="html"><![CDATA[<p>I&#039;ve had two instances where I had to reset a particular ^flag on a player to get some feature working again. I don&#039;t think I&#039;ve ever used the same flag names without the ^ so those should be 0. Then again it has been over a decade since I last really worked on any of the scripts.</p><p>The most recent example was the ^active_storm flag on ~pr0phet~. Had to manually set that to 0.</p>]]></content>
			<author>
				<name><![CDATA[Mr Spy]]></name>
				<uri>https://www.faldon.org/user/431/</uri>
			</author>
			<updated>2026-01-30T09:36:19Z</updated>
			<id>https://www.faldon.org/post/73965/#p73965</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: ^session_flags no longer correctly reset]]></title>
			<link rel="alternate" href="https://www.faldon.org/post/73964/#p73964"/>
			<content type="html"><![CDATA[<p>Are you sure this is what you are seeing?<br />The one non-obvious behavior right now is that ^flag, if not set, gets its value from the stored flag (without the ^), though it caches that value for the session (setting the permanent flag later does not change the ^flag). But I&#039;d thought it has always been that way. I will look into this though.</p>]]></content>
			<author>
				<name><![CDATA[James]]></name>
				<uri>https://www.faldon.org/user/2/</uri>
			</author>
			<updated>2026-01-29T19:37:19Z</updated>
			<id>https://www.faldon.org/post/73964/#p73964</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[^session_flags no longer correctly reset]]></title>
			<link rel="alternate" href="https://www.faldon.org/post/73963/#p73963"/>
			<content type="html"><![CDATA[<p>The previous behavior of flags prefixed with ^ was that they would reset when a player logged off. </p><p>Currently it does not appear to always do this, leading to subtle bugs.</p>]]></content>
			<author>
				<name><![CDATA[Mr Spy]]></name>
				<uri>https://www.faldon.org/user/431/</uri>
			</author>
			<updated>2026-01-29T16:25:35Z</updated>
			<id>https://www.faldon.org/post/73963/#p73963</id>
		</entry>
</feed>
