RMRK is retiring.
Registration is disabled. The site will remain online, but eventually become a read-only archive. More information.

RMRK.net has nothing to do with Blockchains, Cryptocurrency or NFTs. We have been around since the early 2000s, but there is a new group using the RMRK name that deals with those things. We have nothing to do with them.
NFTs are a scam, and if somebody is trying to persuade you to buy or invest in crypto/blockchain/NFT content, please turn them down and save your money. See this video for more information.
Letter by Letter Message Window

0 Members and 1 Guest are viewing this topic.

****
When the dawn breaks...
Rep:
Level 88
...tonight will be just another memory.
Again, thanks that worked. But now I may actually kill this script...

Quote
????? 'AMS' ? 172 ??? NoMethodError ???????

undifined method 'sound_enable' for nil:NilClass

lol... refers to this part of the script...

Code: [Select]
@fit_size, @sound = false, system.sound_enable

Thanks once more to anyone that can help...

********
EXA
Rep:
Level 92
Pikachu on a toilet
Project of the Month winner for April 2007
Most probably there will be even more errors. Change the line to

Code: [Select]
@fit_size, @sound = false, system == nil ? true : system.sound_enable
Get King of Booze for Android, for iOS, for OUYA or for Windows!
Visit our website.
You can also love/hate us on Facebook or the game itself.


Get DropBox, the best free file syncing service there is!

pokeball :)OfflineMale
********
Cheese
Rep:
Level 95
?
Man, I gota check this out.
Watch out for: HaloOfTheSun

****
When the dawn breaks...
Rep:
Level 88
...tonight will be just another memory.
Quote
Most probably there will be even more errors.
Hey, you guessed it. What you said worked but...

'fit' for nil:NilClass again...

Code: [Select]
if @fit_size = (event || system.fit)
  lines_size = [0, 0, 0, 0]
  save, lines = @text.clone, 0
  while (c = @text.slice!(/./m))
if c == "\n"
  lines += 1
  break if lines == 4
  if lines >= $game_temp.choice_start
lines_size[lines] += 16
  end
  next
end
lines_size[lines] += eval_text(c, true)
  end
end

Can someone just revamp this script or point me in the dirrection of a better one? lol

********
EXA
Rep:
Level 92
Pikachu on a toilet
Project of the Month winner for April 2007
Change the

Code: [Select]
if @fit_size = (event || system.fit)

to

Code: [Select]
if @fit_size = (event || (system == nil ? event : system.fit))
Get King of Booze for Android, for iOS, for OUYA or for Windows!
Visit our website.
You can also love/hate us on Facebook or the game itself.


Get DropBox, the best free file syncing service there is!

****
When the dawn breaks...
Rep:
Level 88
...tonight will be just another memory.
I dont want to say it...

Quote
'nbyo' for nil:NilClass

this time...

and the part of te script is...

Code: [Select]
  @name_box = Window_NameBox.new(x, y - system.nbyo, name_text)
  @name_box.back.opacity = 0 if $game_system.message_frame == 1

Hmmm... Thanks again Blizzard lol, truely you are the scripter people can only dream of becoming.

********
EXA
Rep:
Level 92
Pikachu on a toilet
Project of the Month winner for April 2007
Lol, thanks.

Change

Code: [Select]
@name_box = Window_NameBox.new(x, y - system.nbyo, name_text)

to

Code: [Select]
@name_box = Window_NameBox.new(x, y - system == nil ? 0 : system.nbyo, name_text)
Get King of Booze for Android, for iOS, for OUYA or for Windows!
Visit our website.
You can also love/hate us on Facebook or the game itself.


Get DropBox, the best free file syncing service there is!

****
When the dawn breaks...
Rep:
Level 88
...tonight will be just another memory.
*Actually Dies because of this script...*

Here we go...

Quote
nil can't be coerced into Fixnum
TypeError - at least its slight different problem this time...

the script part is...

Code: [Select]
@name_box = Window_NameBox.new(x, y - system == nil ? 0 : system.nbyo, name_text)
@name_box.back.opacity = 0 if $game_system.message_frame == 1

Looks like the bit you changed. Oh, it is. Hmmm, any help appreciated as always. By the end of this i'll be a expert at scripting! lol!

