kolton / d2bot-with-kolbot

d2bot game manager by D3STROY3R with kolbot libs by kolton for d2bs
346 stars 332 forks source link

Too much recursion #1447

Open Vereph opened 5 years ago

Vereph commented 5 years ago

My Paladin Leader keeps getting this message randomly and i do know how to solve this. he will sit in the game 30+ minutes and randomly leave. I run Chaos and this only happens right after he kills diablo and baal. Iso help? error msg

Vereph commented 5 years ago

I figured out if i go to general config, and put max time to four minutes "Runs never pass 4 minute" Theyll leave and this error wont affect them, with that being said id still like to find out why this error is occurring if possible.

mf022 commented 5 years ago

Max time should be more than 6 minutes, or maybe 10, to avoid temporary restrictions.

line 64 from default.dbj is:

        if (gid > 0 && mode === 0) {

Did you changed something, or this is happened when SoJ messages are received in game?

Did you updated your bot files?

Vereph commented 5 years ago

Max time should be more than 6 minutes, or maybe 10, to avoid temporary restrictions.

line 64 from default.dbj is:

      if (gid > 0 && mode === 0) {

Did you changed something, or this is happened when SoJ messages are received in game?

Did you updated your bot files?

Never touched the default.dbj. And im unsure of where to update bot files?

mf022 commented 5 years ago

you can use tortoiseSVN. check guide https://github.com/blizzhackers/documentation/blob/master/d2bot/Download.md#download-with-tortoisesvn

then you can update your files with SVNUpdate, keeping your customized scripts.

jaenster commented 5 years ago

Make sure that you do not use any fat arrow function. It dramatically alters the maximum amount of recursion in the version of spidermonkey d2bs uses