This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

New BogusTrivia 2.06.4.6 Released

Support & discussion of released scripts, and announcements of new releases.
Post Reply
User avatar
SpiKe^^
Owner
Posts: 831
Joined: Fri May 12, 2006 10:20 pm
Location: Tennessee, USA
Contact:

New BogusTrivia 2.06.4.6 Released

Post by SpiKe^^ »

The new version of BogusTrivia has just been released. Get your copy today at the egghelp script archive.

Code: Select all

###################################################################
#                                                                 #
#  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
.
User avatar
Tannn3r
Voice
Posts: 25
Joined: Thu Dec 23, 2010 11:58 pm

Post by Tannn3r »

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)
User avatar
SpiKe^^
Owner
Posts: 831
Joined: Fri May 12, 2006 10:20 pm
Location: Tennessee, USA
Contact:

Post by SpiKe^^ »

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: Select all

   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
.
User avatar
Tannn3r
Voice
Posts: 25
Joined: Thu Dec 23, 2010 11:58 pm

Post by Tannn3r »

Yup, that's what happened! I emptied out t2.users. It was resolved by deleting the file. Thanks!
z
zohaa3492
Voice
Posts: 1
Joined: Mon Nov 10, 2014 6:44 am

Post by zohaa3492 »

Yet again, nice script.
Download high quality 700-039 practice test to prepare and Adams State University
Post Reply