[BUG] Use item

Killian

Warper
Member
Joined
Oct 16, 2017
Messages
4
Reaction score
0
First Language
French
Primarily Uses
RMVXA
Hi everyone,

I need help since yesterday, because of a script I can't use items.




I use this script for a storage trunk that works well.
(sorry if my english is bad, im not english :x)
 

mlogan

Global Moderators
Global Mod
Joined
Mar 18, 2012
Messages
15,354
Reaction score
8,533
First Language
English
Primarily Uses
RMMV

I've moved this thread to Script Support. Please be sure to post your threads in the correct forum next time. Thank you.



This isn't an engine bug. This is an issue you are having with the script, and, with some help, can likely be resolved.
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,365
Reaction score
7,675
First Language
German
Primarily Uses
RMMV
Have you started a new game after installing the script? You have to do that, most of the time such errors happen when loading old save files that are now incompatible because of the added script.

If that is not the case, we need a link to the script and probably a screenshot of the backtracer output.
You can find a link to the backtracer script and a description how to use it in the tutorial "how to use a script" that is linked in my signature.
 

Killian

Warper
Member
Joined
Oct 16, 2017
Messages
4
Reaction score
0
First Language
French
Primarily Uses
RMVXA
Thanks for your replies and sorry mlogan, I'm new to this forum and I'm not very good in English. Also, sorry for the double post, I thought this topic was deleted, but it has been moved.

I am a beginner on rpgmaker vx ace, I put the script in a new project but I'm not strong in script, I use this script for the chest of storage like I said because I have searched an alternative, but nothing.

The scripts come from:
https://github.com/RMEx/RME/tree/master/src

I took:
Commands.rb
Database.rb
Doc.rb
DocGenerator.rb
EvEx.rb
Incubator.rb
Internal.rb
RMESample.rb
RMESampleSDK.rb
SDK.Gui.rb
SDK.rb
Tools.rb
package.rb


In the console there is:

-EvEx.rb:374:in `use_item': undefined method `last_used_item=' for #<Game_Temp:0xa33e4b0 @common_event_id=0, @fade_type=0>, NoMethodError
from Scene_ItemBase:134:in `use_item'
from Scene_Item:72:in `use_item'
from Scene_ItemBase:65:in `on_actor_ok'
from Window_Selectable:212:in `call'
from Window_Selectable:212:in `call_handler'
from Window_Selectable:331:in `call_ok_handler'
from Window_MenuActor:21:in `process_ok'
from Window_Selectable:297:in `process_handling'
from Window_Selectable:276:in `update'
from Scene_Base:95:in `block in update_all_windows'
from Scene_Base:93:in `each'
from Scene_Base:93:in `update_all_windows'
from Scene_Base:49:in `update_basic'
from Scene_Base:41:in `update'
from Scene_Base:14:in `main'
from SceneManager:23:in `run'
from -EvEx.rb:4636:in `run'
from backtracer:10:in `block in <main>'
Thanks !
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,365
Reaction score
7,675
First Language
German
Primarily Uses
RMMV
You didn't answer the question if that happens with a New game or with loading a saved file
 

Sixth

Veteran
Veteran
Joined
Jul 4, 2014
Messages
2,162
Reaction score
822
First Language
Hungarian
Primarily Uses
RMVXA
If you are a beginner in using scripts, you really should not touch those scripts.
They are giant ones, even reading through all of that would take days, let alone working on them.
Their syntax doesn't help as well, they are all written in unusual ways (which I can only see as over-complicated, but that's just my opinion, I don't know what is their purpose, so can't tell if they need all those stuffs or not).

I can tell, however, that you don't need these scripts for sure.
There are many storage scripts out there which do the job just fine without the need of thousands of other useless code lines.
IMP wrote one (called Storage Boxes, if I remember right), Adik wrote one too (that's not his full name, I forgot the rest, sorry), and they both work. Search them on this forum, they both have a topic here.
 

Killian

Warper
Member
Joined
Oct 16, 2017
Messages
4
Reaction score
0
First Language
French
Primarily Uses
RMVXA
Hi, sorry Andar :x
it happens with a new game because I don't have loading a saved file in my game.

Hi Sixth, thanks for you answer !

I will see with what you gave me, thank you very much because I looked everywhere but did not find, I will publish this message if I find :)

EDIT: Thanks Andar and Sixth for your answer :)
I will use the script of IMP.
you can close the topic. :p
 
Last edited:

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

Latest Threads

Latest Profile Posts

so hopefully tomorrow i get to go home from the hospital i've been here for 5 days already and it's driving me mad. I miss my family like crazy but at least I get to use my own toiletries and my own clothes. My mom is coming to visit soon i can't wait to see her cause i miss her the most. :kaojoy:
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

Forum statistics

Threads
105,868
Messages
1,017,070
Members
137,577
Latest member
SadaSoda
Top