hendrikp / Plugin_SDK

Plugin SDK and Plugin Manager for CryEngine
http://hendrikp.github.com/Plugin_SDK
Other
47 stars 38 forks source link

Script error when attempting to create test plugin #26

Open benoneal opened 8 years ago

benoneal commented 8 years ago

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 commented 8 years ago

@omggomb you have an idea?

omggomb commented 8 years ago

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 commented 8 years ago

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 commented 8 years ago

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 commented 8 years ago

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 :))