Agreed. I hope I can get it working before release.. Maybe I'll even have to wrap something else around rpg maker then call that from the game engine..?
Steam Achievements Issues...
RPG Maker MV SupportWell can upgrade nw.js to the newest to see if my code works.
If it doesn't(which I highly doubt), the worse result is you revert back to the version the tutorial is using and try to fix orange greenworks again.
If it doesn't(which I highly doubt), the worse result is you revert back to the version the tutorial is using and try to fix orange greenworks again.
, Let us know the results! I'm really curious if the fix just has to do with wiping nwjs, Or wiping its cache, The only things I was afraid of touching.
I'm not too code heavy, Or know how to process code. But would this have to do with a reason compatibility isn't working?
(I mean, It's the only thing i can think of, Would it be thinking the extra arguments the creator lists, are arguments the script filled out have to give to the game..?)
My Log Below:
Well it is quite strange because I check the source code of greenworks back to very early version.
geAchievement has 3 arguments, and will throw that bad arguments error if:
1. the first argument is not a string
2. number of arguments is smaller than 2
3. the 2nd or the 3rd argument are not functions
Both orange greenworks and my code on the first page provide 3 arguments just in case. So in theory there shouldn't be a problem.
I notice both of you and the op are using yep something. I'm not sure if that is related, but what if you run the script directly from the console?
geAchievement has 3 arguments, and will throw that bad arguments error if:
1. the first argument is not a string
2. number of arguments is smaller than 2
3. the 2nd or the 3rd argument are not functions
Both orange greenworks and my code on the first page provide 3 arguments just in case. So in theory there shouldn't be a problem.
I notice both of you and the op are using yep something. I'm not sure if that is related, but what if you run the script directly from the console?
Yep_Core, These plugins actually stop orangegreenworks from crashing the game, Which it does on an semi sample project for me atleast. But that's odd it's only having issues about arguments.. It tells me my steam name! So I know the steam API is working. But all it has to do now is pickup achievements from the game and add them to the account.. Which shouldn't be the harder part.
Maybe it's just not functional because it expects Atleast 3 arguments. I wonder if it's possible to integrate these achievements directly into the plugin itself, And instead do a plugin command call that internally unlocks that same achievement, Instead of working with greenworks, It could just store a variable of the achievement and do the rest of its processing on the backend when the player calls a plugin command to unlock said plugin. Instead of making the user give it arguments (Using script, In the events tab of rpg maker.)
(TLDR: A bunch of pondering and thinking.)
I noticed the issue with the "YEP.js" related file errors a while ago. Disabling said plugins just results in a new plugin taking the place in said error (YEP created or not). The YEP plugins from my knowledge have no direct effect on the error from my experimentation.
@TheRealFame I don't think it will work. Greenworks is compiled and it is not just a js file. And for that reason node version must match the release.
Well, it's been a while since this topic was posted. But has you tried downloading from greenworks official release page? Unless the newest nw.js breaks your game, I don't see a reason why it is hard to do.
For example:
Greenworks v0.17.0
Steamworks SDK 1.60
NW.js v0.89.0
Well, it's been a while since this topic was posted. But has you tried downloading from greenworks official release page? Unless the newest nw.js breaks your game, I don't see a reason why it is hard to do.
For example:
Greenworks v0.17.0
Steamworks SDK 1.60
NW.js v0.89.0
Downloading newer nwjs version breaks my game or the ability to actually playtest my game. Only thing I could do is go back a few versions.. but I won't know how far until I test it-
There is a development version of nw.js on their download page. It is for playtest (the console).
Playtest version for what version? I was thinking about rolling back to something akin to 40 updates, Like 44 if it exists.
Oh I mean this. There are sdk version of nw.js. So you can open the console by pressing F12 or F8 in game. Why does it breaks your game, can you elaborate?
Have you tried using Steamworks SDK 1.53a?
It just does break my game. I can't export the game, I can't run the game whenever I use an higher version then the 50's version of nwjs. (Yes, I can run 89 without rpg maker, But trying to add it into those files means I essentially bricked the engine. I don't believe 89 to be a stable version.)
Oh you mean the green play test button of the editor? I didn't know because I tested achievements outside of the editor.
In the editor, And with a deployed game. Using something older makes it impossible to load up any game I've made in the engine.
Oh wait a minute do you replace the files in rpgmaker mv's installation folder?
You can export the game before copying nw.js files to the deployed folder you know.
You can export the game before copying nw.js files to the deployed folder you know.
I'd have to do it for all 3 builds everytime I export the game.
But it is still easy to fix. The editor has a bug that it doesn't fill the name field of package.json.
You just need to edit that file and the game should run.
It is required anyway otherwise if you have more than one MV games with the same name the icon may display wrongly.
You just need to edit that file and the game should run.
It is required anyway otherwise if you have more than one MV games with the same name the icon may display wrongly.
Ill have to try that out- But I still have multiple games! So that could become a problem-
@utunnels, i'm curious, why not to just cite the versions of NW.js you used for your game Dorf the Dwarf? (That way we can just install the SDK and greenworks nodes that match that NW.js version) The game seems like a fairly recent release that also has achievements in it. You can check the version of NW.JS by inserting "process.versions" into the console.
Original thread: https://forums.rpgmakerweb.com/threads/steam-achievements-issues.170975/