#Causes Watchdog Terminate Errors and Suddenly Shuts down

1 messages · Page 1 of 1 (latest)

marsh dagger
main locust
#

I think it may be the database causing the issue

#

No, it’s the moment I import any of my other scripts

#

Index works fine without any import from any of my other files

marsh dagger
#

Does the game crash fully or just kick you out of the world

main locust
#

Full crash

#

Red screen and terminate

marsh dagger
#

That’s not watchdog then, hmm

main locust
#

I can import database fine

marsh dagger
#

None of the others?

main locust
#

But not battleprotection or any other one I actually made

#

Of course jaylys code is bullet proof and mine shatters….

marsh dagger
#

Try removing & re-adding the functions one by one in battleprotection

main locust
#

Ok

marsh dagger
#

Import just the empty file to start

main locust
#

What is it console.log or what I always forget?

marsh dagger
#

Log for files, warn for in game ui

main locust
#

Ok

#

Ok so an empty battleprotection loaded and a dummy function called test imported successfully and logged when used

#

So I found the issue

#

Look at the top of battle protection where I’m importing GetPlayerByName

marsh dagger
#

from "."

#

Oof

main locust
#

yep

bright jackalBOT
#
Debug Result

There are 20 errors in this [code](#1151197405157535835 message).
Please read the attached file for the result.

mint flax
#

Wanted to see if the bot would debug all of them or if it was limited lol.