Hi it's me again, I've recently released a game on gamejolt (https://gamejolt.com/games/dsatkk/992604) and for some reason, everyone I've seen play this is unable to log into gamejolt and gets the same error, which is weird, considering it works perfectly fine for me, I am using an old version but again the newest version doesn't seem to work for me (Although I haven't fully tested it out, so I'll try it again tomorrow), is there any advice you can possibly give me?
I can't seem to send the error, but if you download the game you should receive the same thing, I'm gonna go to sleep now, so I'll check this all out in the morning.
I've made several tests. It seems your nw.js-version is not compatible with the plugin. I replaced the old plugin with the latest version, set up the correct parameters and updated the nw.js-version to 0.104.1 (the version I run my tests). Everything works fine.
If you want to check which nw.js-version you are using, type
nw.process.versions.nw
into the console.
If you want to update your nw.js-version, here is a step-by-step-guide to do so.
At the moment I don't know which version you need at least to run the latest version of the GameJolt-Plugin. But I recommend to update to the latest nw.js-version.
You may have to insert a name-property to your package.json. The property is there by default but empty. Just type any name in it.
Thank you! This finally all worked and everything is working normally, I wouldn't have been able to do this without your help considering I am still a bit of a newbie, thanks again!
I'd recommend putting a README file in the next version of the Gamejolt API Folder to tell users like the likes of myself to upgrade their nw.js-version so the plugin can work.
Hello! for some reason, the option to log in on the main menu doesnt appear and im not prompted to log in when i open the game and i keep getting this error saying "unexpected token {" at line 2482, is there any way to fix this or even a way to just have the gamejolt login screen pop up via a plugin command or something?
Hello Mason, I can't reproduce this bug. I downloaded the current file, set up a new project and set up the required plugin parameters. Everything worked fine. If you contact me on my gamedevcafé profile or my rpg maker web profile you can send me your project. Otherwise I won't be able to reproduce an find the issue.
Hello! freshly installed the plugin, however nothing is working for me when i start up the game. I do not have an option in the menu to log in nor does it ask me when new game is pressed. The error im receiving is "Uncaught SyntaxError: Unexpected token {"
I am unsure what im doing wrong as i have freshly installed this plugin, It's my first time using it ever. Would appreciate help!
Hi Thaler. Please send me a screenshot from your console (press F8 or F12 and go to the console tab). Furthermore, please check if all parameters are set correctly.
Hey Fu, I've got 3 screenshots here for you showing the parameters, main menu and the error code. Not sure what Im doing wrong so I am hoping you can figure it out!
Hey! I've done what you said and it still doesn't seem to work in a new project with a re-downloaded file. Would you be able to possibly do a tutorial video on this plugin eventually? No clue what's going on here, thanks!
Hello there. Wonderful plugin, however, there is one observation on MZ. I'm using the variable command to make it easier to issue achievements, and when I do so using the scripted command GameJolt.awardTrophy($gameVariables.value(111));, the game shows two notifications instead of one :/ I have no idea if it's possible to issue the achievement immediately in the plugin call, if at all.
If so, is it possible to add variable support in newer versions, as it makes it very easy to work with a bunch of variables?
In addition, I'd like to know: how do I check if a user is logged in to GameJolt for a condition branch?
Hi. I've tested the scriptcall with the script command and with the control variable command. I can't reproduce the issue of showing two notifications. If you have further information about the problem, please let me know. Please test it in a new project. If there is no issue, there may be a problem between several plugins.
I will add a plugin command argument to get the id out from a variable.
If you want to check that a user is logged in you have to call the plugin command "GameJolt acitve user" or the scriptcall "GameJolt.getActiveUser();" and afterwards you have to put "$gameTemp.GJactiveUser" into the script area of a conditional branch. I will add a function to make this easier to the next version.
I realized what the problem was. XD I was using the GameJolt.autoLogin(); condition (prior to the current version, as it's the only thing I've thought of using to verify account login), which already executes the command to issue the achievement. Without it, the multiple notifications error doesn't occur. XD
Demonstrating the work, and explaining what's going on. And I also understood correctly, all users not registered on gamejolt will be marked as guests?
Sorry for the delay, I tried it in a new project and it didn't work there either, im on version 1.6.3 of MV, I use it through steam so I'm pretty sure thats the latest version
I tried to reproduce the issue, but still, I can't. When I put the plugin in a new project and don't change any parameters, the button appears. Open the console (via F8 or F12, switch to console-tab) and check it for errors. You probably set a parameter to an uncorrect value. That can cause an error and the plugin doesn't work at all.
It works very well, a long time ago I had tried version 0.2.0 that you published in 2021 in another forum, although it worked very well it caused a slight temporary fps drop, in this new version that does not seem to happen, so in general it is a great improvement, 😊10/10.
← Return to asset pack
Comments
Log in with itch.io to leave a comment.
Hi it's me again, I've recently released a game on gamejolt (https://gamejolt.com/games/dsatkk/992604) and for some reason, everyone I've seen play this is unable to log into gamejolt and gets the same error, which is weird, considering it works perfectly fine for me, I am using an old version but again the newest version doesn't seem to work for me (Although I haven't fully tested it out, so I'll try it again tomorrow), is there any advice you can possibly give me?
I can't seem to send the error, but if you download the game you should receive the same thing, I'm gonna go to sleep now, so I'll check this all out in the morning.
I've made several tests. It seems your nw.js-version is not compatible with the plugin. I replaced the old plugin with the latest version, set up the correct parameters and updated the nw.js-version to 0.104.1 (the version I run my tests). Everything works fine.
If you want to check which nw.js-version you are using, type
nw.process.versions.nw
into the console.
If you want to update your nw.js-version, here is a step-by-step-guide to do so.
At the moment I don't know which version you need at least to run the latest version of the GameJolt-Plugin. But I recommend to update to the latest nw.js-version.
You may have to insert a name-property to your package.json. The property is there by default but empty. Just type any name in it.
Thank you! This finally all worked and everything is working normally, I wouldn't have been able to do this without your help considering I am still a bit of a newbie, thanks again!
You're welcome. I wasn't aware that the nw.js-version can cause a problem. I still don't know why that's the case.
I'd recommend putting a README file in the next version of the Gamejolt API Folder to tell users like the likes of myself to upgrade their nw.js-version so the plugin can work.
Hello! for some reason, the option to log in on the main menu doesnt appear and im not prompted to log in when i open the game and i keep getting this error saying "unexpected token {" at line 2482, is there any way to fix this or even a way to just have the gamejolt login screen pop up via a plugin command or something?
Hello Mason, I can't reproduce this bug. I downloaded the current file, set up a new project and set up the required plugin parameters. Everything worked fine. If you contact me on my gamedevcafé profile or my rpg maker web profile you can send me your project. Otherwise I won't be able to reproduce an find the issue.
i dont feel all to comfortable about sending over my project file, ill just test this out in a new project and see if it has the same problem or not.
yeah no still nothing, i seriously dont know whats wrong considering ive seen someone else in this comment section having this same problem
You can send me the new project if the bug is there too. As I said, when I create a new project I can't reproduce this bug.
can you tell me how i can send the project file to you? im fairly new to all of this.
Hello! freshly installed the plugin, however nothing is working for me when i start up the game. I do not have an option in the menu to log in nor does it ask me when new game is pressed. The error im receiving is "Uncaught SyntaxError: Unexpected token {"
I am unsure what im doing wrong as i have freshly installed this plugin, It's my first time using it ever. Would appreciate help!
I even did a brand new project, generated a new key for my Game API on the website, nothings fixed.
Hi Thaler. Please send me a screenshot from your console (press F8 or F12 and go to the console tab). Furthermore, please check if all parameters are set correctly.
I've downloaded the file to make sure working on the same file. In a new project, everything works fine. Try following:
I'll try this again, but it's what i've done before and didnt work. But i will give it another go.
Hey! I've done what you said and it still doesn't seem to work in a new project with a re-downloaded file. Would you be able to possibly do a tutorial video on this plugin eventually? No clue what's going on here, thanks!
Hello there. Wonderful plugin, however, there is one observation on MZ. I'm using the variable command to make it easier to issue achievements, and when I do so using the scripted command GameJolt.awardTrophy($gameVariables.value(111));, the game shows two notifications instead of one :/ I have no idea if it's possible to issue the achievement immediately in the plugin call, if at all.
If so, is it possible to add variable support in newer versions, as it makes it very easy to work with a bunch of variables?
In addition, I'd like to know: how do I check if a user is logged in to GameJolt for a condition branch?
Hi. I've tested the scriptcall with the script command and with the control variable command. I can't reproduce the issue of showing two notifications. If you have further information about the problem, please let me know. Please test it in a new project. If there is no issue, there may be a problem between several plugins.
I will add a plugin command argument to get the id out from a variable.
If you want to check that a user is logged in you have to call the plugin command "GameJolt acitve user" or the scriptcall "GameJolt.getActiveUser();" and afterwards you have to put "$gameTemp.GJactiveUser" into the script area of a conditional branch. I will add a function to make this easier to the next version.
I realized what the problem was. XD
I was using the GameJolt.autoLogin(); condition (prior to the current version, as it's the only thing I've thought of using to verify account login), which already executes the command to issue the achievement. Without it, the multiple notifications error doesn't occur. XD
Thanks!
Hello. Regarding your Plugin i do need some help.
Number one: how do you make the plugin commence a login sequence in the game after some dialogue?
Number two: How do you make the game add a trophy to the player?
These are the only questions on demand at my area. Please get back to me when you got the answers. Thanks.
Hi. The plugin description contains all these information. Nevertheless, here are the answers:
Please make a video for the plugin, that would be very cool!
Hi DeaSy, what do you expect from such a video?
Demonstrating the work, and explaining what's going on. And I also understood correctly, all users not registered on gamejolt will be marked as guests?
I am not very experienced in video creation. As soon V1.0 is released, I plan to make an explanation video as well.
Yes, if you have set a guest marking this string will be added to the guest's username on a highscore list.
The option to login on the title screen isn't appearing for me.
I'm on RPG Maker MV
Did you set the respective parameter to true? The parameter is called "Add button to main menu".
Yes I did
I've tried turning off all my other plugins too to see if it was a conflict causing this issue.
Create a new project an test it there. I can't reproduce this issue. Do you use the latest version of MV?
Sorry for the delay, I tried it in a new project and it didn't work there either, im on version 1.6.3 of MV, I use it through steam so I'm pretty sure thats the latest version
I tried to reproduce the issue, but still, I can't. When I put the plugin in a new project and don't change any parameters, the button appears. Open the console (via F8 or F12, switch to console-tab) and check it for errors. You probably set a parameter to an uncorrect value. That can cause an error and the plugin doesn't work at all.
It works very well, a long time ago I had tried version 0.2.0 that you published in 2021 in another forum, although it worked very well it caused a slight temporary fps drop, in this new version that does not seem to happen, so in general it is a great improvement, 😊10/10.
A long time ago... :D
Yeah I am glad to hearing that you like the plugin. Thanks for your reply :)
Nevertheless, I have made some notes for further improvements. When I got the time I will implement more API-features and some minor things.