Jump to content




Involuntary recursion

computer help lua

  • You cannot reply to this topic
2 replies to this topic

#1 apemanzilla

  • Members
  • 1,421 posts

Posted 10 July 2013 - 02:44 PM

Hi,
I've been working on an OS and attempting to make a web-controlled forcefield for my base so i can monitor my base on vacation and such. However, when i run the program (linked below) i get a lot of spam "field off" "kill on" "done" "updated states" which should only happen once, and no messages from anything else. If i leave it running for a bit, it eventually stops due to stack overflow. Cpuld anyone help me?

http://pastebin.com/zTsAQth3

#2 GopherAtl

  • Members
  • 888 posts

Posted 10 July 2013 - 02:49 PM

the last thing drawScreen does is call buttonActions. The last thing buttonActions does is call drawScreen. This is a Bad Idea.tm

#3 apemanzilla

  • Members
  • 1,421 posts

Posted 10 July 2013 - 02:59 PM

Thanks! (How did I not notice that :blink: )





2 user(s) are reading this topic

0 members, 2 guests, 0 anonymous users