Compatability Issue: Theo Smithing and Alchemic Synthesis

Vis_Mage

Novice Magician
Veteran
Joined
Jul 28, 2013
Messages
574
Reaction score
196
First Language
English
Primarily Uses
RMMV
Hello

I'm having a bit of in issue with using Theo's Smithing script with Kread-EX's Alchemic Synthesis script. Whenever I attempt to start the game, I get the fallowing error:


(Weapon LV is theo's smithing script)

Here's a link to the two scripts.

Alchemic Synthesis: https://grimoirecastle.wordpress.com/2011/12/08/alchemic-synthesis-go-go-totori/
Theo Smithing: http://rmrk.net/index.php?topic=48152.0
As a note, I also use the addon here with Theo Smithing, although I get the error requardless of if I'm using it.

Be sure to let me know if you need any additional information!
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,365
Reaction score
7,675
First Language
German
Primarily Uses
RMMV
for such script errors, we need the backtracer output to see what is really involved here.
Please follow the link "how to use a script" in my signature to the bughunting section, download and install the backtracer script and then give us a screenshot of its console output.
 

Vis_Mage

Novice Magician
Veteran
Joined
Jul 28, 2013
Messages
574
Reaction score
196
First Language
English
Primarily Uses
RMMV
for such script errors, we need the backtracer output to see what is really involved here.
Please follow the link "how to use a script" in my signature to the bughunting section, download and install the backtracer script and then give us a screenshot of its console output.
Sure thing, here you go!



As a guidline, Weapon LV is Theo Smithing, while GO GO TOTORI is alchemic synthesis. There's a couple other scripts that load in as well, but the error still present without them.
 

Sixth

Veteran
Veteran
Joined
Jul 4, 2014
Messages
2,162
Reaction score
822
First Language
Hungarian
Primarily Uses
RMVXA
You can try to enter this somewhere below the Weapon Level script:
Code:
class RPG::Weapon < RPG::EquipItem
 
  attr_accessor :ori_id
  attr_accessor :upgrade_price

  def clone_data
    cwp = RPG::UpgradedWeapon.new
    cwp.ori_w = Marshal.load(Marshal.dump(self))
    return cwp
  end
 
  def upgrade_key
    (self.ori_id || self.id) * 100 + (level+1)
  end
 
  def make_price
    item_price = @price
    base_price = THEO::Smith::PriceBase
    @upgrade_price = eval(THEO::Smith::PriceUpgrade)
    @price = eval(THEO::Smith::PriceTrade)
  end
 
end

RPG.send(:remove_const, :UpgradedWeapon)

class RPG::UpgradedWeapon

  attr_accessor :ori_w
 
  def method_missing(sym, *argv, &argb)
    if @ori_w.respond_to?(sym)
      return @ori_w.send(sym, *argv, &argb)
    end
    super(sym, *argv, &argb)
  end

  def is_a?(*argv,&argb)
    if [RPG::BaseItem,RPG::EquipItem,RPG::Weapon].include?(argv[0])
      return true
    else
      super(*argv,&argb)
    end
  end
 
end
Note that I have absolutely no idea if this actually works function-wise in the game itself. I just simplified that messed up clone method which gave the error.
It eliminates the error, and lets you start the game. Both scripts should work in theory, but I did not test it at all, I will leave that to you. :p

Ohh, I didn't see that addon you use with the Weapon Level script.
You will most probably need to change the make_price method to the one from that addon.
Just copy the whole method from that addon and paste it over the same method in this patch.
 
Last edited:

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??

Forum statistics

Threads
105,865
Messages
1,017,059
Members
137,574
Latest member
nikisknight
Top