01:28 AM 07/10/2022
Hello! I'm making a custom brick hill chat system and I'm planning to make it open-source once I'm done. I have already finished most of it but I have one problem- I can't figure out how to get the creator's userid!
I've tried using Game.setData, and getting the creator's id from there, and using Game.setDataLoaded() to wait for the data to load, but neither worked for me. Am I missing something?
I've tried using Game.setData, and getting the creator's id from there, and using Game.setDataLoaded() to wait for the data to load, but neither worked for me. Am I missing something?
09:58 PM 07/10/2022
Like the post above, are you using the latest node-hill version?
If so, what script are you using to wait for the set data to load?
If so, what script are you using to wait for the set data to load?
10:43 PM 07/10/2022
Quote from MixaMega , 01:43 PM 07/10/2022Yes, I'm using dedicated hosting.
are you using the latest version of node hill?
10:43 PM 07/10/2022
Quote from Dragonian , 09:58 PM 07/10/2022const creatorId = 0
Like the post above, are you using the latest node-hill version?
If so, what script are you using to wait for the set data to load?
Game.setDataLoaded().then(() => {
creatorId = Game.setData.creator.id
})
11:07 AM 08/10/2022
Quote from arlocomotive , 10:43 PM 07/10/2022setDataLoaded() sadly does not work on the brick hill dedicated hosting. It was supposed to be fixed ages ago, but Jefemy never updated it.Quote from MixaMega , 01:43 PM 07/10/2022
are you using the latest version of node hill?
Yes, I'm using dedicated hosting.
02:16 PM 08/10/2022
Quote from Dragonian , 11:07 AM 08/10/2022This has been fixed just now.Quote from arlocomotive , 10:43 PM 07/10/2022Quote from MixaMega , 01:43 PM 07/10/2022
are you using the latest version of node hill?
Yes, I'm using dedicated hosting.
setDataLoaded() sadly does not work on the brick hill dedicated hosting. It was supposed to be fixed ages ago, but Jefemy never updated it.