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.

BogusTrivia 2.06.1 Released. Non-english Character Fix!

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:

BogusTrivia 2.06.1 Released. Non-english Character Fix!

Post by SpiKe^^ »

Just wanted to announce that BogusTrivia 2.06.1 is now available on mytclscripts.com and will soon be posted to egghelp.org script archive.

This service release addresses the non-english character issue that first appeared in version 2.05

SpiKe^^
User avatar
SpiKe^^
Owner
Posts: 831
Joined: Fri May 12, 2006 10:20 pm
Location: Tennessee, USA
Contact:

Post by SpiKe^^ »

BogusTrivia 2.06.1 is now available on egghelp.org script archive.
n
nsrafk
Halfop
Posts: 73
Joined: Fri May 11, 2007 12:25 am

Post by nsrafk »

Thanks, i needed this fix :) Works like a charm.

I'm writing my own questionfiles atm, and i have around 2000 questions. Is it possible to make the .mix command work when the database has lesser questions than 3500??
User avatar
SpiKe^^
Owner
Posts: 831
Joined: Fri May 12, 2006 10:20 pm
Location: Tennessee, USA
Contact:

Post by SpiKe^^ »

Another mix is possible but not likely soon. Existing mix command shuffels files together, requires atleast 4 database files to work at all.
Was thinking that any database less than around 10,000 questions would be unusable, as they would loop around way too often to make a playable game. So that's why .mix works as it does.
T
Torrevado
Op
Posts: 101
Joined: Wed Aug 02, 2006 6:29 pm

perfect!

Post by Torrevado »

Bogustrivia works fine with special chars... thanks and congratulations! ;)
If you allow me, I'd like to make some suggestions, I'll repeat it: SUGGESTIONS (NO requests) :)
I have seen a trivia game on a channel (I think it's a perlbot module) that has 2 interesting features:

- Scrabble support (it awards player who type the longer correct word)

- Too many answers Protection. Disqualify player for that question

- Could you imagine Bogustrivia supporting Fill-ins of correctly guessed characters in the answer during a trivia round like Nerfbendr's Triviabot? :o It would be... :o ... :o (I don't have words to describe that :D)

Note: The "lifetime score" problem (the file was deleted) I had talked about some time ago, it exactly happened the 1st day of the 4th month from the beginning of the game. If noone has submitted something like this... I guess it was a shell's failure like you have said :)
User avatar
SpiKe^^
Owner
Posts: 831
Joined: Fri May 12, 2006 10:20 pm
Location: Tennessee, USA
Contact:

Explain: "Fill-ins of correctly guessed characters&quo

Post by SpiKe^^ »

please explain what this bot does exactly.
- Could you imagine Bogustrivia supporting Fill-ins of correctly guessed characters in the answer during a trivia round like Nerfbendr's Triviabot?
SpiKe^^
T
Torrevado
Op
Posts: 101
Joined: Wed Aug 02, 2006 6:29 pm

Re: Explain: "Fill-ins of correctly guessed characters

Post by Torrevado »

SpiKe^^ wrote:please explain what this bot does exactly.
Well, the bot auto-fill any characters that are correctly guessed in the answer during a trivia round... so for example if the correct answer is pillow and someone guesses yellow then it will auto-fill like this:

Triviabot: ******
Player: yellow
Triviabot: **llow

Note that if the word typed is for example low, the bot wouldn't auto-fill anything, because the letters are not in the right order, but It would auto-fill if a player types words like:

- follow ->Triviabot: **llow
- window ->Triviabot: *i**ow
- singer ->Triviabot: *i****
T
Torrevado
Op
Posts: 101
Joined: Wed Aug 02, 2006 6:29 pm

triv: fatal error

Post by Torrevado »

