Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IED not linkable with cellphone #5808

Closed
jarckn opened this issue Nov 22, 2017 · 6 comments · Fixed by #5963
Closed

IED not linkable with cellphone #5808

jarckn opened this issue Nov 22, 2017 · 6 comments · Fixed by #5963
Labels
Milestone

Comments

@jarckn
Copy link

jarckn commented Nov 22, 2017

Arma 3 Version: 1.76.143187 (stable)
CBA Version: 3.4.1.170912 (stable)
ACE3 Version: 3.11.0 (stable e769d09)

Mods:

- CBA_A3
- ACE3
- ACEX
- RHSUSAF
- RHSAFRF
- RHSGREF
- RHSSAF
- BWMod
- Enhanced Movement
- task_force_radio
- WMO - Walkable Moving Objects
- Tanoa Tidesystem
- Stratis Tidesystem
- Altis Tidesystem
- ACE Compat - RHS: GREF
- ACE3 - BWMOD Compatibility
- ACE Compat - RHS Armed Forces of the Russian Federation
- ACE Compat - RHS United States Armed Forces
- Advanced Towing
- Advanced Sling Loading
- voyagerCompass HUD

Description:

  • While linking an IED with a cellphone, the automatic adding of the speed dial code doesn't get added.

Steps to reproduce:

  • Place any IED
  • Try to link it with a cellphone
  • Dial with the cellphone

Where did the issue occur?

  • Editor (Singleplayer)

Placed Modules:

  • None

RPT log file:

Screenshots

@bux
Copy link
Member

bux commented Nov 22, 2017

If you have found an issue with ACE3 please make sure that ACE3 really is the cause of the problem. To do this try to reproduce the issue with using only CBA_A3 and ace on a newly created mission.

@jarckn
Copy link
Author

jarckn commented Nov 22, 2017

Same error on a newly created map with only cba and ace enabled. :)

@acemod-bot
Copy link
Member

Hello @jarckn! There has been no activity on this ticket for over a period of 30 days. I am automatically replying to let you know we will close this ticket within 1 week due to inactivity and consider this resolved.

If you believe this is in error, please reply with the requested information.

Thank you. 🤖

@jarckn
Copy link
Author

jarckn commented Dec 22, 2017

Well, I replied actually. But I'll check if this issue still persists in A3 1.80 and ACE3 3.12.

@bux
Copy link
Member

bux commented Dec 23, 2017

9:25:48 Error in expression <];
private _found = false;

if ((_code) == "") exitWith {
[_name] call ace_explo>
 9:25:48   Error position: <== "") exitWith {
[_name] call ace_explo>
 9:25:48   Error ==: Type code, expected Number,String,Not a Number,Object,Side,Group,Text,Config entry,Display (dialog),Control,Network Object,Team member,Task,Location
 9:25:48 File z\ace\addons\explosives\functions\fnc_addToSpeedDial.sqf, line 10
 9:25:48 Error in expression <];
private _found = false;

if ((_code) == "") exitWith {
[_name] call ace_explo>
 9:25:48   Error position: <== "") exitWith {
[_name] call ace_explo>
 9:25:48   Error Generic error in expression
 9:25:48 File z\ace\addons\explosives\functions\fnc_addToSpeedDial.sqf, line 10

Can confirm. Happens in ACE3 v3.12.0.

@dedmen
Copy link
Contributor

dedmen commented Dec 23, 2017

_code is set privately in this scope

private _code = str(round (random 9999));

And will be nil by
private _count = GVAR(CellphoneIEDs) pushBack [_explosive,_code,GetNumber(ConfigFile >> "CfgMagazines" >> _magazineClass >> "ACE_Triggers" >> "Cellphone" >> "FuseTime")];

And then calls addToSpeedDial with nil or any other _code variable from any upper scope which is probably what is happening.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants