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 

New BogusTrivia 2.06.4.6 Released

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases
View previous topic :: View next topic  
Author Message
SpiKe^^
Owner


Joined: 12 May 2006
Posts: 792
Location: Tennessee, USA

PostPosted: Mon Aug 13, 2012 8:09 pm    Post subject: New BogusTrivia 2.06.4.6 Released Reply with quote

The new version of BogusTrivia has just been released. Get your copy today at the egghelp script archive.
Code:
###################################################################
#                                                                 #
#  Version 2.06.4.6 Release Notes:  (Patch for Version 2.06.4.5)  #
#                                                                 #
# -> New Updated File:  t-2.commands.tcl <-                       #
# Bug Fix:   (Thanks ivanov)                                      #
#  Fixes the issues with the public .info command & the           #
#    %t variable substitution code in user defined public relies. #
#    Example: User file created on 05/14/11 (.info total players) #
#  Fixes the %m variable substitution code issue in user defined  #
#    public relies.  %m = command used to trigger the reply       #
#                                                                 #
# -> New Updated File:  t-2.tcl <-                                #
# Bug Fix:                                                        #
#  Fixes an issue with the public: .stats <nick>  usage reply.    #
#                                                                 #
# -> New Updated Files:  t-2.settings.tcl  &  Commands.txt <-     #
#  Added documentation for the fixed %m variable substitution     #
#    code in user defined public relies.                          #
#                                                                 #
###################################################################
#                                                                 #
#  Version 2.06.4.5 Release Notes:                                #
#                                                                 #
# -> New Settings in v2.06.4.5 :  t-2.settings.tcl <-             #
#  1. Set separate user flags to turn the game off                #
#  2. Allows much lower point ranges for questions and kaos       #
#  3. Allows much lower pause times between questions and hints   #
#  4. Change all command prefixes with one setting                #
#  5. Change hint placeholder default character                   #
#  6. Allows longer questions (max character limit & multi-line)  #
#  7. Several new question presentation options                   #
#  8. Strip color codes from players answers                      #
#  9. Strip extra spaces from players answers                     #
# 10. New public commands: .info .webstats & .stats <nick>        #
# 11. User defined public triggers and replies options            #
# 12. Sample user defined commands: .commands .rules .time        #
#                                                                 #
# -> New Updated File:  t-2.tcl <-                                #
# Bug Fix:  Fixed an issue where public stats command reply       #
#  was showing the \002 bold code.                                #
# Added code to support new options and public commands.          #
#                                                                 #
# -> New Updated File:  t-2.commands.tcl <-                       #
# Added code to support the new public commands.                  #
#                                                                 #
# -> New Updated File:  bogus.ques.sample <-                      #
# Cleaned Many Doubles and Removed Bad Questions.                 #
#                                                                 #
###################################################################

_________________
SpiKe^^

Get BogusTrivia 2.06.4.7 at www.mytclscripts.com
or visit the New Tcl Acrhive at www.tclarchive.org
.
Back to top
View user's profile Send private message Visit poster's website
Tannn3r
Voice


Joined: 23 Dec 2010
Posts: 25

PostPosted: Thu Mar 14, 2013 2:23 pm    Post subject: Reply with quote

Hey Spike^^, I'm having a problem with your script. I get this error:

[18:17:44] Loading 10BogusTrivia v2.06.4.6 by SpiKe^^...
[18:17:44] Tcl error in file 'eggdrop.conf':
[18:17:44] can't read "nt": no such variable
while executing
"split $nt :"
(procedure "TSavHist" line 17)
invoked from within
"TSavHist 1 "
(procedure "TFileInfo" line 6)
invoked from within
"TFileInfo"
(file "scripts/t-2.tcl" line 3746)
invoked from within
"source scripts/t-2.tcl"
(file "eggdrop.conf" line 1390)
[18:17:44] * CONFIG FILE NOT LOADED (NOT FOUND, OR ERROR)
Back to top
View user's profile Send private message
SpiKe^^
Owner


Joined: 12 May 2006
Posts: 792
Location: Tennessee, USA

PostPosted: Fri Mar 15, 2013 1:14 am    Post subject: Reply with quote

Hey Tann3r, sorry to hear you are having problems with your bot.
That is not a known error for the BogusTrivia script.
The lines involved in that seem to be...
Code:
   set tusfile [open $t2(sfpath)t2.users]  ;  set tulin0 [gets $tusfile]
   foreach {nt d10 dt w10 wt m10 mt e10 uc} $tulin0 { break }
   set t2(-ufiledt) [lindex [split $nt :] 3]  ;  set t2(-ufilcnt) $uc


As you can see, the code starts by reading the first line of the Bogus user file.
It then tries to set local variables for each item it expects to find in that line.
Then we get to the line of code that is giving you the error, when it tries to read a variable that wasn't set above.

The reason the variable wasn't set must be that the first line in the file is an empty line,
and your Bogus user file has become broken for some reason.

Open the Bogus user file located at /scripts/t2/t2.users and see what's in it.
If it's not just an empty file, paste the first few lines of the file here.

Deleting the broken BogusTrivia user file, and letting the script make a new file, should allow the game to start.
Let me know if this helps, and come by #pc-mirc-help on undernet or dalnet if you need more help.
_________________
SpiKe^^

Get BogusTrivia 2.06.4.7 at www.mytclscripts.com
or visit the New Tcl Acrhive at www.tclarchive.org
.
Back to top
View user's profile Send private message Visit poster's website
Tannn3r
Voice


Joined: 23 Dec 2010
Posts: 25

PostPosted: Mon Mar 18, 2013 2:10 pm    Post subject: Reply with quote

Yup, that's what happened! I emptied out t2.users. It was resolved by deleting the file. Thanks!
Back to top
View user's profile Send private message
zohaa3492
Voice


Joined: 10 Nov 2014
Posts: 1

PostPosted: Mon Nov 10, 2014 6:50 am    Post subject: Reply with quote

Yet again, nice script.
_________________
Download high quality 700-039 practice test to prepare and Adams State University
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
Page 1 of 1

 
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