Submit Your Article


 
RPG Maker

Welcome Guest ( Log In | Register )


  Games Resources RPG Maker VX RPG Maker XP Scripts Tutorials Downloads

11 Pages V  « < 9 10 11  
Reply to this topicStart new topic
> Attribute System, Version 3.2.1.1 (24th August)
poke96
post Dec 25 2010, 09:36 PM
Post #201



Group Icon

Group: Member
Posts: 1
Type: None
RM Skill: Undisclosed




hey yours script is so cool.I looking for this.But when i want to use this script there are some error in line 640 "undefined menthod 'req_attribute'
for nil class" how can i solve this prob.I use many script to like KGC and WGB script is that not compatible.Maybe it's just dump question but
didn't any thing about script so help me.
Go to the top of the page
 
+Quote Post
   
QuoVadis
post Jan 5 2011, 12:42 PM
Post #202


Level 1
Group Icon

Group: Member
Posts: 13
Type: None
RM Skill: Undisclosed




Thanks for the script, it's awesome.
Also, I have a question, whenever I try to get my new attribute, I get an error in the folowing string:
CODE
  def refresh
    @item_max = @actor.attributes.keys.size
    create_contents
    for a in 0...@item_max
      draw_attribute(a)
    end
  end


To be more specific in
CODE
@item_max = @actor.attributes.keys.size


I'd like to know, what can I do to solve it, thanks a lot in advance

And then, when I change the attribute it's gonna give to my party, it gives me an error in the following sentence:
CODE
    index = @attributes.index(Attribute.new(id))

Also, if it's needed to know, I'm using the demo's version script.
Thanks in advance

This post has been edited by QuoVadis: Jan 5 2011, 02:20 PM
Go to the top of the page
 
+Quote Post
   
Kread-EX
post Jan 6 2011, 12:20 PM
Post #203


(=___=)/
Group Icon

Group: +Gold Member
Posts: 4,136
Type: Scripter
RM Skill: Undisclosed




Can I see what you did, exactly?


__________________________
FRACTURE - a SMT inspired game (demo) made by Rhyme, Karsuman and me. Weep and ragequit.

My blog.

Click here for my e-peen


Go to the top of the page
 
+Quote Post
   
QuoVadis
post Jan 6 2011, 01:00 PM
Post #204


Level 1
Group Icon

Group: Member
Posts: 13
Type: None
RM Skill: Undisclosed




Basicly, I created an item that should give me atribute [1], then used it and threw me an error, then, whenever I press the menu so I can see my attributes, give me the error in the first place
Go to the top of the page
 
+Quote Post
   
Kread-EX
post Jan 6 2011, 01:11 PM
Post #205


(=___=)/
Group Icon

Group: +Gold Member
Posts: 4,136
Type: Scripter
RM Skill: Undisclosed




Two possibilities.

1 - You made an error with the notetag. The correct syntax is this:
CODE
<teach attribute 1>

2 - The 1 you specified is an attribute that doesn't exist. You need to create it. If you only have one attribute created in your game, its number is 0 not 1.


__________________________
FRACTURE - a SMT inspired game (demo) made by Rhyme, Karsuman and me. Weep and ragequit.

My blog.

Click here for my e-peen


Go to the top of the page
 
+Quote Post
   
QuoVadis
post Jan 6 2011, 01:12 PM
Post #206


Level 1
Group Icon

Group: Member
Posts: 13
Type: None
RM Skill: Undisclosed




I see, I will try, I will post any errors, thanks a lot for all your help!


----------------Edit:
Well, I did things like you said (In case of the item error)
and I got an error, following line:
CODE
      return true if !user.attributes.include?(t)

In the following string:
CODE
  def item_effective?(user, item)
    item.start_attr_cache
    return false if item.non_usable.include?(user.class.id)
    for t in item.teach_attributes
      return true if !user.attributes.include?(t)
    end
    attr_item_effective?(user, item)
  end

  alias attr_item_effect item_effect


The screenshot is this:

