I've just started learning ruby and have run into many problems but I really dont know what a certain error message means. I don't know what im doing I just basicly copy and paste other codes together and do a bit on my own so if u could tell me how to fix my CMS I would be very gratful.
Link to game download.
Error Message Picture
http://i1.tinypic.com/2074ayf.png[/IMG]
Thank You!
*Edit
Here is the section of code near line 1840.
# Make Window Farm Stats
@farmstat_window = Window_Status2.new
@farmstat_window.x = 160
@farmstat_window.y = 0
and here is Window_Status2
Link to game download.
Error Message Picture
http://i1.tinypic.com/2074ayf.png[/IMG]
Thank You!
*Edit
Here is the section of code near line 1840.
# Make Window Farm Stats
@farmstat_window = Window_Status2.new
@farmstat_window.x = 160
@farmstat_window.y = 0
and here is Window_Status2
Code:
class Window_Status2 < Window_Base
def initialize
super(170, 5, 300, 345)
self.contents = Bitmap.new(width - 32, height - 32)
self.contents.font.name = $defaultfonttype
self.contents.font.size = 18
@actor = actor
refresh
end
#--------------------------------------------------------------------------
def refresh
self.contents.clear
draw_actor_parameter(@actor, 4, 50, 0)
draw_actor_parameter(@actor, 4, 67, 1)
draw_actor_parameter(@actor, 4, 84, 2)
draw_actor_parameter(@actor, 4, 101, 3)
draw_actor_parameter(@actor, 4, 118, 4)
draw_actor_parameter(@actor, 4, 135, 5)
draw_actor_parameter(@actor, 4, 152, 6)
self.contents.font.color = system_color
self.contents.draw_text(4, 182, 96, 32, "Equipment:")
self.contents.font.size = 13
draw_item_name($data_weapons[@actor.weapon_id], 4, 212 + 3)
draw_item_name($data_armors[@actor.armor2_id], 4, 247)
draw_item_name($data_armors[@actor.armor4_id], 4, 282 - 3)
draw_item_name($data_armors[@actor.armor1_id], 134 + 15, 212 + 3)
draw_item_name($data_armors[@actor.armor3_id], 134 + 15, 247)
end
end
#----------------------------------------------------------------------------
def refresh
self.contents.clear
actor = $game_party.actors[0]
draw_actor_battler(actor, 60, 180)
end