The Swords of Ditto: Mormo's Curse

The Swords of Ditto: Mormo's Curse

View Stats:
Noelnya May 2, 2019 @ 9:30pm
I just bought the game and it's unplayable [Solved]
During the tutorial, as I enter the tower, the game crashes and gives me this:
___________________________________________
############################################################################################
FATAL ERROR in
action number 1
of Draw Event
for object obj_light_manager:

Can't create a surface with either a width or height of 0
############################################################################################
--------------------------------------------------------------------------------------------
called from - gml_Script_surface_create_log (line 13)
called from - gml_Object_obj_light_manager_Draw_76 (line 80)

I've been really really looking forward to this game and would greatly appreciate help so i can keep playing past the very early tutorial

Edit: Awesome, thanks devs you guys are literally the best!!
Last edited by Noelnya; May 3, 2019 @ 10:45am
< >
Showing 1-15 of 22 comments
Drigues May 2, 2019 @ 9:47pm 
Are you playing in your secondary monitor? Try to play in windowed mode
Noelnya May 2, 2019 @ 9:56pm 
Originally posted by Drigues:
Are you playing in your secondary monitor? Try to play in windowed mode

okay i'll try it!
zztfoxdev May 2, 2019 @ 10:10pm 
I had the same problem, changing to windowed fixed THAT. But now I am stuck on the first floor of the palace, even tried a new game. It acts like the door into the tower and up the tower are both exits.

Says something like "Quit dilly-dallying". To that effect.

Really love the game so far, hope someone finds a fix :(
onebitbeyond  [developer] May 2, 2019 @ 10:51pm 
onebitbeyond  [developer] May 2, 2019 @ 10:53pm 
Originally posted by zztfoxdev:
I had the same problem, changing to windowed fixed THAT. But now I am stuck on the first floor of the palace, even tried a new game. It acts like the door into the tower and up the tower are both exits.

Says something like "Quit dilly-dallying". To that effect.

Really love the game so far, hope someone finds a fix :(
This is very suspicious, but perhaps is just down to the crash. If you could also maybe follow the thread at https://steamcommunity.com/app/619780/discussions/0/1649917420738976166/ and reproduce the error in fullscreen for me, I can get this fixed and uploaded within an hour or two.
onebitbeyond  [developer] May 2, 2019 @ 11:09pm 
Here's the frustrating thing for me...

var surf_w = global.rx1-global.ss_brdr; var surf_h = min(global.rh,52*(ceil(global.view_height/52))); if ( surf_w > 0 && surf_h > 0 ) { surf_border[D_LEFT] = surface_create_log(surf_w,surf_h); }
... so the crash is where i call
surface_create_log
after specifically saying "don't do this if it's either a width or height of 0.

GameMaker Studio, it says:
Can't create a surface with either a width or height of 0

Anyway, desperate to get someone to help me with this, and once that happens it will be fixed super quick. Otherwise there will just be people piling up saying the same thing and never helping me. :P
Last edited by onebitbeyond; May 2, 2019 @ 11:11pm
onebitbeyond  [developer] May 3, 2019 @ 12:45am 
OK, i'm gonna put up an attempted fix with a bit of guesswork as to what the problem is. Should be live in an hour or so.
Drigues May 3, 2019 @ 12:55am 
This is happening to me ONLY if I drag the game to my secondary monitor and put it on fullscreen. If I make it as my main display and then run the game this doesn't happen.
Last edited by Drigues; May 3, 2019 @ 12:56am
onebitbeyond  [developer] May 3, 2019 @ 1:04am 
Are they different sized monitors? (I think I have a fix for this btw)
Drigues May 3, 2019 @ 1:07am 
Originally posted by onebitbeyond:
Are they different sized monitors? (I think I have a fix for this btw)
Yes, the second one it's a 42" TV, with bigger resolution. I'm doing your instructions from the other discussion thread, I'll e-mail the log in a minute
onebitbeyond  [developer] May 3, 2019 @ 1:07am 
Amazing, thank you.
Drigues May 3, 2019 @ 1:19am 
Originally posted by onebitbeyond:
Amazing, thank you.

The error.log only has the time I started the game, is this right?


-------------------------------------------------------
LOG START: 2019-5-3-5:16



I just created another save in the second slot just to reproduce the crash, and now the log just says this:

-------------------------------------------------------
LOG START: 2019-5-3-5:16
-------------------------------------------------------
LOG START: 2019-5-3-5:20





And the crash screen gave me this:
___________________________________________
############################################################################################
FATAL ERROR in
action number 1
of Draw Event
for object obj_light_manager:

Can't create a surface with either a width or height of 0
at gml_Script_surface_create_log
############################################################################################
--------------------------------------------------------------------------------------------
stack frame is
gml_Script_surface_create_log (line -1)
gml_Object_obj_light_manager_Draw_76
Last edited by Drigues; May 3, 2019 @ 1:27am
onebitbeyond  [developer] May 3, 2019 @ 1:31am 
Ah, seems like it hasn't written the error message I intended. I am about to upload a new fix, so if you wait a short while (and return to the default branch) you can see if i've fixed it properly or not.
onebitbeyond  [developer] May 3, 2019 @ 1:36am 
OK, fix uploaded. Could you download the debug_public branch again? I don't want to set this live on the default branch until I know it's fixed.
Drigues May 3, 2019 @ 1:41am 
Originally posted by onebitbeyond:
OK, fix uploaded. Could you download the debug_public branch again? I don't want to set this live on the default branch until I know it's fixed.

Nice dude, it's fixed!
The resolution looks weird tho. In the video options shows 1080p, but its clear that it's running in a stretched 768p (Main display resolution)
Last edited by Drigues; May 3, 2019 @ 1:47am
< >
Showing 1-15 of 22 comments
Per page: 1530 50