Main Menu
  • Welcome to The RPG Maker Resource Kit.

[VX] Item quantity to variable NoMethodError

Started by fthmdg, September 18, 2010, 01:25:33 AM

0 Members and 1 Guest are viewing this topic.

fthmdg

I'm doing a check within an event to make sure the player has enough ore.

Here's how it's set up[spoiler]
QuoteConditional Branch: [Test Ore] in Inventory
  Control Variables: [0001:Temp] = [Test Ore] in Inventory

  Conditional Branch: Variable [0001:Temp] >=3
     #Does some stuff

  Else
     #Does some other stuff

  Branch End

Else
#Does some other stuff

Branch End

*All the comments are just messages and things like that.  Nothing that effects the variables or anything involved.[/spoiler]

I'm getting that error on line 750 of Game_Interpreter , which reads

"      actor = $game_actors[@parameters[1]]"

I have not modified that script in any way, so I'm not sure why it's pulling that error. Although I am using a good number of scripts, I haven't had any compatibility issues thus far.

Here's a list of my added scripts.
[spoiler]PR ABS [Addons:PR Hud, PR Damage_System, PR LeftHand, PR Many Items, PR AMS] [PR Coders]
Equipment Restraints [Modern Algebra]
Thomas Edison VX [BulletXt]
Jets Alignment & Time systems [Jet]
Neo Save System V [Neo]
Ring Menu [XRXS, Dubealex, & Hypershadow180]
Level Effects [Redyugi]
Item Quality [Leongon][/spoiler]


Any ideas what could cause this, or how I can fix it?
Currently working on :: The Empire

And check the forums!

modern algebra

It's a bug in the default scripts. The fix is located here: http://rmrk.net/index.php/topic,25243.0.html

There are two errors, located in two separate posts. Be sure to fix them both.

fthmdg

Awesome, fixed it right up! Thanks, and good find to both of you guys.
I overlooked that first error after reading through that section of code probably 4 different times.
Currently working on :: The Empire

And check the forums!