********
EXA
Rep:
Level 92
Pikachu on a toilet
Project of the Month winner for April 2007
My bad, should be:

Code: [Select]
@name_box = Window_NameBox.new(x, y - (system == nil ? 0 : system.nbyo), name_text)
Get King of Booze for Android, for iOS, for OUYA or for Windows!
Visit our website.
You can also love/hate us on Facebook or the game itself.


Get DropBox, the best free file syncing service there is!

pokeball :)OfflineMale
********
Cheese
Rep:
Level 95
?
dosen't this belong in script database?  :o
Watch out for: HaloOfTheSun

****
When the dawn breaks...
Rep:
Level 88
...tonight will be just another memory.
No, it belongs in the trash ._. lol...

Font again...

Code: [Select]
dumb.font.name = system.font
(Almost at the end of the script with this error; could be the last one!)

Thanks to any help...

********
EXA
Rep:
Level 92
Pikachu on a toilet
Project of the Month winner for April 2007
Code: [Select]
dumb.font.name = (system == nil ? Font.default_name : system.font)
Get King of Booze for Android, for iOS, for OUYA or for Windows!
Visit our website.
You can also love/hate us on Facebook or the game itself.


Get DropBox, the best free file syncing service there is!

****
When the dawn breaks...
Rep:
Level 88
...tonight will be just another memory.
...

Quote
'nb_skin' for nil:NilClass

...

Code: [Select]
skin = system.nb_skin ? system.nb_skin : $game_system.windowskin_name
@back.windowskin = RPG::Cache.windowskin(skin)

...
Thanks again...

********
EXA
Rep:
Level 92
Pikachu on a toilet
Project of the Month winner for April 2007
Code: [Select]
skin = (system == nil ? $game_system.windowskin_name : (system.nb_skin ? system.nb_skin : $game_system.windowskin_name))
Get King of Booze for Android, for iOS, for OUYA or for Windows!
Visit our website.
You can also love/hate us on Facebook or the game itself.


Get DropBox, the best free file syncing service there is!

****
When the dawn breaks...
Rep:
Level 88
...tonight will be just another memory.
Code: [Select]
skin = (system == nil ? $game_system.windowskin_name : (system.nb_skin ? system.nb_skin : $game_system.windowskin_name))


Ok, thanks! Let's see what happens next...

Its the font for nil:NilClass again...

heres the script part...

Code: [Select]
bitmap.font.name = system.font

Hmmm...

Changed it to

Code: [Select]
bitmap.font.name = system == nil ? Font.default_name : system.font

And it...

IT WORKED! lol... but...

