c3IDE - Construct 3 Plugin IDE

7 favourites
From the Asset Store
Casino? money? who knows? but the target is the same!
  • 6/14/2019 9:16:21 AM : Info => generating 3rd party files

    6/14/2019 9:16:21 AM : Info => compilation terminated due to error...

    6/14/2019 9:16:21 AM : Info => error => Value cannot be null.

    Parameter name: bytes

    Plugin validates, plugin does not compile.

    If I zip up the plugin, it works just fine.

  • okay what type of file did you try attaching?

  • can you provided the project file? or the file your trying to attach?

  • Well, nevermind, it's just perpetually crashing now.

    There was an unhandled error in the application. see logs below =>

    ERROR MESSAGE => Value cannot be null.

    Parameter name: input

    ERROR TRACE => at System.Text.RegularExpressions.Regex.Matches(String input)

    at c3IDE.Utilities.Helpers.JavascriptParser.ParseJavascriptUserTokens(String text)

    at c3IDE.Utilities.CodeCompletion.CodeCompletionFactory.PopulateUserDefinedTokens(String key, String text, Boolean wipe)

    at c3IDE.Utilities.CodeCompletion.CodeCompletionFactory.ParseAddon(C3Addon addon)

    at c3IDE.MainWindow.AddonLoadDelegate()

    at c3IDE.MainWindow.<.ctor>b__1_0(C3Addon s)

    at c3IDE.Managers.AddonManager.LoadAddon(C3Addon addon)

    at c3IDE.Windows.DashboardWindow.LoadSelectedAddon_Click(Object sender, RoutedEventArgs e)

    at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)

    at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)

    at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)

    at System.Windows.UIElement.RaiseEvent(RoutedEventArgs e)

    at System.Windows.Controls.Primitives.ButtonBase.OnClick()

    at System.Windows.Controls.Button.OnClick()

    at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)

    at System.Windows.UIElement.OnMouseLeftButtonUpThunk(Object sender, MouseButtonEventArgs e)

    at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)

    at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)

    at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)

    at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)

    at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)

    at System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e)

    at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)

    at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)

    at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)

    at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)

    at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)

    at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)

    at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)

    at System.Windows.Input.InputManager.ProcessStagingArea()

    at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)

    at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)

    at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)

    at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)

    at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)

    at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)

    at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)

    at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)

    at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

    ERROR INNER EX =>

    ERROR SOURCE => System

    EXCEPTION LIST =>

  • yeah so you tried to attach a file, it failed parsing that file. then due to that file being null, and sneaking past the exception handling it blew up? can you send me the 3rd party file you were attaching? so i can pin point what went wrong? armandoalonso1tjl@gmail.com or you can create a github issue and aattach it? or send it through me on the discord?

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Well, this started when I imported a plugin, the first errors I posted were from trying to compile it.

    https://www.twistedvoid.com/HTMLElement.c3addon

    Right click that link and download.

    Since that was creating an error I decided to just start a new plugin. So, at first, I filled in the fields to create a new one and when I click save it politely tells me that addon data fields cannot be blank. From that point on, anything I click on, it crashes and gives errors like the one above.

    So, I uninstalled, reinstalled, same problem.

    Now I have 0 plugins. I load up C3IDE, click on create, save. I get the addon data fields cannot be blank. I click on anything else and it crashes.

    There was an unhandled error in the application. see logs below =>

    ERROR MESSAGE => Object reference not set to an instance of an object.

    ERROR TRACE => at c3IDE.Utilities.Search.Searcher.ParseAddon(C3Addon addon)

    at c3IDE.MainWindow.HambugerMenuItem_Click(Object sender, ItemClickEventArgs e)

    at MahApps.Metro.Controls.HamburgerMenu.RaiseItemEvents(Object selectedItem)

    at MahApps.Metro.Controls.HamburgerMenu.OnItemClick()

    at MahApps.Metro.Controls.HamburgerMenu.ButtonsListView_SelectionChanged(Object sender, SelectionChangedEventArgs e)

    at System.Windows.Controls.SelectionChangedEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)

    at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)

    at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)

    at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)

    at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)

    at System.Windows.UIElement.RaiseEvent(RoutedEventArgs e)

    at System.Windows.Controls.ListBox.OnSelectionChanged(SelectionChangedEventArgs e)

    at System.Windows.Controls.Primitives.Selector.InvokeSelectionChanged(List`1 unselectedInfos, List`1 selectedInfos)

    at System.Windows.Controls.Primitives.Selector.SelectionChanger.End()

    at System.Windows.Controls.Primitives.Selector.SetSelectedHelper(Object item, FrameworkElement UI, Boolean selected)

    at System.Windows.Controls.Primitives.Selector.NotifyIsSelectedChanged(FrameworkElement container, Boolean selected, RoutedEventArgs e)

    at System.Windows.Controls.Primitives.Selector.OnSelected(Object sender, RoutedEventArgs e)

    at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)

    at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)

    at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)

    at System.Windows.UIElement.RaiseEvent(RoutedEventArgs e)

    at System.Windows.Controls.ListBoxItem.OnSelected(RoutedEventArgs e)

    at System.Windows.Controls.ListBoxItem.OnIsSelectedChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)

    at System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e)

    at System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e)

    at System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args)

    at System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType)

    at System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType, Boolean isInternal)

    at System.Windows.DependencyObject.SetCurrentValueInternal(DependencyProperty dp, Object value)

    at System.Windows.Controls.ListBox.NotifyListItemClicked(ListBoxItem item, MouseButton mouseButton)

    at System.Windows.Controls.ListBoxItem.HandleMouseButtonDown(MouseButton mouseButton)

    at System.Windows.Controls.ListBoxItem.OnMouseLeftButtonDown(MouseButtonEventArgs e)

    at System.Windows.UIElement.OnMouseLeftButtonDownThunk(Object sender, MouseButtonEventArgs e)

    at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)

    at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)

    at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)

    at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)

    at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)

    at System.Windows.UIElement.OnMouseDownThunk(Object sender, MouseButtonEventArgs e)

    at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)

    at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)

    at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)

    at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)

    at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)

    at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)

    at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)

    at System.Windows.Input.InputManager.ProcessStagingArea()

    at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)

    at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)

    at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)

    at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)

    at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)

    at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)

    at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)

    at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)

    at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

    ERROR INNER EX =>

    ERROR SOURCE => c3IDE

    EXCEPTION LIST =>

  • okay found the issue, a few weeks ago i modified some of the behavior of the 3rd part files, but i forgot to set some of those property when you import a c3 addon... working on fix now

  • Ok, cool. I just downloaded a new copy of the setup, ran it and it installed fine with the 'New Plugin' at the top. All I did was click on load and it crashed again with the error above.

  • depending on what is wrong that might not fix the issue reinstalling the app[ will not clear the cache. can you try going here C:\Users\%USERNAME%\AppData\Roaming\C3IDE_DATA where %USERNAME% is your username and delete data.db and restart the app? i wonder if some how corrupted data got saved?

  • okay i re deployed a new version, clear that data.db file, restart the app, update, you should be able to re import that addon and compile just fine

  • okay i found the other issue you mentioned, it was happening because you need to specify a description, but clicking save without one produced an error, then when you tried to switch window it got confused and thought you created a valid addon (save) but that never completed successfully because of the empty description. that should be fixed and deployed as well. thanks!

  • Deleted the sqlite file, downloaded the update, created a new plugin just fine.

    Imported the HTMLElement, compiled it:

    6/14/2019 11:05:41 AM : Info => compilation complete...

    Thanks for the quick response. Now, if I can figure out how to make plugins and use this, I'll be sure to donate.

  • yeah no worries, let me know if you run into any more issues.

  • Fengist

    Check out the source for some of the plugins i have made or tinkered with, they might be useful? I learned how the plugin sdk stuff from looking at other ppls plugins and reading the documentation. maybe this will be helpful?

    github.com/armandoalonso/Construct3Plugins/tree/master/c3IDE%20Projects

  • Ohhhh... I think I may just give up on rewriting this plugin and just modify it's code when I need.

    So, I imported the HTMLElement into c3IDE with the hopes of being able to make modification and clean up a lot of extraneous code. Got it imported into c3IDE, got all of the necessary names changed and basically made a duplicate with a new name. Got that installed into C3, replaced one of the HTMLElements with the new plugin, got all the code set to point to the new plugin, fired up the web server, fired up C3 and... nothing.

    Just a blank screen.

    Ok, so I ran the project in debug mode and the loading stayed at 0%. It never loaded the project. I decided to check the cpu profiler to see if it was even hitting the cpu, and couldn't. I was politely informed that the cpu profiler is for subscribers, which I am.

    So, I removed the new plugin, re-enabled the old one, shut down the web server and...

    the project fired up normally.

    Ok, so let's start over. Went back to c3IDE and deleted the renamed plugin, reimported the HTMLElement thinking ah hah... I'll duplicate it. Imported it, clicked on the duplicate button and...

    There was an unhandled error in the application. see logs below =>

    ERROR MESSAGE => Type 'c3IDE.Models.Action' in Assembly 'c3IDE, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' is not marked as serializable.

    ERROR TRACE => at System.Runtime.Serialization.FormatterServices.InternalGetSerializableMembers(RuntimeType type)

    at System.Runtime.Serialization.FormatterServices.<>c__DisplayClass9_0.<GetSerializableMembers>b__0(MemberHolder _)

    at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory)

    at System.Runtime.Serialization.FormatterServices.GetSerializableMembers(Type type, StreamingContext context)

    at System.Runtime.Serialization.Formatters.Binary.WriteObjectInfo.InitMemberInfo()

    at System.Runtime.Serialization.Formatters.Binary.WriteObjectInfo.InitSerialize(Object obj, ISurrogateSelector surrogateSelector, StreamingContext context, SerObjectInfoInit serObjectInfoInit, IFormatterConverter converter, ObjectWriter objectWriter, SerializationBinder binder)

    at System.Runtime.Serialization.Formatters.Binary.ObjectWriter.Write(WriteObjectInfo objectInfo, NameInfo memberNameInfo, NameInfo typeNameInfo)

    at System.Runtime.Serialization.Formatters.Binary.ObjectWriter.WriteArrayMember(WriteObjectInfo objectInfo, NameInfo arrayElemTypeNameInfo, Object data)

    at System.Runtime.Serialization.Formatters.Binary.ObjectWriter.WriteArray(WriteObjectInfo objectInfo, NameInfo memberNameInfo, WriteObjectInfo memberObjectInfo)

    at System.Runtime.Serialization.Formatters.Binary.ObjectWriter.Write(WriteObjectInfo objectInfo, NameInfo memberNameInfo, NameInfo typeNameInfo)

    at System.Runtime.Serialization.Formatters.Binary.ObjectWriter.Serialize(Object graph, Header[] inHeaders, __BinaryWriter serWriter, Boolean fCheck)

    at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Serialize(Stream serializationStream, Object graph, Header[] headers, Boolean fCheck)

    at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Serialize(Stream serializationStream, Object graph)

    at c3IDE.Models.C3Addon.Clone()

    at c3IDE.Managers.AddonManager.DuplicateAddon(C3Addon addon, String name)

    at c3IDE.Windows.DashboardWindow.DuplicateSelectedAddon_Click(Object sender, RoutedEventArgs e)

    at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)

    at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)

    at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)

    at System.Windows.UIElement.RaiseEvent(RoutedEventArgs e)

    at System.Windows.Controls.Primitives.ButtonBase.OnClick()

    at System.Windows.Controls.Button.OnClick()

    at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)

    at System.Windows.UIElement.OnMouseLeftButtonUpThunk(Object sender, MouseButtonEventArgs e)

    at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)

    at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)

    at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)

    at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)

    at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)

    at System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e)

    at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)

    at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)

    at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)

    at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)

    at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)

    at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)

    at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)

    at System.Windows.Input.InputManager.ProcessStagingArea()

    at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)

    at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)

    at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)

    at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)

    at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)

    at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)

    at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)

    at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)

    at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

    ERROR INNER EX =>

    ERROR SOURCE => mscorlib

    EXCEPTION LIST =>

Jump to:
Active Users
There are 2 visitors browsing this topic (0 users and 2 guests)