Staredit Network > Forums > SC1 Mapping Tools > Topic: [EUD/EPD] Amazing new Trigger Editor [Stable]
[EUD/EPD] Amazing new Trigger Editor [Stable]
Dec 31 2017, 9:09 pm
By: T-warp
Pages: < 1 2 3 4
 

Jan 10 2018, 10:35 am T-warp Post #61



Quote from MTiger156
Starting getting error when changing weapon properties, though it hasn't happened in the past.
Collapse Box

This exception was thrown after you tried to copy a trigger. Without any further details it's useless (I can't test all possible triggers to find out which causes this). Give me the map or the trigger that caused this.



None.

Jan 10 2018, 3:10 pm MTiger156 Post #62



These 2 triggers cause the error when copied. (Putting glaive wurm on ghost, subterannean spines on zergling)
Collapse Box





Jan 11 2018, 7:20 pm T-warp Post #63



Quote from MTiger156
These 2 triggers cause the error when copied. (Putting glaive wurm on ghost, subterannean spines on zergling)
Collapse Box


Alright, listen. It's not a bug (shouldn't crash, but it shouldn't pass either). According to my reverse caclulator (link), what you're trying to do is change ground weapons for 4 objects starting at ID 104 (units 104, 105, 106 and 107). You are using SETs (which is cool), but the value 2189591089 (in hex 0x82828231, formatted to 0x82, 0x82, 0x82 and 0x31) cannot be used as it exceeds "integer" type and SCMDraft seems to cut it down to 2147483647 (in hex 7FFFFFFF, formated as 0x7F, 0xFF, 0xFF and 0xFF), which is invalid as fuck as there's no weapon for index 0xFF. Either use negative value for this (should be -4252859854, not sure what will/won't work), or don't use SCMDraft for inserting such high values. Does it really work in game? (copy these triggers to trigedit, check/save, close, open trigedit again and check values again). Also, make sure you have latest SCMDraft version (could be fixed already).



None.

Jan 11 2018, 8:08 pm MTiger156 Post #64



I did eventually get these triggers to save without crashing your editor. Amazingly, they are working in-game. I notice that 2189591089 was decreased by 1 (2189591088) and 829237122 was significantly changed to 1834372994, while my intended changes are still present. Though I'm not knowledgeable on this subject, I take it that I'm very lucky.




Jan 11 2018, 8:20 pm T-warp Post #65



Quote from MTiger156
I did eventually get these triggers to save without crashing your editor. Amazingly, they are working in-game. I notice that 2189591089 was decreased by 1 (2189591088) and 829237122 was significantly changed to 1834372994, while my intended changes are still present. Though I'm not knowledgeable on this subject, I take it that I'm very lucky.
Very lucky indeed



None.

Jan 12 2018, 12:08 am MTiger156 Post #66



After some experimentation, I have figured out the following:
-Changing the weapon on Infested Duran will be invalid 95% of the time.
-Changing weapon effect of C-10 Canister Rifles will be invalid 50% of the time (weird).
-It is possible to program missile turrets to shoot ground units, but if you go to compile triggers in SCMD's TrigEdit, it will become invalid.
-Programming tanks to shoot air units is valid at first, but when in-game, the turret will suddenly disappear and the game will crash within the next 10 seconds.




Jan 12 2018, 1:57 pm T-warp Post #67



Added "Set Player Color" as experimental action, solved "Key Detection" (it now works), fixed probably a bunch of stuff, like tech and upgrade detection...



None.

Jan 16 2018, 2:21 am Ultraviolet Post #68



Been having a lot of fun messing around with this tool. Great job! I'm having the unfortunate problem of being unable to compile my triggers in TrigEdit after using your program to create EPD triggers. Is there any way to work around this?

Edit: Nvm, was told to update SCMDraft to latest version, and it's working now.

Post has been edited 1 time(s), last time on Jan 16 2018, 2:46 am by Ultraviolet.




Feb 27 2018, 7:24 am lifebot Post #69



Hi Tarferi

I just realized Bitz banned you on discord. I lifted the ban, I don't know why he did it. I removed him as the admin for now for that.

I also didn't know you made the discord server the main discussion chat. Please come talk to me on discord when you see this.

Post has been edited 1 time(s), last time on Feb 27 2018, 7:30 am by lifebot.



None.

Jun 4 2018, 2:07 am Ultraviolet Post #70



Got this error trying to set Unknown Upgrade 59:

