[1.9] can't use screenshot when Maryo dies

Reports that are not bugs or happen because of a misconfiguration.

Moderators: SMC Team, MVP

[1.9] can't use screenshot when Maryo dies

Postby Crabmaster » 08 Nov 2009 01:23

This can get in the whey when you need screen shot to prove your score on a level that you die on. :(
Last edited by BowserJr on 08 Nov 2009 20:58, edited 1 time in total.
Reason: Change title
Feeling nostalgic for this ol' place!
User avatar
Crabmaster
SMC Team
SMC Team
 
Posts: 1688
Joined: 05 Sep 2009 00:18
Location: CrabWorld

Re: can't use screenshot when Maryo dies

Postby Guest_xD » 08 Nov 2009 10:32

Crabmaster wrote:This can get in the whey when you need screen shot to prove your score on a level that you die on. :(


Ill fix it now :D
...
User avatar
Guest_xD
Turtle boss
Turtle boss
 
Posts: 988
Joined: 23 Nov 2008 18:01
Location: Asdfdorf

Re: can't use screenshot when Maryo dies

Postby Crabmaster » 08 Nov 2009 13:52

Thanks.
Ya its hard to prove myself on your level hardspeed when this happens. :mrgreen:
Feeling nostalgic for this ol' place!
User avatar
Crabmaster
SMC Team
SMC Team
 
Posts: 1688
Joined: 05 Sep 2009 00:18
Location: CrabWorld

Re: can't use screenshot when Maryo dies

Postby mrvertigo27 » 08 Nov 2009 20:10

i noticed this with crabmasters level posted yesterday
I'm A YouTube Gaming Commentator https://www.youtube.com/user/Spitfire25565
User avatar
mrvertigo27
SMC Team
SMC Team
 
Posts: 2316
Joined: 20 Aug 2009 16:10
Location: the state of insanity

Re: [1.9] can't use screenshot when Maryo dies

Postby Guest_xD » 08 Nov 2009 22:23

Just cant find the right code to edit.

But I guess a messy solution is better then no solution, so well, I will do it a little messy :D

Best regards
...
User avatar
Guest_xD
Turtle boss
Turtle boss
 
Posts: 988
Joined: 23 Nov 2008 18:01
Location: Asdfdorf

Re: [1.9] can't use screenshot when Maryo dies

Postby Crabmaster » 14 Feb 2010 23:11

So is anyone going to fix this. :evil:
Feeling nostalgic for this ol' place!
User avatar
Crabmaster
SMC Team
SMC Team
 
Posts: 1688
Joined: 05 Sep 2009 00:18
Location: CrabWorld

Re: [1.9] can't use screenshot when Maryo dies

Postby Luiji » 14 Feb 2010 23:44

If screenshots do not work when Maryo dies, then I have no idea how computers work. The screen shot system and SMC are two completely different chunks of software. Screenshots interact with the Windows user interface or the X Window System on Linux in order to get the current pixel content of the screen, while SDL (the graphics library used by SMC) simply writes pixels to the screen. The event you are most likely incountering is that the death sequence is taking up all of your processing time and the screenshot command is not executed until after the processor is freed. Thus, the only thing you can do is either A) decrease the amount of processing time taken up by SMC during the death sequence or B) find a better operating system that will let screenshots take precedence (I am not sure if there are any).
Custom Built IBM-Compatible (Arch Linux w/ KDE)
Dell Vostro (Windows 7)
Dell Inspiron 1440 (Windows Server 2003, Debian w/ KDE)
Dell Inspiron 11z (Linux Mint)
Luiji
MVP
MVP
 
Posts: 2703
Joined: 14 Jan 2010 23:20
Location: The Mushroom Kyngdom

Re: [1.9] can't use screenshot when Maryo dies

Postby BowserJr » 15 Feb 2010 00:42

^The OS print screen function is overridden with an internal function to create a file in ~/.smc/screenshots. If this function isn't called, print screen won't work. ;)
"Plants need to have water poured on them because they have no hands to hold glasses of water."
User avatar
BowserJr
SMC Team
SMC Team
 
Posts: 1543
Joined: 05 Feb 2007 14:07
Location: London, UK

Re: [1.9] can't use screenshot when Maryo dies

Postby FluXy » 15 Feb 2010 01:53

Fixed again in SVN 1640 :)
If i didn't read your post but it was important you can send me a PM.
Any Donation will help this project!
User avatar
FluXy
Admin
Admin
 
Posts: 2858
Joined: 04 May 2004 19:44
Location: Germany

Re: [1.9] can't use screenshot when Maryo dies

Postby Luiji » 15 Feb 2010 02:52

BowserJr wrote:^The OS print screen function is overridden with an internal function to create a file in ~/.smc/screenshots. If this function isn't called, print screen won't work. ;)

That's really interesting.
Custom Built IBM-Compatible (Arch Linux w/ KDE)
Dell Vostro (Windows 7)
Dell Inspiron 1440 (Windows Server 2003, Debian w/ KDE)
Dell Inspiron 11z (Linux Mint)
Luiji
MVP
MVP
 
Posts: 2703
Joined: 14 Jan 2010 23:20
Location: The Mushroom Kyngdom

Re: [1.9] can't use screenshot when Maryo dies

Postby Crabmaster » 15 Feb 2010 03:03

Thank you fluxy.(No my level desert smash can be used) :star: :star: :star:
Feeling nostalgic for this ol' place!
User avatar
Crabmaster
SMC Team
SMC Team
 
Posts: 1688
Joined: 05 Sep 2009 00:18
Location: CrabWorld


Return to Invalid

Who is online

Users browsing this forum: No registered users and 1 guest

cron