Thoughts on the Interpreter's Script Command
#11
(03-03-2025, 02:33 AM)kyonides Wrote: What are you talking about now? I mean, be specific because it sounds strange. PM or discord preferred here.

EDIT 1

I don't seen any custom variable misnamed nor misspelled at all in both Version 4 and 5.

EDIT 2

At this point it seems clear to me that you failed to mention that you were talking about OLD errors the published script had. That I can easily understand.


That error spoken of was the three hour repeat-fest on the 26th (Wednesday) whereby I was asked to test this version of the 'command_355' method in Kyonides' Interpreter Fix:

  def command_355
    old_pos = @index
    # Set first line to script
    script = @list[@index].parameters[0] + "\n"
    # Loop
    loop do
      # If next event command is second line of script or after
      if @list[@index+1].code == 655
        # Add second line or after to script
        script += @list[@index+1].parameters[0] + "\n"
      # If event command is not second line or after
      else
        # Abort loop
        break
      end
      # Advance index
      @index += 1
    end
    # NEW: Single Line Script Call Bug Fix
    # That call failed because devs forgot to increase the @index variable
    @index += 1 if @index == old_post
    # Evaluation
    result = eval(script)
    # Removed Several Lines Here Before Continue
    return true
  end

Highlighted in yellow, there is the offending variable that was incorrectly entered, meant to be old_pos instead.  And the error I kept sending and mentioning was this:

[Image: attachment.php?aid=2851]

There was no way it could have succeeded in any betatest as it was.


Attached Files Thumbnail(s)
   
Up is down, left is right and sideways is straight ahead. - Cord "Circle of Iron", 1978 (written by Bruce Lee and James Coburn... really...)

[Image: QrnbKlx.jpg]
[Image: sGz1ErF.png]    [Image: liM4ikn.png]    [Image: fdzKgZA.png]    [Image: sj0H81z.png]
[Image: QL7oRau.png]    [Image: uSqjY09.png]    [Image: GAA3qE9.png]    [Image: 2Hmnx1G.png]    [Image: BwtNdKw.png%5B]
  Above are clickable links
Reply


Messages In This Thread
RE: Script Commands Bug Fixes - by kyonides - 02-13-2025, 08:35 PM
RE: Script Commands Bug Fixes - by Zeriab - 02-26-2025, 07:53 AM
RE: Script Commands Bug Fixes - by kyonides - 02-26-2025, 05:45 PM
RE: Script Commands Bug Fixes - by Zeriab - 02-26-2025, 07:25 PM
RE: Thoughts on the Interpreter's Script Command - by DerVVulfman - 03-03-2025, 03:02 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
   Your thoughts on Action Game Maker? PK8 10 20,395 11-18-2011, 03:58 AM
Last Post: KasperKalamity
   Pause Script Feature Requests? PK8 11 18,768 05-25-2009, 11:07 AM
Last Post: Kain Nobel
   Beyond the script editor line: Is it bad practice? PK8 6 12,601 05-22-2009, 09:27 PM
Last Post: Charlie Fleed



Users browsing this thread: 3 Guest(s)