zachtucker18 Posted September 23, 2016 Report Share Posted September 23, 2016 My issue is i cant get the vehicle trader to spawn vehicles it just pops up with the red arrow and then nothing. Another issue is that custom placed objects kinda take like 2 minutes to load into the game. Things i have tried to do and troubleshooting: works without infistar cleared database Scripts added: infistar single currency 3.0 rpt 1:35:54 "EPOCH SERVERTRADE: Player: ground hawg (76561198330073810) bought a Volha_2_TK_CIV_EP1 in/at trader city Stary for 5000x Coins" 21:35:54 Error in expression < _array select 5; _pos = _worldspace select 1; _txt = getText (configFile > 21:35:54 Error position: <select 1; _txt = getText (configFile > 21:35:54 Error select: Type Object, expected Array,Config entry im almost 99% sure it has to do with infistar the error is referring to ah.sqf and this bit of code 'PVDZE_veh_Publish2' addPublicVariableEventHandler { _array = (_this select 1); _worldspace = _array select 0; _class = _array select 1; _activatingPlayer = _array select 5; _pos = _worldspace select 1; _txt = getText (configFile >> 'CfgVehicles' >> _class >> 'displayName'); if(isNull _activatingPlayer || {!isPlayer _activatingPlayer})exitWith { _log = format['Vehicle spawned without valid player %1 (%2) | Position: %3',_class,_txt,_pos]; diag_log ('infiSTAR.de Log: '+_log); }; Link to comment Share on other sites More sharing options...
zachtucker18 Posted September 23, 2016 Author Report Share Posted September 23, 2016 its killing me not knowing what is causing this :'( Link to comment Share on other sites More sharing options...
sercanatici Posted October 26, 2016 Report Share Posted October 26, 2016 On 28/9/2016 at 4:10 PM, DuMa said: Replace your whole block of code with this. 'PVDZE_veh_Publish2' addPublicVariableEventHandler { _array = (_this select 1); _worldspace = _array select 1; _class = _array select 2; _activatingPlayer = _array select 5; _pos = _worldspace select 1; _txt = getText (configFile >> 'CfgVehicles' >> _class >> 'displayName'); if(isNull _activatingPlayer || {!isPlayer _activatingPlayer})exitWith { _log = format['Vehicle spawned without valid player %1 (%2) | Position: %3',_class,_txt,_pos]; diag_log ('infiSTAR.de Log: '+_log); }; Will fix it 100% Tested it and working :D Who ever done this iam so happy that i found this, i was having the same problem, thx alot Good Day or Night (what ever time you guys are having) Hobo Guy 1 Link to comment Share on other sites More sharing options...
JohnnyLube Posted October 26, 2016 Report Share Posted October 26, 2016 Yep I will second the above comment. Who ever found this fix is a star!! Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now