Screen flashes black. Game Locks. Upon equipping an Ego Cap.

Where bugs go to lie down and rest

Moderator: Moderator

Post Reply
Message
Author
smithfield
Halfling
Posts: 114
Joined: Wed May 23, 2012 1:19 am

Screen flashes black. Game Locks. Upon equipping an Ego Cap.

#1 Post by smithfield »

Usually I try to do more due diligence than this. but its pretty severe, so here goes...

Playing 1.7, this character, has an ego cap, Isurin the Hardened Leather Cap, which, when he tries to equip it causes...

the screen to go black, then back, then black, then back, then black, flashing over and over and then locking up altogether if you alt-tab around.

I know that this happens when you mess up w/ core.display.???surface.

I looked into te4_log.txt and there was some stuff from Zizzo's work.

I am posting the te4_log and the debug log in hopes that this will make some sense to someone.
Attachments
logs.zip
(138.39 KiB) Downloaded 54 times

Moasseman
Archmage
Posts: 358
Joined: Thu Sep 26, 2019 4:32 pm

Re: Screen flashes black. Game Locks. Upon equipping an Ego

#2 Post by Moasseman »

Zomnibus issue - Turn off Combined lifebar in Zomnibus and issue goes away
Friendly Neighbourhood Moderator, moan at me for a teleport if ya get stuck.

mstephans
Low Yeek
Posts: 8
Joined: Thu Jul 05, 2012 6:12 am

Re: Screen flashes black. Game Locks. Upon equipping an Ego

#3 Post by mstephans »

This is what caused the problem for me as well. Thanks for figuring it out!!

smithfield
Halfling
Posts: 114
Joined: Wed May 23, 2012 1:19 am

Re: Screen flashes black. Game Locks. Upon equipping an Ego

#4 Post by smithfield »

Confirmed. Thanks muchas troll intestine buckets.

smithfield
Halfling
Posts: 114
Joined: Wed May 23, 2012 1:19 am

Re: Screen flashes black. Game Locks. Upon equipping an Ego

#5 Post by smithfield »

By the way.

Zizzo, if you learn why this is happening I would like to know. I have tried to create new surfaces and use them w/ existing ones and gotten the same bug. I was replacing the caps lock scroll message surface and I wanted to do something 'special' but chose to settle instead.

Zizzo
Sher'Tul Godslayer
Posts: 2525
Joined: Thu Jan 23, 2003 8:13 pm
Location: A shallow water area south of Bree
Contact:

Re: Screen flashes black. Game Locks. Upon equipping an Ego

#6 Post by Zizzo »

Moasseman wrote:Zomnibus issue - Turn off Combined lifebar in Zomnibus and issue goes away
Should be fixed in latest release (I hope…).
smithfield wrote:Zizzo, if you learn why this is happening I would like to know.
Well, in this case it was happening because my custom life bar drawing code was trying to use a method that didn't exist, and somehow my testing never tripped over it. :oops: Fiddling with the UI is always tricky; an error in the wrong place will bring everything down in the dreaded flickering black screen. I should probably make more extensive use of Lua's pcall() method to catch errors and try to recover more gracefully.
"Blessed are the yeeks, for they shall inherit Arda..."

smithfield
Halfling
Posts: 114
Joined: Wed May 23, 2012 1:19 am

Re: Screen flashes black. Game Locks. Upon equipping an Ego

#7 Post by smithfield »

Thank you soooo much. That's exactly the kind of info that I need.

Post Reply