Jump to content
nkey

Task Force Arrowhead Radio

Recommended Posts

Hey, just wanted to say thanks for this mod! Been using it since it came out and each new update has improved the game for us considerably. :) Thanks for listening to the feedback and improving things!

I wanted to quickly check, is there any one here who can confirm that they managed to get TFAR working on a windows 8 machine? I'm on windows 7 myself, so I don't really know.

Thanks!

Share this post


Link to post
Share on other sites
Hm. THere is server on Altis Life server with 13 player currently. Could you provide link to mission? (possible it is because incorrect frame handler)

Altis Life can be found here. I have modyfied it for my own server, but nothing concerning frame handlers...

Altis Life : http://forums.bistudio.com/showthread.php?168139-Altis-Life-RPG

Thank you for hearing my request nkey :)

Edited by Profecy

Share this post


Link to post
Share on other sites

@Profecy

It appears that Altis Life makes use of onEachFrame in core\functions\fn_playerTags.sqf instead of using something like BIS_fnc_addStackedEventHandler.

Also it makes use of clearing onEachFrame on line 166 in dialog\settings.hpp instead of BIS_fnc_removeStackedEventHandler.

@FatalCrash

On Windows 8.1 and it works fine for me.

Share this post


Link to post
Share on other sites

@Lordheart Thanks mate!

Also, would like to point out to anyone else having the same problem:

We experienced a player whose mod was set up perfectly fine, yet could not get it working in game and reported teamspeak was spamming him with error messages. Turns out if your A3 profile is named something that isn't acceptable on TS, and TFAR tries to change your TS nick to reflect your A3 name, the whole mod basically comes to a halt. Not a big problem, but just wanted to get it out there.

Share this post


Link to post
Share on other sites

To clarify, he does have other plugins. Its just that Task force plugin is not showing up.

We moved the TS client from x86 just in case, still nothing.

Everyone Else Can get it to work just fine, its just him for some strange reason.

It is Windows 7 Ultimate. Maybe that might have soemthing to do about it?

also, what do you mean provide path to Dll?

All other plugins (including ones that come with TS) are there for him.

Share this post


Link to post
Share on other sites

Windows 7 Ultimate shouldn't cause issues.

Is it the 32 bit or 64 bit version of Win 7?

Is he running the correct Teamspeak client for his version of windows? As in, 64bit TS client on 64bit windows (can't do 64 on 32 so that won't be an issue).

Has he tried copying both the 64 and 32 bit dll into the plugins folder?

If he is launching Arma as admin is he launching TS as admin as well or vice versa?

Share this post


Link to post
Share on other sites
Windows 7 Ultimate shouldn't cause issues.

Is it the 32 bit or 64 bit version of Win 7?

Is he running the correct Teamspeak client for his version of windows? As in, 64bit TS client on 64bit windows (can't do 64 on 32 so that won't be an issue).

Has he tried copying both the 64 and 32 bit dll into the plugins folder?

If he is launching Arma as admin is he launching TS as admin as well or vice versa?

Thanks. He had the wrong bit type...

Share this post


Link to post
Share on other sites
@Profecy

It appears that Altis Life makes use of onEachFrame in core\functions\fn_playerTags.sqf instead of using something like BIS_fnc_addStackedEventHandler.

Also it makes use of clearing onEachFrame on line 166 in dialog\settings.hpp instead of BIS_fnc_removeStackedEventHandler.

Thank. You. Sooooo. Much.

I managed to fix the mission with the info you provided :)

Share this post


Link to post
Share on other sites

@profecy

No problem.

By the way, you have a new GitHub follower :) Love your code changes to the plugin. I hope nkey likes them as well!

Share this post


Link to post
Share on other sites

Just did the time consuming tedious work, to free nKey from it. This should allow him to focus on bug fixes and improvements and I'll try to help where I can.

Share this post


Link to post
Share on other sites

I am having the same issue with the short range radios not distributing. What is the solution for it?

Thank you

Share this post


Link to post
Share on other sites

I'm trying to bind the radio's to my stick.

When I bind it to one of my stick buttons it gives this code in the profile file: 131330.

So I edit the HPP file so it looks like this:

