Jump to content

-JpS-RaptorMan

Member
  • Content Count

    28
  • Joined

  • Last visited

  • Medals

Everything posted by -JpS-RaptorMan

  1. Looking for a way to get a mission name ... from inside the arma 3 dedicated server. _currentMission = format ["'%1'", missionName]; // output: __cur_mp ... google isn't really helping even when I use `site:bohemia.net` ... is parsing the file system for pbo or server.cfg the only way?
  2. Bitbucket gave up mercurial support this year ... found someone had backed up the wiki too! https://github.com/SteezCram/extDB3/wiki
  3. I was reading on https://community.bohemia.net/wiki/PreProcessor_Commands#EXEC about their stuff - it's pretty short - what sorts of things have people done with macros in general? Specifically eval / exec? Only close hit was debugging output removed / added via macro
  4. I dug around with google search against site:https://forums.bohemia.net/ & had read the related wiki pages already ... but I am trying to clean up my server.cfg & the long list of changes my squad uses for mission parameters is pretty redundant. Is there anyway to share the mission parameter list between maps (I know sqf isn't really OO, but the underlying system for arma3 is)? I took a few stabs at various formats but not having much luck ... // // --- Mission file settings // class Missions { class Mission_1 { template = "Antistasi-WotP-2-3.Tanoa"; difficulty = "regular"; class Params { AntistasiJps001; }; }; class Mission_2 { template = "Antistasi-Altis-2-3.Altis"; difficulty = "regular"; class Params { AntistasiJps001; }; }; class Params { class AntistasiJps001 { loadsave = 1; gameMode = 1; autoSave = 1; autoSaveInterval = 3600; membership = 1; ... }; }; }; Thanks!
  5. I'm having issues making the wiki examples work - can't get access to do more on there ... https://community.bistudio.com/wiki/unitTurret I've ran google with "aram3 unitTurret site:bistudio.com" to find all the mentions & it looks like a real dud ... but no documentation that it's broken. I've a chunk of time on this, read other wiki links from it etc. There is no one else according to google who's asked this question before (BI's search feature time limits you after the first 10 or 15 searches within 15 minutes or some threshold & I do way more research than that. The closest I got to anything helpful was ... // Am running via console in VR mission sitting in a mg turret Example 1: _vehicle unitTurret _gunner; Example 2: vehicle player unitTurret player; My result ... Code Example 2: vehicle player unitTurret player; Error: 'vehicle player |#|unitTurret player;' Error Missing ; The other example fails too Code Example: _v = (vehicle player); _v unitTurret player; Error: '_v = (vehicle player); _v |#|unitTurret player;' Error Missing ;
  6. -JpS-RaptorMan

    unitTurret wiki correct?

    Lolz - so this doesn't mean it's for developers huh? 😉 Ty ... missed that because turretUnit isn't & that was a direct link I followed per other people's advice of following all the links in my last post - my assumption of good organizational approaches on the wiki cost me a chunk of time doing research for nothing 😞
  7. private _ourScores = ["T.T", "1"]; aValue = (ourScores select 0); // Note - no underscore hint format ["This is ... %1", aValue]; // I still get "T.T" output in hint It appears that the watch variable option in the debugger only works without the underscore - discovered this by myself - haven't found a good tutorial on how to use watch vars by anyone (likely due to spam of 101 stuff that just says, "Yea there's a watch var thing") I also then played a bit & found I can declare the '_' symbol and then not use it in the code, but we still work?! Does this break somewhere later down the line like compiling?
  8. I haven't had a scope issue yet - but will keep in mind you said there is some weirdness with scopes from arma3's sqf that aren't in normal programming languages. Yea - have seen these before, I do recommend him - have watched like 8 of his series in last month to do due diligence on it Do you know what happened to him? He's more current with most of his stuff - but when I started, I noted that he dropped off about 2 years ago.
  9. Ty tank - I noticed that when they used diag_log they can spit out arrays - so that's a good reason to use. Yea - on the other part - you can absolutely say whatever you want - but essentially "study more" doesn't give any direction or tips. It's better for me if someone doesn't have time, but can give me a name & media source to study. I've been on the scripting tutorial master list - but have no idea who is best for beginners versus intermediate/advance programmers, youtube is a problem to find more stuff I can use after the initial 101 stuff - to get into actual details.
  10. ty Harzach...have seen it in scripts but never looked it up! Probably an essential feature if using hint 🙂 I've seen the equivalent in c families before for clearing console & should have thought about that!!
  11. Actually that was it ... Arma3 eden editor doesn't clear the hints when the next command executes or fails to execute - perhaps it's hanging? Then to compound that issue - it fails/hangs indefinitely AND silently without even a -1 or such, nothing the RPT either. So that was that the issue - just oddities in the arma debugger - guess it comes with the territory of working a 2012 game...I really need to get the arma debugger engine outside the game working for vscode. Thanks pierremgi! I thought I was going crazy by the 5th time through the script process
  12. That's why I'm scratching my head man! You can clearly see the code i posted used the aValue = (ourScores BUT ... that variable doesn't exist ... only _ourScores Existed at the time. Totes calm bro - just asking the trolls to stay out of it. The only explanation I can remotely come up with is the arma3 eden editor has a flaw where it doesn't clear the hint & the hint stays up there - then eden has a second flaw where it doesn't return zero / negative / anything when it doesn't work. That's the only thing that makes remote sense I as I scroll through the eden editor command sequence & ran all 10 commands related to this again.
  13. Answers like this are waste of your time - unless you're padding some forum count. If you delete this, you won't be wasting everyone else reading the thread's time too.
  14. I've read it twice before posting - perhaps is a context meaning I'm missing ... I don't see anything in there about how the underscore symbol is or is irrelevant. The implication being that the arma3 engine isn't handling the '_' as a literal in there & that's why I asked if things break later on as I am using what appears to be two different variable names - but the eden editor doesn't and this might or might not effect the code being ran on the server. It doesn't appear to be documented in a way I can find via google with site:forums.bohemia.net either ... Can you confirm you saw that ... aValue should be undefined as there is no variable for ourScores, only for _ourScores ? I'm probably missing where you're going with this - but - none of the steps your'e talking about seem related to what I'm discussing & I'm trying to connect the dots. (I am doing MP too btw)
  15. -JpS-RaptorMan

    [MP][COOP] Vindicta (Alpha)

    Does anyone have links on any tutorials or such?
  16. -JpS-RaptorMan

    Can someone explain this rpt spam?

    I'm not going to trouble shoot much more as the antistasi dev's a slew of fixes coming in 2.3.3 - which should help - so until that point probably won't chase this much more. Just for historical purposes - here's the set of code preceding the first error of this type ... My observations summarized ... I notice that all of these are Object 2 The numbers repeat each minute. In the first day of the error there are 30 of these messages per minute - between 6 unique Object 2 id's (3971, 3970, 4108, 4107, 2970, 2971) On the second day there are 196 per minute of these messages & the number of unique ID's on object 2 has gone up There are 17+ mentions of these two error types I could find & besides being arma3 - nothing seems to be overly frequent Incase I lose my link in my private blog post - the most concise summary of the issue trackers out there - Link 8:19:35 "Logging Reinforcement:" 8:19:35 " Reinforcement, element 0: [""B_MRAP_01_hmg_F"",[],[]]" 8:19:35 " Reinforcement, element 1: ["""",[""B_Crew_F"",""B_Crew_F""],[]]" 8:19:35 " Reinforcement, element 2: [""B_APC_Tracked_01_rcws_F"",[],[]]" 8:19:35 " Reinforcement, element 3: ["""",[],[""B_soldier_SL_F"",""B_Soldier_F"",""B_soldier_TL_F"",""B_soldier_AR_F"",""B_soldier_A_F"",""B_support_Mort_F"",""B_support_AMort_F"",""B_medic_F""]]" 8:19:35 " Reinforcement, element 4: ["""",[],[""B_soldier_SL_F"",""B_Soldier_F"",""B_soldier_TL_F"",""B_soldier_AR_F"",""B_soldier_A_F"",""B_engineer_F"",""B_engineer_F"",""B_medic_F""]]" 8:19:35 "26353.7: [Antistasi] | DEBUG | fn_selectReinfUnits | Units selected, crew is [""B_Crew_F"",""B_Crew_F"",""B_Crew_F""], cargo is [""B_soldier_SL_F"",""B_Soldier_F"",""B_soldier_TL_F"",""B_soldier_AR_F"",""B_soldier_A_F"",""B_support_Mort_F"",""B_support_AMort_F"",""B_medic_F""]" 8:19:35 "CreateAIAction[651]: Created AI action to reinforce from airport_1 to factory_6 with 1 vehicles and 11 units" 8:19:35 "Pathfinding: Start 680 at [23075.8,18812.5,0] End 1142 at [20671.3,15727,0]" 8:19:35 "Pathfinding: Successful finished pathfinding in 0.251953 seconds" 8:19:35 "CreateConvoy[651]: Created convoy with 16.6667 m/s and a total of 40 waypoints, marker is b_mech_inf" 8:19:45 "CreateAIAction[115]: Started creation of reinforce action to resource_7" 8:19:45 "26363.6: [Antistasi] | DEBUG | shouldReinforce | Checking if airport should reinforce resource_7" 8:19:45 "26363.6: [Antistasi] | DEBUG | shouldReinforce | Checking if airport_1 should reinforce resource_7" 8:19:45 "26363.6: [Antistasi] | DEBUG | shouldReinforce | Checking if airport_3 should reinforce resource_7" 8:19:45 "26363.6: [Antistasi] | DEBUG | shouldReinforce | Checking if airport_4 should reinforce resource_7" 8:19:45 "26363.6: [Antistasi] | DEBUG | shouldReinforce | Checking if airport_5 should reinforce resource_7" 8:19:45 "26363.6: [Antistasi] | DEBUG | shouldReinforce | Checking if outpost should reinforce resource_7" 8:19:45 "26363.6: [Antistasi] | DEBUG | shouldReinforce | Checking if outpost_1 should reinforce resource_7" 8:19:45 "26363.6: [Antistasi] | DEBUG | shouldReinforce | Checking if outpost_10 should reinforce resource_7" 8:19:45 "26363.6: [Antistasi] | DEBUG | shouldReinforce | Checking if outpost_11 should reinforce resource_7" 8:19:45 "26363.6: [Antistasi] | DEBUG | shouldReinforce | Checking if outpost_12 should reinforce resource_7" 8:19:45 "26363.6: [Antistasi] | DEBUG | shouldReinforce | Checking if outpost_13 should reinforce resource_7" 8:19:45 "26363.6: [Antistasi] | DEBUG | shouldReinforce | Checking if outpost_16 should reinforce resource_7" 8:19:45 "26363.6: [Antistasi] | DEBUG | shouldReinforce | Checking if outpost_17 should reinforce resource_7" 8:19:45 "26363.6: [Antistasi] | DEBUG | shouldReinforce | Checking if outpost_18 should reinforce resource_7" 8:19:45 "26363.6: [Antistasi] | DEBUG | shouldReinforce | Checking if outpost_19 should reinforce resource_7" 8:19:45 "26363.6: [Antistasi] | DEBUG | shouldReinforce | Checking if outpost_2 should reinforce resource_7" 8:19:45 "26363.6: [Antistasi] | DEBUG | shouldReinforce | Checking if outpost_20 should reinforce resource_7" 8:19:45 "26363.6: [Antistasi] | DEBUG | shouldReinforce | Checking if outpost_21 should reinforce resource_7" 8:19:45 "26363.6: [Antistasi] | DEBUG | shouldReinforce | Checking if outpost_23 should reinforce resource_7" 8:19:45 "26363.6: [Antistasi] | DEBUG | shouldReinforce | Checking if outpost_25 should reinforce resource_7" 8:19:45 "26363.6: [Antistasi] | DEBUG | shouldReinforce | Checking if outpost_27 should reinforce resource_7" 8:19:45 "26363.6: [Antistasi] | DEBUG | shouldReinforce | Checking if outpost_28 should reinforce resource_7" 8:19:45 "26363.6: [Antistasi] | DEBUG | shouldReinforce | Checking if outpost_3 should reinforce resource_7" 8:19:45 "26363.6: [Antistasi] | DEBUG | shouldReinforce | Checking if outpost_30 should reinforce resource_7" 8:19:45 "26363.6: [Antistasi] | DEBUG | shouldReinforce | Checking if outpost_31 should reinforce resource_7" 8:19:45 "26363.6: [Antistasi] | DEBUG | shouldReinforce | Checking if outpost_32 should reinforce resource_7" 8:19:45 "26363.6: [Antistasi] | DEBUG | shouldReinforce | Checking if outpost_34 should reinforce resource_7" 8:19:45 "26363.6: [Antistasi] | DEBUG | shouldReinforce | Checking if outpost_35 should reinforce resource_7" 8:19:45 "26363.6: [Antistasi] | DEBUG | shouldReinforce | Checking if outpost_36 should reinforce resource_7" 8:19:45 "26363.6: [Antistasi] | DEBUG | shouldReinforce | Checking if outpost_37 should reinforce resource_7" 8:19:45 "26363.6: [Antistasi] | DEBUG | shouldReinforce | Checking if outpost_38 should reinforce resource_7" 8:19:45 "26363.6: [Antistasi] | DEBUG | shouldReinforce | Checking if outpost_39 should reinforce resource_7" 8:19:45 "26363.6: [Antistasi] | DEBUG | shouldReinforce | Checking if outpost_4 should reinforce resource_7" 8:19:45 "26363.6: [Antistasi] | DEBUG | shouldReinforce | Checking if outpost_40 should reinforce resource_7" 8:19:45 "26363.6: [Antistasi] | DEBUG | shouldReinforce | Checking if outpost_7 should reinforce resource_7" 8:19:45 "26363.6: [Antistasi] | DEBUG | shouldReinforce | Checking if outpost_8 should reinforce resource_7" 8:19:45 "26363.6: [Antistasi] | DEBUG | shouldReinforce | Checking if outpost_9 should reinforce resource_7" 8:19:45 "26363.6: [Antistasi] | DEBUG | shouldReinforce | Checking if outpost_43 should reinforce resource_7" 8:19:45 "Can't select units with less than 3 slots, would be an vehicle only with crew!" 8:19:45 "CreateAIAction[115]: No units given for reinforcements!" 8:19:51 "Antistasi Waved CA: Despawn completed" 8:19:55 Server: Object 2:4108 not found (message Type_92) 8:19:55 Server: Object 2:4107 not found (message Type_92) 8:19:55 "CreateAIAction[592]: Started creation of reinforce action to resource" (immediately following this - the mission begins the checks & spawning where the Type_192 shows up - see next code snippet) So then the Type_192 shows up after the next batch of spawning @ 8:19:55 .... 8:19:55 "CreateAIAction[592]: Started creation of reinforce action to resource" 8:19:55 "26373.6: [Antistasi] | DEBUG | shouldReinforce | Checking if airport should reinforce resource" 8:19:55 "26373.6: [Antistasi] | DEBUG | shouldReinforce | Checking if airport_1 should reinforce resource" 8:19:55 "26373.6: [Antistasi] | DEBUG | shouldReinforce | Checking if airport_3 should reinforce resource" 8:19:55 "26373.6: [Antistasi] | DEBUG | shouldReinforce | Checking if airport_4 should reinforce resource" 8:19:55 "26373.6: [Antistasi] | DEBUG | shouldReinforce | Checking if airport_5 should reinforce resource" 8:19:55 "26373.6: [Antistasi] | DEBUG | shouldReinforce | Checking if outpost should reinforce resource" 8:19:55 "26373.6: [Antistasi] | DEBUG | shouldReinforce | Checking if outpost_1 should reinforce resource" 8:19:55 "26373.6: [Antistasi] | DEBUG | shouldReinforce | Checking if outpost_10 should reinforce resource" 8:19:55 "26373.6: [Antistasi] | DEBUG | shouldReinforce | Checking if outpost_11 should reinforce resource" 8:19:55 "26373.6: [Antistasi] | DEBUG | shouldReinforce | Checking if outpost_12 should reinforce resource" 8:19:55 "26373.6: [Antistasi] | DEBUG | shouldReinforce | Checking if outpost_13 should reinforce resource" 8:19:55 "26373.6: [Antistasi] | DEBUG | shouldReinforce | Checking if outpost_16 should reinforce resource" 8:19:55 "26373.6: [Antistasi] | DEBUG | shouldReinforce | Checking if outpost_17 should reinforce resource" 8:19:55 "26373.6: [Antistasi] | DEBUG | shouldReinforce | Checking if outpost_18 should reinforce resource" 8:19:55 "26373.6: [Antistasi] | DEBUG | shouldReinforce | Checking if outpost_19 should reinforce resource" 8:19:55 "26373.6: [Antistasi] | DEBUG | shouldReinforce | Checking if outpost_2 should reinforce resource" 8:19:55 "26373.6: [Antistasi] | DEBUG | shouldReinforce | Checking if outpost_20 should reinforce resource" 8:19:55 "26373.6: [Antistasi] | DEBUG | shouldReinforce | Checking if outpost_21 should reinforce resource" 8:19:55 "26373.6: [Antistasi] | DEBUG | shouldReinforce | Checking if outpost_23 should reinforce resource" 8:19:55 "26373.6: [Antistasi] | DEBUG | shouldReinforce | Checking if outpost_25 should reinforce resource" 8:19:55 "26373.6: [Antistasi] | DEBUG | shouldReinforce | Checking if outpost_27 should reinforce resource" 8:19:55 "26373.6: [Antistasi] | DEBUG | shouldReinforce | Checking if outpost_28 should reinforce resource" 8:19:55 "26373.6: [Antistasi] | DEBUG | shouldReinforce | Checking if outpost_3 should reinforce resource" 8:19:55 "26373.6: [Antistasi] | DEBUG | shouldReinforce | Checking if outpost_30 should reinforce resource" 8:19:55 "26373.6: [Antistasi] | DEBUG | shouldReinforce | Checking if outpost_31 should reinforce resource" 8:19:55 "26373.6: [Antistasi] | DEBUG | shouldReinforce | Checking if outpost_32 should reinforce resource" 8:19:55 "26373.6: [Antistasi] | DEBUG | shouldReinforce | Checking if outpost_34 should reinforce resource" 8:19:55 "26373.6: [Antistasi] | DEBUG | shouldReinforce | Checking if outpost_35 should reinforce resource" 8:19:55 "26373.6: [Antistasi] | DEBUG | shouldReinforce | Checking if outpost_36 should reinforce resource" 8:19:55 "26373.6: [Antistasi] | DEBUG | shouldReinforce | Checking if outpost_37 should reinforce resource" 8:19:55 "26373.6: [Antistasi] | DEBUG | shouldReinforce | Checking if outpost_38 should reinforce resource" 8:19:55 "26373.6: [Antistasi] | DEBUG | shouldReinforce | Checking if outpost_39 should reinforce resource" 8:19:55 "26373.6: [Antistasi] | DEBUG | shouldReinforce | Checking if outpost_4 should reinforce resource" 8:19:55 "26373.6: [Antistasi] | DEBUG | shouldReinforce | Checking if outpost_40 should reinforce resource" 8:19:55 "26373.6: [Antistasi] | DEBUG | shouldReinforce | Checking if outpost_7 should reinforce resource" 8:19:55 "26373.6: [Antistasi] | DEBUG | shouldReinforce | Checking if outpost_8 should reinforce resource" 8:19:55 "26373.6: [Antistasi] | DEBUG | shouldReinforce | Checking if outpost_9 should reinforce resource" 8:19:55 "26373.6: [Antistasi] | DEBUG | shouldReinforce | Checking if outpost_43 should reinforce resource" 8:19:55 "26373.6: [Antistasi] | DEBUG | fn_selectReinfUnits | Gathered data for unit selection, available are 12, cargo units needed" 8:19:55 "Logging Reinforcement:" 8:19:55 " Reinforcement, element 0: ["""",[],[]]" 8:19:55 " Reinforcement, element 1: ["""",[],[]]" 8:19:55 " Reinforcement, element 2: [""B_APC_Wheeled_01_cannon_F"",[],[]]" 8:19:55 " Reinforcement, element 3: ["""",[],[]]" 8:19:55 " Reinforcement, element 4: ["""",[],[""B_soldier_SL_F"",""B_Soldier_F"",""B_soldier_TL_F"",""B_soldier_AR_F"",""B_soldier_A_F"",""B_support_Mort_F"",""B_support_AMort_F"",""B_medic_F""]]" 8:19:55 "26373.7: [Antistasi] | DEBUG | fn_selectReinfUnits | Units selected, crew is [""B_Crew_F"",""B_Crew_F"",""B_Crew_F""], cargo is [""B_soldier_SL_F"",""B_Soldier_F"",""B_soldier_TL_F"",""B_soldier_AR_F"",""B_soldier_A_F"",""B_support_Mort_F"",""B_support_AMort_F"",""B_medic_F""]" 8:19:55 "CreateAIAction[592]: Created AI action to reinforce from airport_3 to resource with 1 vehicles and 11 units" 8:19:55 "Pathfinding: Start 2372 at [14778.7,16401.3,0] End 1179 at [19613.6,15636.1,0]" 8:19:57 "Pathfinding: Successful finished pathfinding in 2.32715 seconds" 8:19:57 "CreateConvoy[592]: Created convoy with 30.5556 m/s and a total of 62 waypoints, marker is b_mech_inf" 8:19:59 "[Antistasi] Performance Log. ServerFPS: 46.9208, Players: 1, DeadUnits: 34, AllUnits:73, AllObjects: 1750, Groups: Rebels-13, Invaders-13, Occupants-8, Civ-1, Total-35" 8:19:59 "Logging spawn places of airport_2" 8:19:59 "Logging Spawn places:" 8:19:59 " Spawn places, element 0: [[[[26786.7,24526.9,0.1],220.582],false],[[[26782.9,24530.2,0.1],220.582],false],[[[26779.1,24533.4,0.1],220.582],true],[[[26775.2,24536.7,0.1],220.582],false],[[[26771.4,24540,0.1],220.582],false],[[[26767.6,24543.3,0.1],220.582],true],[[[26763.7,24546.6,0.1],220.582],false],[[[26759.9,24549.8,0.1],220.582],false],[[[26756.1,24553.1,0.1],220.582],true],[[[26752.3,24556.4,0.1],220.582],false],[[[26748.4,24559.7,0.1],220.582],false],[[[26744.6,24563,0.1],220.582],false],[[[26740.8,24566.2,0.1],220.582],true]]" 8:19:59 " Spawn places, element 1: [[[[26877.6,24656.8,0.1],129.361],true],[[[26895.4,24541.9,0.1],127.519],false],[[[26804,24578.8,0.1],133.742],true],[[[26884.2,24526.4,0.1],127.519],true],[[[26871.3,24509.7,0.1],127.519],true]]" 8:19:59 " Spawn places, element 2: [[[[26843.7,24632.9,0.103735],310.033],false],[[[26819.1,24601.6,0.1],306.758],false],[[[26757.1,24652.8,0.1],490.54],false]]" 8:19:59 " Spawn places, element 3: [[[[26846.2,24606,0.1],0],true]]" 8:19:59 Server: Object 2:2971 not found (message Type_92) 8:19:59 Server: Object 2:2970 not found (message Type_92) 8:20:00 Server: Object 2:3970 not found (message Type_120) 8:20:00 Server: Object 2:3971 not found (message Type_120) 8:20:01 "Logging spawn places of seaport_4" 8:20:01 "Logging Spawn places:" 8:20:01 " Spawn places, element 0: [[[[27564.4,24616.4,0.1],301.91],false],[[[27567.3,24621,0.1],301.91],false],[[[27570.2,24625.6,0.1],301.91],false],[[[27573.1,24630.3,0.1],301.91],false],[[[27576,24634.9,0.1],301.91],false],[[[27578.8,24639.5,0.1],301.91],false],[[[27581.7,24644.2,0.1],301.91],true]]" 8:20:01 " Spawn places, element 1: []" 8:20:01 " Spawn places, element 2: []" 8:20:01 " Spawn places, element 3: []" 8:20:04 Server: Object 2:4108 not found (message Type_120) 8:20:05 Server: Object 2:4107 not found (message Type_120)
  17. -JpS-RaptorMan

    Can someone explain this rpt spam?

    Definitely - though as an side - I saw you worked on the interception stuff at one point - ty! Are you aware of any way to direct entries between multiple *.rpt log files (besides ranking.log) in vanilla arma without mods? I read some on A3_Log & like it just curious if there's vanilla / non-mod support in arma3 engine now? I want two file streams, one for my code logging & debugging, then the standard *.rpt stuff if I need that one.
  18. -JpS-RaptorMan

    Can someone explain this rpt spam?

    We turned on logging to debug level as I was in the server.cfg adding some parameters & wanted to see their effects. I kept it on thus far a pre-cusor to using our first mod. We are upgrading from vanilla community antstasi to using their unit membership mod by Stark. 2.2.3 from antistasi not out yet - so we are stuck trouble shooting this one. This isn't just a log file - we are in the log files because we're looking at performance issues ... occam's razor ... so at this point I won't be turning it off. I'm also looking at the interception linked here elsewhere - option so I can create multiple log files & just dumpster the *.rpt's after a week to deal with the symptom of the problem.
  19. -JpS-RaptorMan

    Can someone explain this rpt spam?

    Going to zombie this is no information is showing up ... Running Antistasi Community edition 2.2.2, no mods at this point - but will be installing unitmembership later 17:47:03 Server: Object 2:26140 not found (message Type_92) 17:47:03 Server: Object 2:25797 not found (message Type_120) 2 days ~ 180meg file size Did anyone ever figure this out or does this just fall into the category of 2012 game, reboot your server every 3 hours because it's not worth fixing the engine?
  20. Group, I'm looking to write the results of a function call to the log file. I read up on IF's & isNil via the wiki. Unsuccessfully... so I've started trying to tell what sort of data is coming back to me ... Some of my tests ... Trying to caputure the result of fn_getUIDPermissions in _c ... but really, this applies to every function I've tried to test yet 😞 ("-----Test-----") call BIS_fnc_log; _b = ('< my valid steam UID>' call fn_getUIDPermissions); _c = if (_b) then [ {"true"}, {"false"}]; (format ["-----Test %1 ...", _c]) call BIS_fnc_log; Results in "Test Dedicated server/BIS_fnc_log: ""-----Test-----""" "Test Dedicated server/BIS_fnc_log: ""-----Test any ...""" Another test just trying to tell if the stupid thing is nil or not ... ("-----Test-----") call BIS_fnc_log; _b = ('< my valid steam UID>' call fn_getUIDPermissions); _c = if (_b) then [ {"true"} else {"false"}]; (_c) call BIS_fnc_log; Which comes back "Test Dedicated server/BIS_fnc_log: ""-----Test-----""" (originally I was doing the good stuff like calling it private etc - but don't know enough to know if that's the issue so I pulled that stuff out in favor of simplicity since no function has been captured in console) Can someone shed some light on what's happening, maybe point me to something specific? Thanks! -R
  21. -JpS-RaptorMan

    [Solved] Debugging with IF statement & isNil

    That's actually why I'm here ... RPT doesn't ... even when I write the correct sequence & get a 1 back in the debug console status bar - my RPT will show the "Test" but not the other line. I even built several versions of IF(<condition>) (isNil, check if value was above -1, etc) & was trying to have the if statement return strings. This got me thinking that I could skip that check & just act on the array itself, ty! I'm getting the idea that ... the isNil check isn't handled by array object in the arma3 engine ... so I have to call isNil against the element of the array, not the array itself ... // this if(isNil _b[0]) // not this if(isNil _b) // though I suppose I could fake the 2nd one with ... results ... _b = ""; count (_b); hint str(_b); // reports 0 _b = nil; count (_b); hint str(_b); // dies silently Thanks gang!! This really helps Also, the other reason nothing was showing up after the "TEST" in the RPT ... the mod wrapped that function I was calling in another ... I just noticed after debugging my if/isnil stuff and was going over the mod code ... right version was ...
  22. -JpS-RaptorMan

    [Solved] Debugging with IF statement & isNil

    So, from a c/haskell/ruby/javascript/elixir background this makes no sense ... sqf is untyped basically? Even if it was, I should get "true" or "false" back ... notice I'm putting string handlers around it - is this some weird BI thing where they perverted the typing 99% of the programmers in the world use?
  23. -JpS-RaptorMan

    [Solved] Debugging with IF statement & isNil

    I've tried both ways & they are actually both documented on the link I posted for the IF statements ... any idea why I get "any" back when I format the true/false results?
  24. -JpS-RaptorMan

    Menu export issues

    Disregard, shut computer down & came back a day later - it was just some bug.
×