dMZX Forums: COPY x y thisx thisy fails incorrectly -> Archived MegaZeux Bugs -> Tracker

Jump to content

Report ID 756 Title COPY x y thisx thisy fails incorrectly
Product Archived MegaZeux Bugs Status Fixed (Severity 1 - Low)
Version 2.91i Fixed in 2.92
Introduced In Version 2.80XOperating System All platforms

Page 1 of 1
  • Cannot start a new Issue
  • Closed Issue This issue is locked

Report ID #756: COPY x y thisx thisy fails incorrectly

#1 User is offline  
Lachesis 

  • the pinnacle of human emotion
  • Group: DigiStaff
  • Posts: 3,895
  • Joined: 17-July 04
  • Gender:Female
  • Location:Sealand

Posted 18 February 2019 - 03:36 AM

This is a port regression in both the COPY x y x2 y2 command and (maybe?) the COPY dir dir command. When the source of the copy is the player, these commands are supposed to fail and continue to the next command regardless of the destination. Since 2.80X, if the source is the player and the destination is the current robot, these commands will not continue to the next command but will instead attempt the copy once every cycle until the source changes.

Test case: put the player at 0,0 and fill the board with robots with this program:

copy 0 0 thisx thisy
inc "test" 1
* &test&"


In DOS, the number of robots on the board will display in the message immediately. In all port versions, the robots will appear to do nothing until the player moves away from 0,0 and then disappear without executing any other commands.

A version check for compatibility might be needed (unlikely, though), so the fix should wait until 2.92.
"Let's just say I'm a GOOD hacker, AND virus maker. I'm sure you wouldn't like to pay for another PC would you?"

xx̊y (OST) - HELLQUEST (OST) - Zeux I: Labyrinth of Zeux (OST) (DOS OST)
w/ Lancer-X and/or asgromo: Pandora's Gate - Thanatos Insignia - no True(n) - For Elise OST
MegaZeux: Online Help File - Keycode Guide - Joystick Guide - Official GIT Repository


Page 1 of 1  
  • Cannot start a new Issue
  • Closed Issue This issue is locked

Replies (1 - 2)

#2 User is offline  
Lachesis 

  • the pinnacle of human emotion
  • Group: DigiStaff
  • Posts: 3,895
  • Joined: 17-July 04
  • Gender:Female
  • Location:Sealand

Posted 23 February 2019 - 10:49 PM

Updating status to: Fixed
Issue fixed in: 2.92

Fixed in GIT aa48dcb4 in master-2.92. I didn't add a version check for this one, but the option to add one later is there.
"Let's just say I'm a GOOD hacker, AND virus maker. I'm sure you wouldn't like to pay for another PC would you?"

xx̊y (OST) - HELLQUEST (OST) - Zeux I: Labyrinth of Zeux (OST) (DOS OST)
w/ Lancer-X and/or asgromo: Pandora's Gate - Thanatos Insignia - no True(n) - For Elise OST
MegaZeux: Online Help File - Keycode Guide - Joystick Guide - Official GIT Repository

#3 User is offline  
Terryn 

  • ******
  • Group: DigiStaff
  • Posts: 2,960
  • Joined: 12-October 00
  • Gender:Male

Posted 23 July 2019 - 12:35 AM

Moving to: Archived MegaZeux Bugs


Page 1 of 1
  • Cannot start a new Issue
  • Closed Issue This issue is locked

0 User(s) are reading this issue
0 Guests and 0 Anonymous Users


Powered by IP.Tracker 1.3.2 © 2026  IPS, Inc.