having a problem with items disappearing when my game relaunches a 2nd time. the variables are correct but the picture of the items are gone apon the relaunch/reset. any ideas to fix this?
item pictures disappearing
RPG Maker VXAce SupportFirst of all, everyone who posts here needs help, so you might benefit from editing your topic title to something more descriptive of what you're asking about. 😛
Secondly, what do you mean by "relaunches a 2nd time"? and "the picture of the items are gone"?
Secondly, what do you mean by "relaunches a 2nd time"? and "the picture of the items are gone"?
screenshots of how and where you check that info would also be helpfull
It all relates to the IB menu script. It does not save the data to the save file. so any items shows are lost upon loading a save game.
IB menu script?
yes, its a script im using and i need help with the item pictures.
This works unless someone has a better way.
Ruby:
module DataManager
#--------------------------------------------------------------------------
# * Create Save Contents
#--------------------------------------------------------------------------
def self.make_save_contents
contents = {}
contents[:system] = $game_system
contents[:timer] = $game_timer
contents[:message] = $game_message
contents[:switches] = $game_switches
contents[:variables] = $game_variables
contents[:self_switches] = $game_self_switches
contents[:actors] = $game_actors
contents[:party] = $game_party
contents[:troop] = $game_troop
contents[:map] = $game_map
contents[:player] = $game_player
contents[:ib] = Scene_Menu.items
contents
end
#--------------------------------------------------------------------------
# * Extract Save Contents
#--------------------------------------------------------------------------
def self.extract_save_contents(contents)
$game_system = contents[:system]
$game_timer = contents[:timer]
$game_message = contents[:message]
$game_switches = contents[:switches]
$game_variables = contents[:variables]
$game_self_switches = contents[:self_switches]
$game_actors = contents[:actors]
$game_party = contents[:party]
$game_troop = contents[:troop]
$game_map = contents[:map]
$game_player = contents[:player]
Scene_Menu.items = contents[:ib]
end
end
That would have been useful information to include in the original post. But Roninator seems to have you covered.
Original thread: https://forums.rpgmakerweb.com/threads/item-pictures-disappearing.142999/