I have ran into an issue suddenly when trying to develop the golf club to move and hit the golf ball resulting it to move. I don’t’ know why it has suddenly done this because everything was fine and suddenly it gave me this error message that i have looking for a solution for awhile now.
ERROR:GAMEOBJECT: The collection ‘playing’ could not be created since there is already a socket with the same name.
ERROR:GAMEOBJECT: AcquireResources NewCollection RESULT_OUT_OF_RESOURCES
WARNING:RESOURCE: Unable to create resource: /playing/playing.collectionc: OUT_OF_RESOURCES
ERROR:GAMESYS: The collection /playing/playing.collectionc could not be loaded.
ERROR:GAMESYS: The collection /playing/playing.collectionc could not be unloaded since it was never loaded. Message ‘unload’ sent from main:/controller#main to main:/controller#playing_proxy.
ERROR:GAMEOBJECT: The collection ‘playing’ could not be created since there is already a socket with the same name.
ERROR:GAMEOBJECT: AcquireResources NewCollection RESULT_OUT_OF_RESOURCES
WARNING:RESOURCE: Unable to create resource: /playing/playing.collectionc: OUT_OF_RESOURCES
ERROR:GAMESYS: The collection /playing/playing.collectionc could not be loaded.
ERROR:GAMESYS: The collection /playing/playing.collectionc could not be initialized since it has not been loaded. Message ‘enable’ sent from main:/controller#main to main:/controller#playing_proxy.
function init(self)
msg.post(".", "acquire_input_focus")
-- show the title screen when the game is loaded
msg.post("#title_proxy", "load")
self.current_collection = "#title_proxy"
end
function final(self)
msg.post(".", "release_input_focus")
end
function on_message(self, message_id, message, sender)
-- show the collection once loaded into memory
if message_id == hash("proxy_loaded") then
msg.post(sender, "enable")
-- load the correct collection when a message is received
elseif message_id == hash("show title") then
-- title screen
msg.post(self.current_collection, "unload")
msg.post("#title_proxy", "load")
self.current_collection = "#title_proxy"
elseif message_id == hash("show playing") then
-- start
msg.post(self.current_collection, "unload")
msg.post("#playing_proxy", "load")
self.current_collection = "#playing_proxy"
elseif message_id == hash("show instructions") then
-- instructions
msg.post(self.current_collection, "unload")
msg.post("#instructions_proxy", "load")
self.current_collection = "#instructions_proxy"
elseif message_id == hash("show gameover") then
-- gameover
msg.post(self.current_collection, "unload")
msg.post("#gameover_proxy", "load")
self.current_collection = "#gameover_proxy"
elseif message_id == hash("show pause") then
-- pause
msg.post(self.current_collection, "unload")
msg.post("#pause_proxy", "load")
self.current_collection = "#pause_proxy"
end
end
This code was working before ( a couple days ago).