Factory Demo error

Rose Guardian

Veteran
Veteran
Joined
Mar 26, 2012
Messages
395
Reaction score
84
First Language
English
Primarily Uses
N/A
I don't know if this error was reported but there is an error with the Factory Demo when I go to end game.

This is the error:

Error.png

Is there any way I can fix this all I know is it has something to d with Lunatic Backgrounds.
 

Revanne

Villager
Member
Joined
Oct 29, 2014
Messages
8
Reaction score
0
First Language
French
Primarily Uses
Up here :)

I purchased the Luna Engine, very nice for custom the skin, but i have the same problem with Factory (i love him !).

If i quit by the menu in game i have this :



Is there a new version of Lunatic Background for this problem ?

this is annoying for a paid engine.
 

Archeia

Level 99 Demi-fiend
Developer
Joined
Mar 1, 2012
Messages
15,141
Reaction score
15,473
First Language
Filipino
Primarily Uses
RMMZ
Hey everyone, this was not ignored and I was trying to figure out why it was erroring. Thanks Neonblack for the solution! On Line 418, replace def create_background with this version:

  def create_background    super     if @background_sprite.is_a?(Array)      for sprite in @background_sprite        sprite.tone.set(0, 0, 0, 128)      end    else      @background_sprite.tone.set(0, 0, 0, 128) if @background_sprite    end  endEDIT:As it turns out it was already fixed by Yami a long time ago and we forgot about it. In the Complete Script List, just copy the very end code, this one specifically.

#-------------------------------------------------------------------------- # overwrite method: create_background #-------------------------------------------------------------------------- def create_background super return unless @background_sprite if @background_sprite.is_a?(Sprite) @background_sprite.tone.set(0, 0, 0, 128) end if @background_sprite.is_a?(Array) @background_sprite.each do |sprite| if sprite.is_a?(Array) sprite.each do |s| s.tone.set(0, 0, 0, 128) end else sprite.tone.set(0, 0, 0, 128) end end end endAlso btw Revanne,
this is annoying for a paid engine.
As is with all software and code there are of course bound to be errors. We have worked tirelessly and will continue to do so to fix them, but please understand that we do not offer this product with a 100% guarateed that there will no bugs in the code. We do, however, promise to fix any bugs or problems as they reported to us.
 
Last edited by a moderator:

Candacis

Pixel Pusher
Restaff
Joined
May 2, 2012
Messages
1,652
Reaction score
2,549
First Language
German
Primarily Uses
I found this code under Lunatic Backgrounds, but where in the demo exactly should I insert it? As a new script at the bottom of the other scripts?
 

Revanne

Villager
Member
Joined
Oct 29, 2014
Messages
8
Reaction score
0
First Language
French
Primarily Uses
As is with all software and code there are of course bound to be errors. We have worked tirelessly and will continue to do so to fix them, but please understand that we do not offer this product with a 100% guarateed that there will no bugs in the code. We do, however, promise to fix any bugs or problems as they reported to us.
Sorry Archeia, I did not want to be sarcastic, but I struggled to find remedies to this problem.

Thank you for your quick response.

But the two codes do not work, apply directly on factory for the test.

The first :





Second :

 

Archeia

Level 99 Demi-fiend
Developer
Joined
Mar 1, 2012
Messages
15,141
Reaction score
15,473
First Language
Filipino
Primarily Uses
RMMZ
replace def create_background with any of those two code. Don't use both!


Reference the other demo's lunatic backgrounds for clarification.
 

Revanne

Villager
Member
Joined
Oct 29, 2014
Messages
8
Reaction score
0
First Language
French
Primarily Uses
i don't test with both :D

first error for first code, and second error for second code...

Not in same time.
 

Archeia

Level 99 Demi-fiend
Developer
Joined
Mar 1, 2012
Messages
15,141
Reaction score
15,473
First Language
Filipino
Primarily Uses
RMMZ
From what I can saw from your screenshot you erased the last end. Again, I tested it in here and it works fine, so it's the way you're applying it. Just open complete script list and check how the fix was applied.




I found this code under Lunatic Backgrounds, but where in the demo exactly should I insert it? As a new script at the bottom of the other scripts?
 
On Line 418, replace def create_background with this version:
 
Last edited by a moderator:

Revanne

Villager
Member
Joined
Oct 29, 2014
Messages
8
Reaction score
0
First Language
French
Primarily Uses
Good !
indeed missing the last end, now it's perfect.

Thank you :)

I have another question but not in this thread.
 

Rose Guardian

Veteran
Veteran
Joined
Mar 26, 2012
Messages
395
Reaction score
84
First Language
English
Primarily Uses
N/A
Thank you and sorry for the late reply. It works now. :)
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??

Forum statistics

Threads
105,867
Messages
1,017,061
Members
137,575
Latest member
akekaphol101
Top