2014年12月13日星期六

Get24: "Your mom's in another computer"




We're currently in progress of debugging the game loop that runs every "frame" and ready to detect the next click event. The major issue we ran into is that whenever the mouse event is triggered, the exception will trigger and the loop will be restarted - which causes a infinite loop, memory issue and etc. Therefore we placed a print statement "your MOM" inside the loop so we could test out when the loop is running. However, after we finish testing with the loop and take out the print statement, "your MOM" is still there when running the loop. We checked every script we had looking for "your MOM" but we couldn't find her (I mean it). It was hilarious that we're constantly suggesting to each other on where "your MOM" could be found.

Solution:
  • We found out that it's the VM that we're running is causing the issue magically. Somehow the print statement is cached somwhere in the system after we removed it. After restarting the VM the print statement was gone.
  • The looping issue still exists... Just without "your MOM".

没有评论:

发表评论