View Single Post
Re: Turn off Bots shooting back after Teamattack
Old
  (#51)
The Storm
Council Member / E[POD]bot developer
 
The Storm's Avatar
 
Status: Offline
Posts: 1,618
Join Date: Jul 2004
Location: Bulgaria
Default Re: Turn off Bots shooting back after Teamattack - 30-06-2018

@RoboCop You seem to be using the dynamic C runtime for Windows(MSVCR120.dll and MSVCV120.dll) which also means that you are using Microsoft Visual Studio 2013. So here you are two things:

1. Link with the static runtime for best compatibility, else the end users will have to install the VC++ redistributable packages. To link with the static runtime go to Project Properties => C/C++ => Code Generation and on the section Runtime Library choose "Multi-threaded Debug(/MTd)" for the debug configuration and "Multi-threaded(/MT)" for the Release configuration. Rebuild the project and publish a new zip.

2. MS Visual Studio 2013 is one of the most buggy VS ever released. I highly recommend to update to MS Visual Studio 2017.

3. The dynamic runtime is actually good when you have big project with lots of .exe and .dll files, because it will save you lots of trouble and file size but here for a single .dll the best suit is the static runtime.
  
Reply With Quote