System poses not closing divs

I actually noticed this a while ago, but never remembered to mention it till tonight.

When you roll in a scene, it opens the div class “scene-system-pose,” but doesn’t close it before it puts in the divider, so the divider and any set/GM poses get indented.

1 Like

I think you might have a merge conflict with some lingering code or something. I checked on both my test game and Spirit Lake, and system divs for rolls don’t seem to have the problem you’re describing. Also there’s no pose divider div in the latest code. IIRC that’s something that went away a looooong time ago.

Is this on a test game or something? The latest scene in GH seems to be formatted correctly too - no pose divider, and properly closed divs.

image

It’s a test server, but it’s one that I just installed Ares, like, maybe a few hours before the latest patch, and it has no custom code on it.

Just did a test on GH, and the same thing happened.

test
[[div class="pose-divider"]][[/div]]


[[div class="scene-system-pose"]]
%xb<FS3>%xn test (a NPC) rolls 3 (%xg8%xn %xg8%xn %xg8%xn %xg7%xn 2) vs test2 (a NPC)'s 3 (%xg7%xn 4 3 2 2)
%xb<FS3>%xn    %xh%xyCrushing Victory for test.%xn     (Rolled by: KarmaBum)
[[div class="pose-divider"]][[/div]]



[[/div]]

test
[[div class="pose-divider"]][[/div]]

This scene also shows it: https://gray-harbor.com/scene/4155 - ctrl+f for “August rolls Composure” and you’ll see.

Just took a quick peek, and it seems to be on SL, too - https://spiritlakemu.com/scene/4396 - ctrl+f for “DeLuz rolls Brawn.”

1 Like

Oh - you’re talking about in shared scenes. Sorry, I was looking at live scenes.

I’ll check it out, thanks.

1 Like

Oh! Yep. Sorry I wasn’t clearer. My bad. :slight_smile:

Thanks! :slight_smile:

So just to make sure I’m fixing the right problem and not missing something else…

The div in your example IS closed. The issue is just that the pose divider is happening inside the div instead of outside of it?

test
[[div class="pose-divider"]][[/div]]


[[div class="scene-system-pose"]]
%xb<FS3>%xn test (a NPC) rolls 3 (%xg8%xn %xg8%xn %xg8%xn %xg7%xn 2) vs test2 (a NPC)'s 3 (%xg7%xn 4 3 2 2)
%xb<FS3>%xn    %xh%xyCrushing Victory for test.%xn     (Rolled by: KarmaBum)
[[div class="pose-divider"]][[/div]]



[[/div]]   <<-------- Here's the closing div for the system pose.

test
[[div class="pose-divider"]][[/div]]

Yes, sort of. Here’s a longer example, which shows how subsequent poses and pose dividers get indented.

[[div class="scene-system-pose"]] <-- Open scene-system
%xb&lt;FS3&gt;%xn Lily rolls Melee (5 3 2) vs Scary Monster Guy (a NPC)'s 6 (%xg8%xn %xg7%xn %xg6%xn 4 4 3 2 2)
%xb&lt;FS3&gt;%xn    %xh%xyCrushing Victory for Scary Monster Guy.%xn
[[div class="pose-divider"]][[/div]]


[[div class="scene-set-pose"]]
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Nisl condimentum id venenatis a condimentum vitae. Mi eget mauris pharetra et ultrices neque ornare. A pellentesque sit amet porttitor eget dolor morbi. Lectus urna duis convallis convallis. Laoreet sit amet cursus sit amet. Egestas integer eget aliquet nibh praesent tristique magna. Netus et malesuada fames ac turpis egestas.
[[/div]]


[[div class="pose-divider"]][[/div]]

%xb&lt;FS3&gt;%xn Lily rolls Alertness (%xg6%xn 4 2 1 1) vs Scary Monster Guy (a NPC)'s 6 (%xg8%xn %xg8%xn %xg8%xn 5 4 4 1 1)
%xb&lt;FS3&gt;%xn    %xh%xgVictory for Scary Monster Guy.%xn
[[div class="pose-divider"]][[/div]]



[[/div]] <-- Close scene-system

Then, a few poses later:

[[div class="scene-system-pose"]]   <-- Open scene-system
%xb&lt;FS3&gt;%xn William rolls Firearms (%xg7%xn %xg7%xn 5 3 3 3 1 1) vs Slightly Less Scary Monster (a NPC)'s 4 (%xg7%xn %xg6%xn 5 4 3 2)
%xb&lt;FS3&gt;%xn    %xbDRAW!%xn
[[div class="pose-divider"]][[/div]]


%xb&lt;FS3&gt;%xn William rolls Firearms (%xg8%xn %xg8%xn %xg7%xn %xg6%xn 3 3 2 1) vs Slightly Less Scary Monster (a NPC)'s 4 (%xg8%xn %xg8%xn 5 5 5 1)
%xb&lt;FS3&gt;%xn    %xh%xgVictory for Will.%xn
[[div class="pose-divider"]][[/div]]


[[div class="scene-set-pose"]]
Arcu non odio euismod lacinia at quis risus sed. Odio euismod lacinia at quis risus sed. Vitae sapien pellentesque habitant morbi tristique senectus et netus et. Tristique senectus et netus et malesuada fames ac. Et odio pellentesque diam volutpat commodo sed egestas egestas. 
[[/div]]


[[div class="pose-divider"]][[/div]]


%xb&lt;FS3&gt;%xn Lily rolls Melee (5 5 1) vs Super Scary Monster (a NPC)'s 6 (%xg8%xn %xg8%xn %xg6%xn 4 3 2 2 1)
%xb&lt;FS3&gt;%xn    %xh%xyCrushing Victory for Super Scary Monster.%xn
[[div class="pose-divider"]][[/div]]


%xb&lt;FS3&gt;%xn William rolls Melee (%xg8%xn %xg8%xn %xg6%xn %xg6%xn %xg6%xn 5) vs Lily's Melee (%xg8%xn %xg8%xn %xg7%xn)
%xb&lt;FS3&gt;%xn    %xh%xgVictory for William.%xn
[[div class="pose-divider"]][[/div]]


%xb&lt;FS3&gt;%xn Lily rolls Melee+2 (%xg8%xn %xg7%xn 5 4 2) vs Super Scary Monster (a NPC)'s 6 (%xg7%xn 5 4 4 3 3 2 1)
%xb&lt;FS3&gt;%xn    %xgMarginal Victory for Lily.%xn
[[div class="pose-divider"]][[/div]]



[[/div]] <-- Close scene-system
1 Like

OK yes, I see now there’s a bug with set poses immediately following system poses. That wasn’t clear from the initial example (which didn’t have a set pose). Thanks for clarifying.

1 Like