Jump to content
Sign in to follow this  
Stuffy

Question: Read data from files - Possible with the arma scripting language?

Recommended Posts

Hello,

first off, I don't know if this is the right place to ask this question. So if I posted in the wrong forum, I'm sorry.

Regarding my question:

I'm not new to programming (actually, I work as a programmer). I recently had a look into the arma scripting language, and while I understand everything, I was wondering if its possible to read or write data to files that are not-arma-related. I'm asking this because I want the arma2oa-server to communicate with another programm. The addon ACRE does this with pipes, which would be fine for me too. All I need are the ip's of the players connected to the server. I would really appreciate a hint into the right direction. Thanks.

Share this post


Link to post
Share on other sites

Hello,

Only IPs or IP+Nickname? To do what (to read it with the game or not) ? I mean, real-time processing or it can be with some delay? Explain yourself a little more.

BTW, I'm not sure that's the right section, it could be more appropriate in Servers & Administration Servers & Administration ;)

Share this post


Link to post
Share on other sites

I'm not new to programming (actually, I work as a programmer). I recently had a look into the arma scripting language, and while I understand everything, I was wondering if its possible to read or write data to files that are not-arma-related. I'm asking this because I want the arma2oa-server to communicate with another programm. The addon ACRE does this with pipes, which would be fine for me too. All I need are the ip's of the players connected to the server. I would really appreciate a hint into the right direction. Thanks.

Yea, it's possable, a friend of mine has been playing around with the idea of changing peoples in game gear via our website :D

These might be relevant to what you're looking for (I barely have a grasp SQF let along programing in general so it may not be relevent) callExtension and This Thread

Share this post


Link to post
Share on other sites

Check also Arma2Net and Carma

Share this post


Link to post
Share on other sites
Hello,

Only IPs or IP+Nickname? To do what (to read it with the game or not) ? I mean, real-time processing or it can be with some delay? Explain yourself a little more.

BTW, I'm not sure that's the right section, it could be more appropriate in Servers & Administration Servers & Administration ;)

Well, what I'm planning to do is check if a user who is ingame also is in teamspeak. If not, kick him of the server. I'll write a python or bash script (since the server runs on linux) which will do all the more complicated stuff. And some delay would be okay (a few minutes), but I would prefer real-time.

Yea, it's possable, a friend of mine has been playing around with the idea of changing peoples in game gear via our website :D

These might be relevant to what you're looking for (I barely have a grasp SQF let along programing in general so it may not be relevent) callExtension and This Thread

This looks interesting, I'll have a look at it, thanks.

Edit after reading dev-heaven:

The cstdio-extension from your clanmate looks good, but I dont think callExtension works on Linux (correct me if I'm wrong).

Also, a dll injection with a hotpatch on linux was mentioned. Anybody knows more about that?

Edited by Stuffy

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
Sign in to follow this  

×