class tanget_lr {

key = 131330;

ctrl = 0;

shift = 0;

alt = 0;

That should do it right?

Well. it doesn't...

Any ideas?

Share this post


Link to post
Share on other sites
I am having the same issue with the short range radios not distributing. What is the solution for it?

Thank you

Looks like problem with addon start at server side. If userconfig placed on server?

---------- Post added at 19:39 ---------- Previous post was at 19:38 ----------

I'm trying to bind the radio's to my stick.

When I bind it to one of my stick buttons it gives this code in the profile file: 131330.

So I edit the HPP file so it looks like this:

class tanget_lr {

key = 131330;

ctrl = 0;

shift = 0;

alt = 0;

That should do it right?

Well. it doesn't...

Any ideas?

Hm... Possible it is some kind of CBA\Arma limitation... Have you tried to bin stick to some other addon key?

Share this post


Link to post
Share on other sites
Just did the time consuming tedious work, to free nKey from it. This should allow him to focus on bug fixes and improvements and I'll try to help where I can.

Thanks a lot for your hard work.

Also, just a liitle of bragging.

Wrote small Java program to estimate addon popularity using data from http://arma3.swec.se/server/list (dedicated server, playing and waiting).

This is program:

package by.nkey.arma.statistic;

import org.w3c.dom.Document;
import org.w3c.dom.Node;
import org.w3c.dom.NodeList;
import org.xml.sax.SAXException;

import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
import javax.xml.parsers.ParserConfigurationException;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Comparator;
import java.util.List;
import java.util.Map;
import java.util.TreeMap;

public class Main {

   public static void main(String[] args) throws IOException, SAXException, ParserConfigurationException {

       DocumentBuilderFactory dbFactory = DocumentBuilderFactory.newInstance();
       DocumentBuilder dBuilder = dbFactory.newDocumentBuilder();
       Document doc = dBuilder.parse(
               "http://arma3.swec.se/server/list.xml?country=&filter_dedicated=1&mquery=&nquery=&state_playing=1&state_waiting=1");
       doc.getDocumentElement().normalize();

       Map<String, Integer> mod2Count = new TreeMap<String, Integer>();
       NodeList mods = doc.getDocumentElement().getElementsByTagName("mod");
       for (int q = 0; q < mods.getLength(); q++) {
           Node mod = mods.item(q);
           String modString = mod.getTextContent().trim();
           for (String modName : modString.split(";")) {
               if (!modName.isEmpty()) {
                   modName = modName.toLowerCase().trim();
                   if (!mod2Count.containsKey(modName)) {
                       mod2Count.put(modName, 0);
                   }
                   mod2Count.put(modName, mod2Count.get(modName) + 1);
               }
           }
       }

       List<Map.Entry<String, Integer>> entries = new ArrayList<Map.Entry<String, Integer>>();
       entries.addAll(mod2Count.entrySet());
       Collections.sort(entries, new Comparator<Map.Entry<String, Integer>>() {
           @Override
           public int compare(Map.Entry<String, Integer> o1, Map.Entry<String, Integer> o2) {
               return o2.getValue().compareTo(o1.getValue());
           }
       });
       for (Map.Entry<String, Integer> modStat : entries) {
           System.out.println(modStat.getKey() + "\t" + modStat.getValue());
       }

   }
}

Results are not 100% accurate, but mostly OK.

Result (few positions from top):

  • arma 3 1794
  • community base addons: a3 beta 688
  • task force arrowhead radio 306
  • @arma2net 208
  • @life_server 198
  • a3c - arma 3 map pack v1.* 174
  • @acre 173
  • @jayarma3lib 149
  • alive - advanced light infantry virtual environment 125
  • @js_jc_fa18 118
  • @mcc_sandbox 118
  • @inidb 84
  • tmr modular realism 83
  • @asm 78
  • vts weapon resting 1.0 68
  • @asdg_jr 63
  • r3f armes 3.2 61
  • xeventsystem 58
  • @sthud 57
  • bundeswehr mod 49
  • @zeu 48
  • @nimitz 46
  • @fhq_accessories 45
  • @rh_m4 45
  • @nato_russian_sf_weapons 44
  • jsrs 2.0 44
  • commander's tablet / fbcb2 - blue force tracking 38
  • @fa18_a3 34
  • @sthud_a3 34
  • pg services pmc v0.6 34
  • @mcc_sandbox_a3 33
  • @js_jc_su35 32
  • @blastcore-a3 30
  • @nato 28
  • xmedsys - 0.2.0 beta 28
  • @mas 26
  • vts ballistic 1.0 25
  • @rh_m4_a3 24
  • @zeus 23
  • @cba_a3 22
  • mag repack [3.0.2] 22
  • flashbang 21
  • @asdg_attachments 19
  • @mikes 19
  • @sud_russians 19
  • arma***3 19
  • caf aggressors v 1.0 19
  • rq-11b raven - v. 2.1 19
  • us army inspired units 19
  • @ffisv1.25 18
  • @inidbi 18
  • tactical battlefield 18
  • @ffis 17
  • @kdk_mohawk 17
  • ultimax/scar weapon pack 17
  • @breakingpoint 16
  • @breakingpointserver 16
  • @fhq_m4_a3 16
  • @hiddenidentitypack 16
  • xmedsys - 0.1.3 beta 16
  • @african_conflict 14
  • vts duckhunt 1.0 14
  • @blastcore_a3 13
  • @mbg_killhouses_a3 13
  • bcombat ai mod v0.15 13
  • @french_sf 12
  • hellenic armed forces mod 12
  • vts gesture 1.0 12
  • @hive 11
  • @tao_foldmap_a3 11
  • asr ai3 - 102501 11
  • xmedsys 11
  • @deadnation 10
  • @hiddenidentitypackv3 10
  • @jayarma2lib 10
  • @m107 10
  • @mcc 10
  • @usmc_a3_v1.0 10
  • f-35b lightning ii 10
  • r3f uniformes 3.1 10
  • tpw mods: enhanced realism/immersion for arma 3 10

So, thanks EVERYONE :)

Edited by nkey

Share this post


Link to post
Share on other sites

Thanks so much for making Task Force Arrowhead Radio! My community loves it and we definitely hope to see more functionality.

Share this post


Link to post
Share on other sites

TFR is awesome just because you do "Tchac Tchac" to acknowledge order (and also for performance and easy use and ...).

Share this post


Link to post
Share on other sites
Looks like problem with addon start at server side. If userconfig placed on server?

---------- Post added at 19:39 ---------- Previous post was at 19:38 ----------

Hm... Possible it is some kind of CBA\Arma limitation... Have you tried to bin stick to some other addon key?

That was it. Thank you. Excellent job on it.

Share this post


Link to post
Share on other sites
That was it. Thank you. Excellent job on it.

Hm.. I am not sure... Have you solve the problem?

Share this post


Link to post
Share on other sites

What are the class names for the small radios. I want to put them in Boxes!

Share this post


Link to post
Share on other sites
What are the class names for the small radios. I want to put them in Boxes!

Check messages in thread. It is not an easy task currently because unique radio ID. In next version I have plan to add special items for such purpose.

Share this post


Link to post
Share on other sites

this mod can break campain (chapter 2, mission 1) currently as it replaces the default radio with the TFR one instant as soon as you pick it up

Share this post


Link to post
Share on other sites
this mod can break campain (chapter 2, mission 1) currently as it replaces the default radio with the TFR one instant as soon as you pick it up

No reason to run this addon in SP since it has effect only during MP.

Share this post


Link to post
Share on other sites
Check messages in thread. It is not an easy task currently because unique radio ID. In next version I have plan to add special items for such purpose.

Is it not smarter to have a class name say: TFR_148 as a radio, and then when you add the item _unit addItem "TFR_148"; it checks the IDs of radios and adds a unique name to the radio?? That way you can always add radios in real time without having to figure out what radios are already in the game...

Share this post


Link to post
Share on other sites
Is it not smarter to have a class name say: TFR_148 as a radio, and then when you add the item _unit addItem "TFR_148"; it checks the IDs of radios and adds a unique name to the radio?? That way you can always add radios in real time without having to figure out what radios are already in the game...

Yep, I also mentioned this bug :) But BIS says to avoid using addons during the campaign. I can't know where addon break something in campaign....

---------- Post added at 21:06 ---------- Previous post was at 21:04 ----------

Is it not smarter to have a class name say: TFR_148 as a radio, and then when you add the item _unit addItem "TFR_148"; it checks the IDs of radios and adds a unique name to the radio?? That way you can always add radios in real time without having to figure out what radios are already in the game...

Yes, this is almost exact plan - add some kind of radio prototypes items (which are replaced to items with unique ID).

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

×