This post has been edited by QuoVadis: Jan 6 2011, 01:17 PM
Attached File(s)
Attached File  error.png ( 25.95K ) Number of downloads: 6
 
Go to the top of the page
 
+Quote Post
   
Kread-EX
post Jan 7 2011, 12:22 AM
Post #207


(=___=)/
Group Icon

Group: +Gold Member
Posts: 4,136
Type: Scripter
RM Skill: Undisclosed




Yeah, it seems that the attribute you want to learn doesn't exist.


__________________________
FRACTURE - a SMT inspired game (demo) made by Rhyme, Karsuman and me. Weep and ragequit.

My blog.

Click here for my e-peen


Go to the top of the page
 
+Quote Post
   
QuoVadis
post Jan 7 2011, 07:28 AM
Post #208


Level 1
Group Icon

Group: Member
Posts: 13
Type: None
RM Skill: Undisclosed




QUOTE (Kread-EX @ Jan 7 2011, 12:22 AM) *
Yeah, it seems that the attribute you want to learn doesn't exist.

That's quite odd, since I made the attribute...

Also, I solved the other problem, but another one comes to my mind, whenever I translate the word "Attribute", it tells me that I have an error in the script, is there a way to translate it or change the attributes serction name??

-------------------------------------Edit
Ok, I have the exact scripts now and when I make an event to teach an attribute, it throws me an error in the next string:
CODE
def start_attribute(id)
    index = @attributes.index(Attribute.new(id))
    @attributes[id] = Attribute.new(id) if index.nil?
  end
  
  def remove_attribute(id)
    reset_attribute(id)
    @attributes.delete(id)
  end
  
  def reset_attribute(id)
    while @attributes[d].level > 0
      attribute_down(id)
    end
  end

To be specific:
CODE
   index = @attributes.index(Attribute.new(id))


Thanks for everything and sorry to bother, I'm making the whole game by myself and it's quite hard...
ps: the screen shot of the error is in the attached file.

This post has been edited by QuoVadis: Jan 7 2011, 08:29 AM
Attached File(s)
Attached File  error2.png ( 26.62K ) Number of downloads: 10
 
Go to the top of the page
 
+Quote Post
   
Kread-EX
post Jan 7 2011, 08:43 AM
Post #209


(=___=)/
Group Icon

Group: +Gold Member
Posts: 4,136
Type: Scripter
RM Skill: Undisclosed




Please, post a demo. That will be much easier to fix like this.


__________________________
FRACTURE - a SMT inspired game (demo) made by Rhyme, Karsuman and me. Weep and ragequit.

My blog.

Click here for my e-peen


Go to the top of the page
 
+Quote Post
   
Rexwolf
post Jan 19 2011, 12:12 PM
Post #210



Group Icon

Group: Member
Posts: 1
Type: None
RM Skill: Beginner




umm ok so i being a newbie and all does not know how to make actors get the specific element/skill in this script can you please explain?
Go to the top of the page
 
+Quote Post
   
victorinno
post Jun 21 2011, 05:44 PM
Post #211



Group Icon

Group: Member
Posts: 2
Type: None
RM Skill: Undisclosed




I´m making two extras Status in my game:
ACV and DCV, they are used to check the combat results

I´m interested in adding them to the script as new attribute bonus but i got this error:
nil can´t be coerced to aFixnum

I think the error talks about the change si had done here:
QUOTE
def start_attribute(id)
index = @attributes.index(Attribute.new(id))
@attributes[id] = Attribute.new(id) if index.nil?
end

def remove_attribute(id)
reset_attribute(id)
@attributes.delete(id)
end

def reset_attribute(id)
while @attributes[d].level > 0
attribute_down(id)
end
end

