Submit Your Article


 
RPG Maker

Welcome Guest ( Log In | Register )


  Games Resources RPG Maker VX RPG Maker XP Scripts Tutorials Downloads

 
Reply to this topicStart new topic
> SBS Tankentai & Material System
Haku
post May 24 2011, 08:38 AM
Post #1


Level 11
Group Icon

Group: Revolutionary
Posts: 187
Type: Scripter
RM Skill: Advanced




Hello guys =)
I have a problem =) I just can not solve ^^'
Using the Battle System Tankentai, but as soon as I enter the Material System of SephirothSpawn, it gives me error at line 73.
Can you help me out?

Try the demo:
http://www.mediafire.com/download.php?jfi814i9d22fxi4

I hope to receive aid because it is a script that I use in my project ^^

Thank you all for your attention and for the answers wink.gif
Go to the top of the page
 
+Quote Post
   
Dilettante
post May 25 2011, 09:45 PM
Post #2



Group Icon

Group: Member
Posts: 3
Type: Artist
RM Skill: Beginner




Um, hi smile.gif

I think the problem is you haven't filled out the WEAPON_MATERIA_SLOTS for all your weapons.

In your database, you have 42 weapons, and 32 armors, but in the Materia System script, between lines 194 - 214:
CODE
    WEAPON_MATERIA_SLOTS = {
      1 => [1, 1], 2 => [1, 2], 3 => [2, 2], 4 => [4, 0],
      5 => [1, 1], 6 => [1, 2], 7 => [2, 2], 8 => [4, 0],
      9 => [1, 1], 10 => [1, 2], 11 => [2, 2], 12 => [4, 0],
      13 => [1, 1], 14 => [1, 2], 15 => [2, 2], 16 => [4, 0],
      17 => [1, 1], 18 => [1, 2], 19 => [2, 2], 20 => [4, 0],
      21 => [1, 1], 22 => [1, 2], 23 => [2, 2], 24 => [4, 0],
      25 => [1, 1], 26 => [1, 2], 27 => [2, 2], 28 => [4, 0],
      29 => [1, 1], 30 => [1, 2], 31 => [2, 2], 32 => [4, 0]
      }
  # ~ Armors Materia Slots
    ARMORS_MATERIA_SLOTS = {
      1 => [1, 1], 2 => [1, 2], 3 => [2, 2], 4 => [4, 0],
      5 => [1, 1], 6 => [1, 2], 7 => [2, 2], 8 => [4, 0],
      9 => [1, 1], 10 => [1, 2], 11 => [2, 2], 12 => [4, 0],
      13 => [1, 1], 14 => [1, 2], 15 => [2, 2], 16 => [4, 0],
      17 => [1, 1], 18 => [1, 2], 19 => [2, 2], 20 => [4, 0],
      21 => [1, 1], 22 => [1, 2], 23 => [2, 2], 24 => [4, 0],
      25 => [1, 1], 26 => [1, 2], 27 => [2, 2], 28 => [4, 0],
      29 => [1, 1], 30 => [1, 2], 31 => [2, 2], 32 => [4, 0]
      }


You have all 32 armors defined, but for the weapons you only have 32 defined compared to your 42 in the database.

If you filled out the rest of the Materia's for the weapons to have the:
CODE
weapon_id => [paired_materia_id, single_materia_id]
e.g. 33 => [1, 1],
Then it should work again.
Oh, and um, the materia's are setup between lines 219 - 321, the first input to the Materia.new is the materia ID you need to put in the above code.

This post has been edited by Dilettante: May 25 2011, 09:53 PM
Go to the top of the page
 
+Quote Post
   

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Lo-Fi Version Time is now: 25th May 2013 - 04:07 PM
RPG RPG Revolution is an Privacy Policy and Legal
eXTReMe Tracker