Please try running BogusTrivia as the only scrip loaded on the bot.I've got an eggdrop bot set up currently, running multiple scripts with no issues. I'm trying to get BogusTrivia working,...
Yes, the settings file must be in the same directory as the t-2.tclFrom what I can see, it's calling for that file in the working directory of the main script (where it currently resides) but for some reason it can't find it.
Is that the correct route to the script and settings file?Here's the error:
[11:32] Couldn't find the BogusTrivia settings file: /home/xxxx/eggdrop/scripts/t-2.settings.tcl
Note: When working with egg scripts, "You" Is The Eggdrop Bot.Remember that to read a file, You need execute access to the directory it is in AND read access to the file itself...
You also need execute access to all parent directories back to the root.
sanchezz wrote:Spike,
I just tried loading the bot with only t-2, and still got the same issue.
Here's the log:
[15:46] Rehashing ...
[15:46] Loading BogusTrivia v2.06.4.6 by SpiKe^^...
[15:46] Couldn't find the BogusTrivia settings file: /home/xxxx/eggdrop/scripts/t-2.settings.tcl
[15:46] BogusTrivia game script not loaded!
[15:46] use '.help userinfo' for commands.
[15:46] Userfile loaded, unpacking...
Any other thoughts?
Thanks!
Nope. I'm using a free shell account somewhere so I have no idea which Linux the owner uses for the machine.starr wrote:1. Is this your own machine and is it Ubuntu?
It should be the same permission required for the script since I already set the file permission exactly as stated in the BogusTrivia installation note. I'll double check later to confirm.starr wrote:2. What are the file permissions on the bot folder and the scripts folder?
Well, the setting file needs to be edited in order to work, right? So I did. If you're talking about the main script then no I don't.starr wrote:3. Have you edited the script in any way?
Erm...I'm not sure whether I understand this question. Mind doing some clarification/rephrase?starr wrote:4. Are you calling the t-2 settings file?
I just grabbed the eggdrop1.6.21.tar.gz from the eggdrop site and then compiled it. I'm not sure whether it's patched or not.starr wrote:5. Are you running a patched 1.6.21 bot?
Code: Select all
I am running eggdrop v1.6.21, on Linux 2.6.32-042stab084.17.
This is referring to the source line(s) that you add to eggdrop.conf to load a script.Koo wrote:starr wrote: ...Erm...I'm not sure whether I understand this question. Mind doing some clarification/rephrase?starr wrote:4. Are you calling the t-2 settings file?
I just grabbed the eggdrop1.6.21.tar.gz from the eggdrop site and then compiled it. I'm not sure whether it's patched or not.starr wrote:5. Are you running a patched 1.6.21 bot?
I see. I tried calling the script but the problem still persisted.willyw wrote: This is referring to the source line(s) that you add to eggdrop.conf to load a script.
Show him all those lines, currently in eggdrop.conf, that have to do with BogusTrivia.
Thank you. I will try to patch the bot later.willyw wrote: It is not patched then.
While you wait for starr to reply to you, you might as well check out:
http://www.egghelp.org/files.htm#patches
Find the patch described as:
timerworkaround.patch.gz by thommey
Read the description there, and follow the link in the description. It leads to a lengthy forum thread that should explain itself.
(This is not the cause of your current problem - but since patches came up, and you are waiting, you might as well check it out and become aware of what to do. )
Code: Select all
if {![file exists [set ttmp(temp) $t2(pwdpath)$t2(scrpath)t-2.settings.tcl]]} {
putlog "Couldn't find the BogusTrivia settings file: $t2(scrpath)t-2.settings.tcl"
putlog "\00310BogusTrivia\003 game script not loaded!" ; unset ttmp ; return }
source $ttmp(temp)
Code: Select all
#if {![file exists [set ttmp(temp) $t2(pwdpath)$t2(scrpath)t-2.settings.tcl]]} {
# putlog "Couldn't find the BogusTrivia settings file: $t2(scrpath)t-2.settings.tcl"
# putlog "\00310BogusTrivia\003 game script not loaded!" ; unset ttmp ; return }
#source $ttmp(temp)
Code: Select all
source scripts/t-2.settings.tcl
source scripts/t-2.tcl