Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Script error when attempting to create test plugin #26

Open
benoneal opened this issue May 10, 2016 · 5 comments
Open

Script error when attempting to create test plugin #26

benoneal opened this issue May 10, 2016 · 5 comments

Comments

@benoneal
Copy link

So I grabbed this version of the plugin: https://github.com/omggomb/Plugin_SDK, then followed the manual installation instructions in the wiki, then followed through your youtube tutorial here: https://www.youtube.com/watch?feature=player_embedded&v=W7wHus-bunk

However, once I click 'OK' to create the new project, I get this error:

image

Looking into that file, I can find an attempt to execute setDirection();, but can't find anywhere in the entire Plugin_SDK directory where setDirection is defined. Later in the file is another undefined function OnWizFinish, so it seems intentional.

Unfortunately since I can't find where those functions are defined I don't know how to debug this further.

Finally, I still have the issue that the CVARs are not available when I run Cryengine. I'm convinced I'm missing some important step because other people seem to get this working, but I'm new to CE and for the life of me, I don't know where to even start beyond following the instructions and videos provided.

@hendrikp
Copy link
Owner

@omggomb you have an idea?

@omggomb
Copy link

omggomb commented May 11, 2016

I changed the way it's supposed to be installed, sorry I didn't mention that. Since the only thing I changed is adding for VS 2015, you only work with the vc15 folder. Don't replace anything inside there. Just copy it into the wizards folder as described in the wiki. If you have further questions feel free to open issues in my repo, so we don't clutter this one.

@benoneal
Copy link
Author

Hi @omggomb
Unfortunately copying across the vc15 folder as you say doesn't resolve the issue. I'd be happy to continue this issue on your repo, but it doesn't have an issue tracker yet.

@hendrikp
Copy link
Owner

Someone else provided another CEV patch maybe try with that one, my guess though is that its a general installation problem on your side (I'd try to avoid using spaces in pathes to be sure). I tried to look out for that but some of the changed scripts might not do that and i haven't really used it myself back then either with pathes with spaces.

@omggomb
Copy link

omggomb commented May 16, 2016

Hm, google says it may be files being blocked.
Also I made a wrong suggestion. Sorry. Please completely delete the wizard folder from the wizards directory and then as the wiki states copy the required files over again and point to the vc15 directory inside PluginManager.vsz as stated in the wiki (basically the steps for VS 2010 but replace vc10 with vc15 everywhere you read it, do not replace anything inside the vc15 directory). Remember to only copy the 3 files across into your Documents directory and to keep your CE installation and the code for the PluginManager outside of C:Program Files and your user directory.
Also: issues are now enabled inside my fork (didn't know I had to do that :))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants