Where to dl "Dialog Extension Sample" game?

Justin

  • *
  • Posts: 4716
Sure.

What does "anymore" mean? Did it before? Did you change any settings? Have you checked the options in the "Flow Scripts" part of the Style in Data Structures?
For Live Support: Join our discord server and ping me @justin.
I'm most often available between 10am and 10pm Japan time. (GMT+9)

NeoCHI

  • Posts: 523
"Anymore" might have been misleading. I guess I meant compared to the sample game on your website. I didn't change anything and I even tried deleting and reimporting the new sample game you sent last time but it still didn't pause.

Can you not reproduce the issue?

DoctorMikeReddy

  • *
  • Posts: 180
OK, wiped and reinstalled and tried to set all the things that I could see were not set; although it isn't always easy to know what to set things as :-(
I'm still getting the <but> error as I cannot see where to set the pointer animation anywhere.
EDIT I appear to have set the Pointer animation in Script Settings, but the error is still there :-(
Also, when I look at the Data Structures section, I appear to have two copies of Dialog structure (see attached). Is that right? Where do I set the pointer, and what do I set the various blank ScalingImage Images to? (I get these when I open the Structure Editor for either Dialog.)
EDIT2: I went back through and removed everything, including some dialog and data structure jars that appeared to be old ones, so now I don't have duplicated data structures, but still the same <but> errors. Using latest build with clean install of extensions and both the old and new samples.

« Last Edit: April 14, 2016, 01:07:10 am by DoctorMikeReddy »

DoctorMikeReddy

  • *
  • Posts: 180
Here are my flow scripts settings. So, now I have non-working Dialog, where before it worked but I couldn't change anything :-(

« Last Edit: April 14, 2016, 01:18:24 am by DoctorMikeReddy »

Justin

  • *
  • Posts: 4716
Okay I've finally taken a look at your error, DoctorMikeReddy. It would indeed indicate that the pointer animation isn't set properly, but it looks like it should be fine based on what you have up there. (With a "Pointer" actor type which has an animation "Pointer".)

Perhaps it's actually using a different dialog style than the one you're editing, because you showed a weird screenshot with double of everything. There could be something funky going on, so if you send me your game I can take a look at it over the weekend.
For Live Support: Join our discord server and ping me @justin.
I'm most often available between 10am and 10pm Japan time. (GMT+9)

Justin

  • *
  • Posts: 4716
Alright, once again, all my fault. The version I uploaded contained an error for the purpose of testing, but the version I have locally didn't have the error. I will fix this.
For Live Support: Join our discord server and ping me @justin.
I'm most often available between 10am and 10pm Japan time. (GMT+9)

Justin

  • *
  • Posts: 4716
Okay, if you remove your current copy of the dialog engine extension and grab the latest again from the repository, all should be well.
For Live Support: Join our discord server and ping me @justin.
I'm most often available between 10am and 10pm Japan time. (GMT+9)

NeoCHI

  • Posts: 523
Okay, if you remove your current copy of the dialog engine extension and grab the latest again from the repository, all should be well.

Awesome, it works! Thanks very much!

DoctorMikeReddy

  • *
  • Posts: 180
Ok, sorted the duplicate problem - old dialog.jar in the engine extensions folder - but a new one. I wiped all content by uninstalling in Stencyl, then cleaning the engine extension and extensions folder, removed the game and reimported from your link. installed the dialog (and data structure) extension. Now, when I click on any of the Data Structures objects, say to check the buttons, etc, were installed properly, I get this error:
Code: [Select]
Scene: 1 (Another Scene) from: scenes\1.xml
2016-04-18 09:00:34,300 ERROR [AWT-EventQueue-0] root: Unexpected problem on thread AWT-EventQueue-0: Expected static method stencyl.sw.util.Fonts.getBoldFont()Ljava/awt/Font;
java.lang.IncompatibleClassChangeError: Expected static method stencyl.sw.util.Fonts.getBoldFont()Ljava/awt/Font;
at com.polydes.datastruct.ui.table.PropertiesSheetStyle$Dark.<init>(PropertiesSheetStyle.java:109)
at com.polydes.datastruct.ui.table.PropertiesSheetStyle.<clinit>(PropertiesSheetStyle.java:23)
at com.polydes.datastruct.ui.objeditors.StructureEditor.<init>(StructureEditor.java:37)
at com.polydes.datastruct.ui.objeditors.StructureEditor.<init>(StructureEditor.java:27)
at com.polydes.datastruct.data.structure.Structure.getEditor(Structure.java:166)
at com.polydes.datastruct.ui.page.StructurePage.selectionStateChanged(StructurePage.java:284)
at com.polydes.common.ui.darktree.DarkTree.valueChanged(DarkTree.java:332)
at javax.swing.JTree.fireValueChanged(JTree.java:2927)
at javax.swing.JTree$TreeSelectionRedirector.valueChanged(JTree.java:3391)
at javax.swing.tree.DefaultTreeSelectionModel.fireValueChanged(DefaultTreeSelectionModel.java:635)
at javax.swing.tree.DefaultTreeSelectionModel.notifyPathChange(DefaultTreeSelectionModel.java:1093)
at javax.swing.tree.DefaultTreeSelectionModel.setSelectionPaths(DefaultTreeSelectionModel.java:294)
at javax.swing.tree.DefaultTreeSelectionModel.setSelectionPath(DefaultTreeSelectionModel.java:188)
at javax.swing.JTree.setSelectionPath(JTree.java:1634)
at javax.swing.plaf.basic.BasicTreeUI.selectPathForEvent(BasicTreeUI.java:2393)
at javax.swing.plaf.basic.BasicTreeUI$Handler.handleSelection(BasicTreeUI.java:3609)
at javax.swing.plaf.basic.BasicTreeUI$Handler.mousePressedDND(BasicTreeUI.java:3586)
at javax.swing.plaf.basic.BasicTreeUI$Handler.mousePressed(BasicTreeUI.java:3545)
at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:279)
at java.awt.Component.processMouseEvent(Component.java:6532)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
at java.awt.Component.processEvent(Component.java:6300)
at java.awt.Container.processEvent(Container.java:2236)
at java.awt.Component.dispatchEventImpl(Component.java:4891)
at java.awt.Container.dispatchEventImpl(Container.java:2294)
at java.awt.Component.dispatchEvent(Component.java:4713)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4888)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4522)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4466)
at java.awt.Container.dispatchEventImpl(Container.java:2280)
at java.awt.Window.dispatchEventImpl(Window.java:2750)
at java.awt.Component.dispatchEvent(Component.java:4713)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
at java.awt.EventQueue$4.run(EventQueue.java:731)
at java.awt.EventQueue$4.run(EventQueue.java:729)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

