My shop script isn't working (HimeWorks ShopManager)?

QueenTeaYT

Veteran
Veteran
Joined
Nov 8, 2019
Messages
45
Reaction score
11
First Language
English
Primarily Uses
RMVXA
I'm using HimeWork's "Sell-Only Shop" script and its base script "ShopManager." (http://himeworks.com/2013/02/sell-only-shop/)

When I launch my game it says:

Script 'ShopManager' line 377: NameError occurred.

undefined method 'reserve_common_event' for class 'Game_Temp'

I have "ShopManager" at the bottom of my MODULES script list, with the "Sell-Only Shop" script immediately below it.

Line 377 through 381, by the way, is this:

alias :th_shop_manager_reserve_common_event :reserve_common_event
def reserve_common_event(common_event_id)
th_shop_manager_reserve_common_event(common_event_id)
@shop_common_event_id = common_event_id
end

I just copy-pasted them both into my game and made no edits to them. What's wrong?
 

QueenTeaYT

Veteran
Veteran
Joined
Nov 8, 2019
Messages
45
Reaction score
11
First Language
English
Primarily Uses
RMVXA
Everything should be below Materials.

I was able to launch after moving everything to MATERIALS! Thank you so much. :')

I'm a bit confused since HimeWorks instructed we put it under MODULES, though. I will bring it up with them.
 

Kes

Veteran
Veteran
Joined
Aug 3, 2012
Messages
22,299
Reaction score
11,718
First Language
English
Primarily Uses
RMVXA
[move]RGSSx Script Support[/move]
 

Latest Threads

Latest Posts

Latest Profile Posts

Chilling out while toodling around someone's painstaking Minecraft recreation of Disneyland. It is mind-boggling and probably as close as I'll ever be to going.
>Testing with fonts change.
>Tries installing a plugin. Doesn't work.
>Tries changing the plugin commands. Doesn't work.
>Tries installing another plugin. Doesn't work.
>Changes a few more plugin commands. Doesn't work.
>Goes directly to the gamefont file and changes the src. Works.

YYEEEAAAAHHHAAAA

Perseverance is key, bois and girls.
What Reviews say on RPG Maker MZ?
Looking back at some sketches, and game design documents on my PC dated summer of 2015. I started development with the release of MZ, but in 2015, I felt a strong desire to make a game out of the blue. I remember feeling sad for no apparent reason, and all these ideas rushed into my head. Now that I think about it, since that day, everything has become easier to do on my PC . . . it’s very creepy.
Everything's going to be alright! We're all in this together. <3

Forum statistics

Threads
107,807
Messages
1,032,351
Members
139,953
Latest member
soicaukubetim
Top