Jump to content

Scriptdev2 on mangostwo


Ammon

Recommended Posts

Posted

How compiling scriptdev2 on mangostwo?I'm run server\src\scripts\scriptVC110.sln fatal error C1083: Platform/Define.h: No such file or directory.

Posted

Visual studio 2013 express for desktop Ошибка 1 error C1083: Не удается открыть файл включение: Common.h: No such file or directory f:\soft\wow\mangos\wtlk\server\src\scripts\ScriptMgr.h 8 1 ScriptDev2

Posted

hey,

With mangos two you need to put the scripts into server/src/bindings/

So it is /server/src/scripts

Make sure you build the server after the scripts is in the folder mentioned above, do not build scripts until the server is done!

Should all work then :)

two has been updated recently and should work, sanctum is still working on two tonight :)

Posted

server\src\scripts\scriptVC120.sln Ошибка 1 error MSB6006: "cmd.exe" завершилась с кодом 3. C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets 170 5 ScriptDev2

Core compiled fine,SD2 error.

Posted

As madmax already mentioned above you've to place the scripts folder within server\src\bindings\ not server\src\.

Also make sure you compile it in release mode.

Posted

yes i'm compiled sd2 server\src\bindings\scripts\scriptVC120.sln error MSB6006: "cmd.exe" завершилась с кодом 3. C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.Cp pCommon.targets 170 5 ScriptDev2

Ошибка 1 error C1083: Не удается открыть файл включение: Common.h: No such file or directory f:\soft\wow\mangos\wtlk\server\src\bindings\ScriptMgr.h 8 1 ScriptDev2

I'm compiled scriptdev2 https://github.com/mangostwo/scripts.git server\src\bindings\scripts\ without errors.Why do I need a folder server\src\scripts\?

Posted

guys, no... you don't need to do anything with scripts, just go to scripts folder and run solution file for windows:

scriptVC100.sln - visual studio 2010 solution

scriptVC110.sln - visual studio 2012 solution

scriptVC120.sln - visual studio 2013 solution

only you need to set correct build type on which perviously mangos core was built, i mean, Release or Debug.

You don't need to move or copy any files!

on linux at all you don't need to specify any options to build scripts, just make build with your specific options (install path and etc) and execute commands: make && install, thats all.

Documentation will updated

Posted

yes, as hikari mentioned, users no need to clone scripts anymore from git://github.com/mangostwo/scripts.git! it is already included in core repository.

same changes were applied to mangos-one too

Posted

Do I understand correctly i need server\src\scripts\ run scriptVC120.sln after compiled core?Don't need copy server\src\scripts\ to server\src\bindings?

Scriptdev2 no need to compile?

Posted

Try again now with clean source code. mangos two has had a few updates over night, it compiles fine here.

Also, the downloads section has been updated with the latest mangos two server

Posted

Ошибка 1 error C1083: Не удается открыть файл включение: Platform/Define.h: No such file or directory F:\Soft\WoW\Mangos\WTLK\server\src\shared\Common.h 61 1 ScriptDev2

I'm compiled core without errors in vs 2012 express.When the compile SD2 error.

  • 3 weeks later...
Posted
Question: can I use two vs 2012 and 2013 for desktop on one OS for example on Windows 8.1?

Sorted Out.You Can.

Yes you can.... On my windows 8.1 PC i have VS2010,2012 and 2013 installed together

Can we close this post ?

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use