[C++] Help with Compiling
Can someone give me a link to a tutorial telling me how to add a custom C++ file to the server or tell me how to do it on here. I've been searching for days now and I must not be searching for the right thing because I just get people saying "you need to compile it" and I have no idea how to do that.
Re: [C++] Help with Compiling
What do you mean "custom c++ file"?
Like a creature script or something?
Re: [C++] Help with Compiling
Quote:
Originally Posted by
distructobob
Can someone give me a link to a tutorial telling me how to add a custom C++ file to the server or tell me how to do it on here. I've been searching for days now and I must not be searching for the right thing because I just get people saying "you need to compile it" and I have no idea how to do that.
I believe they mean, and you have the concept wrong, that you cannot just add a C++ file to your server like, that *snap*, you have to create the entire server from scratch i.e. compile, to learn more about this you should prolly go to the Mangos home page and learn about that.
Re: [C++] Help with Compiling
That's correct. If you want to "add" a custom C++ file you can't just plop it in. If you want to modify one you'll need to patch the core. Otherwise you'll need to add the new files and make sure the solution file is properly setup. You'll need to have the C++ Header files "#include" -ing the correct files. I wouldn't suggest it unless you're adding a custom C++ Script into sd2.