Page 1 of 2

issues trying to re-build servers

Posted: Sun Dec 30, 2012 10:24 pm
by Arthurious
hello there, guys, i've been having problems trying to rebuild my server, i was using em once and they, stoped working the next day... not sure why... when i tried to rebuild em i got to this issue... and dunno how to fix it... if some1 not that busy can help me, please. here's a lil description.

"during the DSGame-server build" (debug) got something like this...

1> ai_pet_dummy.cpp
1> ai_mob_dummy.cpp
1> ai_char_prisoner.cpp
1> Generating Code...
1> Skipping... (no relevant changes detected)
1> entity_update.cpp
1> mobutils.cpp
1> mobentity.cpp
1>LINK : warning LNK4098: defaultlib 'LIBCMT' conflicts with use of other libs; use /NODEFAULTLIB:library
1>LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========



and during the "DSConnect-server" somethng like this...

1>------ Build started: Project: DSConnect-server, Configuration: Debug Win32 ------
1>LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========


also before i start trying to debug, i got a window saying that the " DSConnect-server - Debug Win32" is out of date.
and after the compilation fails got another window saying that the "parameter "basePath" can't be a relative path.

i'd really appreciate your help, since i got some scripts to test... and got another that needs to be tested, then to upload em as a pack.

thanks in advance.

Re: issues trying to re-build servers

Posted: Sun Dec 30, 2012 11:03 pm
by whasf
I'm just guessing but are you trying to use Visual Studio 2012? If so, use 2010

Re: issues trying to re-build servers

Posted: Sun Dec 30, 2012 11:19 pm
by bluekirby0
Install VS2010 SP1

Re: issues trying to re-build servers

Posted: Mon Dec 31, 2012 1:52 am
by Arthurious
roger that! i've been using VS C++ 2010... but i ll try to instal SP1, another thing seems like my pc has VS8,10,and 11 installed.. shall i uninstall em? or may that cause a failure?

Re: issues trying to re-build servers

Posted: Mon Dec 31, 2012 4:09 am
by bluekirby0
Actually installing vs11 is likely what caused this issue. The fix is the same regardless. You don't need to remove any other versions.

Re: issues trying to re-build servers

Posted: Tue Jan 01, 2013 7:32 pm
by Arthurious
i installed the sp1... and getting the same error... :S

Re: issues trying to re-build servers

Posted: Thu Jan 03, 2013 7:40 pm
by bluekirby0
Only other option is to disable incremental linking. If that doesn't work I dunno what to tell you. Expect your compile times to go up noticeably, though.

Re: issues trying to re-build servers

Posted: Fri Jan 25, 2013 2:56 am
by ryekel
im getting the same problem when trying to rebuild too ill try what ya said and give feed back

Re: issues trying to re-build servers

Posted: Fri Jan 25, 2013 4:40 am
by atom0s
whasf wrote:I'm just guessing but are you trying to use Visual Studio 2012? If so, use 2010
VS2012 works fine with DSP.

Re: issues trying to re-build servers

Posted: Fri Jan 25, 2013 9:50 am
by ryekel
well when building gameserver i keep getting this error

1>c:\dsp\src\map\status_effect_container.cpp(579): error C2601: 'CStatusEffectContainer::UpdateStatusIcons' : local function definitions are illegal
1> c:\dsp\src\map\status_effect_container.cpp(551): this line contains a '{' which has not yet been matched
1>c:\dsp\src\map\status_effect_container.cpp(616): error C2601: 'CStatusEffectContainer::SetEffectParams' : local function definitions are illegal
1> c:\dsp\src\map\status_effect_container.cpp(551): this line contains a '{' which has not yet been matched
1>c:\dsp\src\map\status_effect_container.cpp(657): error C2601: 'CStatusEffectContainer::LoadStatusEffects' : local function definitions are illegal
1> c:\dsp\src\map\status_effect_container.cpp(551): this line contains a '{' which has not yet been matched
1>c:\dsp\src\map\status_effect_container.cpp(702): error C2601: 'CStatusEffectContainer::SaveStatusEffects' : local function definitions are illegal
1> c:\dsp\src\map\status_effect_container.cpp(551): this line contains a '{' which has not yet been matched
1>c:\dsp\src\map\status_effect_container.cpp(735): error C2601: 'CStatusEffectContainer::CheckEffects' : local function definitions are illegal
1> c:\dsp\src\map\status_effect_container.cpp(551): this line contains a '{' which has not yet been matched
1>c:\dsp\src\map\status_effect_container.cpp(774): error C2601: 'CStatusEffectContainer::CheckRegen' : local function definitions are illegal
1> c:\dsp\src\map\status_effect_container.cpp(551): this line contains a '{' which has not yet been matched
1>c:\dsp\src\map\status_effect_container.cpp(828): fatal error C1075: end of file found before the left brace '{' at 'c:\dsp\src\map\status_effect_container.cpp(551)' was matched
1> status_effect.cpp

Only think left that had error to it