Jump to content
maihym

Making an addon

Recommended Posts

So my goal is to make a simple addon that will allow you to send rcon commands via the server and get a return. I know nothing about making DLLs or .so files and would like some help. Can anyone recommend a place where I start, like an example I could look at. I feel I learn best through examples and edits first.

Share this post


Link to post
Share on other sites

Maybe you could give a bit more information. Do you have programming experience?

If not, you may want to start here: 

https://mva.microsoft.com/en-us/training-courses/c-fundamentals-for-absolute-beginners-16169?l=Lvld4EQIC_2706218949

 

After Bob Taylor's course, you should be use this and create what you want:

https://community.bistudio.com/wiki/Extensions#How_to_make_an_extension_in_C.23

 

If you are an experienced programmer, you may want to try this: https://www.google.com/webhp?q=develop+arma+3+extension

Share this post


Link to post
Share on other sites
2 hours ago, Matthijs said:

Maybe you could give a bit more information. Do you have programming experience?

If not, you may want to start here: 

https://mva.microsoft.com/en-us/training-courses/c-fundamentals-for-absolute-beginners-16169?l=Lvld4EQIC_2706218949

 

After Bob Taylor's course, you should be use this and create what you want:

https://community.bistudio.com/wiki/Extensions#How_to_make_an_extension_in_C.23

 

If you are an experienced programmer, you may want to try this: https://www.google.com/webhp?q=develop+arma+3+extension

I'd say I'm fairly experienced when it comes to programming in Arma but I'm a novice when it comes to programming in c# or c++. I'm just trying to make the addon itself as simplistic as possible and only have it be the gateway. I want to just process everything through Arma because that's what I know. So essentially I was thinking of making it so the login details are hard coded into the addon and then using call extensions to just run raw rcon commands and receive raw rcon output. But I need to do this for a dll addon and a so addon because I run a Linux server.

1 hour ago, Heizanjs said:

Two words.

 

`Just. Learn`

Two words that provided no help whatsoever.

Share this post


Link to post
Share on other sites
12 hours ago, maihym said:

I'd say I'm fairly experienced when it comes to programming in Arma but I'm a novice when it comes to programming in c# or c++. I'm just trying to make the addon itself as simplistic as possible and only have it be the gateway. I want to just process everything through Arma because that's what I know. So essentially I was thinking of making it so the login details are hard coded into the addon and then using call extensions to just run raw rcon commands and receive raw rcon output. But I need to do this for a dll addon and a so addon because I run a Linux server.

Two words that provided no help whatsoever.

 

Okay, what type of rCon Commands do you want to send from the Server & get a return?

e.g. Player List? ?????

Share this post


Link to post
Share on other sites
14 hours ago, maihym said:

I'd say I'm fairly experienced when it comes to programming in Arma but I'm a novice when it comes to programming in c# or c++.

C#, is fairly easy to learn from Bob Taylor's series. Probably also a nice step-up to C++.

I never tried to compile on Linux using Mono (http://www.mono-project.com) and have not heard of it.

 

Trying to compile a C# library using Mono would be a nice contribution to the community if you figure out if it can be done. If it does not work, your newly acquired C# experience is probably a nice basis to get into C++.

 

Good luck!

Share this post


Link to post
Share on other sites
9 hours ago, Heizanjs said:

 

Okay, what type of rCon Commands do you want to send from the Server & get a return?

e.g. Player List? ?????

I would like to use player list, ban and kick. As of right now though. I'm sure I could find uses for other commands but not at the moment. Why do you ask?

7 hours ago, Matthijs said:

C#, is fairly easy to learn from Bob Taylor's series. Probably also a nice step-up to C++.

I never tried to compile on Linux using Mono (http://www.mono-project.com) and have not heard of it.

 

Trying to compile a C# library using Mono would be a nice contribution to the community if you figure out if it can be done. If it does not work, your newly acquired C# experience is probably a nice basis to get into C++.

 

Good luck!

I'm not sure if I want to use C# as I said I am a novice at C# and C++. At this point I just want to use the simplest language as possible. I would prefer to use libraries that are compatible with Windows and Linux though.

Share this post


Link to post
Share on other sites
17 hours ago, maihym said:

I'm not sure if I want to use C# as I said I am a novice at C# and C++. At this point I just want to use the simplest language as possible. I would prefer to use libraries that are compatible with Windows and Linux though.

If you want to create an extension (.dll / .so), I don't think you will have any other option than using C++ or C#.

Share this post


Link to post
Share on other sites
1 hour ago, Matthijs said:

If you want to create an extension (.dll / .so), I don't think you will have any other option than using C++ or C#.

Which is an easier language to understand in your opinion?

Share this post


Link to post
Share on other sites

C# is easier. 

 

---

On 8-12-2017 at 4:00 PM, Matthijs said:

C#, is fairly easy to learn from Bob Taylor's series. Probably also a nice step-up to C++.

I never tried to compile on Linux using Mono (http://www.mono-project.com) and have not heard of it.

 

Trying to compile a C# library using Mono would be a nice contribution to the community if you figure out if it can be done. If it does not work, your newly acquired C# experience is probably a nice basis to get into C++.

 

 

On 8-12-2017 at 11:34 PM, maihym said:
 

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×