hi all.
i need some help, i need a script for me server and its to new for me core^^
the script looks like this:
http://pastebin.com/06kNGqNk
i know its are bad written and it can get mutch better^^
i get this errors:
and in the script it says:
http://puu.sh/5qEvx.png
for my scripts in the end i needs to look like this:
if it gives you an hit on how it should be written.
thx for you help and support^^
i need some help, i need a script for me server and its to new for me core^^
the script looks like this:
http://pastebin.com/06kNGqNk
i know its are bad written and it can get mutch better^^
i get this errors:
Code:
1>------ Build started: Project: ACE_Wrappers, Configuration: Release Win32 ------
1>Build started 11/23/2013 8:25:58 AM.
1>InitializeBuildStatus:
1> Creating "ACE_Wrappers__Win32_Release\ACE_Wrappers.unsuccessfulbuild" because "AlwaysCreate" was specified.
1>ClCompile:
1> All outputs are up-to-date.
1> All outputs are up-to-date.
1>ResourceCompile:
1> All outputs are up-to-date.
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets(990,5): warning MSB8012: TargetPath(E:\BotCore-master\externals\ace\win\VC90\ACE_Wrappers__Win32_Release\ACE_Wrappers.dll) does not match the Linker's OutputFile property value (E:\BotCore-master\externals\ace\bin\Win32_Release\ACE.dll). This may cause your project to build incorrectly. To correct this, please make sure that $(OutDir), $(TargetName) and $(TargetExt) property values match the value specified in %(Link.OutputFile).
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets(992,5): warning MSB8012: TargetName(ACE_Wrappers) does not match the Linker's OutputFile property value (ACE). This may cause your project to build incorrectly. To correct this, please make sure that $(OutDir), $(TargetName) and $(TargetExt) property values match the value specified in %(Link.OutputFile).
1>Link:
1> All outputs are up-to-date.
1> ace.vcxproj -> E:\BotCore-master\externals\ace\win\VC90\ACE_Wrappers__Win32_Release\ACE_Wrappers.dll
1>FinalizeBuildStatus:
1> Deleting file "ACE_Wrappers__Win32_Release\ACE_Wrappers.unsuccessfulbuild".
1> Touching "ACE_Wrappers__Win32_Release\ACE_Wrappers.lastbuildstate".
1>
1>Build succeeded.
1>
1>Time Elapsed 00:00:00.22
2>------ Build started: Project: shared, Configuration: Release Win32 ------
2>Build started 11/23/2013 8:25:58 AM.
2>InitializeBuildStatus:
2> Creating "shared__Win32_Release\shared.unsuccessfulbuild" because "AlwaysCreate" was specified.
2>CustomBuild:
2> Getting Version...
2>ClCompile:
2> All outputs are up-to-date.
2> All outputs are up-to-date.
2>Lib:
2> All outputs are up-to-date.
2> shared.vcxproj -> E:\BotCore-master\win\VC90\shared__Win32_Release\shared.lib
2>FinalizeBuildStatus:
2> Deleting file "shared__Win32_Release\shared.unsuccessfulbuild".
2> Touching "shared__Win32_Release\shared.lastbuildstate".
2>
2>Build succeeded.
2>
2>Time Elapsed 00:00:00.31
3>------ Build started: Project: game, Configuration: Release Win32 ------
3>Build started 11/23/2013 8:25:59 AM.
3>InitializeBuildStatus:
3> Touching "game__Win32_Release\game.unsuccessfulbuild".
3>ClCompile:
3> All outputs are up-to-date.
3> Talent_Chooser.cpp
3>..\..\bin\Talent_Chooser.cpp(4): error C2504: 'CreatureScript' : base class undefined
3>..\..\bin\Talent_Chooser.cpp(6): error C2614: 'Talent_Chooser' : illegal member initialization: 'CreatureScript' is not a base or member
3>
3>Build FAILED.
3>
3>Time Elapsed 00:00:01.08
4>------ Build started: Project: worldserver, Configuration: Release Win32 ------
4>Build started 11/23/2013 8:26:00 AM.
4>InitializeBuildStatus:
4> Touching "worldserver__Win32_Release\worldserver.unsuccessfulbuild".
4>ClCompile:
4> All outputs are up-to-date.
4>ResourceCompile:
4> All outputs are up-to-date.
4>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets(990,5): warning MSB8012: TargetPath(E:\BotCore-master\win\VC90\worldserver__Win32_Release\worldserver.exe) does not match the Linker's OutputFile property value (E:\BotCore-master\bin\Win32_Release\worldserver.exe). This may cause your project to build incorrectly. To correct this, please make sure that $(OutDir), $(TargetName) and $(TargetExt) property values match the value specified in %(Link.OutputFile).
4>LINK : fatal error LNK1181: cannot open input file 'E:\BotCore-master\win\VC90\game__Win32_Release\game.lib'
4>
4>Build FAILED.
4>
4>Time Elapsed 00:00:00.10
========== Build: 2 succeeded, 2 failed, 6 up-to-date, 0 skipped ==========
and in the script it says:
http://puu.sh/5qEvx.png
for my scripts in the end i needs to look like this:
Code:
void AddSC_crystalsong_forest()
{
Script *newscript;
newscript = new Script;
newscript->Name = "npc_warmage_violetstand";
newscript->GetAI = &GetAI_npc_warmage_violetstand;
newscript->RegisterSelf();
}
if it gives you an hit on how it should be written.
thx for you help and support^^