def attribute_up(id)
return if @attributes[id].level == @attributes[id].max_level
#----------------------------------------
@maxhp_plus -= @attributes[id].bonus[0]
@maxmp_plus -= @attributes[id].bonus[1]
@atk_plus -= @attributes[id].bonus[2]
@def_plus -= @attributes[id].bonus[3]
@spi_plus -= @attributes[id].bonus[4]
@agi_plus -= @attributes[id].bonus[5]
@acv_plus -= @attributes[id].bonus[6]
@dcv_plus -= @attributes[id].bonus[7]
#----------------------------------------
@attributes[id].upgrade
#----------------------------------------
@maxhp_plus += @attributes[id].bonus[0]
@maxmp_plus += @attributes[id].bonus[1]
@atk_plus += @attributes[id].bonus[2]
@def_plus += @attributes[id].bonus[3]
@spi_plus += @attributes[id].bonus[4]
@agi_plus += @attributes[id].bonus[5]
@acv_plus -= @attributes[id].bonus[6]
@dcv_plus -= @attributes[id].bonus[7]
#----------------------------------------
for skill in @attributes[id].skills
learn_skill(skill)
end
end

def attribute_down(id)
return if @attributes[id].level == 0
#----------------------------------------
@maxhp_plus -= @attributes[id].bonus[0]
@maxmp_plus -= @attributes[id].bonus[1]
@atk_plus -= @attributes[id].bonus[2]
@def_plus -= @attributes[id].bonus[3]
@spi_plus -= @attributes[id].bonus[4]
@agi_plus -= @attributes[id].bonus[5]
@acv_plus -= @attributes[id].bonus[6]
@dcv_plus -= @attributes[id].bonus[7]
#----------------------------------------
for skill in @attributes[id].skills
forget_skill(skill)
end
@attributes[id].downgrade
#----------------------------------------
@maxhp_plus += @attributes[id].bonus[0]
@maxmp_plus += @attributes[id].bonus[1]
@atk_plus += @attributes[id].bonus[2]
@def_plus += @attributes[id].bonus[3]
@spi_plus += @attributes[id].bonus[4]
@agi_plus += @attributes[id].bonus[5]
@acv_plus -= @attributes[id].bonus[6]
@dcv_plus -= @attributes[id].bonus[7]
#----------------------------------------
end


They allawya indicate the @acv.

Someone can help me?

This post has been edited by victorinno: Jun 21 2011, 05:44 PM
Go to the top of the page
 
+Quote Post
   
victorinno
post Jun 21 2011, 05:50 PM
Post #212



Group Icon

Group: Member
Posts: 2
Type: None
RM Skill: Undisclosed




Sorry for teh spam

This post has been edited by victorinno: Jun 22 2011, 07:34 AM
Go to the top of the page
 
+Quote Post
   
DoctorTodd
post Jul 14 2011, 09:48 PM
Post #213


Level 2
Group Icon

Group: Member
Posts: 19
Type: Developer
RM Skill: Advanced




I get an error on 643 when trying to change classes.
Go to the top of the page
 
+Quote Post
   
darkangel034
post Aug 18 2011, 03:41 PM
Post #214



Group Icon

Group: Member
Posts: 1
Type: Writer
RM Skill: Beginner




ok noob question but how do u different attributes for different characters....do i use one script for each one?
Go to the top of the page
 
+Quote Post
   
Lil Jbm
post Feb 6 2012, 04:35 PM
Post #215



Group Icon

Group: Member
Posts: 1
Type: Developer
RM Skill: Intermediate




I don't understand this script at all. I really want it but just can't seem to open the screen. I can't open it from menu to look at my attributes, and I can't seem to find out how to activate it with an even call script. I mean there really should be an actual tutorial in the script or on the forum post telling you how to do this. And if there is in the script, what line should I look at?
Go to the top of the page
 
+Quote Post
   
maniak2221
post Feb 26 2012, 10:17 AM
Post #216



Group Icon

Group: Member
Posts: 2
Type: None
RM Skill: Undisclosed




how do I access the attribute screen? My character levels up and nothing happens....-_-
Go to the top of the page
 
+Quote Post
   

11 Pages V  « < 9 10 11
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: 22nd May 2013 - 05:51 AM
RPG RPG Revolution is an Privacy Policy and Legal
eXTReMe Tracker