Main Menu

[Resolved Thanks Algebra] Game assist, Having problems with Items.

Started by Digi, July 15, 2008, 08:05:40 AM

0 Members and 1 Guest are viewing this topic.

Digi

Hi Guys / Girls

I need a little help here, for some stupidd reason i cant get my Books to work.
Whats happining is this...

I have the Advanced Crafting system and I have changed it so that you can only discover the Items ETC through scrolls or quests, Now im having a problem when i try use the scroll it gives a error sound in game like the Character cant use it for some reason. The book is defined in the Items section and it calls a Commen event that calls script
"$game_crafting.discover(0)"

I've uploaded the game so far if someone whants to have a look at what ive done so far, and help me a lil  :tpg:
Be warned this is supper basic at the moment. Like seriously Basic, im working on basics before i do anything more on it.

Thanks for any assist.

Oh the link for the Game files is --- http://www.4shared.com/dir/8257363/fa183a43/Game.html

-EDIT- Sorry guys if it asks for a password its --->  *****  <--- all lower case, just between the arrows no spaces
I do appologise for forgetting to put it up.
Saru mo kikara Ochiru
English:Even Monkeys will fall from Trees

epson777341

This probably belongs in Script help, but, did you remember to change the scope and the occasion?

That might be the problem.

Digi

Hi epson777341,

I set the Scope from everything to One ally to none
and the Occasion to Always and Only from Menu

But still for some ARB reason it gives me a in game a sound like the usage is invalid. when i try use it from the Menu.

I dunno if this is scripting issues or not, Im seriously seriously not a scripter, and im not 100% sure if for some reason the scripts I've loaded are Valid or not. Im only able to figure out how to use the scripts. hehehe GIVES SELF DUMBASS STAMP :D

I tried changing the Lookup script im using to to try see if it was the skill i was refering to but alas... no luck :(

OK if this will help,
Im more than willing to send the scripts im using, a few i didnt get here, but heres a listing of them all...

Advanced Crafting Skills.
Advanced Shopping Menu - Allows Item limits, Restocking, ETC.
Quest Journal By Algebra
Paragraph Formatter By Algebra


The advanced crafting normally allows things to be discovered if the items are found, i disabled it and there was a document that gave me the Line to allow a NPC or item to allow you to discover how to make a item. and the only way i can think to attach that to a commun Event that runs the script.
But dunno if it needs extra commands etc or not. so at the moment the commun event only shows that command $game_crafting.discover(x)

Which calls the learning of Item x in the Rescipes.txt file I define.
.... mmmm dunno what else to do though....

If you download the lil game you can just adjust the one Event not to trigger with Switch, (The shelf at bottom of bedroom) it will give you the Scroll and you can see whats happening.
Saru mo kikara Ochiru
English:Even Monkeys will fall from Trees

modern algebra

Try this:


#==============================================================================
# ** Game_Battler
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  Summary of Changes:
#    aliased method - item_test
#==============================================================================

class Game_Battler
  #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  # * Item Test
  #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  alias modalg_digi_items_w_cmmn_evnt_work_9dn4 item_test
  def item_test (user, item)
    # Item is effective if it calls a common event.
    return true if item.common_event_id != 0
    # Run Original Method
    return modalg_digi_items_w_cmmn_evnt_work_9dn4 (user, item)
  end
end

Digi

Wohoo thanks Algebra :D

that worked perfectly :D allowed me to use the item and I tested with 2 or 3 others and it worked thanks.

Im locking down the share, if anyone wants to have a look or something just PM me ill give the access needed.
Saru mo kikara Ochiru
English:Even Monkeys will fall from Trees