Any ideas?

EDIT: I can confirm that the dialog sample now works, however.

Mike

Justin

  • *
  • Posts: 4716
That's part of the compatibility update I released.

polydes commit: Compatibility with Stencyl b8833. -- PropertiesSheetStyle -- L109

You need at least b8833 to use that version.
For Live Support: Join our discord server and ping me @justin.
I'm most often available between 10am and 10pm Japan time. (GMT+9)

DoctorMikeReddy

  • *
  • Posts: 180
I'm using the latest, 8868!

Justin

  • *
  • Posts: 4716
That's really odd. Maybe I got my wires crossed when I was looking that up. Could you try it with the latest private release, if you don't mind updating?
For Live Support: Join our discord server and ping me @justin.
I'm most often available between 10am and 10pm Japan time. (GMT+9)

DoctorMikeReddy

  • *
  • Posts: 180
OK, manually removed dialog and data extensions, as well as the common extension from both extensions and engine-extensions, then reinstalled via Get Extensions. At that point, I could see the Data Extension then said Update. I quit and restarted Stencyl, and loaded up your 1.6.6 sample, which worked. However, I was getting an "Ouch this should not have happened" error when clicking on the Data Structures :-(
Then I updated it - compatibility for b8816 (if I recall correctly). At that point I restarted the App and Data Structures now had two sets of data for Dialog (as shown in a previous screen shot). Clicking on bits of either caused the same error. There is definitely only one of each jar file in the engine and extensions folders. As far as I can see there were no duplications in the game sub folders either.

Then (and this is the weird part) quitting and restarting... it now works with both the old sample and the new one.

Thank you so much for being patient. I'll try not to hijack a thread here, in future, and will post issues on the repo.

DoctorMike

Justin

  • *
  • Posts: 4716
I think you've been the more patient one. Can't believe you went through all the trouble to get it to work!
For Live Support: Join our discord server and ping me @justin.
I'm most often available between 10am and 10pm Japan time. (GMT+9)