Inventory Triggers and Event Triggers Code Line Limitation #141


  • New
  • Defect
Open
Assigned to _ForgeUser8773666
  • Silverbane created this issue Jul 28, 2014

    What steps will reproduce the problem?
    1. Create a very large menu system for InventoryTriggers
    2. Attempt to open a menu defined at the bottom of EventTriggers
    3. Note it will not work. Now move it up to the top of lines of code, notice it will start working.

    What is the expected output? What do you see instead?
    There should not be any limitation. Especially for EventTriggers. Note this limitation also happens when using the @CALL but @CALL does seem to help allow you to add even more code then you would normally be able to  handle.

    What version of the product are you using?
    1.3.2

    Do you have an error log of what happened?
    No errors appear.

    Please provide any additional information below.
    My total for all the @CALL scripts below is around 700 lines of code.
      Inventory:
        CoolDown: 0
        Script:
        - '@PLAYER PLEASE set your GUI scale to normal in options video settings.'
        - '@CALL Flag:IEvent'
        - '@CALL Menu:IEvent'
        - '@CALL Tech:IEvent'
        - '@CALL Balistics:IEvent'

    Let me know if you want all the code. Please contact me. Thanks

  • Silverbane added the tags New Defect Jul 28, 2014
  • Silverbane posted a comment Jul 29, 2014

    Note that this may also be related to the fact that I am updating the files without restarting the server. Example /vt autosave Move files over /vt reloadtriggers /vt reloadscripts /vt autosave

    Those are the steps I take whenever I update Eventtriggers and Inventorytriggers.

  • Pixelmod posted a comment Jul 30, 2014

    This has nothing to do with your instructions. I do the same and it works fine.

    However, occasionnally, when you change the amount of lines in a file, VT will only read the same amount of lines there was before you edit, aka if you add 25 lines to a 30 lines long file, VT will still read the first 30 lines.

    I can't explain this but it happens to me too sometimes. Closing and restarting your server seems to fix it (not reloading, stop it completely in the process).

    EDIT: Also check if your file isn't in ANSI. UTF-8 works better.


    Edited Jul 30, 2014
  • Lyoko_Firelyte posted a comment Jul 30, 2014

    There's not enough here to see what the issue is, may I see the code please?


To post a comment, please login or register a new account.