Jump to content
  • 0

infiSTAR blocking the "select new target feature with RQ-11 Raven Drone


DangerRuss

Question

Idk how many of you have ever actually implemented the RQ-11 backpack onto your servers but I seem to have an issue... everything works except when you select a new target on the map for the raven to travel, and you're a non admin, it doesn't actually move. It stays in the circular holding pattern around your player. Everything else works with the raven except that but I can't seem to figure out what part of infiSTAR is blocking it. Any ideas? Perhaps like a  map click block?

Link to comment
Share on other sites

10 answers to this question

Recommended Posts

  • 0

Ahh, I was going to ask the same question...thank you.

Edit: Hmm, I have mine set to false already but my players still have the same problem...

Was there anything else that had to be changed?

And id this setting just in the config or is there another place to change it?

Edited by Hux
Link to comment
Share on other sites

  • 0

I went through the AH.sqf and searched for onmapsingleclick and removed it from where it seemed relevant. I believe it was around where the _UAT variable is being defined.

My antihack is pretty old so idk if the code is the same but I found this little area here

Keep in mind removing this check weakens your antihack. Yours may look different but this should help point you in the right direction.

onEachFrame {"+_oneachframe+"=diag_tickTime;onMapSingleClick '';};

	                };

	                onMapSingleClick '';

	                if("+str _UAT+") then {
 

and removed the 

onEachFrame {"+_oneachframe+"=diag_tickTime;};

	                };

	               

	                if("+str _UAT+") then {

 

 

 

Link to comment
Share on other sites

  • 0
6 hours ago, DangerRuss said:

I went through the AH.sqf and searched for onmapsingleclick and removed it from where it seemed relevant. I believe it was around where the _UAT variable is being defined.

My antihack is pretty old so idk if the code is the same but I found this little area here

Keep in mind removing this check weakens your antihack. Yours may look different but this should help point you in the right direction.


onEachFrame {"+_oneachframe+"=diag_tickTime;onMapSingleClick '';};

	                };

	                onMapSingleClick '';

	                if("+str _UAT+") then {


 

and removed the 


onEachFrame {"+_oneachframe+"=diag_tickTime;};

	                };

	               

	                if("+str _UAT+") then {


 

 

 

Ahh ok, I'll try that...

Thank you.

Link to comment
Share on other sites

  • 0
On 3/14/2016 at 11:19 AM, DangerRuss said:

I went through the AH.sqf and searched for onmapsingleclick and removed it from where it seemed relevant. I believe it was around where the _UAT variable is being defined.

My antihack is pretty old so idk if the code is the same but I found this little area here

Keep in mind removing this check weakens your antihack. Yours may look different but this should help point you in the right direction.


onEachFrame {"+_oneachframe+"=diag_tickTime;onMapSingleClick '';};

	                };

	                onMapSingleClick '';

	                if("+str _UAT+") then {


 

and removed the 


onEachFrame {"+_oneachframe+"=diag_tickTime;};

	                };

	               

	                if("+str _UAT+") then {


 

 

 

My AH.sqf is different but this is what I found:

Spoiler

                            "+_clickOnMapTimer+" = time;
                            onMapSingleClick ''"+_clickOnMapTimer+" = time;'';
                            if(isNil''"+_clickOnMapCaught+"'')then{"+_clickOnMapCaught+" = 0};
                            "+_clickOnMapCaught+" = "+_clickOnMapCaught+" + 1;
                            if("+_clickOnMapCaught+" >= 3)then
                            {
                                _log = ''MapSingleClick modified - probably Teleport Hack'';
                                [name player,getPlayerUID player,''SLOG_SKICK'',toArray(_log)] call "+_randvar138337+";
                                (findDisplay 46)closeDisplay 0;
                            };
                        };
                    };
                ';
                onMapSingleClick '"+_clickOnMapTimer+" = time;';
                ((findDisplay 12) displayCtrl 51) ctrlSetEventHandler ['MouseButtonClick',_MBC];
                ((findDisplay 12) displayCtrl 51) ctrlAddEventHandler ['MouseButtonClick',_MBC];
            "; }; _AHstring = _AHstring + "
            while{1 == 1}do
            {
                {((findDisplay 12) displayCtrl 51) ctrlRemoveAllEventHandlers _x;} forEach ['MouseButtonDblClick','MouseButtonClick','MouseButtonDown','MouseButtonUp','Draw'];
                "; if(_OMC)then{ _AHstring = _AHstring + "
                    ((findDisplay 12) displayCtrl 51) ctrlSetEventHandler ['MouseButtonClick',_MBC];
                    ((findDisplay 12) displayCtrl 51) ctrlAddEventHandler ['MouseButtonClick',_MBC];
                "; }; _AHstring = _AHstring + "
                "; if(!_OMC)then{ _AHstring = _AHstring + "
                    onMapSingleClick '';
                "; }; _AHstring = _AHstring + "

 

Could I just  comment out that whole section of code or just remove the onMapSingleClick ?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...