Quote
'outline' for nil:NilClass
(Back at line 376  :'()

and the script is...

Code: [Select]
if system.outline
  color = contents.font.color.dup
  contents.font.color.set(0, 0, 0, 255)
  contents.draw_text(@x + @start_x + 1, y, w * 2, system.height, c)
  contents.draw_text(@x + @start_x, y + 1, w * 2, system.height, c)
  contents.draw_text(@x + @start_x - 1, y, w * 2, system.height, c)
  contents.draw_text(@x + @start_x, y - 1, w * 2, system.height, c)
  contents.font.color = color
  contents.draw_text(@x + @start_x, y, w * 2, system.height, c)
elsif system.shadow
  color = contents.font.color.dup
  contents.font.color.set(0, 0, 0, 192)
  contents.draw_text(@x + @start_x + 2, y + 2, w * 2, system.height, c)
  contents.font.color = color
  contents.draw_text(@x + @start_x, y, w * 2, system.height, c)
else
  contents.draw_text(@x + @start_x, y, w * 2, system.height, c)
end
The first line of that is the one it says, but I put the rest there as its connected (In some way or another... I can just see by the spacing of it...)

Thanks again ~

Regards,
Darico



********
EXA
Rep:
Level 92
Pikachu on a toilet
Project of the Month winner for April 2007
Code: [Select]
if system != nil and system.outline
...
elsif system != nil and system.shadow
...
Change all the

Code: [Select]
system.height

to

Code: [Select]
(system == nil ? 374 : system.height)
Get King of Booze for Android, for iOS, for OUYA or for Windows!
Visit our website.
You can also love/hate us on Facebook or the game itself.


Get DropBox, the best free file syncing service there is!

****
When the dawn breaks...
Rep:
Level 88
...tonight will be just another memory.
Quote
'outline' for nil:NilClass

 :'(

Bit we just edited -

Code: [Select]
if system.outline
  color = contents.font.color.dup
  contents.font.color.set(0, 0, 0, 255)
  contents.draw_text(@x + @start_x + 1, y, w * 2, (system == nil ? 374 : system.height), c)
  contents.draw_text(@x + @start_x, y + 1, w * 2, (system == nil ? 374 : system.height), c)
  contents.draw_text(@x + @start_x - 1, y, w * 2, (system == nil ? 374 : system.height), c)
  contents.draw_text(@x + @start_x, y - 1, w * 2, (system == nil ? 374 : system.height), c)
  contents.font.color = color
  contents.draw_text(@x + @start_x, y, w * 2, (system == nil ? 374 : system.height), c)
elsif system.shadow
  color = contents.font.color.dup
  contents.font.color.set(0, 0, 0, 192)
  contents.draw_text(@x + @start_x + 2, y + 2, w * 2, (system == nil ? 374 : system.height), c)
  contents.font.color = color
  contents.draw_text(@x + @start_x, y, w * 2, (system == nil ? 374 : system.height), c)
else
  contents.draw_text(@x + @start_x, y, w * 2, (system == nil ? 374 : system.height), c)
end

.....................................

********
EXA
Rep:
Level 92
Pikachu on a toilet
Project of the Month winner for April 2007
But you forgot:

Code: [Select]
if system != nil and system.outline
...
elsif system != nil and system.shadow
...
Get King of Booze for Android, for iOS, for OUYA or for Windows!
Visit our website.
You can also love/hate us on Facebook or the game itself.


Get DropBox, the best free file syncing service there is!

****
When the dawn breaks...
Rep:
Level 88
...tonight will be just another memory.
Oppsie... lol ; ;

Well, another problem (Who would of guessed?!)

Quote
'sound_enable' for nil:NilClass

and the script...

Code: [Select]
@sound = (system.sound_enable && c != ' ')
@x += w

I'm getting ever so slightly pissed off by this script... Maybe someone should just make another one? lol ; ;

********
EXA
Rep:
Level 92
Pikachu on a toilet
Project of the Month winner for April 2007
Lol, it ain't that easy. (Actually it is, I made something similar the other day !_! )

Code: [Select]
@sound = ((system == nil ? true : system.sound_enable) && c != ' ')

You know... I am not sure if it's really a good idea to change all of that... You won't be able to change the properties of the AMS most probably. O_o Have you tried it with a new game or save game by chance?
Get King of Booze for Android, for iOS, for OUYA or for Windows!
Visit our website.
You can also love/hate us on Facebook or the game itself.


Get DropBox, the best free file syncing service there is!

****
When the dawn breaks...
Rep:
Level 88
...tonight will be just another memory.
Ill get back to you in 10min... If my save files are corrupted.... >< *Gets knife out*

********
EXA
Rep:
Level 92
Pikachu on a toilet
Project of the Month winner for April 2007
I can make your a little add-on that makes them compatible with they Letter-by-Letter script if the really are. ;)
Get King of Booze for Android, for iOS, for OUYA or for Windows!
Visit our website.
You can also love/hate us on Facebook or the game itself.


Get DropBox, the best free file syncing service there is!

****
When the dawn breaks...
Rep:
Level 88
...tonight will be just another memory.
Yep, the it was the save files after all that lmao! luckly the script still works! I just played to the bit I was having problems with and it works fine! *Uses the save point in the area and deletes old saves*

So.. Umm... Thanks for all the help Blizzard!(rep up!)^^ Maybe you should check out my demo?  :P

Regards,
Darico

********
EXA
Rep:
Level 92
Pikachu on a toilet
Project of the Month winner for April 2007
If I ever find the time, sure. I still haven't played through Yossy's game... (-_-')
I should now delete these pointless posts and... no wait, 100k border. :=
Get King of Booze for Android, for iOS, for OUYA or for Windows!
Visit our website.
You can also love/hate us on Facebook or the game itself.


Get DropBox, the best free file syncing service there is!

****
When the dawn breaks...
Rep:
Level 88
...tonight will be just another memory.
One more thing... how do you speed up the letter by letter thing? Or can you not? If you can't how do I turn it off?