egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

BogusTrivia issues
Goto page Previous  1, 2
 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases
View previous topic :: View next topic  
Author Message
Koo
Voice


Joined: 02 Apr 2010
Posts: 37

PostPosted: Tue May 20, 2014 11:15 am    Post subject: Reply with quote

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. )

Alright, I patched the bot but the problem still persists. Sad

SpiKe^^ wrote:
This is the code responsible for checking if the settings file is available:
Code:

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)



Try bypassing the file check by editing that part of the script file to be more like:
Code:

#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)


Then source the settings file in the bot conf file, before the script file...
Code:

source scripts/t-2.settings.tcl
source scripts/t-2.tcl


Thanks SpiKe^^. Tested it and it worked. I got this kind of error, though.
Quote:
<Cleo> Loading BogusTrivia v2.06.4.6 by SpiKe^^...
<Cleo> Couldn't find t-2.tcl commands file: /home/koo/eggdrop/scripts/t-2.commands.tcl
<Cleo> All BogusTrivia mix/greet/voice/autostart/public-commands functions disabled!
<Cleo> Put the included t-2.commands.tcl file in /home/koo/eggdrop/scripts/ & rehash the bot.
<Cleo> BogusTrivia Loaded.

I seriously have no idea where did I screw up. Confused
Back to top
View user's profile Send private message
ComradeMilton
Voice


Joined: 17 Jun 2014
Posts: 1

PostPosted: Tue Jun 17, 2014 1:42 am    Post subject: Reply with quote

I receive the same error. I've checked folder and file permissions three times, disabled other scripts and so on, but I still receive the message that the script can't find the settings file.

If it matters I use iSpeeds for a shell provider and this bot used to run Bogus with no problems, but after going inactive for a few months, when I resurrected it from the existing files the problem began, so I did a fresh installation and still receive the error.

Seriously? Any ideas at all?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases All times are GMT - 4 Hours
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber