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 2.06.1 Released. Non-english Character Fix!

 
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 May 21, 2007 9:08 pm    Post subject: BogusTrivia 2.06.1 Released. Non-english Character Fix! Reply with quote

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^^
Back to top
View user's profile Send private message Visit poster's website
SpiKe^^
Owner


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

PostPosted: Thu Jun 07, 2007 6:03 pm    Post subject: Reply with quote

BogusTrivia 2.06.1 is now available on egghelp.org script archive.
Back to top
View user's profile Send private message Visit poster's website
nsrafk
Halfop


Joined: 11 May 2007
Posts: 73

PostPosted: Sat Jun 09, 2007 6:24 am    Post subject: Reply with quote

Thanks, i needed this fix Smile 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??
Back to top
View user's profile Send private message
SpiKe^^
Owner


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

PostPosted: Sat Jun 09, 2007 10:15 am    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message Visit poster's website
Torrevado
Op


Joined: 02 Aug 2006
Posts: 101

PostPosted: Tue Jun 19, 2007 5:21 pm    Post subject: perfect! Reply with quote

Bogustrivia works fine with special chars... thanks and congratulations! Wink
If you allow me, I'd like to make some suggestions, I'll repeat it: SUGGESTIONS (NO requests) Smile
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? Surprised It would be... Surprised ... Surprised (I don't have words to describe that Very Happy)

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 Smile
Back to top
View user's profile Send private message
SpiKe^^
Owner


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

PostPosted: Thu Jul 05, 2007 6:55 pm    Post subject: Explain: "Fill-ins of correctly guessed characters&quo Reply with quote

please explain what this bot does exactly.

Quote:
- Could you imagine Bogustrivia supporting Fill-ins of correctly guessed characters in the answer during a trivia round like Nerfbendr's Triviabot?


SpiKe^^
Back to top
View user's profile Send private message Visit poster's website
Torrevado
Op


Joined: 02 Aug 2006
Posts: 101

PostPosted: Fri Jul 06, 2007 8:25 pm    Post subject: Re: Explain: "Fill-ins of correctly guessed characters Reply with quote

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****
Back to top
View user's profile Send private message
Torrevado
Op


Joined: 02 Aug 2006
Posts: 101

PostPosted: Sun Oct 14, 2007 9:38 am    Post subject: triv: fatal error Reply with quote

I have the following problem:

Quote:
[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.
Back to top
View user's profile Send private message
starr
Voice


Joined: 18 Mar 2007
Posts: 26
Location: Tennessee

PostPosted: Sun Oct 14, 2007 1:58 pm    Post subject: Reply with quote

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
_________________
Starr
www.dcs-computer-services.net
Back to top
View user's profile Send private message Visit poster's website
Torrevado
Op


Joined: 02 Aug 2006
Posts: 101

PostPosted: Fri Oct 19, 2007 2:53 pm    Post subject: Reply with quote

Issue is fixed. Some time ago I had added this lines to the script:
Code:
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:
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 Smile

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 Sad
Back to top
View user's profile Send private message
halloaizq
Voice


Joined: 27 Aug 2007
Posts: 24

PostPosted: Tue Nov 27, 2007 9:24 pm    Post subject: Reply with quote

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

Tq
_________________
: halloaizq :
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger
Zircon
Op


Joined: 21 Aug 2006
Posts: 191
Location: Montreal

PostPosted: Wed Nov 28, 2007 1:21 am    Post subject: Reply with quote

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