I have the following problem:
[05:26] Tcl error in script for 'timer1556':
[05:26] bad index "08": must be integer or end?-integer? (looks like invalid octal number)
[05:27] Tcl error in script for 'timer1561':
[05:27] bad index "08": must be integer or end?-integer? (looks like invalid octal number)
[05:28] Tcl error in script for 'timer1566':
[05:28] bad index "08": must be integer or end?-integer? (looks like invalid octal number)
[05:30] Tcl error in script for 'timer1571':
[05:30] bad index "08": must be integer or end?-integer? (looks like invalid octal number)
[05:32] Tcl error in script for 'timer1580':
[05:32] bad index "08": must be integer or end?-integer? (looks like invalid octal number)
[05:33] Tcl error in script for 'timer1585':
[05:33] bad index "08": must be integer or end?-integer? (looks like invalid octal number)
[05:35] Tcl error in script for 'timer1590':
[05:35] bad index "08": must be integer or end?-integer? (looks like invalid octal number)
[05:37] Tcl error in script for 'timer1602':
[05:37] bad index "08": must be integer or end?-integer? (looks like invalid octal number)
[05:39] Tcl error in script for 'timer1607':
[05:39] bad index "08": must be integer or end?-integer? (looks like invalid octal number)
[05:40] Tcl error in script for 'timer1612':
[05:40] bad index "08": must be integer or end?-integer? (looks like invalid octal number)
[05:56] Tcl error in script for 'timer1679':
[05:56] bad index "08": must be integer or end?-integer? (looks like invalid octal number)
[05:57] Tcl error in script for 'timer1684':
[05:57] bad index "08": must be integer or end?-integer? (looks like invalid octal number)
[05:58] Tcl error in script for 'timer1689':
[05:58] bad index "08": must be integer or end?-integer? (looks like invalid octal number)
[06:00] Tcl error in script for 'timer1694':
[06:00] couldn't open "/home/user/bot/scripts/t2/t2.hist": too many open files
[06:00] Tcl error in script for 'timer1693':
[06:00] couldn't open "/home/user/bot/scripts/t2/t2.qcount": too many open files
[06:01] * triv: fatal error
Every 4 - 7 hours the eggdrop falls down ( version 2.06.1 on eggdrop 1.6.18 )
The trivia game works perfectly, I've just noticed this issue.
User avatar
starr
Voice
Posts: 26
Joined: Sun Mar 18, 2007 1:18 am
Location: Tennessee
Contact:

Post by starr »

I've seen this error only once before. I've not been able to recreate it in any configuration. A reinstallation of the eggdrop and script solved it for the user last year.

I'm interested in what is causing this error myself. If you would like to download your complete eggdrop folder, edit your eggdrop config and remove your ip/host and email it to me I'd be happy to run it from one of my shells and nail down this problem.

I do have a few Questions.

Have you editied the script itself in any way?
Have you any other scripts running with Bogustrivia?
What tcl version is installed on your shell?

Please add any other information you think may be relevant and send to me at starr@mytclscripts.com
T
Torrevado
Op
Posts: 101
Joined: Wed Aug 02, 2006 6:29 pm

Post by Torrevado »

Issue is fixed. Some time ago I had added this lines to the script:

Code: Select all

set nameOfMonth [lindex {Diciembre Enero Febrero Marzo Abril Mayo Junio Julio Agosto Septiembre Octubre Noviembre} [clock format $lut -format %m]]


set nameOfMonth [lindex {Diciembre Enero Febrero Marzo Abril Mayo Junio Julio Agosto Septiembre Octubre Noviembre} [clock format $dut -format %m]]
A few weeks ago the problem appeared. Now I changed those lines for:

Code: Select all

set nameOfMonth [string map { 
   December  Diciembre 
   January   Enero   
   February  Febrero
   March     Marzo
   April     Abril
   May       Mayo 
   June      Junio 
   July      Julio
   August    Agosto
   September Septiembre
   October   Octubre
   November  Noviembre
} [strftime %B $lut]]


set nameOfMonth [string map { 
   December  Diciembre 
   January   Enero   
   February  Febrero
   March     Marzo
   April     Abril
   May       Mayo 
   June      Junio 
   July      Julio
   August    Agosto
   September Septiembre
   October   Octubre
   November  Noviembre
} [strftime %B $dut]]
Now it works fine, no more errors on the console and eggdrop doesn't shut down :)

By the way, I tried v2.06.2 Beta2 recently, and I noticed that if the eggdrop shuts down (due to a shell, trivia or another script error), the trivia game won't be "auto - restarted" like previous versions did :(
h
halloaizq
Voice
Posts: 24
Joined: Mon Aug 27, 2007 5:01 am
Contact:

Post by halloaizq »

Hai .. how to view users ranking like !top 10 !rank also which file store user ranking??

Tq
: halloaizq :
Z
Zircon
Op
Posts: 191
Joined: Mon Aug 21, 2006 4:22 am
Location: Montreal

Post by Zircon »

For BogusTrivia, there is no commands like !top10 or !rank, and no ranking file. There is a file t2.users, that contain the scores of all the users, but not in a ranking order. But depending on your settings in t-2.settings.tcl, the script display eachtime on the channel the first 10, or 20 or 30 users with their scores. Also if the html part is enabled, you can view anytime on webpages the scores of the numbers of users you specified on t-2.html.tcl, like me i did chose to display in the webpages the scores of the first 100 users, for the day, the week, the month, and Total.

Here is an example : http://freedom.ispeeds.net/~bogus
Post Reply