Obsession 3 Report post Posted August 31, 2009 Hate to sound like an unintellegent fiend, but how can I call this script? Share this post Link to post Share on other sites
Polraudio 122 Report post Posted August 31, 2009 Just like this. Here ya go :D $scene = Scene_Craft.new 1 Obsession reacted to this Share this post Link to post Share on other sites
Obsession 3 Report post Posted August 31, 2009 Just like this. Here ya go :D $scene = Scene_Craft.new Ah I had that but I get this error: This is line 309 in the script and this is what I've edited: I added a long sword [iD 36] that was going to be made from 2 short swords [weapon] and 5 rusty blades [item] Could what i have written be wrong? Share this post Link to post Share on other sites
Polraudio 122 Report post Posted August 31, 2009 I see. Take every line that says font type and font size and put a # before it. You will need to do it to the whole line. Share this post Link to post Share on other sites
Ramenuzumaki 0 Report post Posted November 25, 2010 (edited) I'm having a slight problem with this script. I am just now testing it, but I've had it for a while. I have finally made the ingredients to make my first crafting item! The item requires one body armour and two bronze bars. I have the items set properly, and have the script set up properly to my knowledge. However, when I try to craft my new armour piece i get this error: --------------------------- Æsir --------------------------- Script ' Leon's Crafting System' line 491: TypeError occurred. no implicit conversion from nil to integer --------------------------- OK --------------------------- that line is: self.contents.font.size = $defaultfontsize any ideas? D: I really was hoping to have a crafting script in my game :( EDIT: I just reread the post two posts above this and I think i have the same problem... EDIT2: I ended up breaking it more XD Edited November 25, 2010 by Ramenuzumaki Share this post Link to post Share on other sites
Arkbennett 16 Report post Posted November 25, 2010 It's been a long while, so I forgot what caused that error. I think it is a difference between versions (Judging from when Leon posted this). Any line in the program that says: self.contents.font.size = $defaultfontsize or self.contents.font.name = $defaultfonttype Put a number sign (#) in front of it, it should turn the line green. Share this post Link to post Share on other sites
Ramenuzumaki 0 Report post Posted November 25, 2010 ah i read the post wrong XD i replaced "$" with "#" then i read your post just now and was like "doh before the WHOLE line!" XD that fixed it and it looks fine :3 dankedanke this is a really amazing script. with some help from Marked i can call it with W :3 Share this post Link to post Share on other sites
Black0Seraph 0 Report post Posted December 21, 2013 I have a problem with this script It maybe easy to fix but I don't know Here is the Error Script 'Leon's Crafting System' line 118: Name Error occurred undefined method `gain_weapon' for class `Game_Party' Share this post Link to post Share on other sites
Saltome 16 Report post Posted May 11, 2014 Heard that there is a problem with scrolling, and in deed there is. In the script find this piece of code, should be from line 419 to 427 or so. def update_cursor_rect if @index < 0 self.cursor_rect.empty else x = 0 y = index * 32 + 32 self.cursor_rect.set(x, y, (self.width - 32), 32) end end Then replace it with this code: def update_cursor_rect # If cursor position is less than 0 if @index < 0 self.cursor_rect.empty return end # Get current row row = @index / @column_max # If current row is before top row if row < self.top_row # Scroll so that current row becomes top row self.top_row = row end # If current row is more to back than back row if row > self.top_row + (self.page_row_max - 2) # Scroll so that current row becomes back row self.top_row = row - (self.page_row_max - 2) end # Calculate cursor width cursor_width = self.width / @column_max - 32 # Calculate cursor coordinates x = @index % @column_max * (cursor_width + 32) y = @index / @column_max * 32 - self.oy # Update cursor rectangle self.cursor_rect.set(x, y+32, cursor_width, 32) end Share this post Link to post Share on other sites
Marked 197 Report post Posted May 15, 2014 I'm wondering why this topic doesn't redirect to the scripts archive page... eh, that's a failure too. Nice work though, Salty. Share this post Link to post Share on other sites
Naney 0 Report post Posted August 27, 2014 (edited) Polradio where i have to put this code or what ever to open the Crafting script Edited August 29, 2014 by Naney Share this post Link to post Share on other sites
Polraudio 122 Report post Posted August 27, 2014 Paulradio where i have to put this code or what ever to open the Crafting script You need to put it in a call script in your event. Its here and should look like this when done. Share this post Link to post Share on other sites
Naney 0 Report post Posted August 28, 2014 Ok thanks Share this post Link to post Share on other sites
Naney 0 Report post Posted August 28, 2014 sorry another question i made it like you said but the Event told me this: " Unable to find file Graphics/Picture/Title Pic." Share this post Link to post Share on other sites
Polraudio 122 Report post Posted August 28, 2014 That means you dont have that picture in that location. in your graphics/picture folder put the file its requesting. you can just take any old picture and just rename it to what its requesting as long as its in that folder. It looks like its looking for "Title Pic" without quotes. Share this post Link to post Share on other sites