generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: How often do you cause "stack overflow"?

Previous Thread :: Next Thread 
lucas668 is not online. lucas668
Joined: 18 Jun 2008
Total Posts: 6183
16 Jul 2012 06:46 PM
And as a follow-up question to the title, how do you fix it?

I'm stuck. D=
Report Abuse
booing is not online. booing
Joined: 04 May 2009
Total Posts: 6594
16 Jul 2012 06:49 PM
global _start
a:
push 05
call a
_start:
call a
Report Abuse
lucas668 is not online. lucas668
Joined: 18 Jun 2008
Total Posts: 6183
16 Jul 2012 06:50 PM
Oh, I was wondering why my script got the error. Thanks Booing.
Report Abuse
Vitouliss14 is not online. Vitouliss14
Joined: 18 Mar 2009
Total Posts: 7918
16 Jul 2012 06:54 PM
When I do:

for b = 1,1000000 do
print(b)
end
Report Abuse
lucas668 is not online. lucas668
Joined: 18 Jun 2008
Total Posts: 6183
16 Jul 2012 06:55 PM
I lol'ed.
Report Abuse
belial52 is not online. belial52
Joined: 10 Oct 2009
Total Posts: 8074
16 Jul 2012 06:57 PM
while true do end

nuf said
Report Abuse
Charl3s7 is not online. Charl3s7
Joined: 07 Dec 2007
Total Posts: 4146
16 Jul 2012 06:59 PM
I never get a stack overflow error.
Report Abuse
SCARFACIAL is not online. SCARFACIAL
Joined: 28 Jan 2010
Total Posts: 7970
16 Jul 2012 07:06 PM
I usually get a stack overflow when I derp with a recursive function.

local function recurse( object )
   for i,v in pairs(object:GetChildren()) do
      recurse(object) -- Derp
   end
end
Report Abuse
Vitouliss14 is not online. Vitouliss14
Joined: 18 Mar 2009
Total Posts: 7918
16 Jul 2012 07:45 PM
@lucas668

Cause sometimes..My hands start to get lazy and hold on the zero key tooooooo long.
Report Abuse
aboy5643a is not online. aboy5643a
Joined: 20 Nov 2010
Total Posts: 2785
16 Jul 2012 07:50 PM
Whenever I don't put a stop in some recursive function??? Usually this happens when I'm doing some explorer tree searching and I recursively call a function to move up and down the tree looking for something.
Report Abuse
stravant is not online. stravant
Forum Moderator
Joined: 22 Oct 2007
Total Posts: 2893
16 Jul 2012 07:51 PM
@booing

No need to even call:

a:
push 0
jmp a
Report Abuse
booing is not online. booing
Joined: 04 May 2009
Total Posts: 6594
16 Jul 2012 08:05 PM
^
I like using _start, even if I don't need it. If I keep the basic template of my code the same then it just makes more sense. If I see reason in a different way, I change. Otherwise, I adapt.
Report Abuse
WildSurvival is not online. WildSurvival
Joined: 02 Mar 2009
Total Posts: 511
17 Jul 2012 07:53 PM
when i have a value that is 0 and i divide by it :(
Report Abuse
Aaaboy97 is not online. Aaaboy97
Joined: 05 Apr 2009
Total Posts: 6612
17 Jul 2012 08:41 PM
I don't cause it very often at all. Usually just when I make a typo in a recursion function.

~There was an Aaaboy97 impostor at RGC~
Report Abuse
Garnished is not online. Garnished
Joined: 09 Apr 2012
Total Posts: 12695
17 Jul 2012 09:28 PM
FindName:Garnished:remove()

Wait wha--AHH!
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image