bumgie 49 Posted October 3, 2014 (edited) I am no longer able to use the feature that wrote the basics of control structures to the file if I started to write Foreach etc. Can someone help me with this ? has the functionality changed or what ? Edit: Reinstall fixed it. I was at a complete loss without this feature. Edited October 3, 2014 by Bumgie Share this post Link to post Share on other sites
Tankbuster 1744 Posted October 3, 2014 Feature request, Tom :) I love the 'press f1 on a command opens the appropriate biki page' functionality. Could pressing F1 on a classname do similar? Perhaps open the assets page at the appropriate #anchor? For example, agent = createAgent ["Fin_tricolour_F", position player, [], 0, "FORM"]; clicking on the classname here would open https://community.bistudio.com/wiki/Arma_3_CfgVehicles_CIV#Fin_tricolour_F Share this post Link to post Share on other sites
super-truite 54 Posted October 4, 2014 ^this ! If the vanilla classnames would be highlighted, it would be even better! Share this post Link to post Share on other sites
Tankbuster 1744 Posted October 4, 2014 ^this ! If the vanilla classnames would be highlighted, it would be even better! (OT. Voted up the issue in your sig.) Share this post Link to post Share on other sites
Tom_48_97 523 Posted October 21, 2014 I will investigate on the possibility to have default class names highlighted, but keep in mind that this could really slow the file process, then, it needs a strong analysis. In all cases, this won't be for the next update as it's almost ready to be released ;) Share this post Link to post Share on other sites
scarecrow398 43 Posted October 24, 2014 (edited) Hey tom, I'm trying to link the dev tools with Poseidon and no matter what I do it just doesn't seem to recognise that poseidon exists, I've tried both editing the settings.ini manually and in the launcher, running mapfolders both times, etc, it just doesn't seem to pick it up. Any ideas for this? Edit: Might help if I used the installer eh? haha, all good now. Edited October 24, 2014 by Scarecrow398 Share this post Link to post Share on other sites
Tankbuster 1744 Posted November 1, 2014 Hi Tom. Me again with more curly bracket matching woes! :) I *think* the problem with the bracket matching is to do with commented code. If there's no commented code between a selected opening curly bracket, it seems to find the associated closing bracket reliably. I'm guessing that the bracket matching system might be not ignoring brackets in commented code when it should ignore them and that's confusing it. Share this post Link to post Share on other sites
SilentSpike 84 Posted November 4, 2014 (edited) Just a heads up that all of the following is missing some form of highlighting in description.ext: saving = 0; onPauseScript = ""; respawnTemplates[] = {}; class Header { gameType=Sandbox; // Sandbox isn't highlighted green, may also wish to update with other gametypes if they're missing: https://community.bistudio.com/wiki/Multiplayer_Game_Types minPlayers=1; maxPlayers=21; }; // New stuff that you probably know about wreckManagerMode = 1; corpseManagerMode = 1; forceRotorLibSimulation = 0; Edit: Oh and also these functions are missing from highlighting (you could probably use the function export function code to export all the functions to be added for highlighting) BIS_fnc_spawnCrew BIS_fnc_distance2Dsqr Edited November 5, 2014 by SilentSpike Share this post Link to post Share on other sites
Lachesis580 10 Posted November 5, 2014 (edited) I have some problems after a windows reinstall. It takes very long for Poseidon to read files like the config.cpp from "ui_f". Then i reinstalled Poseidon but nothing changed its very slow. The second problem is that autocompletion/highlighting doesn't work And i have no idea what can cause this 2 problems. Edit: It takes 1min and 5sec to open the config.cpp from the ui_f.pbo. Edited November 6, 2014 by Legion1337 Share this post Link to post Share on other sites
terox 316 Posted November 9, 2014 (edited) Bug Report VERSION 0.72 - PE @ 22 08 2014 using any combination of a word that contains the characters "issue" either as a string or as a variable causes the entire line of code to be highlighted in red. (There is no effect on functionality of the code) eg any of the following combo's where * is a wildcard defining any character and any number of characters *issue* issue* *issue Edited November 9, 2014 by Terox Share this post Link to post Share on other sites
Tom_48_97 523 Posted November 11, 2014 (edited) Poseidon turns into its version 0.78! This change log is far to be complete but it exists :) Note: Even I don't reply to this thread, I keep reading it and adjusting stuff for the next release, some of you will recognize their issues in the change log :rolleyes: ============VERSION 0.78 - PE @ 11 11 2014 WARNING: A fresh install is needed. Added: "CPP Arma" syntax checker, highlight missing token: {1,2,3,}; Added: mission config syntax checker, highlight missing token: {1,2,3,}; Added: GameType Sandbox Added: A few mission config stuff Added: Arma 3 new commands (version 1.35.128152) Added: Arma 3 new functions (version 1.35.128152) Changed: Updated dependencies & librairies Changed: Issue highlighting must be in a comment to be handled Fixed: Bad dependency for TM4_Indenter Fixed: GameType (in mission config) was case sensitive Fixed: Auto-completion for SQF files Fixed: A load of stuff... Download links are in the first message, and as per usual, Armaholic link could be outdated but I guess this will be fixed soon! Enjoy ---------- Post added at 14:30 ---------- Previous post was at 14:25 ---------- Legion1337: This behavior is quite normal since you're opening a file that has something like 80k+ lines. Poseidon needs to open it, read it and highlight what should be highlighted before displaying the file itself! But, once loaded, you should have good performances. As information, on my workstation, opening such kind of file is done in more or less than 20 secs. It only depends on your computer (CPU, HDD, RAM, in order of significance) Ps: That's the very reason why #include and macros were created :cool: Edited November 11, 2014 by tom_48_97 Share this post Link to post Share on other sites
SilentSpike 84 Posted November 11, 2014 (edited) Thanks for the update Tom :) Good stuff as always Edit: So I'm getting an unhandled exception error when I run the install.exe that comes with poseidon. I believe this is because I have moved my posedion to a different folder than I previously had it in and since deleted the old folder. Here's the error text: See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box. ************** Exception Text ************** System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\insertMyNameHere\Documents\Arma 3\Poseidon'. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.FileSystemEnumerableIterator`1.CommonInit() at System.IO.FileSystemEnumerableIterator`1..ctor(String path, String originalUserPath, String searchPattern, SearchOption searchOption, SearchResultHandler`1 resultHandler, Boolean checkHost) at System.IO.Directory.GetFiles(String path, String searchPattern) at Microsoft.VisualBasic.FileIO.FileSystem.FindPaths(FileOrDirectory FileOrDirectory, String directory, String wildCard) at Microsoft.VisualBasic.FileIO.FileSystem.FindFilesOrDirectories(FileOrDirectory FileOrDirectory, String directory, SearchOption searchType, String[] wildcards, Collection`1 Results) at Microsoft.VisualBasic.FileIO.FileSystem.FindFilesOrDirectories(FileOrDirectory FileOrDirectory, String directory, SearchOption searchType, String[] wildcards) at Microsoft.VisualBasic.MyServices.FileSystemProxy.GetFiles(String directory, SearchOption searchType, String[] wildcards) at poseidon.main.getCacheSize() at install.main.init() at install.main.main_Load(Object sender, EventArgs e) at System.EventHandler.Invoke(Object sender, EventArgs e) at System.Windows.Forms.Form.OnLoad(EventArgs e) at System.Windows.Forms.Form.OnCreateControl() at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible) at System.Windows.Forms.Control.CreateControl() at System.Windows.Forms.Control.WmShowWindow(Message& m) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.ScrollableControl.WndProc(Message& m) at System.Windows.Forms.ContainerControl.WndProc(Message& m) at System.Windows.Forms.Form.WmShowWindow(Message& m) at System.Windows.Forms.Form.WndProc(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) ************** Loaded Assemblies ************** mscorlib Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.18444 built by: FX451RTMGDR CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll ---------------------------------------- install Assembly Version: 1.0.34.5 Win32 Version: 1.0.34.5 CodeBase: file:///C:/Games/Game%20Tools/Arma/Poseidon/install.exe ---------------------------------------- Microsoft.VisualBasic Assembly Version: 10.0.0.0 Win32 Version: 11.0.50938.18408 built by: FX451RTMGREL CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualBasic/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll ---------------------------------------- System Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.34238 built by: FX452RTMGDR CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll ---------------------------------------- System.Core Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.18408 built by: FX451RTMGREL CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll ---------------------------------------- System.Windows.Forms Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.18408 built by: FX451RTMGREL CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll ---------------------------------------- System.Drawing Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.18408 built by: FX451RTMGREL CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll ---------------------------------------- System.Runtime.Remoting Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.34108 built by: FX45W81RTMGDR CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Remoting/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll ---------------------------------------- System.Configuration Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.18408 built by: FX451RTMGREL CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll ---------------------------------------- System.Xml Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.34234 built by: FX452RTMGDR CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll ---------------------------------------- poseidon Assembly Version: 0.78.0.0 Win32 Version: 0.78.0.0 CodeBase: file:///C:/Games/Game%20Tools/Arma/Poseidon/poseidon.DLL ---------------------------------------- System.Web Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.34237 built by: FX452RTMGDR CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/System.Web/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Web.dll ---------------------------------------- ************** JIT Debugging ************** To enable just-in-time (JIT) debugging, the .config file for this application or computer (machine.config) must have the jitDebugging value set in the system.windows.forms section. The application must also be compiled with debugging enabled. For example: <configuration> <system.windows.forms jitDebugging="true" /> </configuration> When JIT debugging is enabled, any unhandled exception will be sent to the JIT debugger registered on the computer rather than be handled by this dialog box. Also, you may wish to update the fill association section on this page. ---------- Post added at 14:42 ---------- Previous post was at 14:24 ---------- ;) So unfortunately it looks like that wasn't the only unhandled exception, here's the error I got after remaking the old folder and running install.exe from the new one: See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box. ************** Exception Text ************** System.NullReferenceException: Object variable or With block variable not set. at Microsoft.VisualBasic.CompilerServices.Symbols.Container..ctor(Object Instance) at Microsoft.VisualBasic.CompilerServices.NewLateBinding.LateGet(Object Instance, Type Type, String MemberName, Object[] Arguments, String[] ArgumentNames, Type[] TypeArguments, Boolean[] CopyBack) at poseidon.main.makeFileAssoc(Object fileType) at install.main.assocFileType(Object fileType) at install.main.btn_validate_Click(Object sender, EventArgs e) at System.Windows.Forms.Control.OnClick(EventArgs e) at System.Windows.Forms.Button.OnClick(EventArgs e) at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent) at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.ButtonBase.WndProc(Message& m) at System.Windows.Forms.Button.WndProc(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) ************** Loaded Assemblies ************** mscorlib Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.18444 built by: FX451RTMGDR CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll ---------------------------------------- install Assembly Version: 1.0.34.5 Win32 Version: 1.0.34.5 CodeBase: file:///C:/Games/Game%20Tools/Arma/Poseidon/install.exe ---------------------------------------- Microsoft.VisualBasic Assembly Version: 10.0.0.0 Win32 Version: 11.0.50938.18408 built by: FX451RTMGREL CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualBasic/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll ---------------------------------------- System Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.34238 built by: FX452RTMGDR CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll ---------------------------------------- System.Core Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.18408 built by: FX451RTMGREL CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll ---------------------------------------- System.Windows.Forms Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.18408 built by: FX451RTMGREL CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll ---------------------------------------- System.Drawing Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.18408 built by: FX451RTMGREL CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll ---------------------------------------- System.Runtime.Remoting Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.34108 built by: FX45W81RTMGDR CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Remoting/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll ---------------------------------------- System.Configuration Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.18408 built by: FX451RTMGREL CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll ---------------------------------------- System.Xml Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.34234 built by: FX452RTMGDR CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll ---------------------------------------- poseidon Assembly Version: 0.78.0.0 Win32 Version: 0.78.0.0 CodeBase: file:///C:/Games/Game%20Tools/Arma/Poseidon/poseidon.DLL ---------------------------------------- System.Web Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.34237 built by: FX452RTMGDR CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/System.Web/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Web.dll ---------------------------------------- Accessibility Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.18408 built by: FX451RTMGREL CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll ---------------------------------------- ************** JIT Debugging ************** To enable just-in-time (JIT) debugging, the .config file for this application or computer (machine.config) must have the jitDebugging value set in the system.windows.forms section. The application must also be compiled with debugging enabled. For example: <configuration> <system.windows.forms jitDebugging="true" /> </configuration> When JIT debugging is enabled, any unhandled exception will be sent to the JIT debugger registered on the computer rather than be handled by this dialog box. Edited November 11, 2014 by SilentSpike Share this post Link to post Share on other sites
Tom_48_97 523 Posted November 11, 2014 Good point for the page! I will try to keep that in mind :) As for the error, can you try with this version of the dll? http://tom4897.info/?attachment_id=2651 Just download the file, then, extract its content into your Poseidon Tools root directory! Share this post Link to post Share on other sites
SilentSpike 84 Posted November 11, 2014 Both errors still showing up with that dll Share this post Link to post Share on other sites
Tom_48_97 523 Posted November 11, 2014 Okay, let's try a full recompilation! By the way, what's your OS? Next try: http://tom4897.info/?attachment_id=2652 Share this post Link to post Share on other sites
SilentSpike 84 Posted November 11, 2014 Unfortunately both errors are still present. I'm running windows 7 x64 Share this post Link to post Share on other sites
Tom_48_97 523 Posted November 11, 2014 Very weird, I tested on Win 8, 8.1, 7 (x86 & x64) and it just works as expected! Could you try to make a clean install? Steps for a clean new install: Remove the all Poseidon Tools installation directory Remove the registry key "HKEY_CURRENT_USER\Software\bohemia interactive\Poseidon Tools" Download the version 0.78 (link from the first message) Extract the content in your destination directory (preferably a new one, to avoid any mess with previous installations) Go into ...Installation Directory\Data\v2\Bin\batch\ and run help.batIf a window shows up, this means that the dependencies should be ok; otherwise, it could be a missing library (Poseidon needs .NET 4.0) [*]Run "restoreDefault.exe", do not start Poseidon when it asks [*]Run "Installer.exe" [*]Run Poseidon Tools (Poseidon.exe) Share this post Link to post Share on other sites
SilentSpike 84 Posted November 11, 2014 (edited) Works up until the installer.exe, the first error is gone (presumably because the registry key it was reading no longer exists) and the second remains Edit: Also when I re-enter my settings and hit save I get the following: "XML file not found: \Data\Packages\Poseidon\options\Default.tmPreferences" (However the values still get correctly saved to the registry) Edited November 11, 2014 by SilentSpike Share this post Link to post Share on other sites
Tom_48_97 523 Posted November 11, 2014 The issue with the setting manager should be normal because you don't have Poseidon correctly installed. As for the installer, it looks like something goes wrong with the compiler (I still don't know what exactly). Anyway, this couple should work as expected: http://tom4897.info/?attachment_id=2656 If not, this would mean I have an issue on compilation and won't be fixed in a short term, then I will restore a previous version of these files (version 0.72, which works well). Share this post Link to post Share on other sites
dr death jm 117 Posted November 11, 2014 im getting Error loading syntax file "Packages/Poseidon/SQF.tmLanguage": Error in regex: end pattern with unmatched parenthieis in regex )?I: I had the old one working np , im on stupid windows 8.1 64 Share this post Link to post Share on other sites
SilentSpike 84 Posted November 11, 2014 Yeah the installer is still throwing that second error, thanks for looking into it all so quickly :) No big deal if it's a long-term fix that's required, everything else still works fine for me Share this post Link to post Share on other sites
Tom_48_97 523 Posted November 12, 2014 Call for testers! I'd like to ask if some of you could test this RC. I recompiled almost every libs and fixed the SQF language definitions, from my side, it works on Win 8.1 & Win 7 SP1. http://tom4897.info/?attachment_id=2657 Change log: ============VERSION 0.78.6 - PE @ 12 11 2014 WARNING: A fresh install is required because of some issues from the previous release. Fixed: Installer dependencies Fixed: Bad definitions in SQF language configuration Fixed: Installed version was incorrect In advance, thank you for your time! Share this post Link to post Share on other sites
SilentSpike 84 Posted November 12, 2014 SQF is working fine again for me :) Share this post Link to post Share on other sites
dr death jm 117 Posted November 12, 2014 (edited) cool , kinda working ... I reset it , but wont let me install.. but I can still start it within its folder ... weird ok fixed .. thanks Edited November 12, 2014 by Dr Death JM Share this post Link to post Share on other sites
Tankbuster 1744 Posted November 14, 2014 Great work Tom. Thank you. Share this post Link to post Share on other sites