User Tag List

Results 1 to 8 of 8

Thread: A problem with Tigerworks scripting engine!

  1. #1
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCHTML5 Export ModuleiOS Export ModuleSWF Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    chrilley's Avatar
    Join Date
    Jul 2006
    Posts
    1,013
    Mentioned
    17 Post(s)
    Tagged
    1 Thread(s)

    A problem with Tigerworks scripting engine!

    Hello,

    I've recently got this engine to work pretty much perfectly with my game. Only one problem, for some reason the scripting engine gets me a 96 character limit. So when I want a dialog where someone says a line longer than that limit, it will cut-off the rest.

    What is causing this?

    The engine

  2. #2
    Forum Moderator Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Jun 2006
    Location
    England
    Posts
    3,546
    Mentioned
    4 Post(s)
    Tagged
    1 Thread(s)

    Re: A problem with Tigerworks scripting engine!

    You could try Lua scripting.
    .:::.Joshtek.:::.

  3. #3
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCHTML5 Export ModuleiOS Export ModuleSWF Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    chrilley's Avatar
    Join Date
    Jul 2006
    Posts
    1,013
    Mentioned
    17 Post(s)
    Tagged
    1 Thread(s)

    Re: A problem with Tigerworks scripting engine!

    Yes, but if possible I'd like to just solve this one problem as I got the language and all it's functions down and have it fully working with my game, except for that tiny problem. Will save me lot's of thinking/crying time. :P

    I'll remember to actually use the Lua object from the beginning when I do my next project though.

    Anyone have any idea what might be causing the character limit?

  4. #4
    Forum Moderator Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Jun 2006
    Location
    England
    Posts
    3,546
    Mentioned
    4 Post(s)
    Tagged
    1 Thread(s)

    Re: A problem with Tigerworks scripting engine!

    All the GetText$( "Output", 0, 99 ) stuff in the code means it only gets the first 99 characters - you have to increase the number.
    .:::.Joshtek.:::.

  5. #5
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCHTML5 Export ModuleiOS Export ModuleSWF Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    chrilley's Avatar
    Join Date
    Jul 2006
    Posts
    1,013
    Mentioned
    17 Post(s)
    Tagged
    1 Thread(s)

    Re: A problem with Tigerworks scripting engine!

    That does work when I make a quick application with 1 string and set it's text to GetText$( "Output", 0, 999 ). But once I do this in this scripting engine it doesn't work.

  6. #6
    Forum Moderator Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Jun 2006
    Location
    England
    Posts
    3,546
    Mentioned
    4 Post(s)
    Tagged
    1 Thread(s)

    Re: A problem with Tigerworks scripting engine!

    IIRC it isn't just once instance. Elsewhere in the code it needs to be changed in a similar manner.
    .:::.Joshtek.:::.

  7. #7
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCHTML5 Export ModuleiOS Export ModuleSWF Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    chrilley's Avatar
    Join Date
    Jul 2006
    Posts
    1,013
    Mentioned
    17 Post(s)
    Tagged
    1 Thread(s)

    Re: A problem with Tigerworks scripting engine!

    Yes, I understood that. But it turns out there was another factor causing the problem as well. It is partially the limit on GetText, but also the fact that the engine only runs 100 fastloops per line. Increasing that value is also needed. (D'OH! xD)

    Thanks for the help Joshtek, now I can get on with this without having to change the whole script-engine!

  8. #8
    Forum Moderator Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Jun 2006
    Location
    England
    Posts
    3,546
    Mentioned
    4 Post(s)
    Tagged
    1 Thread(s)

    Re: A problem with Tigerworks scripting engine!

    Ah I see, thanks for sharing your solution.
    .:::.Joshtek.:::.

Similar Threads

  1. Anyone updating Tigerworks DirectSound for MMF2?
    By MelliGeorgiou in forum Extension Development
    Replies: 2
    Last Post: 4th October 2006, 01:47 PM
  2. Tigerworks's extensions
    By PkR in forum Extension Development
    Replies: 5
    Last Post: 19th July 2006, 11:35 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •