"stack overflow" errors - Homunculus Headquarters - WarpPortal Community Forums

Jump to content


Photo
- - - - -

"stack overflow" errors


  • Please log in to reply
1 reply to this topic

#1 NeoNilox

NeoNilox

    Awarded #1 Troll

  • Members
  • 797 posts
  • LocationSantiago, Chile
  • Playing:Nothing
  • Server:What server?

Posted 07 April 2012 - 04:02 PM

If there's any AI scripting expert around, Yay! becaue I have a question, an issue in other words.

I've been crafting my MirAI Hack since the last year and bla bla bla, and today it's ocasionally throwing me "stack overflow" errors, randomly.

Do you why this may be occuring?
  • 0

#2 DrAzzy

DrAzzy

    Really Azzy? Already?

  • VMod Retired
  • 15606 posts
  • LocationNew England
  • Playing:Ragnarok Online
  • Server:Chaos-Clandestine Society

Posted 07 April 2012 - 08:30 PM

Most likely you have a function (indirectly) calling itself.

There's a limit to how many functions you can have called inside eachother.. It's a generous limit, and every time i've hit it, it's because i had something calling itself.

Also be sure to use proper tail calls when appropriate.
  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users