PtokaX forum

Lua 5.3/5.2/5.1 Scripts (for PtokaX 0.4.0.0 and newer) => DiXBoT => AllInOne Scripts => DiXBoT - Support => Topic started by: Glaurion on 10 October, 2010, 15:52:17

Title: Reboot crash in DiXBoT
Post by: Glaurion on 10 October, 2010, 15:52:17
Hi,

I have a comics hub and i use the dixbot script to index the releases. Recently, the script started to have an crash in the reboot when the hub goes off for some reason (mainly server maintenance). To fix this error, I have to reboot the script manually, what can be difficult in some ocassions (the hub doesn't run on my computer).

What can I do to fix this problem?

Thanks in advance!
Title: Re: Reboot crash in DiXBoT
Post by: Snooze on 13 October, 2010, 14:19:52
Hi..

I guess you can always use the cmd "!startscript dixbot.lua"

Hope it helps..

/Snooze
Title: Re: Reboot crash in DiXBoT
Post by: Glaurion on 24 October, 2010, 23:38:23
Hi, Snooze! Thanks for the answer.

I just tried use this command but the system returned this message:

"Error, the script is already running"

But it's not. Not properly at least. Is there something else to fix this problem?

Best regards.

--------------------

EDIT: I tried the command "!restartscript dixbot.lua", but it didn't work. It returned the following error message:

...\code\dixbot..Dev\coresystem\stats.lua 131 : attempt to index global tHubstats (a nil value)

Is there a way to fix it?
Title: Re: Reboot crash in DiXBoT
Post by: kammikaze on 11 December, 2010, 16:29:32
You can try to overwrite the script with the original script, most off the time works here.