Quote
System.NotImplementedException: The method or operation is not implemented.
at StarcraftEPDTriggers.UpgradeDef.getByIndex(Int32 index)
at StarcraftEPDTriggers.src.data.LenghtyEPDAction_UpgradesTech`1.recalculateOthers()
at StarcraftEPDTriggers.src.data.LenghtyEPDAction_UpgradesTech`1.recalculateFromTarget(Int32 index, TYPE value)
at StarcraftEPDTriggers.src.data.LenghtyEPDAction_UpgradesTech`1.<getInnerDefinitionParts>b__18_1(TYPE obj)
at StarcraftEPDTriggers.src.TriggerDefinitionGeneralDef`1.<>c__DisplayClass3_0.<.ctor>b__1(TYPE val)
at StarcraftEPDTriggers.src.TriggerBasicEnumPart`1.<>c__DisplayClass7_0.<setup>b__0(T val)
at StarcraftEPDTriggers.src.TriggerBasicEnumPart`1.linkUnclicked(UIElement givenElement)
at StarcraftEPDTriggers.src.TriggerBasicEnumPart`1.<>c__DisplayClass9_0.<getRealElement>b__2(Object <sender>, EventArgs <e>)
at System.EventHandler.Invoke(Object sender, EventArgs e)
at System.Windows.FrameworkElement.RaiseClrEvent(EventPrivateKey key, EventArgs args)
at System.Windows.Controls.Primitives.Popup.OnClosed(EventArgs e)
at System.Windows.Controls.Primitives.Popup.DestroyWindow()
at System.Windows.Controls.Primitives.Popup.<HideWindow>b__122_0(Object sender, EventArgs args)
at System.Windows.Threading.DispatcherTimer.FireTick(Object unused)
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)
at System.Windows.Threading.DispatcherOperation.InvokeImpl()
at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext executionContext, ContextCallback callback, Object state)
at System.Windows.Threading.DispatcherOperation.Invoke()
at System.Windows.Threading.Dispatcher.ProcessQueue()
at System.Windows.Threading.Dispatcher.WndProcHook(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)
at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
at System.Windows.Window.ShowHelper(Object booleanBox)
at System.Windows.Window.Show()
at System.Windows.Window.ShowDialog()
at StarcraftEPDTriggers.AddCondAct..ctor(String what, List`1 comboInsides, Action`1 setter)
at StarcraftEPDTriggers.WndModify.btnActNew_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)
at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
at System.Windows.Window.ShowHelper(Object booleanBox)
at System.Windows.Window.Show()
at System.Windows.Window.ShowDialog()
at StarcraftEPDTriggers.WndModify..ctor(Trigger trig, TriggerCollection colection, Action`1 saveCallback)
at StarcraftEPDTriggers.MainWindow.btnNewTrigger_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)
at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
at System.Windows.Application.RunDispatcher(Object ignore)
at System.Windows.Application.RunInternal(Window window)
at System.Windows.Application.Run(Window window)
at StarcraftEPDTriggers.App.Main()





Jun 18 2018, 3:31 pm T-warp Post #71



Quote from Ultraviolet
Got this error trying to set Unknown Upgrade 59:

Quote
Collapse Box

That's quite unfortunate. I won't be able to work on this any time soon, so I've released source codes and you can try to fix it yourself. See the original post for details.

Post has been edited 2 time(s), last time on Jun 18 2018, 4:53 pm by T-warp.



None.

Options
Pages: < 1 2 3 4
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[11:07 am]
Suicidal Insanity -- I've already had lunch :P
[10:04 am]
Mini Moose 2707 -- We up we up
[09:56 am]
lil-Inferno -- family man hours who up
[06:37 am]
TF- -- even better news, his cancer cells lived to 170
[07:31 pm]
Suicidal Insanity -- Apparently he lived to 93
[07:27 pm]
NudeRaider -- jjf28
jjf28 shouted: assuming you're in no way responsible for setting off the nukes or wasting a perfectly good plane sure that's awesome
assuming the pilot (you) survives it
[07:20 pm]
jjf28 -- assuming you're in no way responsible for setting off the nukes or wasting a perfectly good plane sure that's awesome
[07:00 pm]
Suicidal Insanity -- Is this a shitty job, or an awesome job?: "I flew a Republic F-84F into seven nuclear explosions to measure the effects of the heat and the shock wave on aircraft."
[04:33 pm]
NudeRaider -- Blizz: "When you work for us, instead of getting paidd, you can do that from your own beach resort on the canaries - how does that sound?" SI: "Great! How many m² does this beach resort have we're talking about? Where exactly is it?" Blizz: "No idea, but be sure to tell me when you've bought it!" :awesome:
[2018-7-19. : 10:09 am]
Mini Moose 2707 -- Suicidal Insanity
Suicidal Insanity shouted: Mini Moose 2707 Wait until blizzcon comes around and I'm at work or on a beach in the canaries instead
Yeah, because they wouldn't drop the money on airfare LMAO
Please log in to shout.


Members Online: Excalibur, Roy, jjf28